@orangelogic/design-system 2.111.0 → 2.112.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.
Files changed (157) hide show
  1. package/library/chunks/asset.Ci6rP56l.js +458 -0
  2. package/library/chunks/{button.i88sSbTZ.js → button.BvBgxmvw.js} +3 -3
  3. package/library/chunks/calendar-grid.CXYoS6VA.js +108 -0
  4. package/library/chunks/{color-swatch-group.mIHaCJsh.js → color-swatch-group.D8KPblw2.js} +3 -3
  5. package/library/chunks/{color-swatch.D9vkPoV2.js → color-swatch.DQxReKYX.js} +2 -2
  6. package/library/chunks/{color.vLD2sNTs.js → color.LzSGBy7o.js} +2 -2
  7. package/library/chunks/{confirm-popover.UuBhn8GA.js → confirm-popover.dyPIFLWa.js} +3 -3
  8. package/library/chunks/date-picker.D0SJADN6.js +77 -0
  9. package/library/chunks/{dialog.Bso6gK-8.js → dialog.BoCFGpPO.js} +2 -2
  10. package/library/chunks/{document-viewer.C6eclRvd.js → document-viewer.B90s20gM.js} +8 -7
  11. package/library/chunks/{dot-pagination.CNnUuI-Z.js → dot-pagination.uz9GFrMP.js} +1 -1
  12. package/library/chunks/{file-on-demand.Cf2ujTeF.js → file-on-demand.DLVH0DID.js} +10 -10
  13. package/library/chunks/{folder-select.ByNUfTia.js → folder-select.C2ruplAB.js} +5 -5
  14. package/library/chunks/{form.Ch1cwYzO.js → form.B-5nQJva.js} +46 -34
  15. package/library/chunks/{header.hj2Kw-N7.js → header.By_Mfx47.js} +1 -1
  16. package/library/chunks/{i18n.D6AYDPK-.js → i18n.BcD4Ohsq.js} +46 -13
  17. package/library/chunks/{icon-button.ztYU-DHy.js → icon-button.DO6DHXwo.js} +2 -2
  18. package/library/chunks/icon.DnBh6-56.js +111 -0
  19. package/library/chunks/{iframe.uLxZ6LsL.js → iframe.C4jZSmOr.js} +1 -1
  20. package/library/chunks/{image.DKB6yEQO.js → image.Cx4hbc4L.js} +2 -2
  21. package/library/chunks/input.B7SaYNrr.js +2855 -0
  22. package/library/chunks/{list-editor.GT2kQsmR.js → list-editor.Hag-nXN-.js} +86 -86
  23. package/library/chunks/{option.BAYtHIvG.js → option.CA-HtVdP.js} +2 -2
  24. package/library/chunks/{pagination.CCJD61IB.js → pagination.jgAGwDyt.js} +5 -5
  25. package/library/chunks/{tab-group.BsR8tdVY.js → tab-group.DyxpVNOn.js} +3 -3
  26. package/library/chunks/{table.DL_CEeYh.js → table.Crb35At8.js} +2905 -2306
  27. package/library/chunks/{tree.KmZRWZ0F.js → tree.jg0MjIB8.js} +2 -2
  28. package/library/components/alert.js +2 -2
  29. package/library/components/animated-image.js +15 -15
  30. package/library/components/asset-link-format.js +7 -7
  31. package/library/components/atoms.js +194 -180
  32. package/library/components/audio.js +2 -2
  33. package/library/components/avatar.js +1 -1
  34. package/library/components/border-input-group.js +2 -2
  35. package/library/components/breadcrumb.js +4 -4
  36. package/library/components/button.js +4 -4
  37. package/library/components/checkbox.js +2 -2
  38. package/library/components/color-picker.js +5 -5
  39. package/library/components/color-swatch-group.js +4 -4
  40. package/library/components/color-swatch.js +3 -3
  41. package/library/components/confirm-popover.js +4 -4
  42. package/library/components/copy-button.js +2 -2
  43. package/library/components/corner-position-input-group.js +3 -3
  44. package/library/components/date-calendar.d.ts +3 -0
  45. package/library/components/date-calendar.js +107 -0
  46. package/library/components/details.js +12 -12
  47. package/library/components/dialog.js +3 -3
  48. package/library/components/document-viewer.js +4 -4
  49. package/library/components/dot-pagination.js +2 -2
  50. package/library/components/drawer.js +2 -2
  51. package/library/components/dropdown.js +2 -2
  52. package/library/components/dynamic-select.js +4 -4
  53. package/library/components/e-chart.js +1 -1
  54. package/library/components/element-clamp.js +2 -2
  55. package/library/components/faceted-filter.d.ts +3 -0
  56. package/library/components/faceted-filter.js +295 -0
  57. package/library/components/file-on-demand.js +11 -11
  58. package/library/components/folder-select.js +5 -5
  59. package/library/components/format-bytes.js +1 -1
  60. package/library/components/format-date.js +1 -1
  61. package/library/components/format-number.js +1 -1
  62. package/library/components/format-time.js +1 -1
  63. package/library/components/header.js +2 -2
  64. package/library/components/icon-button.js +3 -3
  65. package/library/components/icon.js +10 -109
  66. package/library/components/iframe.js +2 -2
  67. package/library/components/image-comparer.js +2 -2
  68. package/library/components/image.js +3 -3
  69. package/library/components/input.js +19 -2852
  70. package/library/components/line-clamp.js +1 -1
  71. package/library/components/list-editor.js +7 -7
  72. package/library/components/masonry.js +2 -2
  73. package/library/components/menu-item.js +2 -2
  74. package/library/components/menu.js +2 -2
  75. package/library/components/molecules.js +4 -4
  76. package/library/components/option.js +3 -3
  77. package/library/components/organisms.js +2 -2
  78. package/library/components/padding-input-group.js +9 -9
  79. package/library/components/pagination.js +6 -6
  80. package/library/components/popup.js +1 -1
  81. package/library/components/position-picker.js +1 -1
  82. package/library/components/progress-bar.js +1 -1
  83. package/library/components/progress-ring.js +1 -1
  84. package/library/components/radio-group.js +1 -1
  85. package/library/components/radio.js +1 -1
  86. package/library/components/range.js +2 -2
  87. package/library/components/rating.js +6 -6
  88. package/library/components/relative-time.js +1 -1
  89. package/library/components/select.js +5 -5
  90. package/library/components/shadow-input-group.js +5 -5
  91. package/library/components/share-option-list.js +2 -2
  92. package/library/components/sidebar.js +2 -2
  93. package/library/components/size-input-group.js +3 -3
  94. package/library/components/spinner.js +1 -1
  95. package/library/components/split-panel.js +1 -1
  96. package/library/components/step.js +1 -1
  97. package/library/components/stepper-wizard.js +16 -16
  98. package/library/components/switch.js +1 -1
  99. package/library/components/tab-group.js +4 -4
  100. package/library/components/tab.js +2 -2
  101. package/library/components/table.js +5 -5
  102. package/library/components/tag.js +2 -2
  103. package/library/components/textarea.js +1 -1
  104. package/library/components/tooltip.js +1 -1
  105. package/library/components/tree-item.js +3 -3
  106. package/library/components/tree.js +2 -2
  107. package/library/components/typeface.js +2 -2
  108. package/library/components/types.js +25164 -24599
  109. package/library/components/video.js +2 -2
  110. package/library/package.json +1 -1
  111. package/library/packages/atoms/src/components/date-calendar/date-calendar.d.ts +61 -0
  112. package/library/packages/atoms/src/components/date-calendar/date-calendar.styles.d.ts +2 -0
  113. package/library/packages/atoms/src/components/details/details.d.ts +1 -0
  114. package/library/packages/atoms/src/components/faceted-filter/components/facet/facet.d.ts +58 -0
  115. package/library/packages/atoms/src/components/faceted-filter/components/facet/facet.styles.d.ts +2 -0
  116. package/library/packages/atoms/src/components/faceted-filter/faceted-filter.d.ts +71 -0
  117. package/library/packages/atoms/src/components/faceted-filter/faceted-filter.styles.d.ts +2 -0
  118. package/library/packages/atoms/src/components/icon/font-awesome-icons.d.ts +1 -0
  119. package/library/packages/atoms/src/components/icon/icon.d.ts +1 -0
  120. package/library/packages/atoms/src/components/image/image.d.ts +1 -1
  121. package/library/packages/atoms/src/components/table/table-data-loader.d.ts +13 -0
  122. package/library/packages/atoms/src/components/table/table.d.ts +13 -1
  123. package/library/packages/atoms/src/index.d.ts +3 -0
  124. package/library/packages/events/src/cx-date-select.d.ts +9 -0
  125. package/library/packages/events/src/cx-faceted-filter-change.d.ts +8 -0
  126. package/library/packages/events/src/cx-table-data-load.d.ts +17 -0
  127. package/library/packages/events/src/events.d.ts +3 -0
  128. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ClickableCell/ClickableCell.d.ts +5 -0
  129. package/library/packages/molecules/src/asset-data-display/asset-data-display.d.ts +1 -1
  130. package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
  131. package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +73 -13
  132. package/library/packages/molecules/src/index.d.ts +2 -0
  133. package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +127 -0
  134. package/library/packages/molecules/src/input-date-picker/input-date-picker.styles.d.ts +2 -0
  135. package/library/packages/molecules/src/input-date-range-picker/input-date-range-picker.d.ts +90 -0
  136. package/library/packages/molecules/src/input-date-range-picker/input-date-range-picker.styles.d.ts +2 -0
  137. package/library/packages/molecules/src/timeline/timeline.d.ts +1 -1
  138. package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +0 -1
  139. package/library/packages/services/src/api/asset/asset.d.ts +3 -3
  140. package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -2
  141. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +4 -4
  142. package/library/packages/types/src/date-picker.d.ts +45 -0
  143. package/library/packages/types/src/faceted-filter.d.ts +23 -0
  144. package/library/packages/types/src/icon-picker.d.ts +8 -0
  145. package/library/packages/types/src/index.d.ts +1 -1
  146. package/library/packages/types/src/table.d.ts +12 -0
  147. package/library/packages/utils/src/custom-element/form.d.ts +5 -0
  148. package/library/packages/utils/src/custom-element/i18n.d.ts +33 -0
  149. package/library/packages/utils/src/date/calendar-grid.d.ts +40 -0
  150. package/library/packages/utils/src/date/date-range-preset.d.ts +12 -0
  151. package/library/packages/utils/src/date/date.d.ts +42 -0
  152. package/library/packages/utils/src/date/index.d.ts +3 -0
  153. package/library/packages/utils/src/index.d.ts +1 -0
  154. package/library/react-web-component.d.ts +491 -195
  155. package/library/utils.js +539 -332
  156. package/package.json +1 -1
  157. package/library/chunks/asset.NgymQ3Zx.js +0 -454
