@orangelogic/design-system 2.57.0 → 2.58.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 (132) hide show
  1. package/library/chunks/{button.2-Io1Wm4.js → button.kTTrlOjj.js} +2 -2
  2. package/library/chunks/{color-swatch-group.VXPK-2tU.js → color-swatch-group.ClKQ2WzZ.js} +4 -4
  3. package/library/chunks/{color-swatch.8OhqVqb6.js → color-swatch.BdV7Nsvx.js} +2 -2
  4. package/library/chunks/{confirm-popover.DGvyB12c.js → confirm-popover.CMeOJWvb.js} +3 -3
  5. package/library/chunks/{dialog.CIeu0rVD.js → dialog.B_63yVcD.js} +2 -2
  6. package/library/chunks/{dom.CaZCTJCL.js → dom.Dc-BF08t.js} +28 -22
  7. package/library/chunks/{dot-pagination.CyCA3kSP.js → dot-pagination.C8zQgnjD.js} +1 -1
  8. package/library/chunks/{file-on-demand.aux9gsvH.js → file-on-demand.CAxlBbwj.js} +10 -10
  9. package/library/chunks/{folder-select.B7u40ijN.js → folder-select.DMyWzPjA.js} +5 -5
  10. package/library/chunks/{form.DycFDdkp.js → form.D1R9s3Mf.js} +1 -1
  11. package/library/chunks/{format-time.C56HetWv.js → format-time.CxG-siAa.js} +1 -1
  12. package/library/chunks/{header.RvymymCe.js → header.NqYF4Nlq.js} +1 -1
  13. package/library/chunks/{i18n.dCiJrmqj.js → i18n.DwnDne7p.js} +10 -8
  14. package/library/chunks/{iframe.Cwqniwf2.js → iframe.qomerN2u.js} +1 -1
  15. package/library/chunks/{image.gpleN29o.js → image.2h_mxSth.js} +3 -3
  16. package/library/chunks/{list-editor.BToq5cqp.js → list-editor.Cofa7Vyh.js} +7 -7
  17. package/library/chunks/{option.CJ1p2V0m.js → option.B4tI5rHw.js} +1 -1
  18. package/library/chunks/pagination.Bp5dTjrN.js +339 -0
  19. package/library/chunks/{popup.BE5MfEQJ.js → popup.CQSGj4zE.js} +1 -1
  20. package/library/chunks/{select.xBh4yerC.js → select.D_Ee1gDW.js} +5 -6
  21. package/library/chunks/{string.DPf4puTr.js → string.BF2AikHa.js} +13 -9
  22. package/library/chunks/{tab-group.CjvHb3OJ.js → tab-group.CT6rt4_n.js} +3 -3
  23. package/library/chunks/{table.CrX_NJiY.js → table.keGRLyqZ.js} +3165 -2612
  24. package/library/chunks/{timecode.XXmVg6tU.js → timecode.DE8W5tFV.js} +1 -1
  25. package/library/chunks/{tree.CDaFhGjU.js → tree.CBc6xKk4.js} +1 -1
  26. package/library/components/alert.js +1 -1
  27. package/library/components/asset-link-format.js +4 -4
  28. package/library/components/atoms.js +15 -15
  29. package/library/components/border-input-group.js +1 -1
  30. package/library/components/breadcrumb.js +1 -1
  31. package/library/components/button.js +3 -3
  32. package/library/components/checkbox.js +1 -1
  33. package/library/components/color-picker.js +4 -4
  34. package/library/components/color-swatch-group.js +5 -5
  35. package/library/components/color-swatch.js +3 -3
  36. package/library/components/confirm-popover.js +4 -4
  37. package/library/components/copy-button.js +1 -1
  38. package/library/components/corner-position-input-group.js +3 -3
  39. package/library/components/details.js +1 -1
  40. package/library/components/dialog.js +3 -3
  41. package/library/components/dot-pagination.js +2 -2
  42. package/library/components/drawer.js +1 -1
  43. package/library/components/dropdown.js +2 -2
  44. package/library/components/dynamic-select.js +5 -5
  45. package/library/components/element-clamp.js +2 -2
  46. package/library/components/file-on-demand.js +11 -11
  47. package/library/components/folder-select.js +4 -4
  48. package/library/components/format-bytes.js +1 -1
  49. package/library/components/format-date.js +1 -1
  50. package/library/components/format-number.js +1 -1
  51. package/library/components/format-time.js +2 -2
  52. package/library/components/header.js +2 -2
  53. package/library/components/icon-button.js +1 -1
  54. package/library/components/iframe.js +2 -2
  55. package/library/components/image-comparer.js +1 -1
  56. package/library/components/image.js +3 -3
  57. package/library/components/input.js +2 -2
  58. package/library/components/line-clamp.js +2 -2
  59. package/library/components/list-editor.js +6 -6
  60. package/library/components/masonry.js +1 -1
  61. package/library/components/menu-item.js +2 -2
  62. package/library/components/menu.js +1 -1
  63. package/library/components/molecules.js +4 -4
  64. package/library/components/option.js +2 -2
  65. package/library/components/organisms.js +2 -2
  66. package/library/components/pagination.js +16 -336
  67. package/library/components/popup.js +2 -2
  68. package/library/components/position-picker.js +1 -1
  69. package/library/components/progress-bar.js +1 -1
  70. package/library/components/progress-ring.js +1 -1
  71. package/library/components/radio-group.js +1 -1
  72. package/library/components/range.js +3 -3
  73. package/library/components/rating.js +1 -1
  74. package/library/components/relative-time.js +1 -1
  75. package/library/components/select.js +5 -5
  76. package/library/components/share-option-list.js +2 -2
  77. package/library/components/size-input-group.js +2 -2
  78. package/library/components/spinner.js +1 -1
  79. package/library/components/split-panel.js +1 -1
  80. package/library/components/switch.js +1 -1
  81. package/library/components/tab-group.js +4 -4
  82. package/library/components/tab.js +1 -1
  83. package/library/components/table.js +65 -57
  84. package/library/components/tag.js +1 -1
  85. package/library/components/textarea.js +51 -51
  86. package/library/components/timecode.js +2 -2
  87. package/library/components/tooltip.js +2 -2
  88. package/library/components/tree-item.js +2 -2
  89. package/library/components/tree.js +2 -2
  90. package/library/components/typeface.js +1 -1
  91. package/library/components/types.js +30 -30
  92. package/library/components/video.js +2 -2
  93. package/library/css/ol-base.css +4 -4
  94. package/library/package.json +1 -1
  95. package/library/packages/atoms/src/components/space/space.d.ts +1 -2
  96. package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions-dropdown.d.ts +2 -1
  97. package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions.d.ts +4 -4
  98. package/library/packages/atoms/src/components/table/components/table-toolbar/table-dropdown-filter.d.ts +36 -0
  99. package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +10 -1
  100. package/library/packages/atoms/src/components/table/filter-controller.d.ts +84 -0
  101. package/library/packages/atoms/src/components/table/modules/HoverMenu.d.ts +9 -1
  102. package/library/packages/atoms/src/components/table/table.d.ts +41 -4
  103. package/library/packages/atoms/src/components/table/tabulator-tables/core/ColumnManager.d.ts +1 -0
  104. package/library/packages/atoms/src/components/table/tabulator-tables/core/RowManager.d.ts +3 -0
  105. package/library/packages/atoms/src/components/table/tabulator-tables/core/TabulatorFull.d.ts +1 -0
  106. package/library/packages/atoms/src/components/table/tabulator-tables/core/cell/Cell.d.ts +1 -0
  107. package/library/packages/atoms/src/components/table/tabulator-tables/core/cell/CellComponent.d.ts +1 -1
  108. package/library/packages/atoms/src/components/table/tabulator-tables/index.d.ts +1 -0
  109. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +49 -58
  110. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/list.d.ts +3 -2
  111. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/Filter.d.ts +15 -8
  112. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/Format.d.ts +1 -3
  113. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/composite.d.ts +5 -0
  114. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/icon.d.ts +13 -0
  115. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/image.d.ts +4 -1
  116. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/number.d.ts +13 -0
  117. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/plaintext.d.ts +6 -1
  118. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/textarea.d.ts +4 -1
  119. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/time.d.ts +9 -0
  120. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/traffic.d.ts +3 -7
  121. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/typography.d.ts +13 -0
  122. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters.d.ts +10 -0
  123. package/library/packages/events/src/cx-table-dropdown-filter-change.d.ts +13 -0
  124. package/library/packages/events/src/cx-table-row-action-click.d.ts +2 -1
  125. package/library/packages/events/src/events.d.ts +1 -0
  126. package/library/packages/types/src/table.d.ts +195 -22
  127. package/library/packages/utils/src/custom-element/i18n.d.ts +2 -0
  128. package/library/packages/utils/src/dom/dom.d.ts +2 -1
  129. package/library/packages/utils/src/string/string.d.ts +1 -0
  130. package/library/react-web-component.d.ts +18 -6
  131. package/package.json +1 -1
  132. package/library/chunks/pagination.y5oqoPVr.js +0 -4
