@orangelogic/design-system 2.112.0 → 2.113.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/{asset.Ci6rP56l.js → asset.HL1qMnhg.js} +1 -1
- package/library/chunks/{button.BvBgxmvw.js → button.DIvU_uFU.js} +1 -1
- package/library/chunks/{color-swatch-group.D8KPblw2.js → color-swatch-group.DV5uB8OC.js} +3 -3
- package/library/chunks/{color-swatch.DQxReKYX.js → color-swatch.BoUZGGs4.js} +1 -1
- package/library/chunks/{confirm-popover.dyPIFLWa.js → confirm-popover.DS9HIy3c.js} +3 -3
- package/library/chunks/{dialog.BoCFGpPO.js → dialog.DyT-Nai2.js} +2 -2
- package/library/chunks/{document-viewer.B90s20gM.js → document-viewer.AiKX3RO6.js} +5 -5
- package/library/chunks/{dot-pagination.uz9GFrMP.js → dot-pagination.CKbL6eN_.js} +1 -1
- package/library/chunks/{file-on-demand.DLVH0DID.js → file-on-demand.h8tCgq51.js} +9 -9
- package/library/chunks/{folder-select.C2ruplAB.js → folder-select.eoufobYO.js} +4 -4
- package/library/chunks/{header.By_Mfx47.js → header.BUp3_oeJ.js} +1 -1
- package/library/chunks/{i18n.BcD4Ohsq.js → i18n.C21qyGi6.js} +3 -0
- package/library/chunks/{icon-button.DO6DHXwo.js → icon-button.DxkJ-cp-.js} +1 -1
- package/library/chunks/{iframe.C4jZSmOr.js → iframe.CwxozWMt.js} +1 -1
- package/library/chunks/{image.Cx4hbc4L.js → image.B-YcKRop.js} +1 -1
- package/library/chunks/{input.B7SaYNrr.js → input.DdeXWD_F.js} +1 -1
- package/library/chunks/{list-editor.Hag-nXN-.js → list-editor.Qx2ecTcL.js} +74 -74
- package/library/chunks/{option.CA-HtVdP.js → option.CcGRV3jj.js} +1 -1
- package/library/chunks/{pagination.jgAGwDyt.js → pagination.CgAt4Keg.js} +5 -5
- package/library/chunks/{tab-group.DyxpVNOn.js → tab-group.hfUY7YE7.js} +3 -3
- package/library/chunks/{table.Crb35At8.js → table.CP3oGDY1.js} +5 -5
- package/library/chunks/{tree.jg0MjIB8.js → tree.YxFs3Tke.js} +1 -1
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +6 -6
- package/library/components/atoms.js +14 -14
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +4 -4
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/faceted-filter.js +4 -4
- package/library/components/file-on-demand.js +10 -10
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +7 -7
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/table.js +5 -5
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +171 -170
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +5 -2
- package/library/packages/types/src/icon-picker.d.ts +2 -2
- package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
- package/library/react-web-component.d.ts +2 -3
- package/library/utils.js +1 -1
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as O, D as q } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.DIvU_uFU.js";
|
|
2
|
+
import { C as O, D as q } from "./dialog.DyT-Nai2.js";
|
|
3
3
|
import G from "../components/grid.js";
|
|
4
4
|
import R from "../components/grid-item.js";
|
|
5
|
-
import { C as k } from "./input.
|
|
5
|
+
import { C as k } from "./input.DdeXWD_F.js";
|
|
6
6
|
import j from "../components/line-clamp.js";
|
|
7
|
-
import { C as P } from "./option.
|
|
7
|
+
import { C as P } from "./option.CcGRV3jj.js";
|
|
8
8
|
import F from "../components/radio.js";
|
|
9
9
|
import B from "../components/radio-group.js";
|
|
10
10
|
import K from "../components/select.js";
|
|
11
11
|
import S from "../components/space.js";
|
|
12
|
-
import { C as U, H } from "./table.
|
|
12
|
+
import { C as U, H } from "./table.CP3oGDY1.js";
|
|
13
13
|
import { C as E } from "./typography.DJC_UXgs.js";
|
|
14
14
|
import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
15
|
import V from "../components/dynamic-select.js";
|
|
16
16
|
import { c as L } from "./component.styles.CRO4Odto.js";
|
|
17
17
|
import { c as M } from "./custom-element.L4WJXn1j.js";
|
|
18
18
|
import { d as W } from "./debounce.CIEhztrj.js";
|
|
19
|
-
import { L as D } from "./i18n.
|
|
19
|
+
import { L as D } from "./i18n.C21qyGi6.js";
|
|
20
20
|
import { w as v } from "./watch.CThbualB.js";
|
|
21
21
|
import { a as J } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
22
22
|
import { i as z, x as l } from "./lit-element.jLBm65_O.js";
|
|
@@ -28,9 +28,9 @@ import { o as Z } from "./map.D8heArFD.js";
|
|
|
28
28
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
29
29
|
import { n as N } from "./when.Dr1es41R.js";
|
|
30
30
|
import { t as Q } from "./toString.CAY8lys2.js";
|
|
31
|
-
import { C as ee } from "./icon-button.
|
|
32
|
-
import { C as
|
|
33
|
-
import { a as
|
|
31
|
+
import { C as ee } from "./icon-button.DxkJ-cp-.js";
|
|
32
|
+
import { C as te } from "./image.B-YcKRop.js";
|
|
33
|
+
import { a as ae } from "./asset.HL1qMnhg.js";
|
|
34
34
|
import { a as ie } from "./index.Cpamj0jB.js";
|
|
35
35
|
import { A as g } from "./content-builder.OsUmm8Wu.js";
|
|
36
36
|
import { b as ne, t as w } from "./string.DUgD4c9f.js";
|
|
@@ -776,15 +776,15 @@ var A, $;
|
|
|
776
776
|
function oe() {
|
|
777
777
|
if ($) return A;
|
|
778
778
|
$ = 1;
|
|
779
|
-
const e = re(),
|
|
779
|
+
const e = re(), t = {}, a = {}, i = [], s = [], p = [];
|
|
780
780
|
for (const d in e) {
|
|
781
781
|
const { name: m, nativeName: h } = e[d];
|
|
782
|
-
|
|
782
|
+
t[d] = a[m.toLowerCase()] = a[h.toLowerCase()] = { code: d, name: m, nativeName: h }, i.push(d), s.push(m), p.push(h);
|
|
783
783
|
}
|
|
784
784
|
return A = class f {
|
|
785
785
|
static getLanguages(m = []) {
|
|
786
786
|
return m.map(
|
|
787
|
-
(h) => f.validate(h) ? Object.assign({},
|
|
787
|
+
(h) => f.validate(h) ? Object.assign({}, t[h]) : { code: h, name: "", nativeName: "" }
|
|
788
788
|
);
|
|
789
789
|
}
|
|
790
790
|
static getName(m) {
|
|
@@ -800,7 +800,7 @@ function oe() {
|
|
|
800
800
|
return p.slice();
|
|
801
801
|
}
|
|
802
802
|
static getCode(m) {
|
|
803
|
-
return m = m.toLowerCase(),
|
|
803
|
+
return m = m.toLowerCase(), a.hasOwnProperty(m) ? a[m].code : "";
|
|
804
804
|
}
|
|
805
805
|
static getAllCodes() {
|
|
806
806
|
return i.slice();
|
|
@@ -814,18 +814,18 @@ var le = oe();
|
|
|
814
814
|
const me = /* @__PURE__ */ J(le);
|
|
815
815
|
var ce = 0;
|
|
816
816
|
function de(e) {
|
|
817
|
-
var
|
|
818
|
-
return Q(e) +
|
|
817
|
+
var t = ++ce;
|
|
818
|
+
return Q(e) + t;
|
|
819
819
|
}
|
|
820
|
-
const pe = z`:host{isolation:isolate}.asset-picker__input[data-user-invalid]~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color)}.asset-picker__input[data-user-invalid]:focus-within~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.asset-picker__button-container{
|
|
821
|
-
var ue = Object.defineProperty, he = Object.getOwnPropertyDescriptor, u = (e,
|
|
822
|
-
for (var s = i > 1 ? void 0 : i ? he(
|
|
823
|
-
(d = e[p]) && (s = (i ? d(
|
|
824
|
-
return i && s && ue(
|
|
820
|
+
const pe = z`:host{isolation:isolate}.asset-picker__input[data-user-invalid]~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color)}.asset-picker__input[data-user-invalid]:focus-within~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.asset-picker__button-container{position:relative}.asset-picker__trigger-wrapper{z-index:1;position:relative}.asset-picker__image{--height:150px;--width:200px;--border-radius:var(--cx-border-radius-medium)}.asset-picker__input{opacity:0;width:100%;height:100%;position:absolute;top:0;left:0}`;
|
|
821
|
+
var ue = Object.defineProperty, he = Object.getOwnPropertyDescriptor, u = (e, t, a, i) => {
|
|
822
|
+
for (var s = i > 1 ? void 0 : i ? he(t, a) : t, p = e.length - 1, d; p >= 0; p--)
|
|
823
|
+
(d = e[p]) && (s = (i ? d(t, a, s) : d(s)) || s);
|
|
824
|
+
return i && s && ue(t, a, s), s;
|
|
825
825
|
};
|
|
826
826
|
let c = class extends T {
|
|
827
827
|
constructor() {
|
|
828
|
-
super(...arguments), this.localize = new D(this), this.value = "", this.name = "", this.type = [g.Image], this.multiple = !1, this.accepts = [], this.required = !1, this.disabled = !1, this.onRequestAsset = void 0, this.recordId = "", this.previewSrc = "", this.apiGetAssets =
|
|
828
|
+
super(...arguments), this.localize = new D(this), this.value = "", this.name = "", this.type = [g.Image], this.multiple = !1, this.accepts = [], this.required = !1, this.disabled = !1, this.onRequestAsset = void 0, this.recordId = "", this.previewSrc = "", this.apiGetAssets = ae;
|
|
829
829
|
}
|
|
830
830
|
async handleRequestAssetClick() {
|
|
831
831
|
if (this.onRequestAsset)
|
|
@@ -841,21 +841,21 @@ let c = class extends T {
|
|
|
841
841
|
this.accepts
|
|
842
842
|
);
|
|
843
843
|
if (this.accepts.length > 0 && Object.values(e).some(
|
|
844
|
-
(
|
|
844
|
+
(a) => !this.accepts.includes(ne(a.src) ?? "")
|
|
845
845
|
))
|
|
846
846
|
se(this.localize.term("nonAcceptedExtension", this.accepts), {
|
|
847
847
|
notificationType: "warning"
|
|
848
848
|
});
|
|
849
849
|
else if (this.multiple) {
|
|
850
|
-
const
|
|
850
|
+
const a = Object.values(e);
|
|
851
851
|
this.emit("cx-content-builder-asset-select", {
|
|
852
|
-
detail:
|
|
852
|
+
detail: a
|
|
853
853
|
});
|
|
854
854
|
} else {
|
|
855
|
-
const { extension:
|
|
855
|
+
const { extension: a, id: i, identifier: s, name: p, representative: d, src: m, type: h } = e;
|
|
856
856
|
this.emit("cx-content-builder-asset-select", {
|
|
857
857
|
detail: {
|
|
858
|
-
extension:
|
|
858
|
+
extension: a,
|
|
859
859
|
id: i,
|
|
860
860
|
identifier: s,
|
|
861
861
|
name: p,
|
|
@@ -885,12 +885,12 @@ let c = class extends T {
|
|
|
885
885
|
return;
|
|
886
886
|
}
|
|
887
887
|
try {
|
|
888
|
-
const
|
|
888
|
+
const t = (await this.apiGetAssets({
|
|
889
889
|
extraFields: ["path_TR1"],
|
|
890
890
|
getPermanentAssetsPaths: !0,
|
|
891
891
|
recordIds: [this.recordId]
|
|
892
892
|
})).items[0];
|
|
893
|
-
this.previewSrc =
|
|
893
|
+
this.previewSrc = t?.path_TR1 || t?.originalUrl || "";
|
|
894
894
|
} catch {
|
|
895
895
|
this.previewSrc = "";
|
|
896
896
|
}
|
|
@@ -921,7 +921,7 @@ let c = class extends T {
|
|
|
921
921
|
return l`<cx-space part="base" class="asset-picker" spacing="2x-small" direction="horizontal" align-items=${this.acceptsType(g.Image) ? "flex-start" : "center"}>${this.renderAssetPreview()}
|
|
922
922
|
${N(
|
|
923
923
|
!this.disabled,
|
|
924
|
-
() => l`<div class="asset-picker__button-container"><cx-input class="asset-picker__input" aria-label=${this.localize.term("choose")} name=${this.name} value=${this.value} ?required=${this.required} .form=${this.closest("form")}></cx-input><div class="asset-picker__trigger-wrapper"><slot name="trigger" @click=${this.handleRequestAssetClick}><cx-button part="button" class="asset-picker__button">${this.localize.term("choose")}</cx-button></slot></div></div>${N(
|
|
924
|
+
() => l`<div part="button-container" class="asset-picker__button-container"><cx-input class="asset-picker__input" aria-label=${this.localize.term("choose")} name=${this.name} value=${this.value} ?required=${this.required} .form=${this.closest("form")}></cx-input><div class="asset-picker__trigger-wrapper"><slot name="trigger" @click=${this.handleRequestAssetClick}><cx-button part="button" class="asset-picker__button">${this.localize.term("choose")}</cx-button></slot></div></div>${N(
|
|
925
925
|
this.value,
|
|
926
926
|
() => l`<cx-icon-button label=${this.localize.term("delete")} name="delete" @click=${this.handleDeleteClick}></cx-icon-button>`
|
|
927
927
|
)}
|
|
@@ -933,7 +933,7 @@ c.styles = [L, pe];
|
|
|
933
933
|
c.dependencies = {
|
|
934
934
|
"cx-button": _,
|
|
935
935
|
"cx-icon-button": ee,
|
|
936
|
-
"cx-image":
|
|
936
|
+
"cx-image": te,
|
|
937
937
|
"cx-input": k,
|
|
938
938
|
"cx-space": S,
|
|
939
939
|
"cx-typography": E
|
|
@@ -953,7 +953,7 @@ u([
|
|
|
953
953
|
u([
|
|
954
954
|
o({
|
|
955
955
|
converter: {
|
|
956
|
-
fromAttribute: (e) => (e ?? "").split(" ").filter((
|
|
956
|
+
fromAttribute: (e) => (e ?? "").split(" ").filter((t) => t !== ""),
|
|
957
957
|
toAttribute: (e) => e.join(" ")
|
|
958
958
|
},
|
|
959
959
|
reflect: !0
|
|
@@ -965,7 +965,7 @@ u([
|
|
|
965
965
|
u([
|
|
966
966
|
o({
|
|
967
967
|
converter: {
|
|
968
|
-
fromAttribute: (e) => (e ?? "").split(" ").filter((
|
|
968
|
+
fromAttribute: (e) => (e ?? "").split(" ").filter((t) => t !== ""),
|
|
969
969
|
toAttribute: (e) => e.join(" ")
|
|
970
970
|
},
|
|
971
971
|
reflect: !0
|
|
@@ -996,10 +996,10 @@ c = u([
|
|
|
996
996
|
M("cx-asset-picker")
|
|
997
997
|
], c);
|
|
998
998
|
const ve = z`:host{--overridden-min-height:var(--min-height,160px);--overridden-max-height:var(--max-height,260px);width:100%;display:block}.list-editor{width:100%}.list-editor__table{--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-size:var(--cx-font-size-small);--row-header-border-color:transparent;--cell-horizontal-padding:var(--cx-spacing-2x-small);--table-min-height:var(--overridden-min-height);--table-max-height:var(--overridden-max-height)}.list-editor__table--no-header{--cell-hover-background-color:transparent}.list-editor__item::part(expand-button){display:none}.list-editor__item__text{--line-height:1}.list-editor__item__text__description{color:var(--cx-color-neutral-600)}.list-editor__dialog{--body-spacing:0;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large) 0;--width:540px}.list-editor__tab-group{--padding:0;--tab-group-nav-padding:0 var(--cx-spacing-large)}`;
|
|
999
|
-
var ge = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, r = (e,
|
|
1000
|
-
for (var s = i > 1 ? void 0 : i ? Ne(
|
|
1001
|
-
(d = e[p]) && (s = (i ? d(
|
|
1002
|
-
return i && s && ge(
|
|
999
|
+
var ge = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, r = (e, t, a, i) => {
|
|
1000
|
+
for (var s = i > 1 ? void 0 : i ? Ne(t, a) : t, p = e.length - 1, d; p >= 0; p--)
|
|
1001
|
+
(d = e[p]) && (s = (i ? d(t, a, s) : d(s)) || s);
|
|
1002
|
+
return i && s && ge(t, a, s), s;
|
|
1003
1003
|
};
|
|
1004
1004
|
const be = {
|
|
1005
1005
|
resizable: !1
|
|
@@ -1054,15 +1054,15 @@ let n = class extends T {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
handleEditedItemChange() {
|
|
1056
1056
|
const e = {};
|
|
1057
|
-
for (const
|
|
1058
|
-
e[
|
|
1059
|
-
this.sortedEntries = Object.entries(this.editedItem || {}).filter(([
|
|
1057
|
+
for (const t of this.columns)
|
|
1058
|
+
e[t.field] = t.configOrder;
|
|
1059
|
+
this.sortedEntries = Object.entries(this.editedItem || {}).filter(([t]) => this.OMITTED_FIELDS.indexOf(t) === -1 && this.columnsMap[t]).sort(([t], [a]) => (e[t] ?? Number.MAX_SAFE_INTEGER) - (e[a] ?? Number.MAX_SAFE_INTEGER));
|
|
1060
1060
|
}
|
|
1061
1061
|
handleTableActions(e) {
|
|
1062
|
-
const { name:
|
|
1062
|
+
const { name: t, row: a } = e.detail, i = "component" in a ? a.component : a;
|
|
1063
1063
|
if (i) {
|
|
1064
1064
|
if (this.useEvents) {
|
|
1065
|
-
this.emit(`cx-list-editor-${
|
|
1065
|
+
this.emit(`cx-list-editor-${t}`, {
|
|
1066
1066
|
detail: {
|
|
1067
1067
|
index: i.getIndex(),
|
|
1068
1068
|
item: i.getData()
|
|
@@ -1070,7 +1070,7 @@ let n = class extends T {
|
|
|
1070
1070
|
});
|
|
1071
1071
|
return;
|
|
1072
1072
|
}
|
|
1073
|
-
|
|
1073
|
+
t === "edit" ? this.editedItem = i.getData() : t === "delete" && this.emit("cx-list-editor-change", {
|
|
1074
1074
|
detail: {
|
|
1075
1075
|
data: this.data.filter((s) => s.id !== i.getData().id)
|
|
1076
1076
|
}
|
|
@@ -1096,16 +1096,16 @@ let n = class extends T {
|
|
|
1096
1096
|
handleSaveClick() {
|
|
1097
1097
|
if (this.editedItem) {
|
|
1098
1098
|
const e = this.data.findIndex(
|
|
1099
|
-
(
|
|
1099
|
+
(a) => a.id === this.editedItem.id
|
|
1100
1100
|
);
|
|
1101
1101
|
if (!this.isAdding && e === -1) {
|
|
1102
1102
|
this.editedItem = null;
|
|
1103
1103
|
return;
|
|
1104
1104
|
}
|
|
1105
|
-
let
|
|
1106
|
-
this.isAdding ?
|
|
1105
|
+
let t = this.data;
|
|
1106
|
+
this.isAdding ? t = [...t, this.editedItem] : t = this.data.map((a) => a.id === this.editedItem.id ? this.editedItem : a), this.emit("cx-list-editor-change", {
|
|
1107
1107
|
detail: {
|
|
1108
|
-
data:
|
|
1108
|
+
data: t
|
|
1109
1109
|
}
|
|
1110
1110
|
}), this.editedItem = null, this.isAdding = !1;
|
|
1111
1111
|
}
|
|
@@ -1124,55 +1124,55 @@ let n = class extends T {
|
|
|
1124
1124
|
if (await this.updateComplete, !this.table)
|
|
1125
1125
|
return;
|
|
1126
1126
|
if (!this.loadingItemIndex) {
|
|
1127
|
-
this.table.tabulatorInstance?.getRows().forEach((
|
|
1128
|
-
const i =
|
|
1129
|
-
|
|
1127
|
+
this.table.tabulatorInstance?.getRows().forEach((a) => {
|
|
1128
|
+
const i = a._row.hoverMenuElement;
|
|
1129
|
+
a._row.hoverMenuElement.actions = i.actions.map((s) => (s.options?.buttonProps && (s.options.buttonProps.loading = !1), s));
|
|
1130
1130
|
});
|
|
1131
1131
|
return;
|
|
1132
1132
|
}
|
|
1133
1133
|
const e = this.table.tabulatorInstance?.getRow(this.loadingItemIndex);
|
|
1134
1134
|
if (!e || !e?._row?.hoverMenuElement)
|
|
1135
1135
|
return;
|
|
1136
|
-
const
|
|
1137
|
-
|
|
1136
|
+
const t = e._row.hoverMenuElement;
|
|
1137
|
+
t.actions = t.actions.map((a) => (a.options?.buttonProps && (a.options.buttonProps.loading = a.name === this.loadingEvent && this.loadingItemIndex === e.getIndex()), a));
|
|
1138
1138
|
}
|
|
1139
1139
|
handleChange(e) {
|
|
1140
1140
|
if (!e.target)
|
|
1141
1141
|
return;
|
|
1142
|
-
const
|
|
1143
|
-
if (!
|
|
1142
|
+
const t = e.target, a = t.dataset.id;
|
|
1143
|
+
if (!a)
|
|
1144
1144
|
return;
|
|
1145
|
-
let i =
|
|
1145
|
+
let i = t.value;
|
|
1146
1146
|
Array.isArray(i) ? i = i.join(" ") : i = String(i), this.editedItem = {
|
|
1147
1147
|
...this.editedItem,
|
|
1148
|
-
[
|
|
1148
|
+
[a]: i
|
|
1149
1149
|
};
|
|
1150
1150
|
}
|
|
1151
1151
|
renderControls(e) {
|
|
1152
1152
|
if (e === "translation") {
|
|
1153
|
-
const
|
|
1153
|
+
const t = l`
|
|
1154
1154
|
${x(
|
|
1155
1155
|
this.translatableControls,
|
|
1156
|
-
(
|
|
1157
|
-
(
|
|
1156
|
+
(a) => a.field,
|
|
1157
|
+
(a) => l`<cx-grid columns="4" spacing="var(--cx-spacing-small)" column-spacing="0" use-flex-gap row-spacing="0" wrap="wrap"><cx-grid-item xs="4" sm="1"><cx-typography variant="body2">${a.title}</cx-typography></cx-grid-item><cx-grid-item xs="4" sm="3"><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${Z(this.supportedLanguages, (i) => {
|
|
1158
1158
|
const s = this.localize.languageName(i) || me.getName(i) || i, p = (d) => {
|
|
1159
1159
|
const m = d.target.value;
|
|
1160
1160
|
this.editedItem = {
|
|
1161
1161
|
...this.editedItem,
|
|
1162
|
-
[`${
|
|
1162
|
+
[`${a.field}-${i}`]: m
|
|
1163
1163
|
};
|
|
1164
1164
|
};
|
|
1165
|
-
return l`<cx-input ?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()} label=${s} value=${this.editedItem?.[`${
|
|
1165
|
+
return l`<cx-input ?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()} label=${s} value=${this.editedItem?.[`${a.field}-${i}`] ?? this.editedItem?.[`${a.field}`] ?? ""} @cx-change=${p}></cx-input>`;
|
|
1166
1166
|
})}</cx-space></cx-grid-item></cx-grid>`
|
|
1167
1167
|
)}
|
|
1168
1168
|
`;
|
|
1169
|
-
return l`<cx-space direction="vertical" wrap="nowrap">${
|
|
1169
|
+
return l`<cx-space direction="vertical" wrap="nowrap">${t}</cx-space>`;
|
|
1170
1170
|
}
|
|
1171
1171
|
return l`<cx-grid columns="3" spacing="var(--cx-spacing-small)" wrap="wrap">${x(
|
|
1172
1172
|
this.sortedEntries,
|
|
1173
|
-
([
|
|
1174
|
-
([
|
|
1175
|
-
this.columnsMap[
|
|
1173
|
+
([t]) => t,
|
|
1174
|
+
([t, a]) => l`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.columnsMap[t].title}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2">${X(
|
|
1175
|
+
this.columnsMap[t].controlType,
|
|
1176
1176
|
[
|
|
1177
1177
|
[
|
|
1178
1178
|
"image-picker",
|
|
@@ -1183,37 +1183,37 @@ let n = class extends T {
|
|
|
1183
1183
|
const { id: d, src: m } = p.detail;
|
|
1184
1184
|
this.editedItem = {
|
|
1185
1185
|
...this.editedItem,
|
|
1186
|
-
[
|
|
1186
|
+
[t]: m,
|
|
1187
1187
|
recordId: d
|
|
1188
1188
|
};
|
|
1189
1189
|
}, s = async () => {
|
|
1190
1190
|
this.editedItem = {
|
|
1191
1191
|
...this.editedItem,
|
|
1192
|
-
[
|
|
1192
|
+
[t]: "",
|
|
1193
1193
|
recordId: ""
|
|
1194
1194
|
};
|
|
1195
1195
|
};
|
|
1196
|
-
return l`<cx-asset-picker value=${
|
|
1196
|
+
return l`<cx-asset-picker value=${a} record-id=${this.editedItem.recordId || ""} type="image" id=${t} @cx-content-builder-asset-select=${i} @cx-content-builder-asset-delete=${s} @cx-asset-request-status=${this.handleAssetRequestStatus} .onRequestAsset=${this.onRequestAsset}></cx-asset-picker>`;
|
|
1197
1197
|
}
|
|
1198
1198
|
],
|
|
1199
1199
|
[
|
|
1200
1200
|
"radio-group",
|
|
1201
|
-
() => l`<cx-radio-group data-id=${
|
|
1202
|
-
this.columnsMap[
|
|
1201
|
+
() => l`<cx-radio-group data-id=${t} data-testid="radio-group-control" horizontal value=${(a || this.columnsMap[t].defaultValue) ?? ""} size="medium" @cx-change=${this.handleChange}>${x(
|
|
1202
|
+
this.columnsMap[t].options ?? [],
|
|
1203
1203
|
(i) => i.value,
|
|
1204
1204
|
(i) => l`<cx-radio value=${i.value}>${i.name}</cx-radio>`
|
|
1205
1205
|
)}</cx-radio-group>`
|
|
1206
1206
|
],
|
|
1207
1207
|
[
|
|
1208
1208
|
"select",
|
|
1209
|
-
() => this.columnsMap[
|
|
1210
|
-
this.columnsMap[
|
|
1209
|
+
() => this.columnsMap[t].api ? l`<cx-dynamic-select data-id=${t} hoist value=${a} @cx-change=${this.handleChange} .api=${this.columnsMap[t].api}></cx-dynamic-select>` : l`<cx-select data-id=${t} hoist value=${a} @cx-change=${this.handleChange}>${x(
|
|
1210
|
+
this.columnsMap[t].options ?? [],
|
|
1211
1211
|
(i) => i.value,
|
|
1212
1212
|
(i) => l`<cx-option value=${i.value}>${i.name}</cx-option>`
|
|
1213
1213
|
)}</cx-select>`
|
|
1214
1214
|
]
|
|
1215
1215
|
],
|
|
1216
|
-
() => l`<cx-input data-id=${
|
|
1216
|
+
() => l`<cx-input data-id=${t} value=${a} @cx-change=${this.handleChange}></cx-input>`
|
|
1217
1217
|
)}</cx-grid-item>`
|
|
1218
1218
|
)}</cx-grid>`;
|
|
1219
1219
|
}
|
|
@@ -1267,8 +1267,8 @@ r([
|
|
|
1267
1267
|
converter: {
|
|
1268
1268
|
fromAttribute: (e) => {
|
|
1269
1269
|
try {
|
|
1270
|
-
const
|
|
1271
|
-
return Array.isArray(
|
|
1270
|
+
const t = JSON.parse(e);
|
|
1271
|
+
return Array.isArray(t) ? t : [];
|
|
1272
1272
|
} catch {
|
|
1273
1273
|
return [];
|
|
1274
1274
|
}
|
|
@@ -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.CRO4Odto.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as g } from "./i18n.
|
|
4
|
+
import { L as g } from "./i18n.C21qyGi6.js";
|
|
5
5
|
import { w as d } from "./watch.CThbualB.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";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import b from "../components/space.js";
|
|
2
2
|
import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as P, I as y } from "./icon-button.
|
|
3
|
+
import { C as P, I as y } from "./icon-button.DxkJ-cp-.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as z } from "./i18n.
|
|
5
|
+
import { L as z } from "./i18n.C21qyGi6.js";
|
|
6
6
|
import { c as m } from "./math.DqTA6ya4.js";
|
|
7
7
|
import { w as d } from "./watch.CThbualB.js";
|
|
8
8
|
import { i as C, x as s } from "./lit-element.jLBm65_O.js";
|
|
@@ -10,9 +10,9 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as w } from "./button.
|
|
14
|
-
import { C as v } from "./input.
|
|
15
|
-
import { C as I } from "./option.
|
|
13
|
+
import { C as w } from "./button.DIvU_uFU.js";
|
|
14
|
+
import { C as v } from "./input.DdeXWD_F.js";
|
|
15
|
+
import { C as I } from "./option.CcGRV3jj.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
17
17
|
import N from "../components/tooltip.js";
|
|
18
18
|
import { C as k } from "./typography.DJC_UXgs.js";
|
|
@@ -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.CRO4Odto.js";
|
|
4
4
|
import { c as $n } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as Nn } from "./i18n.
|
|
5
|
+
import { L as Nn } from "./i18n.C21qyGi6.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
7
7
|
import { w as ft } from "./watch.CThbualB.js";
|
|
8
8
|
import { i as Bn } from "./dom.0RpWet6y.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.
|
|
20
|
+
import { C as Yn } from "./button.DIvU_uFU.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
|
-
import { C as qn } from "./icon-button.
|
|
22
|
+
import { C as qn } from "./icon-button.DxkJ-cp-.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";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as Et } from "./button.
|
|
1
|
+
import { C as Et } from "./button.DIvU_uFU.js";
|
|
2
2
|
import $o from "../components/checkbox.js";
|
|
3
3
|
import Uo from "../components/divider.js";
|
|
4
4
|
import Ko from "../components/format-number.js";
|
|
5
|
-
import { C as Ro } from "./icon-button.
|
|
5
|
+
import { C as Ro } from "./icon-button.DxkJ-cp-.js";
|
|
6
6
|
import qo from "../components/select.js";
|
|
7
7
|
import us from "../components/space.js";
|
|
8
8
|
import Xo from "../components/spinner.js";
|
|
@@ -13,7 +13,7 @@ import { g as G, a as $s } from "./dom.0RpWet6y.js";
|
|
|
13
13
|
import { x as M, i as te, E as Yo } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import "./debounce.CIEhztrj.js";
|
|
15
15
|
import "./form.B-5nQJva.js";
|
|
16
|
-
import { L as Zt } from "./i18n.
|
|
16
|
+
import { L as Zt } from "./i18n.C21qyGi6.js";
|
|
17
17
|
import "./purify.es.BIuh5IAZ.js";
|
|
18
18
|
import "./date-picker.D0SJADN6.js";
|
|
19
19
|
import "./content-builder.OsUmm8Wu.js";
|
|
@@ -25,7 +25,7 @@ import { o as ut } from "./style-map.llVFPd__.js";
|
|
|
25
25
|
import { T as er, C as tr } from "./typography.DJC_UXgs.js";
|
|
26
26
|
import { a as ir } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
27
27
|
import { d as sr } from "./debounce.C_J-9zJi.js";
|
|
28
|
-
import { C as or, P as rr } from "./pagination.
|
|
28
|
+
import { C as or, P as rr } from "./pagination.CgAt4Keg.js";
|
|
29
29
|
import { c as Rt } from "./custom-element.L4WJXn1j.js";
|
|
30
30
|
import { w as ne } from "./watch.CThbualB.js";
|
|
31
31
|
import { r as _e } from "./state.CSDxrqLd.js";
|
|
@@ -40,7 +40,7 @@ import ii from "../components/dropdown.js";
|
|
|
40
40
|
import si from "../components/menu.js";
|
|
41
41
|
import oi from "../components/menu-item.js";
|
|
42
42
|
import ar from "../components/menu-section.js";
|
|
43
|
-
import { C as lr } from "./input.
|
|
43
|
+
import { C as lr } from "./input.DdeXWD_F.js";
|
|
44
44
|
import { H as hr } from "./slot.j5oheLJC.js";
|
|
45
45
|
class fe {
|
|
46
46
|
constructor(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as R, n as l } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as N } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as G } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as M } from "./i18n.
|
|
4
|
+
import { L as M } from "./i18n.C21qyGi6.js";
|
|
5
5
|
import { c as K } from "./math.DqTA6ya4.js";
|
|
6
6
|
import { w as f } from "./watch.CThbualB.js";
|
|
7
7
|
import { i as Z, x as b, E as D } from "./lit-element.jLBm65_O.js";
|
|
@@ -2,7 +2,7 @@ import { n as s, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as b } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { s as u, a as p, w as m } from "../chunks/event.BeKOsirN.js";
|
|
4
4
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as C } from "../chunks/i18n.
|
|
5
|
+
import { L as C } from "../chunks/i18n.C21qyGi6.js";
|
|
6
6
|
import { H as T } from "../chunks/slot.j5oheLJC.js";
|
|
7
7
|
import { w } from "../chunks/watch.CThbualB.js";
|
|
8
8
|
import { i as I, x as h } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -10,7 +10,7 @@ import { r as A } from "../chunks/state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as g } from "../chunks/query.BBf1UFkC.js";
|
|
11
11
|
import { e as v } from "../chunks/class-map.BiVq-cVR.js";
|
|
12
12
|
import { s as _, g as f } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
13
|
-
import { C as H } from "../chunks/icon-button.
|
|
13
|
+
import { C as H } from "../chunks/icon-button.DxkJ-cp-.js";
|
|
14
14
|
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}`;
|
|
15
15
|
var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n, l) => {
|
|
16
16
|
for (var a = l > 1 ? void 0 : l ? $(o, n) : o, c = r.length - 1, d; c >= 0; c--)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./cropper.js";
|
|
2
|
-
import { C as B } from "../chunks/button.
|
|
2
|
+
import { C as B } from "../chunks/button.DIvU_uFU.js";
|
|
3
3
|
import _ from "./space.js";
|
|
4
4
|
import { C as F } from "../chunks/typography.DJC_UXgs.js";
|
|
5
5
|
import { n, C as W } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { b as rt, c as ht } from "../chunks/asset.
|
|
6
|
+
import { b as rt, c as ht } from "../chunks/asset.HL1qMnhg.js";
|
|
7
7
|
import { c as E } from "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import { U as a, T as l } from "../chunks/asset-link-format.B0c92pSs.js";
|
|
9
9
|
import { c as N } from "../chunks/custom-element.L4WJXn1j.js";
|
|
10
|
-
import { L as U } from "../chunks/i18n.
|
|
10
|
+
import { L as U } from "../chunks/i18n.C21qyGi6.js";
|
|
11
11
|
import { w } from "../chunks/watch.CThbualB.js";
|
|
12
12
|
import { s as et, c as it } from "../chunks/number.B4PQLJIg.js";
|
|
13
13
|
import { b as G } from "../chunks/transformation.BlQCWMfI.js";
|
|
@@ -17,9 +17,9 @@ import { n as k } from "../chunks/when.Dr1es41R.js";
|
|
|
17
17
|
import I from "./details.js";
|
|
18
18
|
import lt from "./divider.js";
|
|
19
19
|
import { C as L } from "../chunks/icon.DnBh6-56.js";
|
|
20
|
-
import { C as K } from "../chunks/icon-button.
|
|
21
|
-
import { C as J } from "../chunks/input.
|
|
22
|
-
import { C as X } from "../chunks/option.
|
|
20
|
+
import { C as K } from "../chunks/icon-button.DxkJ-cp-.js";
|
|
21
|
+
import { C as J } from "../chunks/input.DdeXWD_F.js";
|
|
22
|
+
import { C as X } from "../chunks/option.CcGRV3jj.js";
|
|
23
23
|
import Y from "./select.js";
|
|
24
24
|
import { c as ct } from "../chunks/image.9qwbjGNb.js";
|
|
25
25
|
import { e as V } from "../chunks/query.BBf1UFkC.js";
|
|
@@ -9,7 +9,7 @@ import { default as h } from "./avatar.js";
|
|
|
9
9
|
import { default as P } from "./badge.js";
|
|
10
10
|
import { default as G } from "./breadcrumb.js";
|
|
11
11
|
import { default as v } from "./breadcrumb-item.js";
|
|
12
|
-
import { C as O } from "../chunks/button.
|
|
12
|
+
import { C as O } from "../chunks/button.DIvU_uFU.js";
|
|
13
13
|
import { default as E } from "./button-group.js";
|
|
14
14
|
import { default as L } from "./card.js";
|
|
15
15
|
import { default as j } from "./checkbox.js";
|
|
@@ -17,10 +17,10 @@ import { default as Q } from "./color-picker.js";
|
|
|
17
17
|
import { default as q } from "./copy-button.js";
|
|
18
18
|
import { default as K } from "./date-calendar.js";
|
|
19
19
|
import { default as W } from "./details.js";
|
|
20
|
-
import { C as Y } from "../chunks/dialog.
|
|
20
|
+
import { C as Y } from "../chunks/dialog.DyT-Nai2.js";
|
|
21
21
|
import { default as _ } from "./divider.js";
|
|
22
|
-
import { C as oe } from "../chunks/document-viewer.
|
|
23
|
-
import { C as ae } from "../chunks/dot-pagination.
|
|
22
|
+
import { C as oe } from "../chunks/document-viewer.AiKX3RO6.js";
|
|
23
|
+
import { C as ae } from "../chunks/dot-pagination.CKbL6eN_.js";
|
|
24
24
|
import { default as xe } from "./dot-status.js";
|
|
25
25
|
import { default as me } from "./drawer.js";
|
|
26
26
|
import { default as pe } from "./dropdown.js";
|
|
@@ -33,16 +33,16 @@ import { default as Te } from "./format-number.js";
|
|
|
33
33
|
import { default as De } from "./format-time.js";
|
|
34
34
|
import { default as Be } from "./grid.js";
|
|
35
35
|
import { default as he } from "./grid-item.js";
|
|
36
|
-
import { C as Pe } from "../chunks/header.
|
|
36
|
+
import { C as Pe } from "../chunks/header.BUp3_oeJ.js";
|
|
37
37
|
import { C as Ge } from "../chunks/hub-connection.Dri0ZNfh.js";
|
|
38
38
|
import { f } from "../chunks/icon.DnBh6-56.js";
|
|
39
39
|
import { C as ve } from "../chunks/icon.DnBh6-56.js";
|
|
40
|
-
import { C as Oe } from "../chunks/icon-button.
|
|
41
|
-
import { C as Ee } from "../chunks/iframe.
|
|
42
|
-
import { C as Le } from "../chunks/image.
|
|
40
|
+
import { C as Oe } from "../chunks/icon-button.DxkJ-cp-.js";
|
|
41
|
+
import { C as Ee } from "../chunks/iframe.CwxozWMt.js";
|
|
42
|
+
import { C as Le } from "../chunks/image.B-YcKRop.js";
|
|
43
43
|
import { default as je } from "./image-comparer.js";
|
|
44
44
|
import { default as Qe } from "./include.js";
|
|
45
|
-
import { C as qe } from "../chunks/input.
|
|
45
|
+
import { C as qe } from "../chunks/input.DdeXWD_F.js";
|
|
46
46
|
import { default as Ke } from "./input-group.js";
|
|
47
47
|
import { default as We } from "./line-clamp.js";
|
|
48
48
|
import { default as Ye } from "./markdown.js";
|
|
@@ -51,8 +51,8 @@ import { default as oo } from "./menu-item.js";
|
|
|
51
51
|
import { default as ao } from "./menu-label.js";
|
|
52
52
|
import { default as xo } from "./menu-section.js";
|
|
53
53
|
import { default as mo } from "./mutation-observer.js";
|
|
54
|
-
import { C as po } from "../chunks/option.
|
|
55
|
-
import { C as uo } from "../chunks/pagination.
|
|
54
|
+
import { C as po } from "../chunks/option.CcGRV3jj.js";
|
|
55
|
+
import { C as uo } from "../chunks/pagination.CgAt4Keg.js";
|
|
56
56
|
import { default as no } from "./popup.js";
|
|
57
57
|
import { default as co } from "./progress-bar.js";
|
|
58
58
|
import { default as bo } from "./progress-ring.js";
|
|
@@ -74,14 +74,14 @@ import { default as Uo } from "./step.js";
|
|
|
74
74
|
import { default as Xo } from "./stepper.js";
|
|
75
75
|
import { default as Zo } from "./switch.js";
|
|
76
76
|
import { default as et } from "./tab.js";
|
|
77
|
-
import { C as tt } from "../chunks/tab-group.
|
|
78
|
-
import { C as rt } from "../chunks/table.
|
|
77
|
+
import { C as tt } from "../chunks/tab-group.hfUY7YE7.js";
|
|
78
|
+
import { C as rt } from "../chunks/table.CP3oGDY1.js";
|
|
79
79
|
import { default as ft } from "./tab-panel.js";
|
|
80
80
|
import { default as st } from "./tag.js";
|
|
81
81
|
import { default as Ct } from "./textarea.js";
|
|
82
82
|
import { default as lt } from "./timecode.js";
|
|
83
83
|
import { default as nt } from "./tooltip.js";
|
|
84
|
-
import { a as ct, C as gt } from "../chunks/tree.
|
|
84
|
+
import { a as ct, C as gt } from "../chunks/tree.YxFs3Tke.js";
|
|
85
85
|
import { C as At } from "../chunks/typography.DJC_UXgs.js";
|
|
86
86
|
import { default as Tt } from "./video.js";
|
|
87
87
|
import { default as Dt } from "./visually-hidden.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as m, R as y } from "../chunks/resizable-component.styles.DpK0TTP5.js";
|
|
2
2
|
import { c as v } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as g } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as S } from "../chunks/i18n.
|
|
4
|
+
import { L as S } from "../chunks/i18n.C21qyGi6.js";
|
|
5
5
|
import { w as f } from "../chunks/watch.CThbualB.js";
|
|
6
6
|
import { i as w, x as p } from "../chunks/lit-element.jLBm65_O.js";
|
|
7
7
|
import { n as c } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
@@ -9,7 +9,7 @@ import { r as u } from "../chunks/state.CSDxrqLd.js";
|
|
|
9
9
|
import { r as x } from "../chunks/query-async.CTgXGyQ5.js";
|
|
10
10
|
import { e as C } from "../chunks/class-map.BiVq-cVR.js";
|
|
11
11
|
import { n as d } from "../chunks/when.Dr1es41R.js";
|
|
12
|
-
import { C as b } from "../chunks/icon-button.
|
|
12
|
+
import { C as b } from "../chunks/icon-button.DxkJ-cp-.js";
|
|
13
13
|
import { C as W } from "../chunks/typography.DJC_UXgs.js";
|
|
14
14
|
const _ = w`:host{background-color:var(--background-color,var(--cx-color-neutral-0));border-radius:var(--border-radius,0px);border:var(--border,0px);box-sizing:border-box;color:var(--text-color,var(--cx-color-neutral));height:var(--height,auto);width:var(--width,100%);border-style:solid;display:block;position:relative}.audio{border-radius:inherit;gap:var(--cx-spacing-x-small,4px);height:100%;padding:var(--cx-spacing-small,8px);flex-direction:column;justify-content:center;display:flex;overflow:hidden}.audio--empty{height:var(--height,200px);min-height:var(--min-height,100%);padding:0}.audio--empty:before{background-color:var(--cx-color-neutral-1000);color:var(--cx-color-neutral-0);content:attr(data-empty-label);font-family:var(--cx-font-sans);font-size:clamp(var(--cx-font-size-x-small), 4cqw, var(--cx-font-size-large));font-weight:var(--cx-font-weight-semibold);text-align:center;height:100%;text-shadow:.05em .05em .1em var(--cx-color-neutral-1000);justify-content:center;align-items:center;width:100%;line-height:1;display:flex}.audio__play-button{--cx-input-border-width:2px;--cx-input-border-color:var(--text-color,var(--cx-color-neutral))}.audio__play-button::part(base){width:50px;height:50px;color:var(--text-color,var(--cx-color-neutral))!important}.audio__player{align-items:center;gap:var(--cx-spacing-small,8px);display:flex}.audio__waveform{flex:1;min-width:0;overflow:hidden}.audio__footer{font-size:var(--cx-font-size-x-small,11px);color:var(--text-color,var(--cx-color-neutral));flex-direction:column;gap:0;padding-left:2px;display:flex}.audio__time{color:var(--text-color,var(--cx-color-neutral));font-variant-numeric:tabular-nums}.audio__filename{opacity:.75;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}`;
|
|
15
15
|
var P = Object.defineProperty, z = Object.getOwnPropertyDescriptor, n = (e, t, r, o) => {
|