@tachybase/client 0.23.35 → 0.23.41

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 (66) hide show
  1. package/es/application/schema-initializer/components/SchemaInitializerButton.mjs +1 -1
  2. package/es/built-in/admin-layout/AdminLayout.mjs +15 -1
  3. package/es/built-in/index.mjs +0 -5
  4. package/es/collection-manager/interfaces/properties/index.mjs +1 -1
  5. package/es/index.d.ts +0 -1
  6. package/es/index.mjs +0 -1
  7. package/es/modules/actions/disassociate/__e2e__/templatesOfPage.mjs +1 -1
  8. package/es/modules/actions/view-edit-popup/PopupActionInitializer.mjs +1 -1
  9. package/es/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +1 -1
  10. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.mjs +1 -1
  11. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.mjs +12 -12
  12. package/es/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.mjs +2 -2
  13. package/es/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.mjs +2 -2
  14. package/es/modules/dialog/__e2e__/templatesOfBug.mjs +9 -9
  15. package/es/schema-component/antd/association-field/schema.mjs +1 -1
  16. package/es/schema-component/antd/menu/AdminMenu.mjs +5 -1
  17. package/es/schema-component/antd/menu/AdminMenu.style.mjs +3 -3
  18. package/es/schema-component/antd/menu/Menu.Designer.d.ts +1 -0
  19. package/es/schema-component/antd/menu/Menu.Designer.mjs +4 -3
  20. package/es/schema-component/antd/menu/Menu.mjs +24 -30
  21. package/es/schema-component/antd/menu/Menu.styles.mjs +4 -2
  22. package/es/schema-component/antd/menu/MenuAdd.d.ts +1 -0
  23. package/es/schema-component/antd/menu/MenuAdd.mjs +18 -0
  24. package/es/schema-component/antd/menu/MenuSearchAdd.d.ts +7 -0
  25. package/es/schema-component/antd/menu/MenuSearchAdd.mjs +41 -0
  26. package/es/schema-component/antd/menu/MenuSearchAdd.style.d.ts +3 -0
  27. package/es/schema-component/antd/menu/MenuSearchAdd.style.mjs +25 -0
  28. package/es/schema-component/common/sortable-item/SortableItem.d.ts +1 -0
  29. package/es/schema-initializer/SchemaInitializerPlugin.mjs +1 -0
  30. package/es/schema-initializer/buttons/TabPaneInitializers.d.ts +1 -0
  31. package/es/schema-initializer/buttons/TabPaneInitializers.mjs +9 -1
  32. package/lib/application/schema-initializer/components/SchemaInitializerButton.js +1 -1
  33. package/lib/built-in/admin-layout/AdminLayout.js +15 -1
  34. package/lib/built-in/index.js +99 -110
  35. package/lib/collection-manager/interfaces/properties/index.js +1 -1
  36. package/lib/index.js +71 -86
  37. package/lib/modules/actions/disassociate/__e2e__/templatesOfPage.js +1 -1
  38. package/lib/modules/actions/view-edit-popup/PopupActionInitializer.js +1 -1
  39. package/lib/modules/actions/view-edit-popup/UpdateActionInitializer.js +1 -1
  40. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.js +1 -1
  41. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.js +12 -12
  42. package/lib/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.js +2 -2
  43. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.js +2 -2
  44. package/lib/modules/dialog/__e2e__/templatesOfBug.js +9 -9
  45. package/lib/schema-component/antd/association-field/schema.js +1 -1
  46. package/lib/schema-component/antd/menu/AdminMenu.js +5 -1
  47. package/lib/schema-component/antd/menu/AdminMenu.style.js +3 -3
  48. package/lib/schema-component/antd/menu/Menu.Designer.js +4 -2
  49. package/lib/schema-component/antd/menu/Menu.js +24 -30
  50. package/lib/schema-component/antd/menu/Menu.styles.js +4 -2
  51. package/lib/{built-in/assistant/context.js → schema-component/antd/menu/MenuAdd.js} +18 -6
  52. package/lib/schema-component/antd/menu/{MenuSearch.js → MenuSearchAdd.js} +30 -21
  53. package/lib/schema-component/antd/menu/MenuSearchAdd.style.js +59 -0
  54. package/lib/schema-initializer/SchemaInitializerPlugin.js +1 -0
  55. package/lib/schema-initializer/buttons/TabPaneInitializers.js +9 -0
  56. package/package.json +7 -7
  57. package/es/built-in/assistant/Assistant.provider.d.ts +0 -3
  58. package/es/built-in/assistant/Assistant.provider.mjs +0 -28
  59. package/es/built-in/assistant/context.d.ts +0 -3
  60. package/es/built-in/assistant/context.mjs +0 -6
  61. package/es/built-in/assistant/index.d.ts +0 -6
  62. package/es/built-in/assistant/index.mjs +0 -9
  63. package/es/schema-component/antd/menu/MenuSearch.d.ts +0 -5
  64. package/es/schema-component/antd/menu/MenuSearch.mjs +0 -32
  65. package/lib/built-in/assistant/Assistant.provider.js +0 -62
  66. package/lib/built-in/assistant/index.js +0 -94
