@ibiz-template/mob-vue3-components 0.7.41-alpha.12 → 0.7.41-alpha.14

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 (83) hide show
  1. package/dist/index-Pq2AnubY.js +76 -0
  2. package/dist/index-Pq2AnubY.js.map +1 -0
  3. package/dist/index.min.css +8 -8
  4. package/dist/index.system.min.js +1 -1
  5. package/dist/{quill-7fiycnP7.js → quill-QfnovuHC.js} +2 -2
  6. package/dist/{quill-7fiycnP7.js.map → quill-QfnovuHC.js.map} +1 -1
  7. package/dist/{quill-editor-preview-GUdcFmjn.js → quill-editor-preview-0dI65Nu7.js} +2 -2
  8. package/dist/{quill-editor-preview-GUdcFmjn.js.map → quill-editor-preview-0dI65Nu7.js.map} +1 -1
  9. package/dist/{quill-editor-Nndlb9WE.js → quill-editor-x-OFlakL.js} +2 -2
  10. package/dist/{quill-editor-Nndlb9WE.js.map → quill-editor-x-OFlakL.js.map} +1 -1
  11. package/dist/tree-4CqtwsXL.js +2 -0
  12. package/dist/tree-4CqtwsXL.js.map +1 -0
  13. package/es/_virtual/index12.mjs +2 -2
  14. package/es/_virtual/index13.mjs +2 -2
  15. package/es/common/action-group/action-group.css +1 -0
  16. package/es/common/action-group/action-group.d.ts +54 -0
  17. package/es/common/action-group/action-group.mjs +165 -0
  18. package/es/common/action-toolbar/action-toolbar.d.ts +1 -0
  19. package/es/common/action-toolbar/action-toolbar.mjs +20 -8
  20. package/es/common/button-list/button-list.css +1 -1
  21. package/es/common/button-list/button-list.d.ts +3 -2
  22. package/es/common/button-list/button-list.mjs +83 -63
  23. package/es/common/index.mjs +2 -0
  24. package/es/common/rawitem/rawitem.mjs +2 -2
  25. package/es/control/list/md-ctrl/md-ctrl.mjs +13 -15
  26. package/es/control/tab-exp-panel/index.d.ts +1 -0
  27. package/es/control/tab-exp-panel/tab-exp-panel.css +1 -0
  28. package/es/control/tab-exp-panel/tab-exp-panel.d.ts +2 -0
  29. package/es/control/tab-exp-panel/tab-exp-panel.mjs +28 -1
  30. package/es/control/tree/tree.css +1 -1
  31. package/es/control/tree/tree.d.ts +15 -0
  32. package/es/control/tree/tree.mjs +14 -2
  33. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +2 -2
  34. package/es/editor/span/span/span.d.ts +5 -3
  35. package/es/editor/span/span/span.mjs +5 -5
  36. package/es/editor/upload/use/use-van-upload.mjs +19 -1
  37. package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.mjs +1 -1
  38. package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.mjs +1 -1
  39. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.d.ts +54 -0
  40. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.mjs +76 -0
  41. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
  42. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.d.ts +43 -0
  43. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.mjs +80 -0
  44. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.d.ts +14 -0
  45. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.mjs +21 -0
  46. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.d.ts +10 -0
  47. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.mjs +7 -0
  48. package/es/panel-component/index-blank-placeholder/index.d.ts +25 -0
  49. package/es/panel-component/index-blank-placeholder/index.mjs +19 -0
  50. package/es/panel-component/index.mjs +2 -0
  51. package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +1 -1
  52. package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +19 -18
  53. package/lib/_virtual/index12.cjs +2 -2
  54. package/lib/_virtual/index13.cjs +2 -2
  55. package/lib/common/action-group/action-group.cjs +167 -0
  56. package/lib/common/action-group/action-group.css +1 -0
  57. package/lib/common/action-toolbar/action-toolbar.cjs +20 -8
  58. package/lib/common/button-list/button-list.cjs +82 -62
  59. package/lib/common/button-list/button-list.css +1 -1
  60. package/lib/common/index.cjs +2 -0
  61. package/lib/common/rawitem/rawitem.cjs +2 -2
  62. package/lib/control/list/md-ctrl/md-ctrl.cjs +12 -14
  63. package/lib/control/tab-exp-panel/tab-exp-panel.cjs +27 -0
  64. package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -0
  65. package/lib/control/tree/tree.cjs +14 -2
  66. package/lib/control/tree/tree.css +1 -1
  67. package/lib/editor/span/span/span.cjs +5 -5
  68. package/lib/editor/upload/use/use-van-upload.cjs +19 -1
  69. package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.cjs +1 -1
  70. package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.cjs +1 -1
  71. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.cjs +82 -0
  72. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.controller.cjs +78 -0
  73. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
  74. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.provider.cjs +23 -0
  75. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.state.cjs +9 -0
  76. package/lib/panel-component/index-blank-placeholder/index.cjs +25 -0
  77. package/lib/panel-component/index.cjs +2 -0
  78. package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +18 -17
  79. package/package.json +6 -6
  80. package/dist/index-yGM1h2Ma.js +0 -76
  81. package/dist/index-yGM1h2Ma.js.map +0 -1
  82. package/dist/tree-nburezSg.js +0 -2
  83. package/dist/tree-nburezSg.js.map +0 -1
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ var indexBlankPlaceholder_controller = require('./index-blank-placeholder.controller.cjs');
4
+
5
+ "use strict";
6
+ var __defProp = Object.defineProperty;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __publicField = (obj, key, value) => {
9
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10
+ return value;
11
+ };
12
+ class IndexBlankPlaceholderProvider {
13
+ constructor() {
14
+ __publicField(this, "component", "IBizIndexBlankPlaceholder");
15
+ }
16
+ async createController(panelItem, panel, parent) {
17
+ const c = new indexBlankPlaceholder_controller.IndexBlankPlaceholderController(panelItem, panel, parent);
18
+ await c.init();
19
+ return c;
20
+ }
21
+ }
22
+
23
+ exports.IndexBlankPlaceholderProvider = IndexBlankPlaceholderProvider;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var runtime = require('@ibiz-template/runtime');
4
+
5
+ "use strict";
6
+ class IndexBlankPlaceholderState extends runtime.PanelItemState {
7
+ }
8
+
9
+ exports.IndexBlankPlaceholderState = IndexBlankPlaceholderState;
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('@ibiz-template/runtime');
6
+ var vue3Util = require('@ibiz-template/vue3-util');
7
+ var indexBlankPlaceholder = require('./index-blank-placeholder.cjs');
8
+ var indexBlankPlaceholder_provider = require('./index-blank-placeholder.provider.cjs');
9
+ var indexBlankPlaceholder_controller = require('./index-blank-placeholder.controller.cjs');
10
+
11
+ "use strict";
12
+ const IBizIndexBlankPlaceholder = vue3Util.withInstall(
13
+ indexBlankPlaceholder.IndexBlankPlaceholder,
14
+ function(v) {
15
+ v.component(indexBlankPlaceholder.IndexBlankPlaceholder.name, indexBlankPlaceholder.IndexBlankPlaceholder);
16
+ runtime.registerPanelItemProvider(
17
+ "CONTAINER_INDEX_BLANK_PLACEHOLDER",
18
+ () => new indexBlankPlaceholder_provider.IndexBlankPlaceholderProvider()
19
+ );
20
+ }
21
+ );
22
+
23
+ exports.IndexBlankPlaceholderController = indexBlankPlaceholder_controller.IndexBlankPlaceholderController;
24
+ exports.IBizIndexBlankPlaceholder = IBizIndexBlankPlaceholder;
25
+ exports.default = IBizIndexBlankPlaceholder;
@@ -19,6 +19,7 @@ var index$c = require('./async-action/index.cjs');
19
19
  var index$d = require('./panel-button-list/index.cjs');
