@tachybase/client 1.3.21 → 1.3.22
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/api-client/APIClient.d.ts +1 -1
- package/es/api-client/APIClient.mjs +1 -1
- package/es/api-client/hooks/assign.mjs +1 -1
- package/es/api-client/hooks/useResource.d.ts +1 -1
- package/es/application/Application.d.ts +1 -2
- package/es/application/Application.mjs +1 -2
- package/es/application/WebSocketClient.mjs +1 -1
- package/es/application/utils/globalDeps.d.ts +1 -1
- package/es/application/utils/globalDeps.mjs +3 -11
- package/es/application/utils/remotePlugins.d.ts +1 -1
- package/es/block-provider/FormFieldProvider.mjs +1 -1
- package/es/block-provider/hooks/index.mjs +1 -1
- package/es/block-provider/hooks/useParsedFilter.mjs +1 -1
- package/es/built-in/acl/Configuration/RolesResourcesActions.mjs +1 -1
- package/es/built-in/context-menu/ContextMenuItemsProps.mjs +1 -1
- package/es/built-in/index.mjs +1 -1
- package/es/built-in/page-style/useTabSettings.mjs +3 -3
- package/es/built-in/pm/PluginManager.mjs +1 -1
- package/es/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +1 -1
- package/es/collection-manager/Configuration/AddCollectionAction.mjs +1 -1
- package/es/collection-manager/Configuration/AddFieldAction.mjs +1 -1
- package/es/collection-manager/Configuration/AddSubFieldAction.mjs +1 -1
- package/es/collection-manager/Configuration/EditCollectionAction.mjs +1 -1
- package/es/collection-manager/Configuration/EditFieldAction.mjs +1 -1
- package/es/collection-manager/Configuration/EditSubFieldAction.mjs +1 -1
- package/es/collection-manager/Configuration/ImportXlsx/xlsxImportAction.mjs +1 -1
- package/es/collection-manager/Configuration/OverridingCollectionField.mjs +1 -1
- package/es/collection-manager/Configuration/SyncFieldsAction.mjs +1 -1
- package/es/collection-manager/Configuration/SyncSQLFieldsAction.mjs +1 -1
- package/es/collection-manager/Configuration/ViewInheritedField.mjs +1 -1
- package/es/collection-manager/hooks/useCollection_deprecated.d.ts +1 -1
- package/es/collection-manager/interfaces/json.mjs +1 -1
- package/es/collection-manager/interfaces/radioGroup.d.ts +11 -11
- package/es/collection-manager/templates/expression.mjs +1 -1
- package/es/collection-manager/templates/properties/index.d.ts +1 -1
- package/es/data-source/data-block/DataBlockResourceProvider.d.ts +1 -1
- package/es/filter-provider/utils.mjs +1 -1
- package/es/modules/actions/link/customizeLinkActionSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/form/FormBlockInitializer.d.ts +11 -11
- package/es/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +1 -1
- package/es/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/list/listBlockSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/table/tableBlockSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +1 -1
- package/es/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +1 -1
- package/es/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +1 -1
- package/es/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +1 -1
- package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.d.ts +1 -1
- package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +1 -1
- package/es/modules/menu/GroupItem.mjs +1 -1
- package/es/modules/menu/LinkMenuItem.mjs +1 -1
- package/es/modules/menu/PageMenuItem.mjs +1 -1
- package/es/modules/menu/UploadMenuItem.mjs +1 -1
- package/es/schema-component/antd/action/Action.Designer.mjs +1 -1
- package/es/schema-component/antd/action/Action.mjs +1 -1
- package/es/schema-component/antd/association-field/InternalCascadeSelect.mjs +1 -1
- package/es/schema-component/antd/association-field/InternalCascader.mjs +1 -2
- package/es/schema-component/antd/association-field/InternalNester.mjs +1 -1
- package/es/schema-component/antd/association-field/InternalSubTable.mjs +1 -1
- package/es/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +1 -1
- package/es/schema-component/antd/association-field/SubTabs/hook.mjs +1 -1
- package/es/schema-component/antd/association-field/hooks.mjs +1 -1
- package/es/schema-component/antd/association-field/util.mjs +1 -1
- package/es/schema-component/antd/association-select/AssociationSelect.mjs +2 -2
- package/es/schema-component/antd/auto-complete/AutoComplete.mjs +1 -1
- package/es/schema-component/antd/color-picker/ColorPicker.mjs +1 -1
- package/es/schema-component/antd/color-picker/util.d.ts +1 -1
- package/es/schema-component/antd/color-picker/util.mjs +1 -1
- package/es/schema-component/antd/cron/Cron.mjs +1 -1
- package/es/schema-component/antd/date-picker/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/date-picker/util.d.ts +1 -1
- package/es/schema-component/antd/date-picker/util.mjs +1 -1
- package/es/schema-component/antd/filter/FilterAction.mjs +1 -1
- package/es/schema-component/antd/form/Form.mjs +1 -1
- package/es/schema-component/antd/form-item/FormItem.Settings.mjs +1 -1
- package/es/schema-component/antd/form-item/FormItem.mjs +1 -1
- package/es/schema-component/antd/form-item/SchemaSettingOptions.mjs +1 -1
- package/es/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +1 -1
- package/es/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +1 -1
- package/es/schema-component/antd/form-v2/Form.Settings.mjs +1 -1
- package/es/schema-component/antd/form-v2/Form.mjs +1 -2
- package/es/schema-component/antd/form-v2/Templates.mjs +1 -1
- package/es/schema-component/antd/form-v2/utils.mjs +1 -2
- package/es/schema-component/antd/grid-card/GridCard.Decorator.mjs +1 -1
- package/es/schema-component/antd/grid-card/GridCard.Designer.mjs +1 -1
- package/es/schema-component/antd/icon-picker/IconPicker.mjs +1 -1
- package/es/schema-component/antd/index.d.ts +0 -1
- package/es/schema-component/antd/index.mjs +1 -2
- package/es/schema-component/antd/input/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/input-number/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/list/List.Decorator.mjs +1 -1
- package/es/schema-component/antd/list/List.Designer.mjs +1 -1
- package/es/schema-component/antd/menu/Menu.Designer.mjs +1 -1
- package/es/schema-component/antd/menu/Menu.mjs +1 -1
- package/es/schema-component/antd/page/Page.mjs +1 -1
- package/es/schema-component/antd/preview/Preview.mjs +1 -1
- package/es/schema-component/antd/quick-edit/QuickEdit.mjs +1 -1
- package/es/schema-component/antd/record-picker/util.mjs +1 -1
- package/es/schema-component/antd/select/FormulaSelect.mjs +1 -1
- package/es/schema-component/antd/select/ReadPretty.mjs +2 -2
- package/es/schema-component/antd/select/Select.mjs +1 -1
- package/es/schema-component/antd/select/utils.mjs +2 -2
- package/es/schema-component/antd/space/index.mjs +1 -1
- package/es/schema-component/antd/table/Table.Void.Designer.mjs +1 -1
- package/es/schema-component/antd/table-v2/Table.mjs +1 -1
- package/es/schema-component/antd/table-v2/TableBlockDesigner.mjs +1 -1
- package/es/schema-component/antd/table-v2/TableSelectorDesigner.mjs +1 -1
- package/es/schema-component/antd/time-picker/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/time-picker/TimePicker.mjs +1 -1
- package/es/schema-component/antd/tree-select/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/upload/ReadPretty.mjs +1 -2
- package/es/schema-component/antd/upload/Upload.mjs +1 -1
- package/es/schema-component/antd/variable/CodeMirror.mjs +1 -1
- package/es/schema-component/antd/variable/Input.mjs +1 -1
- package/es/schema-component/antd/variable/TextArea.mjs +1 -1
- package/es/schema-component/common/infinite-scroll/infinite-scroll.mjs +1 -1
- package/es/schema-initializer/items/CustomFilterFormItemInitializer.mjs +2 -2
- package/es/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +1 -1
- package/es/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +1 -1
- package/es/schema-settings/DataTemplates/components/Designer.mjs +1 -1
- package/es/schema-settings/DataTemplates/utils.mjs +1 -1
- package/es/schema-settings/LinkageRules/LinkageRuleAction.mjs +1 -1
- package/es/schema-settings/LinkageRules/components/EnableLinkage.mjs +1 -1
- package/es/schema-settings/LinkageRules/components/LinkageHeader.mjs +1 -1
- package/es/schema-settings/SchemaSettings.mjs +2 -3
- package/es/schema-settings/SchemaSettingsDefaultValue.mjs +1 -1
- package/es/schema-settings/SchemaSettingsSortingRule.mjs +1 -1
- package/es/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +1 -1
- package/es/schema-settings/filter-form/FormFilterScope.mjs +1 -1
- package/es/schema-settings/hooks/useParseDataScopeFilter.mjs +1 -1
- package/es/user/ChangePassword.mjs +2 -2
- package/es/user/CurrentUser.mjs +1 -1
- package/es/user/CurrentUserSettingsMenuProvider.mjs +1 -1
- package/es/variables/VariablesProvider.mjs +2 -2
- package/es/variables/hooks/useBuiltinVariables.mjs +1 -1
- package/lib/api-client/APIClient.js +2 -2
- package/lib/api-client/hooks/assign.js +1 -1
- package/lib/application/Application.js +6 -7
- package/lib/application/WebSocketClient.js +2 -2
- package/lib/application/utils/globalDeps.js +3 -11
- package/lib/block-provider/FormFieldProvider.js +1 -1
- package/lib/block-provider/hooks/index.js +13 -13
- package/lib/block-provider/hooks/useParsedFilter.js +1 -1
- package/lib/built-in/acl/Configuration/RolesResourcesActions.js +4 -4
- package/lib/built-in/context-menu/ContextMenuItemsProps.js +1 -1
- package/lib/built-in/index.js +12 -12
- package/lib/built-in/page-style/useTabSettings.js +3 -3
- package/lib/built-in/pm/PluginManager.js +1 -1
- package/lib/built-in/quick-access/ModalActionSchemaInitializerItem.js +1 -1
- package/lib/collection-manager/Configuration/AddCollectionAction.js +2 -2
- package/lib/collection-manager/Configuration/AddFieldAction.js +2 -2
- package/lib/collection-manager/Configuration/AddSubFieldAction.js +2 -2
- package/lib/collection-manager/Configuration/EditCollectionAction.js +2 -2
- package/lib/collection-manager/Configuration/EditFieldAction.js +2 -2
- package/lib/collection-manager/Configuration/EditSubFieldAction.js +2 -2
- package/lib/collection-manager/Configuration/ImportXlsx/xlsxImportAction.js +2 -2
- package/lib/collection-manager/Configuration/OverridingCollectionField.js +2 -2
- package/lib/collection-manager/Configuration/SyncFieldsAction.js +2 -2
- package/lib/collection-manager/Configuration/SyncSQLFieldsAction.js +2 -2
- package/lib/collection-manager/Configuration/ViewInheritedField.js +2 -2
- package/lib/collection-manager/interfaces/json.js +3 -3
- package/lib/collection-manager/templates/expression.js +1 -1
- package/lib/filter-provider/utils.js +1 -1
- package/lib/modules/actions/link/customizeLinkActionSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/form/fieldSettingsFormItem.js +3 -3
- package/lib/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/list/listBlockSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/table/tableBlockSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.js +2 -2
- package/lib/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.js +3 -3
- package/lib/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.js +3 -3
- package/lib/modules/fields/component/Cascader/cascaderComponentFieldSettings.js +2 -2
- package/lib/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.js +3 -3
- package/lib/modules/menu/GroupItem.js +2 -2
- package/lib/modules/menu/LinkMenuItem.js +2 -2
- package/lib/modules/menu/PageMenuItem.js +2 -2
- package/lib/modules/menu/UploadMenuItem.js +2 -2
- package/lib/schema-component/antd/action/Action.Designer.js +3 -3
- package/lib/schema-component/antd/action/Action.js +1 -1
- package/lib/schema-component/antd/association-field/InternalCascadeSelect.js +4 -4
- package/lib/schema-component/antd/association-field/InternalCascader.js +4 -5
- package/lib/schema-component/antd/association-field/InternalNester.js +2 -2
- package/lib/schema-component/antd/association-field/InternalSubTable.js +2 -2
- package/lib/schema-component/antd/association-field/SubTabs/InternalCollapse.js +1 -1
- package/lib/schema-component/antd/association-field/SubTabs/hook.js +1 -1
- package/lib/schema-component/antd/association-field/hooks.js +1 -1
- package/lib/schema-component/antd/association-field/util.js +1 -1
- package/lib/schema-component/antd/association-select/AssociationSelect.js +12 -12
- package/lib/schema-component/antd/auto-complete/AutoComplete.js +1 -1
- package/lib/schema-component/antd/color-picker/ColorPicker.js +2 -2
- package/lib/schema-component/antd/color-picker/util.js +1 -1
- package/lib/schema-component/antd/cron/Cron.js +1 -1
- package/lib/schema-component/antd/date-picker/ReadPretty.js +1 -1
- package/lib/schema-component/antd/date-picker/util.js +1 -1
- package/lib/schema-component/antd/filter/FilterAction.js +1 -1
- package/lib/schema-component/antd/form/Form.js +3 -3
- package/lib/schema-component/antd/form-item/FormItem.Settings.js +3 -3
- package/lib/schema-component/antd/form-item/FormItem.js +2 -2
- package/lib/schema-component/antd/form-item/SchemaSettingOptions.js +5 -5
- package/lib/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.js +1 -1
- package/lib/schema-component/antd/form-item/hooks/useParseDefaultValue.js +1 -1
- package/lib/schema-component/antd/form-v2/Form.Settings.js +2 -2
- package/lib/schema-component/antd/form-v2/Form.js +3 -4
- package/lib/schema-component/antd/form-v2/Templates.js +1 -1
- package/lib/schema-component/antd/form-v2/utils.js +2 -3
- package/lib/schema-component/antd/grid-card/GridCard.Decorator.js +2 -2
- package/lib/schema-component/antd/grid-card/GridCard.Designer.js +2 -2
- package/lib/schema-component/antd/icon-picker/IconPicker.js +2 -2
- package/lib/schema-component/antd/index.js +120 -187
- package/lib/schema-component/antd/input/ReadPretty.js +6 -6
- package/lib/schema-component/antd/input-number/ReadPretty.js +1 -1
- package/lib/schema-component/antd/list/List.Decorator.js +2 -2
- package/lib/schema-component/antd/list/List.Designer.js +2 -2
- package/lib/schema-component/antd/menu/Menu.Designer.js +2 -2
- package/lib/schema-component/antd/menu/Menu.js +1 -1
- package/lib/schema-component/antd/page/Page.js +2 -2
- package/lib/schema-component/antd/preview/Preview.js +2 -2
- package/lib/schema-component/antd/quick-edit/QuickEdit.js +3 -3
- package/lib/schema-component/antd/record-picker/util.js +1 -1
- package/lib/schema-component/antd/select/FormulaSelect.js +1 -1
- package/lib/schema-component/antd/select/ReadPretty.js +2 -2
- package/lib/schema-component/antd/select/Select.js +1 -1
- package/lib/schema-component/antd/select/utils.js +2 -2
- package/lib/schema-component/antd/space/index.js +2 -2
- package/lib/schema-component/antd/table/Table.Void.Designer.js +2 -2
- package/lib/schema-component/antd/table-v2/Table.js +1 -1
- package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +2 -2
- package/lib/schema-component/antd/table-v2/TableSelectorDesigner.js +2 -2
- package/lib/schema-component/antd/time-picker/ReadPretty.js +2 -2
- package/lib/schema-component/antd/time-picker/TimePicker.js +3 -3
- package/lib/schema-component/antd/tree-select/ReadPretty.js +2 -2
- package/lib/schema-component/antd/upload/ReadPretty.js +2 -3
- package/lib/schema-component/antd/upload/Upload.js +2 -2
- package/lib/schema-component/antd/variable/CodeMirror.js +2 -2
- package/lib/schema-component/antd/variable/Input.js +1 -1
- package/lib/schema-component/antd/variable/TextArea.js +1 -1
- package/lib/schema-component/common/infinite-scroll/infinite-scroll.js +1 -1
- package/lib/schema-initializer/items/CustomFilterFormItemInitializer.js +4 -4
- package/lib/schema-settings/DataTemplates/components/AsDefaultTemplate.js +3 -3
- package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.js +10 -10
- package/lib/schema-settings/DataTemplates/components/Designer.js +1 -1
- package/lib/schema-settings/DataTemplates/utils.js +4 -4
- package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +2 -2
- package/lib/schema-settings/LinkageRules/components/EnableLinkage.js +3 -3
- package/lib/schema-settings/LinkageRules/components/LinkageHeader.js +10 -10
- package/lib/schema-settings/SchemaSettings.js +17 -18
- package/lib/schema-settings/SchemaSettingsDefaultValue.js +3 -3
- package/lib/schema-settings/SchemaSettingsSortingRule.js +2 -2
- package/lib/schema-settings/VariableInput/hooks/useContextAssociationFields.js +1 -1
- package/lib/schema-settings/filter-form/FormFilterScope.js +2 -2
- package/lib/schema-settings/hooks/useParseDataScopeFilter.js +1 -1
- package/lib/user/ChangePassword.js +2 -2
- package/lib/user/CurrentUser.js +1 -1
- package/lib/user/CurrentUserSettingsMenuProvider.js +1 -1
- package/lib/variables/VariablesProvider.js +2 -2
- package/lib/variables/hooks/useBuiltinVariables.js +1 -1
- package/package.json +9 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIClient as APIClientSDK } from '@
|
|
1
|
+
import { APIClient as APIClientSDK } from '@tego/client';
|
|
2
2
|
import { Result } from 'ahooks/es/useRequest/src/types';
|
|
3
3
|
import { Application } from '../application';
|
|
4
4
|
export declare class APIClient extends APIClientSDK {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import react from "react";
|
|
2
|
-
import { APIClient } from "@
|
|
2
|
+
import { APIClient } from "@tego/client";
|
|
3
3
|
import { notification as external_antd_notification } from "antd";
|
|
4
4
|
function _define_property(obj, key, value) {
|
|
5
5
|
if (key in obj) Object.defineProperty(obj, key, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useResource(name: string, of?: string | number): import("
|
|
1
|
+
export declare function useResource(name: string, of?: string | number): import("@tego/client").IResource;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { ComponentType, ReactElement } from 'react';
|
|
2
|
-
import { type RequireJS } from '@
|
|
3
|
-
import { APIClientOptions } from '@tachybase/sdk';
|
|
2
|
+
import { APIClientOptions, type RequireJS } from '@tego/client';
|
|
4
3
|
import { i18n as i18next } from 'i18next';
|
|
5
4
|
import { APIClient } from '../api-client';
|
|
6
5
|
import { CollectionFieldInterfaceComponentOption } from '../data-source';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import react from "react";
|
|
3
|
-
import { getRequireJs } from "@tachybase/requirejs";
|
|
4
3
|
import { define as schema_define, observable } from "@tachybase/schema";
|
|
5
|
-
import { getSubAppName } from "@
|
|
4
|
+
import { getRequireJs, getSubAppName } from "@tego/client";
|
|
6
5
|
import { get, merge, set } from "lodash";
|
|
7
6
|
import { createRoot } from "react-dom/client";
|
|
8
7
|
import { I18nextProvider } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { define as schema_define, observable } from "@tachybase/schema";
|
|
2
|
-
import { getSubAppName } from "@
|
|
2
|
+
import { getSubAppName } from "@tego/client";
|
|
3
3
|
function _define_property(obj, key, value) {
|
|
4
4
|
if (key in obj) Object.defineProperty(obj, key, {
|
|
5
5
|
value: value,
|
|
@@ -4,19 +4,15 @@ import lodash from "lodash";
|
|
|
4
4
|
import react_dom from "react-dom";
|
|
5
5
|
import jsx_runtime from "react/jsx-runtime";
|
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE_react_i18next_05dede28__ from "react-i18next";
|
|
7
|
-
import * as
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__tego_client_7f3175c1__ from "@tego/client";
|
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_antd__ from "antd";
|
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_ahooks__ from "ahooks";
|
|
10
|
-
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_requirejs_6fa54ff5__ from "@tachybase/requirejs";
|
|
11
10
|
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema_532e17e1__ from "@tachybase/schema";
|
|
12
11
|
import * as __WEBPACK_EXTERNAL_MODULE_react_router_dom_5358f3fe__ from "react-router-dom";
|
|
13
12
|
import * as __WEBPACK_EXTERNAL_MODULE_antd_style_1dcbd21e__ from "antd-style";
|
|
14
|
-
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client_603f4a44__ from "@tachybase/utils/client";
|
|
15
13
|
import * as __WEBPACK_EXTERNAL_MODULE__ant_design_icons_a8184985__ from "@ant-design/icons";
|
|
16
14
|
import * as __WEBPACK_EXTERNAL_MODULE__emotion_css_bfcd1b5d__ from "@emotion/css";
|
|
17
15
|
import * as __WEBPACK_EXTERNAL_MODULE_i18next__ from "i18next";
|
|
18
|
-
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_components_8f070c76__ from "@tachybase/components";
|
|
19
|
-
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_evaluators_client_f0da03e4__ from "@tachybase/evaluators/client";
|
|
20
16
|
import * as __WEBPACK_EXTERNAL_MODULE__ant_design_cssinjs_c619260f__ from "@ant-design/cssinjs";
|
|
21
17
|
import * as __WEBPACK_EXTERNAL_MODULE__dnd_kit_accessibility_682092eb__ from "@dnd-kit/accessibility";
|
|
22
18
|
import * as __WEBPACK_EXTERNAL_MODULE__dnd_kit_core_a545325d__ from "@dnd-kit/core";
|
|
@@ -38,20 +34,16 @@ function defineGlobalDeps(requirejs) {
|
|
|
38
34
|
requirejs.define('@ant-design/cssinjs', ()=>__WEBPACK_EXTERNAL_MODULE__ant_design_cssinjs_c619260f__);
|
|
39
35
|
requirejs.define('i18next', ()=>__WEBPACK_EXTERNAL_MODULE_i18next__);
|
|
40
36
|
requirejs.define('react-i18next', ()=>__WEBPACK_EXTERNAL_MODULE_react_i18next_05dede28__);
|
|
41
|
-
requirejs.define('@
|
|
37
|
+
requirejs.define('@tego/client', ()=>__WEBPACK_EXTERNAL_MODULE__tego_client_7f3175c1__);
|
|
42
38
|
requirejs.define('@tachybase/client', ()=>__WEBPACK_EXTERNAL_MODULE__index_mjs_52ce5380__);
|
|
43
|
-
requirejs.define('@tachybase/evaluators/client', ()=>__WEBPACK_EXTERNAL_MODULE__tachybase_evaluators_client_f0da03e4__);
|
|
44
|
-
requirejs.define('@tachybase/sdk', ()=>__WEBPACK_EXTERNAL_MODULE__tachybase_sdk_f769e039__);
|
|
45
39
|
requirejs.define('@tachybase/schema', ()=>__WEBPACK_EXTERNAL_MODULE__tachybase_schema_532e17e1__);
|
|
46
|
-
requirejs.define('@tachybase/requirejs', ()=>__WEBPACK_EXTERNAL_MODULE__tachybase_requirejs_6fa54ff5__);
|
|
47
|
-
requirejs.define('@tachybase/components', ()=>__WEBPACK_EXTERNAL_MODULE__tachybase_components_8f070c76__);
|
|
48
40
|
requirejs.define('@dnd-kit/accessibility', ()=>__WEBPACK_EXTERNAL_MODULE__dnd_kit_accessibility_682092eb__);
|
|
49
41
|
requirejs.define('@dnd-kit/core', ()=>__WEBPACK_EXTERNAL_MODULE__dnd_kit_core_a545325d__);
|
|
50
42
|
requirejs.define('@dnd-kit/modifiers', ()=>__WEBPACK_EXTERNAL_MODULE__dnd_kit_modifiers_69ce91a8__);
|
|
51
43
|
requirejs.define('@dnd-kit/sortable', ()=>__WEBPACK_EXTERNAL_MODULE__dnd_kit_sortable_a8361dd8__);
|
|
52
44
|
requirejs.define('@dnd-kit/utilities', ()=>__WEBPACK_EXTERNAL_MODULE__dnd_kit_utilities_3c8eb4c2__);
|
|
53
45
|
requirejs.define('axios', ()=>axios);
|
|
54
|
-
requirejs.define('dayjs', ()=>
|
|
46
|
+
requirejs.define('dayjs', ()=>__WEBPACK_EXTERNAL_MODULE__tego_client_7f3175c1__.dayjs);
|
|
55
47
|
requirejs.define('lodash', ()=>lodash);
|
|
56
48
|
requirejs.define('ahooks', ()=>__WEBPACK_EXTERNAL_MODULE_ahooks__);
|
|
57
49
|
requirejs.define('@emotion/css', ()=>__WEBPACK_EXTERNAL_MODULE__emotion_css_bfcd1b5d__);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useContext, useEffect, useMemo } from "react";
|
|
3
3
|
import { autorun, createForm, onFormValuesChange, useField } from "@tachybase/schema";
|
|
4
|
-
import { forEach } from "@
|
|
4
|
+
import { forEach } from "@tego/client";
|
|
5
5
|
import { Spin } from "antd";
|
|
6
6
|
import { useCollectionParentRecordData } from "../data-source/collection-record/CollectionRecordProvider.mjs";
|
|
7
7
|
import { RecordProvider } from "../record-provider/index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback, useEffect } from "react";
|
|
2
2
|
import { untracked, useField, useFieldSchema, useForm } from "@tachybase/schema";
|
|
3
|
-
import { isURL, parse } from "@
|
|
3
|
+
import { isURL, parse } from "@tego/client";
|
|
4
4
|
import { App } from "antd";
|
|
5
5
|
import flat from "flat";
|
|
6
6
|
import lodash from "lodash";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
2
|
import { reaction } from "@tachybase/schema";
|
|
3
|
-
import { flatten, getValuesByPath } from "@
|
|
3
|
+
import { flatten, getValuesByPath } from "@tego/client";
|
|
4
4
|
import { useDeepCompareEffect } from "ahooks";
|
|
5
5
|
import lodash from "lodash";
|
|
6
6
|
import { useParseDataScopeFilter } from "../../schema-settings/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { createContext } from "react";
|
|
3
|
-
import { FormItem, FormLayout } from "@tachybase/components";
|
|
4
3
|
import { connect, useField, useForm } from "@tachybase/schema";
|
|
4
|
+
import { FormItem, FormLayout } from "@tego/client";
|
|
5
5
|
import { Checkbox, Table, Tag } from "antd";
|
|
6
6
|
import { isEmpty } from "lodash";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
package/es/built-in/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { observer } from "@tachybase/schema";
|
|
3
|
-
import { getSubAppName } from "@tachybase/sdk";
|
|
4
3
|
import { DisconnectOutlined, LoadingOutlined } from "@ant-design/icons";
|
|
5
4
|
import { css as css_css } from "@emotion/css";
|
|
6
5
|
import { DotLottieReact } from "@lottiefiles/dotlottie-react";
|
|
6
|
+
import { getSubAppName } from "@tego/client";
|
|
7
7
|
import { Button, Result } from "antd";
|
|
8
8
|
import { createStyles } from "antd-style";
|
|
9
9
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback } from "react";
|
|
3
|
-
import { error } from "@
|
|
3
|
+
import { error } from "@tego/client";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useAPIClient } from "../../api-client/index.mjs";
|
|
6
6
|
import { SelectWithTitle } from "../../common/index.mjs";
|
|
@@ -41,7 +41,7 @@ function useUpdatePageStyleSettings() {
|
|
|
41
41
|
await api.resource('users').updateProfile({
|
|
42
42
|
values: {
|
|
43
43
|
systemSettings: {
|
|
44
|
-
...currentUser.data.data.systemSettings
|
|
44
|
+
...currentUser.data.data.systemSettings,
|
|
45
45
|
pageStyle
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -50,7 +50,7 @@ function useUpdatePageStyleSettings() {
|
|
|
50
50
|
data: {
|
|
51
51
|
...currentUser.data.data,
|
|
52
52
|
systemSettings: {
|
|
53
|
-
...currentUser.data.data.systemSettings
|
|
53
|
+
...currentUser.data.data.systemSettings,
|
|
54
54
|
pageStyle
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
|
-
import { fuzzysearch } from "@
|
|
3
|
+
import { fuzzysearch } from "@tego/client";
|
|
4
4
|
import { useDebounce } from "ahooks";
|
|
5
5
|
import { Button, Card, Form, Input, Radio, Result, Select, Space, Spin, Table, Tag, Typography } from "antd";
|
|
6
6
|
import lodash from "lodash";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
3
|
import { useForm } from "@tachybase/schema";
|
|
4
|
-
import { uid } from "@
|
|
4
|
+
import { uid } from "@tego/client";
|
|
5
5
|
import { SchemaInitializerItem, useSchemaInitializer } from "../../application/index.mjs";
|
|
6
6
|
import { Action, ActionContextProvider, SchemaComponent } from "../../schema-component/index.mjs";
|
|
7
7
|
function ModalActionSchemaInitializerItem(props) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useRef, useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid, useField, useForm } from "@tachybase/schema";
|
|
5
4
|
import { DownOutlined, PlusOutlined } from "@ant-design/icons";
|
|
5
|
+
import { ArrayTable } from "@tego/client";
|
|
6
6
|
import { Button, Dropdown } from "antd";
|
|
7
7
|
import { cloneDeep } from "lodash";
|
|
8
8
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useMemo, useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid, useField, useForm } from "@tachybase/schema";
|
|
5
4
|
import { PlusOutlined } from "@ant-design/icons";
|
|
5
|
+
import { ArrayTable } from "@tego/client";
|
|
6
6
|
import { Button, Dropdown } from "antd";
|
|
7
7
|
import { cloneDeep } from "lodash";
|
|
8
8
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid } from "@tachybase/schema";
|
|
5
4
|
import { PlusOutlined } from "@ant-design/icons";
|
|
5
|
+
import { ArrayTable } from "@tego/client";
|
|
6
6
|
import { Button, Dropdown } from "antd";
|
|
7
7
|
import { cloneDeep } from "lodash";
|
|
8
8
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid, useForm } from "@tachybase/schema";
|
|
4
|
+
import { ArrayTable } from "@tego/client";
|
|
5
5
|
import cloneDeep from "lodash/cloneDeep";
|
|
6
6
|
import omit from "lodash/omit";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid, useForm } from "@tachybase/schema";
|
|
4
|
+
import { ArrayTable } from "@tego/client";
|
|
5
5
|
import cloneDeep from "lodash/cloneDeep";
|
|
6
6
|
import omit from "lodash/omit";
|
|
7
7
|
import set from "lodash/set";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid, useForm } from "@tachybase/schema";
|
|
4
|
+
import { ArrayTable } from "@tego/client";
|
|
5
5
|
import cloneDeep from "lodash/cloneDeep";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { useAPIClient, useRequest } from "../../api-client/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid } from "@tachybase/schema";
|
|
4
|
+
import { ArrayTable } from "@tego/client";
|
|
5
5
|
import { cloneDeep, omit, set } from "lodash";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { useAPIClient, useRequest } from "../../../api-client/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid, useForm } from "@tachybase/schema";
|
|
4
|
+
import { ArrayTable } from "@tego/client";
|
|
5
5
|
import { omit, set } from "lodash";
|
|
6
6
|
import cloneDeep from "lodash/cloneDeep";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid, useField, useForm } from "@tachybase/schema";
|
|
5
4
|
import { PlusOutlined } from "@ant-design/icons";
|
|
5
|
+
import { ArrayTable } from "@tego/client";
|
|
6
6
|
import { Button } from "antd";
|
|
7
7
|
import { cloneDeep } from "lodash";
|
|
8
8
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
|
-
import { FormLayout } from "@tachybase/components";
|
|
4
3
|
import { createForm, uid, useField, useForm } from "@tachybase/schema";
|
|
5
4
|
import { SyncOutlined } from "@ant-design/icons";
|
|
5
|
+
import { FormLayout } from "@tego/client";
|
|
6
6
|
import { Button } from "antd";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
import { useAPIClient } from "../../api-client/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { uid } from "@tachybase/schema";
|
|
4
|
+
import { ArrayTable } from "@tego/client";
|
|
5
5
|
import cloneDeep from "lodash/cloneDeep";
|
|
6
6
|
import set from "lodash/set";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
@@ -4,7 +4,7 @@ export type Collection_deprecated = ReturnType<typeof useCollection_deprecated>;
|
|
|
4
4
|
* @deprecated use `useCollection` instead
|
|
5
5
|
*/
|
|
6
6
|
export declare const useCollection_deprecated: () => {
|
|
7
|
-
resource: import("
|
|
7
|
+
resource: import("@tego/client").IResource;
|
|
8
8
|
getTreeParentField: () => import("../..").CollectionFieldOptions;
|
|
9
9
|
fields: import("../..").CollectionFieldOptions[];
|
|
10
10
|
getField: (name: SchemaKey) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { FormItem, FormLayout } from "@tachybase/components";
|
|
4
3
|
import { registerValidateRules } from "@tachybase/schema";
|
|
4
|
+
import { FormItem, FormLayout } from "@tego/client";
|
|
5
5
|
import { CollectionFieldInterface } from "../../data-source/collection-field-interface/CollectionFieldInterface.mjs";
|
|
6
6
|
import { defaultProps, operators } from "./properties/index.mjs";
|
|
7
7
|
function _define_property(obj, key, value) {
|
|
@@ -16,19 +16,19 @@ export declare class RadioGroupFieldInterface extends CollectionFieldInterface {
|
|
|
16
16
|
availableTypes: string[];
|
|
17
17
|
hasDefaultValue: boolean;
|
|
18
18
|
properties: {
|
|
19
|
-
'uiSchema.enum': import("
|
|
19
|
+
'uiSchema.enum': import("@tachybase/schema").Stringify<{
|
|
20
20
|
[key: symbol]: any;
|
|
21
21
|
[key: `x-${string}`]: any;
|
|
22
22
|
[key: `x-${number}`]: any;
|
|
23
23
|
version?: string;
|
|
24
|
-
name?: import("
|
|
24
|
+
name?: import("@tachybase/schema").SchemaKey;
|
|
25
25
|
title?: any;
|
|
26
26
|
description?: any;
|
|
27
27
|
default?: any;
|
|
28
28
|
readOnly?: boolean;
|
|
29
29
|
writeOnly?: boolean;
|
|
30
|
-
type?: import("
|
|
31
|
-
enum?: import("
|
|
30
|
+
type?: import("@tachybase/schema").SchemaTypes;
|
|
31
|
+
enum?: import("@tachybase/schema").SchemaEnum<any>;
|
|
32
32
|
const?: any;
|
|
33
33
|
multipleOf?: number;
|
|
34
34
|
maximum?: number;
|
|
@@ -47,12 +47,12 @@ export declare class RadioGroupFieldInterface extends CollectionFieldInterface {
|
|
|
47
47
|
format?: string;
|
|
48
48
|
$ref?: string;
|
|
49
49
|
$namespace?: string;
|
|
50
|
-
definitions?: import("
|
|
51
|
-
properties?: import("
|
|
52
|
-
items?: import("
|
|
53
|
-
additionalItems?: import("
|
|
54
|
-
patternProperties?: import("
|
|
55
|
-
additionalProperties?: import("
|
|
50
|
+
definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
51
|
+
properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
52
|
+
items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
53
|
+
additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
|
|
54
|
+
patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
55
|
+
additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
|
|
56
56
|
"x-value"?: any;
|
|
57
57
|
"x-index"?: number;
|
|
58
58
|
"x-pattern"?: any;
|
|
@@ -62,7 +62,7 @@ export declare class RadioGroupFieldInterface extends CollectionFieldInterface {
|
|
|
62
62
|
"x-decorator-props"?: any;
|
|
63
63
|
"x-component"?: any;
|
|
64
64
|
"x-component-props"?: any;
|
|
65
|
-
"x-reactions"?: import("
|
|
65
|
+
"x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
|
|
66
66
|
"x-content"?: any;
|
|
67
67
|
"x-data"?: any;
|
|
68
68
|
"x-visible"?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getOptions } from "@
|
|
1
|
+
import { getOptions } from "@tego/client";
|
|
2
2
|
import { CollectionTemplate } from "../../data-source/collection-template/CollectionTemplate.mjs";
|
|
3
3
|
import { getConfigurableProperties } from "./properties/index.mjs";
|
|
4
4
|
function _define_property(obj, key, value) {
|
|
@@ -52,7 +52,7 @@ export declare const defaultConfigurableProperties: {
|
|
|
52
52
|
type: string;
|
|
53
53
|
'x-decorator': string;
|
|
54
54
|
'x-visible': string;
|
|
55
|
-
'x-component': import("react").MemoExoticComponent<import("
|
|
55
|
+
'x-component': import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<Omit<any, "ref">>>;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
export type DefaultConfigurableKeys = 'name' | 'title' | 'inherits' | 'category' | 'autoGenId' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'sortable' | 'description' | 'presetFields';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { IResource } from '@
|
|
2
|
+
import { IResource } from '@tego/client';
|
|
3
3
|
export declare const DataBlockResourceContext: React.Context<IResource>;
|
|
4
4
|
export declare const DataBlockResourceProvider: ({ children }: {
|
|
5
5
|
children?: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback, useEffect, useState } from "react";
|
|
2
2
|
import { useFieldSchema } from "@tachybase/schema";
|
|
3
|
-
import { dayjs, flatten, getValuesByPath } from "@
|
|
3
|
+
import { dayjs, flatten, getValuesByPath } from "@tego/client";
|
|
4
4
|
import lodash from "lodash";
|
|
5
5
|
import { findFilterTargets } from "../block-provider/hooks/index.mjs";
|
|
6
6
|
import { useCollectionManager_deprecated, useCollection_deprecated } from "../collection-manager/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { ArrayItems } from "@tachybase/components";
|
|
4
3
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
4
|
+
import { ArrayItems } from "@tego/client";
|
|
5
5
|
import lodash from "lodash";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { useCollectionRecord, useDesignable } from "../../../index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayItems } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayItems } from "@tego/client";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
5
5
|
import { useFormBlockContext } from "../../../../block-provider/index.mjs";
|
|
@@ -32,19 +32,19 @@ export declare const useCreateFormBlock: () => {
|
|
|
32
32
|
}) => void;
|
|
33
33
|
templateWrap: (templateSchema: any, { item }: {
|
|
34
34
|
item: any;
|
|
35
|
-
}) => import("
|
|
35
|
+
}) => import("@tachybase/schema").Stringify<{
|
|
36
36
|
[key: symbol]: any;
|
|
37
37
|
[key: `x-${string}`]: any;
|
|
38
38
|
[key: `x-${number}`]: any;
|
|
39
39
|
version?: string;
|
|
40
|
-
name?: import("
|
|
40
|
+
name?: import("@tachybase/schema").SchemaKey;
|
|
41
41
|
title?: any;
|
|
42
42
|
description?: any;
|
|
43
43
|
default?: any;
|
|
44
44
|
readOnly?: boolean;
|
|
45
45
|
writeOnly?: boolean;
|
|
46
|
-
type?: import("
|
|
47
|
-
enum?: import("
|
|
46
|
+
type?: import("@tachybase/schema").SchemaTypes;
|
|
47
|
+
enum?: import("@tachybase/schema").SchemaEnum<any>;
|
|
48
48
|
const?: any;
|
|
49
49
|
multipleOf?: number;
|
|
50
50
|
maximum?: number;
|
|
@@ -63,12 +63,12 @@ export declare const useCreateFormBlock: () => {
|
|
|
63
63
|
format?: string;
|
|
64
64
|
$ref?: string;
|
|
65
65
|
$namespace?: string;
|
|
66
|
-
definitions?: import("
|
|
67
|
-
properties?: import("
|
|
68
|
-
items?: import("
|
|
69
|
-
additionalItems?: import("
|
|
70
|
-
patternProperties?: import("
|
|
71
|
-
additionalProperties?: import("
|
|
66
|
+
definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
67
|
+
properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
68
|
+
items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
69
|
+
additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
|
|
70
|
+
patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
71
|
+
additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
|
|
72
72
|
"x-value"?: any;
|
|
73
73
|
"x-index"?: number;
|
|
74
74
|
"x-pattern"?: any;
|
|
@@ -78,7 +78,7 @@ export declare const useCreateFormBlock: () => {
|
|
|
78
78
|
"x-decorator-props"?: any;
|
|
79
79
|
"x-component"?: any;
|
|
80
80
|
"x-component-props"?: any;
|
|
81
|
-
"x-reactions"?: import("
|
|
81
|
+
"x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
|
|
82
82
|
"x-content"?: any;
|
|
83
83
|
"x-data"?: any;
|
|
84
84
|
"x-visible"?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayCollapse, FormLayout } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayCollapse, FormLayout } from "@tego/client";
|
|
3
3
|
import lodash from "lodash";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useApp, useSchemaToolbar } from "../../../../application/index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
|
-
import { ArrayItems } from "@tachybase/components";
|
|
3
2
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
3
|
+
import { ArrayItems } from "@tego/client";
|
|
4
4
|
import lodash from "lodash";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayItems } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayItems } from "@tego/client";
|
|
3
3
|
import lodash from "lodash";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback } from "react";
|
|
2
|
-
import { ArrayItems } from "@tachybase/components";
|
|
3
2
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
3
|
+
import { ArrayItems } from "@tego/client";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useAPIClient } from "../../../../api-client/index.mjs";
|
|
6
6
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback } from "react";
|
|
2
|
-
import { ArrayItems } from "@tachybase/components";
|
|
3
2
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
3
|
+
import { ArrayItems } from "@tego/client";
|
|
4
4
|
import { cloneDeep } from "lodash";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayCollapse, FormLayout } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayCollapse, FormLayout } from "@tego/client";
|
|
3
3
|
import lodash from "lodash";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useApp } from "../../../../application/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayCollapse, FormLayout } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayCollapse, FormLayout } from "@tego/client";
|
|
3
3
|
import lodash from "lodash";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useApp } from "../../../../application/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { ArrayItems } from "@tachybase/components";
|
|
4
3
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
4
|
+
import { ArrayItems } from "@tego/client";
|
|
5
5
|
import lodash from "lodash";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -7,7 +7,7 @@ export declare const setDefaultSortingRules: {
|
|
|
7
7
|
useComponentProps(): {
|
|
8
8
|
title: string;
|
|
9
9
|
components: {
|
|
10
|
-
ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@
|
|
10
|
+
ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@tego/client").ArrayBaseMixins & {
|
|
11
11
|
Item: import("@tachybase/schema").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
|
|
12
12
|
type?: "card" | "divide";
|
|
13
13
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
|
-
import { ArrayItems, Switch } from "@tachybase/components";
|
|
3
2
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
3
|
+
import { ArrayItems, Switch } from "@tego/client";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
6
6
|
import { useCollectionManager_deprecated, useSortFields } from "../../../../collection-manager/index.mjs";
|