@@ -1,32 +0,0 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
2
- import * as __WEBPACK_EXTERNAL_MODULE_antd__ from "antd";
3
- import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
4
- import * as __WEBPACK_EXTERNAL_MODULE__index_mjs__ from "../../../index.mjs";
5
- const MenuSearch = (props)=>{
6
- const { setSearchMenuTitle } = props;
7
- const { t } = (0, __WEBPACK_EXTERNAL_MODULE__index_mjs__.useTranslation)();
8
- const debounceChangeValue = __WEBPACK_EXTERNAL_MODULE_lodash__["default"].debounce((value)=>{
9
- setSearchMenuTitle(value);
10
- }, 500);
11
- const handleSearch = (value, event)=>{
12
- event.stopPropagation();
13
- debounceChangeValue(value.trim());
14
- };
15
- const handleClear = (event)=>{
16
- if ('' === event.target.value) {
17
- event.stopPropagation();
18
- debounceChangeValue('');
19
- }
20
- };
21
- return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd__.Input.Search, {
22
- style: {
23
- width: '100%'
24
- },
25
- allowClear: true,
26
- placeholder: t('search Menu'),
27
- prefix: null,
28
- onSearch: handleSearch,
29
- onChange: handleClear
30
- });
31
- };
32
- export { MenuSearch };
@@ -1,62 +0,0 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = function(exports1, definition) {
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = function(obj, prop) {
13
- return Object.prototype.hasOwnProperty.call(obj, prop);
14
- };
15
- })();
16
- (()=>{
17
- __webpack_require__.r = function(exports1) {
18
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
19
- value: 'Module'
20
- });
21
- Object.defineProperty(exports1, '__esModule', {
22
- value: true
23
- });
24
- };
25
- })();
26
- var __webpack_exports__ = {};
27
- __webpack_require__.r(__webpack_exports__);
28
- __webpack_require__.d(__webpack_exports__, {
29
- AssistantProvider: ()=>AssistantProvider
30
- });
31
- const jsx_runtime_namespaceObject = require("react/jsx-runtime");
32
- const icons_namespaceObject = require("@ant-design/icons");
33
- const external_antd_namespaceObject = require("antd");
34
- const index_js_namespaceObject = require("../acl/index.js");
35
- const external_pinned_list_index_js_namespaceObject = require("../pinned-list/index.js");
36
- const AssistantProvider = (param)=>{
37
- let { children } = param;
38
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
39
- children: [
40
- children,
41
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_js_namespaceObject.ACLRolesCheckProvider, {
42
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.FloatButton.Group, {
43
- trigger: "click",
44
- type: "default",
45
- style: {
46
- right: 24,
47
- zIndex: 1250
48
- },
49
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icons_namespaceObject.ToolOutlined, {}),
50
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_pinned_list_index_js_namespaceObject.PinnedPluginList, {
51
- belongToFilter: "hoverbutton"
52
- })
53
- })
54
- })
55
- ]
56
- });
57
- };
58
- var __webpack_export_target__ = exports;
59
- for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
60
- if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
61
- value: true
62
- });
@@ -1,94 +0,0 @@
1
- "use strict";
2
- var __webpack_modules__ = {
3
- "../../application/Plugin": function(module) {
4
- module.exports = require("../../application/Plugin.js");
5
- },
6
- "./Assistant.provider": function(module) {
7
- module.exports = require("./Assistant.provider.js");
8
- },
9
- "./context?d80f": function(module) {
10
- module.exports = require("./context.js");
11
- }
12
- };
13
- var __webpack_module_cache__ = {};
14
- function __webpack_require__(moduleId) {
15
- var cachedModule = __webpack_module_cache__[moduleId];
16
- if (void 0 !== cachedModule) return cachedModule.exports;
17
- var module = __webpack_module_cache__[moduleId] = {
18
- exports: {}
19
- };
20
- __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
21
- return module.exports;
22
- }
23
- (()=>{
24
- __webpack_require__.n = function(module) {
25
- var getter = module && module.__esModule ? function() {
26
- return module['default'];
27
- } : function() {
28
- return module;
29
- };
30
- __webpack_require__.d(getter, {
31
- a: getter
32
- });
33
- return getter;
34
- };
35
- })();
36
- (()=>{
37
- __webpack_require__.d = function(exports1, definition) {
38
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
39
- enumerable: true,
40
- get: definition[key]
41
- });
42
- };
43
- })();
44
- (()=>{
45
- __webpack_require__.o = function(obj, prop) {
46
- return Object.prototype.hasOwnProperty.call(obj, prop);
47
- };
48
- })();
49
- (()=>{
50
- __webpack_require__.r = function(exports1) {
51
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
52
- value: 'Module'
53
- });
54
- Object.defineProperty(exports1, '__esModule', {
55
- value: true
56
- });
57
- };
58
- })();
59
- var __webpack_exports__ = {};
60
- __webpack_require__.r(__webpack_exports__);
61
- __webpack_require__.d(__webpack_exports__, {
62
- PluginAssistant: function() {
63
- return PluginAssistant;
64
- }
65
- });
66
- var _application_Plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../application/Plugin");
67
- var _Assistant_provider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./Assistant.provider");
68
- var _context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./context?d80f");
69
- var __WEBPACK_REEXPORT_OBJECT__ = {};
70
- for(var __WEBPACK_IMPORT_KEY__ in _context__WEBPACK_IMPORTED_MODULE_2__)if ([
71
- "default",
72
- "PluginAssistant"
73
- ].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
74
- return _context__WEBPACK_IMPORTED_MODULE_2__[key];
75
- }).bind(0, __WEBPACK_IMPORT_KEY__);
76
- __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
77
- var __WEBPACK_REEXPORT_OBJECT__ = {};
78
- for(var __WEBPACK_IMPORT_KEY__ in _Assistant_provider__WEBPACK_IMPORTED_MODULE_1__)if ([
79
- "PluginAssistant",
80
- "default"
81
- ].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
82
- return _Assistant_provider__WEBPACK_IMPORTED_MODULE_1__[key];
83
- }).bind(0, __WEBPACK_IMPORT_KEY__);
84
- __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
85
- class PluginAssistant extends _application_Plugin__WEBPACK_IMPORTED_MODULE_0__.Plugin {
86
- async afterLoad() {
87
- this.app.use(_Assistant_provider__WEBPACK_IMPORTED_MODULE_1__.AssistantProvider);
88
- }
89
- }
90
- var __webpack_export_target__ = exports;
91
- for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
92
- if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
93
- value: true
94
- });