@@ -0,0 +1,339 @@
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.DwnDne7p.js";
3
+ import { c } from "./math.DqTA6ya4.js";
4
+ import { w as d } from "./watch.BCJD77bD.js";
5
+ import { r as m } from "./state.Cw55xXlb.js";
6
+ import { e as f } from "./class-map.CoZTSvbM.js";
7
+ import { c as x } from "./repeat.CauKaXyy.js";
8
+ import { n as h } from "./when.Dr1es41R.js";
9
+ import { C as z } from "./button.kTTrlOjj.js";
10
+ import v from "../components/icon-button.js";
11
+ import { C as $ } from "./option.B4tI5rHw.js";
12
+ import { C as S } from "./select.D_Ee1gDW.js";
13
+ import w from "../components/tooltip.js";
14
+ import { C as I } from "./typography.BFpl0WMA.js";
15
+ import { c as P } from "./component.styles.CI-v8BZa.js";
16
+ var l = /* @__PURE__ */ ((t) => (t.Both = "both", t.Pages = "pages", t.Rows = "rows", t))(l || {});
17
+ const B = _`
18
+ ${P}
19
+
20
+ :host {
21
+ --width: 100px;
22
+ display: block;
23
+ width: fit-content;
24
+ }
25
+
26
+ cx-typography::part(base) {
27
+ margin-block: 0;
28
+ }
29
+
30
+ .pagination {
31
+ display: flex;
32
+ align-items: center;
33
+ gap: var(--cx-spacing-small);
34
+ font-size: var(--cx-font-size-small);
35
+ }
36
+
37
+ .pagination .pagination__label__container {
38
+ display: inline-flex;
39
+ gap: var(--cx-spacing-small);
40
+ align-items: center;
41
+ }
42
+
43
+ .pagination .pagination__select::part(combobox) {
44
+ width: var(--width);
45
+ }
46
+
47
+ .pagination .pagination__navigation-buttons {
48
+ display: flex;
49
+ align-items: center;
50
+ gap: 0;
51
+ }
52
+
53
+ .pagination .pagination_count,
54
+ .pagination .pagination__pages {
55
+ font-variant-numeric: tabular-nums;
56
+ }
57
+
58
+ .pagination__page--active::part(base) {
59
+ color: var(--cx-color-primary);
60
+ }
61
+ `;
62
+ var O = Object.defineProperty, F = Object.getOwnPropertyDescriptor, i = (t, a, o, r) => {
63
+ for (var n = r > 1 ? void 0 : r ? F(a, o) : a, g = t.length - 1, u; g >= 0; g--)
64
+ (u = t[g]) && (n = (r ? u(a, o, n) : u(n)) || n);
65
+ return r && n && O(a, o, n), n;
66
+ };
67
+ let e = class extends b {
68
+ constructor() {
69
+ super(...arguments), this.localize = new y(this), this.count = 0, this.pageSizeOptions = [10, 20, 50, 100], this.pageSize = this.pageSizeOptions[0], this.label = this.localize.term("rowsPerPage"), this.showFirst = !1, this.showLast = !1, this.showPaginationButtons = !1, this.paginationButtonCount = 5, this.paginationCounter = l.Rows, this._pageIndex = 1, this._pageCount = Math.max(1, Math.ceil(this.count / this.pageSize));
70
+ }
71
+ get pageIndex() {
72
+ return this._pageIndex;
73
+ }
74
+ set pageIndex(t) {
75
+ this._pageIndex = c(t, 1, this._pageCount);
76
+ }
77
+ get pageStart() {
78
+ return c((this._pageIndex - 1) * this.pageSize + 1, 0, this.count);
79
+ }
80
+ get pageEnd() {
81
+ return c(this._pageIndex * this.pageSize, 0, this.count);
82
+ }
83
+ get prevDisabled() {
84
+ return this._pageIndex <= 1;
85
+ }
86
+ get nextDisabled() {
87
+ return this._pageIndex >= this._pageCount;
88
+ }
89
+ updatePageCount() {
90
+ const t = Number.isFinite(this.pageSize) && this.pageSize > 0 ? this.pageSize : 1;
91
+ this._pageCount = Math.max(1, Math.ceil(this.count / t)), this.pageIndex = c(this.pageIndex, 1, this._pageCount);
92
+ }
93
+ handlePageSizeSelectChange(t) {
94
+ const a = t.target;
95
+ a && (this.pageSize = Number(a.value), this.pageIndex = 1);
96
+ }
97
+ handleFirst() {
98
+ this._pageIndex = 1;
99
+ }
100
+ handleBack() {
101
+ this._pageIndex -= 1, this._pageIndex < 1 && this.handleFirst();
102
+ }
103
+ handleForward() {
104
+ this._pageIndex += 1, this._pageIndex > this._pageCount && this.handleLast();
105
+ }
106
+ handleLast() {
107
+ this._pageIndex = this._pageCount;
108
+ }
109
+ async handleCountChange() {
110
+ this.updatePageCount();
111
+ }
112
+ handlePageChange() {
113
+ this.emit("cx-page-change", {
114
+ detail: {
115
+ pageIndex: this._pageIndex
116
+ }
117
+ });
118
+ }
119
+ handlePageSizeChange() {
120
+ this.updatePageCount(), this.emit("cx-page-size-change", {
121
+ detail: {
122
+ pageSize: this.pageSize
123
+ }
124
+ });
125
+ }
126
+ handlePageClick(t) {
127
+ const a = t.target;
128
+ a && (this.pageIndex = Number(a.dataset.page));
129
+ }
130
+ renderPageButton(t) {
131
+ return s`
132
+ <cx-button
133
+ data-page=${t}
134
+ variant="text"
135
+ size="small"
136
+ class=${f({
137
+ pagination__page: !0,
138
+ "pagination__page--active": t === this.pageIndex
139
+ })}
140
+ >
141
+ ${t}
142
+ </cx-button>
143
+ `;
144
+ }
145
+ renderPageButtons() {
146
+ const t = Math.floor((this.paginationButtonCount - 1) / 2), a = Math.ceil((this.paginationButtonCount - 1) / 2), o = Math.max(
147
+ 1,
148
+ this._pageCount - this.pageIndex + t + 1 < this.paginationButtonCount ? this._pageCount - this.paginationButtonCount + 1 : this.pageIndex - t
149
+ ), r = Math.min(
150
+ this._pageCount,
151
+ this.pageIndex <= a ? this.paginationButtonCount : this.pageIndex + a
152
+ );
153
+ return s`
154
+ <div class="pagination__pages" @click=${this.handlePageClick}>
155
+ ${x(
156
+ Array.from({ length: r - o + 1 }, (n, g) => g + o),
157
+ (n) => n,
158
+ (n) => this.renderPageButton(n)
159
+ )}
160
+ </div>
161
+ `;
162
+ }
163
+ renderPageCount() {
164
+ return s`<cx-typography variant="body3" class="pagination_count"
165
+ >${this.localize.term(
166
+ "itemOfTotal",
167
+ this.pageIndex,
168
+ this._pageCount
169
+ )}</cx-typography
170
+ >`;
171
+ }
172
+ renderRowCount() {
173
+ return s`<cx-typography variant="body3" class="pagination_count"
174
+ >${this.localize.term(
175
+ "itemRangeOfTotal",
176
+ this.pageStart,
177
+ this.pageEnd,
178
+ this.count
179
+ )}</cx-typography
180
+ >`;
181
+ }
182
+ render() {
183
+ return s`
184
+ <div class="pagination">
185
+ ${h(
186
+ this.pageSizeOptions.length > 1,
187
+ () => s`
188
+ <label class="pagination__label__container">
189
+ <cx-typography variant="body3" class="pagination__label">
190
+ ${this.label}
191
+ </cx-typography>
192
+ <cx-select
193
+ class="pagination__select"
194
+ size="small"
195
+ hoist
196
+ value=${this.pageSize.toString()}
197
+ @cx-change=${this.handlePageSizeSelectChange}
198
+ >
199
+ ${x(
200
+ this.pageSizeOptions,
201
+ (t) => t,
202
+ (t) => s`
203
+ <cx-option value=${t}>${t}</cx-option>
204
+ `
205
+ )}
206
+ </cx-select>
207
+ </label>
208
+ `
209
+ )}
210
+ ${h(
211
+ this.paginationCounter === l.Both || this.paginationCounter === l.Rows,
212
+ () => this.renderRowCount(),
213
+ () => this.renderPageCount()
214
+ )}
215
+ <div class="pagination__navigation-buttons">
216
+ ${h(
217
+ this.showFirst,
218
+ () => s`
219
+ <cx-tooltip hoist content=${this.localize.term("first")}>
220
+ <cx-icon-button
221
+ class="pagination__first"
222
+ label=${this.localize.term("first")}
223
+ name="first_page"
224
+ ?disabled=${this.prevDisabled}
225
+ @click=${this.handleFirst}
226
+ ></cx-icon-button>
227
+ </cx-tooltip>
228
+ `
229
+ )}
230
+ <cx-tooltip hoist content=${this.localize.term("previous")}>
231
+ <cx-icon-button
232
+ class="pagination__back"
233
+ label=${this.localize.term("previous")}
234
+ name="chevron_left"
235
+ ?disabled=${this.prevDisabled}
236
+ @click=${this.handleBack}
237
+ ></cx-icon-button>
238
+ </cx-tooltip>
239
+ ${h(
240
+ this.paginationCounter === l.Both,
241
+ () => this.renderPageCount()
242
+ )}
243
+ ${h(this.showPaginationButtons, () => this.renderPageButtons())}
244
+ <cx-tooltip hoist content=${this.localize.term("next")}>
245
+ <cx-icon-button
246
+ class="pagination__forward"
247
+ label=${this.localize.term("next")}
248
+ name="chevron_right"
249
+ ?disabled=${this.nextDisabled}
250
+ @click=${this.handleForward}
251
+ ></cx-icon-button>
252
+ </cx-tooltip>
253
+ ${h(
254
+ this.showLast,
255
+ () => s`
256
+ <cx-tooltip hoist content=${this.localize.term("last")}>
257
+ <cx-icon-button
258
+ class="pagination__last"
259
+ label=${this.localize.term("last")}
260
+ name="last_page"
261
+ ?disabled=${this.nextDisabled}
262
+ @click=${this.handleLast}
263
+ ></cx-icon-button>
264
+ </cx-tooltip>
265
+ `
266
+ )}
267
+ </div>
268
+ </div>
269
+ `;
270
+ }
271
+ };
272
+ e.styles = B;
273
+ e.dependencies = {
274
+ "cx-button": z,
275
+ "cx-icon-button": v,
276
+ "cx-option": $,
277
+ "cx-select": S,
278
+ "cx-tooltip": w,
279
+ "cx-typography": I
280
+ };
281
+ i([
282
+ p({ type: Number })
283
+ ], e.prototype, "count", 2);
284
+ i([
285
+ p({
286
+ attribute: "page-size-options",
287
+ converter: {
288
+ fromAttribute: (t) => {
289
+ const a = (t ?? "").trim().split(/\s+/).map((o) => Number.parseInt(o, 10)).filter((o) => Number.isFinite(o) && o > 0);
290
+ return a.length ? a : [];
291
+ },
292
+ toAttribute: (t) => t.join(" ")
293
+ },
294
+ type: String
295
+ })
296
+ ], e.prototype, "pageSizeOptions", 2);
297
+ i([
298
+ p({ attribute: "page-size", type: Number })
299
+ ], e.prototype, "pageSize", 2);
300
+ i([
301
+ p({ type: String })
302
+ ], e.prototype, "label", 2);
303
+ i([
304
+ p({ attribute: "show-first", type: Boolean })
305
+ ], e.prototype, "showFirst", 2);
306
+ i([
307
+ p({ attribute: "show-last", type: Boolean })
308
+ ], e.prototype, "showLast", 2);
309
+ i([
310
+ p({ attribute: "show-pagination-buttons", type: Boolean })
311
+ ], e.prototype, "showPaginationButtons", 2);
312
+ i([
313
+ p({ attribute: "pagination-button-count", type: Number })
314
+ ], e.prototype, "paginationButtonCount", 2);
315
+ i([
316
+ p({ attribute: "pagination-counter", type: String })
317
+ ], e.prototype, "paginationCounter", 2);
318
+ i([
319
+ m()
320
+ ], e.prototype, "_pageIndex", 2);
321
+ i([
322
+ m()
323
+ ], e.prototype, "_pageCount", 2);
324
+ i([
325
+ d("count")
326
+ ], e.prototype, "handleCountChange", 1);
327
+ i([
328
+ d(["_pageIndex"])
329
+ ], e.prototype, "handlePageChange", 1);
330
+ i([
331
+ d(["pageSize"])
332
+ ], e.prototype, "handlePageSizeChange", 1);
333
+ e = i([
334
+ C("cx-pagination")
335
+ ], e);
336
+ export {
337
+ e as C,
338
+ l as P
339
+ };
@@ -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.dCiJrmqj.js";
9
+ import { L as Ve } from "./i18n.DwnDne7p.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.DycFDdkp.js";
10
- import { L as T } from "./i18n.dCiJrmqj.js";
9
+ import { F as E } from "./form.D1R9s3Mf.js";
10
+ import { L as T } from "./i18n.DwnDne7p.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.CJ1p2V0m.js";
21
- import { C as P } from "./popup.BE5MfEQJ.js";
20
+ import { C as d } from "./option.B4tI5rHw.js";
21
+ import { C as P } from "./popup.CQSGj4zE.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`
@@ -454,7 +454,6 @@ const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.in
454
454
  flex-direction: column;
