@ibiz-template/vue3-components 0.7.28-alpha.0 → 0.7.28

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 (156) hide show
  1. package/dist/chart-4KHwhatb.js +1 -0
  2. package/dist/index-X_i16UJh.js +4 -0
  3. package/dist/index.min.css +1 -1
  4. package/dist/index.system.min.js +1 -1
  5. package/dist/{xlsx-util-nADTbeWP.js → xlsx-util-z-jllHFG.js} +1 -1
  6. package/es/common/action-toolbar/action-toolbar.mjs +4 -3
  7. package/es/common/custom-theme/custom-theme.mjs +3 -2
  8. package/es/common/data-import2/data-import2.mjs +2 -5
  9. package/es/common/emoji-select/components/categories/categories.mjs +2 -1
  10. package/es/common/extend-action-timeline/extend-action-timeline.mjs +3 -2
  11. package/es/common/grid-setting/grid-setting.mjs +2 -1
  12. package/es/common/index.mjs +2 -0
  13. package/es/common/pagination/pagination.mjs +2 -1
  14. package/es/common/quick-edit/quick-edit.css +1 -0
  15. package/es/common/quick-edit/quick-edit.d.ts +38 -0
  16. package/es/common/quick-edit/quick-edit.mjs +116 -0
  17. package/es/common/rawitem/rawitem.mjs +2 -1
  18. package/es/control/app-menu/app-menu.mjs +2 -2
  19. package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +2 -2
  20. package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +3 -2
  21. package/es/control/calendar/calendar.mjs +2 -1
  22. package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +2 -1
  23. package/es/control/calendar/components/calendar-week/calendar-week.mjs +2 -1
  24. package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +3 -2
  25. package/es/control/chart/chart.mjs +8 -0
  26. package/es/control/context-menu/context-menu.mjs +4 -3
  27. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +2 -1
  28. package/es/control/dashboard/dashboard-design/dashboard-design.mjs +3 -2
  29. package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.mjs +3 -2
  30. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +2 -1
  31. package/es/control/drtab/drtab-control.util.mjs +1 -1
  32. package/es/control/drtab/drtab.mjs +2 -1
  33. package/es/control/form/form-detail/form-button/form-button.mjs +2 -1
  34. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  35. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +5 -2
  36. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +2 -2
  37. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +2 -1
  38. package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.mjs +2 -1
  39. package/es/control/grid/grid/grid.css +1 -1
  40. package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +3 -2
  41. package/es/control/grid/row-edit-popover/row-edit-popover.d.ts +1 -1
  42. package/es/control/kanban/kanban.mjs +2 -2
  43. package/es/control/list/list.mjs +2 -1
  44. package/es/control/report-panel/report-panel.d.ts +1 -2
  45. package/es/control/report-panel/report-panel.mjs +3 -21
  46. package/es/control/search-bar/filter-tree/filter-tree.d.ts +1 -1
  47. package/es/control/search-bar/search-bar.mjs +3 -2
  48. package/es/control/search-bar/search-groups/search-groups.mjs +6 -6
  49. package/es/control/toolbar/export-excel/export-excel.mjs +3 -2
  50. package/es/control/toolbar/short-cut-button/short-cut-button.mjs +2 -4
  51. package/es/control/toolbar/toolbar.mjs +7 -6
  52. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +3 -2
  53. package/es/control/wizard-panel/wizard-panel.mjs +2 -1
  54. package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -0
  55. package/es/editor/array/ibiz-array/ibiz-array.mjs +12 -3
  56. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +2 -1
  57. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +2 -1
  58. package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +2 -1
  59. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +2 -1
  60. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +9 -4
  61. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
  62. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +10 -3
  63. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
  64. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +5 -2
  65. package/es/editor/text-box/input/input.d.ts +1 -0
  66. package/es/editor/text-box/input/input.mjs +15 -2
  67. package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +2 -1
  68. package/es/index.mjs +1 -0
  69. package/es/panel-component/auth-captcha/auth-captcha.mjs +2 -1
  70. package/es/panel-component/panel-button/panel-button.mjs +2 -1
  71. package/es/panel-component/short-cut/short-cut.mjs +2 -2
  72. package/es/panel-component/user-action/user-action.mjs +2 -1
  73. package/es/panel-component/user-message/async-action/async-action/async-action.mjs +2 -1
  74. package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +2 -1
  75. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.d.ts +1 -0
  76. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.mjs +10 -4
  77. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.provider.d.ts +1 -0
  78. package/es/panel-component/user-message/user-message.mjs +3 -2
  79. package/es/util/index.d.ts +1 -0
  80. package/es/util/index.mjs +1 -0
  81. package/es/util/notification-util/notification-util.mjs +3 -1
  82. package/es/util/wang-editor-util/wang-editor-util.d.ts +11 -0
  83. package/es/util/wang-editor-util/wang-editor-util.mjs +12 -0
  84. package/es/web-app/create-vue-app.mjs +8 -0
  85. package/lib/common/action-toolbar/action-toolbar.cjs +4 -3
  86. package/lib/common/custom-theme/custom-theme.cjs +3 -2
  87. package/lib/common/data-import2/data-import2.cjs +1 -4
  88. package/lib/common/emoji-select/components/categories/categories.cjs +2 -1
  89. package/lib/common/extend-action-timeline/extend-action-timeline.cjs +3 -2
  90. package/lib/common/grid-setting/grid-setting.cjs +2 -1
  91. package/lib/common/index.cjs +2 -0
  92. package/lib/common/pagination/pagination.cjs +2 -1
  93. package/lib/common/quick-edit/quick-edit.cjs +118 -0
  94. package/lib/common/quick-edit/quick-edit.css +1 -0
  95. package/lib/common/rawitem/rawitem.cjs +2 -1
  96. package/lib/control/app-menu/app-menu.cjs +1 -1
  97. package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +1 -1
  98. package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +3 -2
  99. package/lib/control/calendar/calendar.cjs +2 -1
  100. package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +2 -1
  101. package/lib/control/calendar/components/calendar-week/calendar-week.cjs +2 -1
  102. package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +3 -2
  103. package/lib/control/chart/chart.cjs +8 -0
  104. package/lib/control/context-menu/context-menu.cjs +4 -3
  105. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +2 -1
  106. package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +3 -2
  107. package/lib/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.cjs +3 -2
  108. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +2 -1
  109. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  110. package/lib/control/drtab/drtab.cjs +2 -1
  111. package/lib/control/form/form-detail/form-button/form-button.cjs +2 -1
  112. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +5 -2
  113. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  114. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +1 -1
  115. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +2 -1
  116. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.cjs +2 -1
  117. package/lib/control/grid/grid/grid.css +1 -1
  118. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +3 -2
  119. package/lib/control/kanban/kanban.cjs +1 -1
  120. package/lib/control/list/list.cjs +2 -1
  121. package/lib/control/report-panel/report-panel.cjs +1 -19
  122. package/lib/control/search-bar/search-bar.cjs +3 -2
  123. package/lib/control/search-bar/search-groups/search-groups.cjs +5 -5
  124. package/lib/control/toolbar/export-excel/export-excel.cjs +3 -2
  125. package/lib/control/toolbar/short-cut-button/short-cut-button.cjs +2 -4
  126. package/lib/control/toolbar/toolbar.cjs +7 -6
  127. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +3 -2
  128. package/lib/control/wizard-panel/wizard-panel.cjs +2 -1
  129. package/lib/editor/array/ibiz-array/ibiz-array.cjs +12 -3
  130. package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +2 -1
  131. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +2 -1
  132. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +2 -1
  133. package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +2 -1
  134. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +9 -4
  135. package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +10 -3
  136. package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +5 -2
  137. package/lib/editor/text-box/input/input.cjs +15 -2
  138. package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +2 -1
  139. package/lib/index.cjs +2 -0
  140. package/lib/panel-component/auth-captcha/auth-captcha.cjs +2 -1
  141. package/lib/panel-component/panel-button/panel-button.cjs +2 -1
  142. package/lib/panel-component/short-cut/short-cut.cjs +1 -1
  143. package/lib/panel-component/user-action/user-action.cjs +2 -1
  144. package/lib/panel-component/user-message/async-action/async-action/async-action.cjs +2 -1
  145. package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.cjs +2 -1
  146. package/lib/panel-component/user-message/internal-message/internal-message-html/internal-message-html.cjs +9 -3
  147. package/lib/panel-component/user-message/user-message.cjs +3 -2
  148. package/lib/util/index.cjs +2 -0
  149. package/lib/util/notification-util/notification-util.cjs +3 -1
  150. package/lib/util/wang-editor-util/wang-editor-util.cjs +14 -0
  151. package/lib/web-app/create-vue-app.cjs +8 -0
  152. package/package.json +6 -6
  153. package/dist/chart-HuCq_rW2.js +0 -1
  154. package/dist/index-QB7iGpIB.js +0 -4
  155. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.28-alpha.0_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.28_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
  156. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.28-alpha.0_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.28_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