@@ -0,0 +1,77 @@
1
+ const l = "00", y = "00:00:00", h = "23:59:59", i = Array.from(
2
+ { length: 24 },
3
+ (s, a) => {
4
+ const e = a < 12 ? "am" : "pm";
5
+ return {
6
+ label: `${a % 12 || 12}${e}`,
7
+ value: String(a).padStart(2, "0")
8
+ };
9
+ }
10
+ ), n = Array.from(
11
+ { length: 60 },
12
+ (s, a) => String(a).padStart(2, "0")
13
+ ), t = {
14
+ last2Days: "last-2-days",
15
+ last30Days: "last-30-days",
16
+ last30Minutes: "last-30-minutes",
17
+ last3Days: "last-3-days",
18
+ lastDay: "last-day",
19
+ lastHalfYear: "last-half-year",
20
+ lastMonth: "last-month",
21
+ lastQuarter: "last-quarter",
22
+ lastWeek: "last-week",
23
+ lastYear: "last-year",
24
+ next30Days: "next-30-days",
25
+ thisHalfYear: "this-half-year",
26
+ thisMonth: "this-month",
27
+ thisQuarter: "this-quarter",
28
+ thisWeek: "this-week",
29
+ thisYear: "this-year",
30
+ today: "today"
31
+ }, T = [
32
+ t.last30Minutes,
33
+ t.today,
34
+ t.lastDay,
35
+ t.last2Days,
36
+ t.last3Days,
37
+ t.last30Days,
38
+ t.next30Days,
39
+ t.thisWeek,
40
+ t.lastWeek,
41
+ t.thisMonth,
42
+ t.lastMonth,
43
+ t.lastQuarter,
44
+ t.lastHalfYear,
45
+ t.thisQuarter,
46
+ t.thisHalfYear,
47
+ t.thisYear,
48
+ t.lastYear
49
+ ], D = {
50
+ [t.last2Days]: "presetLast2Days",
51
+ [t.last3Days]: "presetLast3Days",
52
+ [t.last30Days]: "presetLast30Days",
53
+ [t.last30Minutes]: "presetLast30Minutes",
54
+ [t.lastDay]: "presetLastDay",
55
+ [t.lastHalfYear]: "presetLastHalfYear",
56
+ [t.lastMonth]: "presetLastMonth",
57
+ [t.lastQuarter]: "presetLastQuarter",
58
+ [t.lastWeek]: "presetLastWeek",
59
+ [t.lastYear]: "presetLastYear",
60
+ [t.next30Days]: "presetNext30Days",
61
+ [t.thisHalfYear]: "presetThisHalfYear",
62
+ [t.thisMonth]: "presetThisMonth",
63
+ [t.thisQuarter]: "presetThisQuarter",
64
+ [t.thisWeek]: "presetThisWeek",
65
+ [t.thisYear]: "presetThisYear",
66
+ [t.today]: "presetToday"
67
+ };
68
+ export {
69
+ y as D,
70
+ i as H,
71
+ n as P,
72
+ l as a,
73
+ h as b,
74
+ T as c,
75
+ D as d,
76
+ t as e
77
+ };
@@ -3,7 +3,7 @@ import { c as S } from "./component.styles.CRO4Odto.js";
3
3
  import { O, C as D, H, z as A, o as B } from "./overlayscrollbars.BMav4RQ4.js";
