@orangelogic/design-system 2.70.0 → 2.71.0

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 (99) hide show
  1. package/library/chunks/{button.CAAJPQFu.js → button.D6S0sAOO.js} +1 -1
  2. package/library/chunks/{color-swatch-group.CKHyWM8K.js → color-swatch-group.CSctShAT.js} +3 -3
  3. package/library/chunks/{color-swatch.BkpPCXd6.js → color-swatch.9fo7Prlq.js} +1 -1
  4. package/library/chunks/{confirm-popover.ZD74yDWw.js → confirm-popover.DR2_O9i_.js} +3 -3
  5. package/library/chunks/{dialog.qSV5AjOE.js → dialog.n5g61iHs.js} +106 -92
  6. package/library/chunks/{dot-pagination.BN_0ljfc.js → dot-pagination.CqpDMHMz.js} +1 -1
  7. package/library/chunks/{file-on-demand.CXE4zf0J.js → file-on-demand.DyPdfxfM.js} +8 -8
  8. package/library/chunks/{folder-select.CPALQK22.js → folder-select.B4PPWsoq.js} +3 -3
  9. package/library/chunks/{header.DXZ_5gLY.js → header.tbXKX2yv.js} +1 -1
  10. package/library/chunks/{i18n.C0iakJkV.js → i18n.BU7mYVLM.js} +2 -2
  11. package/library/chunks/icon-button.Dxz2J4cg.js +683 -0
  12. package/library/chunks/{iframe.BlzVfeBc.js → iframe.Dx7QScC8.js} +1 -1
  13. package/library/chunks/{image.B3WjaCXP.js → image.Q7doiTcu.js} +1 -1
  14. package/library/chunks/{index.CmVKj_wl.js → index.xnuklZH8.js} +1 -1
  15. package/library/chunks/{list-editor.CIAAFPco.js → list-editor.rlWs0RYN.js} +7 -7
  16. package/library/chunks/{option.ByVbmxUQ.js → option.CgM5bwtt.js} +1 -1
  17. package/library/chunks/pagination.I2BZVSB2.js +430 -0
  18. package/library/chunks/{tab-group.1h51o_Ly.js → tab-group.euL1exrl.js} +3 -3
  19. package/library/chunks/{table.wVHv1Xze.js → table.DNwNmw8a.js} +366 -351
  20. package/library/chunks/{tree.Bx0IGsWm.js → tree.ClkS3oAg.js} +1 -1
  21. package/library/components/alert.js +2 -2
  22. package/library/components/asset-link-format.js +4 -4
  23. package/library/components/atoms.js +12 -12
  24. package/library/components/border-input-group.js +1 -1
  25. package/library/components/breadcrumb.js +1 -1
  26. package/library/components/button.js +2 -2
  27. package/library/components/color-picker.js +2 -2
  28. package/library/components/color-swatch-group.js +4 -4
  29. package/library/components/color-swatch.js +2 -2
  30. package/library/components/confirm-popover.js +4 -4
  31. package/library/components/copy-button.js +1 -1
  32. package/library/components/corner-position-input-group.js +2 -2
  33. package/library/components/details.js +1 -1
  34. package/library/components/dialog.js +3 -3
  35. package/library/components/dot-pagination.js +2 -2
  36. package/library/components/drawer.js +2 -2
  37. package/library/components/dropdown.js +1 -1
  38. package/library/components/dynamic-select.js +4 -4
  39. package/library/components/e-chart.js +1 -1
  40. package/library/components/element-clamp.js +2 -2
  41. package/library/components/file-on-demand.js +9 -9
  42. package/library/components/folder-select.js +3 -3
  43. package/library/components/format-bytes.js +1 -1
  44. package/library/components/format-date.js +1 -1
  45. package/library/components/format-number.js +1 -1
  46. package/library/components/format-time.js +1 -1
  47. package/library/components/header.js +2 -2
  48. package/library/components/icon-button.js +14 -679
  49. package/library/components/iframe.js +2 -2
  50. package/library/components/image-comparer.js +1 -1
  51. package/library/components/image.js +2 -2
  52. package/library/components/input.js +409 -320
  53. package/library/components/line-clamp.js +1 -1
  54. package/library/components/list-editor.js +6 -6
  55. package/library/components/masonry.js +2 -2
  56. package/library/components/menu-item.js +1 -1
  57. package/library/components/menu.js +1 -1
  58. package/library/components/molecules.js +4 -4
  59. package/library/components/option.js +2 -2
  60. package/library/components/organisms.js +2 -2
  61. package/library/components/pagination.js +8 -6
  62. package/library/components/popup.js +1 -1
  63. package/library/components/position-picker.js +1 -1
  64. package/library/components/progress-bar.js +1 -1
  65. package/library/components/progress-ring.js +1 -1
  66. package/library/components/range.js +1 -1
  67. package/library/components/rating.js +1 -1
  68. package/library/components/relative-time.js +1 -1
  69. package/library/components/select.js +2 -2
  70. package/library/components/share-option-list.js +1 -1
  71. package/library/components/sidebar.js +1 -1
  72. package/library/components/size-input-group.js +2 -2
  73. package/library/components/spinner.js +1 -1
  74. package/library/components/split-panel.js +1 -1
  75. package/library/components/tab-group.js +4 -4
  76. package/library/components/tab.js +2 -2
  77. package/library/components/table.js +5 -5
  78. package/library/components/tag.js +2 -2
  79. package/library/components/tooltip.js +1 -1
  80. package/library/components/tree-item.js +2 -2
  81. package/library/components/tree.js +2 -2
  82. package/library/components/typeface.js +6 -6
  83. package/library/components/types.js +25 -25
  84. package/library/components/video.js +2 -2
  85. package/library/package.json +1 -1
  86. package/library/packages/atoms/src/components/dialog/dialog.d.ts +10 -0
  87. package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +2 -1
  88. package/library/packages/atoms/src/components/input/auto-grow-controller.d.ts +23 -0
  89. package/library/packages/atoms/src/components/input/input.d.ts +9 -0
  90. package/library/packages/atoms/src/components/pagination/pagination.d.ts +31 -2
  91. package/library/packages/atoms/src/components/table/table.d.ts +13 -1
  92. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Page/Page.d.ts +2 -2
  93. package/library/packages/types/src/icon-button.d.ts +7 -0
  94. package/library/packages/types/src/table.d.ts +3 -1
  95. package/library/packages/utils/src/custom-element/i18n.d.ts +2 -2
  96. package/library/react-web-component.d.ts +39 -7
  97. package/library/utils.js +2 -2
  98. package/package.json +1 -1
  99. package/library/chunks/pagination.DPQn2fKX.js +0 -341