@@ -1,6 +1,7 @@
1
1
  import { isVNode, ref, resolveComponent, createVNode, defineComponent } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import './action-toolbar.css';
4
+ import { showTitle } from '@ibiz-template/core';
4
5
 
5
6
  "use strict";
6
7
  function _isSlot(s) {
@@ -104,7 +105,7 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
104
105
  "text": true,
105
106
  "size": "small",
106
107
  "onClick": (e) => this.handleClick(detail, e),
107
- "title": ibiz.env.enableTitle ? detail.tooltip : void 0,
108
+ "title": showTitle(detail.tooltip),
108
109
  "disabled": this.actionsState[detail.id].disabled,
109
110
  "class": this.calcActionItemClass(detail)
110
111
  }, {
@@ -144,7 +145,7 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
144
145
  icon: () => createVNode("ion-icon", {
145
146
  "class": this.ns.e("icon"),
146
147
  "name": "ellipsis-vertical",
147
- "title": ibiz.i18n.t("component.actionToolbar.more")
148
+ "title": showTitle(ibiz.i18n.t("component.actionToolbar.more"))
148
149
  }, null)
149
150
  }), createVNode(resolveComponent("el-popover"), {
150
151
  "placement": "bottom-start",
@@ -185,7 +186,7 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
185
186
  if (this.actionsState[detail.id].visible) {
186
187
  return createVNode(resolveComponent("el-dropdown-item"), {
187
188
  "class": [this.ns.e("item"), this.ns.is("disabled", false)],
188
- "title": detail.tooltip,
189
+ "title": showTitle(detail.tooltip),
189
190
  "disabled": this.actionsState[detail.id].disabled,
190
191
  "command": detail
191
192
  }, {
@@ -1,5 +1,6 @@
1
1
  import { isVNode, getCurrentInstance, ref, resolveComponent, createVNode, defineComponent } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
+ import { showTitle } from '@ibiz-template/core';
3
4
  import { CustomThemeController } from './custom-theme.controller.mjs';
4
5
  import './custom-theme.css';
5
6
 
@@ -110,7 +111,7 @@ const CustomTheme = /* @__PURE__ */ defineComponent({
110
111
  "class": ns.b("var")
111
112
  }, [createVNode("span", {
112
113
  "class": ns.be("var", "description"),
113
- "title": ibiz.i18n.t("control.common.customTheme.".concat(data.descLang))
114
+ "title": showTitle(ibiz.i18n.t("control.common.customTheme.".concat(data.descLang)))
114
115
  }, [ibiz.i18n.t("control.common.customTheme.".concat(data.labelLang))]), content]);
115
116
  })])]);