4
4
  import { a as c, s as p, w as x } from "./event.BeKOsirN.js";
5
5
  import { c as $ } from "./custom-element.L4WJXn1j.js";
6
- import { L } from "./i18n.D6AYDPK-.js";
6
+ import { L } from "./i18n.BcD4Ohsq.js";
7
7
  import { M as P } from "./modal.U1QltQKe.js";
8
8
  import { l as w, u as _ } from "./scroll.xtO5yojm.js";
9
9
  import { H as E } from "./slot.j5oheLJC.js";
@@ -17,7 +17,7 @@ import { o as q } from "./style-map.llVFPd__.js";
17
17
  import { n as b } from "./when.Dr1es41R.js";
18
18
  import { s as u, g as h } from "./animation-registry.HmpwNuGH.js";
19
19
  import F from "../components/divider.js";
20
- import { C as I } from "./icon-button.ztYU-DHy.js";
20
+ import { C as I } from "./icon-button.DO6DHXwo.js";
21
21
  import U from "../components/popup.js";
22
22
  var l = /* @__PURE__ */ ((e) => (e.Both = "both", e.Footer = "footer", e.Header = "header", e.None = "none", e))(l || {});
23
23
  const j = R`:host{--width:31rem;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large);--body-spacing:var(--cx-spacing-medium) var(--cx-spacing-large);--divider-spacing:0;--footer-spacing:var(--cx-spacing-medium);--max-width:100%;--max-height:100%;--overlay-background-color:var(--cx-overlay-background-color);display:contents}.dialog{justify-content:center;align-items:center;display:flex}.dialog--absolute{position:absolute}.dialog__panel{width:var(--width);height:var(--dialog-height,auto);background-color:var(--cx-panel-background-color);border-radius:var(--cx-border-radius-medium);box-shadow:var(--cx-shadow-x-large);max-width:calc(var(--max-width) - var(--cx-spacing-2x-large));max-height:calc(var(--max-height) - var(--cx-spacing-2x-large));flex-direction:column;display:flex;overflow:hidden}.dialog__panel:focus{outline:none}@media screen and (width<=420px){.dialog__panel{max-height:80vh}}.dialog--open .dialog__panel{opacity:1;display:flex}.dialog__header{padding:var(--header-spacing);flex:none;display:flex}.dialog__header-divider,.dialog__footer-divider{--spacing:0;padding:var(--divider-spacing)}.dialog__title{font:inherit;font-family:var(--cx-font-sans);font-size:var(--cx-font-size-large);font-weight:var(--cx-font-weight-regular);line-height:var(--cx-line-height-large);flex:auto;align-items:center;margin:0;display:flex}.dialog__header-actions{justify-content:end;gap:var(--cx-spacing-2x-small);flex-wrap:wrap;flex-shrink:0;display:flex}.dialog__header-actions cx-icon-button,.dialog__header-actions ::slotted(cx-icon-button){font-size:var(--cx-font-size-3x-large);flex:none;align-items:center;display:flex}.dialog__body{padding:var(--body-spacing);-webkit-overflow-scrolling:touch;font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);line-height:var(--cx-line-height-small);z-index:2;flex:auto;display:block;position:relative;overflow:auto}.dialog--overlay-scrollbar .dialog__body{flex-direction:column;display:flex}.dialog__footer{text-align:right;padding:var(--footer-spacing);z-index:1;flex:none;position:relative}.dialog__footer ::slotted(cx-button:not(:first-of-type)){margin-inline-start:var(--cx-spacing-x-small)}.dialog:not(.dialog--has-footer) .dialog__footer{display:none}@media (forced-colors:active){.dialog__panel{border:solid 1px var(--cx-color-neutral-0)}}.dialog__overlay{background-color:var(--overlay-background-color);opacity:0;pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex}.dialog--open .dialog__overlay{opacity:1;pointer-events:auto}`;
