@nocobase/client 0.9.0-alpha.2 → 0.9.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/acl/ACLProvider.js +7 -8
- package/es/api-client/APIClient.js +6 -0
- package/es/block-provider/BlockProvider.js +9 -6
- package/es/block-provider/FormBlockProvider.js +18 -9
- package/es/block-provider/KanbanBlockProvider.js +1 -1
- package/es/block-provider/SharedFilterProvider.js +9 -1
- package/es/block-provider/TableBlockProvider.js +1 -1
- package/es/block-provider/TableSelectorProvider.js +2 -2
- package/es/block-provider/hooks/index.js +22 -7
- package/es/collection-manager/CollectionManagerProvider.d.ts +1 -0
- package/es/collection-manager/CollectionManagerProvider.js +71 -9
- package/es/collection-manager/CollectionManagerShortcut.js +36 -23
- package/es/collection-manager/Configuration/AddCategoryAction.d.ts +2 -0
- package/es/collection-manager/Configuration/AddCategoryAction.js +117 -0
- package/es/collection-manager/Configuration/AddCollectionAction.js +8 -3
- package/es/collection-manager/Configuration/AddFieldAction.js +1 -0
- package/es/collection-manager/Configuration/ConfigurationTable.js +33 -4
- package/es/collection-manager/Configuration/ConfigurationTabs.d.ts +1 -0
- package/es/collection-manager/Configuration/ConfigurationTabs.js +381 -0
- package/es/collection-manager/Configuration/EditCategoryAction.d.ts +2 -0
- package/es/collection-manager/Configuration/EditCategoryAction.js +150 -0
- package/es/collection-manager/Configuration/EditCollectionAction.js +6 -2
- package/es/collection-manager/Configuration/OverridingCollectionField.js +17 -8
- package/es/collection-manager/Configuration/components/CollectionCategory.d.ts +2 -0
- package/es/collection-manager/Configuration/components/CollectionCategory.js +13 -0
- package/es/collection-manager/Configuration/index.d.ts +3 -0
- package/es/collection-manager/Configuration/index.js +3 -0
- package/es/collection-manager/Configuration/schemas/collections.d.ts +3 -0
- package/es/collection-manager/Configuration/schemas/collections.js +309 -176
- package/es/collection-manager/Configuration/templates.d.ts +1 -0
- package/es/collection-manager/Configuration/templates.js +1 -1
- package/es/collection-manager/action-hooks.d.ts +4 -0
- package/es/collection-manager/action-hooks.js +26 -12
- package/es/collection-manager/context.d.ts +4 -0
- package/es/collection-manager/context.js +5 -1
- package/es/collection-manager/hooks/useCollectionManager.d.ts +7 -0
- package/es/collection-manager/hooks/useCollectionManager.js +52 -7
- package/es/collection-manager/interfaces/m2m.js +2 -2
- package/es/collection-manager/interfaces/properties/index.d.ts +0 -56
- package/es/collection-manager/interfaces/properties/index.js +1 -2
- package/es/collection-manager/templates/calendar.js +1 -1
- package/es/collection-manager/templates/general.js +1 -1
- package/es/collection-manager/templates/properties/index.d.ts +12 -1
- package/es/collection-manager/templates/properties/index.js +11 -0
- package/es/i18n/i18n.js +3 -1
- package/es/locale/en_US.d.ts +23 -0
- package/es/locale/en_US.js +23 -0
- package/es/locale/ja_JP.d.ts +23 -0
- package/es/locale/ja_JP.js +24 -1
- package/es/locale/ru_RU.d.ts +1 -0
- package/es/locale/ru_RU.js +1 -0
- package/es/locale/zh_CN.d.ts +43 -4
- package/es/locale/zh_CN.js +44 -5
- package/es/route-switch/antd/admin-layout/index.js +13 -33
- package/es/schema-component/antd/action/Action.Designer.js +28 -15
- package/es/schema-component/antd/action/Action.js +28 -5
- package/es/schema-component/antd/action/utils.d.ts +1 -0
- package/es/schema-component/antd/action/utils.js +49 -0
- package/es/schema-component/antd/association-filter/AssociationFilter.js +4 -4
- package/es/schema-component/antd/association-select/AssociationSelect.d.ts +2 -2
- package/es/schema-component/antd/association-select/useServiceOptions.js +47 -6
- package/es/schema-component/antd/calendar/Calendar.Designer.js +17 -36
- package/es/schema-component/antd/checkbox/Checkbox.js +9 -8
- package/es/schema-component/antd/date-picker/util.d.ts +1 -1
- package/es/schema-component/antd/date-picker/util.js +1 -1
- package/es/schema-component/antd/filter/DynamicComponent.js +3 -1
- package/es/schema-component/antd/filter/Filter.js +2 -1
- package/es/schema-component/antd/filter/FilterGroup.js +7 -4
- package/es/schema-component/antd/filter/FilterItem.js +3 -2
- package/es/schema-component/antd/filter/context.d.ts +1 -0
- package/es/schema-component/antd/filter/useValues.js +14 -11
- package/es/schema-component/antd/form/Form.js +11 -5
- package/es/schema-component/antd/form-item/FormItem.js +17 -8
- package/es/schema-component/antd/form-v2/Form.Designer.js +2 -0
- package/es/schema-component/antd/form-v2/Form.js +94 -7
- package/es/schema-component/antd/form-v2/utils.d.ts +5 -0
- package/es/schema-component/antd/form-v2/utils.js +161 -0
- package/es/schema-component/antd/g2plot/G2Plot.js +3 -1
- package/es/schema-component/antd/grid/Grid.js +10 -5
- package/es/schema-component/antd/icon-picker/IconPicker.js +1 -0
- package/es/schema-component/antd/index.d.ts +1 -0
- package/es/schema-component/antd/index.js +1 -0
- package/es/schema-component/antd/input/Input.d.ts +2 -1
- package/es/schema-component/antd/input/Json.d.ts +5 -3
- package/es/schema-component/antd/input/Json.js +3 -2
- package/es/schema-component/antd/input/ReadPretty.js +1 -1
- package/es/schema-component/antd/input-number/InputNumber.js +3 -1
- package/es/schema-component/antd/page/FixedBlock.js +3 -1
- package/es/schema-component/antd/page/Page.js +11 -5
- package/es/schema-component/antd/page/PageTabDesigner.js +3 -3
- package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +3 -1
- package/es/schema-component/antd/record-picker/RecordPicker.js +1 -2
- package/es/schema-component/antd/record-picker/util.js +7 -0
- package/es/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
- package/es/schema-component/antd/remote-select/RemoteSelect.js +78 -36
- package/es/schema-component/antd/rich-text/RichText.js +4 -2
- package/es/schema-component/antd/select/Select.js +14 -4
- package/es/schema-component/antd/table/Table.Array.js +10 -3
- package/es/schema-component/antd/table-v2/Table.Column.Designer.js +2 -2
- package/es/schema-component/antd/table-v2/TableBlockDesigner.js +3 -2
- package/es/schema-component/antd/tabs/Tabs.Designer.js +1 -0
- package/es/schema-component/antd/tabs/Tabs.js +1 -0
- package/es/schema-component/antd/time-picker/TimePicker.js +1 -1
- package/es/schema-component/antd/variable/Input.d.ts +2 -0
- package/es/schema-component/antd/variable/Input.js +244 -0
- package/es/schema-component/antd/variable/JSONInput.d.ts +2 -0
- package/es/schema-component/antd/variable/JSONInput.js +82 -0
- package/es/schema-component/antd/variable/TextArea.d.ts +2 -0
- package/es/schema-component/antd/variable/TextArea.js +322 -0
- package/es/schema-component/antd/variable/Variable.d.ts +8 -0
- package/es/schema-component/antd/variable/Variable.js +11 -0
- package/es/schema-component/antd/variable/index.d.ts +1 -0
- package/es/schema-component/antd/variable/index.js +1 -0
- package/es/schema-component/common/sortable-item/SortableItem.js +36 -6
- package/es/schema-component/common/utils/logic.js +523 -0
- package/es/schema-component/common/utils/uitls.d.ts +1 -0
- package/es/schema-component/common/utils/uitls.js +89 -0
- package/es/schema-initializer/SchemaInitializer.js +9 -4
- package/es/schema-initializer/buttons/BlockInitializers.d.ts +2 -184
- package/es/schema-initializer/buttons/BlockInitializers.js +1 -102
- package/es/schema-initializer/buttons/RecordBlockInitializers.js +72 -16
- package/es/schema-initializer/buttons/TableActionColumnInitializers.d.ts +1 -0
- package/es/schema-initializer/buttons/TableActionColumnInitializers.js +1 -3
- package/es/schema-initializer/components/CreateRecordAction.d.ts +3 -0
- package/es/schema-initializer/components/CreateRecordAction.js +174 -0
- package/es/schema-initializer/components/index.d.ts +1 -0
- package/es/schema-initializer/components/index.js +2 -1
- package/es/schema-initializer/index.d.ts +2 -1
- package/es/schema-initializer/index.js +2 -1
- package/es/schema-initializer/items/CalendarBlockInitializer.js +24 -41
- package/es/schema-initializer/items/CreateActionInitializer.js +3 -3
- package/es/schema-initializer/items/RecordFormBlockInitializer.js +9 -9
- package/es/schema-initializer/items/index.d.ts +4 -4
- package/es/schema-initializer/items/index.js +6 -6
- package/es/schema-initializer/utils.js +22 -7
- package/es/schema-settings/EnableChildCollections/index.d.ts +2 -0
- package/es/schema-settings/EnableChildCollections/index.js +141 -0
- package/es/schema-settings/LinkageRules/DynamicComponent.d.ts +1 -0
- package/es/schema-settings/LinkageRules/DynamicComponent.js +113 -0
- package/es/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +2 -0
- package/es/schema-settings/LinkageRules/FilterDynamicComponent.js +15 -0
- package/es/schema-settings/LinkageRules/LinkageRuleAction.d.ts +3 -0
- package/es/schema-settings/LinkageRules/LinkageRuleAction.js +162 -0
- package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +3 -0
- package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.js +71 -0
- package/es/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +1 -0
- package/es/schema-settings/LinkageRules/ValueDynamicComponent.js +82 -0
- package/es/schema-settings/LinkageRules/Variables.d.ts +7 -0
- package/es/schema-settings/LinkageRules/Variables.js +115 -0
- package/es/schema-settings/LinkageRules/action-hooks.d.ts +1 -0
- package/es/schema-settings/LinkageRules/action-hooks.js +115 -0
- package/es/schema-settings/LinkageRules/context.d.ts +13 -0
- package/es/schema-settings/LinkageRules/context.js +4 -0
- package/es/schema-settings/LinkageRules/index.d.ts +2 -0
- package/es/schema-settings/LinkageRules/index.js +132 -0
- package/es/schema-settings/LinkageRules/type.d.ts +13 -0
- package/es/schema-settings/LinkageRules/type.js +15 -0
- package/es/schema-settings/LinkageRules/useValues.d.ts +1 -0
- package/es/schema-settings/LinkageRules/useValues.js +84 -0
- package/es/schema-settings/SchemaSettings.d.ts +4 -1
- package/es/schema-settings/SchemaSettings.js +219 -26
- package/es/schema-templates/BlockTemplate.js +9 -1
- package/es/system-settings/SystemSettingsShortcut.js +1 -1
- package/lib/acl/ACLProvider.js +7 -8
- package/lib/api-client/APIClient.js +6 -0
- package/lib/block-provider/BlockProvider.js +9 -6
- package/lib/block-provider/FormBlockProvider.js +17 -8
- package/lib/block-provider/KanbanBlockProvider.js +1 -1
- package/lib/block-provider/SharedFilterProvider.js +9 -3
- package/lib/block-provider/TableBlockProvider.js +1 -1
- package/lib/block-provider/TableSelectorProvider.js +2 -2
- package/lib/block-provider/hooks/index.js +23 -7
- package/lib/collection-manager/CollectionManagerProvider.d.ts +1 -0
- package/lib/collection-manager/CollectionManagerProvider.js +81 -16
- package/lib/collection-manager/CollectionManagerShortcut.js +36 -23
- package/lib/collection-manager/Configuration/AddCategoryAction.d.ts +2 -0
- package/lib/collection-manager/Configuration/AddCategoryAction.js +145 -0
- package/lib/collection-manager/Configuration/AddCollectionAction.js +8 -3
- package/lib/collection-manager/Configuration/AddFieldAction.js +1 -0
- package/lib/collection-manager/Configuration/ConfigurationTable.js +34 -4
- package/lib/collection-manager/Configuration/ConfigurationTabs.d.ts +1 -0
- package/lib/collection-manager/Configuration/ConfigurationTabs.js +407 -0
- package/lib/collection-manager/Configuration/EditCategoryAction.d.ts +2 -0
- package/lib/collection-manager/Configuration/EditCategoryAction.js +178 -0
- package/lib/collection-manager/Configuration/EditCollectionAction.js +6 -2
- package/lib/collection-manager/Configuration/OverridingCollectionField.js +17 -8
- package/lib/collection-manager/Configuration/components/CollectionCategory.d.ts +2 -0
- package/lib/collection-manager/Configuration/components/CollectionCategory.js +27 -0
- package/lib/collection-manager/Configuration/index.d.ts +3 -0
- package/lib/collection-manager/Configuration/index.js +39 -0
- package/lib/collection-manager/Configuration/schemas/collections.d.ts +3 -0
- package/lib/collection-manager/Configuration/schemas/collections.js +316 -178
- package/lib/collection-manager/Configuration/templates.d.ts +1 -0
- package/lib/collection-manager/Configuration/templates.js +2 -0
- package/lib/collection-manager/action-hooks.d.ts +4 -0
- package/lib/collection-manager/action-hooks.js +30 -13
- package/lib/collection-manager/context.d.ts +4 -0
- package/lib/collection-manager/context.js +7 -2
- package/lib/collection-manager/hooks/useCollectionManager.d.ts +7 -0
- package/lib/collection-manager/hooks/useCollectionManager.js +52 -6
- package/lib/collection-manager/interfaces/m2m.js +2 -2
- package/lib/collection-manager/interfaces/properties/index.d.ts +0 -56
- package/lib/collection-manager/interfaces/properties/index.js +1 -2
- package/lib/collection-manager/templates/calendar.js +1 -1
- package/lib/collection-manager/templates/general.js +1 -1
- package/lib/collection-manager/templates/properties/index.d.ts +12 -1
- package/lib/collection-manager/templates/properties/index.js +11 -0
- package/lib/i18n/i18n.js +3 -1
- package/lib/locale/en_US.d.ts +23 -0
- package/lib/locale/en_US.js +23 -0
- package/lib/locale/ja_JP.d.ts +23 -0
- package/lib/locale/ja_JP.js +24 -1
- package/lib/locale/ru_RU.d.ts +1 -0
- package/lib/locale/ru_RU.js +1 -0
- package/lib/locale/zh_CN.d.ts +43 -4
- package/lib/locale/zh_CN.js +44 -5
- package/lib/route-switch/antd/admin-layout/index.js +13 -33
- package/lib/schema-component/antd/action/Action.Designer.js +30 -14
- package/lib/schema-component/antd/action/Action.js +29 -3
- package/lib/schema-component/antd/action/utils.d.ts +1 -0
- package/lib/schema-component/antd/action/utils.js +58 -2
- package/lib/schema-component/antd/association-filter/AssociationFilter.js +3 -3
- package/lib/schema-component/antd/association-select/AssociationSelect.d.ts +2 -2
- package/lib/schema-component/antd/association-select/useServiceOptions.js +47 -4
- package/lib/schema-component/antd/calendar/Calendar.Designer.js +15 -33
- package/lib/schema-component/antd/checkbox/Checkbox.js +8 -7
- package/lib/schema-component/antd/date-picker/util.d.ts +1 -1
- package/lib/schema-component/antd/date-picker/util.js +1 -1
- package/lib/schema-component/antd/filter/DynamicComponent.js +3 -1
- package/lib/schema-component/antd/filter/Filter.js +2 -1
- package/lib/schema-component/antd/filter/FilterGroup.js +7 -4
- package/lib/schema-component/antd/filter/FilterItem.js +3 -2
- package/lib/schema-component/antd/filter/context.d.ts +1 -0
- package/lib/schema-component/antd/filter/useValues.js +15 -11
- package/lib/schema-component/antd/form/Form.js +9 -3
- package/lib/schema-component/antd/form-item/FormItem.js +21 -7
- package/lib/schema-component/antd/form-v2/Form.Designer.js +2 -0
- package/lib/schema-component/antd/form-v2/Form.js +93 -5
- package/lib/schema-component/antd/form-v2/utils.d.ts +5 -0
- package/lib/schema-component/antd/form-v2/utils.js +181 -0
- package/lib/schema-component/antd/g2plot/G2Plot.js +3 -1
- package/lib/schema-component/antd/grid/Grid.js +10 -5
- package/lib/schema-component/antd/icon-picker/IconPicker.js +1 -0
- package/lib/schema-component/antd/index.d.ts +1 -0
- package/lib/schema-component/antd/index.js +13 -0
- package/lib/schema-component/antd/input/Input.d.ts +2 -1
- package/lib/schema-component/antd/input/Json.d.ts +5 -3
- package/lib/schema-component/antd/input/Json.js +6 -3
- package/lib/schema-component/antd/input/ReadPretty.js +1 -1
- package/lib/schema-component/antd/input-number/InputNumber.js +2 -0
- package/lib/schema-component/antd/page/FixedBlock.js +3 -1
- package/lib/schema-component/antd/page/Page.js +14 -5
- package/lib/schema-component/antd/page/PageTabDesigner.js +1 -1
- package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +3 -1
- package/lib/schema-component/antd/record-picker/RecordPicker.js +1 -2
- package/lib/schema-component/antd/record-picker/util.js +7 -0
- package/lib/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
- package/lib/schema-component/antd/remote-select/RemoteSelect.js +78 -37
- package/lib/schema-component/antd/rich-text/RichText.js +4 -2
- package/lib/schema-component/antd/select/Select.js +14 -4
- package/lib/schema-component/antd/table/Table.Array.js +8 -1
- package/lib/schema-component/antd/table-v2/Table.Column.Designer.js +2 -2
- package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +3 -2
- package/lib/schema-component/antd/tabs/Tabs.Designer.js +1 -0
- package/lib/schema-component/antd/tabs/Tabs.js +1 -0
- package/lib/schema-component/antd/time-picker/TimePicker.js +1 -1
- package/lib/schema-component/antd/variable/Input.d.ts +2 -0
- package/lib/schema-component/antd/variable/Input.js +262 -0
- package/lib/schema-component/antd/variable/JSONInput.d.ts +2 -0
- package/lib/schema-component/antd/variable/JSONInput.js +100 -0
- package/lib/schema-component/antd/variable/TextArea.d.ts +2 -0
- package/lib/schema-component/antd/variable/TextArea.js +341 -0
- package/lib/schema-component/antd/variable/Variable.d.ts +8 -0
- package/lib/schema-component/antd/variable/Variable.js +25 -0
- package/lib/schema-component/antd/variable/index.d.ts +1 -0
- package/lib/schema-component/antd/variable/index.js +18 -0
- package/lib/schema-component/common/sortable-item/SortableItem.js +36 -6
- package/lib/schema-component/common/utils/logic.js +525 -0
- package/lib/schema-component/common/utils/uitls.d.ts +1 -0
- package/lib/schema-component/common/utils/uitls.js +103 -0
- package/lib/schema-initializer/SchemaInitializer.js +9 -4
- package/lib/schema-initializer/buttons/BlockInitializers.d.ts +2 -184
- package/lib/schema-initializer/buttons/BlockInitializers.js +0 -108
- package/lib/schema-initializer/buttons/RecordBlockInitializers.js +72 -16
- package/lib/schema-initializer/buttons/TableActionColumnInitializers.d.ts +1 -0
- package/lib/schema-initializer/buttons/TableActionColumnInitializers.js +3 -1
- package/lib/schema-initializer/components/CreateRecordAction.d.ts +3 -0
- package/lib/schema-initializer/components/CreateRecordAction.js +199 -0
- package/lib/schema-initializer/components/index.d.ts +1 -0
- package/lib/schema-initializer/components/index.js +13 -0
- package/lib/schema-initializer/index.d.ts +2 -1
- package/lib/schema-initializer/index.js +51 -2
- package/lib/schema-initializer/items/CalendarBlockInitializer.js +16 -33
- package/lib/schema-initializer/items/CreateActionInitializer.js +3 -3
- package/lib/schema-initializer/items/RecordFormBlockInitializer.js +3 -3
- package/lib/schema-initializer/items/index.d.ts +4 -4
- package/lib/schema-initializer/items/index.js +52 -52
- package/lib/schema-initializer/utils.js +22 -6
- package/lib/schema-settings/EnableChildCollections/index.d.ts +2 -0
- package/lib/schema-settings/EnableChildCollections/index.js +156 -0
- package/lib/schema-settings/LinkageRules/DynamicComponent.d.ts +1 -0
- package/lib/schema-settings/LinkageRules/DynamicComponent.js +139 -0
- package/lib/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +2 -0
- package/lib/schema-settings/LinkageRules/FilterDynamicComponent.js +27 -0
- package/lib/schema-settings/LinkageRules/LinkageRuleAction.d.ts +3 -0
- package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +190 -0
- package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +3 -0
- package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.js +90 -0
- package/lib/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +1 -0
- package/lib/schema-settings/LinkageRules/ValueDynamicComponent.js +104 -0
- package/lib/schema-settings/LinkageRules/Variables.d.ts +7 -0
- package/lib/schema-settings/LinkageRules/Variables.js +124 -0
- package/lib/schema-settings/LinkageRules/action-hooks.d.ts +1 -0
- package/lib/schema-settings/LinkageRules/action-hooks.js +127 -0
- package/lib/schema-settings/LinkageRules/context.d.ts +13 -0
- package/lib/schema-settings/LinkageRules/context.js +15 -0
- package/lib/schema-settings/LinkageRules/index.d.ts +2 -0
- package/lib/schema-settings/LinkageRules/index.js +149 -0
- package/lib/schema-settings/LinkageRules/type.d.ts +13 -0
- package/lib/schema-settings/LinkageRules/type.js +22 -0
- package/lib/schema-settings/LinkageRules/useValues.d.ts +1 -0
- package/lib/schema-settings/LinkageRules/useValues.js +95 -0
- package/lib/schema-settings/SchemaSettings.d.ts +4 -1
- package/lib/schema-settings/SchemaSettings.js +243 -48
- package/lib/schema-templates/BlockTemplate.js +9 -1
- package/lib/system-settings/SystemSettingsShortcut.js +1 -1
- package/package.json +4 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.useValuesFromRecord = exports.useValuesFromRA = exports.useUpdateViewAction = exports.useUpdateActionAndRefreshCM = exports.useUpdateAction = exports.useSortFields = exports.useResetFilterAction = exports.useMoveAction = exports.useKanbanEvents = exports.useFilterDataSource = exports.useFilterActionProps = exports.useFilterAction = exports.useDestroyActionAndRefreshCM = exports.useDestroyAction = exports.useCreateActionWithoutRefresh = exports.useCreateActionAndRefreshCM = exports.useCreateAction = exports.useCollectionFilterOptions = exports.useCancelAction = exports.useBulkDestroyActionAndRefreshCM = exports.useBulkDestroyAction = void 0;
|
|
6
|
+
exports.useValuesFromRecord = exports.useValuesFromRA = exports.useUpdateViewAction = exports.useUpdateActionAndRefreshCM = exports.useUpdateAction = exports.useSortFields = exports.useResetFilterAction = exports.useMoveAction = exports.useKanbanEvents = exports.useFilterDataSource = exports.useFilterActionProps = exports.useFilterAction = exports.useDestroyActionAndRefreshCM = exports.useDestroyAction = exports.useCreateActionWithoutRefresh = exports.useCreateActionAndRefreshCM = exports.useCreateAction = exports.useCollectionFilterOptions = exports.useChildrenCollections = exports.useCancelAction = exports.useBulkDestroyActionAndRefreshCM = exports.useBulkDestroyAction = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = require("@formily/react");
|
|
9
9
|
|
|
@@ -211,10 +211,25 @@ var useSortFields = function useSortFields(collectionName) {
|
|
|
211
211
|
|
|
212
212
|
exports.useSortFields = useSortFields;
|
|
213
213
|
|
|
214
|
-
var
|
|
214
|
+
var useChildrenCollections = function useChildrenCollections(collectionName) {
|
|
215
215
|
var _useCollectionManager2 = (0, _.useCollectionManager)(),
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
getChildrenCollections = _useCollectionManager2.getChildrenCollections;
|
|
217
|
+
|
|
218
|
+
var childrenCollections = getChildrenCollections(collectionName);
|
|
219
|
+
return childrenCollections.map(function (collection) {
|
|
220
|
+
return {
|
|
221
|
+
value: collection.name,
|
|
222
|
+
label: (collection === null || collection === void 0 ? void 0 : collection.title) || collection.name
|
|
223
|
+
};
|
|
224
|
+
});
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
exports.useChildrenCollections = useChildrenCollections;
|
|
228
|
+
|
|
229
|
+
var useCollectionFilterOptions = function useCollectionFilterOptions(collectionName) {
|
|
230
|
+
var _useCollectionManager3 = (0, _.useCollectionManager)(),
|
|
231
|
+
getCollectionFields = _useCollectionManager3.getCollectionFields,
|
|
232
|
+
getInterface = _useCollectionManager3.getInterface;
|
|
218
233
|
|
|
219
234
|
var fields = getCollectionFields(collectionName);
|
|
220
235
|
|
|
@@ -661,8 +676,8 @@ var useCreateActionAndRefreshCM = function useCreateActionAndRefreshCM() {
|
|
|
661
676
|
var _useCreateAction = useCreateAction(),
|
|
662
677
|
_run3 = _useCreateAction.run;
|
|
663
678
|
|
|
664
|
-
var
|
|
665
|
-
refreshCM =
|
|
679
|
+
var _useCollectionManager4 = (0, _.useCollectionManager)(),
|
|
680
|
+
refreshCM = _useCollectionManager4.refreshCM;
|
|
666
681
|
|
|
667
682
|
return {
|
|
668
683
|
run: function run() {
|
|
@@ -695,8 +710,8 @@ var useUpdateActionAndRefreshCM = function useUpdateActionAndRefreshCM() {
|
|
|
695
710
|
var _useUpdateAction = useUpdateAction(),
|
|
696
711
|
_run4 = _useUpdateAction.run;
|
|
697
712
|
|
|
698
|
-
var
|
|
699
|
-
refreshCM =
|
|
713
|
+
var _useCollectionManager5 = (0, _.useCollectionManager)(),
|
|
714
|
+
refreshCM = _useCollectionManager5.refreshCM;
|
|
700
715
|
|
|
701
716
|
return {
|
|
702
717
|
run: function run() {
|
|
@@ -729,8 +744,8 @@ var useDestroyActionAndRefreshCM = function useDestroyActionAndRefreshCM() {
|
|
|
729
744
|
var _useDestroyAction = useDestroyAction(),
|
|
730
745
|
_run5 = _useDestroyAction.run;
|
|
731
746
|
|
|
732
|
-
var
|
|
733
|
-
refreshCM =
|
|
747
|
+
var _useCollectionManager6 = (0, _.useCollectionManager)(),
|
|
748
|
+
refreshCM = _useCollectionManager6.refreshCM;
|
|
734
749
|
|
|
735
750
|
return {
|
|
736
751
|
run: function run() {
|
|
@@ -763,8 +778,8 @@ var useBulkDestroyActionAndRefreshCM = function useBulkDestroyActionAndRefreshCM
|
|
|
763
778
|
var _useBulkDestroyAction = useBulkDestroyAction(),
|
|
764
779
|
_run6 = _useBulkDestroyAction.run;
|
|
765
780
|
|
|
766
|
-
var
|
|
767
|
-
refreshCM =
|
|
781
|
+
var _useCollectionManager7 = (0, _.useCollectionManager)(),
|
|
782
|
+
refreshCM = _useCollectionManager7.refreshCM;
|
|
768
783
|
|
|
769
784
|
return {
|
|
770
785
|
run: function run() {
|
|
@@ -794,6 +809,8 @@ var useBulkDestroyActionAndRefreshCM = function useBulkDestroyActionAndRefreshCM
|
|
|
794
809
|
exports.useBulkDestroyActionAndRefreshCM = useBulkDestroyActionAndRefreshCM;
|
|
795
810
|
|
|
796
811
|
var useFilterActionProps = function useFilterActionProps() {
|
|
812
|
+
var _service$state, _service$state$params;
|
|
813
|
+
|
|
797
814
|
var _useResourceContext8 = (0, _ResourceActionProvider.useResourceContext)(),
|
|
798
815
|
collection = _useResourceContext8.collection;
|
|
799
816
|
|
|
@@ -801,7 +818,7 @@ var useFilterActionProps = function useFilterActionProps() {
|
|
|
801
818
|
var service = (0, _ResourceActionProvider.useResourceActionContext)();
|
|
802
819
|
return (0, _useFilterActionProps.useFilterFieldProps)({
|
|
803
820
|
options: options,
|
|
804
|
-
params: service.params,
|
|
821
|
+
params: ((_service$state = service.state) === null || _service$state === void 0 ? void 0 : (_service$state$params = _service$state.params) === null || _service$state$params === void 0 ? void 0 : _service$state$params[0]) || service.params,
|
|
805
822
|
service: service
|
|
806
823
|
});
|
|
807
824
|
};
|
|
@@ -3,3 +3,7 @@ import { CollectionFieldOptions, CollectionManagerOptions, CollectionOptions } f
|
|
|
3
3
|
export declare const CollectionManagerContext: import("react").Context<CollectionManagerOptions>;
|
|
4
4
|
export declare const CollectionContext: import("react").Context<CollectionOptions>;
|
|
5
5
|
export declare const CollectionFieldContext: import("react").Context<CollectionFieldOptions>;
|
|
6
|
+
export declare const CollectionCategroriesContext: import("react").Context<{
|
|
7
|
+
data: any[];
|
|
8
|
+
refresh: () => void;
|
|
9
|
+
}>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.CollectionManagerContext = exports.CollectionFieldContext = exports.CollectionContext = void 0;
|
|
6
|
+
exports.CollectionManagerContext = exports.CollectionFieldContext = exports.CollectionContext = exports.CollectionCategroriesContext = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
|
|
@@ -15,4 +15,9 @@ exports.CollectionManagerContext = CollectionManagerContext;
|
|
|
15
15
|
var CollectionContext = /*#__PURE__*/(0, _react.createContext)({});
|
|
16
16
|
exports.CollectionContext = CollectionContext;
|
|
17
17
|
var CollectionFieldContext = /*#__PURE__*/(0, _react.createContext)({});
|
|
18
|
-
exports.CollectionFieldContext = CollectionFieldContext;
|
|
18
|
+
exports.CollectionFieldContext = CollectionFieldContext;
|
|
19
|
+
var CollectionCategroriesContext = /*#__PURE__*/(0, _react.createContext)({
|
|
20
|
+
data: [],
|
|
21
|
+
refresh: function refresh() {}
|
|
22
|
+
});
|
|
23
|
+
exports.CollectionCategroriesContext = CollectionCategroriesContext;
|
|
@@ -10,6 +10,13 @@ export declare const useCollectionManager: () => {
|
|
|
10
10
|
getInheritedFields: (name: any) => any[];
|
|
11
11
|
getCollectionField: (name: string) => CollectionFieldOptions;
|
|
12
12
|
getCollectionFields: (name: string) => CollectionFieldOptions[];
|
|
13
|
+
getCollectionFieldsOptions: (collectionName: string, type?: string | string[], opts?: {
|
|
14
|
+
/**
|
|
15
|
+
* 为 true 时允许查询所有关联字段
|
|
16
|
+
* 为 Array<string> 时仅允许查询指定的关联字段
|
|
17
|
+
*/
|
|
18
|
+
association?: boolean | string[];
|
|
19
|
+
}) => any[];
|
|
13
20
|
getCurrentCollectionFields: (name: string) => any;
|
|
14
21
|
getCollection(name: any): any;
|
|
15
22
|
getCollectionJoinField(name: string): any;
|
|
@@ -11,6 +11,8 @@ var _lodash = require("lodash");
|
|
|
11
11
|
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
|
|
14
|
+
var _schemaComponent = require("../../schema-component");
|
|
15
|
+
|
|
14
16
|
var _context = require("../context");
|
|
15
17
|
|
|
16
18
|
function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
|
|
@@ -37,6 +39,8 @@ var useCollectionManager = function useCollectionManager() {
|
|
|
37
39
|
collections = _useContext.collections,
|
|
38
40
|
templates = _useContext.templates;
|
|
39
41
|
|
|
42
|
+
var compile = (0, _schemaComponent.useCompile)();
|
|
43
|
+
|
|
40
44
|
var getInheritedFields = function getInheritedFields(name) {
|
|
41
45
|
var inheritKeys = getInheritCollections(name);
|
|
42
46
|
var inheritedFields = (0, _lodash.reduce)(inheritKeys, function (result, value) {
|
|
@@ -115,9 +119,9 @@ var useCollectionManager = function useCollectionManager() {
|
|
|
115
119
|
};
|
|
116
120
|
|
|
117
121
|
var getChildrenCollections = function getChildrenCollections(name) {
|
|
118
|
-
var
|
|
122
|
+
var children = [];
|
|
119
123
|
|
|
120
|
-
var
|
|
124
|
+
var getChildren = function getChildren(name) {
|
|
121
125
|
var inheritCollections = collections.filter(function (v) {
|
|
122
126
|
var _v$inherits;
|
|
123
127
|
|
|
@@ -125,13 +129,13 @@ var useCollectionManager = function useCollectionManager() {
|
|
|
125
129
|
});
|
|
126
130
|
inheritCollections.forEach(function (v) {
|
|
127
131
|
var collectionKey = v.name;
|
|
128
|
-
|
|
129
|
-
return
|
|
132
|
+
children.push(v);
|
|
133
|
+
return getChildren(collectionKey);
|
|
130
134
|
});
|
|
131
|
-
return
|
|
135
|
+
return (0, _lodash.uniqBy)(children, 'key');
|
|
132
136
|
};
|
|
133
137
|
|
|
134
|
-
return
|
|
138
|
+
return getChildren(name);
|
|
135
139
|
};
|
|
136
140
|
|
|
137
141
|
var getCurrentCollectionFields = function getCurrentCollectionFields(name) {
|
|
@@ -141,6 +145,47 @@ var useCollectionManager = function useCollectionManager() {
|
|
|
141
145
|
return (collection === null || collection === void 0 ? void 0 : collection.fields) || [];
|
|
142
146
|
};
|
|
143
147
|
|
|
148
|
+
var getCollectionFieldsOptions = function getCollectionFieldsOptions(collectionName) {
|
|
149
|
+
var _fields$filter;
|
|
150
|
+
|
|
151
|
+
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'string';
|
|
152
|
+
var opts = arguments.length > 2 ? arguments[2] : undefined;
|
|
153
|
+
|
|
154
|
+
var _ref = opts || {},
|
|
155
|
+
_ref$association = _ref.association,
|
|
156
|
+
association = _ref$association === void 0 ? false : _ref$association;
|
|
157
|
+
|
|
158
|
+
if (typeof type === 'string') {
|
|
159
|
+
type = [type];
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
var fields = getCollectionFields(collectionName);
|
|
163
|
+
var options = fields === null || fields === void 0 ? void 0 : (_fields$filter = fields.filter(function (field) {
|
|
164
|
+
return field.interface && (type.includes(field.type) || (association && field.target && field.target !== collectionName && Array.isArray(association) ? association.includes(field.interface) : false));
|
|
165
|
+
})) === null || _fields$filter === void 0 ? void 0 : _fields$filter.map(function (field) {
|
|
166
|
+
var _field$uiSchema;
|
|
167
|
+
|
|
168
|
+
var result = {
|
|
169
|
+
value: field.name,
|
|
170
|
+
label: compile(field === null || field === void 0 ? void 0 : (_field$uiSchema = field.uiSchema) === null || _field$uiSchema === void 0 ? void 0 : _field$uiSchema.title) || field.name
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
if (association && field.target) {
|
|
174
|
+
var _result$children;
|
|
175
|
+
|
|
176
|
+
result.children = getCollectionFieldsOptions(field.target, type, opts);
|
|
177
|
+
|
|
178
|
+
if (!((_result$children = result.children) === null || _result$children === void 0 ? void 0 : _result$children.length)) {
|
|
179
|
+
return null;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
return result;
|
|
184
|
+
}) // 过滤 map 产生为 null 的数据
|
|
185
|
+
.filter(Boolean);
|
|
186
|
+
return options;
|
|
187
|
+
};
|
|
188
|
+
|
|
144
189
|
return {
|
|
145
190
|
service: service,
|
|
146
191
|
interfaces: interfaces,
|
|
@@ -158,6 +203,7 @@ var useCollectionManager = function useCollectionManager() {
|
|
|
158
203
|
getInheritedFields: getInheritedFields,
|
|
159
204
|
getCollectionField: getCollectionField,
|
|
160
205
|
getCollectionFields: getCollectionFields,
|
|
206
|
+
getCollectionFieldsOptions: getCollectionFieldsOptions,
|
|
161
207
|
getCurrentCollectionFields: getCurrentCollectionFields,
|
|
162
208
|
getCollection: function getCollection(name) {
|
|
163
209
|
if (typeof name !== 'string') {
|
|
@@ -205,7 +205,7 @@ var m2m = {
|
|
|
205
205
|
'x-decorator': 'FormItem',
|
|
206
206
|
'x-component': 'Input',
|
|
207
207
|
'x-validator': 'uid',
|
|
208
|
-
'x-disabled': '{{ !createOnly }}'
|
|
208
|
+
'x-disabled': '{{ !createOnly||override }}'
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
},
|
|
@@ -238,7 +238,7 @@ var m2m = {
|
|
|
238
238
|
'x-decorator': 'FormItem',
|
|
239
239
|
'x-component': 'Input',
|
|
240
240
|
'x-validator': 'uid',
|
|
241
|
-
'x-disabled': '{{ !createOnly }}'
|
|
241
|
+
'x-disabled': '{{ !createOnly||override }}'
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
},
|
|
@@ -46,62 +46,6 @@ export declare const defaultProps: {
|
|
|
46
46
|
'x-validator': string;
|
|
47
47
|
description: string;
|
|
48
48
|
};
|
|
49
|
-
type: import("@formily/react").Stringify<{
|
|
50
|
-
[key: symbol]: any;
|
|
51
|
-
[key: `x-${string}`]: any;
|
|
52
|
-
[key: `x-${number}`]: any;
|
|
53
|
-
version?: string;
|
|
54
|
-
name?: import("@formily/react").SchemaKey;
|
|
55
|
-
title?: any;
|
|
56
|
-
description?: any;
|
|
57
|
-
default?: any;
|
|
58
|
-
readOnly?: boolean;
|
|
59
|
-
writeOnly?: boolean;
|
|
60
|
-
type?: import("@formily/react").SchemaTypes;
|
|
61
|
-
enum?: import("@formily/react").SchemaEnum<any>;
|
|
62
|
-
const?: any;
|
|
63
|
-
multipleOf?: number;
|
|
64
|
-
maximum?: number;
|
|
65
|
-
exclusiveMaximum?: number;
|
|
66
|
-
minimum?: number;
|
|
67
|
-
exclusiveMinimum?: number;
|
|
68
|
-
maxLength?: number;
|
|
69
|
-
minLength?: number;
|
|
70
|
-
pattern?: string | RegExp;
|
|
71
|
-
maxItems?: number;
|
|
72
|
-
minItems?: number;
|
|
73
|
-
uniqueItems?: boolean;
|
|
74
|
-
maxProperties?: number;
|
|
75
|
-
minProperties?: number;
|
|
76
|
-
required?: string | boolean | string[];
|
|
77
|
-
format?: string;
|
|
78
|
-
$ref?: string;
|
|
79
|
-
$namespace?: string;
|
|
80
|
-
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
81
|
-
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
82
|
-
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
83
|
-
additionalItems?: import("@formily/react").Stringify<any>;
|
|
84
|
-
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
85
|
-
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
86
|
-
"x-value"?: any;
|
|
87
|
-
"x-index"?: number;
|
|
88
|
-
"x-pattern"?: any;
|
|
89
|
-
"x-display"?: any;
|
|
90
|
-
"x-validator"?: any;
|
|
91
|
-
"x-decorator"?: any;
|
|
92
|
-
"x-decorator-props"?: any;
|
|
93
|
-
"x-component"?: any;
|
|
94
|
-
"x-component-props"?: any;
|
|
95
|
-
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
96
|
-
"x-content"?: any;
|
|
97
|
-
"x-data"?: any;
|
|
98
|
-
"x-visible"?: boolean;
|
|
99
|
-
"x-hidden"?: boolean;
|
|
100
|
-
"x-disabled"?: boolean;
|
|
101
|
-
"x-editable"?: boolean;
|
|
102
|
-
"x-read-only"?: boolean;
|
|
103
|
-
"x-read-pretty"?: boolean;
|
|
104
|
-
}>;
|
|
105
49
|
};
|
|
106
50
|
export declare const recordPickerSelector: ISchema;
|
|
107
51
|
export declare const recordPickerViewer: {
|
|
@@ -393,8 +393,7 @@ var defaultProps = {
|
|
|
393
393
|
'x-component': 'Input',
|
|
394
394
|
'x-validator': 'uid',
|
|
395
395
|
description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"
|
|
396
|
-
}
|
|
397
|
-
type: type
|
|
396
|
+
}
|
|
398
397
|
};
|
|
399
398
|
exports.defaultProps = defaultProps;
|
|
400
399
|
var recordPickerSelector = {
|
|
@@ -48,6 +48,6 @@ var calendar = {
|
|
|
48
48
|
availableFieldInterfaces: {
|
|
49
49
|
include: []
|
|
50
50
|
},
|
|
51
|
-
configurableProperties: (0, _properties.getConfigurableProperties)('title', 'name', 'inherits')
|
|
51
|
+
configurableProperties: (0, _properties.getConfigurableProperties)('title', 'name', 'inherits', 'category')
|
|
52
52
|
};
|
|
53
53
|
exports.calendar = calendar;
|
|
@@ -15,6 +15,6 @@ var general = {
|
|
|
15
15
|
default: {
|
|
16
16
|
fields: []
|
|
17
17
|
},
|
|
18
|
-
configurableProperties: (0, _properties.getConfigurableProperties)('title', 'name', 'inherits', 'moreOptions')
|
|
18
|
+
configurableProperties: (0, _properties.getConfigurableProperties)('title', 'name', 'inherits', 'category', 'moreOptions')
|
|
19
19
|
};
|
|
20
20
|
exports.general = general;
|
|
@@ -169,6 +169,17 @@ export declare const defaultConfigurableProperties: {
|
|
|
169
169
|
'x-visible': string;
|
|
170
170
|
'x-reactions': string[];
|
|
171
171
|
};
|
|
172
|
+
category: {
|
|
173
|
+
title: string;
|
|
174
|
+
type: string;
|
|
175
|
+
name: string;
|
|
176
|
+
'x-decorator': string;
|
|
177
|
+
'x-component': string;
|
|
178
|
+
'x-component-props': {
|
|
179
|
+
mode: string;
|
|
180
|
+
};
|
|
181
|
+
'x-reactions': string[];
|
|
182
|
+
};
|
|
172
183
|
};
|
|
173
|
-
export declare type DefaultConfigurableKeys = 'name' | 'title' | 'inherits' | 'autoGenId' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'sortable' | 'moreOptions';
|
|
184
|
+
export declare type DefaultConfigurableKeys = 'name' | 'title' | 'inherits' | 'category' | 'autoGenId' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'sortable' | 'moreOptions';
|
|
174
185
|
export declare const getConfigurableProperties: (...keys: DefaultConfigurableKeys[]) => {};
|
|
@@ -115,6 +115,17 @@ var defaultConfigurableProperties = _objectSpread(_objectSpread({
|
|
|
115
115
|
'x-disabled': '{{ !createOnly }}',
|
|
116
116
|
'x-visible': '{{ enableInherits}}',
|
|
117
117
|
'x-reactions': ['{{useAsyncDataSource(loadCollections)}}']
|
|
118
|
+
},
|
|
119
|
+
category: {
|
|
120
|
+
title: '{{t("Categories")}}',
|
|
121
|
+
type: 'hasMany',
|
|
122
|
+
name: 'category',
|
|
123
|
+
'x-decorator': 'FormItem',
|
|
124
|
+
'x-component': 'Select',
|
|
125
|
+
'x-component-props': {
|
|
126
|
+
mode: 'multiple'
|
|
127
|
+
},
|
|
128
|
+
'x-reactions': ['{{useAsyncDataSource(loadCategories)}}']
|
|
118
129
|
}
|
|
119
130
|
}, moreOptions), {}, {
|
|
120
131
|
moreOptions: {
|
package/lib/i18n/i18n.js
CHANGED
package/lib/locale/en_US.d.ts
CHANGED
|
@@ -34,6 +34,29 @@ declare const _default: {
|
|
|
34
34
|
"UI editor": string;
|
|
35
35
|
Collection: string;
|
|
36
36
|
"Collections & Fields": string;
|
|
37
|
+
"All collections": string;
|
|
38
|
+
"Add category": string;
|
|
39
|
+
"Delete category": string;
|
|
40
|
+
"Edit category": string;
|
|
41
|
+
"Collection category": string;
|
|
42
|
+
Sort: string;
|
|
43
|
+
Categories: string;
|
|
44
|
+
Visible: string;
|
|
45
|
+
"Read only": string;
|
|
46
|
+
"Easy reading": string;
|
|
47
|
+
Hidden: string;
|
|
48
|
+
"Hidden(reserved value)": string;
|
|
49
|
+
"Not required": string;
|
|
50
|
+
Value: string;
|
|
51
|
+
Disabled: string;
|
|
52
|
+
Enabled: string;
|
|
53
|
+
"Linkage rule": string;
|
|
54
|
+
"Linkage rules": string;
|
|
55
|
+
Condition: string;
|
|
56
|
+
Properties: string;
|
|
57
|
+
"Add linkage rule": string;
|
|
58
|
+
"Add property": string;
|
|
59
|
+
"Category name": string;
|
|
37
60
|
"Roles & Permissions": string;
|
|
38
61
|
"Edit profile": string;
|
|
39
62
|
"Change password": string;
|
package/lib/locale/en_US.js
CHANGED
|
@@ -40,6 +40,29 @@ var _default = {
|
|
|
40
40
|
"UI editor": "UI editor",
|
|
41
41
|
"Collection": "Collection",
|
|
42
42
|
"Collections & Fields": "Collections & Fields",
|
|
43
|
+
"All collections": "All collections",
|
|
44
|
+
"Add category": "Add category",
|
|
45
|
+
"Delete category": "Delete category",
|
|
46
|
+
"Edit category": "Edit category",
|
|
47
|
+
"Collection category": "Collection category",
|
|
48
|
+
"Sort": "Sort",
|
|
49
|
+
"Categories": "Categories",
|
|
50
|
+
"Visible": "Visible",
|
|
51
|
+
"Read only": "Read only",
|
|
52
|
+
"Easy reading": "Easy reading",
|
|
53
|
+
"Hidden": "Hidden",
|
|
54
|
+
"Hidden(reserved value)": "Hidden(reserved value)",
|
|
55
|
+
"Not required": "Not required",
|
|
56
|
+
"Value": "Value",
|
|
57
|
+
"Disabled": "Disabled",
|
|
58
|
+
"Enabled": "Enabled",
|
|
59
|
+
"Linkage rule": "Linkage rule",
|
|
60
|
+
"Linkage rules": "Linkage rules",
|
|
61
|
+
"Condition": "Condition",
|
|
62
|
+
"Properties": "Properties",
|
|
63
|
+
"Add linkage rule": "Add linkage rule",
|
|
64
|
+
"Add property": "Add property",
|
|
65
|
+
"Category name": "Category name",
|
|
43
66
|
"Roles & Permissions": "Roles & Permissions",
|
|
44
67
|
"Edit profile": "Edit profile",
|
|
45
68
|
"Change password": "Change password",
|
package/lib/locale/ja_JP.d.ts
CHANGED
|
@@ -34,6 +34,29 @@ declare const _default: {
|
|
|
34
34
|
"UI editor": string;
|
|
35
35
|
Collection: string;
|
|
36
36
|
"Collections & Fields": string;
|
|
37
|
+
"All collections": string;
|
|
38
|
+
"Add category": string;
|
|
39
|
+
"Edit category": string;
|
|
40
|
+
Sort: string;
|
|
41
|
+
Categories: string;
|
|
42
|
+
"Category name": string;
|
|
43
|
+
"Delete category": string;
|
|
44
|
+
"Collection category": string;
|
|
45
|
+
Visible: string;
|
|
46
|
+
"Read only": string;
|
|
47
|
+
"Easy reading": string;
|
|
48
|
+
Hidden: string;
|
|
49
|
+
"Hidden(reserved value)": string;
|
|
50
|
+
"Not required": string;
|
|
51
|
+
Value: string;
|
|
52
|
+
Disabled: string;
|
|
53
|
+
Enabled: string;
|
|
54
|
+
"Linkage rule": string;
|
|
55
|
+
"Linkage rules": string;
|
|
56
|
+
Condition: string;
|
|
57
|
+
Properties: string;
|
|
58
|
+
"Add linkage rule": string;
|
|
59
|
+
"Add property": string;
|
|
37
60
|
"Roles & Permissions": string;
|
|
38
61
|
"Edit profile": string;
|
|
39
62
|
"Change password": string;
|
package/lib/locale/ja_JP.js
CHANGED
|
@@ -40,6 +40,29 @@ var _default = {
|
|
|
40
40
|
"UI editor": "UI エディタ",
|
|
41
41
|
"Collection": "コレクション",
|
|
42
42
|
"Collections & Fields": "コレクションとフィールド",
|
|
43
|
+
"All collections": "すべてのデータテーブル",
|
|
44
|
+
"Add category": "分類の追加",
|
|
45
|
+
"Edit category": "分類の編集",
|
|
46
|
+
"Sort": "ソート#ソート#",
|
|
47
|
+
"Categories": "データテーブルカテゴリ",
|
|
48
|
+
"Category name": "分類名",
|
|
49
|
+
"Delete category": "分類の削除",
|
|
50
|
+
"Collection category": "Collection category",
|
|
51
|
+
"Visible": "表示",
|
|
52
|
+
"Read only": "読み取り専用(編集不可)",
|
|
53
|
+
"Easy reading": "読み取り専用(読取りモード)",
|
|
54
|
+
"Hidden": "非表示",
|
|
55
|
+
"Hidden(reserved value)": "非表示(値の保持)",
|
|
56
|
+
"Not required": "必須ではありません",
|
|
57
|
+
"Value": "フィールド値",
|
|
58
|
+
"Disabled": "無効化",
|
|
59
|
+
"Enabled": "有効化",
|
|
60
|
+
"Linkage rule": "連動規則",
|
|
61
|
+
"Linkage rules": "連動規則",
|
|
62
|
+
"Condition": "条件#ジョウケン#",
|
|
63
|
+
"Properties": "属性#ゾクセイ#",
|
|
64
|
+
"Add linkage rule": "連動規則の追加",
|
|
65
|
+
"Add property": "属性の追加",
|
|
43
66
|
"Roles & Permissions": "役割と権限",
|
|
44
67
|
"Edit profile": "プロフィール",
|
|
45
68
|
"Change password": "パスワード変更",
|
|
@@ -375,7 +398,7 @@ var _default = {
|
|
|
375
398
|
"Role UID": "役割ID",
|
|
376
399
|
"Precision": "精度",
|
|
377
400
|
"Formula mode": "数式モード",
|
|
378
|
-
"Expression": "
|
|
401
|
+
"Expression": "表达式",
|
|
379
402
|
"Input +, -, *, /, ( ) to calculate, input @ to open field variables.": "+、-、*、/、( ) で算術演算、@でフィールド変数を開くことができます。",
|
|
380
403
|
"Formula error.": "式の検証エラーです。",
|
|
381
404
|
"Accept": "ファイル形式",
|
package/lib/locale/ru_RU.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ declare const _default: {
|
|
|
107
107
|
"Create collection": string;
|
|
108
108
|
"Collection display name": string;
|
|
109
109
|
"Collection name": string;
|
|
110
|
+
Categories: string;
|
|
110
111
|
"Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.": string;
|
|
111
112
|
"Storage type": string;
|
|
112
113
|
Edit: string;
|
package/lib/locale/ru_RU.js
CHANGED
|
@@ -113,6 +113,7 @@ var _default = {
|
|
|
113
113
|
"Create collection": "Создать Коллекцию",
|
|
114
114
|
"Collection display name": "Отображение имени Коллекции",
|
|
115
115
|
"Collection name": "Имя Коллекции",
|
|
116
|
+
"Categories": "Категории таблиц данных",
|
|
116
117
|
"Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.": "Случайно сгенерированный и может быть изменен. Поддерживает буквы, цифры и подчеркивания, должно начинаться с буквы.",
|
|
117
118
|
"Storage type": "Тип Хранилища",
|
|
118
119
|
"Edit": "Изменить",
|
package/lib/locale/zh_CN.d.ts
CHANGED
|
@@ -34,6 +34,30 @@ declare const _default: {
|
|
|
34
34
|
"UI editor": string;
|
|
35
35
|
Collection: string;
|
|
36
36
|
"Collections & Fields": string;
|
|
37
|
+
"All collections": string;
|
|
38
|
+
"Add category": string;
|
|
39
|
+
"Delete category": string;
|
|
40
|
+
"Edit category": string;
|
|
41
|
+
"Collection category": string;
|
|
42
|
+
Visible: string;
|
|
43
|
+
"Read only": string;
|
|
44
|
+
"Easy reading": string;
|
|
45
|
+
Hidden: string;
|
|
46
|
+
"Hidden(reserved value)": string;
|
|
47
|
+
"Not required": string;
|
|
48
|
+
Value: string;
|
|
49
|
+
Disabled: string;
|
|
50
|
+
Enabled: string;
|
|
51
|
+
"Linkage rule": string;
|
|
52
|
+
"Linkage rules": string;
|
|
53
|
+
Condition: string;
|
|
54
|
+
Properties: string;
|
|
55
|
+
"Add linkage rule": string;
|
|
56
|
+
"Add property": string;
|
|
57
|
+
Expression: string;
|
|
58
|
+
Sort: string;
|
|
59
|
+
Categories: string;
|
|
60
|
+
"Category name": string;
|
|
37
61
|
"Roles & Permissions": string;
|
|
38
62
|
"Edit profile": string;
|
|
39
63
|
"Change password": string;
|
|
@@ -127,6 +151,7 @@ declare const _default: {
|
|
|
127
151
|
"General collection": string;
|
|
128
152
|
"Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.": string;
|
|
129
153
|
"Storage type": string;
|
|
154
|
+
"Types will be used in database": string;
|
|
130
155
|
Edit: string;
|
|
131
156
|
"Edit collection": string;
|
|
132
157
|
"Configure fields": string;
|
|
@@ -146,15 +171,22 @@ declare const _default: {
|
|
|
146
171
|
"Long text": string;
|
|
147
172
|
Phone: string;
|
|
148
173
|
Email: string;
|
|
174
|
+
Null: string;
|
|
175
|
+
Boolean: string;
|
|
149
176
|
Number: string;
|
|
150
177
|
Integer: string;
|
|
151
178
|
Percent: string;
|
|
179
|
+
String: string;
|
|
152
180
|
Password: string;
|
|
153
181
|
"Advanced type": string;
|
|
154
182
|
Formula: string;
|
|
155
183
|
"Formula description": string;
|
|
184
|
+
"Syntax references": string;
|
|
185
|
+
"Math.js comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types": string;
|
|
186
|
+
"Formula.js supports most Microsoft Excel formula functions.": string;
|
|
156
187
|
Choices: string;
|
|
157
188
|
Checkbox: string;
|
|
189
|
+
"Display <icon></icon> when unchecked": string;
|
|
158
190
|
"Single select": string;
|
|
159
191
|
"Multiple select": string;
|
|
160
192
|
"Radio group": string;
|
|
@@ -435,10 +467,6 @@ declare const _default: {
|
|
|
435
467
|
'\u2264': string;
|
|
436
468
|
'Role UID': string;
|
|
437
469
|
Precision: string;
|
|
438
|
-
'Formula mode': string;
|
|
439
|
-
Expression: string;
|
|
440
|
-
'Input +, -, *, /, ( ) to calculate, input @ to open field variables.': string;
|
|
441
|
-
'Formula error.': string;
|
|
442
470
|
Accept: string;
|
|
443
471
|
'Rich Text': string;
|
|
444
472
|
'Junction collection': string;
|
|
@@ -593,5 +621,16 @@ declare const _default: {
|
|
|
593
621
|
'Fix block': string;
|
|
594
622
|
'Plugin name': string;
|
|
595
623
|
'Plugin tab name': string;
|
|
624
|
+
'Enable page header': string;
|
|
625
|
+
'Display page title': string;
|
|
626
|
+
'Edit page title': string;
|
|
627
|
+
'Enable page tabs': string;
|
|
628
|
+
'Column width': string;
|
|
629
|
+
Sortable: string;
|
|
630
|
+
Constant: string;
|
|
631
|
+
'Use variable': string;
|
|
632
|
+
True: string;
|
|
633
|
+
False: string;
|
|
634
|
+
Prettify: string;
|
|
596
635
|
};
|
|
597
636
|
export default _default;
|