116
117
  };
@@ -124,7 +125,7 @@ const CustomTheme = /* @__PURE__ */ defineComponent({
124
125
  }, [c.predefineType.map((item) => {
125
126
  return createVNode(resolveComponent("el-button"), {
126
127
  "color": item.color,
127
- "title": ibiz.env.enableTitle ? ibiz.i18n.t("control.common.customTheme.".concat(item.labelLang)) : void 0,
128
+ "title": showTitle(ibiz.i18n.t("control.common.customTheme.".concat(item.labelLang))),
128
129
  "onClick": () => {
129
130
  handleThemeChange(item.codeName);
130
131
  }
@@ -2,7 +2,7 @@ import { isVNode, ref, watch, onMounted, computed, createVNode, resolveComponent
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import qs from 'qs';
4
4
  import { getCookie } from 'qx-util';
5
- import { CoreConst } from '@ibiz-template/core';
5
+ import { CoreConst, showTitle } from '@ibiz-template/core';
6
6
  import { clone } from 'ramda';
7
7
  import './data-import2.css';
8
8
  import { getDefaultDataImport, getImportSchema, updateImportSchema, createImportSchema, asyncImportData2, fetchImportSchemas } from '@ibiz-template/runtime';
@@ -413,10 +413,7 @@ const DataImport2 = /* @__PURE__ */ defineComponent({
413
413
  }, [createVNode(resolveComponent("el-button"), {
414
414
  "onClick": this.onButtonImportClick,
415
415
  "disabled": !this.selectValues.join(""),
416
- "title": (
417
- // eslint-disable-next-line no-nested-ternary
418
- ibiz.env.enableTitle ? !this.selectValues.join("") ? ibiz.i18n.t("component.dataImport2.selectProperties") : "" : void 0
419
- )
416
+ "title": showTitle(!this.selectValues.join("") ? ibiz.i18n.t("component.dataImport2.selectProperties") : "")
420
417
  }, _isSlot(_slot2 = ibiz.i18n.t("component.dataImport2.import")) ? _slot2 : {
421
418
  default: () => [_slot2]
422
419
  })]) : ""])])])]), createVNode(resolveComponent("data-import2-table"), {
@@ -1,6 +1,7 @@
1
1
  import { createVNode, defineComponent } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import './categories.css';
4
+ import { showTitle } from '@ibiz-template/core';
4
5
 
5
6
  "use strict";
6
7
  const Categories = /* @__PURE__ */ defineComponent({
@@ -38,7 +39,7 @@ const Categories = /* @__PURE__ */ defineComponent({
38
39
  "onClick": () => this.onSelect(category)
39
40
  }, [createVNode("span", {
40
41
  "class": this.ns.em("category", "svg"),
41
- "title": category.label,
42
+ "title": showTitle(category.label),
42
43
  "innerHTML": category.icon
43
44
  }, null)]);
44
45
  })]);
@@ -3,6 +3,7 @@ import dayjs from 'dayjs';
3
3
  import { clone } from 'ramda';
4
4
  import './extend-action-timeline.css';
5
5
  import { useNamespace } from '@ibiz-template/vue3-util';
6
+ import { showTitle } from '@ibiz-template/core';
6
7
 
7
8
  "use strict";