@@ -1,22 +1,22 @@
1
- import { C as _ } from "./button.CAAJPQFu.js";
2
- import { C as q, D as G } from "./dialog.qSV5AjOE.js";
1
+ import { C as _ } from "./button.D6S0sAOO.js";
2
+ import { C as q, D as G } from "./dialog.n5g61iHs.js";
3
3
  import j from "../components/grid.js";
4
4
  import P from "../components/grid-item.js";
5
5
  import S from "../components/input.js";
6
6
  import R from "../components/line-clamp.js";
7
- import { C as F } from "./option.ByVbmxUQ.js";
7
+ import { C as F } from "./option.CgM5bwtt.js";
8
8
  import B from "../components/radio.js";
9
9
  import K from "../components/radio-group.js";
10
10
  import U from "../components/select.js";
11
11
  import E from "../components/space.js";
12
- import { C as H, H as V } from "./table.wVHv1Xze.js";
12
+ import { C as H, H as V } from "./table.DNwNmw8a.js";
13
13
  import { C as L } from "./typography.oDzoLbZS.js";
14
14
  import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
15
15
  import W from "../components/dynamic-select.js";
16
16
  import { c as D } from "./component.styles.DMSLciL5.js";
17
17
  import { c as M } from "./custom-element.L4WJXn1j.js";
18
18
  import { d as J } from "./debounce.DaHuiSGU.js";
19
- import { L as z } from "./i18n.C0iakJkV.js";
19
+ import { L as z } from "./i18n.BU7mYVLM.js";
20
20
  import { w as g } from "./watch.BCJD77bD.js";