455
455
  flex: 1;
456
456
  width: 0;
457
- height: 100%;
458
457
  }
459
458
 
460
459
  .input-container__display-value {
@@ -1106,7 +1105,7 @@ let i = class extends k {
1106
1105
  part="display-input"
1107
1106
  class=${b({
1108
1107
  "select__display-input": !0,
1109
- "select__display-input--hidden": (this.multiple || this.useTag) && !this.hasFocus,
1108
+ "select__display-input--hidden": (this.multiple || this.useTag) && !this.hasFocus && !c,
1110
1109
  "select__display-input--large": this.size === "large",
1111
1110
  "select__display-input--medium": this.size === "medium",
1112
1111
  "select__display-input--small": this.size === "small"
@@ -1,13 +1,13 @@
1
1
  import { p } from "./purify.es.BGaRrCfO.js";
2
2
  var m = /* @__PURE__ */ ((t) => (t.Asset = "asset", t.Folder = "folder", t.Link = "link", t.Page = "page", t.Space = "space", t))(m || {}), S = /* @__PURE__ */ ((t) => (t.Default = "default", t.Overlay = "overlay", t))(S || {}), h = /* @__PURE__ */ ((t) => (t.Always = "always", t.OnHover = "on-hover", t))(h || {}), g = /* @__PURE__ */ ((t) => (t.Track = "track", t.Transition = "transition", t))(g || {}), u = /* @__PURE__ */ ((t) => (t.Frames = "Frames", t.SMPTE = "SMPTE", t.Standard = "Standard", t))(u || {});
3
3
  const P = 50;
4
- function v(t) {
4
+ function w(t) {
5
5
  if (typeof t != "string")
6
6
  return null;
7
7
  const n = t.trim(), r = n.charAt(0).toUpperCase(), e = n.slice(1);
8
8
  return `${r}${e}`;
9
9
  }
10
- const w = (t, n, r, e) => t && t.length > n ? t.substring(0, r) + " ... " + t.substring(t.length - e, t.length) : t, I = (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() : "";
10
+ const I = (t, n, r, e) => t && t.length > n ? t.substring(0, r) + " ... " + t.substring(t.length - e, t.length) : t, v = (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
11
  function x(t, n = {}) {
12
12
  const {
13
13
  frameRate: r = 24,
@@ -115,6 +115,9 @@ function H(t) {
115
115
  });
116
116
  }
117
117
  function O(t) {
118
+ return t == null || t === "" ? " " : String(t);
119
+ }
120
+ function Z(t) {
118
121
  return typeof t != "string" ? !1 : Object.values(m).includes(t);
119
122
  }
120
123
  export {
@@ -122,15 +125,16 @@ export {
122
125
  S as G,
123
126
  g as M,
124
127
  u as T,
125
- h as a,
126
- m as b,
127
- I as c,
128
- k as d,
128
+ O as a,
129
+ h as b,
130
+ m as c,
131
+ v as d,
129
132
  L as e,
130
133
  x as f,
131
- O as i,
134
+ k as g,
135
+ Z as i,
132
136
  z as p,
133
137
  H as s,
134
- w as t,
135
- v as u
138
+ I as t,
139
+ w as u
136
140
  };
@@ -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.dCiJrmqj.js";
4
+ import { L as Bn } from "./i18n.DwnDne7p.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.CaZCTJCL.js";
7
+ import { i as Wn } from "./dom.Dc-BF08t.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.2-Io1Wm4.js";
18
+ import { C as Yn } from "./button.kTTrlOjj.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";