litos-ui 0.19.0 → 0.20.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 (155) hide show
  1. package/lib/{animation-DStAHzod.js → animation-Bo4jbSGK.js} +4 -3
  2. package/lib/{base-LvfO4mmL.js → base-Dyj1rzaK.js} +11 -12
  3. package/lib/base.d.ts +5 -4
  4. package/lib/base.js +19 -15
  5. package/lib/button/index.d.ts +2 -2
  6. package/lib/button/index.js +152 -2
  7. package/lib/button/style.d.ts +2 -0
  8. package/lib/button/style.js +2 -0
  9. package/lib/calendar/index.d.ts +2 -2
  10. package/lib/calendar/index.js +1 -1
  11. package/lib/{calendar-Clbg3qot.js → calendar-CvlUsN6w.js} +20 -23
  12. package/lib/card/index.d.ts +23 -0
  13. package/lib/card/index.js +2 -0
  14. package/lib/card-3DM-lJQV.js +63 -0
  15. package/lib/carousel/index.js +1 -1
  16. package/lib/carousel/item.js +1 -1
  17. package/lib/{carousel-Dgirxwzb.js → carousel-DvkZ1YXq.js} +23 -19
  18. package/lib/check/checkbox.js +1 -1
  19. package/lib/check/checkbox_group.js +1 -1
  20. package/lib/check/radio.js +1 -1
  21. package/lib/check/radio_group.js +1 -1
  22. package/lib/{check-BDOpD_0-.js → check-DFlwStH9.js} +10 -13
  23. package/lib/{check-CrlZ7zVL.js → check-doQ2ZpQj.js} +10 -10
  24. package/lib/{checkbox-D_bZGoUD.js → checkbox-DhGHJXwI.js} +1 -1
  25. package/lib/collapse/index.js +1 -1
  26. package/lib/collapse/item.js +1 -1
  27. package/lib/{collapse-BRxYoeJx.js → collapse-B6-Rn05A.js} +8 -10
  28. package/lib/color_picker/index.js +1 -1
  29. package/lib/{color_picker-AaFcIczZ.js → color_picker-0a-IGZY9.js} +3 -3
  30. package/lib/date_picker/index.d.ts +2 -2
  31. package/lib/date_picker/index.js +1 -1
  32. package/lib/{date_picker-HjkRma9j.js → date_picker-BDN2PAz5.js} +3 -7
  33. package/lib/date_picker_ori/index.js +1 -1
  34. package/lib/{date_picker_ori-1IOHZsan.js → date_picker_ori-BXFs1eET.js} +4 -6
  35. package/lib/description_panel/index.js +1 -1
  36. package/lib/{description_panel-DaqVcA6-.js → description_panel--AKXBzLL.js} +2 -6
  37. package/lib/dialog/dialog_box.d.ts +22 -0
  38. package/lib/dialog/dialog_box.js +98 -0
  39. package/lib/dialog/dialog_container.d.ts +7 -3
  40. package/lib/dialog/dialog_container.js +1 -1
  41. package/lib/dialog/index.d.ts +33 -11
  42. package/lib/dialog/index.js +48 -48
  43. package/lib/{dialog_container-CcTyfoaD.js → dialog_container-BNPQ9n0V.js} +34 -15
  44. package/lib/{esm-Cir9D6cn.js → esm-DAha108i.js} +67 -67
  45. package/lib/form/form_item.d.ts +3 -3
  46. package/lib/form/form_item.js +1 -1
  47. package/lib/form/index.d.ts +3 -3
  48. package/lib/form/index.js +1 -1
  49. package/lib/{form-BvZHaqAt.js → form-DJxvBiLy.js} +30 -32
  50. package/lib/{form_inner-52DR1IPu.js → form_inner-Cnwb6f_Q.js} +3 -5
  51. package/lib/{form_item-DtqChzc3.js → form_item-BqPMRABd.js} +7 -9
  52. package/lib/icon/arrow_down.js +1 -1
  53. package/lib/icon/arrow_left.js +1 -1
  54. package/lib/icon/arrow_right.js +1 -1
  55. package/lib/icon/arrow_up.js +1 -1
  56. package/lib/icon/base.d.ts +2 -2
  57. package/lib/icon/base.js +1 -1
  58. package/lib/icon/calendar.js +1 -1
  59. package/lib/icon/caret_bottom.js +1 -1
  60. package/lib/icon/caret_top.js +1 -1
  61. package/lib/icon/close.js +1 -1
  62. package/lib/icon/close_filled.js +1 -1
  63. package/lib/icon/d_arrow_left.js +1 -1
  64. package/lib/icon/d_arrow_right.js +1 -1
  65. package/lib/icon/font_icon.js +1 -1
  66. package/lib/icon/info.js +1 -1
  67. package/lib/icon/loading.js +1 -1
  68. package/lib/icon/moon.js +1 -1
  69. package/lib/icon/more.js +1 -1
  70. package/lib/icon/reduction.js +1 -1
  71. package/lib/icon/refresh.js +1 -1
  72. package/lib/icon/refresh_left.js +1 -1
  73. package/lib/icon/refresh_right.js +1 -1
  74. package/lib/icon/search.js +1 -1
  75. package/lib/icon/select.js +1 -1
  76. package/lib/icon/sort.js +1 -1
  77. package/lib/icon/success.js +1 -1
  78. package/lib/icon/sun.js +1 -1
  79. package/lib/icon/theme_default.js +1 -1
  80. package/lib/icon/warn.js +1 -1
  81. package/lib/icon/zoom_in.js +1 -1
  82. package/lib/icon/zoom_out.js +1 -1
  83. package/lib/image/image_preview.js +1 -1
  84. package/lib/image/index.js +1 -1
  85. package/lib/{image-BCUhVAFo.js → image-CVQai6NX.js} +19 -19
  86. package/lib/{image_preview-BeJzfEoF.js → image_preview-DfQAKSJH.js} +3 -5
  87. package/lib/index.d.ts +2 -0
  88. package/lib/index.js +71 -69
  89. package/lib/input/index.d.ts +2 -2
  90. package/lib/input/index.js +3 -5
  91. package/lib/{item-42bYhAkZ.js → item-CQ2Sknbz.js} +1 -1
  92. package/lib/{item-Dq6M7lxw.js → item-DI6mQXtB.js} +5 -7
  93. package/lib/{item-CX8C9X57.js → item-D_ZOPXuE.js} +1 -1
  94. package/lib/list/index.js +1 -1
  95. package/lib/{list-Dz1Ya118.js → list-MG8PRzos.js} +3 -3
  96. package/lib/loading/index.js +6 -4
  97. package/lib/mask/index.js +1 -1
  98. package/lib/{mask-BlDl9u8F.js → mask-Bx-yNIJv.js} +2 -6
  99. package/lib/mask-Ox6CoyFB.js +5 -0
  100. package/lib/md_input/index.js +1 -1
  101. package/lib/{md_input-DN3ceqsw.js → md_input-BX3bujz8.js} +2 -2
  102. package/lib/menu/index.d.ts +12 -4
  103. package/lib/menu/index.js +1 -1
  104. package/lib/menu-DKscK5mw.js +274 -0
  105. package/lib/message/index.js +1 -1
  106. package/lib/modal/index.d.ts +2 -2
  107. package/lib/modal/index.js +1 -1
  108. package/lib/modal/modal_box.js +13 -13
  109. package/lib/{modal-cjj3Nw1B.js → modal-Cwi3qlEf.js} +39 -33
  110. package/lib/page_header/index.js +1 -1
  111. package/lib/{page_header-BfuWJIdd.js → page_header-ujV3pncE.js} +2 -4
  112. package/lib/pagination/index.d.ts +25 -18
  113. package/lib/pagination/index.js +1 -1
  114. package/lib/{pagination-DpOSOFwl.js → pagination-aRbGd3Rf.js} +86 -83
  115. package/lib/polygon/index.js +1 -1
  116. package/lib/{polygon-BY1FAACc.js → polygon-DhhovlrG.js} +1 -1
  117. package/lib/qrcode/index.d.ts +2 -2
  118. package/lib/qrcode/index.js +1 -1
  119. package/lib/{qrcode-Bgr8gJzA.js → qrcode-Dip8uLSA.js} +1 -1
  120. package/lib/{radio-C7dkhgwc.js → radio-C9NPQWGI.js} +1 -1
  121. package/lib/select/index.d.ts +2 -2
  122. package/lib/select/index.js +1 -1
  123. package/lib/{select-Cis6kRjQ.js → select-BZMDj5VE.js} +33 -30
  124. package/lib/select_ori/index.d.ts +2 -2
  125. package/lib/select_ori/index.js +1 -1
  126. package/lib/{select_ori-DcJbNYYr.js → select_ori-C7sUZxen.js} +3 -3
  127. package/lib/space/index.js +1 -1
  128. package/lib/{space-BT_dVhhv.js → space-CKuTk0YB.js} +6 -5
  129. package/lib/style-gKR_qwzm.js +5 -0
  130. package/lib/styles/animation/index.d.ts +2 -0
  131. package/lib/styles/animation/index.js +2 -0
  132. package/lib/styles/mask/index.d.ts +2 -0
  133. package/lib/styles/mask/index.js +2 -0
  134. package/lib/switch/index.js +1 -1
  135. package/lib/{switch-UyhlgW7F.js → switch-wh2-ivty.js} +11 -9
  136. package/lib/tabbar/index.js +1 -1
  137. package/lib/tabbar/item.js +1 -1
  138. package/lib/{tabbar-DO0kB58Y.js → tabbar-CBXK-_AV.js} +1 -1
  139. package/lib/table/index.d.ts +7 -3
  140. package/lib/table/index.js +1 -1
  141. package/lib/{table-saZMryiV.js → table-BQxMD2Ae.js} +32 -33
  142. package/lib/tabs/index.js +4 -2
  143. package/lib/tag/index.js +1 -1
  144. package/lib/{tag-BtDcKdxo.js → tag-Di1z9PoZ.js} +3 -5
  145. package/lib/theme/index.js +1 -1
  146. package/lib/theme/theme_color.d.ts +1 -2
  147. package/lib/theme/theme_color.js +4 -5
  148. package/lib/{theme-Barcq234.js → theme-CLbBS-in.js} +9 -10
  149. package/lib/utils/context_provide.js +1 -1
  150. package/lib/utils/index.d.ts +1 -1
  151. package/lib/utils/popover.js +1 -1
  152. package/lib/utils/transition.js +1 -1
  153. package/package.json +11 -11
  154. package/lib/button-CC5NBWtI.js +0 -152
  155. package/lib/menu-BOmVa4xN.js +0 -224
