@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,13 +1,13 @@
|
|
|
1
|
-
import { au as J, G as K, m as I, a0 as ee, a6 as te, a1 as V, aX as se, a as ie, a3 as ae, e as ne, V as q, aY as oe, aZ as re, L as E, T as R, aW as y, x as le } from "./am-chart.
|
|
2
|
-
import { A as de, aV as ve, aU as Te, at as Ae, as as be, a$ as Ne, Q as ye, a_ as De, b0 as Pe, av as we, X as Ie } from "./am-chart.
|
|
3
|
-
import { S as $ } from "./Scrollbar.
|
|
4
|
-
import { B as Fe } from "./BaseColumnSeries.
|
|
5
|
-
import { C as z } from "./EditableAxisLabel.
|
|
6
|
-
import { E as Se } from "./EditableAxisLabel.
|
|
7
|
-
import { C as W, a as Q } from "./CandlestickSeries.
|
|
8
|
-
import { A as Le, G as Me } from "./CandlestickSeries.
|
|
9
|
-
import { A as ke } from "./AxisLabelRadial.
|
|
10
|
-
import { C as Ge } from "./ColumnSeries.
|
|
1
|
+
import { au as J, G as K, m as I, a0 as ee, a6 as te, a1 as V, aX as se, a as ie, a3 as ae, e as ne, V as q, aY as oe, aZ as re, L as E, T as R, aW as y, x as le } from "./am-chart.H2jnOzFc.js";
|
|
2
|
+
import { A as de, aV as ve, aU as Te, at as Ae, as as be, a$ as Ne, Q as ye, a_ as De, b0 as Pe, av as we, X as Ie } from "./am-chart.H2jnOzFc.js";
|
|
3
|
+
import { S as $ } from "./Scrollbar.BdZVb_Z-.js";
|
|
4
|
+
import { B as Fe } from "./BaseColumnSeries.C7jwOxIJ.js";
|
|
5
|
+
import { C as z } from "./EditableAxisLabel.wN0t_G2B.js";
|
|
6
|
+
import { E as Se } from "./EditableAxisLabel.wN0t_G2B.js";
|
|
7
|
+
import { C as W, a as Q } from "./CandlestickSeries.CkXGtRWE.js";
|
|
8
|
+
import { A as Le, G as Me } from "./CandlestickSeries.CkXGtRWE.js";
|
|
9
|
+
import { A as ke } from "./AxisLabelRadial.Bs1P_q_F.js";
|
|
10
|
+
import { C as Ge } from "./ColumnSeries.DGazbfza.js";
|
|
11
11
|
import { c as j, a as B } from "./MonotoneXTension.CJMEHHj3.js";
|
|
12
12
|
import { c as H } from "./cardinal.BCA_LB0u.js";
|
|
13
13
|
function Z(l, t) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as s, C as
|
|
2
|
-
import { c as
|
|
1
|
+
import { n as s, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as b } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { s as u, a as p } from "../chunks/animate.El-MpOws.js";
|
|
4
4
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
5
|
import { w as m } from "../chunks/event.mFzZi4sr.js";
|
|
@@ -11,139 +11,8 @@ import { r as A } from "../chunks/state.CSDxrqLd.js";
|
|
|
11
11
|
import { e as g } from "../chunks/query.BBf1UFkC.js";
|
|
12
12
|
import { e as f } from "../chunks/class-map.BiVq-cVR.js";
|
|
13
13
|
import { s as _, g as v } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
14
|
-
import { C as H } from "../chunks/icon-button.
|
|
15
|
-
const k = I
|
|
16
|
-
:host {
|
|
17
|
-
display: contents;
|
|
18
|
-
|
|
19
|
-
/* For better DX, we'll reset the margin here so the base part can inherit it */
|
|
20
|
-
margin: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.alert {
|
|
24
|
-
position: relative;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: stretch;
|
|
27
|
-
background-color: var(--cx-panel-background-color);
|
|
28
|
-
border: solid var(--cx-panel-border-width) var(--cx-panel-border-color);
|
|
29
|
-
border-top-width: calc(var(--cx-panel-border-width) * 3);
|
|
30
|
-
border-radius: var(--cx-border-radius-small);
|
|
31
|
-
font-family: var(--cx-font-sans);
|
|
32
|
-
font-size: var(--cx-font-size-small);
|
|
33
|
-
font-weight: var(--cx-font-weight-regular);
|
|
34
|
-
line-height: 1.6;
|
|
35
|
-
color: var(--cx-color-neutral-700);
|
|
36
|
-
margin: inherit;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.alert:not(.alert--has-icon) .alert__icon,
|
|
41
|
-
.alert:not(.alert--closable) .alert__close-button {
|
|
42
|
-
display: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.alert__icon {
|
|
46
|
-
flex: 0 0 auto;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
font-size: var(--cx-font-size-large);
|
|
50
|
-
padding-inline-start: var(--cx-spacing-large);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.alert--has-countdown {
|
|
54
|
-
border-bottom: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.alert--primary {
|
|
58
|
-
border-top-color: var(--cx-color-primary);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.alert--primary .alert__icon {
|
|
62
|
-
color: var(--cx-color-primary);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.alert--success {
|
|
66
|
-
border-top-color: var(--cx-color-success);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.alert--success .alert__icon {
|
|
70
|
-
color: var(--cx-color-success);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.alert--neutral {
|
|
74
|
-
border-top-color: var(--cx-color-neutral);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.alert--neutral .alert__icon {
|
|
78
|
-
color: var(--cx-color-neutral);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.alert--warning {
|
|
82
|
-
border-top-color: var(--cx-color-warning);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.alert--warning .alert__icon {
|
|
86
|
-
color: var(--cx-color-warning);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.alert--danger {
|
|
90
|
-
border-top-color: var(--cx-color-danger);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.alert--danger .alert__icon {
|
|
94
|
-
color: var(--cx-color-danger);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.alert__message {
|
|
98
|
-
flex: 1 1 auto;
|
|
99
|
-
display: block;
|
|
100
|
-
padding: var(--cx-spacing-large);
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.alert__close-button {
|
|
105
|
-
flex: 0 0 auto;
|
|
106
|
-
display: flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
font-size: var(--cx-font-size-medium);
|
|
109
|
-
padding-inline-end: var(--cx-spacing-medium);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.alert__countdown {
|
|
113
|
-
position: absolute;
|
|
114
|
-
bottom: 0;
|
|
115
|
-
left: 0;
|
|
116
|
-
width: 100%;
|
|
117
|
-
height: calc(var(--cx-panel-border-width) * 3);
|
|
118
|
-
background-color: var(--cx-panel-border-color);
|
|
119
|
-
display: flex;
|
|
120
|
-
}
|
|
121
|
-
.alert__countdown--ltr {
|
|
122
|
-
justify-content: flex-end;
|
|
123
|
-
}
|
|
124
|
-
.alert__countdown .alert__countdown-elapsed {
|
|
125
|
-
height: 100%;
|
|
126
|
-
width: 0;
|
|
127
|
-
}
|
|
128
|
-
.alert--primary .alert__countdown-elapsed {
|
|
129
|
-
background-color: var(--cx-color-primary);
|
|
130
|
-
}
|
|
131
|
-
.alert--success .alert__countdown-elapsed {
|
|
132
|
-
background-color: var(--cx-color-success);
|
|
133
|
-
}
|
|
134
|
-
.alert--neutral .alert__countdown-elapsed {
|
|
135
|
-
background-color: var(--cx-color-neutral-600);
|
|
136
|
-
}
|
|
137
|
-
.alert--warning .alert__countdown-elapsed {
|
|
138
|
-
background-color: var(--cx-color-warning);
|
|
139
|
-
}
|
|
140
|
-
.alert--danger .alert__countdown-elapsed {
|
|
141
|
-
background-color: var(--cx-color-danger);
|
|
142
|
-
}
|
|
143
|
-
.alert__timer {
|
|
144
|
-
display: none;
|
|
145
|
-
}
|
|
146
|
-
`;
|
|
14
|
+
import { C as H } from "../chunks/icon-button.BuhCp--_.js";
|
|
15
|
+
const k = I`:host{margin:0;display:contents}.alert{background-color:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-top-width:calc(var(--cx-panel-border-width) * 3);border-radius:var(--cx-border-radius-small);font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-regular);color:var(--cx-color-neutral-700);margin:inherit;align-items:stretch;line-height:1.6;display:flex;position:relative;overflow:hidden}.alert:not(.alert--has-icon) .alert__icon,.alert:not(.alert--closable) .alert__close-button{display:none}.alert__icon{font-size:var(--cx-font-size-large);flex:none;align-items:center;padding-inline-start:var(--cx-spacing-large);display:flex}.alert--has-countdown{border-bottom:none}.alert--primary{border-top-color:var(--cx-color-primary)}.alert--primary .alert__icon{color:var(--cx-color-primary)}.alert--success{border-top-color:var(--cx-color-success)}.alert--success .alert__icon{color:var(--cx-color-success)}.alert--neutral{border-top-color:var(--cx-color-neutral)}.alert--neutral .alert__icon{color:var(--cx-color-neutral)}.alert--warning{border-top-color:var(--cx-color-warning)}.alert--warning .alert__icon{color:var(--cx-color-warning)}.alert--danger{border-top-color:var(--cx-color-danger)}.alert--danger .alert__icon{color:var(--cx-color-danger)}.alert__message{padding:var(--cx-spacing-large);flex:auto;display:block;overflow:hidden}.alert__close-button{font-size:var(--cx-font-size-medium);flex:none;align-items:center;padding-inline-end:var(--cx-spacing-medium);display:flex}.alert__countdown{width:100%;height:calc(var(--cx-panel-border-width) * 3);background-color:var(--cx-panel-border-color);display:flex;position:absolute;bottom:0;left:0}.alert__countdown--ltr{justify-content:flex-end}.alert__countdown .alert__countdown-elapsed{width:0;height:100%}.alert--primary .alert__countdown-elapsed{background-color:var(--cx-color-primary)}.alert--success .alert__countdown-elapsed{background-color:var(--cx-color-success)}.alert--neutral .alert__countdown-elapsed{background-color:var(--cx-color-neutral-600)}.alert--warning .alert__countdown-elapsed{background-color:var(--cx-color-warning)}.alert--danger .alert__countdown-elapsed{background-color:var(--cx-color-danger)}.alert__timer{display:none}`;
|
|
147
16
|
var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n, l) => {
|
|
148
17
|
for (var a = l > 1 ? void 0 : l ? $(o, n) : o, c = r.length - 1, d; c >= 0; c--)
|
|
149
18
|
(d = r[c]) && (a = (l ? d(o, n, a) : d(a)) || a);
|
|
@@ -152,7 +21,7 @@ var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n
|
|
|
152
21
|
const i = Object.assign(document.createElement("div"), {
|
|
153
22
|
className: "cx-toast-stack"
|
|
154
23
|
});
|
|
155
|
-
let e = class extends
|
|
24
|
+
let e = class extends x {
|
|
156
25
|
constructor() {
|
|
157
26
|
super(...arguments), this.hasSlotController = new T(
|
|
158
27
|
this,
|
|
@@ -244,10 +113,7 @@ let e = class extends b {
|
|
|
244
113
|
});
|
|
245
114
|
}
|
|
246
115
|
render() {
|
|
247
|
-
return h
|
|
248
|
-
<div
|
|
249
|
-
part="base"
|
|
250
|
-
class=${f({
|
|
116
|
+
return h`<div part="base" class=${f({
|
|
251
117
|
alert: !0,
|
|
252
118
|
"alert--closable": this.closable,
|
|
253
119
|
"alert--danger": this.variant === "danger",
|
|
@@ -258,47 +124,13 @@ let e = class extends b {
|
|
|
258
124
|
"alert--primary": this.variant === "primary",
|
|
259
125
|
"alert--success": this.variant === "success",
|
|
260
126
|
"alert--warning": this.variant === "warning"
|
|
261
|
-
})}
|
|
262
|
-
role="alert"
|
|
263
|
-
aria-hidden=${this.open ? "false" : "true"}
|
|
264
|
-
@mouseenter=${this.pauseAutoHide}
|
|
265
|
-
@mouseleave=${this.resumeAutoHide}
|
|
266
|
-
>
|
|
267
|
-
<div part="icon" class="alert__icon">
|
|
268
|
-
<slot name="icon"></slot>
|
|
269
|
-
</div>
|
|
270
|
-
|
|
271
|
-
<div part="message" class="alert__message" aria-live="polite">
|
|
272
|
-
<slot></slot>
|
|
273
|
-
</div>
|
|
274
|
-
|
|
275
|
-
${this.closable ? h`
|
|
276
|
-
<cx-icon-button
|
|
277
|
-
part="close-button"
|
|
278
|
-
exportparts="base:close-button__base"
|
|
279
|
-
class="alert__close-button"
|
|
280
|
-
name="close"
|
|
281
|
-
label=${this.localize.term("close")}
|
|
282
|
-
@click=${this.handleCloseClick}
|
|
283
|
-
></cx-icon-button>
|
|
284
|
-
` : ""}
|
|
285
|
-
|
|
286
|
-
<div role="timer" class="alert__timer">${this.remainingTime}</div>
|
|
287
|
-
${this.countdown ? h`
|
|
288
|
-
<div
|
|
289
|
-
class=${f({
|
|
127
|
+
})} role="alert" aria-hidden=${this.open ? "false" : "true"} @mouseenter=${this.pauseAutoHide} @mouseleave=${this.resumeAutoHide}><div part="icon" class="alert__icon"><slot name="icon"></slot></div><div part="message" class="alert__message" aria-live="polite"><slot></slot></div>${this.closable ? h`<cx-icon-button part="close-button" exportparts="base:close-button__base" class="alert__close-button" name="close" label=${this.localize.term("close")} @click=${this.handleCloseClick}></cx-icon-button>` : ""}<div role="timer" class="alert__timer">${this.remainingTime}</div>${this.countdown ? h`<div class=${f({
|
|
290
128
|
alert__countdown: !0,
|
|
291
129
|
"alert__countdown--ltr": this.countdown === "ltr"
|
|
292
|
-
})}
|
|
293
|
-
>
|
|
294
|
-
<div class="alert__countdown-elapsed"></div>
|
|
295
|
-
</div>
|
|
296
|
-
` : ""}
|
|
297
|
-
</div>
|
|
298
|
-
`;
|
|
130
|
+
})}><div class="alert__countdown-elapsed"></div></div>` : ""}</div>`;
|
|
299
131
|
}
|
|
300
132
|
};
|
|
301
|
-
e.styles = [
|
|
133
|
+
e.styles = [b, k];
|
|
302
134
|
e.dependencies = { "cx-icon-button": H };
|
|
303
135
|
t([
|
|
304
136
|
g('[part~="base"]')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bw as b } from "../chunks/am-chart.
|
|
1
|
+
import { bw as b } from "../chunks/am-chart.H2jnOzFc.js";
|
|
2
2
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import "../chunks/component.styles.
|
|
3
|
+
import "../chunks/component.styles.CRO4Odto.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
5
|
import "../chunks/watch.BCJD77bD.js";
|
|
6
6
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -1,76 +1,18 @@
|
|
|
1
|
-
import { n as c, C as
|
|
2
|
-
import { c as g } from "../chunks/component.styles.
|
|
1
|
+
import { n as c, C as h } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as g } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
4
|
import { w as m } from "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import { i as f, x as d } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
|
-
import { r as
|
|
6
|
+
import { r as p } from "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
import { e as x } from "../chunks/query.BBf1UFkC.js";
|
|
8
8
|
import u from "./icon.js";
|
|
9
|
-
const v = f
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
position: relative;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.animated-image {
|
|
20
|
-
display: inline-grid;
|
|
21
|
-
grid-template-columns: 1fr;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
img {
|
|
25
|
-
display: block;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: 100%;
|
|
28
|
-
grid-row-start: 1;
|
|
29
|
-
grid-column-start: 1;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
img[aria-hidden='true'] {
|
|
33
|
-
visibility: hidden;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.animated-image__control-box {
|
|
37
|
-
display: flex;
|
|
38
|
-
position: absolute;
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
top: calc(50% - var(--control-box-size) / 2);
|
|
42
|
-
right: calc(50% - var(--control-box-size) / 2);
|
|
43
|
-
width: var(--control-box-size);
|
|
44
|
-
height: var(--control-box-size);
|
|
45
|
-
font-size: var(--icon-size);
|
|
46
|
-
background: none;
|
|
47
|
-
border: solid 2px currentColor;
|
|
48
|
-
background-color: rgb(0 0 0 /50%);
|
|
49
|
-
border-radius: var(--cx-border-radius-circle);
|
|
50
|
-
color: white;
|
|
51
|
-
pointer-events: none;
|
|
52
|
-
transition: var(--cx-transition-fast) opacity;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
:host([play]:hover) .animated-image__control-box {
|
|
56
|
-
opacity: 1;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host([play]:not(:hover)) .animated-image__control-box {
|
|
60
|
-
opacity: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
:host([play]) slot[name='play-icon'],
|
|
64
|
-
:host(:not([play])) slot[name='pause-icon'] {
|
|
65
|
-
display: none;
|
|
66
|
-
}
|
|
67
|
-
`;
|
|
68
|
-
var b = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, t = (a, i, r, n) => {
|
|
69
|
-
for (var o = n > 1 ? void 0 : n ? _(i, r) : i, s = a.length - 1, l; s >= 0; s--)
|
|
70
|
-
(l = a[s]) && (o = (n ? l(i, r, o) : l(o)) || o);
|
|
71
|
-
return n && o && b(i, r, o), o;
|
|
9
|
+
const v = f`:host{--control-box-size:3rem;--icon-size:calc(var(--control-box-size) * .625);cursor:pointer;display:inline-flex;position:relative}.animated-image{grid-template-columns:1fr;display:inline-grid}img{grid-row-start:1;grid-column-start:1;width:100%;height:100%;display:block}img[aria-hidden=true]{visibility:hidden}.animated-image__control-box{top:calc(50% - var(--control-box-size) / 2);right:calc(50% - var(--control-box-size) / 2);width:var(--control-box-size);height:var(--control-box-size);font-size:var(--icon-size);border-radius:var(--cx-border-radius-circle);color:#fff;pointer-events:none;transition:var(--cx-transition-fast) opacity;background:#00000080;border:2px solid;justify-content:center;align-items:center;display:flex;position:absolute}:host([play]:hover) .animated-image__control-box{opacity:1}:host([play]:not(:hover)) .animated-image__control-box{opacity:0}:host([play]) slot[name=play-icon],:host(:not([play])) slot[name=pause-icon]{display:none}`;
|
|
10
|
+
var _ = Object.defineProperty, b = Object.getOwnPropertyDescriptor, t = (a, i, r, s) => {
|
|
11
|
+
for (var o = s > 1 ? void 0 : s ? b(i, r) : i, n = a.length - 1, l; n >= 0; n--)
|
|
12
|
+
(l = a[n]) && (o = (s ? l(i, r, o) : l(o)) || o);
|
|
13
|
+
return s && o && _(i, r, o), o;
|
|
72
14
|
};
|
|
73
|
-
let e = class extends
|
|
15
|
+
let e = class extends h {
|
|
74
16
|
constructor() {
|
|
75
17
|
super(...arguments), this.isLoaded = !1;
|
|
76
18
|
}
|
|
@@ -91,37 +33,7 @@ let e = class extends p {
|
|
|
91
33
|
this.isLoaded = !1;
|
|
92
34
|
}
|
|
93
35
|
render() {
|
|
94
|
-
return d
|
|
95
|
-
<div class="animated-image">
|
|
96
|
-
<img
|
|
97
|
-
class="animated-image__animated"
|
|
98
|
-
src=${this.src}
|
|
99
|
-
alt=${this.alt}
|
|
100
|
-
crossorigin="anonymous"
|
|
101
|
-
aria-hidden=${this.play ? "false" : "true"}
|
|
102
|
-
@click=${this.handleClick}
|
|
103
|
-
@load=${this.handleLoad}
|
|
104
|
-
@error=${this.handleError}
|
|
105
|
-
/>
|
|
106
|
-
|
|
107
|
-
${this.isLoaded ? d`
|
|
108
|
-
<img
|
|
109
|
-
class="animated-image__frozen"
|
|
110
|
-
src=${this.frozenFrame}
|
|
111
|
-
alt=${this.alt}
|
|
112
|
-
aria-hidden=${this.play ? "true" : "false"}
|
|
113
|
-
@click=${this.handleClick}
|
|
114
|
-
/>
|
|
115
|
-
|
|
116
|
-
<div part="control-box" class="animated-image__control-box">
|
|
117
|
-
<slot name="play-icon"
|
|
118
|
-
><cx-icon name="play_arrow"></cx-icon
|
|
119
|
-
></slot>
|
|
120
|
-
<slot name="pause-icon"><cx-icon name="pause"></cx-icon></slot>
|
|
121
|
-
</div>
|
|
122
|
-
` : ""}
|
|
123
|
-
</div>
|
|
124
|
-
`;
|
|
36
|
+
return d`<div class="animated-image"><img class="animated-image__animated" src=${this.src} alt=${this.alt} crossorigin="anonymous" aria-hidden=${this.play ? "false" : "true"} @click=${this.handleClick} @load=${this.handleLoad} @error=${this.handleError}>${this.isLoaded ? d`<img class="animated-image__frozen" src=${this.frozenFrame} alt=${this.alt} aria-hidden=${this.play ? "true" : "false"} @click=${this.handleClick}><div part="control-box" class="animated-image__control-box"><slot name="play-icon"><cx-icon name="play_arrow"></cx-icon></slot><slot name="pause-icon"><cx-icon name="pause"></cx-icon></slot></div>` : ""}</div>`;
|
|
125
37
|
}
|
|
126
38
|
};
|
|
127
39
|
e.styles = [g, v];
|
|
@@ -130,10 +42,10 @@ t([
|
|
|
130
42
|
x(".animated-image__animated")
|
|
131
43
|
], e.prototype, "animatedImage", 2);
|
|
132
44
|
t([
|
|
133
|
-
|
|
45
|
+
p()
|
|
134
46
|
], e.prototype, "frozenFrame", 2);
|
|
135
47
|
t([
|
|
136
|
-
|
|
48
|
+
p()
|
|
137
49
|
], e.prototype, "isLoaded", 2);
|
|
138
50
|
t([
|
|
139
51
|
c()
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import "../chunks/component.styles.
|
|
2
|
+
import "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
4
4
|
import "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import "../chunks/query-async.CTgXGyQ5.js";
|
|
7
|
-
import { C as f } from "../chunks/animation.
|
|
7
|
+
import { C as f } from "../chunks/animation.7ifl4x2S.js";
|
|
8
8
|
export {
|
|
9
9
|
f as default
|
|
10
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as h, C as y } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as g } from "../chunks/component.styles.
|
|
2
|
+
import { c as g } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as w } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
4
|
import { w as u } from "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import { i as x, E as C, x as m } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -10,62 +10,7 @@ import { n as M } from "../chunks/when.Dr1es41R.js";
|
|
|
10
10
|
import E from "./line-clamp.js";
|
|
11
11
|
import L from "./resize-observer.js";
|
|
12
12
|
import S from "./tag.js";
|
|
13
|
-
const A = x
|
|
14
|
-
.array-clamp {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
flex-wrap: nowrap;
|
|
18
|
-
flex-grow: 1;
|
|
19
|
-
flex-shrink: 1;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.array-clamp__items-container {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
flex-wrap: nowrap;
|
|
27
|
-
flex-grow: 1;
|
|
28
|
-
flex-shrink: 1;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
min-width: 0;
|
|
31
|
-
width: 100%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.array-clamp__items-container ::slotted(.array-clamp__item) {
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
flex-shrink: 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.array-clamp__items-container ::slotted(.array-clamp__item:not(:last-child))::after {
|
|
40
|
-
content: var(--array-clamp-separator, ', ');
|
|
41
|
-
white-space: pre;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.array-clamp__items-container ::slotted(.array-clamp__item.clamped) {
|
|
45
|
-
display: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.array-clamp__items-container ::slotted(.array-clamp__item.array-clamp__last-visible) {
|
|
49
|
-
display: -webkit-box;
|
|
50
|
-
-webkit-box-orient: vertical;
|
|
51
|
-
-webkit-line-clamp: 1;
|
|
52
|
-
overflow: hidden;
|
|
53
|
-
text-overflow: ellipsis;
|
|
54
|
-
white-space: normal;
|
|
55
|
-
min-width: 0;
|
|
56
|
-
flex-shrink: 1;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.array-clamp__indicator {
|
|
60
|
-
flex-shrink: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.array-clamp__indicator::part(base) {
|
|
64
|
-
max-width: 4rem;
|
|
65
|
-
min-width: 2rem;
|
|
66
|
-
overflow-wrap: break-word;
|
|
67
|
-
}
|
|
68
|
-
`;
|
|
13
|
+
const A = x`.array-clamp{flex-wrap:nowrap;flex-grow:1;flex-shrink:1;align-items:center;display:flex;overflow:hidden}.array-clamp__items-container{flex-wrap:nowrap;flex-grow:1;flex-shrink:1;align-items:center;width:100%;min-width:0;display:flex;overflow:hidden}.array-clamp__items-container ::slotted(.array-clamp__item){white-space:nowrap;flex-shrink:0}.array-clamp__items-container ::slotted(.array-clamp__item:not(:last-child)):after{content:var(--array-clamp-separator,", ");white-space:pre}.array-clamp__items-container ::slotted(.array-clamp__item.clamped){display:none}.array-clamp__items-container ::slotted(.array-clamp__item.array-clamp__last-visible){-webkit-line-clamp:1;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;flex-shrink:1;min-width:0;display:-webkit-box;overflow:hidden}.array-clamp__indicator{flex-shrink:0}.array-clamp__indicator::part(base){overflow-wrap:break-word;min-width:2rem;max-width:4rem}`;
|
|
69
14
|
var R = Object.defineProperty, z = Object.getOwnPropertyDescriptor, o = (e, a, s, r) => {
|
|
70
15
|
for (var t = r > 1 ? void 0 : r ? z(a, s) : a, i = e.length - 1, n; i >= 0; i--)
|
|
71
16
|
(n = e[i]) && (t = (r ? n(a, s, t) : n(t)) || t);
|
|
@@ -127,40 +72,14 @@ let l = class extends y {
|
|
|
127
72
|
this.applyItemClasses();
|
|
128
73
|
}
|
|
129
74
|
render() {
|
|
130
|
-
return m
|
|
131
|
-
<div
|
|
132
|
-
class="array-clamp"
|
|
133
|
-
style=${b({
|
|
75
|
+
return m`<div class="array-clamp" style=${b({
|
|
134
76
|
"--array-clamp-separator": `'${String(this.separator).replaceAll("'", String.raw`\'`)}'`
|
|
135
|
-
})}
|
|
136
|
-
>
|
|
137
|
-
<cx-resize-observer @cx-resize=${this.handleResize}>
|
|
138
|
-
<div class="array-clamp__items-container" part="container">
|
|
139
|
-
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
140
|
-
${M(
|
|
77
|
+
})}><cx-resize-observer @cx-resize=${this.handleResize}><div class="array-clamp__items-container" part="container"><slot @slotchange=${this.handleSlotChange}></slot>${M(
|
|
141
78
|
this.totalClamped > 0,
|
|
142
|
-
() => m
|
|
143
|
-
|
|
144
|
-
variant="neutral"
|
|
145
|
-
size="small"
|
|
146
|
-
pill
|
|
147
|
-
class="array-clamp__indicator"
|
|
148
|
-
part="indicator"
|
|
149
|
-
>
|
|
150
|
-
<cx-line-clamp
|
|
151
|
-
tooltip=${this.hiddenChildrenStr}
|
|
152
|
-
lines="1"
|
|
153
|
-
>
|
|
154
|
-
+${this.totalClamped}
|
|
155
|
-
</cx-line-clamp>
|
|
156
|
-
</cx-tag>
|
|
157
|
-
`,
|
|
79
|
+
() => m`<cx-tag variant="neutral" size="small" pill class="array-clamp__indicator" part="indicator"><cx-line-clamp tooltip=${this.hiddenChildrenStr} lines="1">
|
|
80
|
+
+${this.totalClamped}</cx-line-clamp></cx-tag>`,
|
|
158
81
|
() => C
|
|
159
|
-
)}
|
|
160
|
-
</div>
|
|
161
|
-
</cx-resize-observer>
|
|
162
|
-
</div>
|
|
163
|
-
`;
|
|
82
|
+
)}</div></cx-resize-observer></div>`;
|
|
164
83
|
}
|
|
165
84
|
};
|
|
166
85
|
l.styles = [g, A];
|