@orangelogic/design-system 2.108.0 → 2.110.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/assets/design-system.css +1 -1
- package/library/chunks/{asset.BOex8mNF.js → asset.NgymQ3Zx.js} +139 -128
- package/library/chunks/{button.BgLgpUch.js → button.i88sSbTZ.js} +1 -1
- package/library/chunks/{color-swatch-group.CJR5NTAx.js → color-swatch-group.mIHaCJsh.js} +5 -5
- package/library/chunks/{color-swatch.LWXX_hoG.js → color-swatch.D9vkPoV2.js} +1 -1
- package/library/chunks/{confirm-popover.BzpCIDBx.js → confirm-popover.UuBhn8GA.js} +3 -3
- package/library/chunks/{content-builder.B-bd8FaV.js → content-builder.OsUmm8Wu.js} +15 -15
- package/library/chunks/{dialog.BTYaKnFg.js → dialog.Bso6gK-8.js} +2 -2
- package/library/chunks/document-viewer.C6eclRvd.js +25232 -0
- package/library/chunks/{dot-pagination.Do9tKlWY.js → dot-pagination.CNnUuI-Z.js} +1 -1
- package/library/chunks/{file-on-demand.DICkRgvk.js → file-on-demand.Cf2ujTeF.js} +8 -8
- package/library/chunks/{folder-select.DLjFwi4I.js → folder-select.ByNUfTia.js} +3 -3
- package/library/chunks/{header.CLZWpAF-.js → header.hj2Kw-N7.js} +1 -1
- package/library/chunks/{i18n.ju3y72qp.js → i18n.D6AYDPK-.js} +3 -0
- package/library/chunks/{icon-button.CLlmo1AF.js → icon-button.ztYU-DHy.js} +1 -1
- package/library/chunks/{iframe.CqtDcvOS.js → iframe.uLxZ6LsL.js} +1 -1
- package/library/chunks/{image.CfNFiNFB.js → image.DKB6yEQO.js} +187 -187
- package/library/chunks/inheritsLoose.BuSn_CvZ.js +27 -0
- package/library/chunks/{cropper.CMfBGsNv.js → jsx-runtime.CTpPVMxj.js} +9462 -10423
- package/library/chunks/{list-editor.zY8vlbde.js → list-editor.GT2kQsmR.js} +87 -86
- package/library/chunks/{option.BOZYPQZH.js → option.BAYtHIvG.js} +1 -1
- package/library/chunks/{pagination.BGjp2gVJ.js → pagination.CCJD61IB.js} +4 -4
- package/library/chunks/{resizable-component.styles.sAhMVN1H.js → resizable-component.styles.DpK0TTP5.js} +6 -6
- package/library/chunks/{responsive.Aigicabj.js → responsive.C8NCkfCG.js} +1 -1
- package/library/chunks/{tab-group.hmlZakLy.js → tab-group.BsR8tdVY.js} +3 -3
- package/library/chunks/{table.XsBhq1U3.js → table.DL_CEeYh.js} +5 -5
- package/library/chunks/{tree.DAhCAxwV.js → tree.KmZRWZ0F.js} +1 -1
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +6 -6
- package/library/components/atoms.js +147 -145
- package/library/components/audio.js +3 -3
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +2 -2
- package/library/components/color-swatch-group.js +6 -6
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +961 -10
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.d.ts +3 -0
- package/library/components/document-viewer.js +17 -0
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +9 -9
- package/library/components/folder-select.js +3 -3
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +3 -3
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +6 -6
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +7 -7
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +5 -5
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +2 -2
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/table.js +5 -5
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +17110 -17307
- package/library/components/video.js +3605 -3625
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/document-viewer/document-viewer.d.ts +60 -0
- package/library/packages/atoms/src/components/document-viewer/document-viewer.styles.d.ts +2 -0
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-document-viewer-open-asset.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/book-reader/book-reader.d.ts +99 -0
- package/library/packages/hybrid/book-reader/src/book-reader/book-reader.styles.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/BookReader.d.ts +6 -0
- package/library/packages/hybrid/book-reader/src/react/components/Album/Album.d.ts +31 -0
- package/library/packages/hybrid/book-reader/src/react/components/Album/AlbumThumbnails.d.ts +17 -0
- package/library/packages/hybrid/book-reader/src/react/components/Album/ErrorImage.d.ts +5 -0
- package/library/packages/hybrid/book-reader/src/react/components/Album/Page.d.ts +21 -0
- package/library/packages/hybrid/book-reader/src/react/components/Album/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/Book.d.ts +20 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/BookThumbnails.d.ts +17 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/Page.d.ts +20 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/PageError.d.ts +5 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/PageRenderer/PageRenderer.d.ts +8 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/PageRenderer/RendererContext.d.ts +5 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/PageRenderer/StructTree.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/PageRenderer/StructTreeItem.d.ts +9 -0
- package/library/packages/hybrid/book-reader/src/react/components/Book/PageRenderer/index.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/ColdStorageAsset/ColdStorageAsset.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/components/ColdStorageAsset/ColdStorageAsset.styles.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/ColdStorageAsset/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/Container/Container.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/components/Container/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/Controller.d.ts +39 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/Controller.styles.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/PageControl.d.ts +12 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/ScaleControl.d.ts +10 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/ToggleFullscreen.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/ToggleSearchBox.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/ToggleSidebar.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/ViewControl.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/Drawer/Drawer.d.ts +9 -0
- package/library/packages/hybrid/book-reader/src/react/components/Drawer/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/EmptyDocument/EmptyDocument.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/EmptyDocument/EmptyDocument.styles.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/EmptyDocument/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/Loading/DocumentLoading.d.ts +5 -0
- package/library/packages/hybrid/book-reader/src/react/components/Loading/Loading.styles.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/Loading/PageLoading.d.ts +5 -0
- package/library/packages/hybrid/book-reader/src/react/components/Loading/index.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/PPTProgressBar/PPTProgressBar.d.ts +5 -0
- package/library/packages/hybrid/book-reader/src/react/components/PPTProgressBar/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/PasswordInput/PasswordInput.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/components/PasswordInput/PasswordInput.styles.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/PasswordInput/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/ProgressBar/ProgressBar.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/components/ProgressBar/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/ScaleBox/ScaleBox.d.ts +21 -0
- package/library/packages/hybrid/book-reader/src/react/components/SearchBox/SearchBox.d.ts +18 -0
- package/library/packages/hybrid/book-reader/src/react/components/SearchBox/SearchBox.styles.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/SearchBox/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/TextHighlight/TextHighlight.d.ts +9 -0
- package/library/packages/hybrid/book-reader/src/react/components/TextHighlight/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/Thumbnails/Thumbnails.d.ts +32 -0
- package/library/packages/hybrid/book-reader/src/react/components/Thumbnails/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/ZoomPanPinchWrapper/ZoomPanPinchWrapper.d.ts +12 -0
- package/library/packages/hybrid/book-reader/src/react/components/ZoomPanPinchWrapper/ZoomPanPinchWrapper.styles.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/components/ZoomPanPinchWrapper/index.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/constant.d.ts +81 -0
- package/library/packages/hybrid/book-reader/src/react/contexts/AlbumContext.d.ts +8 -0
- package/library/packages/hybrid/book-reader/src/react/contexts/BookContext.d.ts +4 -0
- package/library/packages/hybrid/book-reader/src/react/contexts/BreakpointsContext.d.ts +4 -0
- package/library/packages/hybrid/book-reader/src/react/contexts/ComponentContext.d.ts +3 -0
- package/library/packages/hybrid/book-reader/src/react/contexts/TranslationContext.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useAlbumContext.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useBookContext.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useBookEvents.d.ts +13 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useBreakpoint.d.ts +6 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useDrawer.d.ts +13 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useImageTextSearch.d.ts +4 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useKeyboardShortcuts.d.ts +12 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/usePageFlip.d.ts +10 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/usePdfTextSearch.d.ts +4 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/usePopoverMenu.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useRendererContext.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useResolver.d.ts +21 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useScale.d.ts +19 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useSearch.d.ts +19 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/PageFlip.d.ts +215 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/Settings.d.ts +59 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/collection/HTMLPageCollection.d.ts +13 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/collection/ImagePageCollection.d.ts +12 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/collection/PageCollection.d.ts +116 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/event/EventObject.d.ts +34 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/flip/Flip.d.ts +126 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/flip/FlipCalculation.d.ts +99 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/index.d.ts +22 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/page/HTMLPage.d.ts +24 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/page/ImagePage.d.ts +19 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/page/Page.d.ts +123 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/render/CanvasRender.d.ts +19 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/render/HTMLRender.d.ts +58 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/render/Render.d.ts +233 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/ui/CanvasUI.d.ts +17 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/ui/HTMLUI.d.ts +19 -0
- package/library/packages/hybrid/book-reader/src/react/page-flip/ui/UI.d.ts +78 -0
- package/library/packages/hybrid/book-reader/src/react/types.d.ts +206 -0
- package/library/packages/hybrid/book-reader/src/react/utils/CalculateScale.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/utils/EscapeRegex.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/utils/Fullscreen.d.ts +4 -0
- package/library/packages/hybrid/book-reader/src/react/utils/GetActivePage.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/utils/GetIIIFImageUrl.d.ts +7 -0
- package/library/packages/hybrid/book-reader/src/react/utils/GetVisiblePageNumber.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/utils/IsImageBook.d.ts +3 -0
- package/library/packages/hybrid/book-reader/src/react/utils/IsPDFBook.d.ts +3 -0
- package/library/packages/hybrid/book-reader/src/react/utils/MergeRefs.d.ts +14 -0
- package/library/packages/hybrid/book-reader/src/react/utils/NormalizeString.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/utils/PageFlipGeometry.d.ts +86 -0
- package/library/packages/hybrid/book-reader/src/react/utils/PagePosition.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/utils/PageRendererUtil.d.ts +350 -0
- package/library/packages/hybrid/book-reader/src/react/utils/PdfWorker.d.ts +17 -0
- package/library/packages/hybrid/book-reader/src/react/utils/Random.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/utils/RenderingQueue.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/configs/document-viewer.d.ts +24 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +50 -24
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/document-viewer.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +1 -0
- package/library/packages/react-web-component.d.ts +6581 -0
- package/library/packages/services/src/api/asset/asset.d.ts +10 -0
- package/library/packages/services/src/api/endpoints.d.ts +1 -0
- package/library/packages/types/src/book-reader.d.ts +9 -0
- package/library/packages/types/src/content-builder.d.ts +3 -1
- package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
- package/library/react-web-component.d.ts +110 -4
- package/library/utils.js +3 -3
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { C as k } from "./button.
|
|
2
|
-
import { C as O, D as q } from "./dialog.
|
|
1
|
+
import { C as k } from "./button.i88sSbTZ.js";
|
|
2
|
+
import { C as O, D as q } from "./dialog.Bso6gK-8.js";
|
|
3
3
|
import G from "../components/grid.js";
|
|
4
4
|
import R from "../components/grid-item.js";
|
|
5
5
|
import S from "../components/input.js";
|
|
6
6
|
import j from "../components/line-clamp.js";
|
|
7
|
-
import { C as P } from "./option.
|
|
7
|
+
import { C as P } from "./option.BAYtHIvG.js";
|
|
8
8
|
import F from "../components/radio.js";
|
|
9
9
|
import B from "../components/radio-group.js";
|
|
10
10
|
import K from "../components/select.js";
|
|
11
11
|
import _ from "../components/space.js";
|
|
12
|
-
import { C as U, H } from "./table.
|
|
12
|
+
import { C as U, H } from "./table.DL_CEeYh.js";
|
|
13
13
|
import { C as E } from "./typography.DJC_UXgs.js";
|
|
14
14
|
import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
15
|
import V from "../components/dynamic-select.js";
|
|
16
16
|
import { c as L } from "./component.styles.CRO4Odto.js";
|
|
17
17
|
import { c as M } from "./custom-element.L4WJXn1j.js";
|
|
18
18
|
import { d as W } from "./debounce.CIEhztrj.js";
|
|
19
|
-
import { L as D } from "./i18n.
|
|
20
|
-
import { w as
|
|
19
|
+
import { L as D } from "./i18n.D6AYDPK-.js";
|
|
20
|
+
import { w as v } from "./watch.CThbualB.js";
|
|
21
21
|
import { a as J } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
22
22
|
import { i as z, x as l } from "./lit-element.jLBm65_O.js";
|
|
23
23
|
import { r as b } from "./state.CSDxrqLd.js";
|
|
@@ -28,11 +28,11 @@ import { o as Z } from "./map.D8heArFD.js";
|
|
|
28
28
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
29
29
|
import { n as N } from "./when.Dr1es41R.js";
|
|
30
30
|
import { t as Q } from "./toString.CAY8lys2.js";
|
|
31
|
-
import { C as ee } from "./icon-button.
|
|
32
|
-
import { C as
|
|
33
|
-
import { a as
|
|
31
|
+
import { C as ee } from "./icon-button.ztYU-DHy.js";
|
|
32
|
+
import { C as te } from "./image.DKB6yEQO.js";
|
|
33
|
+
import { a as ae } from "./asset.NgymQ3Zx.js";
|
|
34
34
|
import { a as ie } from "./index.Cpamj0jB.js";
|
|
35
|
-
import { A as g } from "./content-builder.
|
|
35
|
+
import { A as g } from "./content-builder.OsUmm8Wu.js";
|
|
36
36
|
import { b as ne, t as I } from "./string.DUgD4c9f.js";
|
|
37
37
|
import { t as se } from "./toast.D3AW3RWv.js";
|
|
38
38
|
var C, w;
|
|
@@ -776,15 +776,15 @@ var A, $;
|
|
|
776
776
|
function oe() {
|
|
777
777
|
if ($) return A;
|
|
778
778
|
$ = 1;
|
|
779
|
-
const e = re(),
|
|
779
|
+
const e = re(), t = {}, a = {}, i = [], s = [], p = [];
|
|
780
780
|
for (const d in e) {
|
|
781
|
-
const { name: m, nativeName:
|
|
782
|
-
|
|
781
|
+
const { name: m, nativeName: h } = e[d];
|
|
782
|
+
t[d] = a[m.toLowerCase()] = a[h.toLowerCase()] = { code: d, name: m, nativeName: h }, i.push(d), s.push(m), p.push(h);
|
|
783
783
|
}
|
|
784
784
|
return A = class f {
|
|
785
785
|
static getLanguages(m = []) {
|
|
786
786
|
return m.map(
|
|
787
|
-
(
|
|
787
|
+
(h) => f.validate(h) ? Object.assign({}, t[h]) : { code: h, name: "", nativeName: "" }
|
|
788
788
|
);
|
|
789
789
|
}
|
|
790
790
|
static getName(m) {
|
|
@@ -800,7 +800,7 @@ function oe() {
|
|
|
800
800
|
return p.slice();
|
|
801
801
|
}
|
|
802
802
|
static getCode(m) {
|
|
803
|
-
return m = m.toLowerCase(),
|
|
803
|
+
return m = m.toLowerCase(), a.hasOwnProperty(m) ? a[m].code : "";
|
|
804
804
|
}
|
|
805
805
|
static getAllCodes() {
|
|
806
806
|
return i.slice();
|
|
@@ -814,18 +814,18 @@ var le = oe();
|
|
|
814
814
|
const me = /* @__PURE__ */ J(le);
|
|
815
815
|
var ce = 0;
|
|
816
816
|
function de(e) {
|
|
817
|
-
var
|
|
818
|
-
return Q(e) +
|
|
817
|
+
var t = ++ce;
|
|
818
|
+
return Q(e) + t;
|
|
819
819
|
}
|
|
820
820
|
const pe = z`:host{isolation:isolate}.asset-picker__input[data-user-invalid]~.asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color)}.asset-picker__input[data-user-invalid]:focus-within~.asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.asset-picker__button-container{position:relative}.asset-picker__button{z-index:1;position:relative}.asset-picker__image{--height:150px;--width:200px;--border-radius:var(--cx-border-radius-medium)}.asset-picker__input{opacity:0;width:100%;height:100%;position:absolute;top:0;left:0}`;
|
|
821
|
-
var ue = Object.defineProperty, he = Object.getOwnPropertyDescriptor, u = (e,
|
|
822
|
-
for (var s = i > 1 ? void 0 : i ? he(
|
|
823
|
-
(d = e[p]) && (s = (i ? d(
|
|
824
|
-
return i && s && ue(
|
|
821
|
+
var ue = Object.defineProperty, he = Object.getOwnPropertyDescriptor, u = (e, t, a, i) => {
|
|
822
|
+
for (var s = i > 1 ? void 0 : i ? he(t, a) : t, p = e.length - 1, d; p >= 0; p--)
|
|
823
|
+
(d = e[p]) && (s = (i ? d(t, a, s) : d(s)) || s);
|
|
824
|
+
return i && s && ue(t, a, s), s;
|
|
825
825
|
};
|
|
826
826
|
let c = class extends T {
|
|
827
827
|
constructor() {
|
|
828
|
-
super(...arguments), this.localize = new D(this), this.value = "", this.name = "", this.type = [g.Image], this.multiple = !1, this.accepts = [], this.required = !1, this.disabled = !1, this.onRequestAsset = void 0, this.recordId = "", this.previewSrc = "", this.apiGetAssets =
|
|
828
|
+
super(...arguments), this.localize = new D(this), this.value = "", this.name = "", this.type = [g.Image], this.multiple = !1, this.accepts = [], this.required = !1, this.disabled = !1, this.onRequestAsset = void 0, this.recordId = "", this.previewSrc = "", this.apiGetAssets = ae;
|
|
829
829
|
}
|
|
830
830
|
async handleRequestAssetClick() {
|
|
831
831
|
if (this.onRequestAsset)
|
|
@@ -841,26 +841,27 @@ let c = class extends T {
|
|
|
841
841
|
this.accepts
|
|
842
842
|
);
|
|
843
843
|
if (this.accepts.length > 0 && Object.values(e).some(
|
|
844
|
-
(
|
|
844
|
+
(a) => !this.accepts.includes(ne(a.src) ?? "")
|
|
845
845
|
))
|
|
846
846
|
se(this.localize.term("nonAcceptedExtension", this.accepts), {
|
|
847
847
|
notificationType: "warning"
|
|
848
848
|
});
|
|
849
849
|
else if (this.multiple) {
|
|
850
|
-
const
|
|
850
|
+
const a = Object.values(e);
|
|
851
851
|
this.emit("cx-content-builder-asset-select", {
|
|
852
|
-
detail:
|
|
852
|
+
detail: a
|
|
853
853
|
});
|
|
854
854
|
} else {
|
|
855
|
-
const { extension:
|
|
855
|
+
const { extension: a, id: i, identifier: s, name: p, representative: d, src: m, type: h } = e;
|
|
856
856
|
this.emit("cx-content-builder-asset-select", {
|
|
857
857
|
detail: {
|
|
858
|
-
extension:
|
|
858
|
+
extension: a,
|
|
859
859
|
id: i,
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
860
|
+
identifier: s,
|
|
861
|
+
name: p,
|
|
862
|
+
representative: d,
|
|
863
|
+
src: m,
|
|
864
|
+
type: h
|
|
864
865
|
}
|
|
865
866
|
});
|
|
866
867
|
}
|
|
@@ -884,12 +885,12 @@ let c = class extends T {
|
|
|
884
885
|
return;
|
|
885
886
|
}
|
|
886
887
|
try {
|
|
887
|
-
const
|
|
888
|
+
const t = (await this.apiGetAssets({
|
|
888
889
|
extraFields: ["path_TR1"],
|
|
889
890
|
getPermanentAssetsPaths: !0,
|
|
890
891
|
recordIds: [this.recordId]
|
|
891
892
|
})).items[0];
|
|
892
|
-
this.previewSrc =
|
|
893
|
+
this.previewSrc = t?.path_TR1 || t?.originalUrl || "";
|
|
893
894
|
} catch {
|
|
894
895
|
this.previewSrc = "";
|
|
895
896
|
}
|
|
@@ -932,7 +933,7 @@ c.styles = [L, pe];
|
|
|
932
933
|
c.dependencies = {
|
|
933
934
|
"cx-button": k,
|
|
934
935
|
"cx-icon-button": ee,
|
|
935
|
-
"cx-image":
|
|
936
|
+
"cx-image": te,
|
|
936
937
|
"cx-input": S,
|
|
937
938
|
"cx-space": _,
|
|
938
939
|
"cx-typography": E
|
|
@@ -952,7 +953,7 @@ u([
|
|
|
952
953
|
u([
|
|
953
954
|
o({
|
|
954
955
|
converter: {
|
|
955
|
-
fromAttribute: (e) => (e ?? "").split(" ").filter((
|
|
956
|
+
fromAttribute: (e) => (e ?? "").split(" ").filter((t) => t !== ""),
|
|
956
957
|
toAttribute: (e) => e.join(" ")
|
|
957
958
|
},
|
|
958
959
|
reflect: !0
|
|
@@ -964,7 +965,7 @@ u([
|
|
|
964
965
|
u([
|
|
965
966
|
o({
|
|
966
967
|
converter: {
|
|
967
|
-
fromAttribute: (e) => (e ?? "").split(" ").filter((
|
|
968
|
+
fromAttribute: (e) => (e ?? "").split(" ").filter((t) => t !== ""),
|
|
968
969
|
toAttribute: (e) => e.join(" ")
|
|
969
970
|
},
|
|
970
971
|
reflect: !0
|
|
@@ -986,19 +987,19 @@ u([
|
|
|
986
987
|
b()
|
|
987
988
|
], c.prototype, "previewSrc", 2);
|
|
988
989
|
u([
|
|
989
|
-
|
|
990
|
+
v("value")
|
|
990
991
|
], c.prototype, "handleValueChange", 1);
|
|
991
992
|
u([
|
|
992
|
-
|
|
993
|
+
v("recordId")
|
|
993
994
|
], c.prototype, "handleRecordIdChange", 1);
|
|
994
995
|
c = u([
|
|
995
996
|
M("cx-asset-picker")
|
|
996
997
|
], c);
|
|
997
998
|
const ve = z`:host{--overridden-min-height:var(--min-height,160px);--overridden-max-height:var(--max-height,260px);width:100%;display:block}.list-editor{width:100%}.list-editor__table{--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-size:var(--cx-font-size-small);--row-header-border-color:transparent;--cell-horizontal-padding:var(--cx-spacing-2x-small);--table-min-height:var(--overridden-min-height);--table-max-height:var(--overridden-max-height)}.list-editor__table--no-header{--cell-hover-background-color:transparent}.list-editor__item::part(expand-button){display:none}.list-editor__item__text{--line-height:1}.list-editor__item__text__description{color:var(--cx-color-neutral-600)}.list-editor__dialog{--body-spacing:0;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large) 0;--width:540px}.list-editor__tab-group{--padding:0;--tab-group-nav-padding:0 var(--cx-spacing-large)}`;
|
|
998
|
-
var ge = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, r = (e,
|
|
999
|
-
for (var s = i > 1 ? void 0 : i ? Ne(
|
|
1000
|
-
(d = e[p]) && (s = (i ? d(
|
|
1001
|
-
return i && s && ge(
|
|
999
|
+
var ge = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, r = (e, t, a, i) => {
|
|
1000
|
+
for (var s = i > 1 ? void 0 : i ? Ne(t, a) : t, p = e.length - 1, d; p >= 0; p--)
|
|
1001
|
+
(d = e[p]) && (s = (i ? d(t, a, s) : d(s)) || s);
|
|
1002
|
+
return i && s && ge(t, a, s), s;
|
|
1002
1003
|
};
|
|
1003
1004
|
const be = {
|
|
1004
1005
|
resizable: !1
|
|
@@ -1053,15 +1054,15 @@ let n = class extends T {
|
|
|
1053
1054
|
}
|
|
1054
1055
|
handleEditedItemChange() {
|
|
1055
1056
|
const e = {};
|
|
1056
|
-
for (const
|
|
1057
|
-
e[
|
|
1058
|
-
this.sortedEntries = Object.entries(this.editedItem || {}).filter(([
|
|
1057
|
+
for (const t of this.columns)
|
|
1058
|
+
e[t.field] = t.configOrder;
|
|
1059
|
+
this.sortedEntries = Object.entries(this.editedItem || {}).filter(([t]) => this.OMITTED_FIELDS.indexOf(t) === -1 && this.columnsMap[t]).sort(([t], [a]) => (e[t] ?? Number.MAX_SAFE_INTEGER) - (e[a] ?? Number.MAX_SAFE_INTEGER));
|
|
1059
1060
|
}
|
|
1060
1061
|
handleTableActions(e) {
|
|
1061
|
-
const { name:
|
|
1062
|
+
const { name: t, row: a } = e.detail, i = "component" in a ? a.component : a;
|
|
1062
1063
|
if (i) {
|
|
1063
1064
|
if (this.useEvents) {
|
|
1064
|
-
this.emit(`cx-list-editor-${
|
|
1065
|
+
this.emit(`cx-list-editor-${t}`, {
|
|
1065
1066
|
detail: {
|
|
1066
1067
|
index: i.getIndex(),
|
|
1067
1068
|
item: i.getData()
|
|
@@ -1069,7 +1070,7 @@ let n = class extends T {
|
|
|
1069
1070
|
});
|
|
1070
1071
|
return;
|
|
1071
1072
|
}
|
|
1072
|
-
|
|
1073
|
+
t === "edit" ? this.editedItem = i.getData() : t === "delete" && this.emit("cx-list-editor-change", {
|
|
1073
1074
|
detail: {
|
|
1074
1075
|
data: this.data.filter((s) => s.id !== i.getData().id)
|
|
1075
1076
|
}
|
|
@@ -1095,16 +1096,16 @@ let n = class extends T {
|
|
|
1095
1096
|
handleSaveClick() {
|
|
1096
1097
|
if (this.editedItem) {
|
|
1097
1098
|
const e = this.data.findIndex(
|
|
1098
|
-
(
|
|
1099
|
+
(a) => a.id === this.editedItem.id
|
|
1099
1100
|
);
|
|
1100
1101
|
if (!this.isAdding && e === -1) {
|
|
1101
1102
|
this.editedItem = null;
|
|
1102
1103
|
return;
|
|
1103
1104
|
}
|
|
1104
|
-
let
|
|
1105
|
-
this.isAdding ?
|
|
1105
|
+
let t = this.data;
|
|
1106
|
+
this.isAdding ? t = [...t, this.editedItem] : t = this.data.map((a) => a.id === this.editedItem.id ? this.editedItem : a), this.emit("cx-list-editor-change", {
|
|
1106
1107
|
detail: {
|
|
1107
|
-
data:
|
|
1108
|
+
data: t
|
|
1108
1109
|
}
|
|
1109
1110
|
}), this.editedItem = null, this.isAdding = !1;
|
|
1110
1111
|
}
|
|
@@ -1123,55 +1124,55 @@ let n = class extends T {
|
|
|
1123
1124
|
if (await this.updateComplete, !this.table)
|
|
1124
1125
|
return;
|
|
1125
1126
|
if (!this.loadingItemIndex) {
|
|
1126
|
-
this.table.tabulatorInstance?.getRows().forEach((
|
|
1127
|
-
const i =
|
|
1128
|
-
|
|
1127
|
+
this.table.tabulatorInstance?.getRows().forEach((a) => {
|
|
1128
|
+
const i = a._row.hoverMenuElement;
|
|
1129
|
+
a._row.hoverMenuElement.actions = i.actions.map((s) => (s.options?.buttonProps && (s.options.buttonProps.loading = !1), s));
|
|
1129
1130
|
});
|
|
1130
1131
|
return;
|
|
1131
1132
|
}
|
|
1132
1133
|
const e = this.table.tabulatorInstance?.getRow(this.loadingItemIndex);
|
|
1133
1134
|
if (!e || !e?._row?.hoverMenuElement)
|
|
1134
1135
|
return;
|
|
1135
|
-
const
|
|
1136
|
-
|
|
1136
|
+
const t = e._row.hoverMenuElement;
|
|
1137
|
+
t.actions = t.actions.map((a) => (a.options?.buttonProps && (a.options.buttonProps.loading = a.name === this.loadingEvent && this.loadingItemIndex === e.getIndex()), a));
|
|
1137
1138
|
}
|
|
1138
1139
|
handleChange(e) {
|
|
1139
1140
|
if (!e.target)
|
|
1140
1141
|
return;
|
|
1141
|
-
const
|
|
1142
|
-
if (!
|
|
1142
|
+
const t = e.target, a = t.dataset.id;
|
|
1143
|
+
if (!a)
|
|
1143
1144
|
return;
|
|
1144
|
-
let i =
|
|
1145
|
+
let i = t.value;
|
|
1145
1146
|
Array.isArray(i) ? i = i.join(" ") : i = String(i), this.editedItem = {
|
|
1146
1147
|
...this.editedItem,
|
|
1147
|
-
[
|
|
1148
|
+
[a]: i
|
|
1148
1149
|
};
|
|
1149
1150
|
}
|
|
1150
1151
|
renderControls(e) {
|
|
1151
1152
|
if (e === "translation") {
|
|
1152
|
-
const
|
|
1153
|
+
const t = l`
|
|
1153
1154
|
${x(
|
|
1154
1155
|
this.translatableControls,
|
|
1155
|
-
(
|
|
1156
|
-
(
|
|
1156
|
+
(a) => a.field,
|
|
1157
|
+
(a) => l`<cx-grid columns="4" spacing="var(--cx-spacing-small)" column-spacing="0" use-flex-gap row-spacing="0" wrap="wrap"><cx-grid-item xs="4" sm="1"><cx-typography variant="body2">${a.title}</cx-typography></cx-grid-item><cx-grid-item xs="4" sm="3"><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${Z(this.supportedLanguages, (i) => {
|
|
1157
1158
|
const s = this.localize.languageName(i) || me.getName(i) || i, p = (d) => {
|
|
1158
1159
|
const m = d.target.value;
|
|
1159
1160
|
this.editedItem = {
|
|
1160
1161
|
...this.editedItem,
|
|
1161
|
-
[`${
|
|
1162
|
+
[`${a.field}-${i}`]: m
|
|
1162
1163
|
};
|
|
1163
1164
|
};
|
|
1164
|
-
return l`<cx-input ?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()} label=${s} value=${this.editedItem?.[`${
|
|
1165
|
+
return l`<cx-input ?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()} label=${s} value=${this.editedItem?.[`${a.field}-${i}`] ?? this.editedItem?.[`${a.field}`] ?? ""} @cx-change=${p}></cx-input>`;
|
|
1165
1166
|
})}</cx-space></cx-grid-item></cx-grid>`
|
|
1166
1167
|
)}
|
|
1167
1168
|
`;
|
|
1168
|
-
return l`<cx-space direction="vertical" wrap="nowrap">${
|
|
1169
|
+
return l`<cx-space direction="vertical" wrap="nowrap">${t}</cx-space>`;
|
|
1169
1170
|
}
|
|
1170
1171
|
return l`<cx-grid columns="3" spacing="var(--cx-spacing-small)" wrap="wrap">${x(
|
|
1171
1172
|
this.sortedEntries,
|
|
1172
|
-
([
|
|
1173
|
-
([
|
|
1174
|
-
this.columnsMap[
|
|
1173
|
+
([t]) => t,
|
|
1174
|
+
([t, a]) => l`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.columnsMap[t].title}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2">${X(
|
|
1175
|
+
this.columnsMap[t].controlType,
|
|
1175
1176
|
[
|
|
1176
1177
|
[
|
|
1177
1178
|
"image-picker",
|
|
@@ -1182,37 +1183,37 @@ let n = class extends T {
|
|
|
1182
1183
|
const { id: d, src: m } = p.detail;
|
|
1183
1184
|
this.editedItem = {
|
|
1184
1185
|
...this.editedItem,
|
|
1185
|
-
[
|
|
1186
|
+
[t]: m,
|
|
1186
1187
|
recordId: d
|
|
1187
1188
|
};
|
|
1188
1189
|
}, s = async () => {
|
|
1189
1190
|
this.editedItem = {
|
|
1190
1191
|
...this.editedItem,
|
|
1191
|
-
[
|
|
1192
|
+
[t]: "",
|
|
1192
1193
|
recordId: ""
|
|
1193
1194
|
};
|
|
1194
1195
|
};
|
|
1195
|
-
return l`<cx-asset-picker value=${
|
|
1196
|
+
return l`<cx-asset-picker value=${a} record-id=${this.editedItem.recordId || ""} type="image" id=${t} @cx-content-builder-asset-select=${i} @cx-content-builder-asset-delete=${s} @cx-asset-request-status=${this.handleAssetRequestStatus} .onRequestAsset=${this.onRequestAsset}></cx-asset-picker>`;
|
|
1196
1197
|
}
|
|
1197
1198
|
],
|
|
1198
1199
|
[
|
|
1199
1200
|
"radio-group",
|
|
1200
|
-
() => l`<cx-radio-group data-id=${
|
|
1201
|
-
this.columnsMap[
|
|
1201
|
+
() => l`<cx-radio-group data-id=${t} data-testid="radio-group-control" horizontal value=${(a || this.columnsMap[t].defaultValue) ?? ""} size="medium" @cx-change=${this.handleChange}>${x(
|
|
1202
|
+
this.columnsMap[t].options ?? [],
|
|
1202
1203
|
(i) => i.value,
|
|
1203
1204
|
(i) => l`<cx-radio value=${i.value}>${i.name}</cx-radio>`
|
|
1204
1205
|
)}</cx-radio-group>`
|
|
1205
1206
|
],
|
|
1206
1207
|
[
|
|
1207
1208
|
"select",
|
|
1208
|
-
() => this.columnsMap[
|
|
1209
|
-
this.columnsMap[
|
|
1209
|
+
() => this.columnsMap[t].api ? l`<cx-dynamic-select data-id=${t} hoist value=${a} @cx-change=${this.handleChange} .api=${this.columnsMap[t].api}></cx-dynamic-select>` : l`<cx-select data-id=${t} hoist value=${a} @cx-change=${this.handleChange}>${x(
|
|
1210
|
+
this.columnsMap[t].options ?? [],
|
|
1210
1211
|
(i) => i.value,
|
|
1211
1212
|
(i) => l`<cx-option value=${i.value}>${i.name}</cx-option>`
|
|
1212
1213
|
)}</cx-select>`
|
|
1213
1214
|
]
|
|
1214
1215
|
],
|
|
1215
|
-
() => l`<cx-input data-id=${
|
|
1216
|
+
() => l`<cx-input data-id=${t} value=${a} @cx-change=${this.handleChange}></cx-input>`
|
|
1216
1217
|
)}</cx-grid-item>`
|
|
1217
1218
|
)}</cx-grid>`;
|
|
1218
1219
|
}
|
|
@@ -1266,8 +1267,8 @@ r([
|
|
|
1266
1267
|
converter: {
|
|
1267
1268
|
fromAttribute: (e) => {
|
|
1268
1269
|
try {
|
|
1269
|
-
const
|
|
1270
|
-
return Array.isArray(
|
|
1270
|
+
const t = JSON.parse(e);
|
|
1271
|
+
return Array.isArray(t) ? t : [];
|
|
1271
1272
|
} catch {
|
|
1272
1273
|
return [];
|
|
1273
1274
|
}
|
|
@@ -1356,16 +1357,16 @@ r([
|
|
|
1356
1357
|
b()
|
|
1357
1358
|
], n.prototype, "translatableControls", 2);
|
|
1358
1359
|
r([
|
|
1359
|
-
|
|
1360
|
-
|
|
1360
|
+
v("columns"),
|
|
1361
|
+
v("supportedLanguages", { waitUntilFirstUpdate: !0 })
|
|
1361
1362
|
], n.prototype, "handleColumnsChange", 1);
|
|
1362
1363
|
r([
|
|
1363
|
-
|
|
1364
|
-
|
|
1364
|
+
v("editedItem"),
|
|
1365
|
+
v("columns", { waitUntilFirstUpdate: !0 })
|
|
1365
1366
|
], n.prototype, "handleEditedItemChange", 1);
|
|
1366
1367
|
r([
|
|
1367
|
-
|
|
1368
|
-
|
|
1368
|
+
v("loadingEvent", { waitUntilFirstUpdate: !0 }),
|
|
1369
|
+
v("loadingItemIndex", { waitUntilFirstUpdate: !0 }),
|
|
1369
1370
|
W(10)
|
|
1370
1371
|
], n.prototype, "handleLoadingEventChange", 1);
|
|
1371
1372
|
n = r([
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as m } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as g } from "./i18n.
|
|
4
|
+
import { L as g } from "./i18n.D6AYDPK-.js";
|
|
5
5
|
import { w as d } from "./watch.CThbualB.js";
|
|
6
6
|
import { i as b, x as h } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import b from "../components/space.js";
|
|
2
2
|
import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as P, I as y } from "./icon-button.
|
|
3
|
+
import { C as P, I as y } from "./icon-button.ztYU-DHy.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as z } from "./i18n.
|
|
5
|
+
import { L as z } from "./i18n.D6AYDPK-.js";
|
|
6
6
|
import { c as m } from "./math.DqTA6ya4.js";
|
|
7
7
|
import { w as d } from "./watch.CThbualB.js";
|
|
8
8
|
import { i as C, x as s } from "./lit-element.jLBm65_O.js";
|
|
@@ -10,9 +10,9 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as w } from "./button.
|
|
13
|
+
import { C as w } from "./button.i88sSbTZ.js";
|
|
14
14
|
import v from "../components/input.js";
|
|
15
|
-
import { C as I } from "./option.
|
|
15
|
+
import { C as I } from "./option.BAYtHIvG.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
17
17
|
import N from "../components/tooltip.js";
|
|
18
18
|
import { C as k } from "./typography.DJC_UXgs.js";
|
|
@@ -273,11 +273,11 @@ const E = L`.resizer{background-color:var(--cx-color-primary);z-index:100;width:
|
|
|
273
273
|
export {
|
|
274
274
|
B as H,
|
|
275
275
|
u as R,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
276
|
+
p as a,
|
|
277
|
+
b,
|
|
278
|
+
k as c,
|
|
279
|
+
n as d,
|
|
280
|
+
H as e,
|
|
281
|
+
C as f,
|
|
282
282
|
E as r
|
|
283
283
|
};
|
|
@@ -2,7 +2,7 @@ import In from "../components/resize-observer.js";
|
|
|
2
2
|
import { n as wt, C as Fn } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as Ln } from "./component.styles.CRO4Odto.js";
|
|
4
4
|
import { c as $n } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as Nn } from "./i18n.
|
|
5
|
+
import { L as Nn } from "./i18n.D6AYDPK-.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
7
7
|
import { w as ft } from "./watch.CThbualB.js";
|
|
8
8
|
import { i as Bn } from "./dom.0RpWet6y.js";
|
|
@@ -17,9 +17,9 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ue } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button.
|
|
20
|
+
import { C as Yn } from "./button.i88sSbTZ.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
|
-
import { C as qn } from "./icon-button.
|
|
22
|
+
import { C as qn } from "./icon-button.ztYU-DHy.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|
|
24
24
|
import Kn from "../components/menu-item.js";
|
|
25
25
|
import jn from "../components/tab.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as Ve } from "./button.
|
|
1
|
+
import { C as Ve } from "./button.i88sSbTZ.js";
|
|
2
2
|
import Qs from "../components/checkbox.js";
|
|
3
3
|
import Zs from "../components/divider.js";
|
|
4
4
|
import eo from "../components/format-number.js";
|
|
5
|
-
import { C as zs } from "./icon-button.
|
|
5
|
+
import { C as zs } from "./icon-button.ztYU-DHy.js";
|
|
6
6
|
import to from "../components/select.js";
|
|
7
7
|
import Si from "../components/space.js";
|
|
8
8
|
import io from "../components/spinner.js";
|
|
@@ -13,9 +13,9 @@ import { g as k, a as ts } from "./dom.0RpWet6y.js";
|
|
|
13
13
|
import { x as E, i as O, E as oo } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import "./debounce.CIEhztrj.js";
|
|
15
15
|
import "./form.Ch1cwYzO.js";
|
|
16
|
-
import { L as pt } from "./i18n.
|
|
16
|
+
import { L as pt } from "./i18n.D6AYDPK-.js";
|
|
17
17
|
import "./purify.es.BIuh5IAZ.js";
|
|
18
|
-
import "./content-builder.
|
|
18
|
+
import "./content-builder.OsUmm8Wu.js";
|
|
19
19
|
import "./unsafe-html.Dff7-rCx.js";
|
|
20
20
|
import { t as ro, g as no } from "./toast.D3AW3RWv.js";
|
|
21
21
|
import { s as T, c as ft, d as Ti } from "./string.DUgD4c9f.js";
|
|
@@ -23,7 +23,7 @@ import { o as re } from "./if-defined.BRoBj_Rp.js";
|
|
|
23
23
|
import { o as Le } from "./style-map.llVFPd__.js";
|
|
24
24
|
import { T as ao, C as lo } from "./typography.DJC_UXgs.js";
|
|
25
25
|
import { d as ho } from "./debounce.C_J-9zJi.js";
|
|
26
|
-
import { C as co, P as uo } from "./pagination.
|
|
26
|
+
import { C as co, P as uo } from "./pagination.CCJD61IB.js";
|
|
27
27
|
import { c as Be } from "./custom-element.L4WJXn1j.js";
|
|
28
28
|
import { w as A } from "./watch.CThbualB.js";
|
|
29
29
|
import { r as ae } from "./state.CSDxrqLd.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as R, n as l } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as N } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as G } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as M } from "./i18n.
|
|
4
|
+
import { L as M } from "./i18n.D6AYDPK-.js";
|
|
5
5
|
import { c as K } from "./math.DqTA6ya4.js";
|
|
6
6
|
import { w as f } from "./watch.CThbualB.js";
|
|
7
7
|
import { i as Z, x as b, E as D } from "./lit-element.jLBm65_O.js";
|
|
@@ -2,7 +2,7 @@ import { n as s, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as b } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { s as u, a as p, w as m } from "../chunks/event.BeKOsirN.js";
|
|
4
4
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as C } from "../chunks/i18n.
|
|
5
|
+
import { L as C } from "../chunks/i18n.D6AYDPK-.js";
|
|
6
6
|
import { H as T } from "../chunks/slot.j5oheLJC.js";
|
|
7
7
|
import { w } from "../chunks/watch.CThbualB.js";
|
|
8
8
|
import { i as I, x as h } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -10,7 +10,7 @@ import { r as A } from "../chunks/state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as g } from "../chunks/query.BBf1UFkC.js";
|
|
11
11
|
import { e as v } from "../chunks/class-map.BiVq-cVR.js";
|
|
12
12
|
import { s as _, g as f } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
13
|
-
import { C as H } from "../chunks/icon-button.
|
|
13
|
+
import { C as H } from "../chunks/icon-button.ztYU-DHy.js";
|
|
14
14
|
const k = I`:host{margin:0;display:contents}.alert{background-color:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-top-width:calc(var(--cx-panel-border-width) * 3);border-radius:var(--cx-border-radius-small);font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-regular);color:var(--cx-color-neutral-700);margin:inherit;align-items:stretch;line-height:1.6;display:flex;position:relative;overflow:hidden}.alert:not(.alert--has-icon) .alert__icon,.alert:not(.alert--closable) .alert__close-button{display:none}.alert__icon{font-size:var(--cx-font-size-large);flex:none;align-items:center;padding-inline-start:var(--cx-spacing-large);display:flex}.alert--has-countdown{border-bottom:none}.alert--primary{border-top-color:var(--cx-color-primary)}.alert--primary .alert__icon{color:var(--cx-color-primary)}.alert--success{border-top-color:var(--cx-color-success)}.alert--success .alert__icon{color:var(--cx-color-success)}.alert--neutral{border-top-color:var(--cx-color-neutral)}.alert--neutral .alert__icon{color:var(--cx-color-neutral)}.alert--warning{border-top-color:var(--cx-color-warning)}.alert--warning .alert__icon{color:var(--cx-color-warning)}.alert--danger{border-top-color:var(--cx-color-danger)}.alert--danger .alert__icon{color:var(--cx-color-danger)}.alert__message{padding:var(--cx-spacing-large);flex:auto;display:block;overflow:hidden}.alert__close-button{font-size:var(--cx-font-size-medium);flex:none;align-items:center;padding-inline-end:var(--cx-spacing-medium);display:flex}.alert__countdown{width:100%;height:calc(var(--cx-panel-border-width) * 3);background-color:var(--cx-panel-border-color);display:flex;position:absolute;bottom:0;left:0}.alert__countdown--ltr{justify-content:flex-end}.alert__countdown .alert__countdown-elapsed{width:0;height:100%}.alert--primary .alert__countdown-elapsed{background-color:var(--cx-color-primary)}.alert--success .alert__countdown-elapsed{background-color:var(--cx-color-success)}.alert--neutral .alert__countdown-elapsed{background-color:var(--cx-color-neutral-600)}.alert--warning .alert__countdown-elapsed{background-color:var(--cx-color-warning)}.alert--danger .alert__countdown-elapsed{background-color:var(--cx-color-danger)}.alert__timer{display:none}`;
|
|
15
15
|
var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n, l) => {
|
|
16
16
|
for (var a = l > 1 ? void 0 : l ? $(o, n) : o, c = r.length - 1, d; c >= 0; c--)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import { C as B } from "../chunks/button.
|
|
1
|
+
import "./cropper.js";
|
|
2
|
+
import { C as B } from "../chunks/button.i88sSbTZ.js";
|
|
3
3
|
import _ from "./space.js";
|
|
4
4
|
import { C as F } from "../chunks/typography.DJC_UXgs.js";
|
|
5
5
|
import { n, C as W } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { b as rt, c as ht } from "../chunks/asset.
|
|
6
|
+
import { b as rt, c as ht } from "../chunks/asset.NgymQ3Zx.js";
|
|
7
7
|
import { c as E } from "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import { U as a, T as l } from "../chunks/asset-link-format.B0c92pSs.js";
|
|
9
9
|
import { c as N } from "../chunks/custom-element.L4WJXn1j.js";
|
|
10
|
-
import { L as U } from "../chunks/i18n.
|
|
10
|
+
import { L as U } from "../chunks/i18n.D6AYDPK-.js";
|
|
11
11
|
import { w } from "../chunks/watch.CThbualB.js";
|
|
12
12
|
import { s as et, c as it } from "../chunks/number.B4PQLJIg.js";
|
|
13
13
|
import { b as G } from "../chunks/transformation.BlQCWMfI.js";
|
|
@@ -17,9 +17,9 @@ import { n as k } from "../chunks/when.Dr1es41R.js";
|
|
|
17
17
|
import I from "./details.js";
|
|
18
18
|
import lt from "./divider.js";
|
|
19
19
|
import L from "./icon.js";
|
|
20
|
-
import { C as K } from "../chunks/icon-button.
|
|
20
|
+
import { C as K } from "../chunks/icon-button.ztYU-DHy.js";
|
|
21
21
|
import J from "./input.js";
|
|
22
|
-
import { C as X } from "../chunks/option.
|
|
22
|
+
import { C as X } from "../chunks/option.BAYtHIvG.js";
|
|
23
23
|
import Y from "./select.js";
|
|
24
24
|
import { c as ct } from "../chunks/image.9qwbjGNb.js";
|
|
25
25
|
import { e as V } from "../chunks/query.BBf1UFkC.js";
|