@orangelogic/design-system 2.78.0 → 2.79.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.
- package/library/chunks/{AxisLabelRadial.BTpA5dYy.js → AxisLabelRadial.Bs1P_q_F.js} +1 -1
- package/library/chunks/{BaseColumnSeries.hIO71GLG.js → BaseColumnSeries.C7jwOxIJ.js} +1 -1
- package/library/chunks/{CandlestickSeries.w9C0GR9v.js → CandlestickSeries.CkXGtRWE.js} +2 -2
- package/library/chunks/{Circle.tOnnO-F-.js → Circle.DBa5Ok8V.js} +1 -1
- package/library/chunks/{ColumnSeries.Ckz75x1M.js → ColumnSeries.DGazbfza.js} +2 -2
- package/library/chunks/{EditableAxisLabel.CCMTJT7K.js → EditableAxisLabel.wN0t_G2B.js} +2 -2
- package/library/chunks/{EditableLabel.DPmicdjK.js → EditableLabel.BWeq6fgX.js} +1 -1
- package/library/chunks/{Gradient.BrDBLm8v.js → Gradient.CdcsPIru.js} +1 -1
- package/library/chunks/{LinearGradient.CxfXxvMw.js → LinearGradient.B1z9AGUt.js} +2 -2
- package/library/chunks/{Picture.BNASYM-P.js → Picture.YSPC0l0Q.js} +1 -1
- package/library/chunks/{Polygon.Dr-GV2hn.js → Polygon.BwMvXN2H.js} +1 -1
- package/library/chunks/{ProgressPie.4mPA6xqm.js → ProgressPie.DlCwXN17.js} +5 -5
- package/library/chunks/{RadialLabel.HfsGiN4x.js → RadialLabel.DyVOf2K8.js} +1 -1
- package/library/chunks/{Scrollbar.Bgg-RhjP.js → Scrollbar.BdZVb_Z-.js} +1 -1
- package/library/chunks/{Slice.Dm56LTKj.js → Slice.DiEswWa6.js} +1 -1
- package/library/chunks/{Slider.FKJwoPq2.js → Slider.C20No2z5.js} +1 -1
- package/library/chunks/{SpriteResizer.-qJDgug8.js → SpriteResizer.DFnmcy0h.js} +1 -1
- package/library/chunks/{Triangle.BECgi7mc.js → Triangle.BaOef7HV.js} +1 -1
- package/library/chunks/{ZoomTools.cgwuIB0e.js → ZoomTools.D5JPehoL.js} +1 -1
- package/library/chunks/{am-chart.oZVBmpnn.js → am-chart.H2jnOzFc.js} +253 -261
- package/library/chunks/{animation.DU8t6mrk.js → animation.7ifl4x2S.js} +3 -7
- package/library/chunks/{button.DS64Tr8Z.js → button.B-ktz-w4.js} +7 -40
- package/library/chunks/button.styles.CKqn956w.js +5 -0
- package/library/chunks/{color-swatch-group.C7T6-sY7.js → color-swatch-group.DvllHUil.js} +46 -216
- package/library/chunks/{color-swatch.BuUP5yG4.js → color-swatch.Bx-HOp9f.js} +18 -202
- package/library/chunks/{colorPicker.C4w_vDjh.js → colorPicker.06n6P3aK.js} +5 -5
- package/library/chunks/component.styles.CRO4Odto.js +5 -0
- package/library/chunks/confirm-popover.BbHneK19.js +121 -0
- package/library/chunks/{cropper.D1lO3pl-.js → cropper.DTokTzP9.js} +2533 -2904
- package/library/chunks/{dialog.BdXQkCKY.js → dialog.B1nzoJak.js} +40 -251
- package/library/chunks/dot-pagination.C26bQ3vy.js +204 -0
- package/library/chunks/{exporting.BdjsEGF8.js → exporting.Chnl3UWi.js} +2 -2
- package/library/chunks/file-on-demand.D_Mia7M9.js +1956 -0
- package/library/chunks/{flow.D0FqdfOy.js → flow.D2CqFQa7.js} +5 -5
- package/library/chunks/{folder-select.B2qxSKA5.js → folder-select.DOsefkAC.js} +20 -226
- package/library/chunks/form-control.styles.CaGWmeAS.js +5 -0
- package/library/chunks/{gantt.DfUM7Gvb.js → gantt.DSHD2gjO.js} +8 -8
- package/library/chunks/header.D68fIfe2.js +170 -0
- package/library/chunks/{hierarchy.5kfBCoGt.js → hierarchy.DwVsMmsP.js} +5 -5
- package/library/chunks/icon-button.BuhCp--_.js +149 -0
- package/library/chunks/iframe.BQFZQMTe.js +73 -0
- package/library/chunks/{image.DHBgKeJp.js → image.4eLWAZ3-.js} +16 -272
- package/library/chunks/{index.BkoLctE9.js → index.C9khsiad.js} +17 -17
- package/library/chunks/{json.BjaT7cyo.js → json.zyETMOw-.js} +3 -3
- package/library/chunks/{list-editor.DluUZa06.js → list-editor.DNa6ROgr.js} +45 -360
- package/library/chunks/{map.DbgNAGxD.js → map.CqM2O6LB.js} +2 -2
- package/library/chunks/option.DljDoFx4.js +123 -0
- package/library/chunks/{overlayscrollbars.XhGWx9Zk.js → overlayscrollbars.BMav4RQ4.js} +252 -958
- package/library/chunks/{pagination.g4zErKN2.js → pagination.BiRyMwhM.js} +45 -141
- package/library/chunks/{percent.DO4FjAdu.js → percent.DuQwbCCg.js} +3 -3
- package/library/chunks/{radar.Dd5fJVMg.js → radar.FpYl3UH5.js} +4 -4
- package/library/chunks/{sliceGrouper.DA3aeuJ-.js → sliceGrouper.BsE7fGMt.js} +1 -1
- package/library/chunks/{stock.BfI5MUyK.js → stock.BR-ag4Pt.js} +9 -9
- package/library/chunks/{tab-group.Dg6a82ei.js → tab-group.9HbDE1AF.js} +30 -581
- package/library/chunks/{table.CcqrVieF.js → table.B8LpbiGE.js} +192 -2133
- package/library/chunks/{timeline.BxMLjB5J.js → timeline.DkzkmgEM.js} +5 -5
- package/library/chunks/{tree.OXvhEOjS.js → tree.q7xRVYyh.js} +31 -399
- package/library/chunks/typography.DJC_UXgs.js +52 -0
- package/library/chunks/{venn.CxFupTb9.js → venn.D739bOV3.js} +1 -1
- package/library/chunks/{wc.ThQubbN2.js → wc.DzW311D-.js} +1 -1
- package/library/chunks/{xy.q6e68du3.js → xy.DCRDfTsa.js} +10 -10
- package/library/components/alert.js +9 -177
- package/library/components/am-chart.js +2 -2
- package/library/components/animated-image.js +12 -100
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +7 -88
- package/library/components/asset-link-format.js +48 -626
- package/library/components/atoms.js +17 -17
- package/library/components/avatar.js +5 -94
- package/library/components/badge.js +11 -139
- package/library/components/bicolor-picker.js +4 -23
- package/library/components/border-input-group.js +4 -25
- package/library/components/breadcrumb-item.js +24 -155
- package/library/components/breadcrumb.js +3 -21
- package/library/components/button-group.js +3 -28
- package/library/components/button.js +3 -3
- package/library/components/card.js +4 -126
- package/library/components/checkbox.js +11 -252
- package/library/components/color-picker.js +54 -725
- package/library/components/color-swatch-group.js +5 -5
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +5 -5
- package/library/components/copy-button.js +9 -254
- package/library/components/corner-position-input-group.js +4 -57
- package/library/components/cropper.js +2 -2
- package/library/components/details.js +6 -152
- package/library/components/dialog.js +4 -4
- package/library/components/divider.js +5 -67
- package/library/components/dot-pagination.js +2 -2
- package/library/components/dot-status.js +25 -95
- package/library/components/drawer.js +8 -239
- package/library/components/dropdown.js +47 -149
- package/library/components/dynamic-select.js +7 -72
- package/library/components/e-chart.js +6 -49
- package/library/components/element-clamp.js +5 -78
- package/library/components/file-on-demand.js +9 -9
- package/library/components/folder-select.js +3 -3
- package/library/components/format-date.js +2 -6
- package/library/components/format-time.js +2 -12
- package/library/components/grid-item.js +4 -171
- package/library/components/grid.js +5 -41
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/icon.js +8 -2448
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +7 -127
- package/library/components/image.js +2 -2
- package/library/components/include.js +2 -6
- package/library/components/input-group.js +4 -29
- package/library/components/input.js +21 -715
- package/library/components/line-clamp.js +7 -83
- package/library/components/list-editor.js +7 -7
- package/library/components/markdown.js +1 -3
- package/library/components/masonry.js +22 -221
- package/library/components/menu-item.js +9 -309
- package/library/components/menu-label.js +3 -20
- package/library/components/menu-section.js +3 -17
- package/library/components/menu.js +4 -112
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +2 -6
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +5 -16
- package/library/components/pagination.js +5 -5
- package/library/components/popup.js +204 -538
- package/library/components/position-picker.js +3 -93
- package/library/components/progress-bar.js +18 -135
- package/library/components/progress-ring.js +3 -94
- package/library/components/qr-code.js +4 -16
- package/library/components/radio-button.js +4 -24
- package/library/components/radio-card.js +7 -175
- package/library/components/radio-group.js +20 -151
- package/library/components/radio.js +13 -170
- package/library/components/range.js +120 -657
- package/library/components/rating.js +56 -236
- package/library/components/relative-time.js +2 -12
- package/library/components/resize-observer.js +3 -7
- package/library/components/select.js +225 -933
- package/library/components/shadow-input-group.js +5 -24
- package/library/components/share-option-list.js +18 -310
- package/library/components/sidebar.js +14 -220
- package/library/components/size-input-group.js +10 -75
- package/library/components/skeleton.js +7 -80
- package/library/components/space.js +6 -143
- package/library/components/spinner.js +6 -75
- package/library/components/split-panel.js +16 -123
- package/library/components/step.js +21 -272
- package/library/components/stepper-wizard.js +9 -43
- package/library/components/stepper.js +16 -33
- package/library/components/switch.js +11 -274
- package/library/components/tab-group.js +4 -4
- package/library/components/tab-panel.js +4 -31
- package/library/components/tab.js +9 -255
- package/library/components/table.js +6 -6
- package/library/components/tag.js +14 -165
- package/library/components/textarea.js +14 -363
- package/library/components/timecode.js +4 -23
- package/library/components/tooltip.js +8 -92
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +18 -117
- package/library/components/types.js +777 -12001
- package/library/components/typography.js +2 -2
- package/library/components/video.js +3522 -5919
- package/library/components/visually-hidden.js +3 -15
- package/library/package.json +4 -1
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +2 -1
- package/library/packages/atoms/src/components/select/select.d.ts +11 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +32 -1
- package/library/packages/types/src/table.d.ts +2 -0
- package/library/react-web-component.d.ts +7 -3
- package/package.json +4 -1
- package/library/chunks/button.styles.Dl5IQLHU.js +0 -718
- package/library/chunks/component.styles.DMSLciL5.js +0 -71
- package/library/chunks/confirm-popover.BNjRvnN0.js +0 -288
- package/library/chunks/dot-pagination.CIVxMAAS.js +0 -325
- package/library/chunks/file-on-demand.BTTdth3o.js +0 -3802
- package/library/chunks/form-control.styles.CUGhvlfT.js +0 -67
- package/library/chunks/header.m7v3M94Z.js +0 -777
- package/library/chunks/icon-button.C3eqeQl9.js +0 -683
- package/library/chunks/iframe.CNEyWhcM.js +0 -160
- package/library/chunks/option.Csqefux_.js +0 -296
- package/library/chunks/typography.oDzoLbZS.js +0 -149
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import _ from "../components/space.js";
|
|
2
2
|
import { n, C as b } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as y, I } from "./icon-button.
|
|
3
|
+
import { C as y, I } from "./icon-button.BuhCp--_.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { L as C } from "./i18n.BUW7B9hr.js";
|
|
6
6
|
import { c as l } from "./math.DqTA6ya4.js";
|
|
7
7
|
import { w as x } from "./watch.BCJD77bD.js";
|
|
8
|
-
import { i as z, x as
|
|
8
|
+
import { i as z, x as p } from "./lit-element.jLBm65_O.js";
|
|
9
9
|
import { r as d } from "./state.CSDxrqLd.js";
|
|
10
10
|
import { e as S } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as m } from "./repeat.DbF2p5ae.js";
|
|
12
|
-
import { n as
|
|
13
|
-
import { C as $ } from "./button.
|
|
12
|
+
import { n as r } from "./when.Dr1es41R.js";
|
|
13
|
+
import { C as $ } from "./button.B-ktz-w4.js";
|
|
14
14
|
import v from "../components/input.js";
|
|
15
|
-
import { C as w } from "./option.
|
|
15
|
+
import { C as w } from "./option.DljDoFx4.js";
|
|
16
16
|
import P from "../components/select.js";
|
|
17
17
|
import B from "../components/tooltip.js";
|
|
18
|
-
import { C as N } from "./typography.
|
|
19
|
-
import { c as k } from "./component.styles.
|
|
18
|
+
import { C as N } from "./typography.DJC_UXgs.js";
|
|
19
|
+
import { c as k } from "./component.styles.CRO4Odto.js";
|
|
20
20
|
var c = /* @__PURE__ */ ((t) => (t.Both = "both", t.Pages = "pages", t.Rows = "rows", t))(c || {});
|
|
21
21
|
const O = z`
|
|
22
22
|
${k}
|
|
@@ -94,10 +94,10 @@ const O = z`
|
|
|
94
94
|
color: var(--cx-color-primary);
|
|
95
95
|
}
|
|
96
96
|
`;
|
|
97
|
-
var
|
|
98
|
-
for (var o =
|
|
99
|
-
(u = t[h]) && (o = (
|
|
100
|
-
return
|
|
97
|
+
var M = Object.defineProperty, D = Object.getOwnPropertyDescriptor, a = (t, i, s, g) => {
|
|
98
|
+
for (var o = g > 1 ? void 0 : g ? D(i, s) : i, h = t.length - 1, u; h >= 0; h--)
|
|
99
|
+
(u = t[h]) && (o = (g ? u(i, s, o) : u(o)) || o);
|
|
100
|
+
return g && o && M(i, s, o), o;
|
|
101
101
|
};
|
|
102
102
|
let e = class extends b {
|
|
103
103
|
constructor() {
|
|
@@ -121,6 +121,9 @@ let e = class extends b {
|
|
|
121
121
|
get nextDisabled() {
|
|
122
122
|
return this._pageIndex >= this._pageCount;
|
|
123
123
|
}
|
|
124
|
+
get hasMultiplePages() {
|
|
125
|
+
return this._pageCount > 1;
|
|
126
|
+
}
|
|
124
127
|
updatePageCount() {
|
|
125
128
|
const t = Number.isFinite(this.pageSize) && this.pageSize > 0 ? this.pageSize : 1;
|
|
126
129
|
this._pageCount = Math.max(1, Math.ceil(this.count / t)), this.pageIndex = l(this.pageIndex, 1, this._pageCount);
|
|
@@ -160,20 +163,7 @@ let e = class extends b {
|
|
|
160
163
|
this._pageInputValue = this.pageIndex.toString();
|
|
161
164
|
}
|
|
162
165
|
renderCounterInput() {
|
|
163
|
-
return
|
|
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>`;
|
|
166
|
+
return p`<cx-input part="pagination-input" class="pagination__page-input" type="text" size="small" auto-grow inputmode="numeric" pattern="[0-9]*" aria-label=${this.localize.term("jump")} .value=${this._pageInputValue} @cx-input=${this.handlePageInput} @keydown=${this.handlePageInputKeyDown} @cx-blur=${this.handlePageInputBlur}></cx-input>`;
|
|
177
167
|
}
|
|
178
168
|
async handleCountChange() {
|
|
179
169
|
this.updatePageCount();
|
|
@@ -197,150 +187,64 @@ let e = class extends b {
|
|
|
197
187
|
i && (this.pageIndex = Number(i.dataset.page));
|
|
198
188
|
}
|
|
199
189
|
renderPageButton(t) {
|
|
200
|
-
return
|
|
201
|
-
<cx-button
|
|
202
|
-
data-page=${t}
|
|
203
|
-
variant="text"
|
|
204
|
-
size="small"
|
|
205
|
-
class=${S({
|
|
190
|
+
return p`<cx-button data-page=${t} variant="text" size="small" class=${S({
|
|
206
191
|
pagination__page: !0,
|
|
207
192
|
"pagination__page--active": t === this.pageIndex
|
|
208
|
-
})}
|
|
209
|
-
>
|
|
210
|
-
${t}
|
|
211
|
-
</cx-button>
|
|
212
|
-
`;
|
|
193
|
+
})}>${t}</cx-button>`;
|
|
213
194
|
}
|
|
214
195
|
renderPageButtons() {
|
|
215
|
-
const t = Math.floor((this.paginationButtonCount - 1) / 2), i = Math.ceil((this.paginationButtonCount - 1) / 2),
|
|
196
|
+
const t = Math.floor((this.paginationButtonCount - 1) / 2), i = Math.ceil((this.paginationButtonCount - 1) / 2), s = Math.max(
|
|
216
197
|
1,
|
|
217
198
|
this._pageCount - this.pageIndex + t + 1 < this.paginationButtonCount ? this._pageCount - this.paginationButtonCount + 1 : this.pageIndex - t
|
|
218
|
-
),
|
|
199
|
+
), g = Math.min(
|
|
219
200
|
this._pageCount,
|
|
220
201
|
this.pageIndex <= i ? this.paginationButtonCount : this.pageIndex + i
|
|
221
202
|
);
|
|
222
|
-
return
|
|
223
|
-
|
|
224
|
-
${m(
|
|
225
|
-
Array.from({ length: r - p + 1 }, (o, h) => h + p),
|
|
203
|
+
return p`<div class="pagination__pages" @click=${this.handlePageClick}>${m(
|
|
204
|
+
Array.from({ length: g - s + 1 }, (o, h) => h + s),
|
|
226
205
|
(o) => o,
|
|
227
206
|
(o) => this.renderPageButton(o)
|
|
228
|
-
)}
|
|
229
|
-
</div>
|
|
230
|
-
`;
|
|
207
|
+
)}</div>`;
|
|
231
208
|
}
|
|
232
209
|
renderPageCount() {
|
|
233
|
-
return this.showPaginationInput ?
|
|
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>`;
|
|
210
|
+
return !this.showPaginationInput || !this.hasMultiplePages ? p`<cx-typography variant="body3" class="pagination_count">${this.localize.term("itemOfTotal", this.pageIndex, this._pageCount)}</cx-typography>` : p`<cx-space class="pagination_count">${this.renderCounterInput()}<cx-typography variant="body3">${this.localize.term("itemOfTotal", "", this._pageCount)}</cx-typography></cx-space>`;
|
|
239
211
|
}
|
|
240
212
|
renderRowCount() {
|
|
241
|
-
return
|
|
242
|
-
${this.localize.term(
|
|
213
|
+
return p`<cx-typography variant="body3" class="pagination_count">${this.localize.term(
|
|
243
214
|
"itemRangeOfTotal",
|
|
244
215
|
this.pageStart,
|
|
245
216
|
this.pageEnd,
|
|
246
217
|
this.count
|
|
247
|
-
)}
|
|
248
|
-
</cx-typography>`;
|
|
218
|
+
)}</cx-typography>`;
|
|
249
219
|
}
|
|
250
220
|
render() {
|
|
251
|
-
return
|
|
252
|
-
<div class="pagination">
|
|
253
|
-
${g(
|
|
221
|
+
return p`<div class="pagination">${r(
|
|
254
222
|
this.pageSizeOptions.length > 1,
|
|
255
|
-
() =>
|
|
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(
|
|
223
|
+
() => p`<label class="pagination__label__container"><cx-typography variant="body3" class="pagination__label">${this.label}</cx-typography><cx-select class="pagination__select" size="small" hoist value=${this.pageSize.toString()} @cx-change=${this.handlePageSizeSelectChange}>${m(
|
|
268
224
|
this.pageSizeOptions,
|
|
269
225
|
(t) => t,
|
|
270
|
-
(t) =>
|
|
271
|
-
|
|
272
|
-
`
|
|
273
|
-
)}
|
|
274
|
-
</cx-select>
|
|
275
|
-
</label>
|
|
276
|
-
`
|
|
226
|
+
(t) => p`<cx-option value=${t}>${t}</cx-option>`
|
|
227
|
+
)}</cx-select></label>`
|
|
277
228
|
)}
|
|
278
|
-
${
|
|
229
|
+
${r(
|
|
279
230
|
this.paginationCounter === c.Both || this.paginationCounter === c.Rows,
|
|
280
231
|
() => this.renderRowCount(),
|
|
281
232
|
() => this.renderPageCount()
|
|
282
233
|
)}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
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
|
-
`;
|
|
234
|
+
${r(
|
|
235
|
+
this.hasMultiplePages,
|
|
236
|
+
() => p`<div class="pagination__navigation-buttons">${r(
|
|
237
|
+
this.showFirst,
|
|
238
|
+
() => p`<cx-tooltip hoist content=${this.localize.term("first")}><cx-icon-button class="pagination__first" label=${this.localize.term("first")} name="first_page" size=${this.iconButtonSize} ?disabled=${this.prevDisabled} @click=${this.handleFirst}></cx-icon-button></cx-tooltip>`
|
|
239
|
+
)}<cx-tooltip hoist content=${this.localize.term("previous")}><cx-icon-button part="back-icon" class="pagination__back" label=${this.localize.term("previous")} name=${this.backIconName} size=${this.iconButtonSize} ?disabled=${this.prevDisabled} @click=${this.handleBack}></cx-icon-button></cx-tooltip>${r(
|
|
240
|
+
this.paginationCounter === c.Both,
|
|
241
|
+
() => this.renderPageCount()
|
|
242
|
+
)}
|
|
243
|
+
${r(this.showPaginationButtons, () => this.renderPageButtons())}<cx-tooltip hoist content=${this.localize.term("next")}><cx-icon-button part="next-icon" class="pagination__forward" label=${this.localize.term("next")} name=${this.nextIconName} size=${this.iconButtonSize} ?disabled=${this.nextDisabled} @click=${this.handleForward}></cx-icon-button></cx-tooltip>${r(
|
|
244
|
+
this.showLast,
|
|
245
|
+
() => p`<cx-tooltip hoist content=${this.localize.term("last")}><cx-icon-button class="pagination__last" label=${this.localize.term("last")} name="last_page" size=${this.iconButtonSize} ?disabled=${this.nextDisabled} @click=${this.handleLast}></cx-icon-button></cx-tooltip>`
|
|
246
|
+
)}</div>`
|
|
247
|
+
)}</div>`;
|
|
344
248
|
}
|
|
345
249
|
};
|
|
346
250
|
e.styles = O;
|
|
@@ -362,7 +266,7 @@ a([
|
|
|
362
266
|
attribute: "page-size-options",
|
|
363
267
|
converter: {
|
|
364
268
|
fromAttribute: (t) => {
|
|
365
|
-
const i = (t ?? "").trim().split(/\s+/).map((
|
|
269
|
+
const i = (t ?? "").trim().split(/\s+/).map((s) => Number.parseInt(s, 10)).filter((s) => Number.isFinite(s) && s > 0);
|
|
366
270
|
return i.length ? i : [];
|
|
367
271
|
},
|
|
368
272
|
toAttribute: (t) => t.join(" ")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as gt, x as P, al as dt, H as et, q as b, am as pt, aF as ot, J as ht, C as tt, e as v, _ as V, a as G, v as _t, b1 as rt, P as ft, b2 as mt, r as A, L as R, T as M, m as W, aG as ct, p as yt, j as w, h as T, G as $, aj as J, b3 as k, b as bt } from "./am-chart.
|
|
2
|
-
import { S as xt } from "./Slice.
|
|
3
|
-
import { R as kt } from "./RadialLabel.
|
|
1
|
+
import { D as gt, x as P, al as dt, H as et, q as b, am as pt, aF as ot, J as ht, C as tt, e as v, _ as V, a as G, v as _t, b1 as rt, P as ft, b2 as mt, r as A, L as R, T as M, m as W, aG as ct, p as yt, j as w, h as T, G as $, aj as J, b3 as k, b as bt } from "./am-chart.H2jnOzFc.js";
|
|
2
|
+
import { S as xt } from "./Slice.DiEswWa6.js";
|
|
3
|
+
import { R as kt } from "./RadialLabel.DyVOf2K8.js";
|
|
4
4
|
class vt extends gt {
|
|
5
5
|
setupDefaultRules() {
|
|
6
6
|
super.setupDefaultRules();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as X, a as S } from "./Slice.
|
|
2
|
-
import { aU as Y, L as M, T as b, m as p, r as m, x as z, o as A, h as u, j as f, a as _, C as W, G as L, H as v, P as Q, D as at, am as H, au as Z, q as O, b1 as K, b2 as nt, p as C, b5 as w, av as $, b6 as j, t as q, aW as tt } from "./am-chart.
|
|
3
|
-
import { A as et } from "./AxisLabelRadial.
|
|
4
|
-
import { B as st } from "./BaseColumnSeries.
|
|
1
|
+
import { S as X, a as S } from "./Slice.DiEswWa6.js";
|
|
2
|
+
import { aU as Y, L as M, T as b, m as p, r as m, x as z, o as A, h as u, j as f, a as _, C as W, G as L, H as v, P as Q, D as at, am as H, au as Z, q as O, b1 as K, b2 as nt, p as C, b5 as w, av as $, b6 as j, t as q, aW as tt } from "./am-chart.H2jnOzFc.js";
|
|
3
|
+
import { A as et } from "./AxisLabelRadial.Bs1P_q_F.js";
|
|
4
|
+
import { B as st } from "./BaseColumnSeries.C7jwOxIJ.js";
|
|
5
5
|
import { p as rt, c as lt } from "./cardinal.BCA_LB0u.js";
|
|
6
6
|
function U() {
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as d, B as p, G as D, e as h } from "./am-chart.
|
|
1
|
+
import { E as d, B as p, G as D, e as h } from "./am-chart.H2jnOzFc.js";
|
|
2
2
|
class m extends d {
|
|
3
3
|
_afterNew() {
|
|
4
4
|
super._afterNew(), this._setRawDefault("threshold", 5), this._setRawDefault("groupName", "Other"), this._setRawDefault("clickBehavior", "none"), this.initZoomButton(), this._root.addDisposer(this);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as Te, B as Oe, G as Le, D as ma, x as ve, aQ as pi, am as se, q as Fe, d as S, H as W, f as ge, al as Pi, o as fi, E as at, c as J, bj as Ke, bk as lt, bl as Ii, s as Xe, e as A, ah as si, bm as Ns, M as dt, ac as V, ae as va, ad as Ti, z as Q, bn as Ni, a9 as qe, aW as H, bo as Hs, m as ct, a_ as _a, ax as mi, ap as Dt, w as Mi, a4 as Li, aq as He, _ as _e, L as ke, T as re, au as Ei, at as Yi, Q as xa, aw as vi, as as ya, V as St, av as ba, a as ne, t as zs, i as ii, aZ as _i, bp as $e, Z as rt, an as Ws, aj as Fi, j as xi, h as yi, a7 as ka, aD as bi, F as wa, I as Ca, b as Oi, R as Da, a2 as Sa, bq as Se, ar as Aa, br as Pa, ab as ki, bs as Vi, bt as Ia, bu as yt } from "./am-chart.
|
|
2
|
-
import { M as Xi, S as Ta, L as Bi, B as ai, E as Na } from "./SpriteResizer
|
|
3
|
-
import { a as Ri, G as wi, A as Ci } from "./CandlestickSeries.
|
|
4
|
-
import { B as Ma } from "./BaseColumnSeries.
|
|
5
|
-
import { C as Qe } from "./ColumnSeries.
|
|
6
|
-
import { C as Di } from "./Circle.
|
|
7
|
-
import { T as La } from "./Triangle.
|
|
8
|
-
import { E as Ea } from "./EditableLabel.
|
|
9
|
-
import { Serializer as Hi } from "./json.
|
|
1
|
+
import { C as Te, B as Oe, G as Le, D as ma, x as ve, aQ as pi, am as se, q as Fe, d as S, H as W, f as ge, al as Pi, o as fi, E as at, c as J, bj as Ke, bk as lt, bl as Ii, s as Xe, e as A, ah as si, bm as Ns, M as dt, ac as V, ae as va, ad as Ti, z as Q, bn as Ni, a9 as qe, aW as H, bo as Hs, m as ct, a_ as _a, ax as mi, ap as Dt, w as Mi, a4 as Li, aq as He, _ as _e, L as ke, T as re, au as Ei, at as Yi, Q as xa, aw as vi, as as ya, V as St, av as ba, a as ne, t as zs, i as ii, aZ as _i, bp as $e, Z as rt, an as Ws, aj as Fi, j as xi, h as yi, a7 as ka, aD as bi, F as wa, I as Ca, b as Oi, R as Da, a2 as Sa, bq as Se, ar as Aa, br as Pa, ab as ki, bs as Vi, bt as Ia, bu as yt } from "./am-chart.H2jnOzFc.js";
|
|
2
|
+
import { M as Xi, S as Ta, L as Bi, B as ai, E as Na } from "./SpriteResizer.DFnmcy0h.js";
|
|
3
|
+
import { a as Ri, G as wi, A as Ci } from "./CandlestickSeries.CkXGtRWE.js";
|
|
4
|
+
import { B as Ma } from "./BaseColumnSeries.C7jwOxIJ.js";
|
|
5
|
+
import { C as Qe } from "./ColumnSeries.DGazbfza.js";
|
|
6
|
+
import { C as Di } from "./Circle.DBa5Ok8V.js";
|
|
7
|
+
import { T as La } from "./Triangle.BaOef7HV.js";
|
|
8
|
+
import { E as Ea } from "./EditableLabel.BWeq6fgX.js";
|
|
9
|
+
import { Serializer as Hi } from "./json.zyETMOw-.js";
|
|
10
10
|
class At extends Te {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.upButton = this.children.push(Oe.new(this._root, {
|