20
20
  var index$e = require('./auth-sso/index.cjs');
21
21
  var index$f = require('./panel-app-title/index.cjs');
22
+ var index$g = require('./index-blank-placeholder/index.cjs');
22
23
 
23
24
  "use strict";
24
25
  const IBizPanelComponents = {
@@ -53,6 +54,7 @@ const IBizPanelComponents = {
53
54
  v.use(index$e.IBizAuthSso);
54
55
  v.use(vue3Util.IBizAuthWxmpQrcode);
55
56
  v.use(index$f.IBizPanelAppTitle);
57
+ v.use(index$g.IBizIndexBlankPlaceholder);
56
58
  }
57
59
  };
58
60
 
@@ -47,20 +47,22 @@ class PanelButtonListController extends runtime.PanelItemController {
47
47
  * @memberof PanelButtonListController
48
48
  */
49
49
  async initButtonsState() {
50
- var _a;
51
50
  const { buttonListType, uiactionGroup, panelButtons } = this.model;
52
51
  if (buttonListType === "UIACTIONGROUP") {
53
- (_a = uiactionGroup == null ? void 0 : uiactionGroup.uiactionGroupDetails) == null ? void 0 : _a.forEach((detail) => {
54
- if (detail.uiactionId) {
55
- const buttonState = new runtime.UIActionButtonState(
56
- detail.id,
57
- this.model.appId,
58
- detail.uiactionId,
59
- detail
60
- );
61
- this.state.buttonsState.addState(detail.id, buttonState);
62
- }
63
- });
52
+ if (uiactionGroup == null ? void 0 : uiactionGroup.uiactionGroupDetails) {
53
+ const actions = runtime.getAllUIActionItems(uiactionGroup.uiactionGroupDetails);
54
+ actions.forEach((detail) => {
55
+ if (detail.uiactionId) {
56
+ const buttonState = new runtime.UIActionButtonState(
57
+ detail.id,
58
+ detail.appId,
59
+ detail.uiactionId,
60
+ detail
61
+ );
62
+ this.state.buttonsState.addState(detail.id, buttonState);
63
+ }
64
+ });
65
+ }
64
66
  } else {
65
67
  panelButtons == null ? void 0 : panelButtons.forEach((button) => {
66
68
  if (button.uiactionId) {
@@ -112,12 +114,11 @@ class PanelButtonListController extends runtime.PanelItemController {
112
114
  * @memberof PanelButtonListController
113
115
  */
114
116
  getModelById(id) {
115
- var _a;
116
117
  const { buttonListType, uiactionGroup, panelButtons } = this.model;
117
- if (buttonListType === "UIACTIONGROUP")
118
- return (_a = uiactionGroup == null ? void 0 : uiactionGroup.uiactionGroupDetails) == null ? void 0 : _a.find(
119
- (detail) => detail.id === id
120
- );
118
+ if (buttonListType === "UIACTIONGROUP") {
119
+ const actions = runtime.getAllUIActionItems(uiactionGroup == null ? void 0 : uiactionGroup.uiactionGroupDetails);
120
+ return actions.find((detail) => detail.id === id);
121
+ }
121
122
  return panelButtons == null ? void 0 : panelButtons.find((button) => button.id === id);
122
123
  }
123
124
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/mob-vue3-components",
3
- "version": "0.7.41-alpha.12",
3
+ "version": "0.7.41-alpha.14",
4
4
  "description": "移动端组件库(vue3)",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -27,14 +27,14 @@
27
27
  "dependencies": {
28
28
  "@floating-ui/dom": "^1.5.3",
29
29
  "@ibiz-template-package/vs-tree-ex": "^0.1.1",
30
- "@ibiz-template/core": "0.7.41-alpha.18",
31
- "@ibiz-template/model-helper": "0.7.41-alpha.22",
32
- "@ibiz-template/runtime": "0.7.41-alpha.22",
30
+ "@ibiz-template/core": "0.7.41-alpha.23",
31
+ "@ibiz-template/model-helper": "0.7.41-alpha.25",
32
+ "@ibiz-template/runtime": "0.7.41-alpha.25",
33
33
  "@ibiz-template/theme": "0.7.39",
34
- "@ibiz-template/vue3-util": "0.7.41-alpha.22",
34
+ "@ibiz-template/vue3-util": "0.7.41-alpha.25",
35
35
  "@ibiz-template/devtool": "0.0.11",
36
36
  "@ibiz/model-core": "^0.1.81",
37
- "@ibiz-template/mob-theme": "3.0.0",
37
+ "@ibiz-template/mob-theme": "3.1.0",
38
38
  "async-validator": "^4.2.5",
39
39
  "cherry-markdown": "^0.8.26",
40
40
  "dingtalk-jsapi": "^3.0.38",