21
21
  import { a as X } from "./_commonjsHelpers.DQNKXVTB.js";
22
22
  import { i as O, x as l } from "./lit-element.jLBm65_O.js";
@@ -28,8 +28,8 @@ import { o as Q } from "./map.D8heArFD.js";
28
28
  import { c as b } from "./repeat.DbF2p5ae.js";
29
29
  import { n as N } from "./when.Dr1es41R.js";
30
30
  import { t as ee } from "./toString.CL_lYXbK.js";
31
- import ae from "../components/icon-button.js";
32
- import { C as te } from "./image.B3WjaCXP.js";
31
+ import { C as ae } from "./icon-button.Dxz2J4cg.js";
32
+ import { C as te } from "./image.Q7doiTcu.js";
33
33
  import { a as ie, D as $ } from "./asset.CG_yXtWK.js";
34
34
  import { a as ne } from "./index.Cpamj0jB.js";
35
35
  import { A as v } from "./content-builder.B4Tqoc6M.js";
@@ -1,7 +1,7 @@
1
1
  import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
2
2
  import { c as m } from "./component.styles.DMSLciL5.js";
3
3
  import { c as v } from "./custom-element.L4WJXn1j.js";
4
- import { L as g } from "./i18n.C0iakJkV.js";
4
+ import { L as g } from "./i18n.BU7mYVLM.js";
5
5
  import { w as d } from "./watch.BCJD77bD.js";
6
6
  import { i as b, x as h } from "./lit-element.jLBm65_O.js";
7
7
  import { r as f } from "./state.CSDxrqLd.js";