@@ -1,10 +1,10 @@
1
1
  import { r as resizableComponentStyles, R as ResizableElement, a as ResizeDirection, b as HeightMode } from "./resizable-component.styles.DpK0TTP5.js";
2
- import { C as CxButton } from "./button.i88sSbTZ.js";
2
+ import { C as CxButton } from "./button.BvBgxmvw.js";
3
3
  import CxDrawer from "../components/drawer.js";
4
4
  import CxDropdown from "../components/dropdown.js";
5
- import CxIcon from "../components/icon.js";
6
- import { C as CxIconButton } from "./icon-button.ztYU-DHy.js";
7
- import CxInput from "../components/input.js";
5
+ import { C as CxIcon } from "./icon.DnBh6-56.js";
6
+ import { C as CxIconButton } from "./icon-button.DO6DHXwo.js";
7
+ import { C as CxInput } from "./input.B7SaYNrr.js";
8
8
  import CxMenu from "../components/menu.js";
9
9
  import CxMenuItem from "../components/menu-item.js";
10
10
  import CxPopup from "../components/popup.js";
@@ -18,10 +18,11 @@ import { c as componentStyles } from "./component.styles.CRO4Odto.js";
18
18
  import "./debounce.CIEhztrj.js";
19
19
  import { c as customElement } from "./custom-element.L4WJXn1j.js";
20
20
  import { i, x, E } from "./lit-element.jLBm65_O.js";
21
- import "./form.Ch1cwYzO.js";
22
- import { L as LocalizeController } from "./i18n.D6AYDPK-.js";
21
+ import "./form.B-5nQJva.js";
22
+ import { L as LocalizeController } from "./i18n.BcD4Ohsq.js";
23
23
  import "./purify.es.BIuh5IAZ.js";
24
24
  import { w as watch } from "./watch.CThbualB.js";
25
+ import "./date-picker.D0SJADN6.js";
25
26
  import { f as fetchCortexApi } from "./content-builder.OsUmm8Wu.js";
26
27
  import "./unsafe-html.Dff7-rCx.js";
27
28
  import { r as reactExports, a as React, j as jsxRuntimeExports, w, R as ReactDOM } from "./jsx-runtime.CTpPVMxj.js";
@@ -32,7 +33,7 @@ import { a as ObjectFit } from "./index.Cpamj0jB.js";
32
33
  import { r as r$1 } from "./state.CSDxrqLd.js";
33
34
  import { e } from "./class-map.BiVq-cVR.js";
34
35
  import { n as n$1 } from "./when.Dr1es41R.js";
35
- import { C as CxImage } from "./image.DKB6yEQO.js";
36
+ import { C as CxImage } from "./image.Cx4hbc4L.js";
36
37
  var BookReaderMode$1 = /* @__PURE__ */ ((l) => (l.Image = "Image", l.Pdf = "Pdf", l))(BookReaderMode$1 || {}), BookReaderViewMode = /* @__PURE__ */ ((l) => (l.FourPage = "FourPage", l.OnePage = "OnePage", l.TwoPage = "TwoPage", l))(BookReaderViewMode || {});
