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

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 (149) hide show
  1. package/dist/chart-4KHwhatb.js +1 -0
  2. package/dist/index-5ZDQNjel.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-nDELbrGS.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 +2 -1
  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.mjs +3 -2
  35. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +2 -2
  36. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +2 -1
  37. package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.mjs +2 -1
  38. package/es/control/grid/grid/grid.css +1 -1
  39. package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +3 -2
  40. package/es/control/grid/row-edit-popover/row-edit-popover.d.ts +1 -1
  41. package/es/control/kanban/kanban.mjs +2 -2
  42. package/es/control/list/list.mjs +2 -1
  43. package/es/control/search-bar/filter-tree/filter-tree.d.ts +1 -1
  44. package/es/control/search-bar/search-bar.mjs +3 -2
  45. package/es/control/search-bar/search-groups/search-groups.mjs +6 -6
  46. package/es/control/toolbar/export-excel/export-excel.mjs +3 -2
  47. package/es/control/toolbar/short-cut-button/short-cut-button.mjs +2 -4
  48. package/es/control/toolbar/toolbar.mjs +7 -6
  49. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +3 -2
  50. package/es/control/wizard-panel/wizard-panel.mjs +2 -1
  51. package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -0
  52. package/es/editor/array/ibiz-array/ibiz-array.mjs +12 -3
  53. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +2 -1
  54. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +2 -1
  55. package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +2 -1
  56. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +2 -1
  57. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +9 -4
  58. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
  59. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +10 -3
  60. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
  61. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +5 -2
  62. package/es/editor/text-box/input/input.d.ts +1 -0
  63. package/es/editor/text-box/input/input.mjs +15 -2
  64. package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +2 -1
  65. package/es/index.mjs +1 -0
  66. package/es/panel-component/auth-captcha/auth-captcha.mjs +2 -1
  67. package/es/panel-component/panel-button/panel-button.mjs +2 -1
  68. package/es/panel-component/short-cut/short-cut.mjs +2 -2
  69. package/es/panel-component/user-action/user-action.mjs +2 -1
  70. package/es/panel-component/user-message/async-action/async-action/async-action.mjs +2 -1
  71. package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +2 -1
  72. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.d.ts +1 -0
  73. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.mjs +10 -4
  74. package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.provider.d.ts +1 -0
  75. package/es/panel-component/user-message/user-message.mjs +3 -2
  76. package/es/util/index.d.ts +1 -0
  77. package/es/util/index.mjs +1 -0
  78. package/es/util/notification-util/notification-util.mjs +3 -1
  79. package/es/util/wang-editor-util/wang-editor-util.d.ts +11 -0
  80. package/es/util/wang-editor-util/wang-editor-util.mjs +12 -0
  81. package/lib/common/action-toolbar/action-toolbar.cjs +4 -3
  82. package/lib/common/custom-theme/custom-theme.cjs +3 -2
  83. package/lib/common/data-import2/data-import2.cjs +1 -4
  84. package/lib/common/emoji-select/components/categories/categories.cjs +2 -1
  85. package/lib/common/extend-action-timeline/extend-action-timeline.cjs +3 -2
  86. package/lib/common/grid-setting/grid-setting.cjs +2 -1
  87. package/lib/common/index.cjs +2 -0
  88. package/lib/common/pagination/pagination.cjs +2 -1
  89. package/lib/common/quick-edit/quick-edit.cjs +118 -0
  90. package/lib/common/quick-edit/quick-edit.css +1 -0
  91. package/lib/common/rawitem/rawitem.cjs +2 -1
  92. package/lib/control/app-menu/app-menu.cjs +1 -1
  93. package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +1 -1
  94. package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +3 -2
  95. package/lib/control/calendar/calendar.cjs +2 -1
  96. package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +2 -1
  97. package/lib/control/calendar/components/calendar-week/calendar-week.cjs +2 -1
  98. package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +3 -2
  99. package/lib/control/chart/chart.cjs +8 -0
  100. package/lib/control/context-menu/context-menu.cjs +4 -3
  101. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +2 -1
  102. package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +2 -1
  103. package/lib/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.cjs +3 -2
  104. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +2 -1
  105. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  106. package/lib/control/drtab/drtab.cjs +2 -1
  107. package/lib/control/form/form-detail/form-button/form-button.cjs +2 -1
  108. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +3 -2
  109. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +1 -1
  110. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +2 -1
  111. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.cjs +2 -1
  112. package/lib/control/grid/grid/grid.css +1 -1
  113. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +3 -2
  114. package/lib/control/kanban/kanban.cjs +1 -1
  115. package/lib/control/list/list.cjs +2 -1
  116. package/lib/control/search-bar/search-bar.cjs +3 -2
  117. package/lib/control/search-bar/search-groups/search-groups.cjs +5 -5
  118. package/lib/control/toolbar/export-excel/export-excel.cjs +3 -2
  119. package/lib/control/toolbar/short-cut-button/short-cut-button.cjs +2 -4
  120. package/lib/control/toolbar/toolbar.cjs +7 -6
  121. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +3 -2
  122. package/lib/control/wizard-panel/wizard-panel.cjs +2 -1
  123. package/lib/editor/array/ibiz-array/ibiz-array.cjs +12 -3
  124. package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +2 -1
  125. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +2 -1
  126. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +2 -1
  127. package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +2 -1
  128. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +9 -4
  129. package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +10 -3
  130. package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +5 -2
  131. package/lib/editor/text-box/input/input.cjs +15 -2
  132. package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +2 -1
  133. package/lib/index.cjs +2 -0
  134. package/lib/panel-component/auth-captcha/auth-captcha.cjs +2 -1
  135. package/lib/panel-component/panel-button/panel-button.cjs +2 -1
  136. package/lib/panel-component/short-cut/short-cut.cjs +1 -1
  137. package/lib/panel-component/user-action/user-action.cjs +2 -1
  138. package/lib/panel-component/user-message/async-action/async-action/async-action.cjs +2 -1
  139. package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.cjs +2 -1
  140. package/lib/panel-component/user-message/internal-message/internal-message-html/internal-message-html.cjs +9 -3
  141. package/lib/panel-component/user-message/user-message.cjs +3 -2
  142. package/lib/util/index.cjs +2 -0
  143. package/lib/util/notification-util/notification-util.cjs +3 -1
  144. package/lib/util/wang-editor-util/wang-editor-util.cjs +14 -0
  145. package/package.json +6 -6
  146. package/dist/chart-HuCq_rW2.js +0 -1
  147. package/dist/index-QB7iGpIB.js +0 -4
  148. /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-alpha.1_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
  149. /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-alpha.1_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
