@tachybase/client 1.3.19 → 1.3.20

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.
Files changed (47) hide show
  1. package/es/collection-manager/Configuration/components/Summary.mjs +3 -3
  2. package/es/flag-provider/FlagProvider.d.ts +1 -0
  3. package/es/flag-provider/hooks/useFlag.mjs +1 -1
  4. package/es/schema-component/antd/color-select/ColorSelect.mjs +3 -3
  5. package/es/schema-component/antd/date-picker/util.d.ts +13 -0
  6. package/es/schema-component/antd/date-picker/util.mjs +14 -1
  7. package/es/schema-component/antd/markdown/Markdown.mjs +4 -4
  8. package/es/schema-component/antd/password/utils.d.ts +1 -1
  9. package/es/schema-settings/SchemaSettingsDefaultValue.mjs +3 -2
  10. package/es/schema-settings/VariableInput/hooks/index.d.ts +1 -0
  11. package/es/schema-settings/VariableInput/hooks/index.mjs +1 -0
  12. package/es/schema-settings/VariableInput/hooks/useExactDateVariable.d.ts +93 -0
  13. package/es/schema-settings/VariableInput/hooks/useExactDateVariable.mjs +75 -0
  14. package/es/schema-settings/VariableInput/hooks/useVariableOptions.mjs +11 -1
  15. package/es/user/ChangePassword.mjs +109 -6
  16. package/es/user/index.d.ts +1 -0
  17. package/es/user/index.mjs +2 -0
  18. package/es/variables/hooks/useBuiltinVariables.mjs +8 -2
  19. package/lib/block-provider/hooks/index.js +4 -4
  20. package/lib/built-in/acl/Configuration/MenuItemsProvider.js +2 -2
  21. package/lib/built-in/attachment-preview/previewers/file-sheet.js +2 -2
  22. package/lib/built-in/pm/index.js +1 -1
  23. package/lib/collection-manager/Configuration/components/Summary.js +3 -3
  24. package/lib/collection-manager/index.js +17 -17
  25. package/lib/flag-provider/hooks/useFlag.js +1 -1
  26. package/lib/icon/Icon.js +2 -2
  27. package/lib/locale/zh-CN.js +5 -0
  28. package/lib/schema-component/antd/action/Action.Container.js +2 -2
  29. package/lib/schema-component/antd/action/Action.Modal.js +2 -2
  30. package/lib/schema-component/antd/action/Action.Sheet.js +2 -2
  31. package/lib/schema-component/antd/color-select/ColorSelect.js +4 -4
  32. package/lib/schema-component/antd/date-picker/util.js +16 -0
  33. package/lib/schema-component/antd/form-tab/index.js +2 -2
  34. package/lib/schema-component/antd/form-v2/index.js +2 -2
  35. package/lib/schema-component/antd/markdown/Markdown.js +5 -5
  36. package/lib/schema-component/antd/scroll-area/ScrollArea.js +2 -2
  37. package/lib/schema-component/antd/table-v2/index.js +3 -3
  38. package/lib/schema-component/antd/upload/shared.js +4 -4
  39. package/lib/schema-settings/SchemaSettingsDefaultValue.js +3 -2
  40. package/lib/schema-settings/VariableInput/hooks/index.js +9 -0
  41. package/lib/schema-settings/VariableInput/hooks/useExactDateVariable.js +112 -0
  42. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.js +11 -1
  43. package/lib/user/ChangePassword.js +118 -5
  44. package/lib/user/index.js +24 -4
  45. package/lib/variables/VariablesProvider.js +2 -2
  46. package/lib/variables/hooks/useBuiltinVariables.js +7 -1
  47. package/package.json +10 -10
@@ -24,9 +24,9 @@ var __webpack_require__ = {};
24
24
  var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
- default: ()=>pm,
28
27
  PMPlugin: ()=>PMPlugin,
29
28
  SettingsCenterDropdown: ()=>SettingsCenterDropdown_js_namespaceObject.SettingsCenterDropdown,
29
+ default: ()=>pm,
30
30
  PluginManager: ()=>external_PluginManager_js_namespaceObject.PluginManager,
31
31
  AdminSettingsLayout: ()=>AdminSettings_js_namespaceObject.AdminSettingsLayout,
32
32
  SettingsCenterContext: ()=>AdminSettings_js_namespaceObject.SettingsCenterContext
@@ -24,7 +24,7 @@ var __webpack_require__ = {};
24
24
  var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
- default: ()=>components_Summary
27
+ default: ()=>Summary
28
28
  });
29
29
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
30
  const external_react_namespaceObject = require("react");
@@ -32,7 +32,7 @@ const schema_namespaceObject = require("@tachybase/schema");
32
32
  const external_antd_namespaceObject = require("antd");
33
33
  const external_antd_style_namespaceObject = require("antd-style");
34
34
  const index_js_namespaceObject = require("../../../schema-component/index.js");