37
38
  function commonjsRequire(l) {
38
39
  throw new Error('Could not dynamically require "' + l + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -2,7 +2,7 @@ import { n as s, C as P } from "./lib-cortex-element.CVMmyPMC.js";
2
2
  import { c as z } from "./component.styles.CRO4Odto.js";
3
3
  import { O as C } from "./index.Cpamj0jB.js";
4
4
  import { c as F } from "./custom-element.L4WJXn1j.js";
5
- import { L as S } from "./i18n.D6AYDPK-.js";
5
+ import { L as S } from "./i18n.BcD4Ohsq.js";
6
6
  import { w as f } from "./watch.CThbualB.js";
7
7
  import { i as O, x as y } from "./lit-element.jLBm65_O.js";
8
8
  import { r as j } from "./state.CSDxrqLd.js";
@@ -1,10 +1,10 @@
1
- import J from "../components/icon.js";
1
+ import { C as J } from "./icon.DnBh6-56.js";
2
2
  import Q from "../components/line-clamp.js";
3
- import { C as bt, s as $t, a as St, b as dt } from "./tree.KmZRWZ0F.js";
3
+ import { C as bt, s as $t, a as St, b as dt } from "./tree.jg0MjIB8.js";
4
4
  import { n as d, C as H } from "./lib-cortex-element.CVMmyPMC.js";
5
5
  import { c as tt } from "./component.styles.CRO4Odto.js";
6
6
  import { c as W } from "./custom-element.L4WJXn1j.js";
7
- import { L as q } from "./i18n.D6AYDPK-.js";
7
+ import { L as q } from "./i18n.BcD4Ohsq.js";
8
8
  import { k as Et, h as It, i as wt, w as P, j as Lt, l as Ft, a as Ut, c as Rt, g as kt, m as Ot, n as Nt } from "./watch.CThbualB.js";
9
9
  import { p as R } from "./string.DUgD4c9f.js";
10
10
  import { x as n, i as ot, E as jt } from "./lit-element.jLBm65_O.js";
@@ -15,22 +15,22 @@ import { c as U } from "./repeat.DbF2p5ae.js";
15
15
  import { n as p } from "./when.Dr1es41R.js";
16
16
  import { b as Bt, i as Ct } from "./_baseIteratee.DpzDid58.js";
17
17
  import Mt from "../components/avatar.js";
18
- import { C as Vt } from "./button.i88sSbTZ.js";
19
- import { C as Ht } from "./dialog.Bso6gK-8.js";
18
+ import { C as Vt } from "./button.BvBgxmvw.js";
19
+ import { C as Ht } from "./dialog.BoCFGpPO.js";
20
20
  import Wt from "../components/divider.js";
21
21
  import nt from "../components/format-bytes.js";
22
- import { C as At } from "./icon-button.ztYU-DHy.js";
23
- import qt from "../components/input.js";
24
- import { C as Gt } from "./option.BAYtHIvG.js";
22
+ import { C as At } from "./icon-button.DO6DHXwo.js";
23
+ import { C as qt } from "./input.B7SaYNrr.js";
24
+ import { C as Gt } from "./option.CA-HtVdP.js";
25
25
  import Dt from "../components/relative-time.js";
26
26
  import Yt from "../components/select.js";
27
27
  import Kt from "../components/space.js";
28
28
  import Zt from "../components/tab.js";
29
- import { C as Xt } from "./tab-group.BsR8tdVY.js";
29
+ import { C as Xt } from "./tab-group.DyxpVNOn.js";
30
30
  import Jt from "../components/tab-panel.js";
31
31
  import Tt from "../components/tooltip.js";
32
32
  import { C as rt } from "./typography.DJC_UXgs.js";
33
- import { C as Qt } from "./confirm-popover.UuBhn8GA.js";
33
+ import { C as Qt } from "./confirm-popover.dyPIFLWa.js";
34
34
  import { d as te } from "./debounce.CIEhztrj.js";
35
35
  import { a as et } from "./number.B4PQLJIg.js";
36
36
  import { i as K, a as ht } from "./url.Cj9cIQXJ.js";
@@ -1,21 +1,21 @@
1
- import N from "../components/icon.js";
2
- import ie from "../components/input.js";
1
+ import { C as N } from "./icon.DnBh6-56.js";
2
+ import { C as ie } from "./input.B7SaYNrr.js";
3
3
  import H from "../components/line-clamp.js";
4
4
  import oe from "../components/select.js";
5
5
  import ce from "../components/tag.js";
6
- import { C as g, a as ne } from "./tree.KmZRWZ0F.js";
6
+ import { C as g, a as ne } from "./tree.jg0MjIB8.js";
7
7
  import { n as r, C as U } from "./lib-cortex-element.CVMmyPMC.js";
8
8
  import { h as R, F as he, c as de } from "./endpoints.DBlquU2-.js";
9
9
  import { M as k } from "./asset-link-format.B0c92pSs.js";
10
10
  import { c as j } from "./component.styles.CRO4Odto.js";
11
11
  import { c as M } from "./custom-element.L4WJXn1j.js";
12
- import { L } from "./i18n.D6AYDPK-.js";
12
+ import { L } from "./i18n.BcD4Ohsq.js";
13
13
  import { w as f } from "./watch.CThbualB.js";
14
14
  import { x as m, i as pe } from "./lit-element.jLBm65_O.js";
15
15
  import { r as x } from "./state.CSDxrqLd.js";
16
16
  import { e as Z } from "./query.BBf1UFkC.js";
17
17
  import { r as ue } from "./choose.BTbF6BAn.js";
18
- import { C as J } from "./button.i88sSbTZ.js";
18
+ import { C as J } from "./button.BvBgxmvw.js";
19
19
  import { d as fe } from "./debounce.CIEhztrj.js";
20
20
  import { g as K, p as W, e as me } from "./string.DUgD4c9f.js";
21
21
  import { o as y } from "./if-defined.BRoBj_Rp.js";
@@ -1,37 +1,37 @@
1
1
  import { s as m } from "./dom.0RpWet6y.js";
2
- const n = /* @__PURE__ */ new WeakMap(), h = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakSet(), f = /* @__PURE__ */ new WeakMap();
2
+ const n = /* @__PURE__ */ new WeakMap(), h = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakSet(), f = /* @__PURE__ */ new WeakMap();
3
3
  class v {
4
- constructor(e, s) {
4
+ constructor(e, o) {
5
5
  this.handleFormData = (t) => {
6
- const o = this.options.disabled(this.host), r = this.options.name(this.host), i = this.options.value(this.host), a = this.host.tagName.toLowerCase() === "cx-button";
7
- this.host.isConnected && !o && !a && typeof r == "string" && r.length > 0 && typeof i < "u" && (Array.isArray(i) ? i.forEach((d) => {
6
+ const s = this.options.disabled(this.host), r = this.options.name(this.host), i = this.options.value(this.host), a = this.host.tagName.toLowerCase() === "cx-button";
7
+ this.host.isConnected && !s && !a && typeof r == "string" && r.length > 0 && typeof i < "u" && (Array.isArray(i) ? i.forEach((c) => {
8
8
  t.formData.append(
9
9
  r,
10
- d.toString()
10
+ c.toString()
11
11
  );
12
12
  }) : t.formData.append(
13
13
  r,
14
14
  i.toString()
15
15
  ));
16
16
  }, this.handleFormSubmit = (t) => {
17
- const o = this.options.disabled(this.host), r = this.options.checkValidity;
17
+ const s = this.options.disabled(this.host), r = this.options.checkValidity;
18
18
  if (!this.form)
19
19
  return;
20
20
  const i = n.get(this.form);
21
21
  if (!i)
22
22
  return;
23
23
  const a = m(Array.from(i));
24
- this.form && !this.form.noValidate && a.forEach((d) => {
25
- this.setUserInteracted(d, !0);
26
- }), this.form && !this.form.noValidate && !o && !r(this.host) && (t.preventDefault(), t.stopImmediatePropagation());
24
+ this.form && !this.form.noValidate && a.forEach((c) => {
25
+ this.setUserInteracted(c, !0);
26
+ }), this.form && !this.form.noValidate && !s && !r(this.host) && (t.preventDefault(), t.stopImmediatePropagation());
27
27
  }, this.handleFormReset = () => {
28
28
  this.options.setValue(this.host, this.options.defaultValue(this.host)), this.setUserInteracted(this.host, !1), f.set(this.host, []);
29
29
  }, this.handleInteraction = (t) => {
30
- const o = f.get(this.host);
31
- o.includes(t.type) || o.push(t.type), o.length === this.options.assumeInteractionOn.length && this.setUserInteracted(this.host, !0);
30
+ const s = f.get(this.host);
31
+ s.includes(t.type) || s.push(t.type), s.length === this.options.assumeInteractionOn.length && this.setUserInteracted(this.host, !0);
32
32
  }, this.checkFormValidity = () => {
33
33
  if (this.form && !this.form.noValidate) {
34
- const t = this.form.querySelectorAll("*"), o = n.get(this.form), r = o ? m(Array.from(o)) : [], i = [
34
+ const t = this.form.querySelectorAll("*"), s = n.get(this.form), r = s ? m(Array.from(s)) : [], i = [
35
35
  .../* @__PURE__ */ new Set([...r, ...t])
36
36
  ];
37
37
  for (const a of i)
@@ -41,7 +41,7 @@ class v {
41
41
  return !0;
42
42
  }, this.reportFormValidity = () => {
43
43
  if (this.form && !this.form.noValidate) {
44
- const t = this.form.querySelectorAll("*"), o = n.get(this.form), r = o ? m(Array.from(o)) : [], i = [
44
+ const t = this.form.querySelectorAll("*"), s = n.get(this.form), r = s ? m(Array.from(s)) : [], i = [
45
45
  .../* @__PURE__ */ new Set([...r, ...t])
46
46
  ];
47
47
  for (const a of i)
@@ -57,9 +57,9 @@ class v {
57
57
  form: (t) => {
58
58
  if (t.form && t.form instanceof HTMLFormElement)
59
59
  return t.form;
60
- const o = t.form;
61
- if (o) {
62
- const i = t.getRootNode().querySelector(`#${o}`);
60
+ const s = t.form;
61
+ if (s) {
62
+ const i = t.getRootNode().querySelector(`#${s}`);
63
63
  if (i)
64
64
  return i;
65
65
  }
@@ -69,15 +69,17 @@ class v {
69
69
  reportValidity: (t) => typeof t.reportValidity == "function" ? t.reportValidity() : !0,
70
70
  // eslint-disable-next-line
71
71
  // @ts-ignore
72
- setValue: (t, o) => t.value = o,
72
+ setValue: (t, s) => {
73
+ t.value = s, t.emit("cx-change");
74
+ },
73
75
  value: (t) => t.value,
74
- ...s
76
+ ...o
75
77
  };
76
78
  }
77
79
  hostConnected() {
78
80
  const e = this.options.form(this.host);
79
- e && this.attachForm(e), f.set(this.host, []), this.options.assumeInteractionOn.forEach((s) => {
80
- this.host.addEventListener(s, this.handleInteraction);
81
+ e && this.attachForm(e), f.set(this.host, []), this.options.assumeInteractionOn.forEach((o) => {
82
+ this.host.addEventListener(o, this.handleInteraction);
81
83
  });
82
84
  }
83
85
  hostDisconnected() {
@@ -98,20 +100,20 @@ class v {
98
100
  const e = n.get(this.form);
99
101
  e && (e.delete(this.host), this.form.removeEventListener("formdata", this.handleFormData), this.form.removeEventListener("submit", this.handleFormSubmit), this.form.removeEventListener("reset", this.handleFormReset), e.size <= 0 && (h.has(this.form) && (this.form.reportValidity = h.get(this.form), h.delete(this.form)), l.has(this.form) && (this.form.checkValidity = l.get(this.form), l.delete(this.form)), this.form = void 0));
100
102
  }
101
- setUserInteracted(e, s) {
102
- s ? c.add(e) : c.delete(e), e.requestUpdate();
103
+ setUserInteracted(e, o) {
104
+ o ? u.add(e) : u.delete(e), e.requestUpdate();
103
105
  }
104
- doAction(e, s) {
106
+ doAction(e, o) {
105
107
  if (this.form) {
106
108
  const t = document.createElement("button");
107
- t.type = e, t.style.position = "absolute", t.style.width = "0", t.style.height = "0", t.style.clipPath = "inset(50%)", t.style.overflow = "hidden", t.style.whiteSpace = "nowrap", s && (t.name = s.name, t.value = s.value, [
109
+ t.type = e, t.style.position = "absolute", t.style.width = "0", t.style.height = "0", t.style.clipPath = "inset(50%)", t.style.overflow = "hidden", t.style.whiteSpace = "nowrap", o && (t.name = o.name, t.value = o.value, [
108
110
  "formaction",
109
111
  "formenctype",
110
112
  "formmethod",
111
113
  "formnovalidate",
112
114
  "formtarget"
113
- ].forEach((o) => {
114
- s.hasAttribute(o) && t.setAttribute(o, s.getAttribute(o));
115
+ ].forEach((s) => {
116
+ o.hasAttribute(s) && t.setAttribute(s, o.getAttribute(s));
115
117
  })), this.form.append(t), t.click(), t.remove();
116
118
  }
117
119
  }
@@ -132,8 +134,8 @@ class v {
132
134
  * the host element immediately, i.e. before Lit updates the component in the next update.
133
135
  */
134
136
  setValidity(e) {
135
- const s = this.host, t = !!c.has(s), o = !!s.required;
136
- s.toggleAttribute("data-required", o), s.toggleAttribute("data-optional", !o), s.toggleAttribute("data-invalid", !e), s.toggleAttribute("data-valid", e), s.toggleAttribute("data-user-invalid", !e && t), s.toggleAttribute("data-user-valid", e && t);
137
+ const o = this.host, t = !!u.has(o), s = !!o.required;
138
+ o.toggleAttribute("data-required", s), o.toggleAttribute("data-optional", !s), o.toggleAttribute("data-invalid", !e), o.toggleAttribute("data-valid", e), o.toggleAttribute("data-user-invalid", !e && t), o.toggleAttribute("data-user-valid", e && t);
137
139
  }
138
140
  /**
139
141
  * Updates the form control's validity based on the current value of `host.validity.valid`. Call this when anything
@@ -151,7 +153,7 @@ class v {
151
153
  * event will be cancelled before being dispatched.
152
154
  */
153
155
  emitInvalidEvent(e) {
154
- const s = new CustomEvent(
156
+ const o = new CustomEvent(
155
157
  "cx-invalid",
156
158
  {
157
159
  bubbles: !1,
@@ -160,10 +162,10 @@ class v {
160
162
  detail: {}
161
163
  }
162
164
  );
163
- e || s.preventDefault(), this.host.dispatchEvent(s) || e?.preventDefault();
165
+ e || o.preventDefault(), this.host.dispatchEvent(o) || e?.preventDefault();
164
166
  }
165
167
  }
166
- const u = Object.freeze({
168
+ const p = Object.freeze({
167
169
  badInput: !1,
168
170
  customError: !1,
169
171
  patternMismatch: !1,
@@ -176,18 +178,28 @@ const u = Object.freeze({
176
178
  valid: !0,
177
179
  valueMissing: !1
178
180
  }), g = Object.freeze({
179
- ...u,
181
+ ...p,
180
182
  valid: !1,
181
183
  valueMissing: !0
182
184
  }), V = Object.freeze({
183
- ...u,
185
+ ...p,
184
186
  customError: !0,
185
187
  valid: !1
186
188
  });
189
+ function b(d, e) {
190
+ if (e instanceof HTMLFormElement)
191
+ return e;
192
+ if (typeof e == "string") {
193
+ const o = d.getRootNode();
194
+ return "getElementById" in o ? o.getElementById(e) ?? void 0 : void 0;
195
+ }
196
+ return d.closest("form") ?? void 0;
197
+ }
187
198
  export {
188
199
  v as F,
189
200
  g as a,
190
201
  V as c,
191
202
  n as f,
192
- u as v
203
+ b as g,
204
+ p as v
193
205
  };
@@ -3,7 +3,7 @@ import { n as s, C as k } from "./lib-cortex-element.CVMmyPMC.js";
3
3
  import { c as b } from "./component.styles.CRO4Odto.js";
4
4
  import { i as p } from "./lit-element.jLBm65_O.js";
5
5
  import { c as v } from "./custom-element.L4WJXn1j.js";
6
- import { L as y } from "./i18n.D6AYDPK-.js";
6
+ import { L as y } from "./i18n.BcD4Ohsq.js";
7
7
  import { w } from "./watch.CThbualB.js";
8
8
  import { e as m } from "./query.BBf1UFkC.js";
9
9
  import { e as u } from "./class-map.BiVq-cVR.js";
@@ -1,7 +1,7 @@
1
- import { p as v } from "./purify.es.BIuh5IAZ.js";
2
- const s = /* @__PURE__ */ new Set(), b = new MutationObserver(f), l = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
3
- let d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language, n;
4
- b.observe(document.documentElement, {
1
+ import { p as b } from "./purify.es.BIuh5IAZ.js";
2
+ const l = /* @__PURE__ */ new Set(), v = new MutationObserver(f), n = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
3
+ let d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language, s;
4
+ v.observe(document.documentElement, {
5
5
  attributeFilter: ["dir", "lang"],
6
6
  attributes: !0
7
7
  });
@@ -11,7 +11,7 @@ function A(e) {
11
11
  function u(...e) {
12
12
  e.map((t) => {
13
13
  const o = t.$code.toLowerCase();
14
- l.has(o) ? l.set(o, { ...l.get(o), ...t }) : l.set(o, t), n || (n = t);
14
+ n.has(o) ? n.set(o, { ...n.get(o), ...t }) : n.set(o, t), s || (s = t);
15
15
  });
16
16
  }
17
17
  function g(...e) {
@@ -28,7 +28,7 @@ function g(...e) {
28
28
  f();
29
29
  }
30
30
  function f() {
31
- d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language, [...s.keys()].forEach((e) => {
31
+ d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language, [...l.keys()].forEach((e) => {
32
32
  typeof e.requestUpdate == "function" && e.requestUpdate();
33
33
  });
34
34
  }
@@ -37,10 +37,10 @@ let C = class {
37
37
  this.host = t, this.host.addController(this);
38
38
  }
39
39
  hostConnected() {
40
- s.add(this.host);
40
+ l.add(this.host);
41
41
  }
42
42
  hostDisconnected() {
43
- s.delete(this.host);
43
+ l.delete(this.host);
44
44
  }
45
45
  /**
46
46
  * Gets the host element's directionality as determined by the `dir` attribute. The return value is transformed to
@@ -64,7 +64,7 @@ let C = class {
64
64
  const [c, p] = t.replace(/_/g, "-").split("-");
65
65
  a = c ? c.toLowerCase() : "", i = p ? p.toLowerCase() : "", o = { language: a, region: i };
66
66
  }
67
- const r = i && l.get(`${a}-${i}`) ? l.get(`${a}-${i}`) : void 0, y = l.get(a);
67
+ const r = i && n.get(`${a}-${i}`) ? n.get(`${a}-${i}`) : void 0, y = n.get(a);
68
68
  return { language: a, locale: o, primary: r, region: i, secondary: y };
69
69
  }
70
70
  /** Determines if the specified term exists, optionally checking the fallback translation. */
@@ -75,7 +75,7 @@ let C = class {
75
75
  return o = {
76
76
  includeFallback: !1,
77
77
  ...o
78
- }, !!(a && a[t] || i && i[t] || o.includeFallback && n && n[t]);
78
+ }, !!(a && a[t] || i && i[t] || o.includeFallback && s && s[t]);
79
79
  }
80
80
  /** Outputs a translated term. */
81
81
  term(t, ...o) {
@@ -85,11 +85,11 @@ let C = class {
85
85
  r = a[t];
86
86
  else if (i && i[t])
87
87
  r = i[t];
88
- else if (n && n[t])
89
- r = n[t];
88
+ else if (s && s[t])
89
+ r = s[t];
90
90
  else
91
91
  return String(t);
92
- return typeof r == "function" ? v.sanitize(r(...o)) : r;
92
+ return typeof r == "function" ? b.sanitize(r(...o)) : r;
93
93
  }
94
94
  languageName(t) {
95
95
  return String(h.get(t) ?? "");
@@ -343,7 +343,13 @@ const w = {
343
343
  dashSpacing: "Dash spacing",
344
344
  dashWidth: "Dash width",
345
345
  dashed: "Dashed",
346
+ date: "Date",
347
+ dateAfterMax: "Date is after maximum date",
348
+ dateBeforeMin: "Date is before minimum date",
346
349
  dateFormat: "Date Format",
350
+ dateInvalid: "Invalid date",
351
+ dateRangeRequired: "Both dates are required",
352
+ dateRequired: "Date is required",
347
353
  decreaseFontSize: "Decrease font size",
348
354
  default: "Default",
349
355
  defaultDownloadLocation: "Default download location",
@@ -480,6 +486,7 @@ const w = {
480
486
  folderCollection: "Folder/Collection",
481
487
  folders: "Folders",
482
488
  font: "Font",
489
+ fontAwesome: "Font Awesome",
483
490
  fontColor: "Font color",
484
491
  fontKit: "Font kit",
485
492
  fontKitPreview: "Font kit preview",
@@ -490,8 +497,10 @@ const w = {
490
497
  fontWeight: "Font weight",
491
498
  fonts: "Fonts",
492
499
  format: "Format",
500
+ formatDDMMYYYY: "DD-MM-YYYY",
493
501
  formats: "Formats",
494
502
  forward: "Forward",
503
+ fromLabel: "From",
495
504
  fullscreen: "Fullscreen",
496
505
  gallery: "Gallery",
497
506
  galleryCardNthOfCards: (e, t) => `Gallery card ${e + 1} of ${t}`,
@@ -522,6 +531,7 @@ const w = {
522
531
  history: "History",
523
532
  hollowBullet: "Hollow bullet",
524
533
  horizontalGap: "Horizontal gap",
534
+ hour: "Hour",
525
535
  hugContent: "Hug content",
526
536
  hugContentOnDesktopAndStretchesToFullWidthOnMobile: "Hug content on desktop and stretches to full width on mobile",
527
537
  icon: "Icon",
@@ -624,6 +634,7 @@ const w = {
624
634
  minHeight: "Min height",
625
635
  minWidth: "Min width",
626
636
  minimize: "Minimize",
637
+ minute: "Minute",
627
638
  more: "More",
628
639
  moreOptions: "More options",
629
640
  moveBlockDown: "Move block down",
@@ -672,6 +683,7 @@ const w = {
672
683
  numOptionsSelected: (e) => e === 0 ? "No options selected" : e === 1 ? "1 option selected" : `${e} options selected`,
673
684
  numberedListStyle: "Numbered list style",
674
685
  of: "of",
686
+ off: "Off",
675
687
  ok: "Ok",
676
688
  onHover: "On hover",
677
689
  onThisPage: "On this page",
@@ -735,6 +747,24 @@ const w = {
735
747
  popOut: "Pop-out",
736
748
  position: "Position",
737
749
  preserveMetadata: "Preserve metadata",
750
+ preset: "Preset",
751
+ presetLast2Days: "Last 2 days",
752
+ presetLast30Days: "Last 30 days",
753
+ presetLast30Minutes: "Last 30 minutes",
754
+ presetLast3Days: "Last 3 days",
755
+ presetLastDay: "Last day",
756
+ presetLastHalfYear: "Last half year",
757
+ presetLastMonth: "Last month",
758
+ presetLastQuarter: "Last quarter",
759
+ presetLastWeek: "Last week",
760
+ presetLastYear: "Last year",
761
+ presetNext30Days: "Next 30 days",
762
+ presetThisHalfYear: "This half year",
763
+ presetThisMonth: "This month",
764
+ presetThisQuarter: "This quarter",
765
+ presetThisWeek: "This week",
766
+ presetThisYear: "This year",
767
+ presetToday: "Today Only",
738
768
  pressEnterOrCtrlCToCopy: "Press Enter or Ctrl+C to copy",
739
769
  preview: "Preview",
740
770
  previewText: "Preview text",
@@ -808,6 +838,7 @@ const w = {
808
838
  searchFolders: "Search folders",
809
839
  searchOptions: "Search options",
810
840
  searching: "Searching...",
841
+ second: "Second",
811
842
  secondary: "Secondary",
812
843
  sectionBackground: "Section background",
813
844
  seeThru: "See-thru",
@@ -920,6 +951,8 @@ const w = {
920
951
  timeline: "Timeline",
921
952
  title: "Title",
922
953
  titleImage: "Title image",
954
+ toDateMustBeSameOrLaterThanFromDate: "To date and time must be the same as or later than From date and time",
955
+ toLabel: "To",
923
956
  toViewAssetRetrieveFromColdStorage: "To view this asset, please retrieve it from cold storage",
924
957
  today: "Today",
925
958
  toggleColorFormat: "Toggle color format",
@@ -1,14 +1,14 @@
1
1
  import { n as r, C as g } from "./lib-cortex-element.CVMmyPMC.js";
2
2
  import { c as p } from "./component.styles.CRO4Odto.js";
3
3
  import { c as h } from "./custom-element.L4WJXn1j.js";
4
- import { L as m } from "./i18n.D6AYDPK-.js";
4
+ import { L as m } from "./i18n.BcD4Ohsq.js";
5
5
  import { r as f } from "./state.CSDxrqLd.js";
6
6
  import { e as v } from "./query.BBf1UFkC.js";
7
7
  import { e as y } from "./class-map.BiVq-cVR.js";
8
8
  import { o as c } from "./if-defined.BRoBj_Rp.js";
9
9
  import { n as k } from "./when.Dr1es41R.js";
10
10
  import { i as d, u as s } from "./static.UA3G1Deq.js";
11
- import _ from "../components/icon.js";
11
+ import { C as _ } from "./icon.DnBh6-56.js";
12
12
  import w from "../components/spinner.js";
13
13
  import { i as z } from "./lit-element.jLBm65_O.js";
14
14
  var x = /* @__PURE__ */ ((o) => (o.Large = "large", o.Medium = "medium", o.Small = "small", o.XLarge = "x-large", o))(x || {});