8
9
  const acceptingOfficerNoDup = (tag, dataS) => {
@@ -142,10 +143,10 @@ const IBizExtendActionTimeLine = /* @__PURE__ */ defineComponent({
142
143
  "class": [ns.be("task", "user-task-name"), ns.is("task-link", task.linkName)]
143
144
  }, [task.taskName]), task.linkName ? createVNode("div", {
144
145
  "class": ns.be("task", "link-name"),
145
- "title": task.linkName
146
+ "title": showTitle(task.linkName)
146
147
  }, [task.linkName]) : null, createVNode("div", {
147
148
  "class": [ns.be("task", "author-name"), ns.is("has-type", task.type)],
148
- "title": task.authorName
149
+ "title": showTitle(task.authorName)
149
150
  }, [task.authorName]), task.type && createVNode("div", {
150
151
  "class": ns.be("task", "type")
151
152
  }, [task.type]), task.time && createVNode("div", {
@@ -2,6 +2,7 @@ import { computed, resolveComponent, createVNode, defineComponent } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import './grid-setting.css';
4
4
  import draggable from 'vuedraggable';
5
+ import { showTitle } from '@ibiz-template/core';
5
6
 
6
7
  "use strict";
7
8
  const IBizGridSetting = /* @__PURE__ */ defineComponent({
@@ -67,7 +68,7 @@ const IBizGridSetting = /* @__PURE__ */ defineComponent({
67
68
  return createVNode("ion-icon", {
68
69
  "name": "options-outline",
69
70
  "class": this.ns.b("set-icon"),
70
- "title": ibiz.i18n.t("component.gridSetting.hideControl")
71
+ "title": showTitle(ibiz.i18n.t("component.gridSetting.hideControl"))
71
72
  }, null);
72
73
  },
73
74
  default: () => {
@@ -22,11 +22,13 @@ import { IBizCoopAlert } from './coop-alert/coop-alert.mjs';
22
22
  import { CustomTheme } from './custom-theme/custom-theme.mjs';
23
23
  import { IBizCarouselCard } from './carousel-card/carousel-card.mjs';
24
24
  import { IBizEmojiSelect } from './emoji-select/emoji-select.mjs';
25
+ import { IBizQuickEdit } from './quick-edit/quick-edit.mjs';
25
26
 
26
27
  "use strict";
27
28
  const IBizCommonComponents = {
28
29
  install: (v) => {
29
30
  v.component(IBizControlBase.name, IBizControlBase);
31
+ v.component(IBizQuickEdit.name, IBizQuickEdit);
30
32
  v.component(IBizEmojiSelect.name, IBizEmojiSelect);
31
33
  v.component(IBizIcon.name, IBizIcon);
32
34
  v.component(DoingNotice.name, DoingNotice);
@@ -2,6 +2,7 @@ import { computed, resolveComponent, mergeProps, createVNode, createTextVNode, d
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import { isNil } from 'ramda';
4
4
  import './pagination.css';
5
+ import { showTitle } from '@ibiz-template/core';
5
6
 
6
7
  "use strict";
7
8
  const IBizPagination = /* @__PURE__ */ defineComponent({
@@ -80,7 +81,7 @@ const IBizPagination = /* @__PURE__ */ defineComponent({
80
81
  default: () => [createVNode("span", {
81
82
  "class": this.ns.b("btn")
82
83
  }, [createVNode(resolveComponent("el-button"), {
83
- "title": ibiz.i18n.t("app.refresh"),
84
+ "title": showTitle(ibiz.i18n.t("app.refresh")),
84
85
  "onClick": this.pageRefresh
85
86
  }, {
86
87
  default: () => [createVNode("ion-icon", {
@@ -0,0 +1 @@
1
+ .ibiz-quick-edit__footer{display:flex;justify-content:end;padding:var(--ibiz-spacing-tight)}
@@ -0,0 +1,38 @@
1
+ import { PropType } from 'vue';
2
+ import { IDEEditForm } from '@ibiz/model-core';
3
+ import { EventBase, IModalData } from '@ibiz-template/runtime';
4
+ import './quick-edit.scss';
5
+ export declare const IBizQuickEdit: import("vue").DefineComponent<{
6
+ context: {
7
+ type: PropType<IContext>;
8
+ required: true;
9
+ };
10
+ params: {
11
+ type: PropType<IParams>;
12
+ required: true;
13
+ };
14
+ modelData: {
15
+ type: PropType<IDEEditForm>;
16
+ };
17
+ }, {
18
+ ns: import("@ibiz-template/core").Namespace;
19
+ onCreated: (event: EventBase) => void;
20
+ onConfirm: () => void;
21
+ onCancel: () => void;
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ close: (_modalData: IModalData) => true;
24
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ context: {
26
+ type: PropType<IContext>;
27
+ required: true;
28
+ };
29
+ params: {
30
+ type: PropType<IParams>;
31
+ required: true;
32
+ };
33
+ modelData: {
34
+ type: PropType<IDEEditForm>;
35
+ };
36
+ }>> & {
37
+ onClose?: ((_modalData: IModalData) => any) | undefined;
38
+ }, {}, {}>;
@@ -0,0 +1,116 @@
1
+ import { isVNode, ref, resolveComponent, createVNode, defineComponent } from 'vue';
2
+ import { useNamespace } from '@ibiz-template/vue3-util';
3
+ import { findChildFormDetails } from '@ibiz-template/runtime';
4
+ import './quick-edit.css';
5
+
6
+ "use strict";
7
+ function _isSlot(s) {
8
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
9
+ }
10
+ const IBizQuickEdit = /* @__PURE__ */ defineComponent({
11
+ name: "IBizQuickEdit",
12
+ props: {
13
+ context: {
14
+ type: Object,
15
+ required: true
16
+ },
17
+ params: {
18
+ type: Object,
19
+ required: true
20
+ },
21
+ modelData: {
22
+ type: Object
23
+ }
24
+ },
25
+ emits: {
26
+ close: (_modalData) => true
27
+ },
28
+ setup(props, {
29
+ emit
30
+ }) {
31
+ const ns = useNamespace("quick-edit");
32
+ const controller = ref(void 0);
33
+ const editItemModel = [];
34
+ const findEditItem = (detail) => {
35
+ const childern = findChildFormDetails(detail);
36
+ childern.forEach((child) => {
37
+ if (child.detailType === "FORMITEM" && !child.hidden) {
38
+ editItemModel.push(child);
39
+ }
40
+ findEditItem(child);
41
+ });
42
+ };
43
+ const init = () => {
44
+ var _a;
45
+ if (props.modelData) {
46
+ (_a = props.modelData.deformPages) == null ? void 0 : _a.forEach((child) => {
47
+ findEditItem(child);
48
+ });
49
+ }
50
+ };
51
+ init();
52
+ const onCreated = (event) => {
53
+ controller.value = event.ctrl;
54
+ };
55
+ const getEditItemData = () => {
56
+ const data = {};
57
+ const item = controller.value.getDiffData();
58
+ editItemModel.forEach((formItem) => {
59
+ const uiKey = formItem.id.toLowerCase();
60
+ const deKey = formItem.fieldName || formItem.appDEFieldId;
61
+ if (item[uiKey]) {
62
+ data[deKey] = item[uiKey];
63
+ }
64
+ });
65
+ return data;
66
+ };
67
+ const onConfirm = () => {
68
+ let data;
69
+ if (controller.value) {
70
+ const item = getEditItemData();
71
+ if (Object.keys(item).length > 0) {
72
+ data = [item];
73
+ }
74
+ }
75
+ emit("close", {
76
+ ok: true,
77
+ data
78
+ });
79
+ };
80
+ const onCancel = () => {
81
+ emit("close", {
82
+ ok: false
83
+ });
84
+ };
85
+ return {
86
+ ns,
87
+ onCreated,
88
+ onConfirm,
89
+ onCancel
90
+ };
91
+ },
92
+ render() {
93
+ let _slot, _slot2;
94
+ return createVNode("div", {
95
+ "class": this.ns.b()
96
+ }, [createVNode(resolveComponent("iBizControlShell"), {
97
+ "params": this.params,
98
+ "context": this.context,
99
+ "modelData": this.modelData,
100
+ "onCreated": this.onCreated
101
+ }, null), createVNode("div", {
102
+ "class": this.ns.e("footer")
103
+ }, [createVNode(resolveComponent("el-button"), {
104
+ "text": true,
105
+ "onClick": this.onCancel
106
+ }, _isSlot(_slot = ibiz.i18n.t("app.cancel")) ? _slot : {
107
+ default: () => [_slot]
108
+ }), createVNode(resolveComponent("el-button"), {
109
+ "onClick": this.onConfirm
110
+ }, _isSlot(_slot2 = ibiz.i18n.t("app.confirm")) ? _slot2 : {
111
+ default: () => [_slot2]
112
+ })])]);
113
+ }
114
+ });
115
+
116
+ export { IBizQuickEdit };
@@ -2,6 +2,7 @@ import { ref, watch, resolveComponent, createVNode, defineComponent } from 'vue'
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import { createUUID } from 'qx-util';
4
4
  import './rawitem.css';
5
+ import { showTitle } from '@ibiz-template/core';
5
6
 
6
7
  "use strict";
7
8
  const IBizRawItem = /* @__PURE__ */ defineComponent({
@@ -227,7 +228,7 @@ const IBizRawItem = /* @__PURE__ */ defineComponent({
227
228
  }
228
229
  if (this.rawItemType === "INFO" || this.rawItemType === "WARNING" || this.rawItemType === "ERROR") {
229
230
  return createVNode(resolveComponent("el-alert"), {
230
- "title": this.alertParams.title,
231
+ "title": showTitle(this.alertParams.title),
231
232
  "type": this.alertParams.type,
232
233
  "show-icon": this.alertParams.showIcon,
233
234
  "closable": this.alertParams.closeabled
@@ -1,5 +1,5 @@
1
1
  import { isVNode, resolveComponent, createVNode, ref, watch, onUnmounted, computed, defineComponent } from 'vue';
2
- import { RuntimeError } from '@ibiz-template/core';
2
+ import { RuntimeError, showTitle } from '@ibiz-template/core';
3
3
  import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
4
4
  import { createUUID } from 'qx-util';
5
5
  import { AppMenuController, ViewCallTag } from '@ibiz-template/runtime';
@@ -101,7 +101,7 @@ function renderMenuItem(isFirst, menu, collapse, ns, c, counterData, saveConfigs
101
101
  "class": ns.e("item"),
102
102
  "index": menu.key,
103
103
  "disabled": menu.disabled,
104
- "title": menu.tooltip
104
+ "title": showTitle(menu.tooltip)
105
105
  }, _isSlot(content) ? content : {
106
106
  default: () => [content]
107
107
  }) : createVNode(resolveComponent("el-tooltip"), {
@@ -1,7 +1,7 @@
1
1
  import { isVNode, ref, resolveComponent, createVNode, defineComponent } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import './custom-menu-design.css';
4
- import { RuntimeError } from '@ibiz-template/core';
4
+ import { RuntimeError, showTitle } from '@ibiz-template/core';
5
5
  import { cloneDeep } from 'lodash-es';
6
6
 
7
7
  "use strict";
@@ -239,7 +239,7 @@ const MenuDesign = /* @__PURE__ */ defineComponent({
239
239
  return createVNode("div", {
240
240
  "class": this.ns.b()
241
241
  }, [createVNode("div", {
242
- "title": ibiz.i18n.t("control.menu.menuSetting"),
242
+ "title": showTitle(ibiz.i18n.t("control.menu.menuSetting")),
243
243
  "onClick": this.openDesign
244
244
  }, [createVNode("svg", {
245
245
  "viewBox": "0 0 16 16",
@@ -2,6 +2,7 @@ import { isVNode, ref, resolveComponent, createVNode, defineComponent } from 'vu
2
2
  import { AppMenuIconViewController } from '@ibiz-template/runtime';
3
3
  import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
4
4
  import './app-menu-icon-view.css';
5
+ import { showTitle } from '@ibiz-template/core';
5
6
 
6
7
  "use strict";
7
8
  function _isSlot(s) {
@@ -49,7 +50,7 @@ const AppMenuIconViewControl = /* @__PURE__ */ defineComponent({
49
50
  }
50
51
  return createVNode("div", {
51
52
  "class": [ns.b("item"), ns.is("disabled", !item.appFuncId)],
52
- "title": item.tooltip || item.caption,
53
+ "title": showTitle(item.tooltip || item.caption),
53
54
  "onClick": (event) => {
54
55
  if (item.appFuncId) {
55
56
  onClick(item.id, event);
@@ -70,7 +71,7 @@ const AppMenuIconViewControl = /* @__PURE__ */ defineComponent({
70
71
  return createVNode(resolveComponent("el-collapse-item"), {
71
72
  "class": ns.b("group"),
72
73
  "name": item.id,
73
- "title": item.caption
74
+ "title": showTitle(item.caption)
74
75
  }, {
75
76
  default: () => {
76
77
  var _a2;
@@ -4,6 +4,7 @@ import { CalendarController } from '@ibiz-template/runtime';
4
4
  import dayjs from 'dayjs';
5
5
  import { IBizCustomCalendar } from './components/custom-calendar/index.mjs';
6
6
  import './calendar.css';
7
+ import { showTitle } from '@ibiz-template/core';
7
8
 
8
9
  "use strict";
9
10
  function _isSlot(s) {
@@ -111,7 +112,7 @@ const CalendarControl = /* @__PURE__ */ defineComponent({
111
112
  "class": itemClass,
112
113
  "key": item.deData.srfkey,
113
114
  "style": style,
114
- "title": item.tips || item.text,
115
+ "title": showTitle(item.tips || item.text),
115
116
  "onClick": () => this.c.onRowClick(item),
116
117
  "onDblclick": () => this.c.onDbRowClick(item)
117
118
  }, [item.text]);
@@ -4,6 +4,7 @@ import '../interface/index.mjs';
4
4
  import '../util/index.mjs';
5
5
  import { useCalendarDaily } from './use-calendar-daily.mjs';
6
6
  import './calendar-daily.css';
7
+ import { showTitle } from '@ibiz-template/core';
7
8
  import { calendarDailyProps, calendarDailyEmits } from '../interface/calendar-daily.mjs';
8
9
  import { isToday } from '../util/util.mjs';
9
10
 
@@ -69,7 +70,7 @@ const CalendarDaily = /* @__PURE__ */ defineComponent({
69
70
  data: event
70
71
  }) : createVNode("div", {
71
72
  "class": [ns.em(classEName, "event-summary"), event.classname],
72
- "title": "".concat(event.text || "", " ").concat(event.timeRange || "")
73
+ "title": showTitle("".concat(event.text || "", " ").concat(event.timeRange || ""))
73
74
  }, [event.icon && createVNode("span", {
74
75
  "class": [event.icon, ns.em(classEName, "event-icon")],
75
76
  "style": {
@@ -4,6 +4,7 @@ import '../interface/index.mjs';
4
4
  import { useCalendarWeek } from './use-calendar-week.mjs';
5
5
  import './calendar-week.css';
6
6
  import '../util/index.mjs';
7
+ import { showTitle } from '@ibiz-template/core';
7
8
  import { calendarWeekProps, calendarWeekEmits } from '../interface/calendar-week.mjs';
8
9
  import { handlePopClose, closeIcon } from '../util/util.mjs';
9
10
 
@@ -102,7 +103,7 @@ const CalendarWeek = /* @__PURE__ */ defineComponent({
102
103
  data: event
103
104
  }) : createVNode("div", {
104
105
  "class": [ns.em(classEName, "event-summary"), event.classname],
105
- "title": location === "header" ? "".concat(event.text || "", " ").concat(event.timeRange || "") : ""
106
+ "title": showTitle(location === "header" ? "".concat(event.text || "", " ").concat(event.timeRange || "") : "")
106
107
  }, [event.icon && createVNode("span", {
107
108
  "class": [event.icon, ns.em(classEName, "event-icon")],
108
109
  "style": {
@@ -6,6 +6,7 @@ import { IBizCalendarWeek } from '../calendar-week/index.mjs';
6
6
  import { useCustomCalendar } from './use-custom-calendar.mjs';
7
7
  import './custom-calendar.css';
8
8
  import '../interface/index.mjs';
9
+ import { showTitle } from '@ibiz-template/core';
9
10
  import { customCalendarProps, customCalendarEmits } from '../interface/custom-calendar.mjs';
10
11
 
11
12
  "use strict";
@@ -69,7 +70,7 @@ const CustomCalendar = /* @__PURE__ */ defineComponent({
69
70
  "style": {
70
71
  color: item.isShow ? item.color : "#CCCCCC"
71
72
  },
72
- "title": item.name
73
+ "title": showTitle(item.name)
73
74
  }, [item.name])]);
74
75
  })]), createVNode("div", {
75
76
  "class": ns.em("calendar-week", "select-time")
@@ -121,7 +122,7 @@ const CustomCalendar = /* @__PURE__ */ defineComponent({
121
122
  "style": {
122
123
  color: item.isShow ? item.color : "#CCCCCC"
123
124
  },
124
- "title": item.name
125
+ "title": showTitle(item.name)
125
126
  }, [item.name])]);
126
127
  })]), createVNode("div", {
127
128
  "class": ns.em("calendar-week", "select-time")
@@ -85,10 +85,17 @@ const ChartControl = /* @__PURE__ */ defineComponent({
85
85
  const getGridData = () => {
86
86
  return c.state.gridData || [];
87
87
  };
88
+ let resizeObserver;
88
89
  onMounted(() => {
89
90
  const chart = init(chartRef.value);
90
91
  c.initChart(chart);
91
92
  window.addEventListener("resize", setHeight);
93
+ if (chartRef.value && ResizeObserver) {
94
+ resizeObserver = new ResizeObserver(() => {
95
+ c.resizeChart();
96
+ });
97
+ resizeObserver.observe(chartRef.value);
98
+ }
92
99
  setHeight();
93
100
  });
94
101
  watch(() => c.state.showGrid, () => {
@@ -119,6 +126,7 @@ const ChartControl = /* @__PURE__ */ defineComponent({
119
126
  };
120
127
  onBeforeUnmount(() => {
121
128
  window.removeEventListener("resize", setHeight);
129
+ resizeObserver == null ? void 0 : resizeObserver.disconnect();
122
130
  });
123
131
  return {
124
132
  c,
@@ -2,6 +2,7 @@ import { isVNode, ref, watch, resolveComponent, createVNode, defineComponent } f
2
2
  import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
3
3
  import './context-menu.css';
4
4
  import { ContextMenuController } from '@ibiz-template/runtime';
5
+ import { showTitle } from '@ibiz-template/core';
5
6
 
6
7
  "use strict";
7
8
  function _isSlot(s) {
@@ -139,7 +140,7 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
139
140
  "text": true,
140
141
  "size": "small",
141
142
  "onClick": (e) => this.handleClick(detail, e),
142
- "title": ibiz.env.enableTitle ? detail.tooltip : void 0,
143
+ "title": showTitle(detail.tooltip),
143
144
  "disabled": this.c.state.buttonsState[detail.id].disabled,
144
145
  "class": this.calcActionItemClass(detail)
145
146
  }, {
@@ -165,7 +166,7 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
165
166
  "text": true,
166
167
  "size": "small",
167
168
  "onClick": (e) => this.handleClick(detail, e),
168
- "title": ibiz.env.enableTitle ? detail.tooltip : void 0,
169
+ "title": showTitle(detail.tooltip),
169
170
  "disabled": this.c.state.buttonsState[detail.id].disabled,
170
171
  "class": this.calcActionItemClass(detail)
171
172
  }, {
@@ -255,7 +256,7 @@ const ContextMenuControl = /* @__PURE__ */ defineComponent({
255
256
  if ((_a = this.c.state.buttonsState[detail.id]) == null ? void 0 : _a.visible) {
256
257
  return createVNode(resolveComponent("el-dropdown-item"), {
257
258
  "class": [this.ns.e("item"), this.ns.is("disabled", false)],
258
- "title": detail.tooltip,
259
+ "title": showTitle(detail.tooltip),
259
260
  "disabled": this.c.state.buttonsState[detail.id].disabled,
260
261
  "command": detail
261
262
  }, {
@@ -2,6 +2,7 @@ import { reactive, ref, nextTick, computed, onMounted, resolveComponent, createV
2
2
  import { CustomDashboardController } from '@ibiz-template/runtime';
3
3
  import { useNamespace } from '@ibiz-template/vue3-util';
4
4
  import './custom-dashboard-container.css';
5
+ import { showTitle } from '@ibiz-template/core';
5
6
 
6
7
  "use strict";
7
8
  const CustomDashboardContainer = /* @__PURE__ */ defineComponent({
@@ -132,7 +133,7 @@ const CustomDashboardContainer = /* @__PURE__ */ defineComponent({
132
133
  "class": this.ns.b("build-btn")
133
134
  }, [this.showTypeDir ? createVNode("div", null, [createVNode(resolveComponent("el-button"), {
134
135
  "class": this.ns.b("deisgn-btn"),
135
- "title": ibiz.env.enableTitle ? ibiz.i18n.t("control.dashboard.customDashboardContainer.portalCustomPrompt") : void 0,
136
+ "title": showTitle(ibiz.i18n.t("control.dashboard.customDashboardContainer.portalCustomPrompt")),
136
137
  "onClick": this.openDesign
137
138
  }, {
138
139
  default: () => [createVNode("ion-icon", {
@@ -3,6 +3,7 @@ import { getPortletProvider } from '@ibiz-template/runtime';
3
3
  import { useNamespace } from '@ibiz-template/vue3-util';
4
4
  import { clone } from 'ramda';
5
5
  import './dashboard-design.css';
6
+ import { showTitle } from '@ibiz-template/core';
6
7
 
7
8
  "use strict";
8
9
  function _isSlot(s) {
@@ -116,7 +117,7 @@ const DashboardDesign = /* @__PURE__ */ defineComponent({
116
117
  type: "app",
117
118
  dynamodelFlag: 1,
118
119
  portletId: portlet.psappportletid,
119
- portletCodeName: portlet.codename,
120
+ portletCodeName: portlet.psappportletid.split(".").pop().toLowerCase(),
120
121
  portletName: portlet.psappportletname,
121
122
  groupCodeName: portlet.groupcodename || "Ungroup",
122
123
  groupName: portlet.groupname || "\u672A\u5206\u7C7B",
@@ -372,7 +373,7 @@ const DashboardDesign = /* @__PURE__ */ defineComponent({
372
373
  default: () => [createVNode("span", null, [createVNode("ion-icon", {
373
374
  "icon": child.portletImage
374
375
  }, null), child.portletName]), createVNode("ion-icon", {
375
- "title": ibiz.i18n.t("control.dashboard.dashboardDesign.add"),
376
+ "title": showTitle(ibiz.i18n.t("control.dashboard.dashboardDesign.add")),
376
377
  "name": "arrow-forward-outline",
377
378
  "onClick": () => this.addLayoutItem(child)
378
379
  }, null)]
@@ -2,6 +2,7 @@ import { isVNode, ref, resolveComponent, createVNode, defineComponent } from 'vu
2
2
  import { AppMenuIconViewController } from '@ibiz-template/runtime';
3
3
  import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
4
4
  import './app-menu-portlet.css';
5
+ import { showTitle } from '@ibiz-template/core';
5
6
 
6
7
  "use strict";
7
8
  function _isSlot(s) {
@@ -49,7 +50,7 @@ const AppMenuPortletControl = /* @__PURE__ */ defineComponent({
49
50
  }
50
51
  return createVNode("div", {
51
52
  "class": [ns.b("item"), ns.is("disabled", !item.appFuncId)],
52
- "title": item.tooltip || item.caption,
53
+ "title": showTitle(item.tooltip || item.caption),
53
54
  "onClick": (event) => {
54
55
  if (item.appFuncId) {
55
56
  onClick(item.id, event);
@@ -73,7 +74,7 @@ const AppMenuPortletControl = /* @__PURE__ */ defineComponent({
73
74
  return createVNode(resolveComponent("el-collapse-item"), {
74
75
  "class": ns.b("group"),
75
76
  "name": item.id,
76
- "title": item.caption
77
+ "title": showTitle(item.caption)
77
78
  }, {
78
79
  default: () => {
79
80
  var _a2;
@@ -2,6 +2,7 @@ import { computed, resolveComponent, createVNode, defineComponent } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import './portlet-layout.css';
4
4
  import { PortletPartController } from '@ibiz-template/runtime';
5
+ import { showTitle } from '@ibiz-template/core';
5
6
 
6
7
  "use strict";
7
8
  const PortletLayout = /* @__PURE__ */ defineComponent({
@@ -60,7 +61,7 @@ const PortletLayout = /* @__PURE__ */ defineComponent({
60
61
  "icon": model.sysImage
61
62
  }, null), createVNode("span", {
62
63
  "class": this.ns.e("caption-text"),
63
- "title": state.title
64
+ "title": showTitle(state.title)
64
65
  }, [state.title])])]), createVNode("div", {
65
66
  "class": this.ns.be("header", "right")
66
67
  }, [model.uiactionGroup && createVNode(resolveComponent("iBizActionToolbar"), {
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, watchEffect, onUnmounted } from 'vue';
2
- import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.28-alpha.0_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
2
+ import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.28_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
3
3
 
4
4
  "use strict";
5
5
  function useAppDRTab(c, controlRef, counterData) {