@orangelogic/design-system 2.144.0 → 2.145.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/{document-viewer.PHoFv8xz.js → document-viewer.CMHuC2Di.js} +1193 -1171
- package/library/components/atoms.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/types.js +247 -239
- package/library/package.json +1 -1
- package/library/packages/organisms/src/content-builder/styleController.d.ts +3 -0
- package/library/packages/react-web-component.d.ts +14768 -2717
- package/library/packages/types/src/content-builder.d.ts +4 -0
- package/package.json +1 -1
|
@@ -20,8 +20,8 @@ import ww from "./details.js";
|
|
|
20
20
|
import { default as SWt } from "./diff.js";
|
|
21
21
|
import { C as fa, D as Vm, O as kR, a as WY, H as GY, z as KY, o as YY } from "../chunks/dialog.B1uHEUsi.js";
|
|
22
22
|
import qs from "./divider.js";
|
|
23
|
-
import { r as XY, a as _R, b as JY, c as ZY } from "../chunks/document-viewer.
|
|
24
|
-
import { C as EWt } from "../chunks/document-viewer.
|
|
23
|
+
import { r as XY, a as _R, b as JY, c as ZY } from "../chunks/document-viewer.CMHuC2Di.js";
|
|
24
|
+
import { C as EWt } from "../chunks/document-viewer.CMHuC2Di.js";
|
|
25
25
|
import { d as QY, C as eX } from "../chunks/dot-pagination.171qk-p2.js";
|
|
26
26
|
import { default as OWt } from "./dot-status.js";
|
|
27
27
|
import { default as DWt } from "./drawer.js";
|
|
@@ -108,7 +108,7 @@ import { L as Mi } from "../chunks/i18n.DYXys45m.js";
|
|
|
108
108
|
import { r as RGt } from "../chunks/i18n.DYXys45m.js";
|
|
109
109
|
import { o as Yr } from "../chunks/map.D8heArFD.js";
|
|
110
110
|
import { c as Um } from "../chunks/capitalize.DKzUtjlF.js";
|
|
111
|
-
import { o as
|
|
111
|
+
import { o as Ki } from "../chunks/style-map.llVFPd__.js";
|
|
112
112
|
import { readLocalStorageValue as qE, writeLocalStorageValue as BX, DateRangePresets as p8, getTypefaceOptionValue as hm, getFontFamilyOptionValue as gm, isModKey as LR, CortexPopupController as BR, isoWeekNumber as RX, isFormInteracted as RR, omit as $X, getInterval as x1, PRECISION as L3, findFrameByColAndRow as h8, extractFrames as FX, insertFrameToCache as zX } from "../utils.js";
|
|
113
113
|
import { DragScroll as FGt, HistoryManager as zGt, KeyboardKey as jGt, downloadAsset as HGt, getBrowserFontVariants as VGt, getFormControls as UGt, isFontFamilyAvailable as qGt, openAssetOverview as WGt, openFolderOverview as GGt, openLink as KGt, parseJsonString as YGt, parseListString as XGt, pick as JGt, serialize as ZGt, shareAsset as QGt, sortTypefaceVariants as eKt, testFontAvailability as tKt } from "../utils.js";
|
|
114
114
|
import { d as Od } from "../chunks/debounce.DaHuiSGU.js";
|
|
@@ -506,13 +506,13 @@ let cr = class extends ui {
|
|
|
506
506
|
"viewer-control__slider-container--dragging": this.isDragging,
|
|
507
507
|
"viewer-control__slider-container--end": this.currentTime === this.totalTime,
|
|
508
508
|
"viewer-control__slider-container__progress": !0
|
|
509
|
-
})} style=${
|
|
509
|
+
})} style=${Ki({
|
|
510
510
|
width: this.animationProgress + "%"
|
|
511
511
|
})}></div><div class=${Lt({
|
|
512
512
|
"viewer-control__slider-container--dragging": this.isDragging,
|
|
513
513
|
"viewer-control__slider-container--end": this.currentTime === this.totalTime,
|
|
514
514
|
"viewer-control__slider-container__thumb": !0
|
|
515
|
-
})} style=${
|
|
515
|
+
})} style=${Ki({
|
|
516
516
|
left: this.animationProgress + "%"
|
|
517
517
|
})}></div></div><div class="viewer-control__action-buttons"><div class="viewer-control__action-buttons__left"><cx-tooltip content=${this.isAnimationPlaying ? this.localize.term("pause") : this.localize.term("play")} disabled-hover-bridge><cx-icon-button class="viewer-control__play-pause-btn" name=${this.isAnimationPlaying ? "pause" : "play_arrow"} variant="filled" label=${this.isAnimationPlaying ? this.localize.term("pause") : this.localize.term("play")} @click=${this.handlePlayButtonToggle}></cx-icon-button></cx-tooltip><div class="viewer-control__time-display">${this.currentTime} / ${this.totalTime}</div><cx-tooltip content=${this.localize.term("animation")} disabled-hover-bridge trigger="hover"><cx-dropdown class="viewer-control__animation-dropdown" placement="top-start" stay-open-on-select><cx-button class="viewer-control__animation-button" variant="custom" slot="trigger" caret> ${this.selectedAnimation} </cx-button><cx-menu class="viewer-control__animation-menu" @cx-select=${this.handleAnimationSelect}><cx-menu-section label=${this.localize.term("animation")}>${Yr(
|
|
518
518
|
this.availableAnimations,
|
|
@@ -4598,12 +4598,12 @@ let Wm = class extends ui {
|
|
|
4598
4598
|
e && (this.value = e, this.emit("cx-change"));
|
|
4599
4599
|
}
|
|
4600
4600
|
render() {
|
|
4601
|
-
return N`<cx-dropdown placement="top-center" hoist><cx-tooltip slot="trigger" content=${this.localize.term("lineColor")} hoist><cx-button class="color__button" label=${this.localize.term("lineColor")} variant="text"><div class="color__node" style=${
|
|
4601
|
+
return N`<cx-dropdown placement="top-center" hoist><cx-tooltip slot="trigger" content=${this.localize.term("lineColor")} hoist><cx-button class="color__button" label=${this.localize.term("lineColor")} variant="text"><div class="color__node" style=${Ki({
|
|
4602
4602
|
backgroundColor: this.value
|
|
4603
4603
|
})}></div></cx-button></cx-tooltip><cx-menu @cx-select=${this.handleColorSelect}>${mi(
|
|
4604
4604
|
this.colors,
|
|
4605
4605
|
(i) => i,
|
|
4606
|
-
(i) => N`<cx-menu-item data-color=${i} class="color__item"><div class="color__node" style=${
|
|
4606
|
+
(i) => N`<cx-menu-item data-color=${i} class="color__item"><div class="color__node" style=${Ki({
|
|
4607
4607
|
backgroundColor: i
|
|
4608
4608
|
})}></div></cx-menu-item>`
|
|
4609
4609
|
)}</cx-menu></cx-dropdown>`;
|
|
@@ -7002,7 +7002,7 @@ let jc = class extends ui {
|
|
|
7002
7002
|
${mi(
|
|
7003
7003
|
i.typefaces,
|
|
7004
7004
|
(t) => hm(t),
|
|
7005
|
-
(t) => N`<cx-option value=${hm(t)} style=${
|
|
7005
|
+
(t) => N`<cx-option value=${hm(t)} style=${Ki({ "--option-font-family": t.typeface })}>${t.typeface}</cx-option>`
|
|
7006
7006
|
)}
|
|
7007
7007
|
`
|
|
7008
7008
|
)}`;
|
|
@@ -11701,11 +11701,11 @@ const cne = {
|
|
|
11701
11701
|
position: "relative",
|
|
11702
11702
|
zIndex: 0
|
|
11703
11703
|
};
|
|
11704
|
-
function dne({ nodes: i, edges: e, defaultNodes: t, defaultEdges: n, className: r, nodeTypes: o, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: u, onMoveEnd: h, onConnect: m, onConnectStart: f, onConnectEnd: b, onClickConnectStart: w, onClickConnectEnd: k, onNodeMouseEnter: T, onNodeMouseMove: C, onNodeMouseLeave: A, onNodeContextMenu: D, onNodeDoubleClick: z, onNodeDragStart: H, onNodeDrag: V, onNodeDragStop: L, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onSelectionChange: K, onSelectionDragStart: R, onSelectionDrag: Y, onSelectionDragStop: P, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onBeforeDelete: ve, connectionMode: Me, connectionLineType: be = Kh.Bezier, connectionLineStyle: De, connectionLineComponent: Ae, connectionLineContainerStyle: rt, deleteKeyCode: ht = "Backspace", selectionKeyCode: et = "Shift", selectionOnDrag: it = !1, selectionMode: Ge = B0.Full, panActivationKeyCode: _t = "Space", multiSelectionKeyCode: vt = kk() ? "Meta" : "Control", zoomActivationKeyCode: de = kk() ? "Meta" : "Control", snapToGrid: tt, snapGrid: at, onlyRenderVisibleElements: Ft = !1, selectNodesOnDrag: Qt, nodesDraggable: Wt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, nodeOrigin: Pe = tF, edgesFocusable: Je, edgesReconnectable: pe, elementsSelectable: Fe = !0, defaultViewport: Ne = jte, minZoom: Yt = 0.5, maxZoom: wi = 2, translateExtent: Ni = L0, preventScrolling: le = !0, nodeExtent: Oe, defaultMarkerColor: ie = "#b1b1b7", zoomOnScroll: yt = !0, zoomOnPinch: je = !0, panOnScroll: Tt = !1, panOnScrollSpeed: Xt = 0.5, panOnScrollMode: ut = Im.Free, zoomOnDoubleClick: Bt = !0, panOnDrag: gi = !0, onPaneClick: Ui, onPaneMouseEnter: Ot, onPaneMouseMove: nn, onPaneMouseLeave: _r, onPaneScroll: Vr, onPaneContextMenu: ae, paneClickDistance: Ce = 0, nodeClickDistance: $e = 0, children: wt, onReconnect: Nt, onReconnectStart: _i, onReconnectEnd: Hi, onEdgeContextMenu: rr, onEdgeDoubleClick:
|
|
11704
|
+
function dne({ nodes: i, edges: e, defaultNodes: t, defaultEdges: n, className: r, nodeTypes: o, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: u, onMoveEnd: h, onConnect: m, onConnectStart: f, onConnectEnd: b, onClickConnectStart: w, onClickConnectEnd: k, onNodeMouseEnter: T, onNodeMouseMove: C, onNodeMouseLeave: A, onNodeContextMenu: D, onNodeDoubleClick: z, onNodeDragStart: H, onNodeDrag: V, onNodeDragStop: L, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onSelectionChange: K, onSelectionDragStart: R, onSelectionDrag: Y, onSelectionDragStop: P, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onBeforeDelete: ve, connectionMode: Me, connectionLineType: be = Kh.Bezier, connectionLineStyle: De, connectionLineComponent: Ae, connectionLineContainerStyle: rt, deleteKeyCode: ht = "Backspace", selectionKeyCode: et = "Shift", selectionOnDrag: it = !1, selectionMode: Ge = B0.Full, panActivationKeyCode: _t = "Space", multiSelectionKeyCode: vt = kk() ? "Meta" : "Control", zoomActivationKeyCode: de = kk() ? "Meta" : "Control", snapToGrid: tt, snapGrid: at, onlyRenderVisibleElements: Ft = !1, selectNodesOnDrag: Qt, nodesDraggable: Wt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, nodeOrigin: Pe = tF, edgesFocusable: Je, edgesReconnectable: pe, elementsSelectable: Fe = !0, defaultViewport: Ne = jte, minZoom: Yt = 0.5, maxZoom: wi = 2, translateExtent: Ni = L0, preventScrolling: le = !0, nodeExtent: Oe, defaultMarkerColor: ie = "#b1b1b7", zoomOnScroll: yt = !0, zoomOnPinch: je = !0, panOnScroll: Tt = !1, panOnScrollSpeed: Xt = 0.5, panOnScrollMode: ut = Im.Free, zoomOnDoubleClick: Bt = !0, panOnDrag: gi = !0, onPaneClick: Ui, onPaneMouseEnter: Ot, onPaneMouseMove: nn, onPaneMouseLeave: _r, onPaneScroll: Vr, onPaneContextMenu: ae, paneClickDistance: Ce = 0, nodeClickDistance: $e = 0, children: wt, onReconnect: Nt, onReconnectStart: _i, onReconnectEnd: Hi, onEdgeContextMenu: rr, onEdgeDoubleClick: Xi, onEdgeMouseEnter: rn, onEdgeMouseMove: ds, onEdgeMouseLeave: or, reconnectRadius: bo = 10, onNodesChange: Uo, onEdgesChange: Nn, noDragClassName: ar = "nodrag", noWheelClassName: en = "nowheel", noPanClassName: Cr = "nopan", fitView: Ii, fitViewOptions: ka, connectOnClick: Ur, attributionPosition: qr, proOptions: fr, defaultEdgeOptions: qo, elevateNodesOnSelect: Sn, elevateEdgesOnSelect: Rt, disableKeyboardA11y: br = !1, autoPanOnConnect: $n, autoPanOnNodeDrag: po, autoPanSpeed: Ji, connectionRadius: Hn, isValidConnection: ta, onError: _a, style: Et, id: Di, nodeDragThreshold: ia, connectionDragThreshold: te, viewport: ue, onViewportChange: mt, width: It, height: Dt, colorMode: fi = "light", debug: Zi, onScroll: Yn, ariaLabelConfig: kn, ...na }, Fl) {
|
|
11705
11705
|
const Ha = Di || "1", zl = qte(fi), Ts = Ue.useCallback((wc) => {
|
|
11706
11706
|
wc.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), Yn?.(wc);
|
|
11707
11707
|
}, [Yn]);
|
|
11708
|
-
return _e.jsx("div", { "data-testid": "rf__wrapper", ...na, onScroll: Ts, style: { ...Et, ...cne }, ref: Fl, className: va(["react-flow", r, zl]), id: Di, role: "application", children: _e.jsxs(lne, { nodes: i, edges: e, width: It, height: Dt, fitView: Ii, fitViewOptions: ka, minZoom: Yt, maxZoom: wi, nodeOrigin: Pe, nodeExtent: Oe, children: [_e.jsx(ane, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: T, onNodeMouseMove: C, onNodeMouseLeave: A, onNodeContextMenu: D, onNodeDoubleClick: z, nodeTypes: o, edgeTypes: a, connectionLineType: be, connectionLineStyle: De, connectionLineComponent: Ae, connectionLineContainerStyle: rt, selectionKeyCode: et, selectionOnDrag: it, selectionMode: Ge, deleteKeyCode: ht, multiSelectionKeyCode: vt, panActivationKeyCode: _t, zoomActivationKeyCode: de, onlyRenderVisibleElements: Ft, defaultViewport: Ne, translateExtent: Ni, minZoom: Yt, maxZoom: wi, preventScrolling: le, zoomOnScroll: yt, zoomOnPinch: je, zoomOnDoubleClick: Bt, panOnScroll: Tt, panOnScrollSpeed: Xt, panOnScrollMode: ut, panOnDrag: gi, onPaneClick: Ui, onPaneMouseEnter: Ot, onPaneMouseMove: nn, onPaneMouseLeave: _r, onPaneScroll: Vr, onPaneContextMenu: ae, paneClickDistance: Ce, nodeClickDistance: $e, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onReconnect: Nt, onReconnectStart: _i, onReconnectEnd: Hi, onEdgeContextMenu: rr, onEdgeDoubleClick:
|
|
11708
|
+
return _e.jsx("div", { "data-testid": "rf__wrapper", ...na, onScroll: Ts, style: { ...Et, ...cne }, ref: Fl, className: va(["react-flow", r, zl]), id: Di, role: "application", children: _e.jsxs(lne, { nodes: i, edges: e, width: It, height: Dt, fitView: Ii, fitViewOptions: ka, minZoom: Yt, maxZoom: wi, nodeOrigin: Pe, nodeExtent: Oe, children: [_e.jsx(ane, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: T, onNodeMouseMove: C, onNodeMouseLeave: A, onNodeContextMenu: D, onNodeDoubleClick: z, nodeTypes: o, edgeTypes: a, connectionLineType: be, connectionLineStyle: De, connectionLineComponent: Ae, connectionLineContainerStyle: rt, selectionKeyCode: et, selectionOnDrag: it, selectionMode: Ge, deleteKeyCode: ht, multiSelectionKeyCode: vt, panActivationKeyCode: _t, zoomActivationKeyCode: de, onlyRenderVisibleElements: Ft, defaultViewport: Ne, translateExtent: Ni, minZoom: Yt, maxZoom: wi, preventScrolling: le, zoomOnScroll: yt, zoomOnPinch: je, zoomOnDoubleClick: Bt, panOnScroll: Tt, panOnScrollSpeed: Xt, panOnScrollMode: ut, panOnDrag: gi, onPaneClick: Ui, onPaneMouseEnter: Ot, onPaneMouseMove: nn, onPaneMouseLeave: _r, onPaneScroll: Vr, onPaneContextMenu: ae, paneClickDistance: Ce, nodeClickDistance: $e, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onReconnect: Nt, onReconnectStart: _i, onReconnectEnd: Hi, onEdgeContextMenu: rr, onEdgeDoubleClick: Xi, onEdgeMouseEnter: rn, onEdgeMouseMove: ds, onEdgeMouseLeave: or, reconnectRadius: bo, defaultMarkerColor: ie, noDragClassName: ar, noWheelClassName: en, noPanClassName: Cr, rfId: Ha, disableKeyboardA11y: br, nodeExtent: Oe, viewport: ue, onViewportChange: mt }), _e.jsx(Ute, { nodes: i, edges: e, defaultNodes: t, defaultEdges: n, onConnect: m, onConnectStart: f, onConnectEnd: b, onClickConnectStart: w, onClickConnectEnd: k, nodesDraggable: Wt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, edgesFocusable: Je, edgesReconnectable: pe, elementsSelectable: Fe, elevateNodesOnSelect: Sn, elevateEdgesOnSelect: Rt, minZoom: Yt, maxZoom: wi, nodeExtent: Oe, onNodesChange: Uo, onEdgesChange: Nn, snapToGrid: tt, snapGrid: at, connectionMode: Me, translateExtent: Ni, connectOnClick: Ur, defaultEdgeOptions: qo, fitView: Ii, fitViewOptions: ka, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onNodeDragStart: H, onNodeDrag: V, onNodeDragStop: L, onSelectionDrag: Y, onSelectionDragStart: R, onSelectionDragStop: P, onMove: d, onMoveStart: u, onMoveEnd: h, noPanClassName: Cr, nodeOrigin: Pe, rfId: Ha, autoPanOnConnect: $n, autoPanOnNodeDrag: po, autoPanSpeed: Ji, onError: _a, connectionRadius: Hn, isValidConnection: ta, selectNodesOnDrag: Qt, nodeDragThreshold: ia, connectionDragThreshold: te, onBeforeDelete: ve, paneClickDistance: Ce, debug: Zi, ariaLabelConfig: kn }), _e.jsx(zte, { onSelectionChange: K }), wt, _e.jsx(Lte, { proOptions: fr, position: qr }), _e.jsx(Nte, { rfId: Ha, disableKeyboardA11y: br })] }) });
|
|
11709
11709
|
}
|
|
11710
11710
|
var une = oF(dne);
|
|
11711
11711
|
const pne = (i) => i.domNode?.querySelector(".react-flow__edgelabel-renderer");
|
|
@@ -19930,7 +19930,7 @@ let Ba = class extends ui {
|
|
|
19930
19930
|
}
|
|
19931
19931
|
renderButtonMode() {
|
|
19932
19932
|
const i = !!this.value?.name.trim(), e = this.value?.name === "custom", t = i && !e;
|
|
19933
|
-
return N`<cx-dropdown hoist stay-open-on-select @cx-after-show=${this.handleDropdownShow} @cx-hide=${this.handleDropdownHide}><cx-button slot="trigger" label=${this.localize.term("iconPicker")} caret>${t ? this.renderIcon(this.value.name, "prefix") : N`<cx-icon slot="prefix" name="image" style=${
|
|
19933
|
+
return N`<cx-dropdown hoist stay-open-on-select @cx-after-show=${this.handleDropdownShow} @cx-hide=${this.handleDropdownHide}><cx-button slot="trigger" label=${this.localize.term("iconPicker")} caret>${t ? this.renderIcon(this.value.name, "prefix") : N`<cx-icon slot="prefix" name="image" style=${Ki({ visibility: "hidden" })}></cx-icon>`}</cx-button><div class="icon-picker__panel"><div class="icon-picker__panel__search"><cx-input type="search" placeholder=${this.localize.term("search")} @cx-input=${this.handleSearchInput}></cx-input></div><cx-menu class="icon-picker__panel__list" @cx-select=${this.handleMenuSelect}>${Ze(
|
|
19934
19934
|
this.showVirtualizer,
|
|
19935
19935
|
() => N`<lit-virtualizer .items=${this.virtualListItems} .renderItem=${this.renderMenuItem}></lit-virtualizer>`
|
|
19936
19936
|
)}</cx-menu><cx-divider class="icon-picker__panel__divider"></cx-divider><div class="icon-picker__panel__footer">${this.renderCustomIconPickerMenuItem()}</div></div></cx-dropdown>${Ze(
|
|
@@ -20387,7 +20387,7 @@ let ks = class extends ui {
|
|
|
20387
20387
|
"page-outline__item": !0,
|
|
20388
20388
|
"page-outline__item--active": this.currentHash === e,
|
|
20389
20389
|
"page-outline__item--click": this.canClick
|
|
20390
|
-
})} data-link=${e} style=${
|
|
20390
|
+
})} data-link=${e} style=${Ki({ marginLeft: `${0.4 + i - 1}rem` })} @click=${this.canClick ? this.handleItemClick : void 0}><cx-line-clamp part="text" class=${Lt({
|
|
20391
20391
|
"page-outline__item-text": !0,
|
|
20392
20392
|
"page-outline__item-text--click": this.canClick,
|
|
20393
20393
|
"page-outline__item-text--underline": this.showUnderlineType === sA.Always
|
|
@@ -37732,7 +37732,7 @@ let ir = class extends ui {
|
|
|
37732
37732
|
return N`<cx-comment-menu ?disabled-fullscreen=${this.disabledFullscreen} .editor=${this.editor} ?can-upload=${this.canUpload} ?can-use-ai-assistant=${this.canUseAIAssistant} ?fullscreen=${this.fullscreen} ?recording=${this.recording} @cx-comment-fullscreen-toggle=${this.toggleFullscreen} @cx-recording-start=${this.handleMenuItemClick} @cx-recording-stop=${this.handleMenuItemClick} @cx-attachment-upload=${this.handleMenuItemClick} @cx-attachment-open-ai-assistant=${this.handleMenuItemClick}></cx-comment-menu>`;
|
|
37733
37733
|
}
|
|
37734
37734
|
render() {
|
|
37735
|
-
return N`<cx-dialog class="overlay" @cx-request-close=${this.handleRequestClose} no-header stay-open-outside-click style=${
|
|
37735
|
+
return N`<cx-dialog class="overlay" @cx-request-close=${this.handleRequestClose} no-header stay-open-outside-click style=${Ki({
|
|
37736
37736
|
"--cx-z-index-dialog": (this.cortexPopupController.currentZIndex + 1).toString()
|
|
37737
37737
|
})}><div class="overlay__content"></div></cx-dialog><div class=${Lt({
|
|
37738
37738
|
container: !0,
|
|
@@ -39151,7 +39151,7 @@ let Za = class extends ui {
|
|
|
39151
39151
|
});
|
|
39152
39152
|
}
|
|
39153
39153
|
render() {
|
|
39154
|
-
return N`<cx-space direction="vertical" spacing="small"><cx-table style=${
|
|
39154
|
+
return N`<cx-space direction="vertical" spacing="small"><cx-table style=${Ki(this.tableHeight ? { "--table-height": this.tableHeight } : {})} .columns=${this.transformedColumns} .data=${this.data} .searchFields=${this.searchFields} layout=${this.layout} row-height=${this.rowHeight} ?pagination=${this.pagination} ?can-search=${this.canSearch} pagination-size=${Fi(this.paginationSize)}></cx-table>${Ze(
|
|
39155
39155
|
this.showLoadMore,
|
|
39156
39156
|
() => N`<cx-button variant="default" size="medium" type="button" ?disabled=${this.loading} @click=${this.handleLoadMoreClick}>${this.loadMoreLabel}</cx-button>`
|
|
39157
39157
|
)}</cx-space>`;
|
|
@@ -39804,7 +39804,7 @@ let on = class extends ui {
|
|
|
39804
39804
|
this.itemAriaRoleDescription || void 0
|
|
39805
39805
|
)} tabindex="0" data-row=${Fi(l)} data-column=${Fi(c)} data-column-count=${this.prevColumnCount} alt=${Fi(n.alt)} content-position=${a} content-variant=${this.contentVariant} data-id=${n.id} effect=${this.effect} in-view raw-id=${Fi(n.rawId)} page-id=${Fi(n.pageId)} object-fit=${n.objectFit || Eo.Cover} show-content-type=${this.showContentType} src=${Fi(n.src)} url=${Fi(n.url)} text-reveal-style=${this.textRevealStyle} zoom-style=${this.zoomStyle} ?can-select=${this.canSelectBentoGrid && this.isBentoGridSelected} ?can-move-left=${t > 0 && this.canMoveBentoGridItem} ?can-move-right=${t < this.filledData.length - 1 && this.canMoveBentoGridItem} ?can-delete=${this.canDeleteBentoGridItem} ?can-zoom=${this.canZoom} ?has-event=${this.hasEvent || !!n.url} ?open-in-new-tab=${n.openInNewTab} ?highlight-border=${this.highlightBorder} ?highlight-color-overlay=${this.highlightColorOverlay} ?highlight-drop-shadow=${this.highlightDropShadow} ?highlight-background=${this.highlightBackground} ?highlight-opacity=${this.highlightSiblingsFadeOut} ?selected=${s} item-index=${e} ?is-in-edit-mode=${this.isBentoGridInEditMode} class=${Lt({
|
|
39806
39806
|
"bento-grid__item--effect-zoom": this.effect === Oi.Zoom
|
|
39807
|
-
})} style=${
|
|
39807
|
+
})} style=${Ki(this.computeBentoItemEffectStyles(n))} @blur=${t === 0 ? this.handleBlur : void 0} @focus=${t === 0 ? this.handleFocus : void 0} @mouseenter=${this.highlightSiblingsFadeOut ? this.handleMouseEnter : void 0} @mouseleave=${this.highlightSiblingsFadeOut ? this.handleMouseLeave : void 0} @click=${this.handleClick}>${Ze(
|
|
39808
39808
|
n.rawId || n.id,
|
|
39809
39809
|
() => Pc`<slot name=${`slot-${n.rawId || n.id}`} @slotchange=${this.handleContentSlotChange}></slot>`
|
|
39810
39810
|
)}</${r}>`;
|
|
@@ -39817,14 +39817,14 @@ let on = class extends ui {
|
|
|
39817
39817
|
)} class=${Lt({
|
|
39818
39818
|
"bento-grid": !0,
|
|
39819
39819
|
"bento-grid--empty": this.data.length === 0
|
|
39820
|
-
})} style=${
|
|
39820
|
+
})} style=${Ki(this.containerStyles)} data-empty-label=${this.emptyLabel || this.localize.term("emptyGrid")} @keydown=${this.handleKeyDown}>${mi(
|
|
39821
39821
|
n,
|
|
39822
39822
|
(r) => r[this.renderIdKey],
|
|
39823
39823
|
(r, o) => {
|
|
39824
39824
|
const a = e + o, s = this.bentoLayout.getPosition(a);
|
|
39825
39825
|
return r.filler ? Ze(
|
|
39826
39826
|
!!s,
|
|
39827
|
-
() => Pc`<div part="item" class="bento-grid__filler" style=${
|
|
39827
|
+
() => Pc`<div part="item" class="bento-grid__filler" style=${Ki({
|
|
39828
39828
|
height: `${s.height}px`,
|
|
39829
39829
|
left: `${s.left}px`,
|
|
39830
39830
|
top: `${s.top}px`,
|
|
@@ -39834,7 +39834,7 @@ let on = class extends ui {
|
|
|
39834
39834
|
"galleryCardNthOfCards",
|
|
39835
39835
|
a + 1,
|
|
39836
39836
|
this.data.length
|
|
39837
|
-
)} style=${
|
|
39837
|
+
)} style=${Ki({
|
|
39838
39838
|
height: `${s.height}px`,
|
|
39839
39839
|
left: `${s.left}px`,
|
|
39840
39840
|
top: `${s.top}px`,
|
|
@@ -40171,7 +40171,7 @@ let uy = class extends ui {
|
|
|
40171
40171
|
(i) => N`<div class=${Lt({
|
|
40172
40172
|
legend__item: !0,
|
|
40173
40173
|
"legend__item--reserved": !!i.reserved
|
|
40174
|
-
})}><span class="legend__swatch" style=${
|
|
40174
|
+
})}><span class="legend__swatch" style=${Ki({ background: i.color })}></span><span class="legend__name">${i.name}</span></div>`
|
|
40175
40175
|
)}</div><span class="note">${this.localize.term(
|
|
40176
40176
|
"capacityPerWeekNoOvertime",
|
|
40177
40177
|
Math.round(this.capacity)
|
|
@@ -40284,7 +40284,7 @@ let zs = class extends ui {
|
|
|
40284
40284
|
return { collapsed: e, displayWeight: t, showFull: o, showShort: a };
|
|
40285
40285
|
}
|
|
40286
40286
|
renderBand(i) {
|
|
40287
|
-
const { collapsed: e, displayWeight: t, showFull: n, showShort: r } = this.geometries.get(i.categoryId) ?? this.bandGeometry(i), o = i.shortLabel, a =
|
|
40287
|
+
const { collapsed: e, displayWeight: t, showFull: n, showShort: r } = this.geometries.get(i.categoryId) ?? this.bandGeometry(i), o = i.shortLabel, a = Ki({
|
|
40288
40288
|
background: i.color,
|
|
40289
40289
|
flexBasis: e ? "0" : void 0,
|
|
40290
40290
|
flexGrow: String(t),
|
|
@@ -40791,17 +40791,17 @@ let ao = class extends ui {
|
|
|
40791
40791
|
() => N`
|
|
40792
40792
|
${Ze(
|
|
40793
40793
|
this.filling,
|
|
40794
|
-
() => N`<div class="overlay overlay--ghost" style=${
|
|
40794
|
+
() => N`<div class="overlay overlay--ghost" style=${Ki({
|
|
40795
40795
|
height: `${Math.max(0, this.fillToW - e) * Vf}px`,
|
|
40796
40796
|
top: `${(e + 1) * Vf}px`
|
|
40797
40797
|
})}></div>`
|
|
40798
|
-
)}<div class="overlay overlay--selection" style=${
|
|
40798
|
+
)}<div class="overlay overlay--selection" style=${Ki({
|
|
40799
40799
|
height: `${(e - i + 1) * Vf}px`,
|
|
40800
40800
|
top: `${i * Vf}px`
|
|
40801
40801
|
})}></div><div class=${Lt({
|
|
40802
40802
|
"fill-handle": !0,
|
|
40803
40803
|
"fill-handle--active": this.filling
|
|
40804
|
-
})} title=${this.localize.term("capacityFillHandleTitle")} style=${
|
|
40804
|
+
})} title=${this.localize.term("capacityFillHandleTitle")} style=${Ki({ top: `${(e + 1) * Vf}px` })} role="button" tabindex=${this.editable ? "0" : "-1"} aria-label=${this.localize.term("capacityFillHandleLabel")} aria-pressed=${this.filling ? "true" : "false"} @pointerdown=${this.handleFillPointerDown} @keydown=${this.handleFillKeyDown}></div>`
|
|
40805
40805
|
)}</div></div><div class="footer"><span class="footer__tip-label">${this.localize.term("capacityTip")}</span><span>${this.hintText}</span><span class="footer__spacer"></span>${Ze(
|
|
40806
40806
|
!!this.copyMsg,
|
|
40807
40807
|
() => N`<span class="footer__pill">${this.copyMsg}</span>`
|
|
@@ -41620,7 +41620,7 @@ let Ci = class extends ui {
|
|
|
41620
41620
|
"carousel__slide--active": d,
|
|
41621
41621
|
...typeof n.className == "string" && n.className.trim() !== "" ? { [n.className]: !0 } : {},
|
|
41622
41622
|
"carousel__slide--effect-zoom": this.effect === Oi.Zoom
|
|
41623
|
-
})} style=${
|
|
41623
|
+
})} style=${Ki({
|
|
41624
41624
|
...this.computeCarouselItemEffectStyles(n)
|
|
41625
41625
|
})} @click=${this.handleGalleryItemClick} @cx-gallery-item-move-left=${this.handleGalleryItemMoved} @cx-gallery-item-move-right=${this.handleGalleryItemMoved} @mouseenter=${this.handleMouseEnter} @mouseleave=${this.handleMouseLeave} @focus=${this.handleGalleryItemFocus}>${Ze(n.rawId || n.id, () => {
|
|
41626
41626
|
const u = `slot-${n.rawId || n.id}`;
|
|
@@ -41644,7 +41644,7 @@ let Ci = class extends ui {
|
|
|
41644
41644
|
carousel: !0,
|
|
41645
41645
|
"carousel--empty": this.isChunked ? this.totalData === 0 : this.data?.length === 0,
|
|
41646
41646
|
"carousel--vertical": this.orientation === Du.Vertical
|
|
41647
|
-
})} style=${
|
|
41647
|
+
})} style=${Ki({
|
|
41648
41648
|
"--easing": this.easeCSSVariable
|
|
41649
41649
|
})} data-empty-label=${this.emptyLabel || this.localize.term("emptyCarousel")}><cx-tooltip class="carousel__tooltip" content=${this.accessibilityTooltip} trigger="manual" hoist .anchor=${this.scrollContainer} ?disabled=${!i && !e || !this.accessibilityTooltip}></cx-tooltip><cx-resize-observer @cx-resize=${this.handleSlideContainerResize}><div id="scroll-container" part="scroll-container" class=${Lt({
|
|
41650
41650
|
carousel__slides: !0,
|
|
@@ -41652,7 +41652,7 @@ let Ci = class extends ui {
|
|
|
41652
41652
|
"carousel__slides--horizontal": this.orientation === Du.Horizontal,
|
|
41653
41653
|
"carousel__slides--peek-slides": this.peekSlides,
|
|
41654
41654
|
"carousel__slides--vertical": this.orientation === Du.Vertical
|
|
41655
|
-
})} style=${
|
|
41655
|
+
})} style=${Ki({
|
|
41656
41656
|
"--slides-per-page": this.slidesPerPage
|
|
41657
41657
|
})} aria-busy=${this.scrolling ? "true" : "false"} aria-atomic="true" tabindex="0" @focus=${this.handleFocus} @blur=${this.handleBlur} @keydown=${this.handleScrollContainerKeyDown} @mousedown=${this.handleMouseDragStart} @scroll=${this.handleScroll} @scrollend=${this.handleScrollEnd}>${mi(
|
|
41658
41658
|
this.data || [],
|
|
@@ -41672,7 +41672,7 @@ let Ci = class extends ui {
|
|
|
41672
41672
|
"carousel__slide--placeholder": !0,
|
|
41673
41673
|
...typeof s.className == "string" && s.className.trim() !== "" ? { [s.className]: !0 } : {},
|
|
41674
41674
|
"carousel__slide--effect-zoom": this.effect === Oi.Zoom
|
|
41675
|
-
})} style=${
|
|
41675
|
+
})} style=${Ki({
|
|
41676
41676
|
"scroll-snap-align": c ? "start" : "none"
|
|
41677
41677
|
})}></div>`;
|
|
41678
41678
|
}
|
|
@@ -44722,7 +44722,7 @@ function sxt(i) {
|
|
|
44722
44722
|
}
|
|
44723
44723
|
return e;
|
|
44724
44724
|
}
|
|
44725
|
-
const cd = sxt(), lxt = N`<svg xmlns="http://www.w3.org/2000/svg" width="14mm" height="14mm" viewBox="0 0 20 20"><path d="M35.412 115.592a6.289 6.289 0 0 0-5.68 3.575c-.053-.005-.104-.017-.158-.017-.942 0-1.7.759-1.7 1.7v2.102c0 .942.758 1.7 1.7 1.7.054 0 .105-.012.157-.016.068.14.138.28.217.417.31.551 1.134.079.816-.467a5.369 5.369 0 0 1 1.2-6.802 5.363 5.363 0 0 1 6.902 0 5.369 5.369 0 0 1 1.2 6.802l-.014.023-.01.024s-.633 1.402-1.878 1.402l-1.575-.014a.807.807 0 0 0-.667-.366h-1.015a.82.82 0 0 0-.822.823c0 .28.178.494.586.494h3.493c1.868 0 2.675-1.833 2.712-1.918v-.005c.078-.136.147-.275.215-.415.055.005.108.017.165.017.941 0 1.7-.759 1.7-1.7v-2.102c0-.942-.759-1.7-1.7-1.7-.055 0-.106.009-.16.016a6.268 6.268 0 0 0-1.626-2.1 6.305 6.305 0 0 0-4.058-1.475zm-2.049 2.987c-.366-.024-.7.053-.992.361a4.56 4.56 0 0 0-1.26 3.125c0 .981.327 2.08.88 2.12.786.057 2.027-.46 3.424-.46 1.48 0 2.787.58 3.561.443.47-.083.744-1.205.744-2.103a4.561 4.561 0 0 0-1.261-3.125c-.78-.82-1.855 0-3.044 0-.743 0-1.442-.321-2.052-.361zm-.174 2.021a.787.787 0 1 1 0 1.574.787.787 0 0 1 0-1.574zm4.452 0a.787.787 0 1 1 0 1.574.787.787 0 0 1 0-1.574z" style=${
|
|
44725
|
+
const cd = sxt(), lxt = N`<svg xmlns="http://www.w3.org/2000/svg" width="14mm" height="14mm" viewBox="0 0 20 20"><path d="M35.412 115.592a6.289 6.289 0 0 0-5.68 3.575c-.053-.005-.104-.017-.158-.017-.942 0-1.7.759-1.7 1.7v2.102c0 .942.758 1.7 1.7 1.7.054 0 .105-.012.157-.016.068.14.138.28.217.417.31.551 1.134.079.816-.467a5.369 5.369 0 0 1 1.2-6.802 5.363 5.363 0 0 1 6.902 0 5.369 5.369 0 0 1 1.2 6.802l-.014.023-.01.024s-.633 1.402-1.878 1.402l-1.575-.014a.807.807 0 0 0-.667-.366h-1.015a.82.82 0 0 0-.822.823c0 .28.178.494.586.494h3.493c1.868 0 2.675-1.833 2.712-1.918v-.005c.078-.136.147-.275.215-.415.055.005.108.017.165.017.941 0 1.7-.759 1.7-1.7v-2.102c0-.942-.759-1.7-1.7-1.7-.055 0-.106.009-.16.016a6.268 6.268 0 0 0-1.626-2.1 6.305 6.305 0 0 0-4.058-1.475zm-2.049 2.987c-.366-.024-.7.053-.992.361a4.56 4.56 0 0 0-1.26 3.125c0 .981.327 2.08.88 2.12.786.057 2.027-.46 3.424-.46 1.48 0 2.787.58 3.561.443.47-.083.744-1.205.744-2.103a4.561 4.561 0 0 0-1.261-3.125c-.78-.82-1.855 0-3.044 0-.743 0-1.442-.321-2.052-.361zm-.174 2.021a.787.787 0 1 1 0 1.574.787.787 0 0 1 0-1.574zm4.452 0a.787.787 0 1 1 0 1.574.787.787 0 0 1 0-1.574z" style=${Ki({
|
|
44726
44726
|
fill: "#666",
|
|
44727
44727
|
fillOpacity: 1,
|
|
44728
44728
|
fillRule: "evenodd",
|
|
@@ -50970,7 +50970,7 @@ var F1t = {
|
|
|
50970
50970
|
var g = $(p, document.createTextNode("AخA")), y = Y(g, 0, 1).getBoundingClientRect(), v = Y(g, 1, 2).getBoundingClientRect();
|
|
50971
50971
|
return F(p), !y || y.left == y.right ? !1 : Hi = v.right - y.right < 3;
|
|
50972
50972
|
}
|
|
50973
|
-
var
|
|
50973
|
+
var Xi = `
|
|
50974
50974
|
|
|
50975
50975
|
b`.split(/\n/).length != 3 ? function(p) {
|
|
50976
50976
|
for (var g = 0, y = [], v = p.length; g <= v; ) {
|
|
@@ -51164,7 +51164,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51164
51164
|
for (var v = p; v; v = v.parent)
|
|
51165
51165
|
v.height += y;
|
|
51166
51166
|
}
|
|
51167
|
-
function
|
|
51167
|
+
function Ji(p) {
|
|
51168
51168
|
if (p.parent == null)
|
|
51169
51169
|
return null;
|
|
51170
51170
|
for (var g = p.parent, y = rt(g.lines, p), v = g.parent; v; g = v, v = v.parent)
|
|
@@ -51232,7 +51232,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51232
51232
|
var y = p.ch;
|
|
51233
51233
|
return y == null || y > g ? Et(p.line, g) : y < 0 ? Et(p.line, 0) : p;
|
|
51234
51234
|
}
|
|
51235
|
-
function
|
|
51235
|
+
function Zi(p, g) {
|
|
51236
51236
|
for (var y = [], v = 0; v < g.length; v++)
|
|
51237
51237
|
y[v] = Dt(p, g[v]);
|
|
51238
51238
|
return y;
|
|
@@ -51298,7 +51298,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51298
51298
|
}
|
|
51299
51299
|
function Fl(p, g, y) {
|
|
51300
51300
|
if (!g.styles || g.styles[0] != p.state.modeGen) {
|
|
51301
|
-
var v = Ha(p,
|
|
51301
|
+
var v = Ha(p, Ji(g)), x = g.text.length > p.options.maxHighlightLength && qr(p.doc.mode, v.state), S = na(p, g, v);
|
|
51302
51302
|
x && (v.state = x), g.stateAfter = v.save(!x), g.styles = S.styles, S.classes ? g.styleClasses = S.classes : g.styleClasses && (g.styleClasses = null), y === p.doc.highlightFrontier && (p.doc.modeFrontier = Math.max(p.doc.modeFrontier, ++p.doc.highlightFrontier));
|
|
51303
51303
|
}
|
|
51304
51304
|
return g.styles;
|
|
@@ -51606,7 +51606,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51606
51606
|
}
|
|
51607
51607
|
function hs(p, g) {
|
|
51608
51608
|
var y = Rt(p, g), v = Br(y);
|
|
51609
|
-
return y == v ? g :
|
|
51609
|
+
return y == v ? g : Ji(v);
|
|
51610
51610
|
}
|
|
51611
51611
|
function Ea(p, g) {
|
|
51612
51612
|
if (g > p.lastLine())
|
|
@@ -51616,7 +51616,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51616
51616
|
return g;
|
|
51617
51617
|
for (; v = Ti(y); )
|
|
51618
51618
|
y = v.find(1, !0).line;
|
|
51619
|
-
return
|
|
51619
|
+
return Ji(y) + 1;
|
|
51620
51620
|
}
|
|
51621
51621
|
function gs(p, g) {
|
|
51622
51622
|
var y = Qn && g.markedSpans;
|
|
@@ -51682,7 +51682,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51682
51682
|
this.text = p, Ta(this, g), this.height = y ? y(this) : 1;
|
|
51683
51683
|
};
|
|
51684
51684
|
No.prototype.lineNo = function() {
|
|
51685
|
-
return
|
|
51685
|
+
return Ji(this);
|
|
51686
51686
|
}, Ot(No);
|
|
51687
51687
|
function fp(p, g, y, v) {
|
|
51688
51688
|
p.text = g, p.stateAfter && (p.stateAfter = null), p.styles && (p.styles = null), p.order != null && (p.order = null), mp(p), Ta(p, y);
|
|
@@ -51713,7 +51713,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51713
51713
|
for (var x = 0; x <= (g.rest ? g.rest.length : 0); x++) {
|
|
51714
51714
|
var S = x ? g.rest[x - 1] : g.line, M = void 0;
|
|
51715
51715
|
v.pos = 0, v.addToken = mh, rr(p.display.measure) && (M = ie(S, p.doc.direction)) && (v.addToken = fh(v.addToken, M)), v.map = [];
|
|
51716
|
-
var j = g != p.display.externalMeasured &&
|
|
51716
|
+
var j = g != p.display.externalMeasured && Ji(S);
|
|
51717
51717
|
Su(S, v, Fl(p, S, j)), S.styleClasses && (S.styleClasses.bgClass && (v.bgClass = ee(S.styleClasses.bgClass, v.bgClass || "")), S.styleClasses.textClass && (v.textClass = ee(S.styleClasses.textClass, v.textClass || ""))), v.map.length == 0 && v.map.push(0, 0, v.content.appendChild(_i(p.display.measure))), x == 0 ? (g.measure.map = v.map, g.measure.cache = {}) : ((g.measure.maps || (g.measure.maps = [])).push(v.map), (g.measure.caches || (g.measure.caches = [])).push({}));
|
|
51718
51718
|
}
|
|
51719
51719
|
if (c) {
|
|
@@ -51855,7 +51855,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51855
51855
|
}
|
|
51856
51856
|
}
|
|
51857
51857
|
function jd(p, g, y) {
|
|
51858
|
-
this.line = g, this.rest = Wo(g), this.size = this.rest ?
|
|
51858
|
+
this.line = g, this.rest = Wo(g), this.size = this.rest ? Ji(at(this.rest)) - y + 1 : 1, this.node = this.text = null, this.hidden = gs(p, g);
|
|
51859
51859
|
}
|
|
51860
51860
|
function yp(p, g, y) {
|
|
51861
51861
|
for (var v = [], x, S = g; S < y; S = x) {
|
|
@@ -52066,12 +52066,12 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52066
52066
|
if (p.rest[v] == g)
|
|
52067
52067
|
return { map: p.measure.maps[v], cache: p.measure.caches[v] };
|
|
52068
52068
|
for (var x = 0; x < p.rest.length; x++)
|
|
52069
|
-
if (
|
|
52069
|
+
if (Ji(p.rest[x]) > y)
|
|
52070
52070
|
return { map: p.measure.maps[x], cache: p.measure.caches[x], before: !0 };
|
|
52071
52071
|
}
|
|
52072
52072
|
function Te(p, g) {
|
|
52073
52073
|
g = Br(g);
|
|
52074
|
-
var y =
|
|
52074
|
+
var y = Ji(g), v = p.display.externalMeasured = new jd(p.doc, g, y);
|
|
52075
52075
|
v.lineN = y;
|
|
52076
52076
|
var x = v.built = zd(p, v);
|
|
52077
52077
|
return v.text = x.pre, $(p.display.lineMeasure, x.pre), v;
|
|
@@ -52087,7 +52087,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52087
52087
|
return y;
|
|
52088
52088
|
}
|
|
52089
52089
|
function lt(p, g) {
|
|
52090
|
-
var y =
|
|
52090
|
+
var y = Ji(g), v = Le(p, y);
|
|
52091
52091
|
v && !v.text ? v = null : v && v.changes && (ql(p, v, y, ct(p)), p.curOp.forceUpdate = !0), v || (v = Te(p, g));
|
|
52092
52092
|
var x = xe(v, g, y);
|
|
52093
52093
|
return {
|
|
@@ -53685,7 +53685,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53685
53685
|
}
|
|
53686
53686
|
function nY(p, g, y) {
|
|
53687
53687
|
var v = p.doc, x = p.display, S = g.from, M = g.to, j = !1, q = S.line;
|
|
53688
|
-
p.options.lineWrapping || (q =
|
|
53688
|
+
p.options.lineWrapping || (q = Ji(Br(Rt(v, S.line))), v.iter(q, M.line + 1, function(Re) {
|
|
53689
53689
|
if (Re == x.maxLine)
|
|
53690
53690
|
return j = !0, !0;
|
|
53691
53691
|
})), v.sel.contains(g.from, g.to) > -1 && gi(p), y3(v, g, y, Ct(p)), p.options.lineWrapping || (v.iter(q, S.line + g.text.length, function(Re) {
|
|
@@ -53741,7 +53741,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53741
53741
|
}
|
|
53742
53742
|
function Wy(p, g, y, v) {
|
|
53743
53743
|
var x = g, S = g;
|
|
53744
|
-
return typeof g == "number" ? S = Rt(p, It(p, g)) : x =
|
|
53744
|
+
return typeof g == "number" ? S = Rt(p, It(p, g)) : x = Ji(g), x == null ? null : (v(S, x) && p.cm && ri(p.cm, x, y), S);
|
|
53745
53745
|
}
|
|
53746
53746
|
function Gy(p) {
|
|
53747
53747
|
this.lines = p, this.parent = null;
|
|
@@ -53870,7 +53870,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53870
53870
|
this.doc = p, this.node = g;
|
|
53871
53871
|
};
|
|
53872
53872
|
Yy.prototype.clear = function() {
|
|
53873
|
-
var p = this.doc.cm, g = this.line.widgets, y = this.line, v =
|
|
53873
|
+
var p = this.doc.cm, g = this.line.widgets, y = this.line, v = Ji(y);
|
|
53874
53874
|
if (!(v == null || !g)) {
|
|
53875
53875
|
for (var x = 0; x < g.length; ++x)
|
|
53876
53876
|
g[x] == this && g.splice(x--, 1);
|
|
@@ -53885,7 +53885,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53885
53885
|
this.height = null;
|
|
53886
53886
|
var x = Au(this) - g;
|
|
53887
53887
|
x && (gs(this.doc, v) || po(v, v.height + x), y && Gl(y, function() {
|
|
53888
|
-
y.curOp.forceUpdate = !0, I7(y, v, x), vr(y, "lineWidgetChanged", y, p,
|
|
53888
|
+
y.curOp.forceUpdate = !0, I7(y, v, x), vr(y, "lineWidgetChanged", y, p, Ji(v));
|
|
53889
53889
|
}));
|
|
53890
53890
|
}, Ot(Yy);
|
|
53891
53891
|
function I7(p, g, y) {
|
|
@@ -53900,7 +53900,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53900
53900
|
po(M, M.height + Au(x)), q && d3(S, x.height), S.curOp.forceUpdate = !0;
|
|
53901
53901
|
}
|
|
53902
53902
|
return !0;
|
|
53903
|
-
}), S && vr(S, "lineWidgetAdded", S, x, typeof g == "number" ? g :
|
|
53903
|
+
}), S && vr(S, "lineWidgetAdded", S, x, typeof g == "number" ? g : Ji(g)), x;
|
|
53904
53904
|
}
|
|
53905
53905
|
var D7 = 0, Ch = function(p, g) {
|
|
53906
53906
|
this.lines = [], this.type = g, this.doc = p, this.id = ++D7;
|
|
@@ -53914,7 +53914,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53914
53914
|
}
|
|
53915
53915
|
for (var v = null, x = null, S = 0; S < this.lines.length; ++S) {
|
|
53916
53916
|
var M = this.lines[S], j = Ca(M.markedSpans, this);
|
|
53917
|
-
p && !this.collapsed ? ri(p,
|
|
53917
|
+
p && !this.collapsed ? ri(p, Ji(M), "text") : p && (j.to != null && (x = Ji(M)), j.from != null && (v = Ji(M))), M.markedSpans = xo(M.markedSpans, j), j.from == null && this.collapsed && !gs(this.doc, M) && p && po(M, Ve(p.display));
|
|
53918
53918
|
}
|
|
53919
53919
|
if (p && this.collapsed && !p.options.lineWrapping)
|
|
53920
53920
|
for (var q = 0; q < this.lines.length; ++q) {
|
|
@@ -53927,16 +53927,16 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53927
53927
|
p == null && this.type == "bookmark" && (p = 1);
|
|
53928
53928
|
for (var y, v, x = 0; x < this.lines.length; ++x) {
|
|
53929
53929
|
var S = this.lines[x], M = Ca(S.markedSpans, this);
|
|
53930
|
-
if (M.from != null && (y = Et(g ? S :
|
|
53930
|
+
if (M.from != null && (y = Et(g ? S : Ji(S), M.from), p == -1))
|
|
53931
53931
|
return y;
|
|
53932
|
-
if (M.to != null && (v = Et(g ? S :
|
|
53932
|
+
if (M.to != null && (v = Et(g ? S : Ji(S), M.to), p == 1))
|
|
53933
53933
|
return v;
|
|
53934
53934
|
}
|
|
53935
53935
|
return y && { from: y, to: v };
|
|
53936
53936
|
}, Ch.prototype.changed = function() {
|
|
53937
53937
|
var p = this, g = this.find(-1, !0), y = this, v = this.doc.cm;
|
|
53938
53938
|
!g || !v || Gl(v, function() {
|
|
53939
|
-
var x = g.line, S =
|
|
53939
|
+
var x = g.line, S = Ji(g.line), M = Le(v, S);
|
|
53940
53940
|
if (M && (wp(M), v.curOp.selectionChanged = v.curOp.forceUpdate = !0), v.curOp.updateMaxLine = !0, !gs(y.doc, x) && y.height != null) {
|
|
53941
53941
|
var j = y.height;
|
|
53942
53942
|
y.height = null;
|
|
@@ -54101,7 +54101,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
54101
54101
|
return Rt(this, p);
|
|
54102
54102
|
},
|
|
54103
54103
|
getLineNumber: function(p) {
|
|
54104
|
-
return
|
|
54104
|
+
return Ji(p);
|
|
54105
54105
|
},
|
|
54106
54106
|
getLineHandleVisualStart: function(p) {
|
|
54107
54107
|
return typeof p == "number" && (p = Rt(this, p)), Br(p);
|
|
@@ -54138,11 +54138,11 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
54138
54138
|
sx(this, Dt(this, p), g && Dt(this, g), y);
|
|
54139
54139
|
}),
|
|
54140
54140
|
extendSelections: Oa(function(p, g) {
|
|
54141
|
-
f7(this,
|
|
54141
|
+
f7(this, Zi(this, p), g);
|
|
54142
54142
|
}),
|
|
54143
54143
|
extendSelectionsBy: Oa(function(p, g) {
|
|
54144
54144
|
var y = Ft(this.sel.ranges, p);
|
|
54145
|
-
f7(this,
|
|
54145
|
+
f7(this, Zi(this, y), g);
|
|
54146
54146
|
}),
|
|
54147
54147
|
setSelections: Oa(function(p, g, y) {
|
|
54148
54148
|
if (p.length) {
|
|
@@ -54255,7 +54255,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
54255
54255
|
if (typeof p == "number") {
|
|
54256
54256
|
if (!ta(this, p) || (g = p, p = Rt(this, p), !p))
|
|
54257
54257
|
return null;
|
|
54258
|
-
} else if (g =
|
|
54258
|
+
} else if (g = Ji(p), g == null)
|
|
54259
54259
|
return null;
|
|
54260
54260
|
return {
|
|
54261
54261
|
line: g,
|
|
@@ -54411,7 +54411,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
54411
54411
|
return this.cm;
|
|
54412
54412
|
},
|
|
54413
54413
|
splitLines: function(p) {
|
|
54414
|
-
return this.lineSep ? p.split(this.lineSep) :
|
|
54414
|
+
return this.lineSep ? p.split(this.lineSep) : Xi(p);
|
|
54415
54415
|
},
|
|
54416
54416
|
lineSeparator: function() {
|
|
54417
54417
|
return this.lineSep || `
|
|
@@ -55084,11 +55084,11 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55084
55084
|
};
|
|
55085
55085
|
function z7(p, g) {
|
|
55086
55086
|
var y = Rt(p.doc, g), v = Br(y);
|
|
55087
|
-
return v != y && (g =
|
|
55087
|
+
return v != y && (g = Ji(v)), C3(!0, p, v, g, 1);
|
|
55088
55088
|
}
|
|
55089
55089
|
function yY(p, g) {
|
|
55090
55090
|
var y = Rt(p.doc, g), v = ko(y);
|
|
55091
|
-
return v != y && (g =
|
|
55091
|
+
return v != y && (g = Ji(v)), C3(!0, p, y, g, -1);
|
|
55092
55092
|
}
|
|
55093
55093
|
function j7(p, g) {
|
|
55094
55094
|
var y = z7(p, g.line), v = Rt(p.doc, y.line), x = ie(v, p.doc.direction);
|
|
@@ -55651,7 +55651,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55651
55651
|
function O3(p, g, y, v, x) {
|
|
55652
55652
|
var S = p.doc;
|
|
55653
55653
|
p.display.shift = !1, v || (v = S.sel);
|
|
55654
|
-
var M = +/* @__PURE__ */ new Date() - 200, j = x == "paste" || p.state.pasteIncoming > M, q =
|
|
55654
|
+
var M = +/* @__PURE__ */ new Date() - 200, j = x == "paste" || p.state.pasteIncoming > M, q = Xi(g), J = null;
|
|
55655
55655
|
if (j && v.ranges.length > 1)
|
|
55656
55656
|
if (qd && qd.text.join(`
|
|
55657
55657
|
`) == g) {
|
|
@@ -56255,9 +56255,9 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56255
56255
|
if (v.ch == 0 && v.line > p.firstLine() && (v = Et(v.line - 1, Rt(p.doc, v.line - 1).length)), x.ch == Rt(p.doc, x.line).text.length && x.line < p.lastLine() && (x = Et(x.line + 1, 0)), v.line < g.viewFrom || x.line > g.viewTo - 1)
|
|
56256
56256
|
return !1;
|
|
56257
56257
|
var S, M, j;
|
|
56258
|
-
v.line == g.viewFrom || (S = $t(p, v.line)) == 0 ? (M =
|
|
56258
|
+
v.line == g.viewFrom || (S = $t(p, v.line)) == 0 ? (M = Ji(g.view[0].line), j = g.view[0].node) : (M = Ji(g.view[S].line), j = g.view[S - 1].node.nextSibling);
|
|
56259
56259
|
var q = $t(p, x.line), J, ge;
|
|
56260
|
-
if (q == g.view.length - 1 ? (J = g.viewTo - 1, ge = g.lineDiv.lastChild) : (J =
|
|
56260
|
+
if (q == g.view.length - 1 ? (J = g.viewTo - 1, ge = g.lineDiv.lastChild) : (J = Ji(g.view[q + 1].line) - 1, ge = g.view[q + 1].node.previousSibling), !j)
|
|
56261
56261
|
return !1;
|
|
56262
56262
|
for (var ke = p.doc.splitLines($Y(p, j, ge, M, J)), We = br(p.doc, Et(M, 0), Et(J, Rt(p.doc, J).text.length)); ke.length > 1 && We.length > 1; )
|
|
56263
56263
|
if (at(ke) == at(We))
|
|
@@ -56394,10 +56394,10 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56394
56394
|
function FY(p, g, y) {
|
|
56395
56395
|
var v = p.text.firstChild, x = !1;
|
|
56396
56396
|
if (!g || !P(v, g))
|
|
56397
|
-
return Lf(Et(
|
|
56397
|
+
return Lf(Et(Ji(p.line), 0), !0);
|
|
56398
56398
|
if (g == v && (x = !0, g = v.childNodes[y], y = 0, !g)) {
|
|
56399
56399
|
var S = p.rest ? at(p.rest) : p.line;
|
|
56400
|
-
return Lf(Et(
|
|
56400
|
+
return Lf(Et(Ji(S), S.text.length), x);
|
|
56401
56401
|
}
|
|
56402
56402
|
var M = g.nodeType == 3 ? g : null, j = g;
|
|
56403
56403
|
for (!M && g.childNodes.length == 1 && g.firstChild.nodeType == 3 && (M = g.firstChild, y && (y = M.nodeValue.length)); j.parentNode != v; )
|
|
@@ -56408,7 +56408,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56408
56408
|
for (var vi = ai < 0 ? q.map : J[ai], zi = 0; zi < vi.length; zi += 3) {
|
|
56409
56409
|
var Ri = vi[zi + 2];
|
|
56410
56410
|
if (Ri == jt || Ri == oi) {
|
|
56411
|
-
var vn =
|
|
56411
|
+
var vn = Ji(ai < 0 ? p.line : p.rest[ai]), Nr = vi[zi] + pi;
|
|
56412
56412
|
return (pi < 0 || Ri != jt) && (Nr = vi[zi + (pi ? 1 : 0)]), Et(vn, Nr);
|
|
56413
56413
|
}
|
|
56414
56414
|
}
|
|
@@ -56641,7 +56641,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56641
56641
|
return j;
|
|
56642
56642
|
}
|
|
56643
56643
|
function jY(p) {
|
|
56644
|
-
p.off = Xt, p.on = je, p.wheelEventPixels = KK, p.Doc = el, p.splitLines =
|
|
56644
|
+
p.off = Xt, p.on = je, p.wheelEventPixels = KK, p.Doc = el, p.splitLines = Xi, p.countColumn = De, p.findColumn = vt, p.isWordChar = ye, p.Pass = et, p.signal = ut, p.Line = No, p.changeEnd = kh, p.scrollbarModel = QO, p.Pos = Et, p.cmpPos = Di, p.modes = Uo, p.mimeModes = Nn, p.resolveMode = Cr, p.getMode = Ii, p.modeExtensions = ka, p.extendMode = Ur, p.copyState = qr, p.startState = qo, p.innerMode = fr, p.commands = Qy, p.keyMap = kp, p.keyName = F7, p.isModifierKey = R7, p.lookupKey = Mf, p.normalizeKeyMap = fY, p.StringStream = Sn, p.SharedTextMarker = Xy, p.TextMarker = Ch, p.LineWidget = Yy, p.e_preventDefault = nn, p.e_stopPropagation = _r, p.e_stop = ae, p.addClass = ce, p.contains = P, p.rmClass = X, p.keyNames = Sh;
|
|
56645
56645
|
}
|
|
56646
56646
|
MY(eo), BY(eo);
|
|
56647
56647
|
var HY = "iter insert remove copy getEditor constructor".split(" ");
|
|
@@ -58346,7 +58346,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58346
58346
|
function te(Yn) {
|
|
58347
58347
|
return { type: Yn, style: "keyword" };
|
|
58348
58348
|
}
|
|
58349
|
-
var ue = te("keyword a"), mt = te("keyword b"), It = te("keyword c"), Dt = te("keyword d"), fi = te("operator"),
|
|
58349
|
+
var ue = te("keyword a"), mt = te("keyword b"), It = te("keyword c"), Dt = te("keyword d"), fi = te("operator"), Zi = { type: "atom", style: "atom" };
|
|
58350
58350
|
return {
|
|
58351
58351
|
if: te("if"),
|
|
58352
58352
|
while: ue,
|
|
@@ -58375,12 +58375,12 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58375
58375
|
in: fi,
|
|
58376
58376
|
typeof: fi,
|
|
58377
58377
|
instanceof: fi,
|
|
58378
|
-
true:
|
|
58379
|
-
false:
|
|
58380
|
-
null:
|
|
58381
|
-
undefined:
|
|
58382
|
-
NaN:
|
|
58383
|
-
Infinity:
|
|
58378
|
+
true: Zi,
|
|
58379
|
+
false: Zi,
|
|
58380
|
+
null: Zi,
|
|
58381
|
+
undefined: Zi,
|
|
58382
|
+
NaN: Zi,
|
|
58383
|
+
Infinity: Zi,
|
|
58384
58384
|
this: te("this"),
|
|
58385
58385
|
class: te("class"),
|
|
58386
58386
|
super: te("atom"),
|
|
@@ -58485,11 +58485,11 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58485
58485
|
var It = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(te.string.slice(te.start, mt));
|
|
58486
58486
|
It && (mt = It.index);
|
|
58487
58487
|
}
|
|
58488
|
-
for (var Dt = 0, fi = !1,
|
|
58489
|
-
var Yn = te.string.charAt(
|
|
58488
|
+
for (var Dt = 0, fi = !1, Zi = mt - 1; Zi >= 0; --Zi) {
|
|
58489
|
+
var Yn = te.string.charAt(Zi), kn = V.indexOf(Yn);
|
|
58490
58490
|
if (kn >= 0 && kn < 3) {
|
|
58491
58491
|
if (!Dt) {
|
|
58492
|
-
++
|
|
58492
|
+
++Zi;
|
|
58493
58493
|
break;
|
|
58494
58494
|
}
|
|
58495
58495
|
if (--Dt == 0) {
|
|
@@ -58501,20 +58501,20 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58501
58501
|
else if (h.test(Yn))
|
|
58502
58502
|
fi = !0;
|
|
58503
58503
|
else if (/["'\/`]/.test(Yn))
|
|
58504
|
-
for (; ; --
|
|
58505
|
-
if (
|
|
58506
|
-
var na = te.string.charAt(
|
|
58507
|
-
if (na == Yn && te.string.charAt(
|
|
58508
|
-
|
|
58504
|
+
for (; ; --Zi) {
|
|
58505
|
+
if (Zi == 0) return;
|
|
58506
|
+
var na = te.string.charAt(Zi - 1);
|
|
58507
|
+
if (na == Yn && te.string.charAt(Zi - 2) != "\\") {
|
|
58508
|
+
Zi--;
|
|
58509
58509
|
break;
|
|
58510
58510
|
}
|
|
58511
58511
|
}
|
|
58512
58512
|
else if (fi && !Dt) {
|
|
58513
|
-
++
|
|
58513
|
+
++Zi;
|
|
58514
58514
|
break;
|
|
58515
58515
|
}
|
|
58516
58516
|
}
|
|
58517
|
-
fi && !Dt && (ue.fatArrowAt =
|
|
58517
|
+
fi && !Dt && (ue.fatArrowAt = Zi);
|
|
58518
58518
|
}
|
|
58519
58519
|
}
|
|
58520
58520
|
var X = {
|
|
@@ -58541,8 +58541,8 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58541
58541
|
function K(te, ue, mt, It, Dt) {
|
|
58542
58542
|
var fi = te.cc;
|
|
58543
58543
|
for (R.state = te, R.stream = Dt, R.marked = null, R.cc = fi, R.style = ue, te.lexical.hasOwnProperty("align") || (te.lexical.align = !0); ; ) {
|
|
58544
|
-
var
|
|
58545
|
-
if (
|
|
58544
|
+
var Zi = fi.length ? fi.pop() : c ? de : _t;
|
|
58545
|
+
if (Zi(mt, It)) {
|
|
58546
58546
|
for (; fi.length && fi[fi.length - 1].lex; )
|
|
58547
58547
|
fi.pop()();
|
|
58548
58548
|
return R.marked ? R.marked : mt == "variable" && $(te, It) ? "variable-2" : ue;
|
|
@@ -58751,8 +58751,8 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58751
58751
|
function ie(te, ue, mt) {
|
|
58752
58752
|
function It(Dt, fi) {
|
|
58753
58753
|
if (mt ? mt.indexOf(Dt) > -1 : Dt == ",") {
|
|
58754
|
-
var
|
|
58755
|
-
return
|
|
58754
|
+
var Zi = R.state.lexical;
|
|
58755
|
+
return Zi.info == "call" && (Zi.pos = (Zi.pos || 0) + 1), P(function(Yn, kn) {
|
|
58756
58756
|
return Yn == ue || kn == ue ? Y() : Y(te);
|
|
58757
58757
|
}, It);
|
|
58758
58758
|
}
|
|
@@ -58857,13 +58857,13 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58857
58857
|
if (te == "variable")
|
|
58858
58858
|
return ce(ue), P();
|
|
58859
58859
|
if (te == "spread") return P(Hi);
|
|
58860
|
-
if (te == "[") return yt(
|
|
58860
|
+
if (te == "[") return yt(Xi, "]");
|
|
58861
58861
|
if (te == "{") return yt(rr, "}");
|
|
58862
58862
|
}
|
|
58863
58863
|
function rr(te, ue) {
|
|
58864
58864
|
return te == "variable" && !R.stream.match(/^\s*:/, !1) ? (ce(ue), P(rn)) : (te == "variable" && (R.marked = "property"), te == "spread" ? P(Hi) : te == "}" ? Y() : te == "[" ? P(de, Ge("]"), Ge(":"), rr) : P(Ge(":"), Hi, rn));
|
|
58865
58865
|
}
|
|
58866
|
-
function
|
|
58866
|
+
function Xi() {
|
|
58867
58867
|
return Y(Hi, rn);
|
|
58868
58868
|
}
|
|
58869
58869
|
function rn(te, ue) {
|
|
@@ -58957,12 +58957,12 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58957
58957
|
return te == "string" ? P() : te == "(" ? Y(de) : te == "." ? Y(Wt) : Y($n, po, Hn);
|
|
58958
58958
|
}
|
|
58959
58959
|
function $n(te, ue) {
|
|
58960
|
-
return te == "{" ? yt($n, "}") : (te == "variable" && ce(ue), ue == "*" && (R.marked = "keyword"), P(
|
|
58960
|
+
return te == "{" ? yt($n, "}") : (te == "variable" && ce(ue), ue == "*" && (R.marked = "keyword"), P(Ji));
|
|
58961
58961
|
}
|
|
58962
58962
|
function po(te) {
|
|
58963
58963
|
if (te == ",") return P($n, po);
|
|
58964
58964
|
}
|
|
58965
|
-
function
|
|
58965
|
+
function Ji(te, ue) {
|
|
58966
58966
|
if (ue == "as")
|
|
58967
58967
|
return R.marked = "keyword", P($n);
|
|
58968
58968
|
}
|
|
@@ -59008,9 +59008,9 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
59008
59008
|
if (te.tokenize != A) return 0;
|
|
59009
59009
|
var mt = ue && ue.charAt(0), It = te.lexical, Dt;
|
|
59010
59010
|
if (!/^\s*else\b/.test(ue)) for (var fi = te.cc.length - 1; fi >= 0; --fi) {
|
|
59011
|
-
var
|
|
59012
|
-
if (
|
|
59013
|
-
else if (
|
|
59011
|
+
var Zi = te.cc[fi];
|
|
59012
|
+
if (Zi == it) It = It.prev;
|
|
59013
|
+
else if (Zi != or && Zi != ht) break;
|
|
59014
59014
|
}
|
|
59015
59015
|
for (; (It.type == "stat" || It.type == "form") && (mt == "}" || (Dt = te.cc[te.cc.length - 1]) && (Dt == Wt || Dt == G) && !/^[,\.=+\-*:?[\(]/.test(ue)); )
|
|
59016
59016
|
It = It.prev;
|
|
@@ -62283,10 +62283,10 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
62283
62283
|
if (!_i)
|
|
62284
62284
|
return;
|
|
62285
62285
|
wt && (wt.guid = wt.guid || X++), Nt[Ce] = _i.filter(function(Hi) {
|
|
62286
|
-
var rr = Hi[0],
|
|
62287
|
-
if (wt &&
|
|
62286
|
+
var rr = Hi[0], Xi = Hi[1];
|
|
62287
|
+
if (wt && Xi.guid !== wt.guid || !G(rr, $e))
|
|
62288
62288
|
return !0;
|
|
62289
|
-
ae.removeEventListener(Ce,
|
|
62289
|
+
ae.removeEventListener(Ce, Xi);
|
|
62290
62290
|
});
|
|
62291
62291
|
} else if (!$e || !$e.length)
|
|
62292
62292
|
for (Ce in Nt)
|
|
@@ -62301,8 +62301,8 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
62301
62301
|
return Ne(Nt);
|
|
62302
62302
|
}) : V(ce(ae), function(wt) {
|
|
62303
62303
|
var Nt = Fe(wt), _i = Nt[0], Hi = Nt[1];
|
|
62304
|
-
$e.each(function(rr,
|
|
62305
|
-
return Ne(
|
|
62304
|
+
$e.each(function(rr, Xi) {
|
|
62305
|
+
return Ne(Xi, _i, Hi, Ce);
|
|
62306
62306
|
});
|
|
62307
62307
|
}), this;
|
|
62308
62308
|
}, A.on = function(ae, Ce, $e, wt) {
|
|
@@ -62313,7 +62313,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
62313
62313
|
return this;
|
|
62314
62314
|
}
|
|
62315
62315
|
return $(Ce) && ($e = Ce, Ce = !1), V(ce(ae), function(Hi) {
|
|
62316
|
-
var rr = Fe(Hi),
|
|
62316
|
+
var rr = Fe(Hi), Xi = rr[0], rn = rr[1];
|
|
62317
62317
|
Nt.each(function(ds, or) {
|
|
62318
62318
|
var bo = function Uo(Nn) {
|
|
62319
62319
|
if (!(Nn.namespace && !G(rn, Nn.namespace.split(Pe)))) {
|
|
@@ -62326,10 +62326,10 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
62326
62326
|
}
|
|
62327
62327
|
Nn.namespace = Nn.namespace || "";
|
|
62328
62328
|
var Cr = $e.call(ar, Nn, Nn.data);
|
|
62329
|
-
wt && Ne(or,
|
|
62329
|
+
wt && Ne(or, Xi, rn, Uo), Cr === !1 && (Nn.preventDefault(), Nn.stopPropagation());
|
|
62330
62330
|
}
|
|
62331
62331
|
};
|
|
62332
|
-
bo.guid = $e.guid = $e.guid || X++, pe(or,
|
|
62332
|
+
bo.guid = $e.guid = $e.guid || X++, pe(or, Xi, rn, bo);
|
|
62333
62333
|
});
|
|
62334
62334
|
}), this;
|
|
62335
62335
|
}, A.one = function(ae, Ce, $e) {
|
|
@@ -63791,7 +63791,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
63791
63791
|
),
|
|
63792
63792
|
invert: () => (
|
|
63793
63793
|
/* reexport */
|
|
63794
|
-
|
|
63794
|
+
Xi
|
|
63795
63795
|
),
|
|
63796
63796
|
invoke: () => (
|
|
63797
63797
|
/* reexport */
|
|
@@ -63903,7 +63903,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
63903
63903
|
),
|
|
63904
63904
|
iteratee: () => (
|
|
63905
63905
|
/* reexport */
|
|
63906
|
-
|
|
63906
|
+
Ji
|
|
63907
63907
|
),
|
|
63908
63908
|
keys: () => (
|
|
63909
63909
|
/* reexport */
|
|
@@ -64083,7 +64083,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64083
64083
|
),
|
|
64084
64084
|
templateSettings: () => (
|
|
64085
64085
|
/* reexport */
|
|
64086
|
-
|
|
64086
|
+
Zi
|
|
64087
64087
|
),
|
|
64088
64088
|
throttle: () => (
|
|
64089
64089
|
/* reexport */
|
|
@@ -64208,7 +64208,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64208
64208
|
initial: () => vr,
|
|
64209
64209
|
inject: () => Ea,
|
|
64210
64210
|
intersection: () => bh,
|
|
64211
|
-
invert: () =>
|
|
64211
|
+
invert: () => Xi,
|
|
64212
64212
|
invoke: () => fp,
|
|
64213
64213
|
isArguments: () => at,
|
|
64214
64214
|
isArray: () => vt,
|
|
@@ -64236,7 +64236,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64236
64236
|
isUndefined: () => F,
|
|
64237
64237
|
isWeakMap: () => wt,
|
|
64238
64238
|
isWeakSet: () => _i,
|
|
64239
|
-
iteratee: () =>
|
|
64239
|
+
iteratee: () => Ji,
|
|
64240
64240
|
keys: () => Ni,
|
|
64241
64241
|
last: () => Cc,
|
|
64242
64242
|
lastIndexOf: () => Dn,
|
|
@@ -64281,7 +64281,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64281
64281
|
take: () => Qc,
|
|
64282
64282
|
tap: () => Ii,
|
|
64283
64283
|
template: () => zl,
|
|
64284
|
-
templateSettings: () =>
|
|
64284
|
+
templateSettings: () => Zi,
|
|
64285
64285
|
throttle: () => xo,
|
|
64286
64286
|
times: () => Di,
|
|
64287
64287
|
toArray: () => Ul,
|
|
@@ -64544,7 +64544,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64544
64544
|
Te[qe] = [ne[qe], W[ne[qe]]];
|
|
64545
64545
|
return Te;
|
|
64546
64546
|
}
|
|
64547
|
-
function
|
|
64547
|
+
function Xi(W) {
|
|
64548
64548
|
for (var ne = {}, xe = Ni(W), Te = 0, qe = xe.length; Te < qe; Te++)
|
|
64549
64549
|
ne[W[xe[Te]]] = xe[Te];
|
|
64550
64550
|
return ne;
|
|
@@ -64654,12 +64654,12 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64654
64654
|
function po(W, ne, xe) {
|
|
64655
64655
|
return W == null ? Sn : Ae(W) ? $n(W, ne, xe) : L(W) && !vt(W) ? Rt(W) : br(W);
|
|
64656
64656
|
}
|
|
64657
|
-
function
|
|
64657
|
+
function Ji(W, ne) {
|
|
64658
64658
|
return po(W, ne, 1 / 0);
|
|
64659
64659
|
}
|
|
64660
|
-
ie.iteratee =
|
|
64660
|
+
ie.iteratee = Ji;
|
|
64661
64661
|
function Hn(W, ne, xe) {
|
|
64662
|
-
return ie.iteratee !==
|
|
64662
|
+
return ie.iteratee !== Ji ? ie.iteratee(W, ne) : po(W, ne, xe);
|
|
64663
64663
|
}
|
|
64664
64664
|
function ta(W, ne, xe) {
|
|
64665
64665
|
ne = Hn(ne, xe);
|
|
@@ -64703,7 +64703,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64703
64703
|
'"': """,
|
|
64704
64704
|
"'": "'",
|
|
64705
64705
|
"`": "`"
|
|
64706
|
-
}, It = ue(mt), Dt =
|
|
64706
|
+
}, It = ue(mt), Dt = Xi(mt), fi = ue(Dt), Zi = ie.templateSettings = {
|
|
64707
64707
|
evaluate: /<%([\s\S]+?)%>/g,
|
|
64708
64708
|
interpolate: /<%=([\s\S]+?)%>/g,
|
|
64709
64709
|
escape: /<%-([\s\S]+?)%>/g
|
|
@@ -77785,12 +77785,12 @@ function sTt(i, e) {
|
|
|
77785
77785
|
}, ie;
|
|
77786
77786
|
}
|
|
77787
77787
|
function u(le, Oe) {
|
|
77788
|
-
var ie = d(Oe, le), yt = ie.flat, je = ie.showSelectionPalette, Tt = ie.localStorageKey, Xt = ie.theme, ut = ie.callbacks, Bt = k(Po, 10), gi = !1, Ui = !1, Ot = !0, nn = 0, _r = 0, Vr = 0, ae = 0, Ce = 0, $e = 0, wt = 0, Nt = 0, _i = 0, Hi = 0, rr = 1,
|
|
77788
|
+
var ie = d(Oe, le), yt = ie.flat, je = ie.showSelectionPalette, Tt = ie.localStorageKey, Xt = ie.theme, ut = ie.callbacks, Bt = k(Po, 10), gi = !1, Ui = !1, Ot = !0, nn = 0, _r = 0, Vr = 0, ae = 0, Ce = 0, $e = 0, wt = 0, Nt = 0, _i = 0, Hi = 0, rr = 1, Xi = [], rn = [], ds = {}, or = ie.selectionPalette.slice(0), bo = ie.maxSelectionSize, Uo = "sp-dragging", Nn = null, ar = le.ownerDocument;
|
|
77789
77789
|
ar.body;
|
|
77790
|
-
var en = i(le), Cr = !1, Ii = i(s, ar).addClass(Xt), ka = Ii.find(".sp-picker-container"), Ur = Ii.find(".sp-color"), qr = Ii.find(".sp-dragger"), fr = Ii.find(".sp-hue"), qo = Ii.find(".sp-slider"), Sn = Ii.find(".sp-alpha-inner"), Rt = Ii.find(".sp-alpha"), br = Ii.find(".sp-alpha-handle"), $n = Ii.find(".sp-input"), po = Ii.find(".sp-palette"),
|
|
77790
|
+
var en = i(le), Cr = !1, Ii = i(s, ar).addClass(Xt), ka = Ii.find(".sp-picker-container"), Ur = Ii.find(".sp-color"), qr = Ii.find(".sp-dragger"), fr = Ii.find(".sp-hue"), qo = Ii.find(".sp-slider"), Sn = Ii.find(".sp-alpha-inner"), Rt = Ii.find(".sp-alpha"), br = Ii.find(".sp-alpha-handle"), $n = Ii.find(".sp-input"), po = Ii.find(".sp-palette"), Ji = Ii.find(".sp-initial"), Hn = Ii.find(".sp-cancel"), ta = Ii.find(".sp-clear"), _a = Ii.find(".sp-choose"), Et = Ii.find(".sp-palette-toggle"), Di = en.is("input"), ia = Di && en.attr("type") === "color" && T(), te = Di && !yt, ue = te ? i(a).addClass(Xt).addClass(ie.className).addClass(ie.replacerClassName) : i([]), mt = te ? ue : en, It = ue.find(".sp-preview-inner"), Dt = ie.color || Di && en.val(), fi = !1, Zi = ie.preferredFormat, Yn = !ie.showButtons || ie.clickoutFiresChange, kn = !Dt, na = ie.allowEmpty && !ia;
|
|
77791
77791
|
function Fl() {
|
|
77792
77792
|
if (ie.showPaletteOnly && (ie.showPalette = !0), Et.text(ie.showPaletteOnly ? ie.togglePaletteMoreText : ie.togglePaletteLessText), ie.palette) {
|
|
77793
|
-
|
|
77793
|
+
Xi = ie.palette.slice(0), rn = i.isArray(Xi[0]) ? Xi : [Xi], ds = {};
|
|
77794
77794
|
for (var Si = 0; Si < rn.length; Si++)
|
|
77795
77795
|
for (var Ti = 0; Ti < rn[Si].length; Ti++) {
|
|
77796
77796
|
var Dn = $(rn[Si][Ti]).toRgbString();
|
|
@@ -77833,12 +77833,12 @@ function sTt(i, e) {
|
|
|
77833
77833
|
}
|
|
77834
77834
|
var gs = !Nn || Nn === "x", Es = !Nn || Nn === "y";
|
|
77835
77835
|
gs && (_i = parseFloat(Bi / nn)), Es && (Hi = parseFloat((_r - Br) / _r)), kn = !1, ie.showAlpha || (rr = 1), Mo();
|
|
77836
|
-
}, $d, hn), Dt ? (Ca(Dt), Sa(),
|
|
77836
|
+
}, $d, hn), Dt ? (Ca(Dt), Sa(), Zi = ie.preferredFormat || $(Dt).getFormat(), Ts(Dt)) : Sa(), yt && wo();
|
|
77837
77837
|
function Ti(Bi) {
|
|
77838
77838
|
return Bi.data && Bi.data.ignore ? (Ca(i(Bi.target).closest(".sp-thumb-el").data("color")), Mo()) : (Ca(i(Bi.target).closest(".sp-thumb-el").data("color")), Mo(), ie.hideAfterPaletteSelect && (us(!0), Va())), !1;
|
|
77839
77839
|
}
|
|
77840
77840
|
var Dn = r ? "mousedown.spectrum" : "click.spectrum touchstart.spectrum";
|
|
77841
|
-
po.delegate(".sp-thumb-el", Dn, Ti),
|
|
77841
|
+
po.delegate(".sp-thumb-el", Dn, Ti), Ji.delegate(".sp-thumb-el:nth-child(1)", Dn, { ignore: !0 }, Ti);
|
|
77842
77842
|
}
|
|
77843
77843
|
function zl() {
|
|
77844
77844
|
if (Tt && window.localStorage) {
|
|
@@ -77886,7 +77886,7 @@ function sTt(i, e) {
|
|
|
77886
77886
|
function Rd() {
|
|
77887
77887
|
if (ie.showInitial) {
|
|
77888
77888
|
var Si = fi, Ti = xo();
|
|
77889
|
-
|
|
77889
|
+
Ji.html(l([Si, Ti], Ti, "sp-palette-row-initial", ie));
|
|
77890
77890
|
}
|
|
77891
77891
|
}
|
|
77892
77892
|
function $d() {
|
|
@@ -77937,7 +77937,7 @@ function sTt(i, e) {
|
|
|
77937
77937
|
return;
|
|
77938
77938
|
}
|
|
77939
77939
|
var Dn, Bi;
|
|
77940
|
-
!Si && na ? kn = !0 : (kn = !1, Ot = !Si, Dn = $(Si), Bi = Dn.toHsv(), Nt = Bi.h % 360 / 360, _i = Bi.s, Hi = Bi.v, rr = Bi.a), Sa(), Dn && Dn.isValid() && !Ti && (
|
|
77940
|
+
!Si && na ? kn = !0 : (kn = !1, Ot = !Si, Dn = $(Si), Bi = Dn.toHsv(), Nt = Bi.h % 360 / 360, _i = Bi.s, Hi = Bi.v, rr = Bi.a), Sa(), Dn && Dn.isValid() && !Ti && (Zi = ie.preferredFormat || Dn.getFormat());
|
|
77941
77941
|
}
|
|
77942
77942
|
function xo(Si) {
|
|
77943
77943
|
return Si = Si || {}, na && kn ? null : $.fromRatio({
|
|
@@ -77945,7 +77945,7 @@ function sTt(i, e) {
|
|
|
77945
77945
|
s: _i,
|
|
77946
77946
|
v: Hi,
|
|
77947
77947
|
a: Math.round(rr * 100) / 100
|
|
77948
|
-
}, { format: Si.format ||
|
|
77948
|
+
}, { format: Si.format || Zi });
|
|
77949
77949
|
}
|
|
77950
77950
|
function Qr() {
|
|
77951
77951
|
return !$n.hasClass("sp-validation-error");
|
|
@@ -77957,7 +77957,7 @@ function sTt(i, e) {
|
|
|
77957
77957
|
$n.removeClass("sp-validation-error"), Js();
|
|
77958
77958
|
var Si = $.fromRatio({ h: Nt, s: 1, v: 1 });
|
|
77959
77959
|
Ur.css("background-color", Si.toHexString());
|
|
77960
|
-
var Ti =
|
|
77960
|
+
var Ti = Zi;
|
|
77961
77961
|
rr < 1 && !(rr === 0 && Ti === "name") && (Ti === "hex" || Ti === "hex3" || Ti === "hex6" || Ti === "name") && (Ti = "rgb");
|
|
77962
77962
|
var Dn = xo({ format: Ti }), Bi = "";
|
|
77963
77963
|
if (It.removeClass("sp-clear-display"), It.css("background-color", "transparent"), !Dn && na)
|
|
@@ -77997,7 +77997,7 @@ function sTt(i, e) {
|
|
|
77997
77997
|
}
|
|
77998
77998
|
function us(Si) {
|
|
77999
77999
|
var Ti = xo(), Dn = "", Bi = Ot ? !0 : !$.equals(Ti, fi);
|
|
78000
|
-
Ti && (Dn = Ti.toString(
|
|
78000
|
+
Ti && (Dn = Ti.toString(Zi), !gi && Ts(Ti)), Di && en.val(Dn), Si && Bi && (ut.change(Ti), en.trigger("change", [Ti]));
|
|
78001
78001
|
}
|
|
78002
78002
|
function Po() {
|
|
78003
78003
|
gi && (nn = Ur.width(), _r = Ur.height(), Vr = qr.height(), fr.width(), ae = fr.height(), wt = qo.height(), Ce = Rt.width(), $e = br.width(), yt || (Ii.css("position", "absolute"), ie.offset ? Ii.offset(ie.offset) : Ii.offset(h(Ii, mt))), Js(), ie.showPalette && jl(), en.trigger("reflow.spectrum"));
|
|
@@ -78010,7 +78010,7 @@ function sTt(i, e) {
|
|
|
78010
78010
|
return i.extend({}, ie);
|
|
78011
78011
|
if (Ti === e)
|
|
78012
78012
|
return ie[Si];
|
|
78013
|
-
ie[Si] = Ti, Si === "preferredFormat" && (
|
|
78013
|
+
ie[Si] = Ti, Si === "preferredFormat" && (Zi = ie.preferredFormat), Fl();
|
|
78014
78014
|
}
|
|
78015
78015
|
function xc() {
|
|
78016
78016
|
Cr = !1, en.attr("disabled", !1), mt.removeClass("sp-disabled");
|
|
@@ -93002,6 +93002,9 @@ const eOt = (i) => {
|
|
|
93002
93002
|
{
|
|
93003
93003
|
controlType: "info-text",
|
|
93004
93004
|
id: "toolbar-activate-languages-note",
|
|
93005
|
+
infoTextConfigs: {
|
|
93006
|
+
color: "var(--cx-color-neutral-500)"
|
|
93007
|
+
},
|
|
93005
93008
|
label: i.term("activateLanguagesInSpaceSettingsNote"),
|
|
93006
93009
|
translateGroup: i.term("toolbar"),
|
|
93007
93010
|
type: "decorative"
|
|
@@ -93010,6 +93013,9 @@ const eOt = (i) => {
|
|
|
93010
93013
|
controlType: "info-text",
|
|
93011
93014
|
helpText: i.term("translationLimitedFieldsNote"),
|
|
93012
93015
|
id: "toolbar-translation-limited-fields-note",
|
|
93016
|
+
infoTextConfigs: {
|
|
93017
|
+
color: "var(--cx-color-neutral-500)"
|
|
93018
|
+
},
|
|
93013
93019
|
translateGroup: i.term("toolbar"),
|
|
93014
93020
|
type: "decorative"
|
|
93015
93021
|
},
|
|
@@ -98148,7 +98154,7 @@ let Jo = class extends ui {
|
|
|
98148
98154
|
}
|
|
98149
98155
|
render() {
|
|
98150
98156
|
const i = this.limitedBlocks.length ? this.blocks.filter((e) => this.limitedBlocks.includes(e.id)) : this.blocks;
|
|
98151
|
-
return N`<cx-dialog class="block-picker" use-overlay-scrollbar .boundary=${this.boundary} @cx-request-close=${this.handleClose} @cx-after-hide=${this.resetState} style=${
|
|
98157
|
+
return N`<cx-dialog class="block-picker" use-overlay-scrollbar .boundary=${this.boundary} @cx-request-close=${this.handleClose} @cx-after-hide=${this.resetState} style=${Ki({
|
|
98152
98158
|
/** count * (card width + gap) + 2 padding */
|
|
98153
98159
|
"--max-width": `${Math.min(this.itemCount * (this.cardWidth + 25) + 40, 1056)}px`
|
|
98154
98160
|
})}><cx-space slot="label" direction="vertical" spacing="2x-small"><cx-typography variant="h4">${Ze(
|
|
@@ -116081,7 +116087,7 @@ let dr = class extends ui {
|
|
|
116081
116087
|
hasError: this.errorDataMap.has(t.id),
|
|
116082
116088
|
loading: !t.src
|
|
116083
116089
|
}));
|
|
116084
|
-
return N`<cx-input class="gallery-picker__input" label=${this.localize.term("choose")} name=${this.name} value=${JSON.stringify(this.value ?? [])}></cx-input><div part="overlay" class="gallery-picker__overlay" tabindex="-1"><div part="masonry-wrapper" style=${
|
|
116090
|
+
return N`<cx-input class="gallery-picker__input" label=${this.localize.term("choose")} name=${this.name} value=${JSON.stringify(this.value ?? [])}></cx-input><div part="overlay" class="gallery-picker__overlay" tabindex="-1"><div part="masonry-wrapper" style=${Ki({ maxHeight: this.maxMasonryHeight })} class="gallery-picker__masonry-wrapper" tabindex="-1"><cx-masonry class="gallery-picker__masonry" cols=${this.maxColumns} id-key=${this.sourceVariant === pn.Manual ? "rawId" : "id"} row-height=${this.rowHeight} spacing="medium" ?sortable=${this.sourceVariant === pn.Manual} .data=${e} .actions=${i} @cx-edit-item=${this.handleEditItem} @cx-delete-item=${this.handleDeleteItem} @cx-reorder=${this.handleReorder}></cx-masonry></div>${Ze(
|
|
116085
116091
|
this.src ? this.hasFinishedFetchingData && this.masonryData.length === 0 : this.masonryData.length === 0,
|
|
116086
116092
|
() => Ze(
|
|
116087
116093
|
this.sourceVariant === pn.Api,
|
|
@@ -116520,13 +116526,15 @@ class N7t {
|
|
|
116520
116526
|
}
|
|
116521
116527
|
renderInfoText(e) {
|
|
116522
116528
|
let t = "";
|
|
116523
|
-
|
|
116529
|
+
typeof e.helpText == "function" ? t = e.helpText(this.host.blockAttributes) : e.helpText && (t = e.helpText);
|
|
116530
|
+
const n = e.infoTextConfigs?.color, r = Ki(n ? { "--color": n } : {});
|
|
116531
|
+
return N`<cx-space class="config-form__info-text" direction="vertical" spacing="x-small" wrap="nowrap">${Ze(
|
|
116524
116532
|
e.label,
|
|
116525
|
-
() => N`<cx-typography variant="body3">${e.label}</cx-typography>`
|
|
116533
|
+
() => N`<cx-typography variant="body3" style=${r}>${e.label}</cx-typography>`
|
|
116526
116534
|
)}
|
|
116527
116535
|
${Ze(
|
|
116528
116536
|
t,
|
|
116529
|
-
() => N`<cx-typography variant="body3" class="config-form__help-text">${t}</cx-typography>`
|
|
116537
|
+
() => N`<cx-typography variant="body3" class="config-form__help-text" style=${r}>${t}</cx-typography>`
|
|
116530
116538
|
)}</cx-space>`;
|
|
116531
116539
|
}
|
|
116532
116540
|
renderControl({
|
|
@@ -116885,7 +116893,7 @@ class N7t {
|
|
|
116885
116893
|
await o(u.target.value);
|
|
116886
116894
|
};
|
|
116887
116895
|
let d = l.radioGroupConfigs?.gap;
|
|
116888
|
-
return d || (d = l.radioGroupConfigs?.horizontal ? "var(--cx-spacing-medium)" : "var(--cx-spacing-x-small)"), N`<cx-radio-group name=${a} value=${n ?? ""} size="medium" ?horizontal=${l.radioGroupConfigs?.horizontal ?? !1} style=${
|
|
116896
|
+
return d || (d = l.radioGroupConfigs?.horizontal ? "var(--cx-spacing-medium)" : "var(--cx-spacing-x-small)"), N`<cx-radio-group name=${a} value=${n ?? ""} size="medium" ?horizontal=${l.radioGroupConfigs?.horizontal ?? !1} style=${Ki({
|
|
116889
116897
|
"--radio-group-gap": d
|
|
116890
116898
|
})} @cx-change=${c}>${mi(
|
|
116891
116899
|
l.options ?? [],
|
|
@@ -119881,7 +119889,7 @@ let y8t = class {
|
|
|
119881
119889
|
this.element.bubbleMenu && (this.element.bubbleMenu.active = !1);
|
|
119882
119890
|
}
|
|
119883
119891
|
destroy() {
|
|
119884
|
-
this.element.removeEventListener("mousedown", this.mousedownHandler, {
|
|
119892
|
+
this.hide(), this.element.removeEventListener("mousedown", this.mousedownHandler, {
|
|
119885
119893
|
capture: !0
|
|
119886
119894
|
}), this.element.removeEventListener("pointerdown", this.mousedownHandler, {
|
|
119887
119895
|
capture: !0
|
|
@@ -139089,7 +139097,7 @@ let Gn = class extends ui {
|
|
|
139089
139097
|
}, r = (o) => {
|
|
139090
139098
|
o.detail.source === "overlay" && o.preventDefault();
|
|
139091
139099
|
};
|
|
139092
|
-
return N`<cx-dialog ${ju(this.linkDialogRef)} label="Insert/Edit Link" .boundary=${this.boundary} style=${
|
|
139100
|
+
return N`<cx-dialog ${ju(this.linkDialogRef)} label="Insert/Edit Link" .boundary=${this.boundary} style=${Ki({
|
|
139093
139101
|
"--width": "800px"
|
|
139094
139102
|
})} @cx-request-close=${r}><cx-space direction="vertical" wrap="nowrap"><cx-input label="Display text" ${ju(this.displayTextInputRef)}></cx-input><cx-input label="Link URL" ${ju(this.linkUrlInputRef)} @cx-change=${n}>${Ze(
|
|
139095
139103
|
this.isInvalidUrl,
|
|
@@ -143662,7 +143670,7 @@ function KFt() {
|
|
|
143662
143670
|
function rr(_) {
|
|
143663
143671
|
return new Ot(pe, !1, _);
|
|
143664
143672
|
}
|
|
143665
|
-
function
|
|
143673
|
+
function Xi(_, E) {
|
|
143666
143674
|
var B = ut;
|
|
143667
143675
|
return function() {
|
|
143668
143676
|
var U = Nt(), Z = ut;
|
|
@@ -143841,7 +143849,7 @@ function KFt() {
|
|
|
143841
143849
|
Promise === wi && rn.echoes === 0 ? bo === 0 ? _() : enqueueNativeMicroTask(_) : setTimeout(_, 0);
|
|
143842
143850
|
}
|
|
143843
143851
|
("" + $i).indexOf("[native code]") === -1 && (en = Cr = de);
|
|
143844
|
-
var Rt = Ot.reject, br = "", $n = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", po = "String expected.",
|
|
143852
|
+
var Rt = Ot.reject, br = "", $n = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", po = "String expected.", Ji = [], Hn = "__dbnames", ta = "readonly", _a = "readwrite";
|
|
143845
143853
|
function Et(_, E) {
|
|
143846
143854
|
return _ ? E ? function() {
|
|
143847
143855
|
return _.apply(this, arguments) && E.apply(this, arguments);
|
|
@@ -144159,7 +144167,7 @@ function KFt() {
|
|
|
144159
144167
|
}, fi);
|
|
144160
144168
|
function fi() {
|
|
144161
144169
|
}
|
|
144162
|
-
function
|
|
144170
|
+
function Zi(_) {
|
|
144163
144171
|
function E(fe, Se) {
|
|
144164
144172
|
if (Se) {
|
|
144165
144173
|
for (var Be = arguments.length, He = new Array(Be - 1); --Be; ) He[Be - 1] = arguments[Be];
|
|
@@ -144242,7 +144250,7 @@ function KFt() {
|
|
|
144242
144250
|
return wc(zl(_, U, B), Et(_.algorithm, Z), E, !_.keysOnly && _.valueMapper);
|
|
144243
144251
|
}
|
|
144244
144252
|
function wc(_, E, B, U) {
|
|
144245
|
-
var Z =
|
|
144253
|
+
var Z = Xi(U ? function(oe, fe, Se) {
|
|
144246
144254
|
return B(U(oe), fe, Se);
|
|
144247
144255
|
} : B);
|
|
144248
144256
|
return _.then(function(oe) {
|
|
@@ -144742,14 +144750,14 @@ function KFt() {
|
|
|
144742
144750
|
function Qr() {
|
|
144743
144751
|
}
|
|
144744
144752
|
function Mo(_) {
|
|
144745
|
-
return
|
|
144753
|
+
return Xi(function(E) {
|
|
144746
144754
|
return Sa(E), _(E.target.error), !1;
|
|
144747
144755
|
});
|
|
144748
144756
|
}
|
|
144749
144757
|
function Sa(_) {
|
|
144750
144758
|
_.stopPropagation && _.stopPropagation(), _.preventDefault && _.preventDefault();
|
|
144751
144759
|
}
|
|
144752
|
-
var Js = "storagemutated", us = "x-storagemutated-1", Po =
|
|
144760
|
+
var Js = "storagemutated", us = "x-storagemutated-1", Po = Zi(null, Js), mp = (Ta.prototype._lock = function() {
|
|
144753
144761
|
return A(!ut.global), ++this._reculock, this._reculock !== 1 || ut.global || (ut.lockOwnerFor = this), this;
|
|
144754
144762
|
}, Ta.prototype._unlock = function() {
|
|
144755
144763
|
if (A(!ut.global), --this._reculock == 0) for (ut.global || (ut.lockOwnerFor = null); 0 < this._blockedFuncs.length && !this._locked(); ) {
|
|
@@ -144775,11 +144783,11 @@ function KFt() {
|
|
|
144775
144783
|
throw new Ge.OpenFailed(U);
|
|
144776
144784
|
}
|
|
144777
144785
|
if (!this.active) throw new Ge.TransactionInactive();
|
|
144778
|
-
return A(this._completion._state === null), (_ = this.idbtrans = _ || (this.db.core || B).transaction(this.storeNames, this.mode, { durability: this.chromeTransactionDurability })).onerror =
|
|
144786
|
+
return A(this._completion._state === null), (_ = this.idbtrans = _ || (this.db.core || B).transaction(this.storeNames, this.mode, { durability: this.chromeTransactionDurability })).onerror = Xi(function(Z) {
|
|
144779
144787
|
Sa(Z), E._reject(_.error);
|
|
144780
|
-
}), _.onabort =
|
|
144788
|
+
}), _.onabort = Xi(function(Z) {
|
|
144781
144789
|
Sa(Z), E.active && E._reject(new Ge.Abort(_.error)), E.active = !1, E.on("abort").fire(Z);
|
|
144782
|
-
}), _.oncomplete =
|
|
144790
|
+
}), _.oncomplete = Xi(function() {
|
|
144783
144791
|
E.active = !1, E._resolve(), "mutatedParts" in _ && Po.storagemutated.fire(_.mutatedParts);
|
|
144784
144792
|
}), this;
|
|
144785
144793
|
}, Ta.prototype._promise = function(_, E, B) {
|
|
@@ -144819,9 +144827,9 @@ function KFt() {
|
|
|
144819
144827
|
var Z = B._waitingFor;
|
|
144820
144828
|
return new Ot(function(oe, fe) {
|
|
144821
144829
|
U.then(function(Se) {
|
|
144822
|
-
return B._waitingQueue.push(
|
|
144830
|
+
return B._waitingQueue.push(Xi(oe.bind(null, Se)));
|
|
144823
144831
|
}, function(Se) {
|
|
144824
|
-
return B._waitingQueue.push(
|
|
144832
|
+
return B._waitingQueue.push(Xi(fe.bind(null, Se)));
|
|
144825
144833
|
}).finally(function() {
|
|
144826
144834
|
B._waitingFor === Z && (B._waitingFor = null);
|
|
144827
144835
|
});
|
|
@@ -144892,7 +144900,7 @@ function KFt() {
|
|
|
144892
144900
|
return { name: Ke, schema: Qe, mutate: function(Xe) {
|
|
144893
144901
|
var Ve = Xe.trans, ot = Xe.type, ct = Xe.keys, pt = Xe.values, Ct = Xe.range;
|
|
144894
144902
|
return new Promise(function(qt, ei) {
|
|
144895
|
-
qt =
|
|
144903
|
+
qt = Xi(qt);
|
|
144896
144904
|
var $t = Ve.objectStore(Ke), Mt = $t.keyPath == null, ri = ot === "put" || ot === "add";
|
|
144897
144905
|
if (!ri && ot !== "delete" && ot !== "deleteRange") throw new Error("Invalid operation type: " + ot);
|
|
144898
144906
|
var Jt, xi = (ct || pt || { length: 1 }).length;
|
|
@@ -144924,7 +144932,7 @@ function KFt() {
|
|
|
144924
144932
|
}, getMany: function(Xe) {
|
|
144925
144933
|
var Ve = Xe.trans, ot = Xe.keys;
|
|
144926
144934
|
return new Promise(function(ct, pt) {
|
|
144927
|
-
ct =
|
|
144935
|
+
ct = Xi(ct);
|
|
144928
144936
|
for (var Ct, qt = Ve.objectStore(Ke), ei = ot.length, $t = new Array(ei), Mt = 0, ri = 0, Jt = function(_n) {
|
|
144929
144937
|
_n = _n.target, $t[_n._pos] = _n.result, ++ri === Mt && ct($t);
|
|
144930
144938
|
}, xi = Mo(pt), dn = 0; dn < ei; ++dn) ot[dn] != null && ((Ct = qt.get(ot[dn]))._pos = dn, Ct.onsuccess = Jt, Ct.onerror = xi, ++Mt);
|
|
@@ -144933,7 +144941,7 @@ function KFt() {
|
|
|
144933
144941
|
}, get: function(Xe) {
|
|
144934
144942
|
var Ve = Xe.trans, ot = Xe.key;
|
|
144935
144943
|
return new Promise(function(ct, pt) {
|
|
144936
|
-
ct =
|
|
144944
|
+
ct = Xi(ct);
|
|
144937
144945
|
var Ct = Ve.objectStore(Ke).get(ot);
|
|
144938
144946
|
Ct.onsuccess = function(qt) {
|
|
144939
144947
|
return ct(qt.target.result);
|
|
@@ -144941,7 +144949,7 @@ function KFt() {
|
|
|
144941
144949
|
});
|
|
144942
144950
|
}, query: (ze = He, function(Xe) {
|
|
144943
144951
|
return new Promise(function(Ve, ot) {
|
|
144944
|
-
Ve =
|
|
144952
|
+
Ve = Xi(Ve);
|
|
144945
144953
|
var ct, pt, Ct, Mt = Xe.trans, qt = Xe.values, ei = Xe.limit, Jt = Xe.query, $t = ei === 1 / 0 ? void 0 : ei, ri = Jt.index, Jt = Jt.range, Mt = Mt.objectStore(Ke), ri = ri.isPrimaryKey ? Mt : Mt.index(ri.name), Jt = U(Jt);
|
|
144946
144954
|
if (ei === 0) return Ve({ result: [] });
|
|
144947
144955
|
ze ? (($t = qt ? ri.getAll(Jt, $t) : ri.getAllKeys(Jt, $t)).onsuccess = function(xi) {
|
|
@@ -144954,15 +144962,15 @@ function KFt() {
|
|
|
144954
144962
|
}), openCursor: function(Xe) {
|
|
144955
144963
|
var Ve = Xe.trans, ot = Xe.values, ct = Xe.query, pt = Xe.reverse, Ct = Xe.unique;
|
|
144956
144964
|
return new Promise(function(qt, ei) {
|
|
144957
|
-
qt =
|
|
144965
|
+
qt = Xi(qt);
|
|
144958
144966
|
var ri = ct.index, $t = ct.range, Mt = Ve.objectStore(Ke), Mt = ri.isPrimaryKey ? Mt : Mt.index(ri.name), ri = pt ? Ct ? "prevunique" : "prev" : Ct ? "nextunique" : "next", Jt = !ot && "openKeyCursor" in Mt ? Mt.openKeyCursor(U($t), ri) : Mt.openCursor(U($t), ri);
|
|
144959
|
-
Jt.onerror = Mo(ei), Jt.onsuccess =
|
|
144967
|
+
Jt.onerror = Mo(ei), Jt.onsuccess = Xi(function(xi) {
|
|
144960
144968
|
var dn, _n, un, As, sn = Jt.result;
|
|
144961
144969
|
sn ? (sn.___id = ++Dn, sn.done = !1, dn = sn.continue.bind(sn), _n = (_n = sn.continuePrimaryKey) && _n.bind(sn), un = sn.advance.bind(sn), As = function() {
|
|
144962
144970
|
throw new Error("Cursor not stopped");
|
|
144963
144971
|
}, sn.trans = Ve, sn.stop = sn.continue = sn.continuePrimaryKey = sn.advance = function() {
|
|
144964
144972
|
throw new Error("Cursor not started");
|
|
144965
|
-
}, sn.fail =
|
|
144973
|
+
}, sn.fail = Xi(ei), sn.next = function() {
|
|
144966
144974
|
var Go = this, qa = 1;
|
|
144967
144975
|
return this.start(function() {
|
|
144968
144976
|
return qa-- ? Go.continue() : Go.stop();
|
|
@@ -144981,11 +144989,11 @@ function KFt() {
|
|
|
144981
144989
|
}, sn.stop();
|
|
144982
144990
|
}
|
|
144983
144991
|
var wh = new Promise(function(Wa, Vd) {
|
|
144984
|
-
Wa =
|
|
144992
|
+
Wa = Xi(Wa), Jt.onerror = Mo(Vd), sn.fail = Vd, sn.stop = function(Hg) {
|
|
144985
144993
|
sn.stop = sn.continue = sn.continuePrimaryKey = sn.advance = As, Wa(Hg);
|
|
144986
144994
|
};
|
|
144987
144995
|
});
|
|
144988
|
-
return Jt.onsuccess =
|
|
144996
|
+
return Jt.onsuccess = Xi(function(Wa) {
|
|
144989
144997
|
Jt.onsuccess = qa, qa();
|
|
144990
144998
|
}), sn.continue = dn, sn.continuePrimaryKey = _n, sn.advance = un, qa(), wh;
|
|
144991
144999
|
}, qt(sn)) : qt(null);
|
|
@@ -144995,7 +145003,7 @@ function KFt() {
|
|
|
144995
145003
|
var Ve = Xe.query, ot = Xe.trans, ct = Ve.index, pt = Ve.range;
|
|
144996
145004
|
return new Promise(function(Ct, qt) {
|
|
144997
145005
|
var ei = ot.objectStore(Ke), $t = ct.isPrimaryKey ? ei : ei.index(ct.name), ei = U(pt), $t = ei ? $t.count(ei) : $t.count();
|
|
144998
|
-
$t.onsuccess =
|
|
145006
|
+
$t.onsuccess = Xi(function(Mt) {
|
|
144999
145007
|
return Ct(Mt.target.result);
|
|
145000
145008
|
}), $t.onerror = Mo(qt);
|
|
145001
145009
|
});
|
|
@@ -145381,12 +145389,12 @@ function KFt() {
|
|
|
145381
145389
|
if (fe(), !B) throw new Ge.MissingAPI();
|
|
145382
145390
|
var Ke = _.name, Xe = E.autoSchema || !Z ? B.open(Ke) : B.open(Ke, Z);
|
|
145383
145391
|
if (!Xe) throw new Ge.MissingAPI();
|
|
145384
|
-
Xe.onerror = Mo(ze), Xe.onblocked =
|
|
145392
|
+
Xe.onerror = Mo(ze), Xe.onblocked = Xi(_._fireOnBlocked), Xe.onupgradeneeded = Xi(function(Ve) {
|
|
145385
145393
|
var ot;
|
|
145386
|
-
Ye = Xe.transaction, E.autoSchema && !_._options.allowEmptyDB ? (Xe.onerror = Sa, Ye.abort(), Xe.result.close(), (ot = B.deleteDatabase(Ke)).onsuccess = ot.onerror =
|
|
145394
|
+
Ye = Xe.transaction, E.autoSchema && !_._options.allowEmptyDB ? (Xe.onerror = Sa, Ye.abort(), Xe.result.close(), (ot = B.deleteDatabase(Ke)).onsuccess = ot.onerror = Xi(function() {
|
|
145387
145395
|
ze(new Ge.NoSuchDatabase("Database ".concat(Ke, " doesnt exist")));
|
|
145388
145396
|
})) : (Ye.onerror = Mo(ze), Ve = Ve.oldVersion > Math.pow(2, 62) ? 0 : Ve.oldVersion, Ie = Ve < 1, _.idbdb = Xe.result, oe && Vl(_, Ye), Es(_, Ve / 10, Ye, ze));
|
|
145389
|
-
}, ze), Xe.onsuccess =
|
|
145397
|
+
}, ze), Xe.onsuccess = Xi(function() {
|
|
145390
145398
|
Ye = null;
|
|
145391
145399
|
var Ve, ot, ct, pt, Ct, qt = _.idbdb = Xe.result, ei = T(qt.objectStoreNames);
|
|
145392
145400
|
if (0 < ei.length) try {
|
|
@@ -145398,9 +145406,9 @@ function KFt() {
|
|
|
145398
145406
|
Wo(_, $t);
|
|
145399
145407
|
} catch {
|
|
145400
145408
|
}
|
|
145401
|
-
|
|
145409
|
+
Ji.push(_), qt.onversionchange = Xi(function(Mt) {
|
|
145402
145410
|
E.vcFired = !0, _.on("versionchange").fire(Mt);
|
|
145403
|
-
}), qt.onclose =
|
|
145411
|
+
}), qt.onclose = Xi(function(Mt) {
|
|
145404
145412
|
_.on("close").fire(Mt);
|
|
145405
145413
|
}), Ie && (Ct = _._deps, $t = Ke, qt = Ct.indexedDB, Ct = Ct.IDBKeyRange, mh(qt) || $t === Hn || gh(qt, Ct).put({ name: $t }).catch(de)), Qe();
|
|
145406
145414
|
}, ze);
|
|
@@ -145943,8 +145951,8 @@ function KFt() {
|
|
|
145943
145951
|
return $g(_);
|
|
145944
145952
|
});
|
|
145945
145953
|
}, lt.prototype._close = function() {
|
|
145946
|
-
var _ = this._state, E =
|
|
145947
|
-
if (0 <= E &&
|
|
145954
|
+
var _ = this._state, E = Ji.indexOf(this);
|
|
145955
|
+
if (0 <= E && Ji.splice(E, 1), this.idbdb) {
|
|
145948
145956
|
try {
|
|
145949
145957
|
this.idbdb.close();
|
|
145950
145958
|
} catch {
|
|
@@ -145967,7 +145975,7 @@ function KFt() {
|
|
|
145967
145975
|
function fe() {
|
|
145968
145976
|
E.close(_);
|
|
145969
145977
|
var Se = E._deps.indexedDB.deleteDatabase(E.name);
|
|
145970
|
-
Se.onsuccess =
|
|
145978
|
+
Se.onsuccess = Xi(function() {
|
|
145971
145979
|
var Be, He, Ye;
|
|
145972
145980
|
Be = E._deps, He = E.name, Ye = Be.indexedDB, Be = Be.IDBKeyRange, mh(Ye) || He === Hn || gh(Ye, Be).delete(He).catch(de), Z();
|
|
145973
145981
|
}), Se.onerror = Mo(oe), Se.onblocked = E._fireOnBlocked;
|
|
@@ -146075,7 +146083,7 @@ function KFt() {
|
|
|
146075
146083
|
He.dbReadyResolve = Ie;
|
|
146076
146084
|
}), He.openCanceller = new Ot(function(Ie, Qe) {
|
|
146077
146085
|
He.cancelOpen = Qe;
|
|
146078
|
-
}), this._state = He, this.name = _, this.on =
|
|
146086
|
+
}), this._state = He, this.name = _, this.on = Zi(this, "populate", "blocked", "versionchange", "close", { ready: [ye, de] }), this.on.ready.subscribe = C(this.on.ready.subscribe, function(Ie) {
|
|
146079
146087
|
return function(Qe, ze) {
|
|
146080
146088
|
lt.vip(function() {
|
|
146081
146089
|
var Ke, Xe = B._state;
|
|
@@ -146095,10 +146103,10 @@ function KFt() {
|
|
|
146095
146103
|
var Xe = ot._ctx, Ve = Xe.table, ot = Ve.hook.reading.fire;
|
|
146096
146104
|
this._ctx = { table: Ve, index: Xe.index, isPrimKey: !Xe.index || Ve.schema.primKey.keyPath && Xe.index === Ve.schema.primKey.name, range: ze, keysOnly: !1, dir: "next", unique: "", algorithm: null, filter: null, replayFilter: null, justLimit: !0, isMatch: null, offset: 0, limit: 1 / 0, error: Ke, or: Xe.or, valueMapper: ot !== tt ? ot : null };
|
|
146097
146105
|
})), this.Table = (oe = this, Yn(Dt.prototype, function(Ie, Qe, ze) {
|
|
146098
|
-
this.db = oe, this._tx = ze, this.name = Ie, this.schema = Qe, this.hook = oe._allTables[Ie] ? oe._allTables[Ie].hook :
|
|
146106
|
+
this.db = oe, this._tx = ze, this.name = Ie, this.schema = Qe, this.hook = oe._allTables[Ie] ? oe._allTables[Ie].hook : Zi(null, { creating: [Qt, de], reading: [at, tt], updating: [G, de], deleting: [Wt, de] });
|
|
146099
146107
|
})), this.Transaction = (fe = this, Yn(mp.prototype, function(Ie, Qe, ze, Ke, Xe) {
|
|
146100
146108
|
var Ve = this;
|
|
146101
|
-
this.db = fe, this.mode = Ie, this.storeNames = Qe, this.schema = ze, this.chromeTransactionDurability = Ke, this.idbtrans = null, this.on =
|
|
146109
|
+
this.db = fe, this.mode = Ie, this.storeNames = Qe, this.schema = ze, this.chromeTransactionDurability = Ke, this.idbtrans = null, this.on = Zi(this, "complete", "error", "abort"), this.parent = Xe || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new Ot(function(ot, ct) {
|
|
146102
146110
|
Ve._resolve = ot, Ve._reject = ct;
|
|
146103
146111
|
}), this._completion.then(function() {
|
|
146104
146112
|
Ve.active = !1, Ve.on.complete.fire();
|
|
@@ -146123,7 +146131,7 @@ function KFt() {
|
|
|
146123
146131
|
}), this._maxKey = ps(E.IDBKeyRange), this._createTransaction = function(Ie, Qe, ze, Ke) {
|
|
146124
146132
|
return new B.Transaction(Ie, Qe, ze, B._options.chromeTransactionDurability, Ke);
|
|
146125
146133
|
}, this._fireOnBlocked = function(Ie) {
|
|
146126
|
-
B.on("blocked").fire(Ie),
|
|
146134
|
+
B.on("blocked").fire(Ie), Ji.filter(function(Qe) {
|
|
146127
146135
|
return Qe.name === B.name && Qe !== B && !Qe._state.vcFired;
|
|
146128
146136
|
}).map(function(Qe) {
|
|
146129
146137
|
return Qe.on("versionchange").fire(Ie);
|
|
@@ -146262,11 +146270,11 @@ function KFt() {
|
|
|
146262
146270
|
return Pe;
|
|
146263
146271
|
}, set: function(_) {
|
|
146264
146272
|
Je(_);
|
|
146265
|
-
} }, derive: b, extend: l, props: h, override: C, Events:
|
|
146273
|
+
} }, derive: b, extend: l, props: h, override: C, Events: Zi, on: Po, liveQuery: oa, extendObservabilitySet: Tu, getByKeyPath: z, setByKeyPath: H, delByKeyPath: function(_, E) {
|
|
146266
146274
|
typeof E == "string" ? H(_, E, void 0) : "length" in E && [].map.call(E, function(B) {
|
|
146267
146275
|
H(_, B, void 0);
|
|
146268
146276
|
});
|
|
146269
|
-
}, shallowClone: V, deepClone: K, getObjectDiff: bh, cmp: ue, asap: D, minKey: -1 / 0, addons: [], connections:
|
|
146277
|
+
}, shallowClone: V, deepClone: K, getObjectDiff: bh, cmp: ue, asap: D, minKey: -1 / 0, addons: [], connections: Ji, errnames: et, dependencies: zt, cache: vr, semVer: "4.0.11", version: "4.0.11".split(".").map(function(_) {
|
|
146270
146278
|
return parseInt(_);
|
|
146271
146279
|
}).reduce(function(_, E, B) {
|
|
146272
146280
|
return _ + E / Math.pow(10, 2 * B);
|
|
@@ -146286,7 +146294,7 @@ function KFt() {
|
|
|
146286
146294
|
})), typeof addEventListener < "u" && (addEventListener("pagehide", function(_) {
|
|
146287
146295
|
if (!Le.disableBfCache && _.persisted) {
|
|
146288
146296
|
Pe && console.debug("Dexie: handling persisted pagehide"), xp?.close();
|
|
146289
|
-
for (var E = 0, B =
|
|
146297
|
+
for (var E = 0, B = Ji; E < B.length; E++) B[E].close({ disableAutoOpen: !1 });
|
|
146290
146298
|
}
|
|
146291
146299
|
}), addEventListener("pageshow", function(_) {
|
|
146292
146300
|
!Le.disableBfCache && _.persisted && (Pe && console.debug("Dexie: handling persisted pageshow"), Ry(), wp({ all: new Lo(-1 / 0, [[]]) }));
|
|
@@ -148299,7 +148307,7 @@ let fn = class extends ui {
|
|
|
148299
148307
|
maximumFractionDigits: 2
|
|
148300
148308
|
}).format(t);
|
|
148301
148309
|
let s = FE[ii.Downloading];
|
|
148302
|
-
return n && FE[n] && (s = FE[n]), N`<cx-progress-bar ?show-progress=${e} .value=${i.toFixed(0)} style=${
|
|
148310
|
+
return n && FE[n] && (s = FE[n]), N`<cx-progress-bar ?show-progress=${e} .value=${i.toFixed(0)} style=${Ki({
|
|
148303
148311
|
"--color": s
|
|
148304
148312
|
})} class="progress-bar"><cx-space class="progress-bar__label" slot="label" spacing="3x-small" wrap="nowrap" align-items="center"><cx-line-clamp class="progress-bar__label__line-clamp" lines="1">${o}</cx-line-clamp><span class="progress-bar__label__separator">
|
|
148305
148313
|
/
|
|
@@ -148431,18 +148439,18 @@ let fn = class extends ui {
|
|
|
148431
148439
|
this.downloadingFiles.every((u) => u.status === ii.Failed)
|
|
148432
148440
|
), a = () => n ? ii.Completed : r ? ii.Paused : o ? ii.Failed : null, s = () => this.downloadingFiles.length === 0 || this.totalSize === 0 ? 0 : this.downloadingFiles.filter((h) => h.status !== ii.Cancelled).reduce((h, m) => h + m.progress * (cR(m) / 100), 0) / this.totalSize * 100, l = () => {
|
|
148433
148441
|
let u = this.localize.term("downloadManager"), h = null;
|
|
148434
|
-
return n ? (u = this.localize.term("downloadCompleted"), h = N`<cx-icon style=${
|
|
148442
|
+
return n ? (u = this.localize.term("downloadCompleted"), h = N`<cx-icon style=${Ki({
|
|
148435
148443
|
color: fb[ii.Completed]
|
|
148436
|
-
})} name="check_circle"></cx-icon>`) : r ? (u = this.localize.term("downloadPaused"), h = N`<cx-icon style=${
|
|
148444
|
+
})} name="check_circle"></cx-icon>`) : r ? (u = this.localize.term("downloadPaused"), h = N`<cx-icon style=${Ki({
|
|
148437
148445
|
color: fb[ii.Paused]
|
|
148438
|
-
})} name="pause_circle"></cx-icon>`) : o ? (u = this.localize.term("downloadFailed"), h = N`<cx-icon style=${
|
|
148446
|
+
})} name="pause_circle"></cx-icon>`) : o ? (u = this.localize.term("downloadFailed"), h = N`<cx-icon style=${Ki({
|
|
148439
148447
|
color: fb[ii.Failed]
|
|
148440
148448
|
})} name="info"></cx-icon>`) : i && t === 1 ? (u = this.localize.term(
|
|
148441
148449
|
"downloadingFileName",
|
|
148442
148450
|
Z1(i.name, 16, 6, 4)
|
|
148443
|
-
), h = N`<cx-icon style=${
|
|
148451
|
+
), h = N`<cx-icon style=${Ki({
|
|
148444
148452
|
color: fb[ii.Downloading]
|
|
148445
|
-
})} name="downloading"></cx-icon>`) : i && t > 1 && (u = this.localize.term("downloadingFileNum", t), h = N`<cx-icon style=${
|
|
148453
|
+
})} name="downloading"></cx-icon>`) : i && t > 1 && (u = this.localize.term("downloadingFileNum", t), h = N`<cx-icon style=${Ki({
|
|
148446
148454
|
color: fb[ii.Downloading]
|
|
148447
148455
|
})} name="downloading"></cx-icon>`), N`${h}${u}`;
|
|
148448
148456
|
};
|
|
@@ -151715,7 +151723,7 @@ const vHt = Object.values(_O).reduce(
|
|
|
151715
151723
|
}), i),
|
|
151716
151724
|
[]
|
|
151717
151725
|
);
|
|
151718
|
-
let
|
|
151726
|
+
let Yi = class extends ui {
|
|
151719
151727
|
constructor() {
|
|
151720
151728
|
super(), this.localize = new Mi(this), this.acceptedFileTypes = [
|
|
151721
151729
|
"text/plain",
|
|
@@ -152116,7 +152124,7 @@ let Ki = class extends ui {
|
|
|
152116
152124
|
disabled: this._unsupportedSsmlTags.includes(
|
|
152117
152125
|
fw.options.ssmlTagName
|
|
152118
152126
|
),
|
|
152119
|
-
icon: N`<cx-icon slot="prefix" name="graphic_eq" style=${
|
|
152127
|
+
icon: N`<cx-icon slot="prefix" name="graphic_eq" style=${Ki({
|
|
152120
152128
|
color: $o[ki.Emphasis]
|
|
152121
152129
|
})}></cx-icon>`,
|
|
152122
152130
|
inputType: "text",
|
|
@@ -152142,7 +152150,7 @@ let Ki = class extends ui {
|
|
|
152142
152150
|
disabled: this._unsupportedSsmlTags.includes(
|
|
152143
152151
|
Sm.options.ssmlTagName
|
|
152144
152152
|
),
|
|
152145
|
-
icon: N`<cx-icon slot="prefix" name="signal_cellular_alt" style=${
|
|
152153
|
+
icon: N`<cx-icon slot="prefix" name="signal_cellular_alt" style=${Ki({
|
|
152146
152154
|
color: $o[ki.Pitch]
|
|
152147
152155
|
})}></cx-icon>`,
|
|
152148
152156
|
inputType: "number",
|
|
@@ -152171,7 +152179,7 @@ let Ki = class extends ui {
|
|
|
152171
152179
|
disabled: this._unsupportedSsmlTags.includes(
|
|
152172
152180
|
Sm.options.ssmlTagName
|
|
152173
152181
|
),
|
|
152174
|
-
icon: N`<cx-icon slot="prefix" name="volume_down" style=${
|
|
152182
|
+
icon: N`<cx-icon slot="prefix" name="volume_down" style=${Ki({
|
|
152175
152183
|
color: $o[ki.Volume]
|
|
152176
152184
|
})}></cx-icon>`,
|
|
152177
152185
|
inputType: "number",
|
|
@@ -152197,7 +152205,7 @@ let Ki = class extends ui {
|
|
|
152197
152205
|
{
|
|
152198
152206
|
defaultValue: er[ki.InterpretAs],
|
|
152199
152207
|
disabled: this._unsupportedSsmlTags.includes(ng.options.ssmlTagName),
|
|
152200
|
-
icon: N`<cx-icon name="info" style=${
|
|
152208
|
+
icon: N`<cx-icon name="info" style=${Ki({
|
|
152201
152209
|
color: $o[ki.InterpretAs]
|
|
152202
152210
|
})} slot="prefix"></cx-icon>`,
|
|
152203
152211
|
inputType: "text",
|
|
@@ -152234,7 +152242,7 @@ let Ki = class extends ui {
|
|
|
152234
152242
|
});
|
|
152235
152243
|
}
|
|
152236
152244
|
renderBreakControls() {
|
|
152237
|
-
return N`<cx-tooltip content=${this.localize.term("insertBreak")}><cx-icon-button name="more_time" outline="" size="medium" class="break-button" label=${this.localize.term("insertBreak")} style=${
|
|
152245
|
+
return N`<cx-tooltip content=${this.localize.term("insertBreak")}><cx-icon-button name="more_time" outline="" size="medium" class="break-button" label=${this.localize.term("insertBreak")} style=${Ki({
|
|
152238
152246
|
color: $o[ki.PauseTime]
|
|
152239
152247
|
})} @click=${this.handleInsertBreak} ?disabled=${!this.editable || this._isTextSupportedOnly || this._unsupportedSsmlTags.includes(l3.options.ssmlTagName)}></cx-icon-button></cx-tooltip>`;
|
|
152240
152248
|
}
|
|
@@ -152251,7 +152259,7 @@ let Ki = class extends ui {
|
|
|
152251
152259
|
{
|
|
152252
152260
|
defaultValue: er[ki.DateFormat],
|
|
152253
152261
|
hidden: n !== Bc.Date,
|
|
152254
|
-
icon: N`<span style=${
|
|
152262
|
+
icon: N`<span style=${Ki({
|
|
152255
152263
|
color: $o[ki.InterpretAs]
|
|
152256
152264
|
})}><cx-icon name="calendar_month"></cx-icon></span>`,
|
|
152257
152265
|
inputType: "text",
|
|
@@ -152270,7 +152278,7 @@ let Ki = class extends ui {
|
|
|
152270
152278
|
{
|
|
152271
152279
|
defaultValue: er[ki.TimeFormat],
|
|
152272
152280
|
hidden: n !== Bc.Time,
|
|
152273
|
-
icon: N`<span style=${
|
|
152281
|
+
icon: N`<span style=${Ki({
|
|
152274
152282
|
color: $o[ki.InterpretAs]
|
|
152275
152283
|
})}><cx-icon name="schedule"></cx-icon></span>`,
|
|
152276
152284
|
inputType: "text",
|
|
@@ -152289,7 +152297,7 @@ let Ki = class extends ui {
|
|
|
152289
152297
|
{
|
|
152290
152298
|
defaultValue: er[ki.AreaCode],
|
|
152291
152299
|
hidden: n !== Bc.Telephone,
|
|
152292
|
-
icon: N`<span style=${
|
|
152300
|
+
icon: N`<span style=${Ki({
|
|
152293
152301
|
color: $o[ki.InterpretAs]
|
|
152294
152302
|
})}><cx-icon name="call"></cx-icon></span>`,
|
|
152295
152303
|
inputType: "number",
|
|
@@ -152308,7 +152316,7 @@ let Ki = class extends ui {
|
|
|
152308
152316
|
{
|
|
152309
152317
|
defaultValue: er[ki.CharactersFormat],
|
|
152310
152318
|
hidden: n !== Bc.Characters,
|
|
152311
|
-
icon: N`<span style=${
|
|
152319
|
+
icon: N`<span style=${Ki({
|
|
152312
152320
|
color: $o[ki.InterpretAs]
|
|
152313
152321
|
})}><cx-icon name="font_download"></cx-icon></span>`,
|
|
152314
152322
|
inputType: "text",
|
|
@@ -152327,7 +152335,7 @@ let Ki = class extends ui {
|
|
|
152327
152335
|
{
|
|
152328
152336
|
defaultValue: er[ki.CardinalFormat],
|
|
152329
152337
|
hidden: n !== Bc.Cardinal,
|
|
152330
|
-
icon: N`<span style=${
|
|
152338
|
+
icon: N`<span style=${Ki({
|
|
152331
152339
|
color: $o[ki.InterpretAs]
|
|
152332
152340
|
})}><cx-icon name="lens"></cx-icon></span>`,
|
|
152333
152341
|
inputType: "text",
|
|
@@ -152346,7 +152354,7 @@ let Ki = class extends ui {
|
|
|
152346
152354
|
{
|
|
152347
152355
|
defaultValue: er[ki.CardinalDetail],
|
|
152348
152356
|
hidden: n !== Bc.Cardinal,
|
|
152349
|
-
icon: N`<span style=${
|
|
152357
|
+
icon: N`<span style=${Ki({
|
|
152350
152358
|
color: $o[ki.InterpretAs]
|
|
152351
152359
|
})}><cx-icon name="horizontal_rule"></cx-icon></span>`,
|
|
152352
152360
|
inputType: "text",
|
|
@@ -152431,7 +152439,7 @@ let Ki = class extends ui {
|
|
|
152431
152439
|
);
|
|
152432
152440
|
}
|
|
152433
152441
|
render() {
|
|
152434
|
-
return N`<div class="container" @click=${this.handleContainerClick}><cx-grid columns="12" spacing="12px" class="h-full" use-container=""><cx-grid-item sm="12" md="9"><div class="editor-container"><div class="header"><cx-input class="file-input" accept=${this.acceptedFileTypes.join(",")} type="file" id="textFile" data-testid="fileInput" button-only="" size="small" label=${this.localize.term("importTextFile")} ?disabled=${!this.editable} @cx-change=${this.loadContentFromFile}><cx-button variant="default" slot="file-button" size="medium" ?disabled=${!this.editable} @click=${this.openImportDialog}>${this.localize.term("importTextFile")}</cx-button></cx-input><cx-divider vertical=""></cx-divider><div class="controls-container">${this.renderControls()}${this.renderBreakControls()}</div></div><div style=${
|
|
152442
|
+
return N`<div class="container" @click=${this.handleContainerClick}><cx-grid columns="12" spacing="12px" class="h-full" use-container=""><cx-grid-item sm="12" md="9"><div class="editor-container"><div class="header"><cx-input class="file-input" accept=${this.acceptedFileTypes.join(",")} type="file" id="textFile" data-testid="fileInput" button-only="" size="small" label=${this.localize.term("importTextFile")} ?disabled=${!this.editable} @cx-change=${this.loadContentFromFile}><cx-button variant="default" slot="file-button" size="medium" ?disabled=${!this.editable} @click=${this.openImportDialog}>${this.localize.term("importTextFile")}</cx-button></cx-input><cx-divider vertical=""></cx-divider><div class="controls-container">${this.renderControls()}${this.renderBreakControls()}</div></div><div style=${Ki({
|
|
152435
152443
|
height: this.height,
|
|
152436
152444
|
maxHeight: this.maxHeight,
|
|
152437
152445
|
maxWidth: this.maxWidth,
|
|
@@ -152457,8 +152465,8 @@ let Ki = class extends ui {
|
|
|
152457
152465
|
${this.renderPreviousJobStatus()}</cx-space></cx-grid-item></cx-grid>${this.renderImportFileConfirmDialog()}</div>`;
|
|
152458
152466
|
}
|
|
152459
152467
|
};
|
|
152460
|
-
|
|
152461
|
-
|
|
152468
|
+
Yi.styles = [hi, gHt];
|
|
152469
|
+
Yi.dependencies = {
|
|
152462
152470
|
"cx-button": Kn,
|
|
152463
152471
|
"cx-dialog": fa,
|
|
152464
152472
|
"cx-divider": qs,
|
|
@@ -152483,145 +152491,145 @@ Ki.dependencies = {
|
|
|
152483
152491
|
};
|
|
152484
152492
|
an([
|
|
152485
152493
|
kt(".text-editor")
|
|
152486
|
-
],
|
|
152494
|
+
], Yi.prototype, "textEditorContainer", 2);
|
|
152487
152495
|
an([
|
|
152488
152496
|
kt(".form")
|
|
152489
|
-
],
|
|
152497
|
+
], Yi.prototype, "form", 2);
|
|
152490
152498
|
an([
|
|
152491
152499
|
kt("#bubble-menu")
|
|
152492
|
-
],
|
|
152500
|
+
], Yi.prototype, "bubbleMenu", 2);
|
|
152493
152501
|
an([
|
|
152494
152502
|
kt(".import-dialog")
|
|
152495
|
-
],
|
|
152503
|
+
], Yi.prototype, "importDialog", 2);
|
|
152496
152504
|
an([
|
|
152497
152505
|
kt(".file-input")
|
|
152498
|
-
],
|
|
152506
|
+
], Yi.prototype, "fileInput", 2);
|
|
152499
152507
|
an([
|
|
152500
152508
|
kt(".container")
|
|
152501
|
-
],
|
|
152509
|
+
], Yi.prototype, "container", 2);
|
|
152502
152510
|
an([
|
|
152503
152511
|
I({ type: Object })
|
|
152504
|
-
],
|
|
152512
|
+
], Yi.prototype, "data", 2);
|
|
152505
152513
|
an([
|
|
152506
152514
|
I({ reflect: !0, type: Boolean })
|
|
152507
|
-
],
|
|
152515
|
+
], Yi.prototype, "editable", 2);
|
|
152508
152516
|
an([
|
|
152509
152517
|
I({ attribute: "autofocus", reflect: !0, type: Boolean })
|
|
152510
|
-
],
|
|
152518
|
+
], Yi.prototype, "autoFocus", 2);
|
|
152511
152519
|
an([
|
|
152512
152520
|
I({ attribute: "record-id", reflect: !0, type: String })
|
|
152513
|
-
],
|
|
152521
|
+
], Yi.prototype, "recordId", 2);
|
|
152514
152522
|
an([
|
|
152515
152523
|
I({ attribute: "file-name", reflect: !0, type: String })
|
|
152516
|
-
],
|
|
152524
|
+
], Yi.prototype, "fileName", 2);
|
|
152517
152525
|
an([
|
|
152518
152526
|
I({ attribute: "component-title", reflect: !0, type: String })
|
|
152519
|
-
],
|
|
152527
|
+
], Yi.prototype, "componentTitle", 2);
|
|
152520
152528
|
an([
|
|
152521
152529
|
I({ reflect: !0, type: String })
|
|
152522
|
-
],
|
|
152530
|
+
], Yi.prototype, "height", 2);
|
|
152523
152531
|
an([
|
|
152524
152532
|
I({ reflect: !0, type: String })
|
|
152525
|
-
],
|
|
152533
|
+
], Yi.prototype, "width", 2);
|
|
152526
152534
|
an([
|
|
152527
152535
|
I({ attribute: "max-height", reflect: !0, type: String })
|
|
152528
|
-
],
|
|
152536
|
+
], Yi.prototype, "maxHeight", 2);
|
|
152529
152537
|
an([
|
|
152530
152538
|
I({ attribute: "max-width", reflect: !0, type: String })
|
|
152531
|
-
],
|
|
152539
|
+
], Yi.prototype, "maxWidth", 2);
|
|
152532
152540
|
an([
|
|
152533
152541
|
I({ attribute: "min-width", reflect: !0, type: String })
|
|
152534
|
-
],
|
|
152542
|
+
], Yi.prototype, "minWidth", 2);
|
|
152535
152543
|
an([
|
|
152536
152544
|
I({ attribute: "min-height", reflect: !0, type: String })
|
|
152537
|
-
],
|
|
152545
|
+
], Yi.prototype, "minHeight", 2);
|
|
152538
152546
|
an([
|
|
152539
152547
|
I({ attribute: "mock", reflect: !0, type: Boolean })
|
|
152540
|
-
],
|
|
152548
|
+
], Yi.prototype, "mock", 2);
|
|
152541
152549
|
an([
|
|
152542
152550
|
I({ attribute: "disabled-message", reflect: !0, type: String })
|
|
152543
|
-
],
|
|
152551
|
+
], Yi.prototype, "disabledMessage", 2);
|
|
152544
152552
|
an([
|
|
152545
152553
|
I({ attribute: "character-limit", reflect: !0, type: Number })
|
|
152546
|
-
],
|
|
152554
|
+
], Yi.prototype, "characterLimit", 2);
|
|
152547
152555
|
an([
|
|
152548
152556
|
me()
|
|
152549
|
-
],
|
|
152557
|
+
], Yi.prototype, "textEditor", 2);
|
|
152550
152558
|
an([
|
|
152551
152559
|
me()
|
|
152552
|
-
],
|
|
152560
|
+
], Yi.prototype, "voices", 2);
|
|
152553
152561
|
an([
|
|
152554
152562
|
me()
|
|
152555
|
-
],
|
|
152563
|
+
], Yi.prototype, "_voice", 2);
|
|
152556
152564
|
an([
|
|
152557
152565
|
me()
|
|
152558
|
-
],
|
|
152566
|
+
], Yi.prototype, "gender", 2);
|
|
152559
152567
|
an([
|
|
152560
152568
|
me()
|
|
152561
|
-
],
|
|
152569
|
+
], Yi.prototype, "language", 2);
|
|
152562
152570
|
an([
|
|
152563
152571
|
me()
|
|
152564
|
-
],
|
|
152572
|
+
], Yi.prototype, "speed", 2);
|
|
152565
152573
|
an([
|
|
152566
152574
|
me()
|
|
152567
|
-
],
|
|
152575
|
+
], Yi.prototype, "audio", 2);
|
|
152568
152576
|
an([
|
|
152569
152577
|
me()
|
|
152570
|
-
],
|
|
152578
|
+
], Yi.prototype, "isSpeaking", 2);
|
|
152571
152579
|
an([
|
|
152572
152580
|
me()
|
|
152573
|
-
],
|
|
152581
|
+
], Yi.prototype, "loading", 2);
|
|
152574
152582
|
an([
|
|
152575
152583
|
me()
|
|
152576
|
-
],
|
|
152584
|
+
], Yi.prototype, "previewLoading", 2);
|
|
152577
152585
|
an([
|
|
152578
152586
|
me()
|
|
152579
|
-
],
|
|
152587
|
+
], Yi.prototype, "lastPosition", 2);
|
|
152580
152588
|
an([
|
|
152581
152589
|
me()
|
|
152582
|
-
],
|
|
152590
|
+
], Yi.prototype, "isSelectionEmpty", 2);
|
|
152583
152591
|
an([
|
|
152584
152592
|
me()
|
|
152585
|
-
],
|
|
152593
|
+
], Yi.prototype, "bubbleMenuType", 2);
|
|
152586
152594
|
an([
|
|
152587
152595
|
me()
|
|
152588
|
-
],
|
|
152596
|
+
], Yi.prototype, "timeCode", 2);
|
|
152589
152597
|
an([
|
|
152590
152598
|
me()
|
|
152591
|
-
],
|
|
152599
|
+
], Yi.prototype, "savedData", 2);
|
|
152592
152600
|
an([
|
|
152593
152601
|
me()
|
|
152594
|
-
],
|
|
152602
|
+
], Yi.prototype, "isEventListenerAdded", 2);
|
|
152595
152603
|
an([
|
|
152596
152604
|
me()
|
|
152597
|
-
],
|
|
152605
|
+
], Yi.prototype, "_isPreviousJobUnfinished", 2);
|
|
152598
152606
|
an([
|
|
152599
152607
|
me()
|
|
152600
|
-
],
|
|
152608
|
+
], Yi.prototype, "_isTextSupportedOnly", 2);
|
|
152601
152609
|
an([
|
|
152602
152610
|
me()
|
|
152603
|
-
],
|
|
152611
|
+
], Yi.prototype, "_unsupportedSsmlTags", 2);
|
|
152604
152612
|
an([
|
|
152605
152613
|
me()
|
|
152606
|
-
],
|
|
152614
|
+
], Yi.prototype, "_selectedVoice", 2);
|
|
152607
152615
|
an([
|
|
152608
152616
|
gt("data", { waitUntilFirstUpdate: !0 })
|
|
152609
|
-
],
|
|
152617
|
+
], Yi.prototype, "handleDataChange", 1);
|
|
152610
152618
|
an([
|
|
152611
152619
|
gt("voices")
|
|
152612
|
-
],
|
|
152620
|
+
], Yi.prototype, "handleVoicesChange", 1);
|
|
152613
152621
|
an([
|
|
152614
152622
|
gt("_voice")
|
|
152615
|
-
],
|
|
152623
|
+
], Yi.prototype, "handleVoiceChange", 1);
|
|
152616
152624
|
an([
|
|
152617
152625
|
gt("recordId")
|
|
152618
|
-
],
|
|
152626
|
+
], Yi.prototype, "handleRecordIdChange", 1);
|
|
152619
152627
|
an([
|
|
152620
152628
|
gt("editable", { waitUntilFirstUpdate: !0 })
|
|
152621
|
-
],
|
|
152622
|
-
|
|
152629
|
+
], Yi.prototype, "handleDisabledChange", 1);
|
|
152630
|
+
Yi = an([
|
|
152623
152631
|
si("cx-text-to-speech")
|
|
152624
|
-
],
|
|
152632
|
+
], Yi);
|
|
152625
152633
|
async function yHt(i) {
|
|
152626
152634
|
try {
|
|
152627
152635
|
return (await ci.request({
|
|
@@ -152783,7 +152791,7 @@ let Ad = class extends ui {
|
|
|
152783
152791
|
i.target === this.dialog && (await this.getChapters(), await this.updateComplete, this.table.initTable());
|
|
152784
152792
|
}
|
|
152785
152793
|
render() {
|
|
152786
|
-
return N`<cx-dialog class="dialog" label=${this.label} strategy="overlay" @cx-after-show=${this.handleAfterShow} style=${
|
|
152794
|
+
return N`<cx-dialog class="dialog" label=${this.label} strategy="overlay" @cx-after-show=${this.handleAfterShow} style=${Ki({
|
|
152787
152795
|
"--cx-z-index-dialog": (this.cortexPopupController.currentZIndex + 1).toString()
|
|
152788
152796
|
})}><cx-space direction="vertical" gap="medium" align-items="start"><cx-table class="table" .columns=${this.columns} .data=${this.tableData} .hoverMenu=${this.hoverMenu} layout="fitColumns" edit-trigger-event="click" placeholder=${this.placeholder} row-height="34" no-selectable @cx-table-row-action-click=${this.handleRowActions}></cx-table><cx-button data-testid="add-chapter-button" @click=${this.handleAddChapter}>${this.localize.term("addChapter")}</cx-button></cx-space><cx-divider></cx-divider><cx-button data-testid="cancel-button" slot="footer" @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button data-testid="save-button" slot="footer" variant="primary" @click=${this.handleSave} ?loading=${this.isSaving}>${this.localize.term("save")}</cx-button></cx-dialog>`;
|
|
152789
152797
|
}
|
|
@@ -153364,7 +153372,7 @@ let ts = class extends ui {
|
|
|
153364
153372
|
e,
|
|
153365
153373
|
() => Ze(
|
|
153366
153374
|
n && r,
|
|
153367
|
-
() => N`<div class="video-editor-track__frames__item__canvas" style=${
|
|
153375
|
+
() => N`<div class="video-editor-track__frames__item__canvas" style=${Ki({
|
|
153368
153376
|
backgroundImage: `url(${e})`,
|
|
153369
153377
|
backgroundPosition: `${o}px ${a}px`,
|
|
153370
153378
|
height: `${n}px`,
|
|
@@ -153389,12 +153397,12 @@ let ts = class extends ui {
|
|
|
153389
153397
|
})} @click=${this.handleClick}><div class=${Lt({
|
|
153390
153398
|
"video-editor-track": !0,
|
|
153391
153399
|
"video-editor-track--selected": this.selected
|
|
153392
|
-
})} style=${
|
|
153400
|
+
})} style=${Ki({
|
|
153393
153401
|
width: `${this.width}px`
|
|
153394
153402
|
})}><div class="video-editor-track__name"><cx-line-clamp lines="1" disabled-hover-bridge><cx-typography variant="body2">${this.data.label}</cx-typography></cx-line-clamp>${Ze(
|
|
153395
153403
|
this.isError,
|
|
153396
153404
|
() => N`<cx-tooltip content=${this.localize.term("noDataAvailable")}><cx-icon name="error_outline" class="video-editor-track__name__error"></cx-icon></cx-tooltip>`
|
|
153397
|
-
)}</div><div class="video-editor-track__frames" style=${
|
|
153405
|
+
)}</div><div class="video-editor-track__frames" style=${Ki({
|
|
153398
153406
|
"--item-min-width": `${Rv}px`
|
|
153399
153407
|
})}>${Ze(
|
|
153400
153408
|
!this.isError,
|
|
@@ -154242,7 +154250,7 @@ export {
|
|
|
154242
154250
|
O5 as CxTabPanel,
|
|
154243
154251
|
sGt as CxTag,
|
|
154244
154252
|
Us as CxTemplateSwitcher,
|
|
154245
|
-
|
|
154253
|
+
Yi as CxTextToSpeech,
|
|
154246
154254
|
IR as CxTextarea,
|
|
154247
154255
|
vX as CxTimecode,
|
|
154248
154256
|
yo as CxTooltip,
|