@ibiz-template/vue3-components 0.7.26-alpha.3 → 0.7.26

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 (175) hide show
  1. package/dist/index-28jZm-aB.js +4 -0
  2. package/dist/{index-8tGeBxpc.js → index-RwYoggQd.js} +1 -1
  3. package/dist/{index-CDgQJyai.js → index-s7g1-ymW.js} +1 -1
  4. package/dist/index.min.css +1 -1
  5. package/dist/index.system.min.js +1 -1
  6. package/dist/{xlsx-util-8_6qMs6z.js → xlsx-util-Rf5FMxyR.js} +1 -1
  7. package/es/common/emoji-select/components/categories/categories.css +1 -0
  8. package/es/common/emoji-select/components/categories/categories.d.ts +30 -0
  9. package/es/common/emoji-select/components/categories/categories.mjs +48 -0
  10. package/es/common/emoji-select/components/categories/index.d.ts +1 -0
  11. package/es/common/emoji-select/components/categories/index.mjs +3 -0
  12. package/es/common/emoji-select/components/category-label/category-label.css +1 -0
  13. package/es/common/emoji-select/components/category-label/category-label.d.ts +18 -0
  14. package/es/common/emoji-select/components/category-label/category-label.mjs +28 -0
  15. package/es/common/emoji-select/components/category-label/index.d.ts +1 -0
  16. package/es/common/emoji-select/components/category-label/index.mjs +3 -0
  17. package/es/common/emoji-select/components/emoji-item/emoji-item.css +1 -0
  18. package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +44 -0
  19. package/es/common/emoji-select/components/emoji-item/emoji-item.mjs +56 -0
  20. package/es/common/emoji-select/components/emoji-item/index.d.ts +1 -0
  21. package/es/common/emoji-select/components/emoji-item/index.mjs +3 -0
  22. package/es/common/emoji-select/components/emoji-list/emoji-list.css +1 -0
  23. package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +92 -0
  24. package/es/common/emoji-select/components/emoji-list/emoji-list.mjs +165 -0
  25. package/es/common/emoji-select/components/emoji-list/index.d.ts +1 -0
  26. package/es/common/emoji-select/components/emoji-list/index.mjs +3 -0
  27. package/es/common/emoji-select/components/index.d.ts +5 -0
  28. package/es/common/emoji-select/components/index.mjs +12 -0
  29. package/es/common/emoji-select/components/input-search/index.d.ts +1 -0
  30. package/es/common/emoji-select/components/input-search/index.mjs +3 -0
  31. package/es/common/emoji-select/components/input-search/input-search.css +1 -0
  32. package/es/common/emoji-select/components/input-search/input-search.d.ts +9 -0
  33. package/es/common/emoji-select/components/input-search/input-search.mjs +49 -0
  34. package/es/common/emoji-select/emoji-select.css +1 -0
  35. package/es/common/emoji-select/emoji-select.d.ts +142 -0
  36. package/es/common/emoji-select/emoji-select.mjs +234 -0
  37. package/es/common/emoji-select/icons/categories.d.ts +2 -0
  38. package/es/common/emoji-select/icons/categories.mjs +64 -0
  39. package/es/common/emoji-select/icons/emoji.d.ts +2 -0
  40. package/es/common/emoji-select/icons/emoji.mjs +1444 -0
  41. package/es/common/emoji-select/icons/index.d.ts +3 -0
  42. package/es/common/emoji-select/icons/index.mjs +5 -0
  43. package/es/common/emoji-select/icons/search.d.ts +1 -0
  44. package/es/common/emoji-select/icons/search.mjs +16 -0
  45. package/es/common/emoji-select/interface/category.d.ts +44 -0
  46. package/es/common/emoji-select/interface/category.mjs +22 -0
  47. package/es/common/emoji-select/interface/emoji.d.ts +37 -0
  48. package/es/common/emoji-select/interface/emoji.mjs +19 -0
  49. package/es/common/emoji-select/interface/index.d.ts +3 -0
  50. package/es/common/emoji-select/interface/index.mjs +5 -0
  51. package/es/common/emoji-select/interface/map-emojis.d.ts +17 -0
  52. package/es/common/emoji-select/interface/map-emojis.mjs +1 -0
  53. package/es/common/index.mjs +2 -0
  54. package/es/common/view-message/view-message.d.ts +1 -0
  55. package/es/control/calendar/calendar.css +1 -1
  56. package/es/control/calendar/calendar.d.ts +3 -2
  57. package/es/control/calendar/calendar.mjs +203 -86
  58. package/es/control/calendar/components/calendar-daily/calendar-daily.d.ts +1 -1
  59. package/es/control/calendar/components/calendar-daily/index.d.ts +1 -1
  60. package/es/control/calendar/components/calendar-week/calendar-week.d.ts +1 -1
  61. package/es/control/calendar/components/calendar-week/calendar-week.mjs +15 -12
  62. package/es/control/calendar/components/calendar-week/index.d.ts +1 -1
  63. package/es/control/calendar/components/calendar-week/use-calendar-week.mjs +1 -0
  64. package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +4 -114
  65. package/es/control/calendar/components/interface/calendar-daily.mjs +0 -3
  66. package/es/control/calendar/components/interface/calendar-week.mjs +3 -2
  67. package/es/control/calendar/components/interface/custom-calendar.mjs +8 -3
  68. package/es/control/calendar/components/interface/index.d.ts +0 -1
  69. package/es/control/calendar/components/interface/index.mjs +0 -1
  70. package/es/control/calendar/index.d.ts +2 -1
  71. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +36 -2
  72. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +17 -7
  73. package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +10 -32
  74. package/es/control/dashboard/dashboard-design/dashboard-design.mjs +93 -56
  75. package/es/control/drtab/drtab-control.util.mjs +1 -1
  76. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +25 -0
  77. package/es/control/grid/grid/grid-control.util.d.ts +8 -0
  78. package/es/control/grid/grid/grid-control.util.mjs +151 -1
  79. package/es/control/grid/grid/grid.css +1 -1
  80. package/es/control/grid/grid/grid.d.ts +8 -0
  81. package/es/control/grid/grid/grid.mjs +12 -2
  82. package/es/control/grid/grid/index.d.ts +8 -0
  83. package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +1 -0
  84. package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +21 -1
  85. package/es/control/grid/grid-column/grid-field-column/index.d.ts +1 -0
  86. package/es/control/tree/tree.css +1 -1
  87. package/es/editor/dropdown-list/dropdown-list-editor.provider.d.ts +1 -0
  88. package/es/editor/dropdown-list/dropdown-list-editor.provider.mjs +10 -1
  89. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.css +1 -0
  90. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +72 -0
  91. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.mjs +123 -0
  92. package/es/editor/dropdown-list/index.d.ts +1 -0
  93. package/es/editor/dropdown-list/index.mjs +1 -0
  94. package/es/editor/index.mjs +6 -0
  95. package/es/editor/text-box/input/input.d.ts +1 -1
  96. package/es/locale/en/index.d.ts +14 -0
  97. package/es/locale/en/index.mjs +14 -0
  98. package/es/locale/zh-CN/index.d.ts +14 -0
  99. package/es/locale/zh-CN/index.mjs +14 -0
  100. package/es/panel-component/nav-tabs/nav-tabs.controller.d.ts +7 -0
  101. package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +19 -0
  102. package/lib/common/emoji-select/components/categories/categories.cjs +50 -0
  103. package/lib/common/emoji-select/components/categories/categories.css +1 -0
  104. package/lib/common/emoji-select/components/categories/index.cjs +7 -0
  105. package/lib/common/emoji-select/components/category-label/category-label.cjs +30 -0
  106. package/lib/common/emoji-select/components/category-label/category-label.css +1 -0
  107. package/lib/common/emoji-select/components/category-label/index.cjs +7 -0
  108. package/lib/common/emoji-select/components/emoji-item/emoji-item.cjs +58 -0
  109. package/lib/common/emoji-select/components/emoji-item/emoji-item.css +1 -0
  110. package/lib/common/emoji-select/components/emoji-item/index.cjs +7 -0
  111. package/lib/common/emoji-select/components/emoji-list/emoji-list.cjs +167 -0
  112. package/lib/common/emoji-select/components/emoji-list/emoji-list.css +1 -0
  113. package/lib/common/emoji-select/components/emoji-list/index.cjs +7 -0
  114. package/lib/common/emoji-select/components/index.cjs +20 -0
  115. package/lib/common/emoji-select/components/input-search/index.cjs +7 -0
  116. package/lib/common/emoji-select/components/input-search/input-search.cjs +51 -0
  117. package/lib/common/emoji-select/components/input-search/input-search.css +1 -0
  118. package/lib/common/emoji-select/emoji-select.cjs +236 -0
  119. package/lib/common/emoji-select/emoji-select.css +1 -0
  120. package/lib/common/emoji-select/icons/categories.cjs +66 -0
  121. package/lib/common/emoji-select/icons/emoji.cjs +1446 -0
  122. package/lib/common/emoji-select/icons/index.cjs +11 -0
  123. package/lib/common/emoji-select/icons/search.cjs +18 -0
  124. package/lib/common/emoji-select/interface/category.cjs +24 -0
  125. package/lib/common/emoji-select/interface/emoji.cjs +21 -0
  126. package/lib/common/emoji-select/interface/index.cjs +10 -0
  127. package/lib/common/emoji-select/interface/map-emojis.cjs +3 -0
  128. package/lib/common/index.cjs +2 -0
  129. package/lib/control/calendar/calendar.cjs +203 -86
  130. package/lib/control/calendar/calendar.css +1 -1
  131. package/lib/control/calendar/components/calendar-week/calendar-week.cjs +15 -12
  132. package/lib/control/calendar/components/calendar-week/use-calendar-week.cjs +1 -0
  133. package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +7 -117
  134. package/lib/control/calendar/components/interface/calendar-daily.cjs +0 -3
  135. package/lib/control/calendar/components/interface/calendar-week.cjs +3 -2
  136. package/lib/control/calendar/components/interface/custom-calendar.cjs +8 -3
  137. package/lib/control/calendar/components/interface/index.cjs +0 -3
  138. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +17 -7
  139. package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +93 -56
  140. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  141. package/lib/control/grid/grid/grid-control.util.cjs +151 -1
  142. package/lib/control/grid/grid/grid.cjs +12 -2
  143. package/lib/control/grid/grid/grid.css +1 -1
  144. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +21 -1
  145. package/lib/control/tree/tree.css +1 -1
  146. package/lib/editor/dropdown-list/dropdown-list-editor.provider.cjs +10 -1
  147. package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.cjs +125 -0
  148. package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.css +1 -0
  149. package/lib/editor/dropdown-list/index.cjs +2 -0
  150. package/lib/editor/index.cjs +6 -0
  151. package/lib/locale/en/index.cjs +14 -0
  152. package/lib/locale/zh-CN/index.cjs +14 -0
  153. package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +19 -0
  154. package/package.json +8 -8
  155. package/dist/index-oBteffLj.js +0 -4
  156. package/es/_virtual/localeData.mjs +0 -3
  157. package/es/control/calendar/components/calendar-month/calendar-month.css +0 -1
  158. package/es/control/calendar/components/calendar-month/calendar-month.d.ts +0 -18
  159. package/es/control/calendar/components/calendar-month/calendar-month.mjs +0 -242
  160. package/es/control/calendar/components/calendar-month/index.d.ts +0 -18
  161. package/es/control/calendar/components/calendar-month/index.mjs +0 -9
  162. package/es/control/calendar/components/calendar-month/use-calendar-month.d.ts +0 -3
  163. package/es/control/calendar/components/calendar-month/use-calendar-month.mjs +0 -384
  164. package/es/control/calendar/components/interface/calendar-month.d.ts +0 -20
  165. package/es/control/calendar/components/interface/calendar-month.mjs +0 -43
  166. package/es/node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/localeData.mjs +0 -13
  167. package/lib/_virtual/localeData.cjs +0 -5
  168. package/lib/control/calendar/components/calendar-month/calendar-month.cjs +0 -244
  169. package/lib/control/calendar/components/calendar-month/calendar-month.css +0 -1
  170. package/lib/control/calendar/components/calendar-month/index.cjs +0 -14
  171. package/lib/control/calendar/components/calendar-month/use-calendar-month.cjs +0 -386
  172. package/lib/control/calendar/components/interface/calendar-month.cjs +0 -46
  173. package/lib/node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/localeData.cjs +0 -17
  174. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.25_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.26_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
  175. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.25_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.26_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