@@ -5,23 +5,31 @@ type MenuState = {
5
5
  accordion?: boolean;
6
6
  /** 当前选中的菜单项 key 数组, 用 , 分割 */
7
7
  selectedIndex: string;
8
+ /** 是否压缩菜单 */
9
+ collapsed?: boolean;
10
+ /** 压缩后菜单宽度 */
11
+ collapsedWidth?: string;
12
+ /** 图标大小 */
13
+ iconSize?: string;
14
+ /** 压缩后图标大小 */
15
+ collapsedIconSize?: string;
8
16
  };
9
17
  export default class Menu extends BaseComponent<MenuState> {
10
18
  #private;
11
19
  static baseName: string;
12
- /** 是否手风琴模式, 只有一个子菜单展开 */
13
- accordion: boolean;
14
20
  private _items;
15
21
  private _menuEl?;
16
22
  private _activeKeys;
17
23
  constructor();
18
24
  static get observedAttributes(): string[];
19
25
  protected attributeChanged(name: string, oldValue: string, newValue: string): void;
26
+ protected updateDOM(changedProps: Set<string>): void;
27
+ setStyleProperty(k: string, v: string | undefined | null): void;
20
28
  afterInit(): void;
21
29
  beforeDestroy(): void;
22
30
  render_v2(): {
23
- template?: string | HTMLElement | DocumentFragment;
24
- style?: string | string[];
31
+ style: string;
32
+ template: HTMLElement;
25
33
  };
26
34
  _handleClick: (e: Event) => void;
27
35
  /**
package/lib/menu/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../menu-BOmVa4xN.js";
1
+ import { t as e } from "../menu-DKscK5mw.js";
2
2
  export { e as default };
@@ -0,0 +1,274 @@
1
+ import e from "./base.js";
2
+ import { kebabToCamel as t, parseAttrValue as n, unitNumberStr as r } from "./utils/index.js";
3
+ import { $ as i, $$ as a, $one as o, iterate as s, off as c, on as l } from "ph-utils/browser";
4
+ //#region src/components/menu/index.less?inline
5
+ var u = ":host{--l-menu-width:240px;--l-menu-height:auto;--l-menu-level:0;--l-menu-item-height:40px;--l-menu-item-padding-x:10px;--l-menu-item-indent:15px;--l-menu-item-radius:0;--l-menu-item-hover-background:var(--l-primary-color-light5,#f9f0ff);--l-menu-item-active-color:var(--l-primary-color,#722ed1);--l-menu-item-active-background:var(--l-primary-color-light5,#f9f0ff);--l-menu-border-color:transparent;--l-menu-border-width:0px;--l-menu-arrow-color:var(--l-info-color,#8c8c8c);--l-menu-collapsed-width:40px;--l-menu-icon-size:1.8rem;--l-menu-collapsed-icon-size:1.8rem;width:var(--l-menu-width);height:var(--l-menu-height);box-sizing:border-box;transition:width .3s;display:block}.l-menu{min-width:0;color:inherit;box-sizing:border-box;border-right:var(--l-menu-border-width) solid var(--l-menu-border-color);font-size:14px;transition:height .3s,width .3s;display:block;position:relative;overflow:hidden}.l-menu .l-menu{--l-menu-border-color:transparent}.l-menu-item,.l-submenu-title{padding:0 var(--l-menu-item-padding-x) 0 calc(var(--l-menu-item-padding-x) + var(--l-menu-level) * var(--l-menu-item-indent));height:var(--l-menu-item-height);cursor:pointer;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;border-radius:var(--l-menu-item-radius);border-right:2px solid #0000;align-items:center;gap:6px;transition:color .3s,background-color .3s,border-color .3s,transform .2s;display:flex;position:relative;overflow:hidden}.l-menu-item:hover,.l-submenu-title:hover{background-color:var(--l-menu-item-hover-background)}.l-menu-item.active{background-color:var(--l-menu-item-active-background);color:var(--l-menu-item-active-color);box-shadow:inset 3px 0 var(--l-primary-color-light1,#39f);font-weight:500}.l-menu-icon-wrap{font-size:var(--l-menu-icon-size);flex:none;align-items:center;line-height:1;display:inline-flex}.l-menu-submenu{width:100%;display:block;overflow:hidden}.l-submenu-arrow-icon{color:var(--l-menu-arrow-color);transition:transform .3s;position:absolute;top:50%;right:10px;transform:translateY(-50%)rotate(90deg)}.l-menu-submenu.collapsed .l-submenu-arrow-icon{transform:translateY(-50%)rotate(0)}.l-menu--collapsed{display:none}.l-menu--hide{visibility:hidden;pointer-events:none;position:absolute}.l-menu-submenu.active .l-submenu-title{color:var(--l-menu-item-active-color)}:host(.menu--collapsed){width:var(--l-menu-collapsed-width)}:host(.menu--collapsed) .l-submenu-arrow-icon,:host(.menu--collapsed) .l-menu-item--label{display:none}:host(.menu--collapsed) .l-menu-icon-wrap{font-size:var(--l-menu-collapsed-icon-size,var(--l-menu-icon-size,1.8rem))}@media (prefers-reduced-motion:reduce){.l-menu,.l-menu-item,.l-submenu-title,.l-submenu-arrow-icon{transition:none}}", d = 350, f = class extends e {
6
+ static baseName = "menu";
7
+ _items;
8
+ _menuEl;
9
+ _activeKeys;
10
+ #e;
11
+ #t;
12
+ #n;
13
+ constructor() {
14
+ super(), this._items = [], this._activeKeys = /* @__PURE__ */ new Set(), this.#n = /* @__PURE__ */ new Map(), this.#e = /* @__PURE__ */ new Map(), this.#t = /* @__PURE__ */ new Map(), this.version = 2, this._state = { selectedIndex: "" };
15
+ }
16
+ static get observedAttributes() {
17
+ return [
18
+ "selected-index",
19
+ "accordion",
20
+ "collapsed",
21
+ "collapsed-width",
22
+ "icon-size",
23
+ "collapsed-icon-size"
24
+ ];
25
+ }
26
+ attributeChanged(e, r, i) {
27
+ switch (e) {
28
+ case "selected-index":
29
+ this._state.selectedIndex = i || "";
30
+ break;
31
+ case "accordion":
32
+ this._state.accordion = n(i, !1, "accordion");
33
+ break;
34
+ case "collapsed":
35
+ this._state.collapsed = n(i, !1, "collapsed");
36
+ break;
37
+ case "collapsed-width":
38
+ case "icon-size":
39
+ case "collapsed-icon-size":
40
+ let r = t(e);
41
+ this._state[r] = i;
42
+ }
43
+ }
44
+ updateDOM(e) {
45
+ if (e.has("collapsed") && (this._state.collapsed ? (this.classList.add("menu--collapsed"), this.#s()) : this.classList.remove("menu--collapsed")), e.has("selected-index") && this.updateSelectedKeys(this._state.selectedIndex), e.has("collapsed-width")) {
46
+ let e = r(this._state.collapsedWidth);
47
+ this.setStyleProperty("collapsed-width", e);
48
+ }
49
+ if (e.has("icon-size")) {
50
+ let e = r(this._state.iconSize);
51
+ this.setStyleProperty("icon-size", e);
52
+ }
53
+ if (e.has("collapsed-icon-size")) {
54
+ let e = r(this._state.collapsedIconSize);
55
+ this.setStyleProperty("collapsed-icon-size", e);
56
+ }
57
+ }
58
+ setStyleProperty(e, t) {
59
+ let n = `--l-menu-${e}`;
60
+ t ? this.style.setProperty(n, t) : this.style.removeProperty(n);
61
+ }
62
+ afterInit() {
63
+ this.classList.add("l-menu", "l-menu--vertical"), l(this.root, "click", this._handleClick), l(this.root, "transitionend", this._onTransitionEnd), this._menuEl = o(".l-menu", this.root);
64
+ }
65
+ beforeDestroy() {
66
+ c(this.root, "click", this._handleClick), c(this.root, "transitionend", this._onTransitionEnd), this.#n.forEach((e) => clearTimeout(e)), this.#n.clear(), this.#e.forEach((e) => cancelAnimationFrame(e)), this.#e.clear(), this.#t.clear(), this._menuEl = void 0;
67
+ }
68
+ render_v2() {
69
+ return {
70
+ style: u,
71
+ template: a("div", { class: "l-menu" })
72
+ };
73
+ }
74
+ _handleClick = (e) => {
75
+ let { type: t, key: n, keyPaths: r, target: i } = this.#r(e.target);
76
+ if (i) {
77
+ if (t === 2 && !this._state.collapsed) {
78
+ let e = i.hasAttribute("expanded");
79
+ this._toggleSubMenu(i, !e), !e && this._state.accordion && this.#o(i);
80
+ } else t === 1 && (this.#i(r), this.updateSelectedKeys(n), this.emit("select", { detail: {
81
+ key: n,
82
+ keyPaths: r
83
+ } }));
84
+ }
85
+ };
86
+ #r(e, t) {
87
+ let n = 0, r = "", i, a = [];
88
+ do {
89
+ if (!e) break;
90
+ let o = e.getAttribute("index");
91
+ if (o && (r ||= o, a.unshift(o), t && t(e, o)), n === 0) {
92
+ let t = e.getAttribute("menu-role");
93
+ t && (n = Number(t), i = e);
94
+ }
95
+ e = e.parentElement;
96
+ } while (n >= 0);
97
+ return {
98
+ type: n,
99
+ key: r,
100
+ keyPaths: a,
101
+ target: i
102
+ };
103
+ }
104
+ expandSubmenus(e, t = !1) {
105
+ let n = i(".l-menu-submenu[index]", this.root), r = new Set(e);
106
+ s(n, (e) => {
107
+ let n = e.getAttribute("index") || "";
108
+ r.has(n) ? this._toggleSubMenu(e, !0) : t && this._toggleSubMenu(e, !1);
109
+ });
110
+ }
111
+ updateSelectedKeys(e) {
112
+ this._state.selectedIndex = e;
113
+ let t = e ? o(`.l-menu-item[index="${e}"]`, this.root) : null;
114
+ if (t) {
115
+ let e = this.#r(t, (e) => {
116
+ e.classList.add("active"), e.getAttribute("menu-role") === "2" && this._toggleSubMenu(e, !0);
117
+ });
118
+ this.#i(e.keyPaths);
119
+ } else this.#i([]);
120
+ }
121
+ #i(e) {
122
+ let t = i(".l-menu [index].active", this.root), n = new Set(e);
123
+ s(t, (e) => {
124
+ let t = e.getAttribute("index") || "";
125
+ n.has(t) || this.#r(e, (e, t) => {
126
+ n.has(t) || e.classList.remove("active");
127
+ });
128
+ });
129
+ }
130
+ _toggleSubMenu(e, t) {
131
+ let n = e.getAttribute("index") || "", r = o(".l-menu", e);
132
+ if (r && t !== e.hasAttribute("expanded")) {
133
+ if (this.#a(n), this.#t.set(n, { expand: t }), t) {
134
+ e.setAttribute("expanded", ""), e.classList.remove("collapsed"), r.classList.add("l-menu--hide"), r.classList.remove("l-menu--collapsed"), r.style.removeProperty("height");
135
+ let t = requestAnimationFrame(() => {
136
+ this.#e.delete(n);
137
+ let t = r.getBoundingClientRect();
138
+ r.style.height = "0", r.classList.remove("l-menu--hide"), requestAnimationFrame(() => {
139
+ e.hasAttribute("expanded") && (r.style.height = `${t.height}px`);
140
+ });
141
+ });
142
+ this.#e.set(n, t);
143
+ } else {
144
+ e.removeAttribute("expanded");
145
+ let t = r.getBoundingClientRect();
146
+ r.style.height = `${t.height}px`, e.classList.add("collapsed");
147
+ let i = requestAnimationFrame(() => {
148
+ this.#e.delete(n), e.hasAttribute("expanded") || (r.style.height = "0");
149
+ });
150
+ this.#e.set(n, i);
151
+ }
152
+ this.#n.set(n, window.setTimeout(() => {
153
+ this.#n.delete(n), this._onTransitionEnd({
154
+ target: r,
155
+ propertyName: "height"
156
+ });
157
+ }, d));
158
+ }
159
+ }
160
+ #a(e) {
161
+ let t = this.#n.get(e);
162
+ t && (clearTimeout(t), this.#n.delete(e));
163
+ let n = this.#e.get(e);
164
+ n && (cancelAnimationFrame(n), this.#e.delete(e));
165
+ }
166
+ #o(e) {
167
+ let t = e.parentElement;
168
+ if (!t) return;
169
+ let n = i(".l-menu-submenu[expanded]", t);
170
+ s(n, (t) => {
171
+ t !== e && this._toggleSubMenu(t, !1);
172
+ });
173
+ }
174
+ #s() {
175
+ let e = i(".l-menu-submenu[expanded]", this.root);
176
+ s(e, (e) => {
177
+ this._toggleSubMenu(e, !1);
178
+ });
179
+ }
180
+ _onTransitionEnd = (e) => {
181
+ if (e.propertyName !== "height") return;
182
+ let t = e.target;
183
+ if (!t.classList.contains("l-menu")) return;
184
+ let n = t.closest(".l-menu-submenu");
185
+ if (!n) return;
186
+ let r = n.getAttribute("index") || "", i = this.#n.get(r);
187
+ i && (clearTimeout(i), this.#n.delete(r));
188
+ let a = this.#t.get(r);
189
+ if (a && a.expand !== n.hasAttribute("expanded")) {
190
+ this.#t.delete(r);
191
+ return;
192
+ }
193
+ this.#t.delete(r), t.style.removeProperty("height"), n.hasAttribute("expanded") || t.classList.add("l-menu--collapsed");
194
+ };
195
+ set items(e) {
196
+ this._items = e, this._menuEl && this._menuEl.replaceChildren(this._renderItems());
197
+ }
198
+ get items() {
199
+ return this._items;
200
+ }
201
+ _renderItems() {
202
+ this._activeKeys = this._state.selectedIndex ? new Set(this.#c(this._items, this._state.selectedIndex)) : /* @__PURE__ */ new Set();
203
+ let e = document.createDocumentFragment();
204
+ for (let t = 0, n = this._items.length; t < n; t++) e.appendChild(this._renderItem(this._items[t], 0));
205
+ return e;
206
+ }
207
+ _renderItem(e, t = 0) {
208
+ return e.children && e.children.length > 0 ? this._renderSubMenu(e, t) : this._renderMenuItem(e);
209
+ }
210
+ _renderMenuItem(e) {
211
+ let t = e.label, n = a("div", {
212
+ class: ["l-menu-item", this._activeKeys.has(e.key) ? "active" : ""],
213
+ index: e.key,
214
+ "menu-role": "1",
215
+ title: typeof t == "string" ? t : void 0
216
+ });
217
+ if (e.icon) {
218
+ let t = e.icon(e);
219
+ t.setAttribute("slot", "icon");
220
+ let r = a("span", { class: "l-menu-icon-wrap" });
221
+ r.appendChild(t), n.appendChild(r);
222
+ }
223
+ return n.appendChild(this._renderTitle(e)), n;
224
+ }
225
+ _renderSubMenu(e, t) {
226
+ let n = this._activeKeys.has(e.key), r = a("div", {
227
+ index: e.key,
228
+ class: [
229
+ "l-menu-submenu",
230
+ n ? "active" : void 0,
231
+ n ? void 0 : "collapsed"
232
+ ],
233
+ "menu-role": "2"
234
+ });
235
+ n && r.setAttribute("expanded", ""), r.setAttribute("data-level", String(t));
236
+ let i = e.label, o = a("div", {
237
+ class: "l-submenu-title",
238
+ title: typeof i == "string" ? i : void 0
239
+ });
240
+ if (e.icon) {
241
+ let t = e.icon(e), n = a("span", { class: "l-menu-icon-wrap" });
242
+ n.appendChild(t), o.appendChild(n);
243
+ }
244
+ o.appendChild(this._renderTitle(e));
245
+ let s = a("l-arrow-right-icon", { class: "l-submenu-arrow-icon" });
246
+ if (o.appendChild(s), r.appendChild(o), e.children) {
247
+ let i = a("div", { class: ["l-menu", n ? void 0 : "l-menu--collapsed"] });
248
+ i.style.setProperty("--l-menu-level", String(t + 1));
249
+ for (let n = 0, r = e.children.length; n < r; n++) i.appendChild(this._renderItem(e.children[n], t + 1));
250
+ r.appendChild(i);
251
+ }
252
+ return r;
253
+ }
254
+ _renderTitle(e) {
255
+ let t;
256
+ return t = typeof e.label == "string" ? a("span", { textContent: e.label }) : e.label(e), t.classList.add("l-menu-item--label"), t;
257
+ }
258
+ #c(e, t) {
259
+ let n = (e, r) => {
260
+ for (let i of e) {
261
+ let e = [...r, i.key];
262
+ if (t === i.key) return e;
263
+ if (i.children) {
264
+ let t = n(i.children, e);
265
+ if (t.length > 0) return t;
266
+ }
267
+ }
268
+ return [];
269
+ };
270
+ return n(e, []);
271
+ }
272
+ };
273
+ //#endregion
274
+ export { f as t };
@@ -3,7 +3,7 @@ import n from "../icon/close_filled.js";
3
3
  import r from "../icon/success.js";