@@ -0,0 +1,430 @@
1
+ import _ from "../components/space.js";
2
+ import { n, C as b } from "./lib-cortex-element.CVMmyPMC.js";
3
+ import { C as y, I } from "./icon-button.Dxz2J4cg.js";
4
+ import { c as f } from "./custom-element.L4WJXn1j.js";
5
+ import { L as C } from "./i18n.BU7mYVLM.js";
6
+ import { c as l } from "./math.DqTA6ya4.js";
7
+ import { w as x } from "./watch.BCJD77bD.js";
8
+ import { i as z, x as s } from "./lit-element.jLBm65_O.js";
9
+ import { r as d } from "./state.CSDxrqLd.js";
10
+ import { e as S } from "./class-map.BiVq-cVR.js";
11
+ import { c as m } from "./repeat.DbF2p5ae.js";
12
+ import { n as g } from "./when.Dr1es41R.js";
13
+ import { C as $ } from "./button.D6S0sAOO.js";
14
+ import v from "../components/input.js";
15
+ import { C as w } from "./option.CgM5bwtt.js";
16
+ import P from "../components/select.js";
17
+ import B from "../components/tooltip.js";
18
+ import { C as N } from "./typography.oDzoLbZS.js";
19
+ import { c as k } from "./component.styles.DMSLciL5.js";
20
+ var c = /* @__PURE__ */ ((t) => (t.Both = "both", t.Pages = "pages", t.Rows = "rows", t))(c || {});
21
+ const O = z`
22
+ ${k}
23
+
24
+ :host {
25
+ --width: 100px;
26
+ display: block;
27
+ width: fit-content;
28
+ }
29
+
30
+ cx-typography::part(base) {
31
+ margin-block: 0;
32
+ }
33
+
34
+ .pagination {
35
+ display: flex;
36
+ align-items: center;
37
+ gap: var(--cx-spacing-small);
38
+ font-size: var(--cx-font-size-small);
39
+ }
40
+
41
+ .pagination .pagination__label__container {
42
+ display: inline-flex;
43
+ gap: var(--cx-spacing-small);
44
+ align-items: center;
45
+ }
46
+
47
+ .pagination .pagination__select::part(combobox) {
48
+ width: var(--width);
49
+ }
50
+
51
+ .pagination .pagination__navigation-buttons {
52
+ display: flex;
53
+ align-items: center;
54
+ gap: 0;
55
+ }
56
+
57
+ .pagination .pagination_count,
58
+ .pagination .pagination__pages {
59
+ font-variant-numeric: tabular-nums;
60
+ }
61
+
62
+ .pagination .pagination_count {
63
+ display: inline-flex;
64
+ align-items: center;
65
+ gap: var(--cx-spacing-3x-small);
66
+ }
67
+
68
+ .pagination .pagination__page-input {
69
+ font-weight: var(--cx-font-weight-medium);
70
+ --cx-input-border-color: transparent;
71
+ }
72
+
73
+ .pagination .pagination__page-input::part(base) {
74
+ border-radius: var(--cx-border-radius-small);
75
+ font-size: var(--pagination-input-font-size, var(--cx-input-font-size-small));
76
+ }
77
+
78
+ .pagination .pagination__page-input::part(form-control) {
79
+ margin: 0;
80
+ }
81
+
82
+ .pagination .pagination__page-input::part(form-control-input) {
83
+ min-width: 0;
84
+ }
85
+
86
+ .pagination .pagination__page-input::part(input),
87
+ .pagination .pagination__page-input::part(auto-grow-mirror) {
88
+ text-align: center;
89
+ padding: 0 var(--cx-spacing-2x-small);
90
+ line-height: 1;
91
+ }
92
+
93
+ .pagination__page--active::part(base) {
94
+ color: var(--cx-color-primary);
95
+ }
96
+ `;
97
+ var D = Object.defineProperty, F = Object.getOwnPropertyDescriptor, a = (t, i, p, r) => {
98
+ for (var o = r > 1 ? void 0 : r ? F(i, p) : i, h = t.length - 1, u; h >= 0; h--)
99
+ (u = t[h]) && (o = (r ? u(i, p, o) : u(o)) || o);
100
+ return r && o && D(i, p, o), o;
101
+ };
102
+ let e = class extends b {
103
+ constructor() {
104
+ super(...arguments), this.localize = new C(this), this.count = 0, this.pageSizeOptions = [10, 20, 50, 100], this.pageSize = this.pageSizeOptions[0], this.label = this.localize.term("rowsPerPage"), this.showFirst = !1, this.showLast = !1, this.showPaginationButtons = !1, this.paginationButtonCount = 5, this.paginationCounter = c.Rows, this.showPaginationInput = !1, this.backIconName = "chevron_left", this.nextIconName = "chevron_right", this.iconButtonSize = I.Medium, this._pageIndex = 1, this._pageCount = Math.max(1, Math.ceil(this.count / this.pageSize)), this._pageInputValue = this._pageIndex.toString();
105
+ }
106
+ get pageIndex() {
107
+ return this._pageIndex;
108
+ }
109
+ set pageIndex(t) {
110
+ this._pageIndex = l(t, 1, this._pageCount);
111
+ }
112
+ get pageStart() {
113
+ return l((this._pageIndex - 1) * this.pageSize + 1, 0, this.count);
114
+ }
115
+ get pageEnd() {
116
+ return l(this._pageIndex * this.pageSize, 0, this.count);
117
+ }
118
+ get prevDisabled() {
119
+ return this._pageIndex <= 1;
120
+ }
121
+ get nextDisabled() {
122
+ return this._pageIndex >= this._pageCount;
123
+ }
124
+ updatePageCount() {
125
+ const t = Number.isFinite(this.pageSize) && this.pageSize > 0 ? this.pageSize : 1;
126
+ this._pageCount = Math.max(1, Math.ceil(this.count / t)), this.pageIndex = l(this.pageIndex, 1, this._pageCount);
127
+ }
128
+ handlePageSizeSelectChange(t) {
129
+ const i = t.target;
130
+ i && (this.pageSize = Number(i.value), this.pageIndex = 1);
131
+ }
132
+ handleFirst() {
133
+ this._pageIndex = 1;
134
+ }
135
+ handleBack() {
136
+ this._pageIndex -= 1, this._pageIndex < 1 && this.handleFirst();
137
+ }
138
+ handleForward() {
139
+ this._pageIndex += 1, this._pageIndex > this._pageCount && this.handleLast();
140
+ }
141
+ handleLast() {
142
+ this._pageIndex = this._pageCount;
143
+ }
144
+ commitPageInputValue() {
145
+ const t = Number.parseInt(this._pageInputValue, 10);
146
+ if (!Number.isFinite(t)) {
147
+ this._pageInputValue = this.pageIndex.toString();
148
+ return;
149
+ }
150
+ this.pageIndex = l(t, 1, this._pageCount), this._pageInputValue = this.pageIndex.toString();
151
+ }
152
+ handlePageInput(t) {
153
+ const i = t.target;
154
+ i && (this._pageInputValue = i.value);
155
+ }
156
+ handlePageInputKeyDown(t) {
157
+ t.key === "Enter" && (t.preventDefault(), this.commitPageInputValue());
158
+ }
159
+ handlePageInputBlur() {
160
+ this._pageInputValue = this.pageIndex.toString();
161
+ }
162
+ renderCounterInput() {
163
+ return s`<cx-input
164
+ part="pagination-input"
165
+ class="pagination__page-input"
166
+ type="text"
167
+ size="small"
168
+ auto-grow
169
+ inputmode="numeric"
170
+ pattern="[0-9]*"
171
+ aria-label=${this.localize.term("jump")}
172
+ .value=${this._pageInputValue}
173
+ @cx-input=${this.handlePageInput}
174
+ @keydown=${this.handlePageInputKeyDown}
175
+ @cx-blur=${this.handlePageInputBlur}
176
+ ></cx-input>`;
177
+ }
178
+ async handleCountChange() {
179
+ this.updatePageCount();
180
+ }
181
+ handlePageChange() {
182
+ this._pageInputValue = this.pageIndex.toString(), this.emit("cx-page-change", {
183
+ detail: {
184
+ pageIndex: this._pageIndex
185
+ }
186
+ });
187
+ }
188
+ handlePageSizeChange() {
189
+ this.updatePageCount(), this.emit("cx-page-size-change", {
190
+ detail: {
191
+ pageSize: this.pageSize
192
+ }
193
+ });
194
+ }
195
+ handlePageClick(t) {
196
+ const i = t.target;
197
+ i && (this.pageIndex = Number(i.dataset.page));
198
+ }
199
+ renderPageButton(t) {
200
+ return s`
201
+ <cx-button
202
+ data-page=${t}
203
+ variant="text"
204
+ size="small"
205
+ class=${S({
206
+ pagination__page: !0,
207
+ "pagination__page--active": t === this.pageIndex
208
+ })}
209
+ >
210
+ ${t}
211
+ </cx-button>
212
+ `;
213
+ }
214
+ renderPageButtons() {
215
+ const t = Math.floor((this.paginationButtonCount - 1) / 2), i = Math.ceil((this.paginationButtonCount - 1) / 2), p = Math.max(
216
+ 1,
217
+ this._pageCount - this.pageIndex + t + 1 < this.paginationButtonCount ? this._pageCount - this.paginationButtonCount + 1 : this.pageIndex - t
218
+ ), r = Math.min(
219
+ this._pageCount,
220
+ this.pageIndex <= i ? this.paginationButtonCount : this.pageIndex + i
221
+ );
222
+ return s`
223
+ <div class="pagination__pages" @click=${this.handlePageClick}>
224
+ ${m(
225
+ Array.from({ length: r - p + 1 }, (o, h) => h + p),
226
+ (o) => o,
227
+ (o) => this.renderPageButton(o)
228
+ )}
229
+ </div>
230
+ `;
231
+ }
232
+ renderPageCount() {
233
+ return this.showPaginationInput ? s`<cx-space class="pagination_count">
234
+ ${this.renderCounterInput()}
235
+ <cx-typography variant="body3">${this.localize.term("itemOfTotal", "", this._pageCount)}</cx-typography>
236
+ </cx-space>` : s`<cx-typography variant="body3" class="pagination_count">
237
+ ${this.localize.term("itemOfTotal", this.pageIndex, this._pageCount)}
238
+ </cx-typography>`;
239
+ }
240
+ renderRowCount() {
241
+ return s`<cx-typography variant="body3" class="pagination_count">
242
+ ${this.localize.term(
243
+ "itemRangeOfTotal",
244
+ this.pageStart,
245
+ this.pageEnd,
246
+ this.count
247
+ )}
248
+ </cx-typography>`;
249
+ }
250
+ render() {
251
+ return s`
252
+ <div class="pagination">
253
+ ${g(
254
+ this.pageSizeOptions.length > 1,
255
+ () => s`
256
+ <label class="pagination__label__container">
257
+ <cx-typography variant="body3" class="pagination__label">
258
+ ${this.label}
259
+ </cx-typography>
260
+ <cx-select
261
+ class="pagination__select"
262
+ size="small"
263
+ hoist
264
+ value=${this.pageSize.toString()}
265
+ @cx-change=${this.handlePageSizeSelectChange}
266
+ >
267
+ ${m(
268
+ this.pageSizeOptions,
269
+ (t) => t,
270
+ (t) => s`
271
+ <cx-option value=${t}>${t}</cx-option>
272
+ `
273
+ )}
274
+ </cx-select>
275
+ </label>
276
+ `
277
+ )}
278
+ ${g(
279
+ this.paginationCounter === c.Both || this.paginationCounter === c.Rows,
280
+ () => this.renderRowCount(),
281
+ () => this.renderPageCount()
282
+ )}
283
+ <div class="pagination__navigation-buttons">
284
+ ${g(
285
+ this.showFirst,
286
+ () => s`
287
+ <cx-tooltip hoist content=${this.localize.term("first")}>
288
+ <cx-icon-button
289
+ class="pagination__first"
290
+ label=${this.localize.term("first")}
291
+ name="first_page"
292
+ size=${this.iconButtonSize}
293
+ ?disabled=${this.prevDisabled}
294
+ @click=${this.handleFirst}
295
+ ></cx-icon-button>
296
+ </cx-tooltip>
297
+ `
298
+ )}
299
+ <cx-tooltip hoist content=${this.localize.term("previous")}>
300
+ <cx-icon-button
301
+ part="back-icon"
302
+ class="pagination__back"
303
+ label=${this.localize.term("previous")}
304
+ name=${this.backIconName}
305
+ size=${this.iconButtonSize}
306
+ ?disabled=${this.prevDisabled}
307
+ @click=${this.handleBack}
308
+ ></cx-icon-button>
309
+ </cx-tooltip>
310
+ ${g(
311
+ this.paginationCounter === c.Both,
312
+ () => this.renderPageCount()
313
+ )}
314
+ ${g(this.showPaginationButtons, () => this.renderPageButtons())}
315
+ <cx-tooltip hoist content=${this.localize.term("next")}>
316
+ <cx-icon-button
317
+ part="next-icon"
318
+ class="pagination__forward"
319
+ label=${this.localize.term("next")}
320
+ name=${this.nextIconName}
321
+ size=${this.iconButtonSize}
322
+ ?disabled=${this.nextDisabled}
323
+ @click=${this.handleForward}
324
+ ></cx-icon-button>
325
+ </cx-tooltip>
326
+ ${g(
327
+ this.showLast,
328
+ () => s`
329
+ <cx-tooltip hoist content=${this.localize.term("last")}>
330
+ <cx-icon-button
331
+ class="pagination__last"
332
+ label=${this.localize.term("last")}
333
+ name="last_page"
334
+ size=${this.iconButtonSize}
335
+ ?disabled=${this.nextDisabled}
336
+ @click=${this.handleLast}
337
+ ></cx-icon-button>
338
+ </cx-tooltip>
339
+ `
340
+ )}
341
+ </div>
342
+ </div>
343
+ `;
344
+ }
345
+ };
346
+ e.styles = O;
347
+ e.dependencies = {
348
+ "cx-button": $,
349
+ "cx-icon-button": y,
350
+ "cx-input": v,
351
+ "cx-option": w,
352
+ "cx-select": P,
353
+ "cx-space": _,
354
+ "cx-tooltip": B,
355
+ "cx-typography": N
356
+ };
357
+ a([
358
+ n({ type: Number })
359
+ ], e.prototype, "count", 2);
360
+ a([
361
+ n({
362
+ attribute: "page-size-options",
363
+ converter: {
364
+ fromAttribute: (t) => {
365
+ const i = (t ?? "").trim().split(/\s+/).map((p) => Number.parseInt(p, 10)).filter((p) => Number.isFinite(p) && p > 0);
366
+ return i.length ? i : [];
367
+ },
368
+ toAttribute: (t) => t.join(" ")
369
+ },
370
+ type: String
371
+ })
372
+ ], e.prototype, "pageSizeOptions", 2);
373
+ a([
374
+ n({ attribute: "page-size", type: Number })
375
+ ], e.prototype, "pageSize", 2);
376
+ a([
377
+ n({ type: String })
378
+ ], e.prototype, "label", 2);
379
+ a([
380
+ n({ attribute: "show-first", type: Boolean })
381
+ ], e.prototype, "showFirst", 2);
382
+ a([
383
+ n({ attribute: "show-last", type: Boolean })
384
+ ], e.prototype, "showLast", 2);
385
+ a([
386
+ n({ attribute: "show-pagination-buttons", type: Boolean })
387
+ ], e.prototype, "showPaginationButtons", 2);
388
+ a([
389
+ n({ attribute: "pagination-button-count", type: Number })
390
+ ], e.prototype, "paginationButtonCount", 2);
391
+ a([
392
+ n({ attribute: "pagination-counter", type: String })
393
+ ], e.prototype, "paginationCounter", 2);
394
+ a([
395
+ n({ attribute: "show-pagination-input", type: Boolean })
396
+ ], e.prototype, "showPaginationInput", 2);
397
+ a([
398
+ n({ attribute: "back-icon-name", type: String })
399
+ ], e.prototype, "backIconName", 2);
400
+ a([
401
+ n({ attribute: "next-icon-name", type: String })
402
+ ], e.prototype, "nextIconName", 2);
403
+ a([
404
+ n({ attribute: "icon-button-size", type: String })
405
+ ], e.prototype, "iconButtonSize", 2);
406
+ a([
407
+ d()
408
+ ], e.prototype, "_pageIndex", 2);
409
+ a([
410
+ d()
411
+ ], e.prototype, "_pageCount", 2);
412
+ a([
413
+ d()
414
+ ], e.prototype, "_pageInputValue", 2);
415
+ a([
416
+ x("count")
417
+ ], e.prototype, "handleCountChange", 1);
418
+ a([
419
+ x(["_pageIndex"])
420
+ ], e.prototype, "handlePageChange", 1);
421
+ a([
422
+ x(["pageSize"])
423
+ ], e.prototype, "handlePageSizeChange", 1);
424
+ e = a([
425
+ f("cx-pagination")
426
+ ], e);
427
+ export {
428
+ e as C,
429
+ c as P
430
+ };
@@ -2,7 +2,7 @@ import In from "../components/resize-observer.js";
2
2
  import { n as wt, C as Fn } from "./lib-cortex-element.CVMmyPMC.js";