35
- const Summary = (0, schema_namespaceObject.observer)((props)=>{
35
+ const Summary_Summary = (0, schema_namespaceObject.observer)((props)=>{
36
36
  const { schema, label } = props;
37
37
  const compile = (0, index_js_namespaceObject.useCompile)();
38
38
  const token = (0, external_antd_style_namespaceObject.useAntdToken)();
@@ -85,7 +85,7 @@ const Summary = (0, schema_namespaceObject.observer)((props)=>{
85
85
  }, {
86
86
  displayName: 'Summary'
87
87
  });
88
- const components_Summary = Summary;
88
+ const Summary = Summary_Summary;
89
89
  exports["default"] = __webpack_exports__["default"];
90
90
  for(var __webpack_i__ in __webpack_exports__)if (-1 === [
91
91
  "default"
@@ -120,12 +120,12 @@ var __webpack_exports__ = {};
120
120
  var __WEBPACK_REEXPORT_OBJECT__ = {};
121
121
  for(var __WEBPACK_IMPORT_KEY__ in _CollectionManagerProvider__WEBPACK_IMPORTED_MODULE_1__)if ([
122
122
  "interfacesProperties",
123
- "default",
124
123
  "useCollectionFilterOptions",
125
124
  "useFieldInterfaceOptions",
126
125
  "useLinkageCollectionFilterOptions",
127
126
  "useSortFields",
128
127
  "isDeleteButtonDisabled",
128
+ "default",
129
129
  "getConfigurableProperties",
130
130
  "useCancelAction",
131
131
  "useCollectionFieldsOptions"
@@ -137,12 +137,12 @@ var __webpack_exports__ = {};
137
137
  var __WEBPACK_REEXPORT_OBJECT__ = {};
138
138
  for(var __WEBPACK_IMPORT_KEY__ in _CollectionManagerSchemaComponentProvider__WEBPACK_IMPORTED_MODULE_2__)if ([
139
139
  "interfacesProperties",
140
- "default",
141
140
  "useCollectionFilterOptions",
142
141
  "useFieldInterfaceOptions",
143
142
  "useLinkageCollectionFilterOptions",
144
143
  "useSortFields",
145
144
  "isDeleteButtonDisabled",
145
+ "default",
146
146
  "getConfigurableProperties",
147
147
  "useCancelAction",
148
148
  "useCollectionFieldsOptions"
@@ -154,12 +154,12 @@ var __webpack_exports__ = {};
154
154
  var __WEBPACK_REEXPORT_OBJECT__ = {};
155
155
  for(var __WEBPACK_IMPORT_KEY__ in _CollectionProvider_deprecated__WEBPACK_IMPORTED_MODULE_3__)if ([
156
156
  "interfacesProperties",
157
- "default",
158
157
  "useCollectionFilterOptions",
159
158
  "useFieldInterfaceOptions",
160
159
  "useLinkageCollectionFilterOptions",
161
160
  "useSortFields",
162
161
  "isDeleteButtonDisabled",
162
+ "default",
163
163
  "getConfigurableProperties",
164
164
  "useCancelAction",
165
165
  "useCollectionFieldsOptions"
@@ -171,12 +171,12 @@ var __webpack_exports__ = {};
171
171
  var __WEBPACK_REEXPORT_OBJECT__ = {};
172
172
  for(var __WEBPACK_IMPORT_KEY__ in _Configuration__WEBPACK_IMPORTED_MODULE_4__)if ([
173
173
  "interfacesProperties",
174
- "default",
175
174
  "useCollectionFilterOptions",
176
175
  "useFieldInterfaceOptions",
177
176
  "useLinkageCollectionFilterOptions",
178
177
  "useSortFields",
179
178
  "isDeleteButtonDisabled",
179
+ "default",
180
180
  "getConfigurableProperties",
181
181
  "useCancelAction",
182
182
  "useCollectionFieldsOptions"
@@ -189,12 +189,12 @@ var __webpack_exports__ = {};
189
189
  var __WEBPACK_REEXPORT_OBJECT__ = {};
190
190
  for(var __WEBPACK_IMPORT_KEY__ in _context__WEBPACK_IMPORTED_MODULE_6__)if ([
191
191
  "interfacesProperties",
192
- "default",
193
192
  "useCollectionFilterOptions",
194
193
  "useFieldInterfaceOptions",
195
194
  "useLinkageCollectionFilterOptions",
196
195
  "useSortFields",
197
196
  "isDeleteButtonDisabled",
197
+ "default",
198
198
  "getConfigurableProperties",
199
199
  "useCancelAction",
200
200
  "useCollectionFieldsOptions"
@@ -206,12 +206,12 @@ var __webpack_exports__ = {};
206
206
  var __WEBPACK_REEXPORT_OBJECT__ = {};
207
207
  for(var __WEBPACK_IMPORT_KEY__ in _hooks__WEBPACK_IMPORTED_MODULE_7__)if ([
208
208
  "interfacesProperties",
209
- "default",
210
209
  "useCollectionFilterOptions",
211
210
  "useFieldInterfaceOptions",
212
211
  "useLinkageCollectionFilterOptions",
213
212
  "useSortFields",
214
213
  "isDeleteButtonDisabled",
214
+ "default",
215
215
  "getConfigurableProperties",
216
216
  "useCancelAction",
217
217
  "useCollectionFieldsOptions"
@@ -224,12 +224,12 @@ var __webpack_exports__ = {};
224
224
  var __WEBPACK_REEXPORT_OBJECT__ = {};
225
225
  for(var __WEBPACK_IMPORT_KEY__ in _interfaces_types__WEBPACK_IMPORTED_MODULE_9__)if ([
226
226
  "interfacesProperties",
227
- "default",
228
227
  "useCollectionFilterOptions",
229
228
  "useFieldInterfaceOptions",
230
229
  "useLinkageCollectionFilterOptions",
231
230
  "useSortFields",
232
231
  "isDeleteButtonDisabled",
232
+ "default",
233
233
  "getConfigurableProperties",
234
234
  "useCancelAction",
235
235
  "useCollectionFieldsOptions"
@@ -241,12 +241,12 @@ var __webpack_exports__ = {};
241
241
  var __WEBPACK_REEXPORT_OBJECT__ = {};
242
242
  for(var __WEBPACK_IMPORT_KEY__ in _ResourceActionProvider__WEBPACK_IMPORTED_MODULE_10__)if ([
243
243
  "interfacesProperties",
244
- "default",
245
244
  "useCollectionFilterOptions",
246
245
  "useFieldInterfaceOptions",
247
246
  "useLinkageCollectionFilterOptions",
248
247
  "useSortFields",
249
248
  "isDeleteButtonDisabled",
249
+ "default",
250
250
  "getConfigurableProperties",
251
251
  "useCancelAction",
252
252
  "useCollectionFieldsOptions"
@@ -259,12 +259,12 @@ var __webpack_exports__ = {};
259
259
  var __WEBPACK_REEXPORT_OBJECT__ = {};
260
260
  for(var __WEBPACK_IMPORT_KEY__ in _templates_types__WEBPACK_IMPORTED_MODULE_12__)if ([
261
261
  "interfacesProperties",
262
- "default",
263
262
  "useCollectionFilterOptions",
264
263
  "useFieldInterfaceOptions",
265
264
  "useLinkageCollectionFilterOptions",
266
265
  "useSortFields",
267
266
  "isDeleteButtonDisabled",
267
+ "default",
268
268
  "getConfigurableProperties",
269
269
  "useCancelAction",
270
270
  "useCollectionFieldsOptions"
@@ -276,12 +276,12 @@ var __webpack_exports__ = {};
276
276
  var __WEBPACK_REEXPORT_OBJECT__ = {};
277
277
  for(var __WEBPACK_IMPORT_KEY__ in _types__WEBPACK_IMPORTED_MODULE_13__)if ([
278
278
  "interfacesProperties",
279
- "default",
280
279
  "useCollectionFilterOptions",
281
280
  "useFieldInterfaceOptions",
282
281
  "useLinkageCollectionFilterOptions",
283
282
  "useSortFields",
284
283
  "isDeleteButtonDisabled",
284
+ "default",
285
285
  "getConfigurableProperties",
286
286
  "useCancelAction",
287
287
  "useCollectionFieldsOptions"
@@ -293,12 +293,12 @@ var __webpack_exports__ = {};
293
293
  var __WEBPACK_REEXPORT_OBJECT__ = {};
294
294
  for(var __WEBPACK_IMPORT_KEY__ in _interfaces__WEBPACK_IMPORTED_MODULE_14__)if ([
295
295
  "interfacesProperties",
296
- "default",
297
296
  "useCollectionFilterOptions",
298
297
  "useFieldInterfaceOptions",
299
298
  "useLinkageCollectionFilterOptions",
300
299
  "useSortFields",
301
300
  "isDeleteButtonDisabled",
301
+ "default",
302
302
  "getConfigurableProperties",
303
303
  "useCancelAction",
304
304
  "useCollectionFieldsOptions"
@@ -309,12 +309,12 @@ var __webpack_exports__ = {};
309
309
  var __WEBPACK_REEXPORT_OBJECT__ = {};
310
310
  for(var __WEBPACK_IMPORT_KEY__ in _interfaces_properties__WEBPACK_IMPORTED_MODULE_8__)if ([
311
311
  "interfacesProperties",
312
- "default",
313
312
  "useCollectionFilterOptions",
314
313
  "useFieldInterfaceOptions",
315
314
  "useLinkageCollectionFilterOptions",
316
315
  "useSortFields",
317
316
  "isDeleteButtonDisabled",
317
+ "default",
318
318
  "getConfigurableProperties",
319
319
  "useCancelAction",
320
320
  "useCollectionFieldsOptions"
@@ -326,12 +326,12 @@ var __webpack_exports__ = {};
326
326
  var __WEBPACK_REEXPORT_OBJECT__ = {};
327
327
  for(var __WEBPACK_IMPORT_KEY__ in _collectionPlugin__WEBPACK_IMPORTED_MODULE_15__)if ([
328
328
  "interfacesProperties",
329
- "default",
330
329
  "useCollectionFilterOptions",
331
330
  "useFieldInterfaceOptions",
332
331
  "useLinkageCollectionFilterOptions",
333
332
  "useSortFields",
334
333
  "isDeleteButtonDisabled",
334
+ "default",
335
335
  "getConfigurableProperties",
336
336
  "useCancelAction",
337
337
  "useCollectionFieldsOptions"
@@ -343,12 +343,12 @@ var __webpack_exports__ = {};
343
343
  var __WEBPACK_REEXPORT_OBJECT__ = {};
344
344
  for(var __WEBPACK_IMPORT_KEY__ in _mixins_InheritanceCollectionMixin__WEBPACK_IMPORTED_MODULE_16__)if ([
345
345
  "interfacesProperties",
346
- "default",
347
346
  "useCollectionFilterOptions",
348
347
  "useFieldInterfaceOptions",
349
348
  "useLinkageCollectionFilterOptions",
350
349
  "useSortFields",
351
350
  "isDeleteButtonDisabled",
351
+ "default",
352
352
  "getConfigurableProperties",
353
353
  "useCancelAction",
354
354
  "useCollectionFieldsOptions"
@@ -360,12 +360,12 @@ var __webpack_exports__ = {};
360
360
  var __WEBPACK_REEXPORT_OBJECT__ = {};
361
361
  for(var __WEBPACK_IMPORT_KEY__ in _sub_table__WEBPACK_IMPORTED_MODULE_17__)if ([
362
362
  "interfacesProperties",
363
- "default",
364
363
  "useCollectionFilterOptions",
365
364
  "useFieldInterfaceOptions",
366
365
  "useLinkageCollectionFilterOptions",
367
366
  "useSortFields",
368
367
  "isDeleteButtonDisabled",
368
+ "default",
369
369
  "getConfigurableProperties",
370
370
  "useCancelAction",
371
371
  "useCollectionFieldsOptions"
@@ -377,12 +377,12 @@ var __webpack_exports__ = {};
377
377
  var __WEBPACK_REEXPORT_OBJECT__ = {};
378
378
  for(var __WEBPACK_IMPORT_KEY__ in _CollectionHistoryProvider__WEBPACK_IMPORTED_MODULE_18__)if ([
379
379
  "interfacesProperties",
380
- "default",
381
380
  "useCollectionFilterOptions",
382
381
  "useFieldInterfaceOptions",
383
382
  "useLinkageCollectionFilterOptions",
384
383
  "useSortFields",
385
384
  "isDeleteButtonDisabled",
385
+ "default",
386
386
  "getConfigurableProperties",
387
387
  "useCancelAction",
388
388
  "useCollectionFieldsOptions"
@@ -394,12 +394,12 @@ var __webpack_exports__ = {};
394
394
  var __WEBPACK_REEXPORT_OBJECT__ = {};
395
395
  for(var __WEBPACK_IMPORT_KEY__ in _utils__WEBPACK_IMPORTED_MODULE_19__)if ([
396
396
  "interfacesProperties",
397
- "default",
398
397
  "useCollectionFilterOptions",
399
398
  "useFieldInterfaceOptions",
400
399
  "useLinkageCollectionFilterOptions",
401
400
  "useSortFields",
402
401
  "isDeleteButtonDisabled",
402
+ "default",
403
403
  "getConfigurableProperties",
404
404
  "useCancelAction",
405
405
  "useCollectionFieldsOptions"
@@ -28,7 +28,7 @@ __webpack_require__.d(__webpack_exports__, {
28
28
  });
29
29
  const external_react_namespaceObject = require("react");
30
30
  const external_FlagProvider_js_namespaceObject = require("../FlagProvider.js");
31
- const useFlag = ()=>(0, external_react_namespaceObject.useContext)(external_FlagProvider_js_namespaceObject.FlagContext);
31
+ const useFlag = ()=>(0, external_react_namespaceObject.useContext)(external_FlagProvider_js_namespaceObject.FlagContext) || {};
32
32
  exports.useFlag = __webpack_exports__.useFlag;
33
33
  for(var __webpack_i__ in __webpack_exports__)if (-1 === [
34
34
  "useFlag"
package/lib/icon/Icon.js CHANGED
@@ -33,12 +33,12 @@ var __webpack_require__ = {};
33
33
  var __webpack_exports__ = {};
34
34
  __webpack_require__.r(__webpack_exports__);
35
35
  __webpack_require__.d(__webpack_exports__, {
36
+ hasIcon: ()=>hasIcon,
36
37
  default: ()=>icon_Icon,
37
38
  icons: ()=>Icon_icons,
38
- registerIcons: ()=>registerIcons,
39
39
  Icon: ()=>Icon,
40
40
  registerIcon: ()=>registerIcon,
41
- hasIcon: ()=>hasIcon
41
+ registerIcons: ()=>registerIcons
42
42
  });
43
43
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
44
44
  require("react");
@@ -701,6 +701,7 @@ module.exports = {
701
701
  "Please confirm the SQL statement first": "\u8BF7\u5148\u786E\u8BA4 SQL \u8BED\u53E5",
702
702
  "Please enter search content": "\u8BF7\u8F93\u5165\u67E5\u8BE2\u5185\u5BB9",
703
703
  "Please fill in the iframe URL": "\u8BF7\u586B\u5199\u5D4C\u5165\u7684\u5730\u5740",
704
+ "Please fill in your mobile phone number in your personal information first": "\u8BF7\u5148\u5728\u4E2A\u4EBA\u8D44\u6599\u586B\u5199\u624B\u673A\u53F7",
704
705
  "Please select": "\u8BF7\u9009\u62E9",
705
706
  "Please select content": "\u8BF7\u9009\u62E9\u5185\u5BB9",
706
707
  "Please select the records to be updated": "\u8BF7\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8BB0\u5F55",
@@ -835,6 +836,7 @@ module.exports = {
835
836
  Selector: "\u9009\u62E9\u5668",
836
837
  "Selector mode": "\u9009\u62E9\u5668\u6A21\u5F0F",
837
838
  "Send code": "\u53D1\u9001\u9A8C\u8BC1\u7801",
839
+ "Send verification code to phone: {{phoneNumber}}": "\u5C06\u53D1\u9001\u9A8C\u8BC1\u7801\u7ED9\u624B\u673A:{{phoneNumber}}",
838
840
  Separator: "\u5206\u9694\u7B26",
839
841
  "Set Quick Add Parent Tabs": "\u8BBE\u7F6E\u5FEB\u901F\u6DFB\u52A0\u7236\u7EA7\u9009\u9879",
840
842
  "Set Quick Add Tabs": "\u8BBE\u7F6E\u5FEB\u901F\u6DFB\u52A0\u9009\u9879",
@@ -998,7 +1000,9 @@ module.exports = {
998
1000
  Upload: "\u4E0A\u4F20",
999
1001
  "Upload new version": "\u4E0A\u4F20\u65B0\u7248",
1000
1002
  "Upload plugin": "\u4E0A\u4F20\u63D2\u4EF6",
1003
+ "Use old password": "\u65E7\u5BC6\u7801\u9A8C\u8BC1",
1001
1004
  "Use the same time zone (GMT) for all users": "\u6240\u6709\u7528\u6237\u4F7F\u7528\u540C\u4E00\u65F6\u533A (\u683C\u6797\u5C3C\u6CBB\u6807\u51C6\u65F6\u95F4)",
1005
+ "Use verification code": "\u9A8C\u8BC1\u7801\u9A8C\u8BC1",
1002
1006
  "Used for drag and drop sorting scenarios, supporting grouping sorting": "\u7528\u4E8E\u62D6\u62FD\u6392\u5E8F\u573A\u666F\uFF0C\u652F\u6301\u5206\u7EC4\u6392\u5E8F",
1003
1007
  User: "\u7528\u6237",
1004
1008
  "User settings": "\u4E2A\u4EBA\u8BBE\u7F6E",
@@ -1009,6 +1013,7 @@ module.exports = {
1009
1013
  Value: "\u5B57\u6BB5\u503C",
1010
1014
  Values: "\u503C",
1011
1015
  "Verification code": "\u9A8C\u8BC1\u7801",
1016
+ "Verify method": "\u9A8C\u8BC1\u65B9\u5F0F",
1012
1017
  Version: "\u7248\u672C",
1013
1018
  "Version range": "\u7248\u672C\u8303\u56F4",
1014
1019
  View: "\u67E5\u770B",
@@ -24,8 +24,8 @@ var __webpack_require__ = {};
24
24
  var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
- default: ()=>Action_Container,
28
- ActionContainer: ()=>ActionContainer
27
+ ActionContainer: ()=>ActionContainer,
28
+ default: ()=>Action_Container
29
29
  });
30
30
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
31
31
  require("react");
@@ -34,8 +34,8 @@ var __webpack_exports__ = {};
34
34
  __webpack_require__.r(__webpack_exports__);
35
35
  __webpack_require__.d(__webpack_exports__, {
36
36
  Amplifier: ()=>Amplifier,
37
- default: ()=>Action_Modal,
38
- ActionModal: ()=>ActionModal
37
+ ActionModal: ()=>ActionModal,
38
+ default: ()=>Action_Modal
39
39
  });
40
40
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
41
41
  const external_react_namespaceObject = require("react");
@@ -33,8 +33,8 @@ var __webpack_require__ = {};
33
33
  var __webpack_exports__ = {};
34
34
  __webpack_require__.r(__webpack_exports__);
35
35
  __webpack_require__.d(__webpack_exports__, {
36
- default: ()=>Action_Sheet,
37
- ActionSheet: ()=>ActionSheet
36
+ ActionSheet: ()=>ActionSheet,
37
+ default: ()=>Action_Sheet
38
38
  });
39
39
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
40
40
  require("react");
@@ -24,8 +24,8 @@ var __webpack_require__ = {};
24
24
  var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
- ColorSelect: ()=>ColorSelect,
28
- default: ()=>color_select_ColorSelect
27
+ ColorSelect: ()=>ColorSelect_ColorSelect,
28
+ default: ()=>ColorSelect
29
29
  });
30
30
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
31
31
  require("react");
@@ -47,7 +47,7 @@ const colors = {
47
47
  purple: '{{t("Purple")}}',
48
48
  default: '{{t("Default")}}'
49
49
  };
50
- const ColorSelect = (0, schema_namespaceObject.connect)((props)=>{
50
+ const ColorSelect_ColorSelect = (0, schema_namespaceObject.connect)((props)=>{
51
51
  const compile = (0, useCompile_js_namespaceObject.useCompile)();
52
52
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Select, {
53
53
  ...props,
@@ -73,7 +73,7 @@ const ColorSelect = (0, schema_namespaceObject.connect)((props)=>{
73
73
  children: compile(colors[value] || colors.default)
74
74
  });
75
75
  }));
76
- const color_select_ColorSelect = ColorSelect;
76
+ const ColorSelect = ColorSelect_ColorSelect;
77
77
  exports.ColorSelect = __webpack_exports__.ColorSelect;
78
78
  exports["default"] = __webpack_exports__["default"];
79
79
  for(var __webpack_i__ in __webpack_exports__)if (-1 === [
@@ -27,6 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
27
27
  mapRangePicker: ()=>mapRangePicker,
28
28
  moment2str: ()=>moment2str,
29
29
  mapDatePicker: ()=>mapDatePicker,
30
+ getDateExact: ()=>getDateExact,
30
31
  getDateRanges: ()=>getDateRanges
31
32
  });
32
33
  const client_namespaceObject = require("@tachybase/utils/client");
@@ -207,11 +208,26 @@ const getDateRanges = ()=>({
207
208
  getEnd(90, 'days')
208
209
  ]
209
210
  });
211
+ const getDateExact = ()=>({
212
+ nowUtc: ()=>(0, client_namespaceObject.dayjs)().toISOString(),
213
+ nowLocal: ()=>(0, client_namespaceObject.dayjs)().format('YYYY-MM-DD HH:mm:ss'),
214
+ todayUtc: ()=>(0, client_namespaceObject.dayjs)().startOf('day').utc().toISOString(),
215
+ todayLocal: ()=>(0, client_namespaceObject.dayjs)().startOf('day').format('YYYY-MM-DD HH:mm:ss'),
216
+ todayDate: ()=>(0, client_namespaceObject.dayjs)().format('YYYY-MM-DD'),
217
+ yesterdayUtc: ()=>(0, client_namespaceObject.dayjs)().subtract(1, 'day').startOf('day').utc().toISOString(),
218
+ yesterdayLocal: ()=>(0, client_namespaceObject.dayjs)().subtract(1, 'day').startOf('day').format('YYYY-MM-DD HH:mm:ss'),
219
+ yesterdayDate: ()=>(0, client_namespaceObject.dayjs)().subtract(1, 'day').format('YYYY-MM-DD'),
220
+ tomorrowUtc: ()=>(0, client_namespaceObject.dayjs)().add(1, 'day').startOf('day').utc().toISOString(),
221
+ tomorrowLocal: ()=>(0, client_namespaceObject.dayjs)().add(1, 'day').startOf('day').format('YYYY-MM-DD HH:mm:ss'),
222
+ tomorrowDate: ()=>(0, client_namespaceObject.dayjs)().add(1, 'day').format('YYYY-MM-DD')
223
+ });
224
+ exports.getDateExact = __webpack_exports__.getDateExact;
210
225
  exports.getDateRanges = __webpack_exports__.getDateRanges;
211
226
  exports.mapDatePicker = __webpack_exports__.mapDatePicker;
212
227
  exports.mapRangePicker = __webpack_exports__.mapRangePicker;
213
228
  exports.moment2str = __webpack_exports__.moment2str;
214
229
  for(var __webpack_i__ in __webpack_exports__)if (-1 === [
230
+ "getDateExact",
215
231
  "getDateRanges",
216
232
  "mapDatePicker",
217
233
  "mapRangePicker",
@@ -33,8 +33,8 @@ var __webpack_require__ = {};
33
33
  var __webpack_exports__ = {};
34
34
  __webpack_require__.r(__webpack_exports__);
35
35
  __webpack_require__.d(__webpack_exports__, {
36
- default: ()=>form_tab,
37
- FormTab: ()=>FormTab
36
+ FormTab: ()=>FormTab,
37
+ default: ()=>form_tab
38
38
  });
39
39
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
40
40
  const external_react_namespaceObject = require("react");
@@ -75,8 +75,8 @@ var __webpack_exports__ = {};
75
75
  var __WEBPACK_REEXPORT_OBJECT__ = {};
76
76
  for(var __WEBPACK_IMPORT_KEY__ in _Form_Settings__WEBPACK_IMPORTED_MODULE_4__)if ([
77
77
  "fetchTemplateData",
78
- "default",
79
78
  "FormV2",
79
+ "default",
80
80
  "DetailsDesigner"
81
81
  ].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
82
82
  return _Form_Settings__WEBPACK_IMPORTED_MODULE_4__[key];
@@ -86,8 +86,8 @@ var __webpack_exports__ = {};
86
86
  var __WEBPACK_REEXPORT_OBJECT__ = {};
87
87
  for(var __WEBPACK_IMPORT_KEY__ in _FormField__WEBPACK_IMPORTED_MODULE_5__)if ([
88
88
  "fetchTemplateData",
89
- "default",
90
89
  "FormV2",
90
+ "default",
91
91
  "DetailsDesigner"
92
92
  ].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
93
93
  return _FormField__WEBPACK_IMPORTED_MODULE_5__[key];
@@ -24,8 +24,8 @@ var __webpack_require__ = {};
24
24
  var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
- Markdown: ()=>Markdown,
28
- default: ()=>markdown_Markdown,
27
+ Markdown: ()=>Markdown_Markdown,
28
+ default: ()=>Markdown,
29
29
  MarkdownReadPretty: ()=>MarkdownReadPretty
30
30
  });
31
31
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
@@ -38,7 +38,7 @@ const external_input_index_js_namespaceObject = require("../input/index.js");
38
38
  const external_Markdown_Void_js_namespaceObject = require("./Markdown.Void.js");
39
39
  const external_style_js_namespaceObject = require("./style.js");
40
40
  const external_util_js_namespaceObject = require("./util.js");
41
- const Markdown = (0, schema_namespaceObject.connect)(external_antd_namespaceObject.Input.TextArea, (0, schema_namespaceObject.mapProps)((props, field)=>({
41
+ const Markdown_Markdown = (0, schema_namespaceObject.connect)(external_antd_namespaceObject.Input.TextArea, (0, schema_namespaceObject.mapProps)((props, field)=>({
42
42
  autoSize: {
43
43
  maxRows: 10,
44
44
  minRows: 3
@@ -71,8 +71,8 @@ const MarkdownReadPretty = (props)=>{
71
71
  value: value
72
72
  }));
73
73
  };
74
- Markdown.Void = external_Markdown_Void_js_namespaceObject.MarkdownVoid;
75
- const markdown_Markdown = Markdown;
74
+ Markdown_Markdown.Void = external_Markdown_Void_js_namespaceObject.MarkdownVoid;
75
+ const Markdown = Markdown_Markdown;
76
76
  exports.Markdown = __webpack_exports__.Markdown;
77
77
  exports.MarkdownReadPretty = __webpack_exports__.MarkdownReadPretty;
78
78
  exports["default"] = __webpack_exports__["default"];
@@ -24,8 +24,8 @@ var __webpack_require__ = {};
24
24
  var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
- default: ()=>scroll_area_ScrollArea,
28
- ScrollArea: ()=>ScrollArea
27
+ ScrollArea: ()=>ScrollArea,
28
+ default: ()=>scroll_area_ScrollArea
29
29
  });
30
30
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
31
31
  const external_react_namespaceObject = require("react");
@@ -92,8 +92,8 @@ var __webpack_exports__ = {};
92
92
  var _TableBlockDesigner__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("./TableBlockDesigner");
93
93
  var __WEBPACK_REEXPORT_OBJECT__ = {};
94
94
  for(var __WEBPACK_IMPORT_KEY__ in _TableBlockDesigner__WEBPACK_IMPORTED_MODULE_8__)if ([
95
- "useColumnSchema",
96
95
  "TableV2",
96
+ "useColumnSchema",
97
97
  "default"
98
98
  ].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
99
99
  return _TableBlockDesigner__WEBPACK_IMPORTED_MODULE_8__[key];
@@ -102,8 +102,8 @@ var __webpack_exports__ = {};
102
102
  var _TableField__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("./TableField");
103
103
  var __WEBPACK_REEXPORT_OBJECT__ = {};
104
104
  for(var __WEBPACK_IMPORT_KEY__ in _TableField__WEBPACK_IMPORTED_MODULE_9__)if ([
105
- "useColumnSchema",
106
105
  "TableV2",
106
+ "useColumnSchema",
107
107
  "default"
108
108
  ].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
109
109
  return _TableField__WEBPACK_IMPORTED_MODULE_9__[key];
@@ -112,8 +112,8 @@ var __webpack_exports__ = {};
112
112
  var _TableSelectorDesigner__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("./TableSelectorDesigner");
113
113
  var __WEBPACK_REEXPORT_OBJECT__ = {};
114
114
  for(var __WEBPACK_IMPORT_KEY__ in _TableSelectorDesigner__WEBPACK_IMPORTED_MODULE_10__)if ([
115
- "useColumnSchema",
116
115
  "TableV2",
116
+ "useColumnSchema",
117
117
  "default"
118
118
  ].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
119
119
  return _TableSelectorDesigner__WEBPACK_IMPORTED_MODULE_10__[key];
@@ -28,12 +28,10 @@ __webpack_require__.d(__webpack_exports__, {
28
28
  getImageByUrl: ()=>getImageByUrl,
29
29
  testOpts: ()=>testOpts,
30
30
  isPdf: ()=>isPdf,
31
- toValue: ()=>toValue,
32
31
  getState: ()=>getState,
33
- isImage: ()=>isImage,
34
32
  useValidator: ()=>useValidator,
33
+ isImage: ()=>isImage,
35
34
  toItem: ()=>toItem,
36
- useUploadValidator: ()=>useUploadValidator,
37
35
  getURL: ()=>getURL,
38
36
  normalizeFileList: ()=>normalizeFileList,
39
37
  getErrorMessage: ()=>getErrorMessage,
@@ -41,7 +39,9 @@ __webpack_require__.d(__webpack_exports__, {
41
39
  toArr: ()=>toArr,
42
40
  toImages: ()=>toImages,
43
41
  toMap: ()=>toMap,
44
- useUploadProps: ()=>useUploadProps
42
+ useUploadValidator: ()=>useUploadValidator,
43
+ useUploadProps: ()=>useUploadProps,
44
+ toValue: ()=>toValue
45
45
  });
46
46
  const external_react_namespaceObject = require("react");
47
47
  const schema_namespaceObject = require("@tachybase/schema");
@@ -126,6 +126,7 @@ const SchemaSettingsDefaultValue = function(props) {
126
126
  isInSubForm: isInSubForm,
127
127
  isInSubTable: isInSubTable,
128
128
  isInSetDefaultValueDialog: true,
129
+ collectionField: collectionField,
129
130
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VariableInput_js_namespaceObject.VariableInput, {
130
131
  ...props
131
132
  })
@@ -142,7 +143,7 @@ const SchemaSettingsDefaultValue = function(props) {
142
143
  'x-decorator': 'FormItem',
143
144
  'x-component': 'VariableInput',
144
145
  'x-component-props': {
145
- ...(null == fieldSchema ? void 0 : fieldSchema['x-component-props']) || {},
146
+ ...null == fieldSchema ? void 0 : fieldSchema['x-component-props'],
146
147
  collectionField,
147
148
  contextCollectionName: isAllowContextVariable && tableCtx.collection,
148
149
  schema: null == collectionField ? void 0 : collectionField.uiSchema,
@@ -171,7 +172,7 @@ const SchemaSettingsDefaultValue = function(props) {
171
172
  s.type = 'void';
172
173
  }
173
174
  const schema = {
174
- ...s || {},
175
+ ...s,
175
176
  'x-decorator': 'FormItem',
176
177
  'x-component-props': {
177
178
  ...s['x-component-props'],
@@ -6,6 +6,9 @@ var __webpack_modules__ = {
6
6
  "./useDateVariable": function(module) {
7
7
  module.exports = require("./useDateVariable.js");
8
8
  },
9
+ "./useExactDateVariable": function(module) {
10
+ module.exports = require("./useExactDateVariable.js");
11
+ },
9
12
  "./useUserVariable": function(module) {
10
13
  module.exports = require("./useUserVariable.js");
11
14
  }
@@ -71,6 +74,12 @@ var __webpack_exports__ = {};
71
74
  return _useUserVariable__WEBPACK_IMPORTED_MODULE_2__[key];
72
75
  }).bind(0, __WEBPACK_IMPORT_KEY__);
73
76
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
77
+ var _useExactDateVariable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("./useExactDateVariable");
78
+ var __WEBPACK_REEXPORT_OBJECT__ = {};
79
+ for(var __WEBPACK_IMPORT_KEY__ in _useExactDateVariable__WEBPACK_IMPORTED_MODULE_3__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
80
+ return _useExactDateVariable__WEBPACK_IMPORTED_MODULE_3__[key];
81
+ }).bind(0, __WEBPACK_IMPORT_KEY__);
82
+ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
74
83
  })();
75
84
  for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
76
85
  Object.defineProperty(exports, '__esModule', {