@@ -8,9 +8,9 @@ export declare const IBizCalendarDaily: import("@ibiz-template/vue3-util").TypeW
8
8
  eventClick: (value: IParams) => IParams;
9
9
  eventDblClick: (value: IParams) => IParams;
10
10
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<IParams>> & {
11
+ onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
11
12
  onEventClick?: ((value: IParams) => any) | undefined;
12
13
  onEventDblClick?: ((value: IParams) => any) | undefined;
13
- onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
14
14
  }, {
15
15
  [x: string]: any;
16
16
  [x: symbol]: any;
@@ -9,9 +9,9 @@ export declare const CalendarWeek: import("vue").DefineComponent<IParams, {
9
9
  eventClick: (value: IParams) => IParams;
10
10
  eventDblClick: (value: IParams) => IParams;
11
11
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<IParams>> & {
12
+ onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
12
13
  onEventClick?: ((value: IParams) => any) | undefined;
13
14
  onEventDblClick?: ((value: IParams) => any) | undefined;
14
- onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
15
15
  }, {
16
16
  [x: string]: any;
17
17
  [x: symbol]: any;
@@ -27,7 +27,6 @@ const CalendarWeek = /* @__PURE__ */ defineComponent({
27
27
  selectedData,
28
28
  legends,
29
29
  rowsHeader,
30
- popVisible,
31
30
  eventClick,
32
31
  handleDrag,
33
32
  handleDragStart,
@@ -36,9 +35,7 @@ const CalendarWeek = /* @__PURE__ */ defineComponent({
36
35
  handleUIEvents
37
36
  } = useCalendarWeek(props, emit);
38
37
  const hoverItem = ref("");
39
- props.controller._evt.on("onActive", () => {
40
- popVisible.value = false;
41
- });
38
+ const visible = ref(false);
42
39
  watch(() => props.selectedData, () => {
43
40
  if (props.selectedData && props.selectedData.length > 0) {
44
41
  const data = props.selectedData.length > selectedData.value.length ? props.selectedData : selectedData.value;
@@ -77,11 +74,14 @@ const CalendarWeek = /* @__PURE__ */ defineComponent({
77
74
  });
78
75
  const onMouseenter = (event) => {
79
76
  hoverItem.value = String(event.id);
80
- popVisible.value = true;
77
+ visible.value = true;
78
+ };
79
+ const onClickCalendarItem = () => {
80
+ visible.value = false;
81
81
  };
82
82
  const onMouseleavee = () => {
83
83
  hoverItem.value = "";
84
- popVisible.value = false;
84
+ visible.value = false;
85
85
  };
86
86
  const renderEventItem = (location, eventBoxStyle, eventContentStyle, event, index, slotNme, classEName) => {
87
87
  var _a;
@@ -90,10 +90,13 @@ const CalendarWeek = /* @__PURE__ */ defineComponent({
90
90
  "class": [ns.em(classEName, "event-box")],
91
91
  "style": eventBoxStyle,
92
92
  "onMouseenter": () => onMouseenter(event),
93
- "onMouseleave": onMouseleavee
93
+ "onMouseleave": onMouseleavee,
94
+ "onClick": onClickCalendarItem
94
95
  }, [createVNode("button", {
95
96
  "class": [ns.em(classEName, "event-content"), event.isSelectedEvent ? "is-selected-event" : "", event.classname],
96
- "onClick": () => eventClick(event, "head"),
97
+ "onClick": () => {
98
+ eventClick(event, "head");
99
+ },
97
100
  "style": eventContentStyle
98
101
  }, [slots[slotNme] ? (_a = slots[slotNme]) == null ? void 0 : _a.call(slots, {
99
102
  data: event
@@ -112,15 +115,15 @@ const CalendarWeek = /* @__PURE__ */ defineComponent({
112
115
  }, null) : ""])]);
113
116
  };
114
117
  const renderPopover = (content, event) => {
115
- if (!props.controller.state.showDetail) {
118
+ if (!props.showDetail) {
116
119
  return content;
117
120
  }
118
121
  return createVNode(resolveComponent("el-popover"), {
119
- "visible": popVisible.value && event.id === hoverItem.value,
120
- "show-after": 1e3,
122
+ "visible": visible.value && event.id === hoverItem.value,
123
+ "show-after": 100,
121
124
  "offset": 4,
122
125
  "width": "auto",
123
- "popper-class": ns.e("event-popover"),
126
+ "popper-class": [ns.e("event-popover")],
124
127
  "placement": "right-start"
125
128
  }, {
126
129
  reference: () => content,
@@ -8,9 +8,9 @@ export declare const IBizCalendarWeek: import("@ibiz-template/vue3-util").TypeWi
8
8
  eventClick: (value: IParams) => IParams;
9
9
  eventDblClick: (value: IParams) => IParams;
10
10
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<IParams>> & {
11
+ onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
11
12
  onEventClick?: ((value: IParams) => any) | undefined;
12
13
  onEventDblClick?: ((value: IParams) => any) | undefined;
13
- onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
14
14
  }, {
15
15
  [x: string]: any;
16
16
  [x: symbol]: any;
@@ -359,6 +359,7 @@ const useCalendarWeek = (props, emit) => {
359
359
  return tempDrawData;
360
360
  };
361
361
  const eventClick = async (item, location) => {
362
+ popVisible.value = false;
362
363
  const res = await handleEVentClick(
363
364
  item,
364
365
  location,
@@ -1,9 +1,8 @@
1
- import { onMounted, createVNode, resolveComponent, createTextVNode, defineComponent } from 'vue';
1
+ import { onMounted, createVNode, resolveComponent, defineComponent } from 'vue';
2
2
  import dayjs from 'dayjs';
3
3
  import { useNamespace } from '@ibiz-template/vue3-util';
4
4
  import { IBizCalendarDaily } from '../calendar-daily/index.mjs';
5
5
  import { IBizCalendarWeek } from '../calendar-week/index.mjs';
6
- import { IBizCalendarMonth } from '../calendar-month/index.mjs';
7
6
  import { useCustomCalendar } from './use-custom-calendar.mjs';
8
7
  import './custom-calendar.css';
9
8
  import '../interface/index.mjs';
@@ -22,7 +21,6 @@ const CustomCalendar = /* @__PURE__ */ defineComponent({
22
21
  const {
23
22
  date,
24
23
  events,
25
- i18nDate,
26
24
  shortcuts,
27
25
  viewType,
28
26
  validatedRange,
@@ -40,112 +38,6 @@ const CustomCalendar = /* @__PURE__ */ defineComponent({
40
38
  onMounted(() => {
41
39
  pickDay(dayjs(/* @__PURE__ */ new Date()));
42
40
  });
43
- const renderMonth = () => {
44
- var _a;
45
- return createVNode("div", {
46
- "class": [ns.e("calendar-month")]
47
- }, [(slots == null ? void 0 : slots.header) ? createVNode("div", {
48
- "class": [ns.em("calendar-month", "header")]
49
- }, [(_a = slots == null ? void 0 : slots.header) == null ? void 0 : _a.call(slots, {
50
- date: i18nDate.value,
51
- legends: legends.value
52
- })]) : createVNode("div", {
53
- "class": [ns.em("calendar-month", "header")]
54
- }, [createVNode("div", {
55
- "class": [ns.em("header", "title")]
56
- }, [i18nDate.value]), createVNode("div", {
57
- "class": ns.em("calendar-month", "legend")
58
- }, [legends.value.length > 1 && legends.value.map((legend) => {
59
- return createVNode("div", {
60
- "class": ns.em("calendar-month", "legend-item"),
61
- "onClick": () => selectLegend(legend)
62
- }, [createVNode("div", {
63
- "class": ns.em("calendar-month", "legend-item-tip"),
64
- "style": {
65
- background: legend.isShow ? legend.bkcolor : "#CCCCCC"
66
- }
67
- }, null), createVNode("div", {
68
- "class": ns.em("calendar-month", "legend-item-text"),
69
- "style": {
70
- color: legend.isShow ? legend.color : "#CCCCCC"
71
- },
72
- "title": legend.name
73
- }, [legend.name])]);
74
- })]), validatedRange.value.length === 0 && createVNode("div", {
75
- "class": [ns.em("calendar-month", "button-group")]
76
- }, [createVNode(resolveComponent("el-date-picker"), {
77
- "modelValue": realSelectedDay.value,
78
- "onUpdate:modelValue": ($event) => realSelectedDay.value = $event,
79
- "type": "month"
80
- }, null), createVNode(resolveComponent("el-button-group"), null, {
81
- default: () => [createVNode(resolveComponent("el-button"), {
82
- "size": "small",
83
- "onClick": () => {
84
- selectDate("prev-year");
85
- }
86
- }, {
87
- default: () => [createTextVNode("\u53BB\u5E74")]
88
- }), createVNode(resolveComponent("el-button"), {
89
- "size": "small",
90
- "onClick": () => {
91
- selectDate("prev-month");
92
- }
93
- }, {
94
- default: () => [createTextVNode("\u4E0A\u4E2A\u6708")]
95
- }), createVNode(resolveComponent("el-button"), {
96
- "size": "small",
97
- "onClick": () => {
98
- selectDate("today");
99
- }
100
- }, {
101
- default: () => [createTextVNode("\u4ECA\u5929")]
102
- }), createVNode(resolveComponent("el-button"), {
103
- "size": "small",
104
- "onClick": () => {
105
- selectDate("next-month");
106
- }
107
- }, {
108
- default: () => [createTextVNode("\u4E0B\u4E2A\u6708")]
109
- }), createVNode(resolveComponent("el-button"), {
110
- "size": "small",
111
- "onClick": () => {
112
- selectDate("next-year");
113
- }
114
- }, {
115
- default: () => [createTextVNode("\u660E\u5E74")]
116
- })]
117
- })])]), validatedRange.value.length === 0 ? createVNode("div", {
118
- "class": [ns.em("calendar-month", "body")]
119
- }, [createVNode(IBizCalendarMonth, {
120
- "date": date.value,
121
- "controller": props.controller,
122
- "selected-day": realSelectedDay.value,
123
- "events": events.value,
124
- "legends": legends.value,
125
- "multiple": multiple.value,
126
- "selectedData": selectedData.value,
127
- "onPickEvent": (day) => pickDay(day),
128
- "onEventClick": (value) => handleEVentClick(value),
129
- "onEventDblClick": (value) => handleEVentDblClick(value)
130
- }, slots)]) : createVNode("div", {
131
- "class": [ns.em("calendar-month", "body")]
132
- }, [validatedRange.value.map((item, index) => {
133
- return createVNode(IBizCalendarMonth, {
134
- "date": item[0],
135
- "controller": props.controller,
136
- "selected-day": realSelectedDay.value,
137
- "range": item,
138
- "hide-header": index !== 0,
139
- "onPickEvent": (day) => pickDay(day),
140
- "events": events.value,
141
- "legends": legends.value,
142
- "multiple": multiple.value,
143
- "selectedData": selectedData.value,
144
- "onEventClick": (value) => handleEVentClick(value),
145
- "onEventDblClick": (value) => handleEVentDblClick(value)
146
- }, slots);
147
- })])]);
148
- };
149
41
  const renderWeek = () => {
150
42
  var _a;
151
43
  return createVNode("div", {
@@ -161,7 +53,7 @@ const CustomCalendar = /* @__PURE__ */ defineComponent({
161
53
  "class": ns.em("calendar-week", "header-top")
162
54
  }, [createVNode("div", {
163
55
  "class": ns.em("calendar-week", "title")
164
- }, [props.controller.state.calendarTitle || ibiz.i18n.t("control.calendar.title")]), createVNode("div", {
56
+ }, [props.calendarTitle || ibiz.i18n.t("control.calendar.title")]), createVNode("div", {
165
57
  "class": ns.em("calendar-week", "legend")
166
58
  }, [legends.value.length > 1 && legends.value.map((item) => {
167
59
  return createVNode("div", {
@@ -189,7 +81,7 @@ const CustomCalendar = /* @__PURE__ */ defineComponent({
189
81
  "shortcuts": shortcuts
190
82
  }, null)])])]), createVNode(IBizCalendarWeek, {
191
83
  "selected-day": realSelectedDay.value,
192
- "controller": props.controller,
84
+ "showDetail": props.showDetail,
193
85
  "events": events.value,
194
86
  "legends": legends.value,
195
87
  "multiple": multiple.value,
@@ -213,7 +105,7 @@ const CustomCalendar = /* @__PURE__ */ defineComponent({
213
105
  "class": ns.em("calendar-week", "header-top")
214
106
  }, [createVNode("div", {
215
107
  "class": ns.em("calendar-week", "title")
216
- }, [props.controller.state.calendarTitle || ibiz.i18n.t("control.calendar.title")]), createVNode("div", {
108
+ }, [props.calendarTitle || ibiz.i18n.t("control.calendar.title")]), createVNode("div", {
217
109
  "class": ns.em("calendar-week", "legend")
218
110
  }, [legends.value.length > 1 && legends.value.map((item) => {
219
111
  return createVNode("div", {
@@ -254,8 +146,6 @@ const CustomCalendar = /* @__PURE__ */ defineComponent({
254
146
  };
255
147
  const renderContent = () => {
256
148
  switch (viewType.value) {
257
- case "MONTH":
258
- return renderMonth();
259
149
  case "DAY":
260
150
  return renderDay();
261
151
  case "WEEK":
@@ -4,9 +4,6 @@ import { isObject } from 'lodash-es';
4
4
 
5
5
  "use strict";
6
6
  const calendarDailyProps = handleProps({
7
- controller: {
8
- type: Object
9
- },
10
7
  selectedDay: {
11
8
  type: definePropType(Object)
12
9
  },
@@ -4,8 +4,9 @@ import { isObject } from 'lodash-es';
4
4
 
5
5
  "use strict";
6
6
  const calendarWeekProps = handleProps({
7
- controller: {
8
- type: Object
7
+ showDetail: {
8
+ type: Boolean,
9
+ default: false
9
10
  },
10
11
  selectedDay: {
11
12
  type: definePropType(Object)
@@ -7,9 +7,14 @@ import { UPDATE_MODEL_EVENT, INPUT_EVENT, CHANGE_EVENT, EVENT_CLICK_EVENT, EVENT
7
7
  "use strict";
8
8
  const isValidRange = (range) => isArray(range) && range.length === 2 && range.every((item) => isDate(item));
9
9
  const customCalendarProps = handleProps({
10
- controller: {
11
- type: Object,
12
- required: true
10
+ // 标题
11
+ calendarTitle: {
12
+ type: String
13
+ },
14
+ // 显示popover 详情
15
+ showDetail: {
16
+ type: Boolean,
17
+ default: false
13
18
  },
14
19
  /**
15
20
  * @description 绑定值
@@ -1,5 +1,4 @@
1
1
  export * from './common';
2
2
  export * from './custom-calendar';
3
3
  export * from './calendar-daily';
4
- export * from './calendar-month';
5
4
  export * from './calendar-week';
@@ -1,7 +1,6 @@
1
1
  import './common.mjs';
2
2
  export { customCalendarEmits, customCalendarProps } from './custom-calendar.mjs';
3
3
  export { calendarDailyEmits, calendarDailyProps } from './calendar-daily.mjs';
4
- export { calendarMonthEmits, calendarMonthProps } from './calendar-month.mjs';
5
4
  export { calendarWeekEmits, calendarWeekProps } from './calendar-week.mjs';
6
5
 
7
6
  "use strict";
@@ -26,8 +26,9 @@ export declare const IBizCalendarControl: import("@ibiz-template/vue3-util").Typ
26
26
  c: import("@ibiz-template/runtime").CalendarController;
27
27
  ns: import("@ibiz-template/core").Namespace;
28
28
  calendarRef: import("vue").Ref<IData | undefined>;
29
+ popoverVisible: import("vue").Ref<boolean>;
29
30
  selectDate: (tag: string) => void;
30
- renderCalendar: () => JSX.Element;
31
+ calcItemStyle: (data: import("@ibiz-template/runtime").ICalendarItemData) => IData;
31
32
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
33
  modelData: {
33
34
  type: import("vue").PropType<import("@ibiz/model-core").ISysCalendar>;
@@ -16,6 +16,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
16
16
  ns: import("@ibiz-template/core").Namespace;
17
17
  customC: {
18
18
  model: {
19
+ customizeMode?: number | undefined;
19
20
  appDynaDashboardUtilId?: string | undefined;
20
21
  enableCustomized?: boolean | undefined;
21
22
  autoLoad?: boolean | undefined;
@@ -481,6 +482,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
481
482
  propertyIsEnumerable: (v: PropertyKey) => boolean;
482
483
  } | undefined;
483
484
  tag?: string | undefined;
485
+ uniqueTag?: string | undefined;
484
486
  appId: string;
485
487
  id?: string | undefined;
486
488
  name?: string | undefined;
@@ -1011,6 +1013,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
1011
1013
  propertyIsEnumerable: (v: PropertyKey) => boolean;
1012
1014
  } | undefined;
1013
1015
  tag?: string | undefined;
1016
+ uniqueTag?: string | undefined;
1014
1017
  appId: string;
1015
1018
  id?: string | undefined;
1016
1019
  name?: string | undefined;
@@ -1691,6 +1694,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
1691
1694
  propertyIsEnumerable: (v: PropertyKey) => boolean;
1692
1695
  } | undefined;
1693
1696
  tag?: string | undefined;
1697
+ uniqueTag?: string | undefined;
1694
1698
  appId: string;
1695
1699
  id?: string | undefined;
1696
1700
  name?: string | undefined;
@@ -2034,9 +2038,12 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
2034
2038
  portlets: {
2035
2039
  [key: string]: import("@ibiz-template/runtime").IPortletController;
2036
2040
  };
2041
+ enableDynamic: boolean;
2037
2042
  initPortlets: (portletModels: IDBPortletPart[], parent?: import("@ibiz-template/runtime").IPortletContainerController | undefined) => Promise<void>;
2038
2043
  initPortletsConfig: (config?: IData | undefined) => Promise<void>;
2039
2044
  resetPortlets: () => Promise<void>;
2045
+ loadAllDynaPortlet: () => Promise<IData[]>;
2046
+ loadDynaPortletById: (id: string) => Promise<IDBPortletPart | undefined>;
2040
2047
  dataChangeNotify: (data: IData) => Promise<void>;
2041
2048
  readonly view: {
2042
2049
  evt: {
@@ -2727,6 +2734,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
2727
2734
  propertyIsEnumerable: (v: PropertyKey) => boolean;
2728
2735
  } | undefined;
2729
2736
  tag?: string | undefined;
2737
+ uniqueTag?: string | undefined;
2730
2738
  appId: string;
2731
2739
  id?: string | undefined;
2732
2740
  name?: string | undefined;
@@ -3548,6 +3556,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
3548
3556
  propertyIsEnumerable: (v: PropertyKey) => boolean;
3549
3557
  } | undefined;
3550
3558
  tag?: string | undefined;
3559
+ uniqueTag?: string | undefined;
3551
3560
  appId: string;
3552
3561
  id?: string | undefined;
3553
3562
  name?: string | undefined;
@@ -4078,6 +4087,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
4078
4087
  propertyIsEnumerable: (v: PropertyKey) => boolean;
4079
4088
  } | undefined;
4080
4089
  tag?: string | undefined;
4090
+ uniqueTag?: string | undefined;
4081
4091
  appId: string;
4082
4092
  id?: string | undefined;
4083
4093
  name?: string | undefined;
@@ -4758,6 +4768,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
4758
4768
  propertyIsEnumerable: (v: PropertyKey) => boolean;
4759
4769
  } | undefined;
4760
4770
  tag?: string | undefined;
4771
+ uniqueTag?: string | undefined;
4761
4772
  appId: string;
4762
4773
  id?: string | undefined;
4763
4774
  name?: string | undefined;
@@ -5894,6 +5905,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
5894
5905
  propertyIsEnumerable: (v: PropertyKey) => boolean;
5895
5906
  } | undefined;
5896
5907
  tag?: string | undefined;
5908
+ uniqueTag?: string | undefined;
5897
5909
  appId: string;
5898
5910
  id?: string | undefined;
5899
5911
  name?: string | undefined;
@@ -6664,6 +6676,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
6664
6676
  propertyIsEnumerable: (v: PropertyKey) => boolean;
6665
6677
  } | undefined;
6666
6678
  tag?: string | undefined;
6679
+ uniqueTag?: string | undefined;
6667
6680
  appId: string;
6668
6681
  id?: string | undefined;
6669
6682
  name?: string | undefined;
@@ -7485,6 +7498,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
7485
7498
  propertyIsEnumerable: (v: PropertyKey) => boolean;
7486
7499
  } | undefined;
7487
7500
  tag?: string | undefined;
7501
+ uniqueTag?: string | undefined;
7488
7502
  appId: string;
7489
7503
  id?: string | undefined;
7490
7504
  name?: string | undefined;
@@ -8015,6 +8029,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
8015
8029
  propertyIsEnumerable: (v: PropertyKey) => boolean;
8016
8030
  } | undefined;
8017
8031
  tag?: string | undefined;
8032
+ uniqueTag?: string | undefined;
8018
8033
  appId: string;
8019
8034
  id?: string | undefined;
8020
8035
  name?: string | undefined;
@@ -8695,6 +8710,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
8695
8710
  propertyIsEnumerable: (v: PropertyKey) => boolean;
8696
8711
  } | undefined;
8697
8712
  tag?: string | undefined;
8713
+ uniqueTag?: string | undefined;
8698
8714
  appId: string;
8699
8715
  id?: string | undefined;
8700
8716
  name?: string | undefined;
@@ -9103,6 +9119,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
9103
9119
  propertyIsEnumerable: (v: PropertyKey) => boolean;
9104
9120
  } | undefined;
9105
9121
  tag?: string | undefined;
9122
+ uniqueTag?: string | undefined;
9106
9123
  appId: string;
9107
9124
  id?: string | undefined;
9108
9125
  name?: string | undefined;
@@ -9634,6 +9651,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
9634
9651
  propertyIsEnumerable: (v: PropertyKey) => boolean;
9635
9652
  } | undefined;
9636
9653
  tag?: string | undefined;
9654
+ uniqueTag?: string | undefined;
9637
9655
  appId: string;
9638
9656
  id?: string | undefined;
9639
9657
  name?: string | undefined;
@@ -10491,6 +10509,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
10491
10509
  propertyIsEnumerable: (v: PropertyKey) => boolean;
10492
10510
  } | undefined;
10493
10511
  tag?: string | undefined;
10512
+ uniqueTag?: string | undefined;
10494
10513
  appId: string;
10495
10514
  id?: string | undefined;
10496
10515
  name?: string | undefined;
@@ -11021,6 +11040,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
11021
11040
  propertyIsEnumerable: (v: PropertyKey) => boolean;
11022
11041
  } | undefined;
11023
11042
  tag?: string | undefined;
11043
+ uniqueTag?: string | undefined;
11024
11044
  appId: string;
11025
11045
  id?: string | undefined;
11026
11046
  name?: string | undefined;
@@ -11701,6 +11721,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
11701
11721
  propertyIsEnumerable: (v: PropertyKey) => boolean;
11702
11722
  } | undefined;
11703
11723
  tag?: string | undefined;
11724
+ uniqueTag?: string | undefined;
11704
11725
  appId: string;
11705
11726
  id?: string | undefined;
11706
11727
  name?: string | undefined;
@@ -12993,6 +13014,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
12993
13014
  propertyIsEnumerable: (v: PropertyKey) => boolean;
12994
13015
  } | undefined;
12995
13016
  tag?: string | undefined;
13017
+ uniqueTag?: string | undefined;
12996
13018
  appId: string;
12997
13019
  id?: string | undefined;
12998
13020
  name?: string | undefined;
@@ -13703,6 +13725,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
13703
13725
  propertyIsEnumerable: (v: PropertyKey) => boolean;
13704
13726
  } | undefined;
13705
13727
  tag?: string | undefined;
13728
+ uniqueTag?: string | undefined;
13706
13729
  appId: string;
13707
13730
  id?: string | undefined;
13708
13731
  name?: string | undefined;
@@ -14480,6 +14503,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
14480
14503
  propertyIsEnumerable: (v: PropertyKey) => boolean;
14481
14504
  } | undefined;
14482
14505
  tag?: string | undefined;
14506
+ uniqueTag?: string | undefined;
14483
14507
  appId: string;
14484
14508
  id?: string | undefined;
14485
14509
  name?: string | undefined;
@@ -14974,6 +14998,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
14974
14998
  propertyIsEnumerable: (v: PropertyKey) => boolean;
14975
14999
  } | undefined;
14976
15000
  tag?: string | undefined;
15001
+ uniqueTag?: string | undefined;
14977
15002
  appId: string;
14978
15003
  id?: string | undefined;
14979
15004
  name?: string | undefined;
@@ -15608,6 +15633,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
15608
15633
  propertyIsEnumerable: (v: PropertyKey) => boolean;
15609
15634
  } | undefined;
15610
15635
  tag?: string | undefined;
15636
+ uniqueTag?: string | undefined;
15611
15637
  appId: string;
15612
15638
  id?: string | undefined;
15613
15639
  name?: string | undefined;
@@ -15993,6 +16019,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
15993
16019
  propertyIsEnumerable: (v: PropertyKey) => boolean;
15994
16020
  } | undefined;
15995
16021
  tag?: string | undefined;
16022
+ uniqueTag?: string | undefined;
15996
16023
  appId: string;
15997
16024
  id?: string | undefined;
15998
16025
  name?: string | undefined;
@@ -16557,6 +16584,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
16557
16584
  propertyIsEnumerable: (v: PropertyKey) => boolean;
16558
16585
  } | undefined;
16559
16586
  tag?: string | undefined;
16587
+ uniqueTag?: string | undefined;
16560
16588
  appId: string;
16561
16589
  id?: string | undefined;
16562
16590
  name?: string | undefined;
@@ -17414,6 +17442,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
17414
17442
  propertyIsEnumerable: (v: PropertyKey) => boolean;
17415
17443
  } | undefined;
17416
17444
  tag?: string | undefined;
17445
+ uniqueTag?: string | undefined;
17417
17446
  appId: string;
17418
17447
  id?: string | undefined;
17419
17448
  name?: string | undefined;
@@ -17944,6 +17973,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
17944
17973
  propertyIsEnumerable: (v: PropertyKey) => boolean;
17945
17974
  } | undefined;
17946
17975
  tag?: string | undefined;
17976
+ uniqueTag?: string | undefined;
17947
17977
  appId: string;
17948
17978
  id?: string | undefined;
17949
17979
  name?: string | undefined;
@@ -18624,6 +18654,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
18624
18654
  propertyIsEnumerable: (v: PropertyKey) => boolean;
18625
18655
  } | undefined;
18626
18656
  tag?: string | undefined;
18657
+ uniqueTag?: string | undefined;
18627
18658
  appId: string;
18628
18659
  id?: string | undefined;
18629
18660
  name?: string | undefined;
@@ -19011,12 +19042,13 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
19011
19042
  data?: IData | IData[] | undefined;
19012
19043
  error?: Error | undefined;
19013
19044
  } | undefined) => void;
19014
- emitDEDataChange: (type: "remove" | "create" | "update", data: IData) => void;
19045
+ emitDEDataChange: (type: "update" | "remove" | "create", data: IData) => void;
19015
19046
  doNextActive: (cb: () => void, opts: {
19016
19047
  key: string;
19017
19048
  delay?: number | undefined;
19018
19049
  }) => void;
19019
19050
  readonly model: {
19051
+ customizeMode?: number | undefined;
19020
19052
  appDynaDashboardUtilId?: string | undefined;
19021
19053
  enableCustomized?: boolean | undefined;
19022
19054
  autoLoad?: boolean | undefined;
@@ -19482,6 +19514,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
19482
19514
  propertyIsEnumerable: (v: PropertyKey) => boolean;
19483
19515
  } | undefined;
19484
19516
  tag?: string | undefined;
19517
+ uniqueTag?: string | undefined;
19485
19518
  appId: string;
19486
19519
  id?: string | undefined;
19487
19520
  name?: string | undefined;
@@ -20012,6 +20045,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
20012
20045
  propertyIsEnumerable: (v: PropertyKey) => boolean;
20013
20046
  } | undefined;
20014
20047
  tag?: string | undefined;
20048
+ uniqueTag?: string | undefined;
20015
20049
  appId: string;
20016
20050
  id?: string | undefined;
20017
20051
  name?: string | undefined;
@@ -20692,6 +20726,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
20692
20726
  propertyIsEnumerable: (v: PropertyKey) => boolean;
20693
20727
  } | undefined;
20694
20728
  tag?: string | undefined;
20729
+ uniqueTag?: string | undefined;
20695
20730
  appId: string;
20696
20731
  id?: string | undefined;
20697
20732
  name?: string | undefined;
@@ -21104,7 +21139,6 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
21104
21139
  type: "data" | "public" | "personal" | "dynamic";
21105
21140
  ownerType: string;
21106
21141
  ownerId: string;
21107
- multiMode: boolean;
21108
21142
  loadCustomModelData: () => Promise<IData>;
21109
21143
  resetCustomModelData: () => Promise<IData>;
21110
21144
  saveCustomModelData: (model: IData[], opts?: IData | undefined) => Promise<IData>;