@orangelogic/design-system 4.38.0 → 4.40.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/{alert.D8Gwfkvy.js → alert.C7jo45Pq.js} +2 -2
- package/library/chunks/{array-line-clamp.DSzPRb_y.js → array-line-clamp.BWWMLJhi.js} +2 -2
- package/library/chunks/asset-link-format.COPyGdND.js +22 -0
- package/library/chunks/{asset-link-format.vbmd2KkO.js → asset-link-format.P8WKO488.js} +1124 -578
- package/library/chunks/{audio.RwF9cR3b.js → audio.C8rPv9iZ.js} +2 -2
- package/library/chunks/{bicolor-picker.CoEkuFFa.js → bicolor-picker.Dbag6AHo.js} +1 -1
- package/library/chunks/{block-width.Bpxcj778.js → block-width.C5qELJEx.js} +394 -389
- package/library/chunks/{border-input-group.B7tkimlE.js → border-input-group.B12EFZFD.js} +3 -3
- package/library/chunks/{breadcrumb.C_NpOjQB.js → breadcrumb.BLCAOe89.js} +1 -1
- package/library/chunks/{button.BlhGCsjP.js → button.DnOMjl_G.js} +2 -2
- package/library/chunks/{color-picker.Cs91unvg.js → color-picker.Dz6vVcZS.js} +10 -10
- package/library/chunks/{color-swatch-group.BF_AFUh6.js → color-swatch-group.CZx1bZyC.js} +22 -22
- package/library/chunks/{color-swatch.By2bJtpB.js → color-swatch.C3Elv0dG.js} +3 -3
- package/library/chunks/{config-manager.CfFtxFHj.js → config-manager.Dsb1DCbi.js} +28 -28
- package/library/chunks/{configs-controller.DSc6DiFO.js → configs-controller.Cm21QV6C.js} +425 -416
- package/library/chunks/{confirm-popover.CNgNi7H6.js → confirm-popover.CahmeTbf.js} +4 -4
- package/library/chunks/{copy-button.D9kDKwlR.js → copy-button.D2ZwXadV.js} +2 -2
- package/library/chunks/{corner-position-input-group.Cc0hzrPR.js → corner-position-input-group.BV8b7GsS.js} +4 -4
- package/library/chunks/{cropper.D4ymxgab.js → cropper.BRsN8h2t.js} +1 -1
- package/library/chunks/{date-calendar.Dc3XKO0t.js → date-calendar.BpfgvrtE.js} +1 -1
- package/library/chunks/{details.BacO3ROq.js → details.BGlfx87d.js} +1 -1
- package/library/chunks/{dialog.Ci7Q_ZOR.js → dialog.BfGASgvs.js} +3 -3
- package/library/chunks/{document-viewer.CdA65_RB.js → document-viewer.BtB-RTvP.js} +14 -14
- package/library/chunks/{dot-pagination.DDt0UoT8.js → dot-pagination.BUZhiikk.js} +2 -2
- package/library/chunks/{drawer.BeMBXsqi.js → drawer.BEXLFfil.js} +2 -2
- package/library/chunks/{dropdown.DFLP9K18.js → dropdown.CnT7uTzf.js} +4 -4
- package/library/chunks/{dynamic-select.wu648W9-.js → dynamic-select.BeqPRh6t.js} +5 -5
- package/library/chunks/{e-chart.fGTLKIDX.js → e-chart.BkqfNGfV.js} +2 -2
- package/library/chunks/{element-clamp.B509oA2s.js → element-clamp.CwFlUOET.js} +2 -2
- package/library/chunks/{file-on-demand.C17w6fng.js → file-on-demand.BEAjdrt_.js} +16 -16
- package/library/chunks/{folder-select.CQllI-Id.js → folder-select.B02Mdr8b.js} +31 -34
- package/library/chunks/{format-time.DZCXUWmw.js → format-time.ysWqJKLC.js} +1 -1
- package/library/chunks/{header.BDEqW3TI.js → header.NoiopyyV.js} +2 -2
- package/library/chunks/{i18n.BJ2p4em8.js → i18n.CQPiI18Q.js} +3 -0
- package/library/chunks/{icon-button.Dd-oDRfX.js → icon-button.BAUsYiQh.js} +2 -2
- package/library/chunks/{iframe.DsOaw03m.js → iframe.CKoHB0lA.js} +1 -1
- package/library/chunks/{image-comparer.FB0ZzA0d.js → image-comparer.WUKRGHqI.js} +1 -1
- package/library/chunks/{image.Cmh2WYdP.js → image.CRrj-94o.js} +2 -2
- package/library/chunks/{input.Fmdh6pnf.js → input.D1UkXp3F.js} +1 -1
- package/library/chunks/{line-clamp.CgiUerew.js → line-clamp.B7QEzpUF.js} +2 -2
- package/library/chunks/{markdown.DMexA2xN.js → markdown.CrAalbNm.js} +2 -2
- package/library/chunks/{masonry.DqU7fvCr.js → masonry.B5kwpjVE.js} +4 -4
- package/library/chunks/{menu-item.Du9N-cKj.js → menu-item.BgoL4QFj.js} +3 -3
- package/library/chunks/{menu.gmy0sy3a.js → menu.DJBOpi__.js} +2 -2
- package/library/chunks/{option._7i4rjM5.js → option.C97GEvQ6.js} +1 -1
- package/library/chunks/{padding-input-group.E8trRZI5.js → padding-input-group.CGDq3Cct.js} +1 -1
- package/library/chunks/{pagination.C0YML9vO.js → pagination.GiwV5ZHF.js} +7 -7
- package/library/chunks/{popup.uU7UtxmR.js → popup.C2ySgZ9I.js} +1 -1
- package/library/chunks/{position-picker.DwDC9gDl.js → position-picker.DzRyAx7a.js} +1 -1
- package/library/chunks/{progress-bar.BJfkoZ6G.js → progress-bar.BfHPsueW.js} +1 -1
- package/library/chunks/{progress-ring.BSfnNF9M.js → progress-ring.Cn08Dbar.js} +1 -1
- package/library/chunks/{radio-card.DOnTPgND.js → radio-card.BPumEe9b.js} +1 -1
- package/library/chunks/{range.blqKtzMI.js → range.E1wPWa7j.js} +2 -2
- package/library/chunks/{rating.BgUId4FT.js → rating.BjGQtyCk.js} +1 -1
- package/library/chunks/{relative-time.BSSaZxeD.js → relative-time.BcpFkSZT.js} +1 -1
- package/library/chunks/{select.BddyhkLW.js → select.DGL9C_32.js} +6 -6
- package/library/chunks/{shadow-input-group.k4MBg4Pf.js → shadow-input-group.CaCaO1C9.js} +2 -2
- package/library/chunks/{share-option-list.8OSETkgd.js → share-option-list.u2Q0zMae.js} +2 -2
- package/library/chunks/{sidebar.B1MjUxBY.js → sidebar.CwAW3KaC.js} +1 -1
- package/library/chunks/{size-input-group.CR0wHbEO.js → size-input-group.Ciupfrja.js} +5 -5
- package/library/chunks/{sortable.esm.W3y3EWKS.js → sortable.esm.BVU0_hc5.js} +339 -334
- package/library/chunks/{spinner.o3Rjsff7.js → spinner.DsWszid8.js} +1 -1
- package/library/chunks/{split-panel.CVyqM2Dr.js → split-panel.KzmC5IAW.js} +1 -1
- package/library/chunks/{src.BBVUYHbX.js → src.HY1opSC4.js} +47 -47
- package/library/chunks/{src.CDbx_BKW.js → src.QIRlv8bQ.js} +53 -53
- package/library/chunks/{step.7RkKgH1n.js → step.CpXaHTmn.js} +3 -3
- package/library/chunks/{stepper-wizard.D7XpenfO.js → stepper-wizard.DZ7up5KF.js} +2 -2
- package/library/chunks/{stepper.BhLxi6eC.js → stepper.BAqogLwg.js} +1 -1
- package/library/chunks/{endpoints.jOHOmF_t.js → string-array.Dstcqyjm.js} +5 -2
- package/library/chunks/{tab-group.DPhCgEOG.js → tab-group.Ib4bahXC.js} +7 -7
- package/library/chunks/{tab.Cv9UFQjo.js → tab.BOJ3V4IE.js} +3 -3
- package/library/chunks/{tag.V9YP_T0h.js → tag.BySfbRok.js} +3 -3
- package/library/chunks/{tooltip.GjnTzFeL.js → tooltip.DWx9VYtS.js} +2 -2
- package/library/chunks/{tree.Cvx7TQer.js → tree.B3qvSTCo.js} +4 -4
- package/library/chunks/{typeface.CHo-Lj6f.js → typeface.BcNOEnVy.js} +3 -3
- package/library/chunks/{video.DFfkHdKQ.js → video.DVuLcN2J.js} +3 -3
- package/library/components/alert.js +1 -1
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +48 -48
- package/library/components/audio.js +1 -1
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/cropper.js +1 -1
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dot-pagination.js +1 -1
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- 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 +1 -1
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +1 -1
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +17 -17
- package/library/components/option.js +1 -1
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +1 -1
- 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/radio-card.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 +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +98 -98
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/events/src/cx-asset-link-format-crop-toggle.d.ts +6 -0
- package/library/packages/events/src/cx-asset-link-format-reorder.d.ts +10 -0
- package/library/packages/events/src/events.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/react/plugins/Timeline/Viewer.d.ts +1 -0
- package/library/packages/hybrid/video-advanced/src/react/utils/segmentTime.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +176 -18
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +10 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-dimensions/asset-link-format-dimensions.d.ts +103 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-dimensions/asset-link-format-dimensions.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +30 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +6 -0
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +7 -7
- package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -3
- package/library/packages/types/src/asset-link-format.d.ts +63 -0
- package/library/packages/types/src/content-builder.d.ts +3 -3
- package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
- package/library/react-web-component.d.ts +18 -26
- package/library/utils.js +2 -2
- package/package.json +1 -1
- package/library/chunks/asset-link-format.DhdgEsA0.js +0 -12
|
@@ -3,12 +3,12 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as l } from "./i18n.
|
|
6
|
+
import { t as l } from "./i18n.CQPiI18Q.js";
|
|
7
7
|
import { t as u } from "./class-map.D8nsNOVJ.js";
|
|
8
|
-
import { t as d } from "./button.
|
|
8
|
+
import { t as d } from "./button.DnOMjl_G.js";
|
|
9
9
|
import { t as f } from "./typography.B0mkhqTB.js";
|
|
10
|
-
import { t as p } from "./dropdown.
|
|
11
|
-
import { o as m, t as h } from "./dialog.
|
|
10
|
+
import { t as p } from "./dropdown.CnT7uTzf.js";
|
|
11
|
+
import { o as m, t as h } from "./dialog.BfGASgvs.js";
|
|
12
12
|
//#region ../../packages/types/src/confirm-popover.ts
|
|
13
13
|
var g = /* @__PURE__ */ function(e) {
|
|
14
14
|
return e.Horizontal = "horizontal", e.HorizontalReverse = "horizontal-reverse", e.Vertical = "vertical", e.VerticalReverse = "vertical-reverse", e;
|
|
@@ -3,14 +3,14 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as s } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as u } from "./i18n.
|
|
6
|
+
import { t as u } from "./i18n.CQPiI18Q.js";
|
|
7
7
|
import { t as d } from "./slot.CZUlACxT.js";
|
|
8
8
|
import { t as f } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as p } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { r as m, t as h } from "./animation-registry.DKd2AOcC.js";
|
|
11
11
|
import { t as g } from "./when.BUskJLtZ.js";
|
|
12
12
|
import { t as _ } from "./icon.CeQpEaQz.js";
|
|
13
|
-
import { t as v } from "./tooltip.
|
|
13
|
+
import { t as v } from "./tooltip.DWx9VYtS.js";
|
|
14
14
|
//#region ../../packages/atoms/src/components/copy-button/copy-button.styles.ts
|
|
15
15
|
var y = t`:host{--error-color:var(--cx-color-danger);--success-color:var(--cx-color-success);--background-color:light-dark(var(--cx-color-primary),var(--cx-color-primary));--color:light-dark(var(--cx-color-neutral-0),var(--cx-color-neutral-1000));cursor:pointer;width:auto;max-width:100%;line-height:normal;display:inline-block;position:relative}.copy-button{border-style:solid;border-width:var(--cx-input-border-width);width:100%;max-width:100%;font-family:var(--button-font-family,var(--cx-input-font-family));font-style:var(--button-font-style,normal);font-weight:var(--button-font-weight,var(--cx-font-weight-regular));text-transform:var(--cx-button-text-transform,none);-webkit-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;transition:var(--cx-transition-x-fast) background-color, var(--cx-transition-x-fast) color, var(--cx-transition-x-fast) border, var(--cx-transition-x-fast) box-shadow;cursor:inherit;justify-content:center;align-items:stretch;padding:0;text-decoration:none;display:inline-flex}.copy-button__label{max-width:100%}.copy-button::-moz-focus-inner{border:0}.copy-button:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.copy-button{color:var(--button-text-color,var(--cx-color-neutral));background-color:#0000;border-color:#0000}.copy-button.copy-button--has-label:hover:not(.copy-button--disabled),.copy-button.copy-button--has-label.copy-button--focused:not(.copy-button--disabled){background-color:var(--cx-color-neutral-100);border-color:var(--cx-color-neutral-100);color:var(--button-text-color,var(--cx-color-neutral))}.copy-button.copy-button--has-label:active:not(.copy-button--disabled){background-color:var(--cx-color-neutral-200);border-color:var(--cx-color-neutral-200);color:var(--button-text-color,var(--cx-color-neutral))}.copy-button--disabled{opacity:.5;cursor:default}.copy-button--disabled *{pointer-events:none}.copy-button__icon-wrapper{background:0 0;border:none;grid-template-columns:1fr;display:inline-grid}.copy-button__icon-wrapper slot{grid-row-start:1;grid-column-start:1;display:inline-flex}.copy-button__icon{pointer-events:none;flex:none;align-items:center;display:flex}.copy-button--copy-success .copy-button__icon{color:var(--success-color)}.copy-button--copy-error .copy-button__icon{color:var(--error-color)}.copy-button__label{justify-content:center;align-items:center;line-height:1;display:inline-flex}.copy-button{background-color:var(--button-background-color,unset)}.copy-button--small{height:auto;min-height:var(--cx-input-height-small);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-small)}.copy-button--small .copy-button__icon{--font-size:var(--button-font-size,var(--cx-font-size-medium))}.copy-button--medium{height:auto;min-height:var(--cx-input-height-medium);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-medium)}.copy-button--large{height:auto;min-height:var(--cx-input-height-large);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-large)}.copy-button--x-large{height:auto;min-height:var(--cx-input-height-x-large);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-large)}.copy-button--small{padding:var(--button-padding,0 var(--cx-spacing-x-small))}.copy-button--medium{padding:var(--button-padding,0 var(--cx-spacing-medium))}.copy-button--large{padding:var(--button-padding,0 var(--cx-spacing-large))}.copy-button--x-large{padding:var(--button-padding,0 var(--cx-spacing-x-large))}.copy-button--has-label:not(.copy-button--no-icon).copy-button--small .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--medium .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--large .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--x-large .copy-button__label{padding-inline-start:var(--cx-spacing-x-small)}`, b = class extends o {
|
|
16
16
|
constructor(...e) {
|
|
@@ -2,12 +2,12 @@ import { c as e, d as t } from "./lit.CyJqR2kf.js";
|
|
|
2
2
|
import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as o } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
5
|
-
import { t as c } from "./i18n.
|
|
5
|
+
import { t as c } from "./i18n.CQPiI18Q.js";
|
|
6
6
|
import { t as l } from "./src.BJhIYoMP.js";
|
|
7
|
-
import { t as u } from "./input.
|
|
8
|
-
import { t as d } from "./option.
|
|
7
|
+
import { t as u } from "./input.D1UkXp3F.js";
|
|
8
|
+
import { t as d } from "./option.C97GEvQ6.js";
|
|
9
9
|
import { t as f } from "./space.Dd8jezXK.js";
|
|
10
|
-
import { t as p } from "./select.
|
|
10
|
+
import { t as p } from "./select.DGL9C_32.js";
|
|
11
11
|
//#region ../../packages/molecules/src/corner-position-input-group/corner-position-input-group.styles.ts
|
|
12
12
|
var m = t`:host{width:100%;display:block}.corner-position-input-group__inputs{width:100%}.corner-position-input-group__input{flex:1}`, h = {
|
|
13
13
|
mask: "numpx",
|
|
@@ -7,7 +7,7 @@ import { t as u } from "./custom-element.BEMYNDK1.js";
|
|
|
7
7
|
import { t as d } from "./when.BUskJLtZ.js";
|
|
8
8
|
import { c as f } from "./number.CNp5LKkv.js";
|
|
9
9
|
import { c as p, l as m, t as h } from "./image.C0s1gL4z.js";
|
|
10
|
-
import {
|
|
10
|
+
import { l as g } from "./asset-link-format.COPyGdND.js";
|
|
11
11
|
import { a as _, n as v, r as y, t as b } from "./jsx-runtime.BqxT1jD6.js";
|
|
12
12
|
import { t as x } from "./debounce.DrhImrNP.js";
|
|
13
13
|
//#region ../../packages/molecules/src/cropper/cropper.styles.ts
|
|
@@ -3,7 +3,7 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
5
5
|
import { t as l } from "./class-map.D8nsNOVJ.js";
|
|
6
|
-
import { t as u } from "./icon-button.
|
|
6
|
+
import { t as u } from "./icon-button.BAUsYiQh.js";
|
|
7
7
|
import { t as d } from "./repeat.CKv9FPlC.js";
|
|
8
8
|
import { d as f, g as p, p as m, u as h, x as g, y as _ } from "./date.BL4L64Hx.js";
|
|
9
9
|
//#region ../../packages/atoms/src/components/date-calendar/date-calendar.styles.ts
|
|
@@ -4,7 +4,7 @@ import { t as o } from "./query.B1yi7t71.js";
|
|
|
4
4
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { a as c, n as l, o as u, t as d } from "./event.C11S4obG.js";
|
|
6
6
|
import { t as f } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as p } from "./i18n.
|
|
7
|
+
import { t as p } from "./i18n.CQPiI18Q.js";
|
|
8
8
|
import { t as m } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as h } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { r as g, t as _ } from "./animation-registry.DKd2AOcC.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c as e, d as t, r as n } from "./lit.CyJqR2kf.js";
|
|
2
2
|
import { a as r, i, n as a, r as o, t as s } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as c } from "./query.B1yi7t71.js";
|
|
4
|
-
import { t as l } from "./popup.
|
|
4
|
+
import { t as l } from "./popup.C2ySgZ9I.js";
|
|
5
5
|
import { t as u } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { n as d, o as f, t as p } from "./event.C11S4obG.js";
|
|
7
7
|
import { t as m } from "./custom-element.BEMYNDK1.js";
|
|
8
|
-
import { t as h } from "./i18n.
|
|
8
|
+
import { t as h } from "./i18n.CQPiI18Q.js";
|
|
9
9
|
import { t as g } from "./slot.CZUlACxT.js";
|
|
10
10
|
import { t as _ } from "./watch.Ub5r8btz.js";
|
|
11
11
|
import { t as v } from "./class-map.D8nsNOVJ.js";
|
|
12
12
|
import { r as y, t as b } from "./animation-registry.DKd2AOcC.js";
|
|
13
|
-
import { t as x } from "./icon-button.
|
|
13
|
+
import { t as x } from "./icon-button.BAUsYiQh.js";
|
|
14
14
|
import { t as S } from "./if-defined.B29V_rEp.js";
|
|
15
15
|
import { t as C } from "./when.BUskJLtZ.js";
|
|
16
16
|
import { t as w } from "./style-map.DPGQIxip.js";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./rolldown-runtime.CEFd7nDs.js";
|
|
2
2
|
import { c as x, d as i, r as E } from "./lit.CyJqR2kf.js";
|
|
3
3
|
import { a as n, i as r$1, n as __decorate, r as __decorateMetadata, t as CortexElement } from "./cortex-element.DTrNUtdr.js";
|
|
4
|
-
import { t as popup_default } from "./popup.
|
|
4
|
+
import { t as popup_default } from "./popup.C2ySgZ9I.js";
|
|
5
5
|
import { t as component_styles_default } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { t as customElement } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as LocalizeController } from "./i18n.
|
|
7
|
+
import { t as LocalizeController } from "./i18n.CQPiI18Q.js";
|
|
8
8
|
import { t as watch } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as e } from "./class-map.D8nsNOVJ.js";
|
|
10
|
-
import { t as icon_button_default } from "./icon-button.
|
|
10
|
+
import { t as icon_button_default } from "./icon-button.BAUsYiQh.js";
|
|
11
11
|
import { t as n$1 } from "./when.BUskJLtZ.js";
|
|
12
12
|
import { t as icon_default } from "./icon.CeQpEaQz.js";
|
|
13
|
-
import { t as spinner_default } from "./spinner.
|
|
14
|
-
import { t as button_default } from "./button.
|
|
13
|
+
import { t as spinner_default } from "./spinner.DsWszid8.js";
|
|
14
|
+
import { t as button_default } from "./button.DnOMjl_G.js";
|
|
15
15
|
import { a as ResizeDirection, i as HeightMode, n as ResizableElement, t as resizable_component_styles_default } from "./resizable-component.styles.v9pbLDG5.js";
|
|
16
|
-
import { t as tooltip_default } from "./tooltip.
|
|
16
|
+
import { t as tooltip_default } from "./tooltip.DWx9VYtS.js";
|
|
17
17
|
import { t as resize_observer_default } from "./resize-observer.D9EHlnZI.js";
|
|
18
18
|
import { a as ObjectFit } from "./src.BJhIYoMP.js";
|
|
19
19
|
import { t as typography_default } from "./typography.B0mkhqTB.js";
|
|
20
|
-
import { t as dropdown_default } from "./dropdown.
|
|
20
|
+
import { t as dropdown_default } from "./dropdown.CnT7uTzf.js";
|
|
21
21
|
import { t as focusWhenVisible } from "./focus-when-visible.DKscgyKo.js";
|
|
22
|
-
import { t as input_default } from "./input.
|
|
23
|
-
import { t as menu_default } from "./menu.
|
|
24
|
-
import { t as menu_item_default } from "./menu-item.
|
|
25
|
-
import { Y as fetchCortexApi } from "./src.
|
|
26
|
-
import { t as drawer_default } from "./drawer.
|
|
27
|
-
import { t as progress_bar_default } from "./progress-bar.
|
|
22
|
+
import { t as input_default } from "./input.D1UkXp3F.js";
|
|
23
|
+
import { t as menu_default } from "./menu.DJBOpi__.js";
|
|
24
|
+
import { t as menu_item_default } from "./menu-item.BgoL4QFj.js";
|
|
25
|
+
import { Y as fetchCortexApi } from "./src.QIRlv8bQ.js";
|
|
26
|
+
import { t as drawer_default } from "./drawer.BEXLFfil.js";
|
|
27
|
+
import { t as progress_bar_default } from "./progress-bar.BfHPsueW.js";
|
|
28
28
|
import { a as require_react, n as w, r as require_client, t as require_jsx_runtime } from "./jsx-runtime.BqxT1jD6.js";
|
|
29
29
|
import { t as require___vite_browser_external } from "./__vite-browser-external.CMLby1wp.js";
|
|
30
30
|
import { i as _extends, r as _assertThisInitialized, t as _inheritsLoose } from "./inheritsLoose.CmL1ZoPA.js";
|
|
31
|
-
import { t as image_default } from "./image.
|
|
31
|
+
import { t as image_default } from "./image.CRrj-94o.js";
|
|
32
32
|
//#region ../../packages/types/src/book-reader.ts
|
|
33
33
|
var BookReaderMode$1 = /* @__PURE__ */ function(t) {
|
|
34
34
|
return t.Image = "Image", t.Pdf = "Pdf", t;
|
|
@@ -4,12 +4,12 @@ import { t as s } from "./query.B1yi7t71.js";
|
|
|
4
4
|
import { t as c } from "./query-all.NK7qxEbl.js";
|
|
5
5
|
import { t as l } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { t as u } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as d } from "./i18n.
|
|
7
|
+
import { t as d } from "./i18n.CQPiI18Q.js";
|
|
8
8
|
import { t as f } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as p } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { t as m } from "./if-defined.B29V_rEp.js";
|
|
11
11
|
import { t as h } from "./when.BUskJLtZ.js";
|
|
12
|
-
import { t as g } from "./tooltip.
|
|
12
|
+
import { t as g } from "./tooltip.DWx9VYtS.js";
|
|
13
13
|
import { o as _ } from "./src.BJhIYoMP.js";
|
|
14
14
|
import { t as v } from "./map.ByDuLduF.js";
|
|
15
15
|
//#region ../../packages/atoms/src/components/dot-pagination/dot-pagination.styles.ts
|
|
@@ -4,12 +4,12 @@ import { t as s } from "./query.B1yi7t71.js";
|
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { n as l, o as u, t as d } from "./event.C11S4obG.js";
|
|
6
6
|
import { t as f } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as p } from "./i18n.
|
|
7
|
+
import { t as p } from "./i18n.CQPiI18Q.js";
|
|
8
8
|
import { t as m } from "./slot.CZUlACxT.js";
|
|
9
9
|
import { t as h } from "./watch.Ub5r8btz.js";
|
|
10
10
|
import { t as g } from "./class-map.D8nsNOVJ.js";
|
|
11
11
|
import { r as _, t as v } from "./animation-registry.DKd2AOcC.js";
|
|
12
|
-
import { t as y } from "./icon-button.
|
|
12
|
+
import { t as y } from "./icon-button.BAUsYiQh.js";
|
|
13
13
|
import { t as b } from "./if-defined.B29V_rEp.js";
|
|
14
14
|
import { t as x } from "./when.BUskJLtZ.js";
|
|
15
15
|
import { r as S, t as C } from "./scroll.CEH_a4pm.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as e, d as t } from "./lit.CyJqR2kf.js";
|
|
2
2
|
import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
|
-
import { t as s } from "./popup.
|
|
4
|
+
import { t as s } from "./popup.C2ySgZ9I.js";
|
|
5
5
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { n as l, o as u, t as d } from "./event.C11S4obG.js";
|
|
7
7
|
import { t as f } from "./custom-element.BEMYNDK1.js";
|
|
8
|
-
import { t as p } from "./i18n.
|
|
8
|
+
import { t as p } from "./i18n.CQPiI18Q.js";
|
|
9
9
|
import { t as m } from "./slot.CZUlACxT.js";
|
|
10
10
|
import { t as h } from "./watch.Ub5r8btz.js";
|
|
11
11
|
import { t as g } from "./class-map.D8nsNOVJ.js";
|
|
@@ -14,8 +14,8 @@ import { t as y } from "./if-defined.B29V_rEp.js";
|
|
|
14
14
|
import { t as b } from "./active-elements.Tk45XSNQ.js";
|
|
15
15
|
import { t as x } from "./focus-when-visible.DKscgyKo.js";
|
|
16
16
|
import { t as S } from "./tabbable.Bflg1dha.js";
|
|
17
|
-
import { t as C } from "./input.
|
|
18
|
-
import { t as w } from "./menu.
|
|
17
|
+
import { t as C } from "./input.D1UkXp3F.js";
|
|
18
|
+
import { t as w } from "./menu.DJBOpi__.js";
|
|
19
19
|
import { t as T } from "./textarea.BgWdR_7D.js";
|
|
20
20
|
//#region ../../packages/utils/src/custom-element/escapable-overlays.ts
|
|
21
21
|
var E = [], D = class {
|
|
@@ -2,18 +2,18 @@ import { c as e } from "./lit.CyJqR2kf.js";
|
|
|
2
2
|
import { a as t, i as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
5
|
-
import { t as c } from "./i18n.
|
|
5
|
+
import { t as c } from "./i18n.CQPiI18Q.js";
|
|
6
6
|
import { t as l } from "./watch.Ub5r8btz.js";
|
|
7
7
|
import { t as u } from "./class-map.D8nsNOVJ.js";
|
|
8
|
-
import { t as d } from "./icon-button.
|
|
8
|
+
import { t as d } from "./icon-button.BAUsYiQh.js";
|
|
9
9
|
import { t as f } from "./if-defined.B29V_rEp.js";
|
|
10
10
|
import { t as p } from "./when.BUskJLtZ.js";
|
|
11
11
|
import { t as m } from "./style-map.DPGQIxip.js";
|
|
12
|
-
import { t as h } from "./button.
|
|
12
|
+
import { t as h } from "./button.DnOMjl_G.js";
|
|
13
13
|
import { t as g } from "./debounce.Ci-xdsHE.js";
|
|
14
14
|
import { t as _ } from "./repeat.CKv9FPlC.js";
|
|
15
|
-
import { n as v, t as y } from "./option.
|
|
16
|
-
import { t as b } from "./select.
|
|
15
|
+
import { n as v, t as y } from "./option.C97GEvQ6.js";
|
|
16
|
+
import { t as b } from "./select.DGL9C_32.js";
|
|
17
17
|
import { t as x } from "./map.ByDuLduF.js";
|
|
18
18
|
import { t as S } from "./keyed.zYwdaCfO.js";
|
|
19
19
|
import { t as C } from "./_baseIteratee.DWc2-Bvm.js";
|
|
@@ -4,11 +4,11 @@ import { a as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtdr.js";
|
|
|
4
4
|
import { t as s } from "./query.B1yi7t71.js";
|
|
5
5
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as u } from "./i18n.
|
|
7
|
+
import { t as u } from "./i18n.CQPiI18Q.js";
|
|
8
8
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as f } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { t as p } from "./when.BUskJLtZ.js";
|
|
11
|
-
import { t as m } from "./spinner.
|
|
11
|
+
import { t as m } from "./spinner.DsWszid8.js";
|
|
12
12
|
import { t as h } from "./resize-observer.D9EHlnZI.js";
|
|
13
13
|
//#region ../../node_modules/echarts/node_modules/tslib/tslib.es6.js
|
|
14
14
|
var g = function(e, t) {
|
|
@@ -4,11 +4,11 @@ import { t as s } from "./query.B1yi7t71.js";
|
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { a as l, n as u, o as d, t as f } from "./event.C11S4obG.js";
|
|
6
6
|
import { t as p } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as m } from "./i18n.
|
|
7
|
+
import { t as m } from "./i18n.CQPiI18Q.js";
|
|
8
8
|
import { t as h } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as g } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { n as _, t as v } from "./animation-registry.DKd2AOcC.js";
|
|
11
|
-
import { t as y } from "./button.
|
|
11
|
+
import { t as y } from "./button.DnOMjl_G.js";
|
|
12
12
|
//#region ../../packages/atoms/src/components/element-clamp/element-clamp.styles.ts
|
|
13
13
|
var b = t`:host{--toggler-color:var(--cx-color-primary);display:block;overflow:hidden}.element-clamp{overflow-anchor:none}.element-clamp--disabled{opacity:.5}.element-clamp-icon{transition:var(--cx-transition-medium) rotate ease;flex:none;align-items:center;display:flex}.details--open .element-clamp-icon{rotate:90deg}.details--open.details--rtl .element-clamp-icon{rotate:-90deg}.element-clamp--open slot[name=expand-icon],.element-clamp:not(.element-clamp--open) slot[name=collapse-icon]{display:none}.element-clamp__content{display:block;overflow:hidden}.toggler{margin-top:var(--cx-spacing-2x-small);display:block}.toggler::part(base){color:var(--toggler-color);font-weight:var(--cx-font-weight-medium);text-transform:none;width:auto}.toggler::part(label){padding-left:0}`, x = class extends o {
|
|
14
14
|
static #e = this.styles = [c, b];
|
|
@@ -3,38 +3,38 @@ import { a as r, i, n as a, r as o, t as s } from "./cortex-element.DTrNUtdr.js"
|
|
|
3
3
|
import { t as c } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as l } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as u } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as d } from "./i18n.
|
|
6
|
+
import { t as d } from "./i18n.CQPiI18Q.js";
|
|
7
7
|
import { S as f, t as p, w as m } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as h } from "./class-map.D8nsNOVJ.js";
|
|
9
|
-
import { t as g } from "./icon-button.
|
|
9
|
+
import { t as g } from "./icon-button.BAUsYiQh.js";
|
|
10
10
|
import { t as _ } from "./when.BUskJLtZ.js";
|
|
11
11
|
import { t as v } from "./icon.CeQpEaQz.js";
|
|
12
|
-
import { t as ee } from "./spinner.
|
|
12
|
+
import { t as ee } from "./spinner.DsWszid8.js";
|
|
13
13
|
import { t as te } from "./style-map.DPGQIxip.js";
|
|
14
|
-
import { t as ne } from "./button.
|
|
14
|
+
import { t as ne } from "./button.DnOMjl_G.js";
|
|
15
15
|
import { d as y } from "./string.DAuTpyw8.js";
|
|
16
16
|
import { t as re } from "./debounce.Ci-xdsHE.js";
|
|
17
|
-
import { t as b } from "./tooltip.
|
|
18
|
-
import { t as x } from "./line-clamp.
|
|
17
|
+
import { t as b } from "./tooltip.DWx9VYtS.js";
|
|
18
|
+
import { t as x } from "./line-clamp.B7QEzpUF.js";
|
|
19
19
|
import { t as S } from "./number.CNp5LKkv.js";
|
|
20
20
|
import { t as C } from "./typography.B0mkhqTB.js";
|
|
21
21
|
import { t as ie } from "./avatar.Ce0OZHBT.js";
|
|
22
22
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
23
|
-
import { t as ae } from "./input.
|
|
24
|
-
import { t as oe } from "./option.
|
|
23
|
+
import { t as ae } from "./input.D1UkXp3F.js";
|
|
24
|
+
import { t as oe } from "./option.C97GEvQ6.js";
|
|
25
25
|
import { t as se } from "./space.Dd8jezXK.js";
|
|
26
|
-
import { t as ce } from "./select.
|
|
27
|
-
import { t as le } from "./tab.
|
|
28
|
-
import { t as T } from "./tab-group.
|
|
26
|
+
import { t as ce } from "./select.DGL9C_32.js";
|
|
27
|
+
import { t as le } from "./tab.BOJ3V4IE.js";
|
|
28
|
+
import { t as T } from "./tab-group.Ib4bahXC.js";
|
|
29
29
|
import { t as ue } from "./tab-panel.BxeoKuSv.js";
|
|
30
|
-
import { t as E } from "./dialog.
|
|
30
|
+
import { t as E } from "./dialog.BfGASgvs.js";
|
|
31
31
|
import { t as de } from "./divider.CqSNZCU8.js";
|
|
32
|
-
import { t as fe } from "./progress-bar.
|
|
32
|
+
import { t as fe } from "./progress-bar.BfHPsueW.js";
|
|
33
33
|
import { o as D, u as O } from "./url.BCc06dE7.js";
|
|
34
34
|
import k from "../components/format-bytes.js";
|
|
35
|
-
import { t as pe } from "./relative-time.
|
|
36
|
-
import { a as A, i as me, n as he, t as j } from "./tree.
|
|
37
|
-
import { t as ge } from "./confirm-popover.
|
|
35
|
+
import { t as pe } from "./relative-time.BcpFkSZT.js";
|
|
36
|
+
import { a as A, i as me, n as he, t as j } from "./tree.B3qvSTCo.js";
|
|
37
|
+
import { t as ge } from "./confirm-popover.CahmeTbf.js";
|
|
38
38
|
import { t as _e } from "./_baseIteratee.DWc2-Bvm.js";
|
|
39
39
|
import { t as ve } from "./choose.C2vpqhLc.js";
|
|
40
40
|
import { t as ye } from "./_baseXor.Ca5K0ORC.js";
|
|
@@ -3,36 +3,36 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as s } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as u } from "./i18n.
|
|
6
|
+
import { t as u } from "./i18n.CQPiI18Q.js";
|
|
7
7
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as f } from "./class-map.D8nsNOVJ.js";
|
|
9
9
|
import { t as p } from "./if-defined.B29V_rEp.js";
|
|
10
10
|
import { t as m } from "./when.BUskJLtZ.js";
|
|
11
11
|
import { t as h } from "./icon.CeQpEaQz.js";
|
|
12
12
|
import { t as g } from "./style-map.DPGQIxip.js";
|
|
13
|
-
import { t as _ } from "./button.
|
|
13
|
+
import { t as _ } from "./button.DnOMjl_G.js";
|
|
14
14
|
import { c as v, d as y, i as b } from "./string.DAuTpyw8.js";
|
|
15
15
|
import { t as x } from "./debounce.Ci-xdsHE.js";
|
|
16
|
-
import { t as S } from "./line-clamp.
|
|
17
|
-
import { t as C } from "./tag.
|
|
16
|
+
import { t as S } from "./line-clamp.B7QEzpUF.js";
|
|
17
|
+
import { t as C } from "./tag.BySfbRok.js";
|
|
18
18
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
19
|
-
import { t as T } from "./input.
|
|
19
|
+
import { t as T } from "./input.D1UkXp3F.js";
|
|
20
20
|
import { t as E } from "./space.Dd8jezXK.js";
|
|
21
|
-
import { t as D } from "./select.
|
|
21
|
+
import { t as D } from "./select.DGL9C_32.js";
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
|
-
import {
|
|
24
|
-
import { a as A, i as j } from "./tree.
|
|
25
|
-
import {
|
|
26
|
-
import { t as
|
|
23
|
+
import { s as k } from "./asset-link-format.COPyGdND.js";
|
|
24
|
+
import { a as A, i as j } from "./tree.B3qvSTCo.js";
|
|
25
|
+
import { l as M, m as N, p as P, t as F } from "./string-array.Dstcqyjm.js";
|
|
26
|
+
import { t as I } from "./choose.C2vpqhLc.js";
|
|
27
27
|
//#region ../../node_modules/axios/index.js
|
|
28
|
-
var { Axios:
|
|
28
|
+
var { Axios: L, AxiosError: R, CanceledError: z, isCancel: B, CancelToken: V, VERSION: H, all: U, Cancel: ee, isAxiosError: te, spread: ne, toFormData: re, AxiosHeaders: ie, HttpStatusCode: ae, formToJSON: oe, getAdapter: se, mergeConfig: ce } = N, W = /* @__PURE__ */ function(e) {
|
|
29
29
|
return e.CortexPath = "Document.CortexPath", e.DocSubTypeIconColor = "DocSubTypeIconColor", e.DocSubTypeIconImageUrl = "DocSubTypeIconImageUrl", e.DocSubTypeIconName = "DocSubTypeIconName", e.DocSubTypeIsFontIcon = "DocSubTypeIsFontIcon", e.DocType = "CoreField.DocType", e.HasBrowserChildren = "Document.HasBrowserChildren", e.RepresentativeAssetId = "Document.DocumentDirectRepresentativeRID", e.TitleWithFallback = "CoreField.TitleWithFallback", e;
|
|
30
30
|
}({});
|
|
31
|
-
async function
|
|
31
|
+
async function G({ allowedFolders: e, baseUrl: t, bearerToken: n, excludeVirtualFolders: r, folderId: i, includeDirectChild: a, limit: o = 50, noCache: s, searchTerm: c, self: l, start: u = 0, token: d }) {
|
|
32
32
|
let f = [], p = a ?? !0;
|
|
33
33
|
e && e.length > 0 && !i ? (f = e, l = !0, p = !1) : i && (f = [i]);
|
|
34
34
|
try {
|
|
35
|
-
return (await
|
|
35
|
+
return (await P.request({
|
|
36
36
|
baseURL: t,
|
|
37
37
|
cache: !s && void 0,
|
|
38
38
|
headers: { Authorization: `Bearer ${n}` },
|
|
@@ -50,7 +50,7 @@ async function W({ allowedFolders: e, baseUrl: t, bearerToken: n, excludeVirtual
|
|
|
50
50
|
},
|
|
51
51
|
paramsSerializer: { indexes: null },
|
|
52
52
|
responseType: "json",
|
|
53
|
-
transformResponse: [...Array.isArray(
|
|
53
|
+
transformResponse: [...Array.isArray(P.defaults.transformResponse) ? P.defaults.transformResponse : [], (e, t, n) => {
|
|
54
54
|
if (n !== void 0 && (n < 200 || n >= 300)) return {
|
|
55
55
|
data: [],
|
|
56
56
|
hasMore: !1,
|
|
@@ -60,19 +60,19 @@ async function W({ allowedFolders: e, baseUrl: t, bearerToken: n, excludeVirtual
|
|
|
60
60
|
let r = e.contentItems?.length ?? 0;
|
|
61
61
|
return {
|
|
62
62
|
data: e.contentItems?.map((e) => {
|
|
63
|
-
let t = e.fields[
|
|
63
|
+
let t = e.fields[W.DocType] ?? "", n = e.fields[W.TitleWithFallback] ?? "", r = e.fields[W.CortexPath] ?? "", i = r.endsWith("/") && r.length > 1 ? r.slice(0, -1) : r, a = i;
|
|
64
64
|
(t === k.Album || t === k.ProjectDocument) && (a = i ? `${i}/${n}` : n);
|
|
65
|
-
let o = e.fields[
|
|
65
|
+
let o = e.fields[W.DocSubTypeIsFontIcon];
|
|
66
66
|
return {
|
|
67
67
|
docType: t,
|
|
68
68
|
fullPath: a,
|
|
69
|
-
hasChildren: e.fields[
|
|
70
|
-
iconColor: e.fields[
|
|
71
|
-
iconImageUrl: e.fields[
|
|
72
|
-
iconName: e.fields[
|
|
69
|
+
hasChildren: e.fields[W.HasBrowserChildren] === "1",
|
|
70
|
+
iconColor: e.fields[W.DocSubTypeIconColor],
|
|
71
|
+
iconImageUrl: e.fields[W.DocSubTypeIconImageUrl],
|
|
72
|
+
iconName: e.fields[W.DocSubTypeIconName],
|
|
73
73
|
id: e.recordID,
|
|
74
74
|
isFontIcon: o === void 0 ? void 0 : o === "1",
|
|
75
|
-
representativeAssetId: e.fields[
|
|
75
|
+
representativeAssetId: e.fields[W.RepresentativeAssetId] ?? "",
|
|
76
76
|
title: n
|
|
77
77
|
};
|
|
78
78
|
}) ?? [],
|
|
@@ -91,15 +91,12 @@ async function W({ allowedFolders: e, baseUrl: t, bearerToken: n, excludeVirtual
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
//#endregion
|
|
94
|
-
//#region ../../packages/
|
|
95
|
-
var
|
|
96
|
-
fromAttribute: (e) => (e ?? "").split(" ").filter((e) => e !== ""),
|
|
97
|
-
toAttribute: (e) => e.join(" ")
|
|
98
|
-
}, K = /* @__PURE__ */ function(e) {
|
|
94
|
+
//#region ../../packages/types/src/folder-select.ts
|
|
95
|
+
var K = /* @__PURE__ */ function(e) {
|
|
99
96
|
return e.Input = "input", e.Select = "select", e;
|
|
100
97
|
}({}), q = class extends o {
|
|
101
98
|
constructor(...e) {
|
|
102
|
-
super(...e), this.localize = new u(this), this.role = "treeitem", this.disabledSyncCheckboxes = !0, this.folderId = "", this.hasChildren = !1, this.selectable = !1, this.fullPath = "", this.docType = k.Story, this.name = "", this.representativeAssetId = "", this.selectedValue = "", this.selection = "single", this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.token = "", this.bearerToken = "", this.baseUrl = "", this.searchTerm = "", this.api =
|
|
99
|
+
super(...e), this.localize = new u(this), this.role = "treeitem", this.disabledSyncCheckboxes = !0, this.folderId = "", this.hasChildren = !1, this.selectable = !1, this.fullPath = "", this.docType = k.Story, this.name = "", this.representativeAssetId = "", this.selectedValue = "", this.selection = "single", this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.token = "", this.bearerToken = "", this.baseUrl = "", this.searchTerm = "", this.api = G, this.excludeVirtualFolders = !1, this.reloadOnExpand = !1, this.url = "", this.icon = "", this.iconName = "", this.iconImageUrl = "", this.iconColor = "", this.isFontIcon = !1, this.data = null, this.hasMore = !1, this.loading = !1;
|
|
103
100
|
}
|
|
104
101
|
static #e = this.styles = [c];
|
|
105
102
|
static #t = this.dependencies = {
|
|
@@ -300,7 +297,7 @@ i([s("cx-tree-item"), a("design:type", A === void 0 ? Object : A)], q.prototype,
|
|
|
300
297
|
], q.prototype, "syncBoxes", null), q = i([l("cx-folder-select-tree-item")], q);
|
|
301
298
|
var J = q, Y = class extends o {
|
|
302
299
|
constructor(...e) {
|
|
303
|
-
super(...e), this.localize = new u(this), this.minQueryLength = 1, this.selection = "single", this.searchTerm = "", this.selectedValue = "", this.token = "", this.bearerToken = "", this.baseUrl = "", this.allowedFolders = [], this.extraFolderId = "", this.extraFolderTitle = "", this.extraFolderIcon = "", this.seeThru = !1, this.extraFolderData = null, this.api =
|
|
300
|
+
super(...e), this.localize = new u(this), this.minQueryLength = 1, this.selection = "single", this.searchTerm = "", this.selectedValue = "", this.token = "", this.bearerToken = "", this.baseUrl = "", this.allowedFolders = [], this.extraFolderId = "", this.extraFolderTitle = "", this.extraFolderIcon = "", this.seeThru = !1, this.extraFolderData = null, this.api = G, this.excludeVirtualFolders = !1, this.reloadOnExpand = !1, this.firstFetchCallback = null, this.autoPageSize = !1, this.data = [], this.hasMore = !1, this.loading = !1, this.preloading = !1, this.preloadedFolders = [], this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.#t = !1, this.#n = 10, this.#r = /* @__PURE__ */ new Set();
|
|
304
301
|
}
|
|
305
302
|
static #e = this.dependencies = {
|
|
306
303
|
"cx-button": _,
|
|
@@ -507,7 +504,7 @@ i([n({
|
|
|
507
504
|
type: String
|
|
508
505
|
}), a("design:type", String)], Y.prototype, "baseUrl", void 0), i([n({
|
|
509
506
|
attribute: "allowed-folders",
|
|
510
|
-
converter:
|
|
507
|
+
converter: F,
|
|
511
508
|
type: Array
|
|
512
509
|
}), a("design:type", Array)], Y.prototype, "allowedFolders", void 0), i([n({
|
|
513
510
|
attribute: "extra-folder-id",
|
|
@@ -580,7 +577,7 @@ var X = Y, Z = t`:host{flex-direction:column;width:100%;height:100%;min-height:0
|
|
|
580
577
|
};
|
|
581
578
|
#n;
|
|
582
579
|
constructor() {
|
|
583
|
-
super(), this.localize = new u(this), this.minQueryLength = 1, this.selection = "single", this.variant = K.Input, this.value = "", this.name = "", this.selectedLabel = "", this.baseUrl = "", this.allowedFolders = [], this.open = !1, this.token = "", this.bearerToken = "", this.seeThru = !1, this.api =
|
|
580
|
+
super(), this.localize = new u(this), this.minQueryLength = 1, this.selection = "single", this.variant = K.Input, this.value = "", this.name = "", this.selectedLabel = "", this.baseUrl = "", this.allowedFolders = [], this.open = !1, this.token = "", this.bearerToken = "", this.seeThru = !1, this.api = G, this.required = !1, this.form = void 0, this.excludeVirtualFolders = !1, this.reloadOnExpand = !1, this.extraFolderId = "", this.extraFolderTitle = "", this.extraFolderIcon = "", this.autoPageSize = !1, this.firstFetchCallback = null, this.searchTerm = "", this.treeLoading = !1, this.selectGetOptionValue = this.selectGetOptionValue.bind(this), this.selectGetOptionLabel = this.selectGetOptionLabel.bind(this), this.selectGetOptionSelected = this.selectGetOptionSelected.bind(this), this.selectFilterCallback = this.selectFilterCallback.bind(this), this.selectGetTag = this.selectGetTag.bind(this), this.updateWrappedApi();
|
|
584
581
|
}
|
|
585
582
|
updateWrappedApi() {
|
|
586
583
|
if (!this.api) {
|
|
@@ -591,7 +588,7 @@ var X = Y, Z = t`:host{flex-direction:column;width:100%;height:100%;min-height:0
|
|
|
591
588
|
try {
|
|
592
589
|
return await this.api(e);
|
|
593
590
|
} catch (e) {
|
|
594
|
-
return e instanceof
|
|
591
|
+
return e instanceof R && e.response?.status === 401 && this.emit("cx-renew-token"), {
|
|
595
592
|
data: [],
|
|
596
593
|
hasMore: !1,
|
|
597
594
|
totalCount: 0
|
|
@@ -677,7 +674,7 @@ var X = Y, Z = t`:host{flex-direction:column;width:100%;height:100%;min-height:0
|
|
|
677
674
|
this.selectEl && (this.searchTerm = "", this.updateFunctionProps());
|
|
678
675
|
}
|
|
679
676
|
render() {
|
|
680
|
-
return e`<div class="folder-select">${
|
|
677
|
+
return e`<div class="folder-select">${I(this.variant, [[K.Input, () => e`<cx-input class="folder-select__search" aria-label=${this.localize.term("searchFolders")} placeholder=${`${this.localize.term("searchFolders")}...`} value=${this.searchTerm} clearable @cx-input=${this.handleSearchTermInputChange}><cx-icon name="search" slot="prefix"></cx-icon></cx-input><cx-folder-select-tree class="folder-select__tree" base-url=${this.baseUrl} extra-folder-id=${this.extraFolderId} extra-folder-title=${this.extraFolderTitle} extra-folder-icon=${this.extraFolderIcon} min-query-length=${this.minQueryLength} search-term=${this.searchTerm} selected-value=${this.value} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} ?exclude-virtual-folders=${this.excludeVirtualFolders} ?reload-on-expand=${this.reloadOnExpand} ?see-thru=${this.seeThru} ?auto-page-size=${this.autoPageSize} .allowedFolders=${this.allowedFolders} .api=${this.#n} .firstFetchCallback=${this.firstFetchCallback}></cx-folder-select-tree>`], [K.Select, () => e`<cx-select clearable hoist lazy name=${this.name} value=${this.value} .form=${this.form} ?required=${this.required} ?multiple=${this.selection === "multiple"} ?loading=${this.treeLoading} @input=${this.handleSearchTermSelectChange} @cx-clear=${this.handleSelectClear} @cx-selected-change=${this.handleTreeSelectedChange} @cx-folder-select-selection-seeded=${this.handleTreeSelectedChange} @cx-folder-select-loading-change=${this.handleTreeLoadingChange} @cx-folder-select-children-loaded=${this.handleTreeChildrenLoaded} allow-freetext><cx-folder-select-tree base-url=${this.baseUrl} extra-folder-id=${this.extraFolderId} extra-folder-title=${this.extraFolderTitle} extra-folder-icon=${this.extraFolderIcon} min-query-length=${this.minQueryLength} search-term=${this.searchTerm} selected-value=${this.value} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} ?exclude-virtual-folders=${this.excludeVirtualFolders} ?reload-on-expand=${this.reloadOnExpand} ?see-thru=${this.seeThru} ?auto-page-size=${this.autoPageSize} .allowedFolders=${this.allowedFolders} .api=${this.#n} .firstFetchCallback=${this.firstFetchCallback}></cx-folder-select-tree></cx-select>`]])}</div>`;
|
|
681
678
|
}
|
|
682
679
|
};
|
|
683
680
|
i([s("cx-select"), a("design:type", D === void 0 ? Object : D)], Q.prototype, "selectEl", void 0), i([s("cx-folder-select-tree"), a("design:type", X === void 0 ? Object : X)], Q.prototype, "treeEl", void 0), i([n({
|
|
@@ -708,7 +705,7 @@ i([s("cx-select"), a("design:type", D === void 0 ? Object : D)], Q.prototype, "s
|
|
|
708
705
|
type: String
|
|
709
706
|
}), a("design:type", String)], Q.prototype, "baseUrl", void 0), i([n({
|
|
710
707
|
attribute: "allowed-folders",
|
|
711
|
-
converter:
|
|
708
|
+
converter: F,
|
|
712
709
|
type: Array
|
|
713
710
|
}), a("design:type", Array)], Q.prototype, "allowedFolders", void 0), i([n({
|
|
714
711
|
reflect: !0,
|
|
@@ -784,4 +781,4 @@ i([s("cx-select"), a("design:type", D === void 0 ? Object : D)], Q.prototype, "s
|
|
|
784
781
|
], Q.prototype, "handleValueChange", null), Q = i([l("cx-folder-select"), a("design:paramtypes", [])], Q);
|
|
785
782
|
var $ = Q;
|
|
786
783
|
//#endregion
|
|
787
|
-
export {
|
|
784
|
+
export { K as n, G as r, $ as t };
|
|
@@ -2,7 +2,7 @@ import { c as e, d as t } from "./lit.CyJqR2kf.js";
|
|
|
2
2
|
import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
5
|
-
import { t as l } from "./i18n.
|
|
5
|
+
import { t as l } from "./i18n.CQPiI18Q.js";
|
|
6
6
|
import { t as u } from "./watch.Ub5r8btz.js";
|
|
7
7
|
import { a as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./time.p1t0NCwj.js";
|
|
8
8
|
//#region ../../packages/atoms/src/components/format-time/format-time.styles.ts
|
|
@@ -3,14 +3,14 @@ import { a as t, i as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as l } from "./i18n.
|
|
6
|
+
import { t as l } from "./i18n.CQPiI18Q.js";
|
|
7
7
|
import { t as u } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as d } from "./class-map.D8nsNOVJ.js";
|
|
9
9
|
import { t as f } from "./when.BUskJLtZ.js";
|
|
10
10
|
import { n as p, t as m } from "./static-html.Ce8Avr_g.js";
|
|
11
11
|
import { t as h } from "./style-map.DPGQIxip.js";
|
|
12
12
|
import { t as g } from "./debounce.Ci-xdsHE.js";
|
|
13
|
-
import { t as _ } from "./copy-button.
|
|
13
|
+
import { t as _ } from "./copy-button.D2ZwXadV.js";
|
|
14
14
|
import { f as v, n as y, r as b, t as x } from "./responsive.L9Csz2w2.js";
|
|
15
15
|
//#region ../../packages/styles/src/prosemirror.styles.ts
|
|
16
16
|
var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delete{background-color:var(--cx-color-neutral-200);text-decoration:line-through}annotate{background-color:var(--cx-color-warning-200)}.ProseMirror figure[data-track*=deletion] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=deletion],.ProseMirror cx-rich-text-image-viewer[data-track*=deletion]{border:3px solid var(--cx-color-neutral);position:relative}.ProseMirror figure[data-track*=deletion] [data-node-type=figure]:after,.ProseMirror cx-rich-text-code-block[data-track*=deletion]:after,.ProseMirror cx-rich-text-image-viewer[data-track*=deletion]:after{content:"";box-sizing:border-box;pointer-events:none;background-image:repeating-linear-gradient(45deg, var(--cx-color-neutral), var(--cx-color-neutral) 10px, var(--rich-text-background-color,var(--cx-color-neutral-0)) 10px, var(--rich-text-background-color,var(--cx-color-neutral-0)) 20px);opacity:.4;width:100%;height:100%;position:absolute;top:0;left:0}.ProseMirror figure[data-track*=insertion] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=insertion],.ProseMirror cx-rich-text-image-viewer[data-track*=insertion]{border:3px solid var(--cx-color-success)}.ProseMirror figure[data-track*=annotation] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=annotation],.ProseMirror cx-rich-text-image-viewer[data-track*=annotation]{border:3px solid var(--cx-color-warning-200)}`, C = e`
|
|
@@ -477,6 +477,7 @@ var m = class {
|
|
|
477
477
|
details: "Details",
|
|
478
478
|
detailsSourceField: "Details source field",
|
|
479
479
|
dimensions: "Dimensions",
|
|
480
|
+
dimensionsPercent: "Percent",
|
|
480
481
|
directRelationOnRelation: (e) => `Direct ${e} on relation`,
|
|
481
482
|
disabledHeightInputHelpText: "The height is automatically calculated to maintain the aspect ratio",
|
|
482
483
|
discardAllPendingEffects: "Discard all pending effects. You cannot undo this.",
|
|
@@ -1028,6 +1029,7 @@ var m = class {
|
|
|
1028
1029
|
removeFolder: (e) => e > 1 ? `Remove ${e} folders` : "Remove folder",
|
|
1029
1030
|
removeGradientStop: "Remove color stop",
|
|
1030
1031
|
renderAudio: "Render audio",
|
|
1032
|
+
reorderTransformation: (e) => `Reorder ${e}. Drag or use Arrow Up and Arrow Down to move.`,
|
|
1031
1033
|
replace: "Replace",
|
|
1032
1034
|
replaceAll: "Replace all",
|
|
1033
1035
|
replaceWith: "Replace with",
|
|
@@ -1264,6 +1266,7 @@ var m = class {
|
|
|
1264
1266
|
topRight: "Top right",
|
|
1265
1267
|
total: "Total",
|
|
1266
1268
|
trackingParameters: "Tracking parameters",
|
|
1269
|
+
transformationOrderHint: "Transformations will be applied in the desired order. Items at the top will apply first.",
|
|
1267
1270
|
transformations: "Transformations",
|
|
1268
1271
|
transitionDuration: "Transition duration",
|
|
1269
1272
|
transitionToExisting: "Transition to existing",
|
|
@@ -3,13 +3,13 @@ import { a as t, i as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as l } from "./i18n.
|
|
6
|
+
import { t as l } from "./i18n.CQPiI18Q.js";
|
|
7
7
|
import { t as u } from "./class-map.D8nsNOVJ.js";
|
|
8
8
|
import { t as d } from "./if-defined.B29V_rEp.js";
|
|
9
9
|
import { t as f } from "./when.BUskJLtZ.js";
|
|
10
10
|
import { n as p, t as m } from "./static-html.Ce8Avr_g.js";
|
|
11
11
|
import { t as h } from "./icon.CeQpEaQz.js";
|
|
12
|
-
import { t as g } from "./spinner.
|
|
12
|
+
import { t as g } from "./spinner.DsWszid8.js";
|
|
13
13
|
//#region ../../packages/types/src/icon-button.ts
|
|
14
14
|
var _ = /* @__PURE__ */ function(e) {
|
|
15
15
|
return e.Large = "large", e.Medium = "medium", e.Small = "small", e.XLarge = "x-large", e;
|
|
@@ -3,7 +3,7 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as l } from "./i18n.
|
|
6
|
+
import { t as l } from "./i18n.CQPiI18Q.js";
|
|
7
7
|
import { t as u } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as d } from "./class-map.D8nsNOVJ.js";
|
|
9
9
|
import { t as f } from "./if-defined.B29V_rEp.js";
|
|
@@ -3,7 +3,7 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as l } from "./i18n.
|
|
6
|
+
import { t as l } from "./i18n.CQPiI18Q.js";
|
|
7
7
|
import { t as u } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as d } from "./class-map.D8nsNOVJ.js";
|
|
9
9
|
import { t as f } from "./icon.CeQpEaQz.js";
|