@@ -4,6 +4,7 @@ var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  require('./search-bar.css');
6
6
  var runtime = require('@ibiz-template/runtime');
7
+ var core = require('@ibiz-template/core');
7
8
 
8
9
  "use strict";
9
10
  const SearchBarControl = /* @__PURE__ */ vue.defineComponent({
@@ -139,7 +140,7 @@ const SearchBarControl = /* @__PURE__ */ vue.defineComponent({
139
140
  }, [groupItem.caption]);
140
141
  })])), this.c.model.enableGroup && this.c.isBackendSearchGroup && vue.createVNode(vue.resolveComponent("el-button"), {
141
142
  "class": this.ns.b("save"),
142
- "title": ibiz.env.enableTitle ? ibiz.i18n.t("control.searchBar.saveGroup") : void 0,
143
+ "title": core.showTitle(ibiz.i18n.t("control.searchBar.saveGroup")),
143
144
  "onClick": this.handleSave
144
145
  }, {
145
146
  default: () => [vue.createVNode("ion-icon", {
@@ -163,7 +164,7 @@ const SearchBarControl = /* @__PURE__ */ vue.defineComponent({
163
164
  }), this.c.enableFilter && vue.createVNode(vue.resolveComponent("el-button"), {
164
165
  "ref": "filterButtonRef",
165
166
  "type": "primary",
166
- "title": ibiz.env.enableTitle ? ibiz.i18n.t("control.searchBar.filter") : void 0,
167
+ "title": core.showTitle(ibiz.i18n.t("control.searchBar.filter")),
167
168
  "class": this.ns.b("filter"),
168
169
  "onClick": () => this.triggerFilter()
169
170
  }, {
@@ -242,7 +242,7 @@ const SearchGroups = /* @__PURE__ */ vue.defineComponent({
242
242
  }), vue.createVNode(vue.resolveComponent("el-dialog"), {
243
243
  "modelValue": this.newDialogVisible,
244
244
  "onUpdate:modelValue": ($event) => this.newDialogVisible = $event,
245
- "title": ibiz.i18n.t("control.searchBar.searchGroups.newGroup"),
245
+ "title": core.showTitle(ibiz.i18n.t("control.searchBar.searchGroups.newGroup")),
246
246
  "modal-class": this.ns.b("new-dialog")
247
247
  }, {
248
248
  default: () => {
@@ -283,7 +283,7 @@ const SearchGroups = /* @__PURE__ */ vue.defineComponent({
283
283
  }), vue.createVNode(vue.resolveComponent("el-dialog"), {
284
284
  "modelValue": this.editDialogVisible,
285
285
  "onUpdate:modelValue": ($event) => this.editDialogVisible = $event,
286
- "title": ibiz.i18n.t("control.searchBar.searchGroups.editGroup"),
286
+ "title": core.showTitle(ibiz.i18n.t("control.searchBar.searchGroups.editGroup")),
287
287
  "modal-class": this.ns.b("edit-dialog")
288
288
  }, {
289
289
  default: () => {
@@ -324,7 +324,7 @@ const SearchGroups = /* @__PURE__ */ vue.defineComponent({
324
324
  }), vue.createVNode(vue.resolveComponent("el-dialog"), {
325
325
  "modelValue": this.manageDialogVisible,
326
326
  "onUpdate:modelValue": ($event) => this.manageDialogVisible = $event,
327
- "title": ibiz.i18n.t("control.searchBar.searchGroups.groupManage"),
327
+ "title": core.showTitle(ibiz.i18n.t("control.searchBar.searchGroups.groupManage")),
328
328
  "modal-class": this.ns.b("manage-dialog")
329
329
  }, {
330
330
  default: () => [vue.createVNode("div", {
@@ -385,14 +385,14 @@ const SearchGroups = /* @__PURE__ */ vue.defineComponent({
385
385
  }, [vue.createVNode(vue.resolveComponent("el-link"), {
386
386
  "type": "primary",
387
387
  "disabled": !groupItem.saved || groupItem.noEdit,
388
- "title": this.editLinkTitle(groupItem),
388
+ "title": core.showTitle(this.editLinkTitle(groupItem)),
389
389
  "onClick": () => this.editGroup(groupItem)
390
390
  }, _isSlot(_slot5 = ibiz.i18n.t("app.edit")) ? _slot5 : {
391
391
  default: () => [_slot5]
392
392
  }), vue.createVNode(vue.resolveComponent("el-link"), {
393
393
  "type": "danger",
394
394
  "disabled": !groupItem.saved,
395
- "title": !groupItem.saved ? ibiz.i18n.t("control.searchBar.searchGroups.savePrompt") : "",
395
+ "title": core.showTitle(!groupItem.saved ? ibiz.i18n.t("control.searchBar.searchGroups.savePrompt") : ""),
396
396
  "onClick": () => this.removeGroup(groupItem)
397
397
  }, _isSlot(_slot6 = ibiz.i18n.t("app.delete")) ? _slot6 : {
398
398
  default: () => [_slot6]
@@ -3,6 +3,7 @@
3
3
  var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  require('./export-excel.css');
6
+ var core = require('@ibiz-template/core');
6
7
 
7
8
  "use strict";
8
9
  function _isSlot(s) {
@@ -64,7 +65,7 @@ const IBizExportExcel = /* @__PURE__ */ vue.defineComponent({
64
65
  title: () => {
65
66
  let _slot;
66
67
  return vue.createVNode(vue.resolveComponent("el-button"), {
67
- "title": ibiz.env.enableTitle ? this.item.tooltip : void 0,
68
+ "title": core.showTitle(this.item.tooltip),
68
69
  "size": this.$props.size,
69
70
  "class": this.ns.b("submenu-button")
70
71
  }, _isSlot(_slot = this.btnContent(this.item)) ? _slot : {
@@ -139,7 +140,7 @@ const IBizExportExcel = /* @__PURE__ */ vue.defineComponent({
139
140
  default: () => {
140
141
  let _slot6;
141
142
  return vue.createVNode(vue.resolveComponent("el-button"), {
142
- "title": ibiz.env.enableTitle ? this.item.tooltip : void 0,
143
+ "title": core.showTitle(this.item.tooltip),
143
144
  "size": this.$props.size,
144
145
  "class": this.ns.e("button")
145
146
  }, _isSlot(_slot6 = this.btnContent(this.item)) ? _slot6 : {
@@ -3,6 +3,7 @@
3
3
  var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  require('./short-cut-button.css');
6
+ var core = require('@ibiz-template/core');
6
7
 
7
8
  "use strict";
8
9
  const IBizShortCutButton = /* @__PURE__ */ vue.defineComponent({
@@ -51,10 +52,7 @@ const IBizShortCutButton = /* @__PURE__ */ vue.defineComponent({
51
52
  return vue.createVNode("div", {
52
53
  "class": [this.ns.b(), this.ns.is("short-cut", this.isShortCut)]
53
54
  }, [vue.createVNode(vue.resolveComponent("el-button"), {
54
- "title": (
55
- // eslint-disable-next-line no-nested-ternary
56
- ibiz.env.enableTitle ? this.isShortCut ? "".concat(ibiz.i18n.t("app.cancel")).concat(this.item.tooltip) : this.item.tooltip : void 0
57
- ),
55
+ "title": core.showTitle(this.isShortCut ? "".concat(ibiz.i18n.t("app.cancel")).concat(this.item.tooltip) : this.item.tooltip),
58
56
  "size": this.size,
59
57
  "text": Object.is(this.buttonType, "inverse"),
60
58
  "type": this.buttonType,
@@ -6,6 +6,7 @@ var runtime = require('@ibiz-template/runtime');
6
6
  var exportExcel = require('./export-excel/export-excel.cjs');
7
7
  var shortCutButton = require('./short-cut-button/short-cut-button.cjs');
8
8
  require('./toolbar.css');
9
+ var core = require('@ibiz-template/core');
9
10
 
10
11
  "use strict";
11
12
  function _isSlot(s) {
@@ -81,7 +82,7 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
81
82
  "key": button.id,
82
83
  "class": [ns.e("item")]
83
84
  }, [vue.createVNode(vue.resolveComponent("el-button"), {
84
- "title": ibiz.env.enableTitle ? button.tooltip : void 0,
85
+ "title": core.showTitle(button.tooltip),
85
86
  "size": btnSize.value,
86
87
  "onClick": (e) => handleClick(button, e)
87
88
  }, _isSlot(_slot = btnContent(button)) ? _slot : {
@@ -111,7 +112,7 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
111
112
  "class": [ns.b("submenu"), ns.em("item", groupButtonStyle.toLowerCase()), calcCssName(item)],
112
113
  "index": item.id,
113
114
  "disabled": pdisabled,
114
- "title": item.tooltip,
115
+ "title": core.showTitle(item.tooltip),
115
116
  "popper-class": [ns.b("submenu-popper"), ns.bm("submenu-popper", toolbarStyle), ns.em("submenu-popper", groupButtonStyle.toLowerCase()), ns.bm("submenu-popper", calcCssName(item))]
116
117
  }, {
117
118
  default: () => {
@@ -138,7 +139,7 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
138
139
  if (item2.itemType === "RAWITEM") {
139
140
  return vue.createVNode(vue.resolveComponent("el-menu-item"), {
140
141
  "index": "menuitem".concat(item2.id),
141
- "title": item2.tooltip
142
+ "title": core.showTitle(item2.tooltip)
142
143
  }, {
143
144
  default: () => [vue.createVNode(vue.resolveComponent("iBizRawItem"), {
144
145
  "rawItem": item2,
@@ -166,7 +167,7 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
166
167
  "class": [ns.is("loading", c.state.buttonsState[item2.id].loading), ns.em("item", buttonType), calcCssName(item2)],
167
168
  "index": "menuitem".concat(item2.id),
168
169
  "disabled": c.state.buttonsState[item2.id].disabled,
169
- "title": item2.tooltip,
170
+ "title": core.showTitle(item2.tooltip),
170
171
  "onClick": (e) => handleClick(item2, e)
171
172
  }, {
172
173
  default: () => [vue.createVNode(vue.resolveComponent("el-button"), {
@@ -197,7 +198,7 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
197
198
  if (c.state.buttonsState[detail.id].visible) {
198
199
  let _slot4;
199
200
  return [vue.createVNode(vue.resolveComponent("el-button"), {
200
- "title": ibiz.env.enableTitle ? detail.caption : void 0,
201
+ "title": core.showTitle(detail.caption),
201
202
  "size": btnSize.value,
202
203
  "class": [calcCssName(detail)],
203
204
  "loading": c.state.buttonsState[detail.id].loading,
@@ -374,7 +375,7 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
374
375
  "key": itemId,
375
376
  "class": [ns.e("item"), ns.e("item-deuiaction"), ns.em("item", buttonType), calcCssName(item), ns.is("loading", c.state.buttonsState[itemId].loading)]
376
377
  }, [vue.createVNode(vue.resolveComponent("el-button"), {
377
- "title": ibiz.env.enableTitle ? item.tooltip : void 0,
378
+ "title": core.showTitle(item.tooltip),
378
379
  "size": btnSize.value,
379
380
  "text": Object.is(buttonType, "inverse"),
380
381
  "type": buttonType,
@@ -7,6 +7,7 @@ var vue3Util = require('@ibiz-template/vue3-util');
7
7
  var runtime = require('@ibiz-template/runtime');
8
8
  var ramda = require('ramda');
9
9
  require('./tree-grid-ex-field-column.css');
10
+ var core = require('@ibiz-template/core');
10
11
 
11
12
  "use strict";
12
13
  const TreeGridExFieldColumn = /* @__PURE__ */ vue.defineComponent({
@@ -99,12 +100,12 @@ const TreeGridExFieldColumn = /* @__PURE__ */ vue.defineComponent({
99
100
  "value": this.fieldValue,
100
101
  "onClick": this.onTextClick,
101
102
  "onInfoTextChange": this.onInfoTextChange,
102
- "title": this.tooltip
103
+ "title": core.showTitle(this.tooltip)
103
104
  }, null);
104
105
  } else {
105
106
  content = vue.createVNode("span", {
106
107
  "class": this.ns.e("text"),
107
- "title": this.tooltip,
108
+ "title": core.showTitle(this.tooltip),
108
109
  "onClick": this.onTextClick
109
110
  }, [this.showText]);
110
111
  }
@@ -4,6 +4,7 @@ var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  require('./wizard-panel.css');
6
6
  var runtime = require('@ibiz-template/runtime');
7
+ var core = require('@ibiz-template/core');
7
8
 
8
9
  "use strict";
9
10
  function _isSlot(s) {
@@ -100,7 +101,7 @@ const WizardPanelControl = /* @__PURE__ */ vue.defineComponent({
100
101
  "active": active
101
102
  }, _isSlot(_slot = dewizardSteps.map((step) => {
102
103
  return vue.createVNode(vue.resolveComponent("el-step"), {
103
- "title": step.title
104
+ "title": core.showTitle(step.title)
104
105
  }, null);
105
106
  })) ? _slot : {
106
107
  default: () => [_slot]
@@ -90,9 +90,11 @@ const IBizArray = /* @__PURE__ */ vue.defineComponent({
90
90
  }
91
91
  return tempValue;
92
92
  };
93
- const onEmit = () => {
93
+ const onEmit = (eventName = "blur") => {
94
94
  const result = items.value.map((item) => item.value);
95
- emit("change", result);
95
+ if (eventName === c.triggerMode) {
96
+ emit("change", result);
97
+ }
96
98
  };
97
99
  const addItem = (index) => {
98
100
  if (props.disabled || props.readonly) {
@@ -117,6 +119,10 @@ const IBizArray = /* @__PURE__ */ vue.defineComponent({
117
119
  items.value[index].value = value;
118
120
  onEmit();
119
121
  };
122
+ const handleInput = (value, index) => {
123
+ items.value[index].value = value;
124
+ onEmit("input");
125
+ };
120
126
  const onBlur = (e) => {
121
127
  emit("blur", e);
122
128
  };
@@ -145,6 +151,7 @@ const IBizArray = /* @__PURE__ */ vue.defineComponent({
145
151
  addItem,
146
152
  removeItem,
147
153
  handleChange,
154
+ handleInput,
148
155
  onBlur,
149
156
  onFocus,
150
157
  handleKeyUp,
@@ -172,7 +179,8 @@ const IBizArray = /* @__PURE__ */ vue.defineComponent({
172
179
  "onBlur": this.onBlur,
173
180
  "onFocus": this.onFocus,
174
181
  "onKeyup": this.handleKeyUp,
175
- "onChange": (val) => this.handleChange(val, index)
182
+ "onChange": (val) => this.handleChange(val, index),
183
+ "onInput": (val) => this.handleInput(val, index)
176
184
  }, this.$attrs), null) : vue.createVNode(vue.resolveComponent("el-tooltip"), {
177
185
  "placement": "bottom",
178
186
  "trigger": "hover"
@@ -190,6 +198,7 @@ const IBizArray = /* @__PURE__ */ vue.defineComponent({
190
198
  "onBlur": this.onBlur,
191
199
  "onFocus": this.onFocus,
192
200
  "onChange": (val) => this.handleChange(val, index),
201
+ "onInput": (val) => this.handleInput(val, index),
193
202
  "onKeyup": this.handleKeyUp
194
203
  }, this.$attrs), {
195
204
  prefix: () => {
@@ -4,6 +4,7 @@ var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  require('./ibiz-autocomplete.css');
6
6
  var lodashEs = require('lodash-es');
7
+ var core = require('@ibiz-template/core');
7
8
 
8
9
  "use strict";
9
10
  const IBizAutoComplete = /* @__PURE__ */ vue.defineComponent({
@@ -197,7 +198,7 @@ const IBizAutoComplete = /* @__PURE__ */ vue.defineComponent({
197
198
  }
198
199
  return vue.createVNode("div", {
199
200
  "class": [this.ns.e("transfer-item"), this.ns.is("ellipsis", isEllipsis)],
200
- "title": isEllipsis ? item[this.c.textName] : ""
201
+ "title": core.showTitle(isEllipsis ? item[this.c.textName] : "")
201
202
  }, [item[this.c.textName]]);
202
203
  },
203
204
  suffix: () => {
@@ -4,6 +4,7 @@ var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  require('./ibiz-mpicker.css');
6
6
  var lodashEs = require('lodash-es');
7
+ var core = require('@ibiz-template/core');
7
8
 
8
9
  "use strict";
9
10
  function _isSlot(s) {
@@ -311,7 +312,7 @@ const IBizMPicker = /* @__PURE__ */ vue.defineComponent({
311
312
  "remote-show-suffix": this.c.model.showTrigger
312
313
  }, this.$attrs), _isSlot(_slot = this.items.map((item) => {
313
314
  return vue.createVNode(vue.resolveComponent("el-option"), {
314
- "title": isEllipsis ? item[this.c.textName] : "",
315
+ "title": core.showTitle(isEllipsis ? item[this.c.textName] : ""),
315
316
  "key": item[this.c.keyName],
316
317
  "value": item[this.c.keyName],
317
318
  "label": item[this.c.textName]
@@ -4,6 +4,7 @@ var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  var ramda = require('ramda');
6
6
  require('./ibiz-picker.css');
7
+ var core = require('@ibiz-template/core');
7
8
 
8
9
  "use strict";
9
10
  const IBizPicker = /* @__PURE__ */ vue.defineComponent({
@@ -227,7 +228,7 @@ const IBizPicker = /* @__PURE__ */ vue.defineComponent({
227
228
  }
228
229
  }, null) : vue.createVNode("div", {
229
230
  "class": [this.ns.e("transfer-item"), this.ns.is("ellipsis", isEllipsis)],
230
- "title": isEllipsis ? item[this.c.textName] : "",
231
+ "title": core.showTitle(isEllipsis ? item[this.c.textName] : ""),
231
232
  "onClick": () => {
232
233
  this.onACSelect(item);
233
234
  }
@@ -4,6 +4,7 @@ var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  var ramda = require('ramda');
6
6
  require('./ibiz-picker-dropdown.css');
7
+ var core = require('@ibiz-template/core');
7
8
 
8
9
  "use strict";
9
10
  function _isSlot(s) {
@@ -243,7 +244,7 @@ const IBizPickerDropDown = /* @__PURE__ */ vue.defineComponent({
243
244
  "fit-input-width": isEllipsis
244
245
  }, this.$attrs), _isSlot(_slot = this.items.map((item) => {
245
246
  return vue.createVNode(vue.resolveComponent("el-option"), {
246
- "title": isEllipsis ? item[this.c.textName] : "",
247
+ "title": core.showTitle(isEllipsis ? item[this.c.textName] : ""),
247
248
  "value": item[this.c.keyName],
248
249
  "key": item[this.c.keyName],
249
250
  "label": item[this.c.textName]
@@ -2,6 +2,7 @@
2
2
 
3
3
  var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
+ var core = require('@ibiz-template/core');
5
6
  require('./ibiz-dropdown.css');
6
7
 
7
8
  "use strict";
@@ -291,7 +292,7 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
291
292
  const data = node.data || {};
292
293
  const label = data.label || "";
293
294
  return vue.createVNode("span", {
294
- "title": isEllipsis ? label : ""
295
+ "title": core.showTitle(isEllipsis ? label : "")
295
296
  }, [label]);
296
297
  }
297
298
  }) : vue.createVNode(vue.resolveComponent("el-select"), vue.mergeProps({
@@ -326,7 +327,7 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
326
327
  "select-option-item-bkcolor": "".concat(item.bkcolor)
327
328
  }) : "",
328
329
  "class": [item.cls ? item.cls : null],
329
- "title": isEllipsis ? item.text : ""
330
+ "title": core.showTitle(isEllipsis ? item.text : "")
330
331
  }, {
331
332
  default: () => {
332
333
  return vue.createVNode("div", {
@@ -372,7 +373,9 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
372
373
  }) : ""
373
374
  }, [(codeListItem == null ? void 0 : codeListItem.sysImage) && vue.createVNode(vue.resolveComponent("iBizIcon"), {
374
375
  "icon": codeListItem == null ? void 0 : codeListItem.sysImage
375
- }, null), text]);
376
+ }, null), vue.createVNode("span", {
377
+ "class": this.ns.be("readonly-text-item", "label")
378
+ }, [text])]);
376
379
  });
377
380
  const formDefaultContent = vue.createVNode("div", {
378
381
  "class": [this.ns.b("form-default-content"), this.ns.is("multiple", this.c.multiple)]
@@ -384,7 +387,9 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
384
387
  "select-option-item-color": "".concat(codeListItem.color || ""),
385
388
  "select-option-item-bkcolor": "".concat((this.c.editorParams.type === "round" ? codeListItem.bkcolor : "") || "")
386
389
  }) : ""
387
- }, [text]);
390
+ }, [vue.createVNode("span", {
391
+ "class": this.ns.be("content-item", "label")
392
+ }, [text])]);
388
393
  }) : "-"]);
389
394
  return vue.createVNode("div", {
390
395
  "class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : "", this.ns.is("editable", this.isEditable), this.ns.is("show-default", this.showFormDefaultContent), this.c.editorParams.type === "round" && this.ns.m("round")],
@@ -77,20 +77,25 @@ const IBizNumberRangePicker = /* @__PURE__ */ vue.defineComponent({
77
77
  }, 100);
78
78
  }
79
79
  };
80
- const handleChange = (value, index) => {
80
+ const onEmit = (eventName, value, valueName) => {
81
+ if (eventName === c.triggerMode) {
82
+ emit("change", value, valueName);
83
+ }
84
+ };
85
+ const handleChange = (value, index, eventName = "blur") => {
81
86
  if (index === 0) {
82
87
  minValue.value = value;
83
88
  } else if (index === 1) {
84
89
  maxValue.value = value;
85
90
  }
86
91
  if (minValue.value !== null && maxValue.value !== null) {
87
- emit("change", [minValue.value, maxValue.value].join(valueSeparator));
92
+ onEmit(eventName, [minValue.value, maxValue.value].join(valueSeparator));
88
93
  setEditable(false);
89
94
  useInValueChange();
90
95
  }
91
96
  if (refFormItem.value) {
92
97
  const valueName = refFormItem.value[index];
93
- emit("change", value, valueName);
98
+ onEmit(eventName, value, valueName);
94
99
  useInValueChange();
95
100
  }
96
101
  };
@@ -156,6 +161,7 @@ const IBizNumberRangePicker = /* @__PURE__ */ vue.defineComponent({
156
161
  "placeholder": this.startPlaceHolder,
157
162
  "controls": false,
158
163
  "onChange": (val) => this.handleChange(val, 0),
164
+ "onInput": (val) => this.handleChange(val, 0, "input"),
159
165
  "onKeyup": this.handleKeyUp,
160
166
  "onFocus": this.onFocus,
161
167
  "onBlur": this.onBlur
@@ -171,6 +177,7 @@ const IBizNumberRangePicker = /* @__PURE__ */ vue.defineComponent({
171
177
  "placeholder": this.endPlaceHolder,
172
178
  "controls": false,
173
179
  "onChange": (val) => this.handleChange(val, 1),
180
+ "onInput": (val) => this.handleChange(val, 1, "input"),
174
181
  "onKeyup": this.handleKeyUp,
175
182
  "onFocus": this.onFocus,
176
183
  "onBlur": this.onBlur
@@ -83,8 +83,10 @@ const IBizInputNumber = /* @__PURE__ */ vue.defineComponent({
83
83
  }, 100);
84
84
  }
85
85
  };
86
- const handleChange = (e) => {
87
- emit("change", e);
86
+ const handleChange = (e, eventName = "blur") => {
87
+ if (eventName === c.triggerMode) {
88
+ emit("change", e);
89
+ }
88
90
  };
89
91
  vue.watch(editorRef, (newVal) => {
90
92
  if (props.autoFocus && newVal) {
@@ -166,6 +168,7 @@ const IBizInputNumber = /* @__PURE__ */ vue.defineComponent({
166
168
  "disabled": this.disabled,
167
169
  "controls": false,
168
170
  "onChange": this.handleChange,
171
+ "onInput": (value) => this.handleChange(value, "input"),
169
172
  "onFocus": this.onFocus,
170
173
  "onBlur": this.onBlur,
171
174
  "onKeyup": this.handleKeyUp
@@ -75,6 +75,11 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
75
75
  }
76
76
  return "";
77
77
  });
78
+ const onEmit = (val, eventName = "blur") => {
79
+ if (eventName === c.triggerMode) {
80
+ emit("change", val);
81
+ }
82
+ };
78
83
  const setEditable = (flag) => {
79
84
  if (flag) {
80
85
  isEditable.value = flag;
@@ -87,7 +92,13 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
87
92
  let blurCacheValue;
88
93
  const handleChange = (val) => {
89
94
  if (blurCacheValue !== val) {
90
- emit("change", val);
95
+ onEmit(val);
96
+ }
97
+ blurCacheValue = void 0;
98
+ };
99
+ const handleInput = (val) => {
100
+ if (blurCacheValue !== val) {
101
+ onEmit(val, "input");
91
102
  }
92
103
  blurCacheValue = void 0;
93
104
  };
@@ -100,7 +111,7 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
100
111
  const onBlur = (event) => {
101
112
  blurCacheValue = event.target.value;
102
113
  if (blurCacheValue != props.value) {
103
- emit("change", blurCacheValue);
114
+ onEmit(blurCacheValue);
104
115
  }
105
116
  emit("blur", event);
106
117
  setEditable(false);
@@ -239,6 +250,7 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
239
250
  currentVal,
240
251
  readonlyText,
241
252
  handleChange,
253
+ handleInput,
242
254
  handleKeyUp,
243
255
  onBlur,
244
256
  onFocus,
@@ -306,6 +318,7 @@ const IBizInput = /* @__PURE__ */ vue.defineComponent({
306
318
  "minlength": this.c.model.minLength,
307
319
  "show-word-limit": this.showLimit && this.c.model.showMaxLength,
308
320
  "onChange": this.handleChange,
321
+ "onInput": this.handleInput,
309
322
  "onKeyup": this.handleKeyUp,
310
323
  "onBlur": this.onBlur,
311
324
  "onFocus": this.onFocus,
@@ -5,6 +5,7 @@ var vue3Util = require('@ibiz-template/vue3-util');
5
5
  require('./ibiz-searchcond-edit.css');
6
6
  var qxUtil = require('qx-util');
7
7
  var runtime = require('@ibiz-template/runtime');
8
+ var core = require('@ibiz-template/core');
8
9
 
9
10
  "use strict";
10
11
  const IBizSearchCondEdit = /* @__PURE__ */ vue.defineComponent({
@@ -167,7 +168,7 @@ const IBizSearchCondEdit = /* @__PURE__ */ vue.defineComponent({
167
168
  }, this.$attrs), null), vue.createVNode(vue.resolveComponent("el-button"), {
168
169
  "ref": "filterButtonRef",
169
170
  "type": "primary",
170
- "title": ibiz.env.enableTitle ? ibiz.i18n.t("app.edit") : void 0,
171
+ "title": core.showTitle(ibiz.i18n.t("app.edit")),
171
172
  "class": this.ns.b("filter"),
172
173
  "onClick": () => this.triggerFilter()
173
174
  }, {
package/lib/index.cjs CHANGED
@@ -126,6 +126,7 @@ var usePagination = require('./util/pagination/use-pagination.cjs');
126
126
  var noticeUtil = require('./util/notice-util/notice-util.cjs');
127
127
  var renderUtil = require('./util/render-util/render-util.cjs');
128
128
  var appUtil = require('./util/app-util/app-util.cjs');
129
+ var wangEditorUtil = require('./util/wang-editor-util/wang-editor-util.cjs');
129
130
  var authGuard = require('./web-app/guard/auth-guard/auth-guard.cjs');
130
131
  var main = require('./web-app/main.cjs');
131
132
  var index$18 = require('./web-app/router/index.cjs');
@@ -258,6 +259,7 @@ exports.usePagination = usePagination.usePagination;
258
259
  exports.NoticeUtil = noticeUtil.NoticeUtil;
259
260
  exports.RenderUtil = renderUtil.RenderUtil;
260
261
  exports.AppUtil = appUtil.AppUtil;
262
+ exports.parseHtml = wangEditorUtil.parseHtml;
261
263
  exports.AuthGuard = authGuard.AuthGuard;
262
264
  exports.runApp = main.runApp;
263
265
  exports.AppRouter = index$18.AppRouter;
@@ -4,6 +4,7 @@ var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  var authCaptcha_controller = require('./auth-captcha.controller.cjs');
6
6
  require('./auth-captcha.css');
7
+ var core = require('@ibiz-template/core');
7
8
 
8
9
  "use strict";
9
10
  const AuthCaptcha = /* @__PURE__ */ vue.defineComponent({
@@ -57,7 +58,7 @@ const AuthCaptcha = /* @__PURE__ */ vue.defineComponent({
57
58
  "src": this.c.state.image,
58
59
  "class": this.ns.e("image"),
59
60
  "onClick": this.onClick,
60
- "title": "\u70B9\u51FB\u56FE\u7247\u5237\u65B0"
61
+ "title": core.showTitle("\u70B9\u51FB\u56FE\u7247\u5237\u65B0")
61
62
  }, {
62
63
  error: () => {
63
64
  return vue.createVNode("div", {
@@ -6,6 +6,7 @@ var vue = require('vue');
6
6
  var vue3Util = require('@ibiz-template/vue3-util');
7
7
  var panelButton_controller = require('./panel-button.controller.cjs');
8
8
  require('./panel-button.css');
9
+ var core = require('@ibiz-template/core');
9
10
 
10
11
  "use strict";
11
12
  const PanelButton = /* @__PURE__ */ vue.defineComponent({
@@ -105,7 +106,7 @@ const PanelButton = /* @__PURE__ */ vue.defineComponent({
105
106
  }, [vue.createVNode(vue.resolveComponent("el-button"), {
106
107
  "type": this.buttonType,
107
108
  "text": this.isText,
108
- "title": ibiz.env.enableTitle ? this.tooltip : void 0,
109
+ "title": core.showTitle(this.tooltip),
109
110
  "disabled": this.state.disabled,
110
111
  "loading": this.state.loading,
111
112
  "onClick": this.handleButtonClick
@@ -103,7 +103,7 @@ const ShortCut = /* @__PURE__ */ vue.defineComponent({
103
103
  if (isVertical && !isShowToolbar.value || isVertical && isShowToolbar.value && index > 5 || !isVertical && index < 6) {
104
104
  return vue.createVNode("div", {
105
105
  "class": [ns.e("item"), ns.e("draggable-item")],
106
- "title": element.caption,
106
+ "title": core.showTitle(element.caption),
107
107
  "onClick": () => onClick(element)
108
108
  }, [vue.createVNode("svg", {
109
109
  "viewBox": "0 0 16 16",
@@ -4,6 +4,7 @@ var vue = require('vue');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
5
  var runtime = require('@ibiz-template/runtime');
6
6
  require('./user-action.css');
7
+ var core = require('@ibiz-template/core');
7
8
 
8
9
  "use strict";
9
10
  const UserAction = /* @__PURE__ */ vue.defineComponent({
@@ -76,7 +77,7 @@ const UserAction = /* @__PURE__ */ vue.defineComponent({
76
77
  render() {
77
78
  return vue.createVNode("div", {
78
79
  "class": this.ns.b(),
79
- "title": this.modelData.caption
80
+ "title": core.showTitle(this.modelData.caption)
80
81
  }, [vue.createVNode(vue.resolveComponent("i-biz-icon"), {
81
82
  "class": [this.ns.e("image")],
82
83
  "icon": this.sysImage,
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var vue = require('vue');
4
+ var core = require('@ibiz-template/core');
4
5
  var vue3Util = require('@ibiz-template/vue3-util');
5
6
  require('./async-action.css');
6
7
  var lodashEs = require('lodash-es');
@@ -93,7 +94,7 @@ const AsyncAction = /* @__PURE__ */ vue.defineComponent({
93
94
  }, [vue.createVNode("div", {
94
95
  "class": this.ns.e("caption")
95
96
  }, [asyncacitonname]), this.showErrorInfo && vue.createVNode("div", {
96
- "title": this.action.actionresult,
97
+ "title": core.showTitle(this.action.actionresult),
97
98
  "class": this.ns.e("error-info")
98
99
  }, [this.action.actionresult]), this.actionstate === 20 ? vue.createVNode("div", {
99
100
  "class": this.ns.e("progress")
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var vue = require('vue');
4
+ var core = require('@ibiz-template/core');
4
5
  var vue3Util = require('@ibiz-template/vue3-util');
5
6
  require('./internal-message-container.css');
6
7
 
@@ -92,7 +93,7 @@ const InternalMessageContainer = /* @__PURE__ */ vue.defineComponent({
92
93
  imagePath: "svg/read.svg"
93
94
  },
94
95
  "baseDir": "iconfont",
95
- "title": item.tooltip,
96
+ "title": core.showTitle(item.tooltip),
96
97
  "onClick": (e) => this.onToolbarClick(e, item.key)
97
98
  }, null);
98
99
  })]), vue.createVNode("div", {