@orangelogic/design-system 2.58.0 → 2.59.0-ci.1
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/{button.kTTrlOjj.js → button.CtCSNRB3.js} +2 -2
- package/library/chunks/{color-swatch-group.ClKQ2WzZ.js → color-swatch-group.qJevXs50.js} +5 -4
- package/library/chunks/{color-swatch.BdV7Nsvx.js → color-swatch.DUe3iLLo.js} +2 -2
- package/library/chunks/{confirm-popover.CMeOJWvb.js → confirm-popover.D2TF1x6K.js} +3 -3
- package/library/chunks/{dialog.B_63yVcD.js → dialog.B1TORO6S.js} +2 -2
- package/library/chunks/{dom.Dc-BF08t.js → dom.C0OFx7ND.js} +1 -1
- package/library/chunks/{dot-pagination.C8zQgnjD.js → dot-pagination.8f2oX_ge.js} +1 -1
- package/library/chunks/{file-on-demand.CAxlBbwj.js → file-on-demand.Cwgabdyw.js} +10 -10
- package/library/chunks/{folder-select.DMyWzPjA.js → folder-select.DiWCwR-T.js} +5 -5
- package/library/chunks/{form.D1R9s3Mf.js → form.B8u0ywni.js} +1 -1
- package/library/chunks/{format-time.CxG-siAa.js → format-time.BW6-ZWCX.js} +1 -1
- package/library/chunks/{header.NqYF4Nlq.js → header.B_FD8uLt.js} +1 -1
- package/library/chunks/{i18n.DwnDne7p.js → i18n.BP2FRO1v.js} +36 -31
- package/library/chunks/{iframe.qomerN2u.js → iframe.DZm7FiCl.js} +1 -1
- package/library/chunks/{image.2h_mxSth.js → image.Ycf8RudS.js} +2 -2
- package/library/chunks/{list-editor.Cofa7Vyh.js → list-editor.COkw5JKG.js} +17 -16
- package/library/chunks/{option.B4tI5rHw.js → option.D9KJhzHs.js} +1 -1
- package/library/chunks/{pagination.Bp5dTjrN.js → pagination.C2FN4fmO.js} +4 -4
- package/library/chunks/{popup.CQSGj4zE.js → popup._w5T7x8f.js} +1 -1
- package/library/chunks/{select.D_Ee1gDW.js → select.DfO4de04.js} +4 -4
- package/library/chunks/{string.BF2AikHa.js → string.BCk3SmdZ.js} +20 -16
- package/library/chunks/{tab-group.CT6rt4_n.js → tab-group.5fLnWflv.js} +3 -3
- package/library/chunks/{table.keGRLyqZ.js → table.BAr8KKc6.js} +8 -8
- package/library/chunks/{timecode.DE8W5tFV.js → timecode.D7XTiQ_3.js} +1 -1
- package/library/chunks/{tree.CBc6xKk4.js → tree.CUfvIDyA.js} +1 -1
- package/library/components/alert.js +1 -1
- package/library/components/asset-link-format.js +4 -4
- package/library/components/atoms.js +15 -15
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +3 -3
- package/library/components/checkbox.js +5 -6
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +5 -5
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +5 -5
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +11 -11
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +2 -2
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +1 -1
- 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 +2 -2
- package/library/components/line-clamp.js +2 -2
- package/library/components/list-editor.js +6 -6
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +5 -5
- package/library/components/popup.js +2 -2
- 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-group.js +1 -1
- package/library/components/range.js +3 -3
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +5 -5
- package/library/components/share-option-list.js +2 -2
- 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/switch.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +1 -1
- package/library/components/table.js +6 -6
- package/library/components/tag.js +1 -1
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +2 -2
- package/library/components/tooltip.js +2 -2
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +11151 -11146
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/organisms/src/carousel/carousel.d.ts +1 -1
- package/library/packages/types/src/table.d.ts +2 -0
- package/library/packages/utils/src/string/string.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as r, C as v, c as g } from "./custom-element.vnXBMQxc.js";
|
|
2
2
|
import { c as C } from "./component.styles.CI-v8BZa.js";
|
|
3
|
-
import { F as x, v as w } from "./form.
|
|
4
|
-
import { L as $ } from "./i18n.
|
|
3
|
+
import { F as x, v as w } from "./form.B8u0ywni.js";
|
|
4
|
+
import { L as $ } from "./i18n.BP2FRO1v.js";
|
|
5
5
|
import { H as S, g as O } from "./slot.DJLm4Dig.js";
|
|
6
6
|
import { w as m } from "./watch.BCJD77bD.js";
|
|
7
7
|
import { r as u } from "./state.Cw55xXlb.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import z from "../components/space.js";
|
|
2
|
-
import { C as $ } from "./table.
|
|
2
|
+
import { C as $ } from "./table.BAr8KKc6.js";
|
|
3
3
|
import { C as F } from "./typography.BFpl0WMA.js";
|
|
4
4
|
import { x as h, B as k, i as A, n as d, C as S, c as T } from "./custom-element.vnXBMQxc.js";
|
|
5
|
-
import { C, a as m } from "./color-swatch.
|
|
5
|
+
import { C, a as m } from "./color-swatch.DUe3iLLo.js";
|
|
6
6
|
import { c as E } from "./component.styles.CI-v8BZa.js";
|
|
7
7
|
import { D as l } from "./content-builder.WranV3P4.js";
|
|
8
|
-
import { d as D } from "./popup.
|
|
9
|
-
import { L as N } from "./i18n.
|
|
8
|
+
import { d as D } from "./popup._w5T7x8f.js";
|
|
9
|
+
import { L as N } from "./i18n.BP2FRO1v.js";
|
|
10
10
|
import { w as x } from "./watch.BCJD77bD.js";
|
|
11
11
|
import { r as p } from "./state.Cw55xXlb.js";
|
|
12
12
|
import { e as P } from "./query.BBf1UFkC.js";
|
|
@@ -230,6 +230,7 @@ const B = (e, r) => [
|
|
|
230
230
|
--header-background-color: transparent;
|
|
231
231
|
--group-row-background-color: transparent;
|
|
232
232
|
--cell-border-color: transparent;
|
|
233
|
+
--cell-bottom-border-color: transparent;
|
|
233
234
|
|
|
234
235
|
--header-font-size: var(--cx-font-size-large);
|
|
235
236
|
--header-font-weight: var(--cx-font-weight-semibold);
|
|
@@ -6,8 +6,8 @@ import { C as G } from "./typography.BFpl0WMA.js";
|
|
|
6
6
|
import { i as M, n as l, C as S, x as C, c as U } from "./custom-element.vnXBMQxc.js";
|
|
7
7
|
import { c as W } from "./component.styles.CI-v8BZa.js";
|
|
8
8
|
import { T as v } from "./index.C1chwzNp.js";
|
|
9
|
-
import { d as H } from "./popup.
|
|
10
|
-
import { L as D } from "./i18n.
|
|
9
|
+
import { d as H } from "./popup._w5T7x8f.js";
|
|
10
|
+
import { L as D } from "./i18n.BP2FRO1v.js";
|
|
11
11
|
import { w as h } from "./watch.BCJD77bD.js";
|
|
12
12
|
import { r as d } from "./state.Cw55xXlb.js";
|
|
13
13
|
import { e as L } from "./query.BBf1UFkC.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as u, D as h } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.CtCSNRB3.js";
|
|
2
|
+
import { C as u, D as h } from "./dialog.B1TORO6S.js";
|
|
3
3
|
import g from "../components/dropdown.js";
|
|
4
4
|
import { C as x } from "./typography.BFpl0WMA.js";
|
|
5
5
|
import { i as b, n as e, C as y, x as d, c as w } from "./custom-element.vnXBMQxc.js";
|
|
6
6
|
import { c as $ } from "./component.styles.CI-v8BZa.js";
|
|
7
|
-
import { L as z } from "./i18n.
|
|
7
|
+
import { L as z } from "./i18n.BP2FRO1v.js";
|
|
8
8
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
9
9
|
import { e as a } from "./class-map.CoZTSvbM.js";
|
|
10
10
|
var v = /* @__PURE__ */ ((t) => (t.Horizontal = "horizontal", t.HorizontalReverse = "horizontal-reverse", t.Vertical = "vertical", t.VerticalReverse = "vertical-reverse", t))(v || {}), f = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Start = "start", t))(f || {});
|
|
@@ -3,7 +3,7 @@ import { c as L } from "./component.styles.CI-v8BZa.js";
|
|
|
3
3
|
import { O, C as P, H as $, z as H, o as E } from "./overlayscrollbars.aFuRG5Rs.js";
|
|
4
4
|
import { s as p, g as h, b as c, a as y } from "./animation-registry.DavRkTTr.js";
|
|
5
5
|
import { w as x } from "./event.mFzZi4sr.js";
|
|
6
|
-
import { L as R } from "./i18n.
|
|
6
|
+
import { L as R } from "./i18n.BP2FRO1v.js";
|
|
7
7
|
import { M as W } from "./modal.BqNLxgs1.js";
|
|
8
8
|
import { l as w, u as _ } from "./scroll.DwPiX2Ox.js";
|
|
9
9
|
import { H as q } from "./slot.DJLm4Dig.js";
|
|
@@ -16,7 +16,7 @@ import { o as A } from "./style-map.CZovMmo_.js";
|
|
|
16
16
|
import { n as g } from "./when.Dr1es41R.js";
|
|
17
17
|
import F from "../components/divider.js";
|
|
18
18
|
import I from "../components/icon-button.js";
|
|
19
|
-
import { C as T } from "./popup.
|
|
19
|
+
import { C as T } from "./popup._w5T7x8f.js";
|
|
20
20
|
var l = /* @__PURE__ */ ((e) => (e.Both = "both", e.Footer = "footer", e.Header = "header", e.None = "none", e))(l || {});
|
|
21
21
|
const U = z`
|
|
22
22
|
:host {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as P, n as a, C as F, x as y, c as z } from "./custom-element.vnXBMQxc.js";
|
|
2
2
|
import { c as S } from "./component.styles.CI-v8BZa.js";
|
|
3
3
|
import { O as C } from "./index.Cpamj0jB.js";
|
|
4
|
-
import { L as O } from "./i18n.
|
|
4
|
+
import { L as O } from "./i18n.BP2FRO1v.js";
|
|
5
5
|
import { w as h } from "./watch.BCJD77bD.js";
|
|
6
6
|
import { r as j } from "./state.Cw55xXlb.js";
|
|
7
7
|
import { e as H } from "./query.BBf1UFkC.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import lt from "../components/icon.js";
|
|
2
2
|
import dt from "../components/line-clamp.js";
|
|
3
|
-
import { C as pt, s as ht, a as ut, b as Q } from "./tree.
|
|
3
|
+
import { C as pt, s as ht, a as ut, b as Q } from "./tree.CUfvIDyA.js";
|
|
4
4
|
import { n as p, C as Y, x as r, c as K, i as gt, E as bt } from "./custom-element.vnXBMQxc.js";
|
|
5
5
|
import { c as xt } from "./component.styles.CI-v8BZa.js";
|
|
6
|
-
import { L as Z } from "./i18n.
|
|
6
|
+
import { L as Z } from "./i18n.BP2FRO1v.js";
|
|
7
7
|
import { k as $t, h as mt, i as _t, w as L, j as wt, l as St, f as It, g as Ct, d as At, m as Dt, n as Tt } from "./watch.BCJD77bD.js";
|
|
8
|
-
import { p as P } from "./string.
|
|
8
|
+
import { p as P } from "./string.BCk3SmdZ.js";
|
|
9
9
|
import { r as x } from "./state.Cw55xXlb.js";
|
|
10
10
|
import { e as R } from "./query.BBf1UFkC.js";
|
|
11
11
|
import { e as A } from "./class-map.CoZTSvbM.js";
|
|
@@ -13,24 +13,24 @@ import { c as F } from "./repeat.CauKaXyy.js";
|
|
|
13
13
|
import { n as g } from "./when.Dr1es41R.js";
|
|
14
14
|
import { a as zt, i as ft, c as Et, b as tt } from "./_baseUniq.BUihBa8c.js";
|
|
15
15
|
import Lt from "../components/avatar.js";
|
|
16
|
-
import { C as Rt } from "./button.
|
|
17
|
-
import { C as Pt } from "./dialog.
|
|
16
|
+
import { C as Rt } from "./button.CtCSNRB3.js";
|
|
17
|
+
import { C as Pt } from "./dialog.B1TORO6S.js";
|
|
18
18
|
import Ft from "../components/divider.js";
|
|
19
19
|
import Ut from "../components/format-bytes.js";
|
|
20
20
|
import kt from "../components/icon-button.js";
|
|
21
21
|
import Ot from "../components/input.js";
|
|
22
|
-
import { C as Nt } from "./option.
|
|
22
|
+
import { C as Nt } from "./option.D9KJhzHs.js";
|
|
23
23
|
import jt from "../components/progress-bar.js";
|
|
24
24
|
import Mt from "../components/relative-time.js";
|
|
25
|
-
import { C as Bt } from "./select.
|
|
25
|
+
import { C as Bt } from "./select.DfO4de04.js";
|
|
26
26
|
import Vt from "../components/space.js";
|
|
27
27
|
import Ht from "../components/tab.js";
|
|
28
|
-
import { C as Wt } from "./tab-group.
|
|
28
|
+
import { C as Wt } from "./tab-group.5fLnWflv.js";
|
|
29
29
|
import Gt from "../components/tab-panel.js";
|
|
30
30
|
import qt from "../components/tooltip.js";
|
|
31
31
|
import { C as Yt } from "./typography.BFpl0WMA.js";
|
|
32
|
-
import { C as Kt } from "./confirm-popover.
|
|
33
|
-
import { d as Zt } from "./popup.
|
|
32
|
+
import { C as Kt } from "./confirm-popover.D2TF1x6K.js";
|
|
33
|
+
import { d as Zt } from "./popup._w5T7x8f.js";
|
|
34
34
|
import { a as H } from "./number.CjNxU7Xs.js";
|
|
35
35
|
import { o as Xt } from "./style-map.CZovMmo_.js";
|
|
36
36
|
import { a as Jt } from "./toString.CL_lYXbK.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import G from "../components/icon.js";
|
|
2
2
|
import Z from "../components/input.js";
|
|
3
|
-
import { C as J } from "./select.
|
|
4
|
-
import { C as x, a as K } from "./tree.
|
|
3
|
+
import { C as J } from "./select.DfO4de04.js";
|
|
4
|
+
import { C as x, a as K } from "./tree.CUfvIDyA.js";
|
|
5
5
|
import { n as r, C as I, x as f, c as w, i as X } from "./custom-element.vnXBMQxc.js";
|
|
6
6
|
import { h as k, F as Y, b as A } from "./endpoints.BgyupJys.js";
|
|
7
7
|
import { c as R } from "./component.styles.CI-v8BZa.js";
|
|
8
|
-
import { L as V } from "./i18n.
|
|
8
|
+
import { L as V } from "./i18n.BP2FRO1v.js";
|
|
9
9
|
import { w as m } from "./watch.BCJD77bD.js";
|
|
10
10
|
import { r as y } from "./state.Cw55xXlb.js";
|
|
11
11
|
import { e as B } from "./query.BBf1UFkC.js";
|
|
12
12
|
import { r as ee } from "./choose.BTbF6BAn.js";
|
|
13
|
-
import { C as q } from "./button.
|
|
14
|
-
import { d as te } from "./popup.
|
|
13
|
+
import { C as q } from "./button.CtCSNRB3.js";
|
|
14
|
+
import { d as te } from "./popup._w5T7x8f.js";
|
|
15
15
|
import { o as S } from "./if-defined.MfEgpxEN.js";
|
|
16
16
|
import { c as W } from "./repeat.CauKaXyy.js";
|
|
17
17
|
import { n as O } from "./when.Dr1es41R.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as m } from "./dom.
|
|
1
|
+
import { s as m } from "./dom.C0OFx7ND.js";
|
|
2
2
|
const n = /* @__PURE__ */ new WeakMap(), h = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakSet(), f = /* @__PURE__ */ new WeakMap();
|
|
3
3
|
class v {
|
|
4
4
|
constructor(e, s) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as D, n as d, C as g, x as S, c as M } from "./custom-element.vnXBMQxc.js";
|
|
2
2
|
import { c as w } from "./component.styles.CI-v8BZa.js";
|
|
3
|
-
import { L as N } from "./i18n.
|
|
3
|
+
import { L as N } from "./i18n.BP2FRO1v.js";
|
|
4
4
|
import { w as m } from "./watch.BCJD77bD.js";
|
|
5
5
|
import { f as b } from "./number.CjNxU7Xs.js";
|
|
6
6
|
import { r as H } from "./state.Cw55xXlb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import k from "../components/copy-button.js";
|
|
2
2
|
import { i as u, n as c, C as b, c as x } from "./custom-element.vnXBMQxc.js";
|
|
3
3
|
import { c as v } from "./component.styles.CI-v8BZa.js";
|
|
4
|
-
import { L as y } from "./i18n.
|
|
4
|
+
import { L as y } from "./i18n.BP2FRO1v.js";
|
|
5
5
|
import { w } from "./watch.BCJD77bD.js";
|
|
6
6
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
7
7
|
import { e as g } from "./class-map.CoZTSvbM.js";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
const s = /* @__PURE__ */ new Set(),
|
|
3
|
-
let d = document.documentElement.dir || "ltr",
|
|
4
|
-
|
|
1
|
+
import { p as v } from "./purify.es.BGaRrCfO.js";
|
|
2
|
+
const s = /* @__PURE__ */ new Set(), C = new MutationObserver(f), l = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
3
|
+
let d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language, r;
|
|
4
|
+
C.observe(document.documentElement, {
|
|
5
5
|
attributeFilter: ["dir", "lang"],
|
|
6
6
|
attributes: !0
|
|
7
7
|
});
|
|
8
|
-
function
|
|
8
|
+
function A(e) {
|
|
9
9
|
return `${e.dir || d}`.toLowerCase();
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function u(...e) {
|
|
12
12
|
e.map((t) => {
|
|
13
13
|
const o = t.$code.toLowerCase();
|
|
14
|
-
|
|
14
|
+
l.has(o) ? l.set(o, { ...l.get(o), ...t }) : l.set(o, t), r || (r = t);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
17
|
+
function g(...e) {
|
|
18
|
+
if (u(...e), globalThis.WC_TRANSLATION) {
|
|
19
19
|
const t = { ...globalThis.WC_TRANSLATION };
|
|
20
|
-
typeof t.$code == "string" &&
|
|
20
|
+
typeof t.$code == "string" && u(t);
|
|
21
21
|
}
|
|
22
22
|
if (globalThis.LANGUAGE_NAMES) {
|
|
23
23
|
const t = { ...globalThis.LANGUAGE_NAMES };
|
|
24
24
|
Object.entries(t).forEach(([o, a]) => {
|
|
25
|
-
|
|
25
|
+
h.set(o.replace(/_/g, "-").toLowerCase(), a);
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
f();
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
d = document.documentElement.dir || "ltr",
|
|
30
|
+
function f() {
|
|
31
|
+
d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language, [...s.keys()].forEach((e) => {
|
|
32
32
|
typeof e.requestUpdate == "function" && e.requestUpdate();
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
let
|
|
35
|
+
let b = class {
|
|
36
36
|
constructor(t) {
|
|
37
37
|
this.host = t, this.host.addController(this);
|
|
38
38
|
}
|
|
@@ -54,13 +54,18 @@ let v = class {
|
|
|
54
54
|
* lowercase.
|
|
55
55
|
*/
|
|
56
56
|
lang() {
|
|
57
|
-
return `${this.host.lang ||
|
|
57
|
+
return `${this.host.lang || m}`.toLowerCase();
|
|
58
58
|
}
|
|
59
59
|
getTranslationData(t) {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
let o, a = "", i = "";
|
|
61
|
+
try {
|
|
62
|
+
o = new Intl.Locale(t.replace(/_/g, "-")), a = o?.language?.toLowerCase() ?? "", i = o?.region?.toLowerCase() ?? "";
|
|
63
|
+
} catch {
|
|
64
|
+
const [c, p] = t.replace(/_/g, "-").split("-");
|
|
65
|
+
a = c ? c.toLowerCase() : "", i = p ? p.toLowerCase() : "", o = { language: a, region: i };
|
|
66
|
+
}
|
|
67
|
+
const n = i && l.get(`${a}-${i}`) ? l.get(`${a}-${i}`) : void 0, y = l.get(a);
|
|
68
|
+
return { language: a, locale: o, primary: n, region: i, secondary: y };
|
|
64
69
|
}
|
|
65
70
|
/** Determines if the specified term exists, optionally checking the fallback translation. */
|
|
66
71
|
exists(t, o) {
|
|
@@ -70,7 +75,7 @@ let v = class {
|
|
|
70
75
|
return o = {
|
|
71
76
|
includeFallback: !1,
|
|
72
77
|
...o
|
|
73
|
-
}, !!(a && a[t] || i && i[t] || o.includeFallback &&
|
|
78
|
+
}, !!(a && a[t] || i && i[t] || o.includeFallback && r && r[t]);
|
|
74
79
|
}
|
|
75
80
|
/** Outputs a translated term. */
|
|
76
81
|
term(t, ...o) {
|
|
@@ -80,14 +85,14 @@ let v = class {
|
|
|
80
85
|
n = a[t];
|
|
81
86
|
else if (i && i[t])
|
|
82
87
|
n = i[t];
|
|
83
|
-
else if (
|
|
84
|
-
n =
|
|
88
|
+
else if (r && r[t])
|
|
89
|
+
n = r[t];
|
|
85
90
|
else
|
|
86
91
|
return String(t);
|
|
87
|
-
return typeof n == "function" ?
|
|
92
|
+
return typeof n == "function" ? v.sanitize(n(...o)) : n;
|
|
88
93
|
}
|
|
89
94
|
languageName(t) {
|
|
90
|
-
return String(
|
|
95
|
+
return String(h.get(t) ?? "");
|
|
91
96
|
}
|
|
92
97
|
/** Outputs a localized date in the specified format. */
|
|
93
98
|
date(t, o) {
|
|
@@ -108,7 +113,7 @@ let v = class {
|
|
|
108
113
|
return t > 0 ? i.replace("in ", "").concat(" left") : i;
|
|
109
114
|
}
|
|
110
115
|
};
|
|
111
|
-
const
|
|
116
|
+
const w = {
|
|
112
117
|
$code: "en-us",
|
|
113
118
|
$dir: "ltr",
|
|
114
119
|
$name: "English",
|
|
@@ -834,11 +839,11 @@ const g = {
|
|
|
834
839
|
zoomOut: "Zoom out",
|
|
835
840
|
zoomToFit: "Zoom to fit"
|
|
836
841
|
};
|
|
837
|
-
|
|
838
|
-
class
|
|
842
|
+
g(w);
|
|
843
|
+
class k extends b {
|
|
839
844
|
}
|
|
840
|
-
|
|
845
|
+
g(w);
|
|
841
846
|
export {
|
|
842
|
-
|
|
843
|
-
|
|
847
|
+
k as L,
|
|
848
|
+
A as d
|
|
844
849
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as d, n as r, C as h, x as p, c as y } from "./custom-element.vnXBMQxc.js";
|
|
2
2
|
import { c as u } from "./component.styles.CI-v8BZa.js";
|
|
3
|
-
import { L as g } from "./i18n.
|
|
3
|
+
import { L as g } from "./i18n.BP2FRO1v.js";
|
|
4
4
|
import { w as v } from "./watch.BCJD77bD.js";
|
|
5
5
|
import { e as b } from "./query.BBf1UFkC.js";
|
|
6
6
|
import { e as x } from "./class-map.CoZTSvbM.js";
|
|
@@ -3,8 +3,8 @@ import { r as H } from "./state.Cw55xXlb.js";
|
|
|
3
3
|
import { e as X } from "./query.BBf1UFkC.js";
|
|
4
4
|
import { E as $e, b as de, a as We } from "./index.Cpamj0jB.js";
|
|
5
5
|
import { c as Ae } from "./component.styles.CI-v8BZa.js";
|
|
6
|
-
import { C as Oe, d as Me } from "./popup.
|
|
7
|
-
import { L as De } from "./i18n.
|
|
6
|
+
import { C as Oe, d as Me } from "./popup._w5T7x8f.js";
|
|
7
|
+
import { L as De } from "./i18n.BP2FRO1v.js";
|
|
8
8
|
import { w as q } from "./watch.BCJD77bD.js";
|
|
9
9
|
import { e as j } from "./class-map.CoZTSvbM.js";
|
|
10
10
|
import { o as je } from "./if-defined.MfEgpxEN.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as q, D as j } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.CtCSNRB3.js";
|
|
2
|
+
import { C as q, D as j } from "./dialog.B1TORO6S.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";
|
|
@@ -7,12 +7,12 @@ import P from "../components/line-clamp.js";
|
|
|
7
7
|
import F from "../components/radio.js";
|
|
8
8
|
import B from "../components/radio-group.js";
|
|
9
9
|
import E from "../components/space.js";
|
|
10
|
-
import { C as K, H as U } from "./table.
|
|
11
|
-
import { C as
|
|
12
|
-
import { i as
|
|
10
|
+
import { C as K, H as U } from "./table.BAr8KKc6.js";
|
|
11
|
+
import { C as L } from "./typography.BFpl0WMA.js";
|
|
12
|
+
import { i as T, n as o, C as z, x as l, c as D } from "./custom-element.vnXBMQxc.js";
|
|
13
13
|
import { c as M } from "./component.styles.CI-v8BZa.js";
|
|
14
|
-
import { d as H } from "./popup.
|
|
15
|
-
import { L as O } from "./i18n.
|
|
14
|
+
import { d as H } from "./popup._w5T7x8f.js";
|
|
15
|
+
import { L as O } from "./i18n.BP2FRO1v.js";
|
|
16
16
|
import { w as N } from "./watch.BCJD77bD.js";
|
|
17
17
|
import { g as V } from "./_commonjsHelpers.ByX85dGu.js";
|
|
18
18
|
import { r as b } from "./state.Cw55xXlb.js";
|
|
@@ -24,11 +24,11 @@ import { c as x } from "./repeat.CauKaXyy.js";
|
|
|
24
24
|
import { n as g } from "./when.Dr1es41R.js";
|
|
25
25
|
import { t as Y } from "./toString.CL_lYXbK.js";
|
|
26
26
|
import Z from "../components/icon-button.js";
|
|
27
|
-
import { C as Q } from "./image.
|
|
27
|
+
import { C as Q } from "./image.Ycf8RudS.js";
|
|
28
28
|
import { t as ee, a as ae, D as I } from "./asset.Ba-CxnNM.js";
|
|
29
29
|
import { a as te } from "./index.Cpamj0jB.js";
|
|
30
30
|
import { A as v } from "./content-builder.WranV3P4.js";
|
|
31
|
-
import { e as ie, t as A } from "./string.
|
|
31
|
+
import { e as ie, t as A } from "./string.BCk3SmdZ.js";
|
|
32
32
|
var C, k;
|
|
33
33
|
function ne() {
|
|
34
34
|
return k || (k = 1, C = {
|
|
@@ -811,7 +811,7 @@ function me(e) {
|
|
|
811
811
|
var a = ++le;
|
|
812
812
|
return Y(e) + a;
|
|
813
813
|
}
|
|
814
|
-
const ce =
|
|
814
|
+
const ce = T`
|
|
815
815
|
:host {
|
|
816
816
|
isolation: isolate;
|
|
817
817
|
}
|
|
@@ -1006,7 +1006,7 @@ u.dependencies = {
|
|
|
1006
1006
|
"cx-image": Q,
|
|
1007
1007
|
"cx-input": S,
|
|
1008
1008
|
"cx-space": E,
|
|
1009
|
-
"cx-typography":
|
|
1009
|
+
"cx-typography": L
|
|
1010
1010
|
};
|
|
1011
1011
|
p([
|
|
1012
1012
|
f(".asset-picker__button")
|
|
@@ -1056,7 +1056,7 @@ p([
|
|
|
1056
1056
|
u = p([
|
|
1057
1057
|
D("cx-asset-picker")
|
|
1058
1058
|
], u);
|
|
1059
|
-
const pe =
|
|
1059
|
+
const pe = T`
|
|
1060
1060
|
:host {
|
|
1061
1061
|
--overridden-min-height: var(--min-height, 160px);
|
|
1062
1062
|
--overridden-max-height: var(--max-height, 260px);
|
|
@@ -1070,6 +1070,7 @@ const pe = L`
|
|
|
1070
1070
|
|
|
1071
1071
|
.list-editor__table {
|
|
1072
1072
|
--cell-border-color: transparent;
|
|
1073
|
+
--cell-bottom-border-color: transparent;
|
|
1073
1074
|
--header-font-size: var(--cx-font-size-small);
|
|
1074
1075
|
--row-header-border-color: transparent;
|
|
1075
1076
|
--cell-horizontal-padding: var(--cx-spacing-2x-small);
|
|
@@ -1146,7 +1147,7 @@ let s = class extends z {
|
|
|
1146
1147
|
}, this.OMITTED_FIELDS = ["id"];
|
|
1147
1148
|
}
|
|
1148
1149
|
get tabs() {
|
|
1149
|
-
return this.translatableControls.length > 0 ? [
|
|
1150
|
+
return this.translatableControls.length > 0 && this.supportedLanguages.length > 1 ? [
|
|
1150
1151
|
"general",
|
|
1151
1152
|
"translation"
|
|
1152
1153
|
/* Translation */
|
|
@@ -1419,7 +1420,7 @@ let s = class extends z {
|
|
|
1419
1420
|
)}
|
|
1420
1421
|
</cx-space>
|
|
1421
1422
|
${g(
|
|
1422
|
-
this.tabs.length
|
|
1423
|
+
this.tabs.length >= 1,
|
|
1423
1424
|
() => l`
|
|
1424
1425
|
<cx-tab-group
|
|
1425
1426
|
class="list-editor__tab-group"
|
|
@@ -1514,7 +1515,7 @@ s.dependencies = {
|
|
|
1514
1515
|
"cx-radio-group": B,
|
|
1515
1516
|
"cx-space": E,
|
|
1516
1517
|
"cx-table": K,
|
|
1517
|
-
"cx-typography":
|
|
1518
|
+
"cx-typography": L
|
|
1518
1519
|
};
|
|
1519
1520
|
r([
|
|
1520
1521
|
f("cx-dialog")
|
|
@@ -1588,7 +1589,7 @@ r([
|
|
|
1588
1589
|
o({
|
|
1589
1590
|
attribute: "supported-languages",
|
|
1590
1591
|
converter: {
|
|
1591
|
-
fromAttribute: (e) => e.split(" "),
|
|
1592
|
+
fromAttribute: (e) => e.split(" ").filter(Boolean),
|
|
1592
1593
|
toAttribute: (e) => Array.isArray(e) ? e.join(" ") : e
|
|
1593
1594
|
},
|
|
1594
1595
|
reflect: !0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as x, n as r, C as v, x as h, c as m } from "./custom-element.vnXBMQxc.js";
|
|
2
2
|
import { c as g } from "./component.styles.CI-v8BZa.js";
|
|
3
|
-
import { L as b } from "./i18n.
|
|
3
|
+
import { L as b } from "./i18n.BP2FRO1v.js";
|
|
4
4
|
import { w as d } from "./watch.BCJD77bD.js";
|
|
5
5
|
import { r as f } from "./state.Cw55xXlb.js";
|
|
6
6
|
import { e as _ } from "./query.BBf1UFkC.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { i as _, n as p, C as b, x as s, c as C } from "./custom-element.vnXBMQxc.js";
|
|
2
|
-
import { L as y } from "./i18n.
|
|
2
|
+
import { L as y } from "./i18n.BP2FRO1v.js";
|
|
3
3
|
import { c } from "./math.DqTA6ya4.js";
|
|
4
4
|
import { w as d } from "./watch.BCJD77bD.js";
|
|
5
5
|
import { r as m } from "./state.Cw55xXlb.js";
|
|
6
6
|
import { e as f } from "./class-map.CoZTSvbM.js";
|
|
7
7
|
import { c as x } from "./repeat.CauKaXyy.js";
|
|
8
8
|
import { n as h } from "./when.Dr1es41R.js";
|
|
9
|
-
import { C as z } from "./button.
|
|
9
|
+
import { C as z } from "./button.CtCSNRB3.js";
|
|
10
10
|
import v from "../components/icon-button.js";
|
|
11
|
-
import { C as $ } from "./option.
|
|
12
|
-
import { C as S } from "./select.
|
|
11
|
+
import { C as $ } from "./option.D9KJhzHs.js";
|
|
12
|
+
import { C as S } from "./select.DfO4de04.js";
|
|
13
13
|
import w from "../components/tooltip.js";
|
|
14
14
|
import { C as I } from "./typography.BFpl0WMA.js";
|
|
15
15
|
import { c as P } from "./component.styles.CI-v8BZa.js";
|
|
@@ -6,7 +6,7 @@ import { o as Lt } from "./if-defined.MfEgpxEN.js";
|
|
|
6
6
|
import { o as se } from "./style-map.CZovMmo_.js";
|
|
7
7
|
import { i as mt, p as ne, f as We, a as qe } from "./browser.Va59Ix3P.js";
|
|
8
8
|
import { c as ye } from "./component.styles.CI-v8BZa.js";
|
|
9
|
-
import { L as Ve } from "./i18n.
|
|
9
|
+
import { L as Ve } from "./i18n.BP2FRO1v.js";
|
|
10
10
|
import { e as Dt } from "./class-map.CoZTSvbM.js";
|
|
11
11
|
import { n as Ue } from "./when.Dr1es41R.js";
|
|
12
12
|
/**
|
|
@@ -6,8 +6,8 @@ import { f as L } from "./form-control.styles.NE2Q-quE.js";
|
|
|
6
6
|
import { s as w, a as x, g as y, b as v } from "./animation-registry.DavRkTTr.js";
|
|
7
7
|
import { d as $ } from "./default-value.CIKAvD5l.js";
|
|
8
8
|
import { w as _ } from "./event.mFzZi4sr.js";
|
|
9
|
-
import { F as E } from "./form.
|
|
10
|
-
import { L as T } from "./i18n.
|
|
9
|
+
import { F as E } from "./form.B8u0ywni.js";
|
|
10
|
+
import { L as T } from "./i18n.BP2FRO1v.js";
|
|
11
11
|
import { s as A } from "./scroll.DwPiX2Ox.js";
|
|
12
12
|
import { H as B } from "./slot.DJLm4Dig.js";
|
|
13
13
|
import { w as h } from "./watch.BCJD77bD.js";
|
|
@@ -17,8 +17,8 @@ import { e as b } from "./class-map.CoZTSvbM.js";
|
|
|
17
17
|
import { o as F } from "./unsafe-html.DyO9_Rsq.js";
|
|
18
18
|
import { n as m } from "./when.Dr1es41R.js";
|
|
19
19
|
import V from "../components/icon.js";
|
|
20
|
-
import { C as d } from "./option.
|
|
21
|
-
import { C as P } from "./popup.
|
|
20
|
+
import { C as d } from "./option.D9KJhzHs.js";
|
|
21
|
+
import { C as P } from "./popup._w5T7x8f.js";
|
|
22
22
|
import M from "../components/spinner.js";
|
|
23
23
|
import U from "../components/tag.js";
|
|
24
24
|
const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.includes("Photoshop") || navigator.userAgent.includes("AfterEffect") || navigator.userAgent.includes("Illustrator"), R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement || customElements.get(e.tagName.toLowerCase())), W = S`
|
|
@@ -7,8 +7,8 @@ function w(t) {
|
|
|
7
7
|
const n = t.trim(), r = n.charAt(0).toUpperCase(), e = n.slice(1);
|
|
8
8
|
return `${r}${e}`;
|
|
9
9
|
}
|
|
10
|
-
const I = (t, n, r, e) => t && t.length > n ? t.substring(0, r) + " ... " + t.substring(t.length - e, t.length) : t,
|
|
11
|
-
function
|
|
10
|
+
const I = (t, n, r, e) => t && t.length > n ? t.substring(0, r) + " ... " + t.substring(t.length - e, t.length) : t, x = (t) => t ? t.replaceAll(/([a-z0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").replaceAll(/([a-zA-Z])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-zA-Z])/g, "$1 $2").replaceAll(/\s+/g, " ").trim().toLowerCase() : "";
|
|
11
|
+
function z(t, n = {}) {
|
|
12
12
|
const {
|
|
13
13
|
frameRate: r = 24,
|
|
14
14
|
mode: e = u.Standard,
|
|
@@ -53,7 +53,7 @@ function F(t, n, r) {
|
|
|
53
53
|
`${i.toString().padStart(2, "0")}.${c.toString().padStart(2, "0")}`
|
|
54
54
|
) : s.push(i.toString().padStart(2, "0")), s.join(":");
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function v(t) {
|
|
57
57
|
return t.endsWith("/") ? t : `${t}/`;
|
|
58
58
|
}
|
|
59
59
|
function k(t, n = {}) {
|
|
@@ -67,10 +67,10 @@ function k(t, n = {}) {
|
|
|
67
67
|
case u.SMPTE:
|
|
68
68
|
return T(o, a);
|
|
69
69
|
case u.Frames:
|
|
70
|
-
return
|
|
70
|
+
return A(o, a);
|
|
71
71
|
case u.Standard:
|
|
72
72
|
default:
|
|
73
|
-
return
|
|
73
|
+
return $(o);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function T(t, n) {
|
|
@@ -80,11 +80,11 @@ function T(t, n) {
|
|
|
80
80
|
const [, a, o, i, c] = e, s = Number.parseInt(a, 10), f = Number.parseInt(o, 10), l = Number.parseInt(i, 10), d = Number.parseInt(c, 10);
|
|
81
81
|
return s < 0 || s > 23 || f < 0 || f > 59 || l < 0 || l > 59 || d < 0 || d >= n ? 0 : s * 3600 + f * 60 + l + d / n;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function A(t, n) {
|
|
84
84
|
const r = Number.parseInt(t, 10);
|
|
85
85
|
return Number.isNaN(r) || r < 0 ? 0 : r / n;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function $(t) {
|
|
88
88
|
const n = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?(?:\.(\d{1,2}))?$/, r = t.match(n);
|
|
89
89
|
if (!r)
|
|
90
90
|
return 0;
|
|
@@ -115,9 +115,12 @@ function H(t) {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
function O(t) {
|
|
118
|
-
return t ==
|
|
118
|
+
return typeof t == "string" ? t.replaceAll(" ", " ") : t == null ? "" : String(t);
|
|
119
119
|
}
|
|
120
120
|
function Z(t) {
|
|
121
|
+
return t == null || t === "" ? " " : String(t);
|
|
122
|
+
}
|
|
123
|
+
function C(t) {
|
|
121
124
|
return typeof t != "string" ? !1 : Object.values(m).includes(t);
|
|
122
125
|
}
|
|
123
126
|
export {
|
|
@@ -125,15 +128,16 @@ export {
|
|
|
125
128
|
S as G,
|
|
126
129
|
g as M,
|
|
127
130
|
u as T,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
Z as a,
|
|
132
|
+
O as b,
|
|
133
|
+
h as c,
|
|
134
|
+
m as d,
|
|
132
135
|
L as e,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
z as f,
|
|
137
|
+
x as g,
|
|
138
|
+
k as h,
|
|
139
|
+
C as i,
|
|
140
|
+
v as p,
|
|
137
141
|
H as s,
|
|
138
142
|
I as t,
|
|
139
143
|
w as u
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import In from "../components/resize-observer.js";
|
|
2
2
|
import { i as Fn, n as wt, C as Ln, x as $t, c as $n } from "./custom-element.vnXBMQxc.js";
|
|
3
3
|
import { c as Nn } from "./component.styles.CI-v8BZa.js";
|
|
4
|
-
import { L as Bn } from "./i18n.
|
|
4
|
+
import { L as Bn } from "./i18n.BP2FRO1v.js";
|
|
5
5
|
import { s as Zi } from "./scroll.DwPiX2Ox.js";
|
|
6
6
|
import { w as ft } from "./watch.BCJD77bD.js";
|
|
7
|
-
import { i as Wn } from "./dom.
|
|
7
|
+
import { i as Wn } from "./dom.C0OFx7ND.js";
|
|
8
8
|
import { s as Vn } from "./parse.Cu5nBDTb.js";
|
|
9
9
|
import { r as at } from "./state.Cw55xXlb.js";
|
|
10
10
|
import { t as Un } from "./event-options.CYHYGOd8.js";
|
|
@@ -15,7 +15,7 @@ import { i as Ji } from "./guard.BDP4A85K.js";
|
|
|
15
15
|
import { o as tr } from "./map.D8heArFD.js";
|
|
16
16
|
import { o as Ue } from "./style-map.CZovMmo_.js";
|
|
17
17
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
18
|
-
import { C as Yn } from "./button.
|
|
18
|
+
import { C as Yn } from "./button.CtCSNRB3.js";
|
|
19
19
|
import Xn from "../components/dropdown.js";
|
|
20
20
|
import qn from "../components/icon-button.js";
|
|
21
21
|
import Gn from "../components/menu.js";
|