@tachybase/client 0.23.8-alpha.23 → 0.23.8-alpha.25
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Form as FormV2 } from './Form';
|
|
2
2
|
import { DetailsDesigner } from './Form.Designer';
|
|
3
|
+
import { fetchTemplateData, type ITemplate } from './Templates';
|
|
4
|
+
export { DetailsDesigner, FormV2, fetchTemplateData };
|
|
5
|
+
export type { ITemplate };
|
|
3
6
|
export * from './Form.Settings';
|
|
4
7
|
export * from './FormField';
|
|
5
|
-
export * from './Templates';
|
|
6
|
-
export { DetailsDesigner, FormV2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__block_provider_index_mjs__ from "../../../../block-provider/index.mjs";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__ from "../../../../schema-component/index.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__schema_settings_VariableInput_VariableInput_mjs__ from "../../../../schema-settings/VariableInput/VariableInput.mjs";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__RolesResourcesActions_mjs__ from "../RolesResourcesActions.mjs";
|
|
6
6
|
|
|
7
7
|
;// CONCATENATED MODULE: external "react"
|
|
@@ -10,7 +10,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__RolesResourcesActions_mjs__ from "../Role
|
|
|
10
10
|
|
|
11
11
|
;// CONCATENATED MODULE: external "../../../../schema-component/index.mjs"
|
|
12
12
|
|
|
13
|
-
;// CONCATENATED MODULE: external "../../../../schema-settings/
|
|
13
|
+
;// CONCATENATED MODULE: external "../../../../schema-settings/VariableInput/VariableInput.mjs"
|
|
14
14
|
|
|
15
15
|
;// CONCATENATED MODULE: external "../RolesResourcesActions.mjs"
|
|
16
16
|
|
|
@@ -168,7 +168,7 @@ const scopesSchema = {
|
|
|
168
168
|
};
|
|
169
169
|
},
|
|
170
170
|
'x-component-props': {
|
|
171
|
-
dynamicComponent:
|
|
171
|
+
dynamicComponent: __WEBPACK_EXTERNAL_MODULE__schema_settings_VariableInput_VariableInput_mjs__.VariableInput
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
174
|
actions: {
|
|
@@ -296,7 +296,7 @@ const scopesSchema = {
|
|
|
296
296
|
};
|
|
297
297
|
},
|
|
298
298
|
'x-component-props': {
|
|
299
|
-
dynamicComponent:
|
|
299
|
+
dynamicComponent: __WEBPACK_EXTERNAL_MODULE__schema_settings_VariableInput_VariableInput_mjs__.VariableInput
|
|
300
300
|
}
|
|
301
301
|
},
|
|
302
302
|
actions: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE__Form_mjs__ from "./Form.mjs";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__Form_Designer_mjs__ from "./Form.Designer.mjs";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__Form_FilterDesigner_mjs__ from "./Form.FilterDesigner.mjs";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__Templates_mjs__ from "./Templates.mjs";
|
|
4
5
|
export * from "./Form.Settings.mjs";
|
|
5
6
|
export * from "./FormField.mjs";
|
|
6
|
-
export * from "./Templates.mjs";
|
|
7
7
|
|
|
8
8
|
;// CONCATENATED MODULE: external "./Form.mjs"
|
|
9
9
|
|
|
@@ -11,8 +11,9 @@ export * from "./Templates.mjs";
|
|
|
11
11
|
|
|
12
12
|
;// CONCATENATED MODULE: external "./Form.FilterDesigner.mjs"
|
|
13
13
|
|
|
14
|
-
;// CONCATENATED MODULE: ./
|
|
14
|
+
;// CONCATENATED MODULE: external "./Templates.mjs"
|
|
15
15
|
|
|
16
|
+
;// CONCATENATED MODULE: ./packages/client/src/schema-component/antd/form-v2/index.ts?__rslib_entry__
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
|
|
@@ -20,11 +21,12 @@ export * from "./Templates.mjs";
|
|
|
20
21
|
__WEBPACK_EXTERNAL_MODULE__Form_mjs__.Form.Designer = __WEBPACK_EXTERNAL_MODULE__Form_Designer_mjs__.FormDesigner;
|
|
21
22
|
__WEBPACK_EXTERNAL_MODULE__Form_mjs__.Form.FilterDesigner = __WEBPACK_EXTERNAL_MODULE__Form_FilterDesigner_mjs__.FilterDesigner;
|
|
22
23
|
__WEBPACK_EXTERNAL_MODULE__Form_mjs__.Form.ReadPrettyDesigner = __WEBPACK_EXTERNAL_MODULE__Form_Designer_mjs__.ReadPrettyFormDesigner;
|
|
23
|
-
__WEBPACK_EXTERNAL_MODULE__Form_mjs__.Form.Templates = Templates;
|
|
24
|
+
__WEBPACK_EXTERNAL_MODULE__Form_mjs__.Form.Templates = __WEBPACK_EXTERNAL_MODULE__Templates_mjs__.Templates;
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
var __webpack_exports__DetailsDesigner = __WEBPACK_EXTERNAL_MODULE__Form_Designer_mjs__.DetailsDesigner;
|
|
29
30
|
var __webpack_exports__FormV2 = __WEBPACK_EXTERNAL_MODULE__Form_mjs__.Form;
|
|
30
|
-
|
|
31
|
+
var __webpack_exports__fetchTemplateData = __WEBPACK_EXTERNAL_MODULE__Templates_mjs__.fetchTemplateData;
|
|
32
|
+
export { __webpack_exports__DetailsDesigner as DetailsDesigner, __webpack_exports__FormV2 as FormV2, __webpack_exports__fetchTemplateData as fetchTemplateData };
|
|
@@ -123,7 +123,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__hooks_useVariableOptions_mjs__ from "./ho
|
|
|
123
123
|
if (!(0,__WEBPACK_EXTERNAL_MODULE__variables_utils_isVariable_mjs__.isVariable)(value) || !variables || !collectionField) {
|
|
124
124
|
return true;
|
|
125
125
|
}
|
|
126
|
-
// `json`
|
|
126
|
+
// `json` 可以选择任意类型的变量
|
|
127
127
|
if (collectionField.interface === 'json') {
|
|
128
128
|
return true;
|
|
129
129
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/client",
|
|
3
|
-
"version": "0.23.8-alpha.
|
|
3
|
+
"version": "0.23.8-alpha.25",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"module": "lib/index.mjs",
|
|
6
6
|
"types": "es/index.d.ts",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
"react-zoom-pan-pinch": "^3.6.1",
|
|
67
67
|
"sanitize-html": "2.14.0",
|
|
68
68
|
"use-deep-compare-effect": "^1.8.1",
|
|
69
|
-
"@tachybase/
|
|
69
|
+
"@tachybase/components": "0.23.8",
|
|
70
70
|
"@tachybase/requirejs": "0.23.8",
|
|
71
|
-
"@tachybase/
|
|
72
|
-
"@tachybase/schema": "0.23.8",
|
|
71
|
+
"@tachybase/evaluators": "0.23.8",
|
|
73
72
|
"@tachybase/sdk": "0.23.8",
|
|
74
|
-
"@tachybase/
|
|
73
|
+
"@tachybase/schema": "0.23.8",
|
|
74
|
+
"@tachybase/utils": "0.23.8"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@testing-library/react": "^14.3.1",
|