mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 03:46:08 +00:00
refactor: replace action initializers name
This commit is contained in:
parent
50ab9da177
commit
eab1b6e3d9
@ -42,7 +42,7 @@ export class SubTableFieldInterface extends CollectionFieldInterface {
|
|||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'SubTableActionInitializers',
|
'x-initializer': 'actionInitializers:subTable',
|
||||||
'x-component': 'TableField.ActionBar',
|
'x-component': 'TableField.ActionBar',
|
||||||
'x-component-props': {},
|
'x-component-props': {},
|
||||||
},
|
},
|
||||||
|
@ -76,7 +76,7 @@ export const submitActionSettings = new SchemaSettings({
|
|||||||
const fieldSchema = useFieldSchema();
|
const fieldSchema = useFieldSchema();
|
||||||
return (
|
return (
|
||||||
fieldSchema['x-action'] === 'submit' &&
|
fieldSchema['x-action'] === 'submit' &&
|
||||||
fieldSchema.parent?.['x-initializer'] === 'CreateFormActionInitializers'
|
fieldSchema.parent?.['x-initializer'] === 'actionInitializers:createForm'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -23,7 +23,7 @@ export const DetailsBlockInitializer = () => {
|
|||||||
actionInitializers:
|
actionInitializers:
|
||||||
(collection.template !== 'view' || collection?.writableView) &&
|
(collection.template !== 'view' || collection?.writableView) &&
|
||||||
collection.template !== 'sql' &&
|
collection.template !== 'sql' &&
|
||||||
'DetailsActionInitializers',
|
'actionInitializers:detailsMulti',
|
||||||
settings: 'blockSettings:multiDataDetails',
|
settings: 'blockSettings:multiDataDetails',
|
||||||
});
|
});
|
||||||
insert(schema);
|
insert(schema);
|
||||||
|
@ -26,7 +26,7 @@ export const RecordReadPrettyFormBlockInitializer = () => {
|
|||||||
const association = useBlockAssociationContext();
|
const association = useBlockAssociationContext();
|
||||||
const { block } = useBlockRequestContext();
|
const { block } = useBlockRequestContext();
|
||||||
const actionInitializers =
|
const actionInitializers =
|
||||||
block !== 'TableField' ? itemConfig.actionInitializers || 'ReadPrettyFormActionInitializers' : null;
|
block !== 'TableField' ? itemConfig.actionInitializers || 'actionInitializers:detailsSingle' : null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SchemaInitializerItem
|
<SchemaInitializerItem
|
||||||
|
@ -24,7 +24,7 @@ export const CreateFormBlockInitializer = () => {
|
|||||||
const s = await getTemplateSchemaByMode(item);
|
const s = await getTemplateSchemaByMode(item);
|
||||||
if (item.template.componentName === 'FormItem') {
|
if (item.template.componentName === 'FormItem') {
|
||||||
const blockSchema = createFormBlockSchema({
|
const blockSchema = createFormBlockSchema({
|
||||||
actionInitializers: 'CreateFormActionInitializers',
|
actionInitializers: 'actionInitializers:createForm',
|
||||||
association,
|
association,
|
||||||
dataSource: collection.dataSource,
|
dataSource: collection.dataSource,
|
||||||
collection: collection.name,
|
collection: collection.name,
|
||||||
@ -41,7 +41,7 @@ export const CreateFormBlockInitializer = () => {
|
|||||||
} else {
|
} else {
|
||||||
insert(
|
insert(
|
||||||
createFormBlockSchema({
|
createFormBlockSchema({
|
||||||
actionInitializers: 'CreateFormActionInitializers',
|
actionInitializers: 'actionInitializers:createForm',
|
||||||
association,
|
association,
|
||||||
dataSource: collection.dataSource,
|
dataSource: collection.dataSource,
|
||||||
collection: collection.name,
|
collection: collection.name,
|
||||||
|
@ -29,7 +29,7 @@ export const RecordFormBlockInitializer = () => {
|
|||||||
action: 'get',
|
action: 'get',
|
||||||
useSourceId: '{{ useSourceIdFromParentRecord }}',
|
useSourceId: '{{ useSourceIdFromParentRecord }}',
|
||||||
useParams: '{{ useParamsFromRecord }}',
|
useParams: '{{ useParamsFromRecord }}',
|
||||||
actionInitializers: 'UpdateFormActionInitializers',
|
actionInitializers: 'actionInitializers:updateForm',
|
||||||
template: s,
|
template: s,
|
||||||
settings: 'blockSettings:editForm',
|
settings: 'blockSettings:editForm',
|
||||||
});
|
});
|
||||||
@ -49,7 +49,7 @@ export const RecordFormBlockInitializer = () => {
|
|||||||
action: 'get',
|
action: 'get',
|
||||||
useSourceId: '{{ useSourceIdFromParentRecord }}',
|
useSourceId: '{{ useSourceIdFromParentRecord }}',
|
||||||
useParams: '{{ useParamsFromRecord }}',
|
useParams: '{{ useParamsFromRecord }}',
|
||||||
actionInitializers: 'UpdateFormActionInitializers',
|
actionInitializers: 'actionInitializers:updateForm',
|
||||||
settings: 'blockSettings:editForm',
|
settings: 'blockSettings:editForm',
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
@ -810,7 +810,7 @@ test.describe('creation form block schema settings', () => {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -919,7 +919,7 @@ test.describe('creation form block schema settings', () => {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -1033,7 +1033,7 @@ test.describe('creation form block schema settings', () => {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
|
@ -235,7 +235,7 @@ export const T2165 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -335,7 +335,7 @@ export const T2174 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -370,7 +370,7 @@ export const T2174 = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
@ -543,7 +543,8 @@ export const T2174 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -928,7 +929,7 @@ export const T2614: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -962,7 +963,7 @@ export const T2614: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -1070,7 +1071,7 @@ export const T2614: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -1581,7 +1582,8 @@ export const T2614: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -1768,7 +1770,7 @@ export const T2993: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -2136,7 +2138,7 @@ export const T2993: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -2221,7 +2223,7 @@ export const T2993: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
@ -2351,7 +2353,7 @@ export const T2615: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -2546,7 +2548,7 @@ export const T2615: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -2631,7 +2633,7 @@ export const T2615: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -2830,7 +2832,8 @@ export const T2615: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -2982,7 +2985,7 @@ export const T2615: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -3259,7 +3262,7 @@ export const T2845: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -3743,7 +3746,7 @@ export const T2845: PageConfig = {
|
|||||||
'2.0',
|
'2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'UpdateFormActionInitializers',
|
'actionInitializers:updateForm',
|
||||||
'x-component':
|
'x-component':
|
||||||
'ActionBar',
|
'ActionBar',
|
||||||
'x-component-props':
|
'x-component-props':
|
||||||
@ -3824,7 +3827,7 @@ export const T2845: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -3900,7 +3903,7 @@ export const T2845: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
@ -4235,7 +4238,8 @@ export const T2845: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -4387,7 +4391,7 @@ export const T2845: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -4737,7 +4741,7 @@ export const T2200 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -4771,7 +4775,7 @@ export const T2200 = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -4926,7 +4930,8 @@ export const T2200 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -5187,7 +5192,7 @@ export const T3106: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -5448,7 +5453,7 @@ export const T3251: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
|
@ -50,7 +50,7 @@ export const T2183 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -106,7 +106,7 @@ export const T2183 = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -209,7 +209,7 @@ export const T2186 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -265,7 +265,7 @@ export const T2186 = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -368,7 +368,7 @@ export const T2187 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -402,7 +402,7 @@ export const T2187 = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -573,7 +573,8 @@ export const T2187 = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
|
@ -59,7 +59,7 @@ export const T2797: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -94,7 +94,7 @@ export const T2797: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
@ -223,7 +223,8 @@ export const T2797: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -382,7 +383,7 @@ export const T2797: PageConfig = {
|
|||||||
'2.0',
|
'2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'UpdateFormActionInitializers',
|
'actionInitializers:updateForm',
|
||||||
'x-component':
|
'x-component':
|
||||||
'ActionBar',
|
'ActionBar',
|
||||||
'x-component-props':
|
'x-component-props':
|
||||||
@ -638,7 +639,7 @@ export const T2838: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -673,7 +674,7 @@ export const T2838: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
@ -792,7 +793,7 @@ export const T2838: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -935,7 +936,7 @@ export const T2838: PageConfig = {
|
|||||||
'2.0',
|
'2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component':
|
'x-component':
|
||||||
'ActionBar',
|
'ActionBar',
|
||||||
'x-component-props':
|
'x-component-props':
|
||||||
@ -1222,7 +1223,7 @@ export const T2838: PageConfig = {
|
|||||||
'2.0',
|
'2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'UpdateFormActionInitializers',
|
'actionInitializers:updateForm',
|
||||||
'x-component':
|
'x-component':
|
||||||
'ActionBar',
|
'ActionBar',
|
||||||
'x-component-props':
|
'x-component-props':
|
||||||
|
@ -671,7 +671,7 @@ export const actionSettingsItems: SchemaSettingOptions['items'] = [
|
|||||||
const fieldSchema = useFieldSchema();
|
const fieldSchema = useFieldSchema();
|
||||||
return (
|
return (
|
||||||
fieldSchema['x-action'] === 'submit' &&
|
fieldSchema['x-action'] === 'submit' &&
|
||||||
fieldSchema.parent?.['x-initializer'] === 'CreateFormActionInitializers'
|
fieldSchema.parent?.['x-initializer'] === 'actionInitializers:createForm'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -23,8 +23,8 @@ export const RecordAssociationFormBlockInitializer = () => {
|
|||||||
onClick={async ({ item }) => {
|
onClick={async ({ item }) => {
|
||||||
const action = ['hasOne', 'belongsTo'].includes(field.type) ? 'get' : null;
|
const action = ['hasOne', 'belongsTo'].includes(field.type) ? 'get' : null;
|
||||||
const actionInitializers = ['hasOne', 'belongsTo'].includes(field.type)
|
const actionInitializers = ['hasOne', 'belongsTo'].includes(field.type)
|
||||||
? 'UpdateFormActionInitializers'
|
? 'actionInitializers:updateForm'
|
||||||
: 'CreateFormActionInitializers';
|
: 'actionInitializers:createForm';
|
||||||
|
|
||||||
if (item.template) {
|
if (item.template) {
|
||||||
const s = await getTemplateSchemaByMode(item);
|
const s = await getTemplateSchemaByMode(item);
|
||||||
|
@ -20,7 +20,7 @@ export const RecordReadPrettyAssociationFormBlockInitializer = () => {
|
|||||||
|
|
||||||
const resource = `${field.collectionName}.${field.name}`;
|
const resource = `${field.collectionName}.${field.name}`;
|
||||||
const { block } = useBlockRequestContext();
|
const { block } = useBlockRequestContext();
|
||||||
const actionInitializers = block !== 'TableField' ? 'ReadPrettyFormActionInitializers' : null;
|
const actionInitializers = block !== 'TableField' ? 'actionInitializers:detailsSingle' : null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SchemaInitializerItem
|
<SchemaInitializerItem
|
||||||
|
@ -10,7 +10,7 @@ export const TableActionColumnInitializer = () => {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-action-column': 'actions',
|
'x-action-column': 'actions',
|
||||||
properties: {
|
properties: {
|
||||||
[uid()]: {
|
[uid()]: {
|
||||||
|
@ -859,7 +859,7 @@ export const useCollectionDataSourceItems = (
|
|||||||
export const createDetailsBlockSchema = (options) => {
|
export const createDetailsBlockSchema = (options) => {
|
||||||
const {
|
const {
|
||||||
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
||||||
actionInitializers = 'DetailsActionInitializers',
|
actionInitializers = 'actionInitializers:detailsMulti',
|
||||||
collection,
|
collection,
|
||||||
dataSource,
|
dataSource,
|
||||||
association,
|
association,
|
||||||
@ -932,8 +932,8 @@ export const createDetailsBlockSchema = (options) => {
|
|||||||
export const createListBlockSchema = (options) => {
|
export const createListBlockSchema = (options) => {
|
||||||
const {
|
const {
|
||||||
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
||||||
actionInitializers = 'ListActionInitializers',
|
actionInitializers = 'actionInitializers:list',
|
||||||
itemActionInitializers = 'ListItemActionInitializers',
|
itemActionInitializers = 'actionInitializers:listItem',
|
||||||
collection,
|
collection,
|
||||||
dataSource,
|
dataSource,
|
||||||
association,
|
association,
|
||||||
@ -1022,8 +1022,8 @@ export const createListBlockSchema = (options) => {
|
|||||||
export const createGridCardBlockSchema = (options) => {
|
export const createGridCardBlockSchema = (options) => {
|
||||||
const {
|
const {
|
||||||
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
||||||
actionInitializers = 'GridCardActionInitializers',
|
actionInitializers = 'actionInitializers:gridCard',
|
||||||
itemActionInitializers = 'GridCardItemActionInitializers',
|
itemActionInitializers = 'actionInitializers:gridCardItem',
|
||||||
collection,
|
collection,
|
||||||
association,
|
association,
|
||||||
resource,
|
resource,
|
||||||
@ -1114,7 +1114,7 @@ export const createGridCardBlockSchema = (options) => {
|
|||||||
export const createFormBlockSchema = (options) => {
|
export const createFormBlockSchema = (options) => {
|
||||||
const {
|
const {
|
||||||
formItemInitializers = 'FormItemInitializers',
|
formItemInitializers = 'FormItemInitializers',
|
||||||
actionInitializers = 'FormActionInitializers',
|
actionInitializers = 'actionInitializers:form',
|
||||||
collection,
|
collection,
|
||||||
resource,
|
resource,
|
||||||
dataSource,
|
dataSource,
|
||||||
@ -1187,7 +1187,7 @@ export const createFormBlockSchema = (options) => {
|
|||||||
export const createFilterFormBlockSchema = (options) => {
|
export const createFilterFormBlockSchema = (options) => {
|
||||||
const {
|
const {
|
||||||
formItemInitializers = 'FilterFormItemInitializers',
|
formItemInitializers = 'FilterFormItemInitializers',
|
||||||
actionInitializers = 'FilterFormActionInitializers',
|
actionInitializers = 'actionInitializers:filterForm',
|
||||||
collection,
|
collection,
|
||||||
resource,
|
resource,
|
||||||
association,
|
association,
|
||||||
@ -1252,7 +1252,7 @@ export const createFilterFormBlockSchema = (options) => {
|
|||||||
export const createReadPrettyFormBlockSchema = (options) => {
|
export const createReadPrettyFormBlockSchema = (options) => {
|
||||||
const {
|
const {
|
||||||
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
||||||
actionInitializers = 'ReadPrettyFormActionInitializers',
|
actionInitializers = 'actionInitializers:detailsSingle',
|
||||||
collection,
|
collection,
|
||||||
association,
|
association,
|
||||||
dataSource,
|
dataSource,
|
||||||
@ -1354,7 +1354,7 @@ export const createTableBlockSchema = (options) => {
|
|||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': tableActionInitializers ?? 'TableActionInitializers',
|
'x-initializer': tableActionInitializers ?? 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -1382,7 +1382,7 @@ export const createTableBlockSchema = (options) => {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': tableActionColumnInitializers ?? 'TableActionColumnInitializers',
|
'x-initializer': tableActionColumnInitializers ?? 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
[uid()]: {
|
[uid()]: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
@ -1458,7 +1458,7 @@ export const createTableSelectorSchema = (options) => {
|
|||||||
properties: {
|
properties: {
|
||||||
[uid()]: {
|
[uid()]: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
|
@ -193,7 +193,7 @@ export const oneEmptyTable: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -227,7 +227,7 @@ export const oneEmptyTable: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -349,7 +349,7 @@ export const oneEmptyForm: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -459,7 +459,7 @@ export const oneEmptyFormWithActions: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -619,7 +619,7 @@ export const oneEmptyDetailsBlock: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'DetailsActionInitializers',
|
'x-initializer': 'actionInitializers:detailsMulti',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -738,7 +738,7 @@ export const oneEmptyListBlock: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'ListActionInitializers',
|
'x-initializer': 'actionInitializers:list',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -786,7 +786,7 @@ export const oneEmptyListBlock: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-align': 'left',
|
'x-align': 'left',
|
||||||
'x-initializer': 'ListItemActionInitializers',
|
'x-initializer': 'actionInitializers:listItem',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
useProps: '{{ useListActionBarProps }}',
|
useProps: '{{ useListActionBarProps }}',
|
||||||
@ -890,7 +890,7 @@ export const oneEmptyGridCardBlock: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'GridCardActionInitializers',
|
'x-initializer': 'actionInitializers:gridCard',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -938,7 +938,7 @@ export const oneEmptyGridCardBlock: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-align': 'left',
|
'x-align': 'left',
|
||||||
'x-initializer': 'GridCardItemActionInitializers',
|
'x-initializer': 'actionInitializers:gridCardItem',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
useProps: '{{ useGridCardActionBarProps }}',
|
useProps: '{{ useGridCardActionBarProps }}',
|
||||||
@ -1052,7 +1052,7 @@ export const oneEmptyFilterFormBlock: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FilterFormActionInitializers',
|
'x-initializer': 'actionInitializers:filterForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -1237,7 +1237,7 @@ export const oneEmptyTableBlockWithActions: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -1487,7 +1487,7 @@ export const oneEmptyTableBlockWithActions: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -1844,7 +1844,7 @@ export const oneTableBlockWithActionsAndFormBlocks: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -1976,7 +1976,7 @@ export const oneTableBlockWithActionsAndFormBlocks: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -2182,7 +2182,7 @@ export const oneTableBlockWithActionsAndFormBlocks: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -2267,7 +2267,7 @@ export const oneTableBlockWithActionsAndFormBlocks: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -2373,7 +2373,7 @@ export const oneTableBlockWithActionsAndFormBlocks: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -2546,7 +2546,8 @@ export const oneTableBlockWithActionsAndFormBlocks: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -2703,7 +2704,7 @@ export const oneEmptyTableBlockWithCustomizeActions: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -2818,7 +2819,7 @@ export const oneEmptyTableBlockWithCustomizeActions: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -3044,7 +3045,7 @@ export const oneFormBlockWithRolesFieldBasedUsers: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -3673,7 +3674,7 @@ export const oneFormBlockWithAllAssociationFieldsAndSelectorMode: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -3780,7 +3781,7 @@ export const oneDetailBlockWithM2oFieldToGeneral: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'DetailsActionInitializers',
|
'x-initializer': 'actionInitializers:detailsMulti',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -3942,7 +3943,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndBasicFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -4449,7 +4450,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndBasicFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -4556,7 +4557,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndBasicFields: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -4662,7 +4663,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndBasicFields: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -5713,7 +5714,8 @@ export const oneTableBlockWithAddNewAndViewAndEditAndBasicFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -5911,7 +5913,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndBasicFieldsAndSubTable: Pag
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -5945,7 +5947,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndBasicFieldsAndSubTable: Pag
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -6162,7 +6164,8 @@ export const oneTableBlockWithAddNewAndViewAndEditAndBasicFieldsAndSubTable: Pag
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -6320,7 +6323,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndChoicesFields: PageConfig =
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -6661,7 +6664,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndChoicesFields: PageConfig =
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -6768,7 +6771,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndChoicesFields: PageConfig =
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -6876,7 +6879,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndChoicesFields: PageConfig =
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -7577,7 +7580,8 @@ export const oneTableBlockWithAddNewAndViewAndEditAndChoicesFields: PageConfig =
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -7757,7 +7761,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndMediaFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -7981,7 +7985,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndMediaFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -8088,7 +8092,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndMediaFields: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -8196,7 +8200,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndMediaFields: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -8669,7 +8673,8 @@ export const oneTableBlockWithAddNewAndViewAndEditAndMediaFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -8849,7 +8854,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndDatetimeFields: PageConfig
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -9036,7 +9041,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndDatetimeFields: PageConfig
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -9143,7 +9148,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndDatetimeFields: PageConfig
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -9251,7 +9256,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndDatetimeFields: PageConfig
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -9648,7 +9653,8 @@ export const oneTableBlockWithAddNewAndViewAndEditAndDatetimeFields: PageConfig
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -9828,7 +9834,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAssociationFields: PageConf
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -10122,7 +10128,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAssociationFields: PageConf
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -10229,7 +10235,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAssociationFields: PageConf
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -10337,7 +10343,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAssociationFields: PageConf
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -10950,7 +10956,8 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAssociationFields: PageConf
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -11349,7 +11356,7 @@ export const oneFilterFormBlockWithAllAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FilterFormActionInitializers',
|
'x-initializer': 'actionInitializers:filterForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -11453,7 +11460,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAdvancedFields: PageConfig
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -11717,7 +11724,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAdvancedFields: PageConfig
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -11824,7 +11831,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAdvancedFields: PageConfig
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -11932,7 +11939,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAdvancedFields: PageConfig
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -12487,7 +12494,8 @@ export const oneTableBlockWithAddNewAndViewAndEditAndAdvancedFields: PageConfig
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -12667,7 +12675,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndSystemInfoFields: PageConfi
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -13113,7 +13121,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndSystemInfoFields: PageConfi
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -13220,7 +13228,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndSystemInfoFields: PageConfi
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -13328,7 +13336,7 @@ export const oneTableBlockWithAddNewAndViewAndEditAndSystemInfoFields: PageConfi
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -14279,7 +14287,8 @@ export const oneTableBlockWithAddNewAndViewAndEditAndSystemInfoFields: PageConfi
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -14452,7 +14461,7 @@ export const oneEmptyTableWithTreeCollection: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -14486,7 +14495,7 @@ export const oneEmptyTableWithTreeCollection: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -14735,7 +14744,7 @@ export const oneCollapseAndOneTableWithSameCollection: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -15015,7 +15024,7 @@ export const oneFormWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -15332,7 +15341,7 @@ export const oneSubformWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -15455,7 +15464,7 @@ export const oneTableSubformWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -15569,7 +15578,7 @@ export const oneTableSubformWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -15677,7 +15686,7 @@ export const oneTableSubformWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -16994,7 +17003,8 @@ export const oneTableSubformWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -17171,7 +17181,7 @@ export const oneTableSubtableWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -17285,7 +17295,7 @@ export const oneTableSubtableWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -17393,7 +17403,7 @@ export const oneTableSubtableWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -18008,7 +18018,8 @@ export const oneTableSubtableWithMultiLevelAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -18185,7 +18196,7 @@ export const formBlockDefaultValueTemplate: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -18375,7 +18386,7 @@ export const formBlockDefaultValueTemplate: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -18460,7 +18471,7 @@ export const formBlockDefaultValueTemplate: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -18732,7 +18743,7 @@ export const oneFormBlockBasedOnUsers: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FormActionInitializers',
|
'x-initializer': 'actionInitializers:form',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -18882,7 +18893,7 @@ export const oneFormAndOneTableWithSameCollection: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'FilterFormActionInitializers',
|
'x-initializer': 'actionInitializers:filterForm',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
@ -18986,7 +18997,7 @@ export const oneFormAndOneTableWithSameCollection: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -19177,7 +19188,7 @@ export const twoTableWithSameCollection: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -19285,7 +19296,7 @@ export const twoTableWithSameCollection: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -19442,7 +19453,7 @@ export const twoTableWithAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -19549,7 +19560,7 @@ export const twoTableWithAssociationFields: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -19707,7 +19718,7 @@ export const oneEmptyTableBlockBasedOnUsers = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -19741,7 +19752,7 @@ export const oneEmptyTableBlockBasedOnUsers = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -19860,7 +19871,7 @@ export const checkboxForTableRow = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -19922,7 +19933,7 @@ export const checkboxForTableRow = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
|
@ -56,7 +56,7 @@ export const oneTableBlock: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginBottom: 'var(--nb-spacing)',
|
marginBottom: 'var(--nb-spacing)',
|
||||||
@ -435,7 +435,7 @@ export const oneTableBlock: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginTop: 24,
|
marginTop: 24,
|
||||||
@ -785,7 +785,7 @@ export const oneTableBlock: PageConfig = {
|
|||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-action-column': 'actions',
|
'x-action-column': 'actions',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
width: 400,
|
width: 400,
|
||||||
@ -1054,7 +1054,8 @@ export const oneTableBlock: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginTop: 24,
|
marginTop: 24,
|
||||||
@ -1739,7 +1740,8 @@ export const oneTableBlock: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer': 'UpdateFormActionInitializers',
|
'x-initializer':
|
||||||
|
'actionInitializers:updateForm',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginTop: 24,
|
marginTop: 24,
|
||||||
@ -1891,7 +1893,7 @@ export const oneTableBlock: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
|
@ -27,7 +27,7 @@ export const CreateFormBulkEditBlockInitializer = () => {
|
|||||||
const s = await getTemplateSchemaByMode(item);
|
const s = await getTemplateSchemaByMode(item);
|
||||||
if (item.template.componentName === 'FormItem') {
|
if (item.template.componentName === 'FormItem') {
|
||||||
const blockSchema = createFormBlockSchema({
|
const blockSchema = createFormBlockSchema({
|
||||||
actionInitializers: 'CreateFormActionInitializers',
|
actionInitializers: 'actionInitializers:createForm',
|
||||||
association,
|
association,
|
||||||
collection: collection.name,
|
collection: collection.name,
|
||||||
dataSource: collection.dataSource,
|
dataSource: collection.dataSource,
|
||||||
@ -44,7 +44,7 @@ export const CreateFormBulkEditBlockInitializer = () => {
|
|||||||
insert(
|
insert(
|
||||||
createFormBlockSchema({
|
createFormBlockSchema({
|
||||||
formItemInitializers: 'BulkEditFormItemInitializers',
|
formItemInitializers: 'BulkEditFormItemInitializers',
|
||||||
actionInitializers: 'BulkEditFormActionInitializers',
|
actionInitializers: 'actionInitializers:blkEditForm',
|
||||||
association,
|
association,
|
||||||
collection: collection.name,
|
collection: collection.name,
|
||||||
dataSource: collection.dataSource,
|
dataSource: collection.dataSource,
|
||||||
|
@ -154,7 +154,7 @@ export const oneEmptyGantt: PageConfig = {
|
|||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'x-initializer': 'GanttActionInitializers',
|
'x-initializer': 'actionInitializers:gantt',
|
||||||
'x-uid': 'guwovmwt4c0',
|
'x-uid': 'guwovmwt4c0',
|
||||||
'x-async': false,
|
'x-async': false,
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
@ -190,7 +190,7 @@ export const oneEmptyGantt: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -368,7 +368,7 @@ export const oneEmptyTableBlockWithCustomizeActions: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -483,7 +483,7 @@ export const oneEmptyTableBlockWithCustomizeActions: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
|
@ -55,9 +55,9 @@ export class BulkEditPlugin extends Plugin {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
this.app.schemaInitializerManager.addItem('TableActionInitializers', 'customize.bulkEdit', initializerData);
|
this.app.schemaInitializerManager.addItem('actionInitializers:tableAction', 'customize.bulkEdit', initializerData);
|
||||||
this.app.schemaInitializerManager.addItem('GanttActionInitializers', 'customize.bulkEdit', initializerData);
|
this.app.schemaInitializerManager.addItem('actionInitializers:gantt', 'customize.bulkEdit', initializerData);
|
||||||
this.app.schemaInitializerManager.addItem('MapActionInitializers', 'customize.bulkEdit', initializerData);
|
this.app.schemaInitializerManager.addItem('actionInitializers:map', 'customize.bulkEdit', initializerData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ export const oneEmptyGantt: PageConfig = {
|
|||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'x-initializer': 'GanttActionInitializers',
|
'x-initializer': 'actionInitializers:gantt',
|
||||||
'x-uid': 'guwovmwt4c0',
|
'x-uid': 'guwovmwt4c0',
|
||||||
'x-async': false,
|
'x-async': false,
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
@ -233,7 +233,7 @@ export const oneEmptyGantt: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -408,7 +408,7 @@ export const oneEmptyTableBlockWithCustomizeUpdate: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginBottom: 'var(--nb-spacing)',
|
marginBottom: 'var(--nb-spacing)',
|
||||||
@ -474,7 +474,7 @@ export const oneEmptyTableBlockWithCustomizeUpdate: PageConfig = {
|
|||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-action-column': 'actions',
|
'x-action-column': 'actions',
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
properties: {
|
properties: {
|
||||||
|
@ -25,9 +25,13 @@ export class PluginBulkUpdateClient extends Plugin {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
this.app.schemaInitializerManager.addItem('TableActionInitializers', 'customize.bulkUpdate', initializerData);
|
this.app.schemaInitializerManager.addItem(
|
||||||
this.app.schemaInitializerManager.addItem('GanttActionInitializers', 'customize.bulkUpdate', initializerData);
|
'actionInitializers:tableAction',
|
||||||
this.app.schemaInitializerManager.addItem('MapActionInitializers', 'customize.bulkUpdate', initializerData);
|
'customize.bulkUpdate',
|
||||||
|
initializerData,
|
||||||
|
);
|
||||||
|
this.app.schemaInitializerManager.addItem('actionInitializers:gantt', 'customize.bulkUpdate', initializerData);
|
||||||
|
this.app.schemaInitializerManager.addItem('actionInitializers:map', 'customize.bulkUpdate', initializerData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ export const oneEmptyGantt: PageConfig = {
|
|||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'x-initializer': 'GanttActionInitializers',
|
'x-initializer': 'actionInitializers:gantt',
|
||||||
'x-uid': 'guwovmwt4c0',
|
'x-uid': 'guwovmwt4c0',
|
||||||
'x-async': false,
|
'x-async': false,
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
@ -190,7 +190,7 @@ export const oneEmptyGantt: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
@ -368,7 +368,7 @@ export const oneEmptyTableBlockWithDuplicateActions: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
@ -403,7 +403,7 @@ export const oneEmptyTableBlockWithDuplicateActions: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
|
@ -61,7 +61,7 @@ export class PluginDuplicateClient extends Plugin {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.app.schemaInitializerManager.addItem(
|
this.app.schemaInitializerManager.addItem(
|
||||||
'TableActionColumnInitializers',
|
'actionInitializers:tableColumnAction',
|
||||||
'actions.duplicate',
|
'actions.duplicate',
|
||||||
initializerTableData,
|
initializerTableData,
|
||||||
);
|
);
|
||||||
|
@ -137,7 +137,7 @@ export const oneTableWithViewAction: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginBottom: 'var(--nb-spacing)',
|
marginBottom: 'var(--nb-spacing)',
|
||||||
@ -169,7 +169,7 @@ export const oneTableWithViewAction: PageConfig = {
|
|||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
'x-action-column': 'actions',
|
'x-action-column': 'actions',
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
properties: {
|
properties: {
|
||||||
@ -277,7 +277,7 @@ export const oneTableWithViewAction: PageConfig = {
|
|||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer':
|
'x-initializer':
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
@ -443,7 +443,7 @@ export const oneCalenderWithViewAction: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'CalendarV2.ActionBar',
|
'x-component': 'CalendarV2.ActionBar',
|
||||||
'x-initializer': 'CalendarActionInitializers',
|
'x-initializer': 'actionInitializers:calendar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
@ -668,7 +668,7 @@ export const oneCalenderWithViewAction: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer': 'CreateFormActionInitializers',
|
'x-initializer': 'actionInitializers:createForm',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginTop: 24,
|
marginTop: 24,
|
||||||
@ -795,7 +795,7 @@ export const oneCalenderWithViewAction: PageConfig = {
|
|||||||
'x-initializer': 'blockInitializers:record',
|
'x-initializer': 'blockInitializers:record',
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
'x-initializer-props': {
|
'x-initializer-props': {
|
||||||
actionInitializers: 'CalendarFormActionInitializers',
|
actionInitializers: 'actionInitializers:calendarForm',
|
||||||
},
|
},
|
||||||
properties: {
|
properties: {
|
||||||
'0j7rb0bivys': {
|
'0j7rb0bivys': {
|
||||||
@ -841,7 +841,7 @@ export const oneCalenderWithViewAction: PageConfig = {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-initializer': 'CalendarFormActionInitializers',
|
'x-initializer': 'actionInitializers:calendarForm',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
|
@ -19,11 +19,15 @@ export class PrintPlugin extends Plugin {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.app.schemaInitializerManager.addItem(
|
this.app.schemaInitializerManager.addItem(
|
||||||
'ReadPrettyFormActionInitializers',
|
'actionInitializers:detailsSingle',
|
||||||
|
'enableActions.print',
|
||||||
|
initializerData,
|
||||||
|
);
|
||||||
|
this.app.schemaInitializerManager.addItem(
|
||||||
|
'actionInitializers:calendarForm',
|
||||||
'enableActions.print',
|
'enableActions.print',
|
||||||
initializerData,
|
initializerData,
|
||||||
);
|
);
|
||||||
this.app.schemaInitializerManager.addItem('CalendarFormActionInitializers', 'enableActions.print', initializerData);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,9 +17,9 @@ export const AuditLogsBlockInitializer = () => {
|
|||||||
const schema = createTableBlockSchema({
|
const schema = createTableBlockSchema({
|
||||||
collection: 'auditLogs',
|
collection: 'auditLogs',
|
||||||
rowKey: 'id',
|
rowKey: 'id',
|
||||||
tableActionInitializers: 'AuditLogsTableActionInitializers',
|
tableActionInitializers: 'actionInitializers:auditLogsTable',
|
||||||
tableColumnInitializers: 'AuditLogsTableColumnInitializers',
|
tableColumnInitializers: 'AuditLogsTableColumnInitializers',
|
||||||
tableActionColumnInitializers: 'AuditLogsTableActionColumnInitializers',
|
tableActionColumnInitializers: 'actionInitializers:auditLogsTableColumn',
|
||||||
tableBlockProvider: 'AuditLogsBlockProvider',
|
tableBlockProvider: 'AuditLogsBlockProvider',
|
||||||
disableTemplate: true,
|
disableTemplate: true,
|
||||||
});
|
});
|
||||||
|
@ -170,7 +170,7 @@ export const AuditLogs: any = () => {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
|
@ -8,7 +8,7 @@ export const AuditLogsTableActionColumnInitializer = () => {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'AuditLogsTableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:auditLogsTableColumn',
|
||||||
'x-action-column': 'actions',
|
'x-action-column': 'actions',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
|
@ -41,7 +41,7 @@ export const createCalendarBlockSchema = (options) => {
|
|||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'x-initializer': 'CalendarActionInitializers',
|
'x-initializer': 'actionInitializers:calendar',
|
||||||
properties: {},
|
properties: {},
|
||||||
},
|
},
|
||||||
event: {
|
event: {
|
||||||
@ -76,7 +76,7 @@ export const createCalendarBlockSchema = (options) => {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
'x-component': 'Grid',
|
'x-component': 'Grid',
|
||||||
'x-initializer-props': {
|
'x-initializer-props': {
|
||||||
actionInitializers: 'CalendarFormActionInitializers',
|
actionInitializers: 'actionInitializers:calendarForm',
|
||||||
},
|
},
|
||||||
'x-initializer': 'blockInitializers:record',
|
'x-initializer': 'blockInitializers:record',
|
||||||
properties: {},
|
properties: {},
|
||||||
|
@ -36,7 +36,7 @@ const createFilterSchema = () => {
|
|||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'ChartFilterActionInitializers',
|
'x-initializer': 'actionInitializers:chartFilterAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
|
@ -22,9 +22,9 @@ export class ExportPlugin extends Plugin {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const tableActionInitializers = this.app.schemaInitializerManager.get('TableActionInitializers');
|
const tableActionInitializers = this.app.schemaInitializerManager.get('actionInitializers:tableAction');
|
||||||
tableActionInitializers?.add('enableActions.export', initializerData);
|
tableActionInitializers?.add('enableActions.export', initializerData);
|
||||||
this.app.schemaInitializerManager.addItem('GanttActionInitializers', 'enableActions.export', initializerData);
|
this.app.schemaInitializerManager.addItem('actionInitializers:gantt', 'enableActions.export', initializerData);
|
||||||
this.app.schemaSettingsManager.add(exportActionSchemaSettings);
|
this.app.schemaSettingsManager.add(exportActionSchemaSettings);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ export class FileManagerPlugin extends Plugin {
|
|||||||
this.registerStorageType(storageType.name, storageType);
|
this.registerStorageType(storageType.name, storageType);
|
||||||
});
|
});
|
||||||
|
|
||||||
const tableActionInitializers = this.app.schemaInitializerManager.get('TableActionInitializers');
|
const tableActionInitializers = this.app.schemaInitializerManager.get('actionInitializers:tableAction');
|
||||||
tableActionInitializers?.add('enableActions.upload', {
|
tableActionInitializers?.add('enableActions.upload', {
|
||||||
title: "{{t('Upload')}}",
|
title: "{{t('Upload')}}",
|
||||||
Component: 'UploadActionInitializer',
|
Component: 'UploadActionInitializer',
|
||||||
|
@ -197,7 +197,7 @@ export const oneEmptyGantt: PageConfig = {
|
|||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'x-initializer': 'GanttActionInitializers',
|
'x-initializer': 'actionInitializers:gantt',
|
||||||
'x-uid': 'guwovmwt4c0',
|
'x-uid': 'guwovmwt4c0',
|
||||||
'x-async': false,
|
'x-async': false,
|
||||||
'x-index': 1,
|
'x-index': 1,
|
||||||
@ -233,7 +233,7 @@ export const oneEmptyGantt: PageConfig = {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
|
@ -55,7 +55,7 @@ export const createGanttBlockSchema = (options) => {
|
|||||||
marginBottom: 24,
|
marginBottom: 24,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'x-initializer': 'GanttActionInitializers',
|
'x-initializer': 'actionInitializers:gantt',
|
||||||
properties: {},
|
properties: {},
|
||||||
},
|
},
|
||||||
table: {
|
table: {
|
||||||
@ -86,7 +86,7 @@ export const createGanttBlockSchema = (options) => {
|
|||||||
'x-decorator': 'TableV2.Column.ActionBar',
|
'x-decorator': 'TableV2.Column.ActionBar',
|
||||||
'x-component': 'TableV2.Column',
|
'x-component': 'TableV2.Column',
|
||||||
'x-designer': 'TableV2.ActionColumnDesigner',
|
'x-designer': 'TableV2.ActionColumnDesigner',
|
||||||
'x-initializer': 'TableActionColumnInitializers',
|
'x-initializer': 'actionInitializers:tableColumnAction',
|
||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
|
@ -35,9 +35,9 @@ export class ImportPlugin extends Plugin {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const tableActionInitializers = this.app.schemaInitializerManager.get('TableActionInitializers');
|
const tableActionInitializers = this.app.schemaInitializerManager.get('actionInitializers:tableAction');
|
||||||
tableActionInitializers?.add('enableActions.import', initializerData);
|
tableActionInitializers?.add('enableActions.import', initializerData);
|
||||||
this.app.schemaInitializerManager.addItem('GanttActionInitializers', 'enableActions.import', initializerData);
|
this.app.schemaInitializerManager.addItem('actionInitializers:gantt', 'enableActions.import', initializerData);
|
||||||
this.app.schemaSettingsManager.add(importActionSchemaSettings);
|
this.app.schemaSettingsManager.add(importActionSchemaSettings);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@ export const oneEmptyKanbanBlock: PageConfig = {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'KanbanActionInitializers',
|
'x-initializer': 'actionInitializers:kanban',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
|
@ -23,7 +23,7 @@ export const createKanbanBlockSchema = (options) => {
|
|||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'KanbanActionInitializers',
|
'x-initializer': 'actionInitializers:kanban',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
|
@ -25,7 +25,7 @@ export const createMapBlockSchema = (options) => {
|
|||||||
properties: {
|
properties: {
|
||||||
actions: {
|
actions: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'MapActionInitializers',
|
'x-initializer': 'actionInitializers:map',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
style: {
|
style: {
|
||||||
|
@ -19,7 +19,7 @@ export const snapshotBlockInitializers_deprecated: SchemaInitializer = new Schem
|
|||||||
name: 'details',
|
name: 'details',
|
||||||
title: '{{t("Details")}}',
|
title: '{{t("Details")}}',
|
||||||
Component: 'SnapshotBlockInitializersDetailItem',
|
Component: 'SnapshotBlockInitializersDetailItem',
|
||||||
actionInitializers: 'CalendarFormActionInitializers',
|
actionInitializers: 'actionInitializers:calendarForm',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -53,7 +53,7 @@ export const snapshotBlockInitializers: SchemaInitializer = new SchemaInitialize
|
|||||||
name: 'details',
|
name: 'details',
|
||||||
title: '{{t("Details")}}',
|
title: '{{t("Details")}}',
|
||||||
Component: 'SnapshotBlockInitializersDetailItem',
|
Component: 'SnapshotBlockInitializersDetailItem',
|
||||||
actionInitializers: 'CalendarFormActionInitializers',
|
actionInitializers: 'actionInitializers:calendarForm',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -16,7 +16,7 @@ import { uid } from '@formily/shared';
|
|||||||
export const createSnapshotBlockSchema = (options) => {
|
export const createSnapshotBlockSchema = (options) => {
|
||||||
const {
|
const {
|
||||||
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
formItemInitializers = 'ReadPrettyFormItemInitializers',
|
||||||
actionInitializers = 'ReadPrettyFormActionInitializers',
|
actionInitializers = 'actionInitializers:detailsSingle',
|
||||||
collection,
|
collection,
|
||||||
association,
|
association,
|
||||||
resource,
|
resource,
|
||||||
@ -78,7 +78,7 @@ export const SnapshotBlockInitializersDetailItem = () => {
|
|||||||
const association = useBlockAssociationContext();
|
const association = useBlockAssociationContext();
|
||||||
const { block } = useBlockRequestContext();
|
const { block } = useBlockRequestContext();
|
||||||
const actionInitializers =
|
const actionInitializers =
|
||||||
block !== 'TableField' ? itemConfig.actionInitializers || 'ReadPrettyFormActionInitializers' : null;
|
block !== 'TableField' ? itemConfig.actionInitializers || 'actionInitializers:detailsSingle' : null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SchemaInitializerItem
|
<SchemaInitializerItem
|
||||||
|
@ -31,7 +31,7 @@ export default {
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'TableActionInitializers',
|
'x-initializer': 'actionInitializers:tableAction',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': { style: { marginBottom: 16 } },
|
'x-component-props': { style: { marginBottom: 16 } },
|
||||||
properties: {
|
properties: {
|
||||||
|
@ -22,7 +22,7 @@ function InternalFormBlockInitializer({ schema, ...others }) {
|
|||||||
async function onConfirm({ item }) {
|
async function onConfirm({ item }) {
|
||||||
const template = item.template ? await getTemplateSchemaByMode(item) : null;
|
const template = item.template ? await getTemplateSchemaByMode(item) : null;
|
||||||
const result = createFormBlockSchema({
|
const result = createFormBlockSchema({
|
||||||
actionInitializers: 'AddActionButton',
|
actionInitializers: 'actionInitializers:workflowManual',
|
||||||
actions: {
|
actions: {
|
||||||
resolve: {
|
resolve: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
|
@ -437,7 +437,7 @@ function ActionInitializer() {
|
|||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
export const addActionButton_deprecated: SchemaInitializer = new SchemaInitializer({
|
export const addActionButton_deprecated: SchemaInitializer = new SchemaInitializer({
|
||||||
name: 'AddActionButton',
|
name: 'actionInitializers:workflowManual',
|
||||||
title: '{{t("Configure actions")}}',
|
title: '{{t("Configure actions")}}',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
|
@ -116,7 +116,7 @@ function CustomFormBlockInitializer() {
|
|||||||
flexWrap: 'wrap',
|
flexWrap: 'wrap',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'x-initializer': 'AddActionButton',
|
'x-initializer': 'actionInitializers:workflowManual',
|
||||||
properties: {
|
properties: {
|
||||||
resolve: {
|
resolve: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
|
@ -646,7 +646,7 @@ test.skip('Collection event add data trigger, get front manual node add form sin
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'AddActionButton',
|
'x-initializer': 'actionInitializers:workflowManual',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
|
@ -641,7 +641,7 @@ test.skip('Collection event add data trigger, get front manual node add form sin
|
|||||||
_isJSONSchemaObject: true,
|
_isJSONSchemaObject: true,
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
type: 'void',
|
type: 'void',
|
||||||
'x-initializer': 'AddActionButton',
|
'x-initializer': 'actionInitializers:workflowManual',
|
||||||
'x-component': 'ActionBar',
|
'x-component': 'ActionBar',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
layout: 'one-column',
|
layout: 'one-column',
|
||||||
|
@ -126,7 +126,7 @@ function migrateConfig({ schema = {}, actions = [] }: { schema: any; actions: nu
|
|||||||
marginTop: '1.5em',
|
marginTop: '1.5em',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'x-initializer': 'AddActionButton',
|
'x-initializer': 'actionInitializers:workflowManual',
|
||||||
properties: schema.actions,
|
properties: schema.actions,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user