3
3
  import { c as Ln } from "./component.styles.DMSLciL5.js";
4
4
  import { c as $n } from "./custom-element.L4WJXn1j.js";
5
- import { L as Nn } from "./i18n.C0iakJkV.js";
5
+ import { L as Nn } from "./i18n.BU7mYVLM.js";
6
6
  import { s as Zi } from "./scroll.xtO5yojm.js";
7
7
  import { w as ft } from "./watch.BCJD77bD.js";
8
8
  import { i as Bn } from "./dom.BQVKDNd8.js";
@@ -17,9 +17,9 @@ import { i as Ji } from "./guard.D4axKaMo.js";
17
17
  import { o as tr } from "./map.D8heArFD.js";
18
18
  import { o as Ue } from "./style-map.llVFPd__.js";
19
19
  import { n as Pe } from "./when.Dr1es41R.js";
20
- import { C as Yn } from "./button.CAAJPQFu.js";
20
+ import { C as Yn } from "./button.D6S0sAOO.js";
21
21
  import Xn from "../components/dropdown.js";
22
- import qn from "../components/icon-button.js";
22
+ import { C as qn } from "./icon-button.Dxz2J4cg.js";
23
23
  import Gn from "../components/menu.js";
24
24
  import Kn from "../components/menu-item.js";
25
25
  import jn from "../components/tab.js";