4
4
  import i from "../icon/warn.js";
5
5
  import a from "../icon/info.js";
6
- import { transition as o } from "ph-utils/dom";
6
+ import { transition as o } from "ph-utils/browser";
7
7
  //#region src/components/message/index.ts
8
8
  var s = [], c = [[
9
9
  "opacity",
@@ -43,8 +43,8 @@ export default class Modal extends BaseComponent<ModalState> {
43
43
  protected updateDOM(changedProps: Set<string>): void;
44
44
  afterInit(): void;
45
45
  render_v2(): {
46
- template?: string | HTMLElement | DocumentFragment;
47
- style?: string | string[];
46
+ style: string[];
47
+ styleSheets: CSSStyleSheet[];
48
48
  };
49
49
  _setZIndex(): void;
50
50
  _setWidth(): void;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../modal-cjj3Nw1B.js";
1
+ import { t as e } from "../modal-Cwi3qlEf.js";
2
2
  export { e as default };
@@ -1,11 +1,11 @@
1
1
  import { regist as e } from "../utils/index.js";
2
2
  import t from "../icon/info.js";
3
- import { t as n } from "../modal-cjj3Nw1B.js";
3
+ import n from "../button/index.js";
4
4
  import r from "../icon/close.js";
5
- import { t as i } from "../form_item-DtqChzc3.js";
6
- import { t as a } from "../button-CC5NBWtI.js";
7
- import o from "../input/index.js";
8
- import { $$ as s, $one as c, on as l } from "ph-utils/dom";
5
+ import { t as i } from "../form_item-BqPMRABd.js";
6
+ import a from "../input/index.js";
7
+ import { t as o } from "../modal-Cwi3qlEf.js";
8
+ import { $$ as s, $one as c, on as l } from "ph-utils/browser";
9
9
  //#region src/components/modal/modal_box.ts
10
10
  function u(e, t, n, r = "alert") {
11
11
  return new Promise((i) => {
@@ -33,10 +33,10 @@ function u(e, t, n, r = "alert") {
33
33
  }, { once: !0 }), document.body.appendChild(o);
34
34
  });
35
35
  }
36
- function d(t, i, o) {
36
+ function d(t, i, a) {
37
37
  return e([
38
- a,
39
38
  n,
39
+ o,
40
40
  r
41
41
  ]), new Promise((e) => {
42
42
  let n = {
@@ -44,15 +44,15 @@ function d(t, i, o) {
44
44
  close: 0,
45
45
  maskClosable: !1,
46
46
  icon: void 0,
47
- ...o
47
+ ...a
48
48
  };
49
49
  return u(i || "提示", t, n, "alert");
50
50
  });
51
51
  }
52
- function f(i, o, c) {
52
+ function f(i, a, c) {
53
53
  e([
54
- a,
55
54
  n,
55
+ o,
56
56
  r,
57
57
  t
58
58
  ]);
@@ -63,16 +63,16 @@ function f(i, o, c) {
63
63
  icon: () => s("l-info-icon", { style: "color:#1890ff;" }),
64
64
  ...c
65
65
  };
66
- return u(o || "提示", i, l, "confirm");
66
+ return u(a || "提示", i, l, "confirm");
67
67
  }
68
68
  function p(s, c, l) {
69
69
  e([
70
- a,
71
70
  n,
71
+ o,
72
72
  r,
73
73
  t,
74
74
  i,
75
- o
75
+ a
76
76
  ]);
77
77
  let d = {
78
78
  showCancel: !0,
@@ -1,8 +1,9 @@
1
1
  import e from "./base.js";
2
2
  import { kebabToCamel as t, parseAttrValue as n, unitNumberStr as r } from "./utils/index.js";
3
- import { $$ as i, $one as a, off as o, on as s, shouldEventNext as c, transition as l } from "ph-utils/dom";
3
+ import { t as i } from "./mask-Ox6CoyFB.js";
4
+ import { $$ as a, $one as o, off as s, on as c, shouldEventNext as l, transition as u } from "ph-utils/browser";
4
5
  //#region src/components/modal/index.less?inline
5
- var u = ":host{display:none}:host(.open){display:block}.l-modal-mask{z-index:var(--l-modal-zindex,100)}.l-modal-wrapper{width:100%;height:100%;z-index:calc(var(--l-modal-zindex,100) + 1);position:fixed;top:0;left:0}.l-modal{--l-modal-translate:translate3d(0, 80px, 0);border-radius:var(--l-modal-border-radius,5px);width:var(--l-modal-width,27%);opacity:1;transform:var(--l-modal-translate) scale3d(1, 1, 1);background-color:#fff;margin:auto;transition:opacity .3s,transform .3s;position:relative;box-shadow:0 0 8px #0000001a}.l-modal-header{padding:var(--l-modal-header-padding,10px);border-bottom:1px solid var(--l-modal-line-color,#0000000f);align-items:center;gap:5px;font-size:16px;font-weight:600;display:flex}.l-modal-footer{padding:var(--l-modal-footer-padding,10px);border-top:1px solid var(--l-modal-line-color,#0000000f);justify-content:flex-end;gap:10px;display:flex}.l-modal-container{padding:var(--l-modal-container-padding,15px 10px);font-size:14px}.l-btn-modal-close{--l-form-control-height:auto;position:absolute}.l-modal-close1{top:8px;right:5px}.l-modal-close1::part(default){border:none;width:auto;height:auto;padding:5px;font-size:16px}.l-modal-close2{top:-10px;right:-10px}.l-modal-close2::part(default){background-color:#fff;width:20px;height:20px;padding:0}.mask-transition-enter-from,.mask-transition-leave-to{opacity:0}.modal-transition-enter-from,.modal-transition-leave-to{transform:translate(0,0)scale3d(0,0,0)}.l-modal--mobile{border-radius:10px}.l-modal--mobile .l-modal-header{text-align:center;border-bottom-color:#0000;justify-content:center;padding:20px 10px 5px;display:flex}.l-modal--mobile .l-modal-container{--l-modal-container-padding:5px 15px 20px;text-align:center}.l-modal--mobile .l-modal-footer{text-align:center;justify-content:stretch;align-items:stretch;gap:0;height:50px;padding:0;display:flex}.l-modal--mobile .l-modal-footer-btn{flex-grow:1;height:100%}.l-modal--mobile .l-modal-footer-btn+.l-modal-footer-btn{border-left:1px solid var(--l-modal-line-color,#0000000f)}.l-modal--middle{--l-modal-translate:translate3d(0, -50%, 0);top:50%}.l-modal--bottom{--l-modal-translate:translate3d(0, -100%, 0);border-bottom-right-radius:0;border-bottom-left-radius:0;width:100%;top:100%}@media screen and (width<=768px){:host{--l-modal-width:80%}}", d = ".l-mask{z-index:var(--l-mask-zindex,100);opacity:1;background-color:#0009;transition:opacity .3s;position:fixed;inset:0}", f = class extends e {
6
+ var d = ":host{display:none}:host(.open){display:block}.l-modal-mask{z-index:var(--l-modal-zindex,100)}.l-modal-wrapper{width:100%;height:100%;z-index:calc(var(--l-modal-zindex,100) + 1);position:fixed;top:0;left:0}.l-modal{--l-modal-translate:translate3d(0, 80px, 0);border-radius:var(--l-modal-border-radius,5px);width:var(--l-modal-width,27%);opacity:1;transform:var(--l-modal-translate) scale3d(1, 1, 1);background-color:#fff;margin:auto;transition:opacity .3s,transform .3s;position:relative;box-shadow:0 0 8px #0000001a}.l-modal-header{padding:var(--l-modal-header-padding,10px);border-bottom:1px solid var(--l-modal-line-color,#0000000f);align-items:center;gap:5px;font-size:16px;font-weight:600;display:flex}.l-modal-footer{padding:var(--l-modal-footer-padding,10px);border-top:1px solid var(--l-modal-line-color,#0000000f);justify-content:flex-end;gap:10px;display:flex}.l-modal-container{padding:var(--l-modal-container-padding,15px 10px);font-size:14px}.l-btn-modal-close{--l-form-control-height:auto;position:absolute}.l-modal-close1{top:8px;right:5px}.l-modal-close1::part(default){border:none;width:auto;height:auto;padding:5px;font-size:16px}.l-modal-close2{top:-10px;right:-10px}.l-modal-close2::part(default){background-color:#fff;width:20px;height:20px;padding:0}.mask-transition-enter-from,.mask-transition-leave-to{opacity:0}.modal-transition-enter-from,.modal-transition-leave-to{transform:translate(0,0)scale3d(0,0,0)}.l-modal--mobile{border-radius:10px}.l-modal--mobile .l-modal-header{text-align:center;border-bottom-color:#0000;justify-content:center;padding:20px 10px 5px;display:flex}.l-modal--mobile .l-modal-container{--l-modal-container-padding:5px 15px 20px;text-align:center}.l-modal--mobile .l-modal-footer{text-align:center;justify-content:stretch;align-items:stretch;gap:0;height:50px;padding:0;display:flex}.l-modal--mobile .l-modal-footer-btn{flex-grow:1;height:100%}.l-modal--mobile .l-modal-footer-btn+.l-modal-footer-btn{border-left:1px solid var(--l-modal-line-color,#0000000f)}.l-modal--middle{--l-modal-translate:translate3d(0, -50%, 0);top:50%}.l-modal--bottom{--l-modal-translate:translate3d(0, -100%, 0);border-bottom-right-radius:0;border-bottom-left-radius:0;width:100%;top:100%}@media screen and (width<=768px){:host{--l-modal-width:80%}}", f = class extends e {
6
7
  static baseName = "modal";
7
8
  _bodyOverflow = "";
8
9
  constructor() {
@@ -73,14 +74,12 @@ var u = ":host{display:none}:host(.open){display:block}.l-modal-mask{z-index:var
73
74
  case "z-index":
74
75
  this._state.zIndex = a;
75
76
  break;
76
- case "header-title":
77
- this._state.headerTitle = a;
78
- break;
77
+ case "header-title": this._state.headerTitle = a;
79
78
  }
80
79
  }
81
80
  updateDOM(e) {
82
81
  if (e.has("show") && (this._state.show ? this.#e() : this.#t()), e.has("width") && this._setWidth(), e.has("confirm-loading")) {
83
- let e = a("l-button[modal-action=\"ok\"]", this.root);
82
+ let e = o("l-button[modal-action=\"ok\"]", this.root);
84
83
  e && e.setAttribute("loading", this._state.confirmLoading.toString());
85
84
  }
86
85
  e.has("z-index") && this._setZIndex();
@@ -89,7 +88,10 @@ var u = ":host{display:none}:host(.open){display:block}.l-modal-mask{z-index:var
89
88
  this._setWidth(), this._setZIndex(), this._state.show && this.#e();
90
89
  }
91
90
  render_v2() {
92
- return { style: [d, u] };
91
+ return {
92
+ style: [d],
93
+ styleSheets: [i]
94
+ };
93
95
  }
94
96
  _setZIndex() {
95
97
  this._state.zIndex ? this.style.setProperty("--l-modal-zindex", this._state.zIndex) : this.style.removeProperty("--l-modal-zindex");
@@ -99,20 +101,22 @@ var u = ":host{display:none}:host(.open){display:block}.l-modal-mask{z-index:var
99
101
  }
100
102
  #e() {
101
103
  this._bodyOverflow = getComputedStyle(document.body).overflow, this.classList.add("open"), document.body.style.overflow = "hidden";
102
- let e = a(".l-modal-wrapper", this.root);
104
+ let e = o(".l-modal-wrapper", this.root);
103
105
  if (e) {
104
- let e = a(".l-mask", this.root);
105
- e && l(e, "mask-transition"), l(a(".l-modal", this.root), "modal-transition");
106
+ let e = o(".l-mask", this.root);
107
+ e && u(e, "mask-transition");
108
+ let t = o(".l-modal", this.root);
109
+ u(t, "modal-transition");
106
110
  } else {
107
111
  let t = document.createDocumentFragment(), n = null;
108
- this._state.mask && (n = i("div", {
112
+ this._state.mask && (n = a("div", {
109
113
  class: "l-mask l-modal-mask",
110
114
  part: "mask"
111
- }), t.appendChild(n)), e = i("div", {
115
+ }), t.appendChild(n)), e = a("div", {
112
116
  class: "l-modal-wrapper",
113
117
  part: "wrapper"
114
118
  });
115
- let r = i("div", {
119
+ let r = a("div", {
116
120
  class: [
117
121
  "l-modal",
118
122
  `l-modal--${this._state.mobile ? "mobile" : "pc"}`,
@@ -121,39 +125,39 @@ var u = ":host{display:none}:host(.open){display:block}.l-modal-mask{z-index:var
121
125
  part: "default"
122
126
  });
123
127
  if (r.setAttribute("modal-action", "modal"), this._state.close !== 0) {
124
- let e = i("l-button", {
128
+ let e = a("l-button", {
125
129
  shape: "circle",
126
130
  type: "normal",
127
131
  class: `l-btn-modal-close l-modal-close${this._state.close}`,
128
132
  "modal-action": "close",
129
133
  part: "close-btn"
130
- }), t = i("l-close-icon");
134
+ }), t = a("l-close-icon");
131
135
  e.appendChild(t), r.appendChild(e);
132
136
  }
133
137
  if (this._state.header) {
134
- let e = i("header", {
138
+ let e = a("header", {
135
139
  class: "l-modal-header",
136
140
  part: "header"
137
- }), t = i("slot", { name: "header" });
141
+ }), t = a("slot", { name: "header" });
138
142
  t.textContent = this._state.headerTitle || "", e.appendChild(t), r.appendChild(e);
139
143
  }
140
- let a = i("div", {
144
+ let i = a("div", {
141
145
  class: "l-modal-container",
142
146
  part: "container"
143
- }), o = i("slot");
144
- if (a.appendChild(o), r.appendChild(a), this._state.footer) {
145
- let e = i("footer", {
147
+ }), o = a("slot");
148
+ if (i.appendChild(o), r.appendChild(i), this._state.footer) {
149
+ let e = a("footer", {
146
150
  class: "l-modal-footer",
147
151
  part: "footer"
148
- }), t = i("slot", { name: "footer" });
152
+ }), t = a("slot", { name: "footer" });
149
153
  if (this._state.cancel) {
150
- let e = i("l-button", {
154
+ let e = a("l-button", {
151
155
  class: "l-modal-footer-btn",
152
156
  text: this._state.mobile
153
157
  });
154
158
  e.textContent = this._state.cancelText, e.setAttribute("modal-action", "cancel"), t.appendChild(e);
155
159
  }
156
- let n = i("l-button", {
160
+ let n = a("l-button", {
157
161
  type: "primary",
158
162
  class: "l-modal-footer-btn",
159
163
  loading: this._state.confirmLoading,
@@ -161,27 +165,29 @@ var u = ":host{display:none}:host(.open){display:block}.l-modal-mask{z-index:var
161
165
  });
162
166
  n.textContent = this._state.okText, n.setAttribute("modal-action", "ok"), t.appendChild(n), e.appendChild(t), r.appendChild(e);
163
167
  }
164
- e.appendChild(r), e.setAttribute("role", "dialog"), e.setAttribute("modal-action", "mask"), s(e, "click", this.#r), t.appendChild(e), this.appendToRoot(t), l(r, "modal-transition"), n && l(n, "mask-transition");
168
+ e.appendChild(r), e.setAttribute("role", "dialog"), e.setAttribute("modal-action", "mask"), c(e, "click", this.#r), t.appendChild(e), this.appendToRoot(t), u(r, "modal-transition"), n && u(n, "mask-transition");
165
169
  }
166
170
  }
167
171
  #t() {
168
- document.body.style.setProperty("overflow", this._bodyOverflow), l(a(".l-modal", this.root), "modal-transition", "leave", () => {
169
- this._state.destroyOnClose && this.#n(), this.classList.remove("open"), this.dispatchEvent(new CustomEvent("close"));
172
+ document.body.style.setProperty("overflow", this._bodyOverflow);
173
+ let e = o(".l-modal", this.root);
174
+ u(e, "modal-transition", "leave", () => {
175
+ this._state.destroyOnClose && this.#n(), this.classList.remove("open"), this.emit("close");
170
176
  });
171
- let e = a(".l-mask", this.root);
172
- e && l(e, "mask-transition", "leave");
177
+ let t = o(".l-mask", this.root);
178
+ t && u(t, "mask-transition", "leave");
173
179
  }
174
180
  disconnectedCallback() {
175
181
  this.#n(), super.disconnectedCallback();
176
182
  }
177
183
  #n() {
178
- let e = a(".l-modal-wrapper", this.root);
179
- e && (o(e, "click", this.#r), this.root.removeChild(e));
180
- let t = a(".l-mask", this.root);
184
+ let e = o(".l-modal-wrapper", this.root);
185
+ e && (s(e, "click", this.#r), this.root.removeChild(e));
186
+ let t = o(".l-mask", this.root);
181
187
  t && this.root.removeChild(t);
182
188
  }
183
189
  #r = (e) => {
184
- let [t, n] = c(e, "modal-action", this.root);
190
+ let [t, n] = l(e, "modal-action", this.root);
185
191
  if (t) {
186
192
  let e = "";
187
193
  this._state.maskClosable && n === "mask" || n === "cancel" || n === "close" ? e = "cancel" : n === "ok" && (e = "ok"), e && this.dispatchEvent(new CustomEvent(e, { detail: { action: n } }));
@@ -1,2 +1,2 @@
1
- import { t as e } from "../page_header-BfuWJIdd.js";
1
+ import { t as e } from "../page_header-ujV3pncE.js";
2
2
  export { e as default };
@@ -1,6 +1,6 @@
1
1
  import e from "./base.js";
2
2
  import { kebabToCamel as t, parseAttrValue as n } from "./utils/index.js";
3
- import { $$ as r, off as i, on as a, shouldEventNext as o } from "ph-utils/dom";
3
+ import { $$ as r, off as i, on as a, shouldEventNext as o } from "ph-utils/browser";
4
4
  import { isBlank as s } from "ph-utils";
5
5
  //#region src/components/page_header/index.less?inline
6
6
  var c = ":host{box-sizing:border-box;height:var(--l-page-header-height,auto);align-items:center;display:flex;position:relative}.l-page-header-left,.l-page-header-right{z-index:1;flex:none;align-items:center;display:flex}.l-page-header-back{height:auto}.l-page-header-back::part(default){--l-btn-padding:5px 0}.l-page-header-content{align-items:center;line-height:1;display:flex}.l-page-header-title{font-size:16px;font-weight:600}.l-page-header-sub-title{color:#999;margin-left:10px;font-size:14px;font-weight:500}:host(.l-page-header-align-left) .l-page-header-left{margin-right:15px}:host(.l-page-header-align-left) .l-page-header-content{flex:1 0 auto}:host(.l-page-header-align-left) .l-page-header-right{margin-left:15px}:host(.l-page-header-align-center){justify-content:space-between}:host(.l-page-header-align-center) .l-page-header-content{justify-content:center;position:absolute;inset:0}:host(.l-page-header-align-center) .l-page-header-back::part(default){--l-btn-padding:8px 0;--l-btn-gap:0}:host(.l-page-header-border){border-bottom:1px solid var(--l-border-color,#dedede)}", l = class extends e {
@@ -37,9 +37,7 @@ var c = ":host{box-sizing:border-box;height:var(--l-page-header-height,auto);ali
37
37
  case "border":
38
38
  a ? this.classList.add("l-page-header-border") : this.classList.remove("l-page-header-border");
39
39
  break;
40
- case "height":
41
- a && this.style.setProperty("--l-page-header-height", a);
42
- break;
40
+ case "height": a && this.style.setProperty("--l-page-header-height", a);
43
41
  }
44
42
  }
45
43
  render() {
@@ -1,27 +1,34 @@
1
1
  import BaseComponent from "../base";
2
- export default class Pagination extends BaseComponent {
3
- #private;
4
- static baseName: string;
2
+ type PaginationProps = {
5
3
  /** 数据总数 */
6
- total?: number;
4
+ total: number;
7
5
  /** 总页数 */
8
- pageCount?: number;
9
- /** 每页显示条目个数 */
10
- pageSize?: number;
11
- /** 对齐方式 */
12
- align?: "start" | "center" | "end";
13
- /** 是否为简单分页 */
14
- simple?: boolean;
15
- /** 单页隐藏 */
16
- hideOnSinglePage?: boolean;
17
- get current(): number;
18
- set current(current: number);
19
- setCurrent(current: number): void;
20
- connectedCallback(): void;
6
+ pageCount: number;
7
+ /** 每页显示条目个数, 默认: 10 */
8
+ pageSize: number;
9
+ /** 对齐方式, 默认: start */
10
+ align: "start" | "center" | "end";
11
+ /** 是否为简单分页, 默认: false */
12
+ simple: boolean;
13
+ /** 单页隐藏, 默认: false */
14
+ hideOnSinglePage: boolean;
15
+ /** 当前页码, 默认: 1 */
16
+ currentPage: number;
17
+ };
18
+ export default class Pagination extends BaseComponent<PaginationProps> {
19
+ #private;
20
+ static baseName: string;
21
+ constructor();
21
22
  static get observedAttributes(): string[] | null | undefined;
22
- attributeChangedCallback(name: string, _oldValue: string, newValue: string): void;
23
+ protected attributeChanged(name: string, _oldValue: string, newValue: string): void;
24
+ protected updateDOM(changedProps: Set<string>): void;
23
25
  rerender(): void;
24
26
  render(): string;
27
+ render_v2(): {
28
+ template: string;
29
+ style: string;
30
+ };
25
31
  afterInit(): void;
26
32
  beforeDestroy(): void;
27
33
  }
34
+ export {};
@@ -1,2 +1,2 @@
1
- import { t as e } from "../pagination-DpOSOFwl.js";
1
+ import { t as e } from "../pagination-aRbGd3Rf.js";
2
2
  export { e as default };