@owp/core 2.5.17 → 2.5.18

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 (56) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index12.js +2 -2
  3. package/dist/_virtual/index13.js +2 -2
  4. package/dist/_virtual/index14.js +2 -2
  5. package/dist/_virtual/index15.js +2 -2
  6. package/dist/_virtual/index5.js +2 -2
  7. package/dist/components/OwpPicker/OwpTimePicker.js +149 -133
  8. package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
  9. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +273 -224
  10. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  11. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +442 -108
  12. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
  13. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +276 -195
  14. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  15. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +201 -117
  16. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  17. package/dist/constants/gridTheme.js +7 -6
  18. package/dist/constants/gridTheme.js.map +1 -1
  19. package/dist/constants/treeGrid.js +27 -26
  20. package/dist/constants/treeGrid.js.map +1 -1
  21. package/dist/constants.js +23 -22
  22. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  23. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  24. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  25. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/constants.js +1 -1
  26. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  27. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  28. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  29. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  30. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  31. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  32. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  33. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  34. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  35. package/dist/owp-app.css +1 -1
  36. package/dist/types/components/OwpPicker/OwpTimePicker.d.ts +3 -1
  37. package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +6 -6
  38. package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.d.ts +3 -0
  39. package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +33 -7
  40. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +1 -1
  41. package/dist/types/constants/gridTheme.d.ts +2 -0
  42. package/dist/types/constants/treeGrid.d.ts +2 -1
  43. package/dist/types/types/OwpGridThemeTypes.d.ts +1 -0
  44. package/dist/types/utils/index.d.ts +0 -1
  45. package/dist/types/utils/treeGridUtil.d.ts +27 -0
  46. package/dist/utils/treeGridUtil.js +163 -108
  47. package/dist/utils/treeGridUtil.js.map +1 -1
  48. package/dist/utils.js +85 -83
  49. package/dist/utils.js.map +1 -1
  50. package/package.json +1 -1
  51. package/dist/components/OwpTreeGrid/internal/treeGridColumnEditRules.js +0 -84
  52. package/dist/components/OwpTreeGrid/internal/treeGridColumnEditRules.js.map +0 -1
  53. package/dist/types/components/OwpTreeGrid/internal/treeGridColumnEditRules.d.ts +0 -60
  54. package/dist/types/utils/normalizeTimeToHourMinute.d.ts +0 -11
  55. package/dist/utils/normalizeTimeToHourMinute.js +0 -34
  56. package/dist/utils/normalizeTimeToHourMinute.js.map +0 -1
@@ -1,7 +1,7 @@
1
- var g = Object.defineProperty;
2
- var t = (e, r) => g(e, "name", { value: r, configurable: !0 });
3
- import { TREEGRID_FONT_FAMILY_STACK as v } from "../../../constants/treeGrid.js";
4
- const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
1
+ var H = Object.defineProperty;
2
+ var t = (e, r) => H(e, "name", { value: r, configurable: !0 });
3
+ import { TREEGRID_FONT_FAMILY_STACK as f, TREEGRID_CELL_CHANGED_CLASS as d } from "../../../constants/treeGrid.js";
4
+ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
5
5
  "TS",
6
6
  "TW",
7
7
  "TB",
@@ -18,7 +18,7 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
18
18
  "CR",
19
19
  "CP",
20
20
  "CC"
21
- ], f = "#CDD8E4", F = "1px", H = [
21
+ ], k = "#CDD8E4", F = "1px", $ = [
22
22
  {
23
23
  cssVariableName: "--owp-tree-grid-body-background-color",
24
24
  getValue: /* @__PURE__ */ t((e) => {
@@ -144,8 +144,15 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
144
144
  var r;
145
145
  return (r = e == null ? void 0 : e.changed) == null ? void 0 : r.backgroundColor;
146
146
  }, "getValue")
147
+ },
148
+ {
149
+ cssVariableName: "--owp-tree-grid-changed-text-color",
150
+ getValue: /* @__PURE__ */ t((e) => {
151
+ var r;
152
+ return (r = e == null ? void 0 : e.changed) == null ? void 0 : r.color;
153
+ }, "getValue")
147
154
  }
148
- ], E = [
155
+ ], B = [
149
156
  {
150
157
  cssVariableName: "--owp-tree-grid-header-background-color",
151
158
  getValue: /* @__PURE__ */ t((e) => e.header.backgroundColor, "getValue")
@@ -156,7 +163,7 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
156
163
  },
157
164
  {
158
165
  cssVariableName: "--owp-tree-grid-header-font-size",
159
- getValue: /* @__PURE__ */ t((e) => S(e.header.fontSize), "getValue")
166
+ getValue: /* @__PURE__ */ t((e) => g(e.header.fontSize), "getValue")
160
167
  },
161
168
  {
162
169
  cssVariableName: "--owp-tree-grid-header-font-weight",
@@ -164,47 +171,47 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
164
171
  },
165
172
  {
166
173
  cssVariableName: "--owp-tree-grid-cell-font-size",
167
- getValue: /* @__PURE__ */ t((e) => S(e.cell.fontSize), "getValue")
174
+ getValue: /* @__PURE__ */ t((e) => g(e.cell.fontSize), "getValue")
168
175
  }
169
176
  ], a = /* @__PURE__ */ t((e, r) => ({
170
177
  backgroundColor: `var(${e}, ${r}) !important`
171
- }), "createTreeGridBackgroundColorStyle"), p = /* @__PURE__ */ t((e) => ({
178
+ }), "createTreeGridBackgroundColorStyle"), C = /* @__PURE__ */ t((e) => ({
172
179
  backgroundColor: `var(${e}) !important`
173
180
  }), "createTreeGridOptionalBackgroundColorStyle"), o = /* @__PURE__ */ t(({
174
181
  rowSuffix: e,
175
182
  suffixes: r,
176
- descendant: c = "",
183
+ descendant: s = "",
177
184
  withChildren: i = !1
178
- }) => s.flatMap((u) => r.flatMap((n) => {
179
- const C = `.${l}`, b = e ? ` .${u}${e}` : "", d = `${C}${b} .${u}${n}${c}`;
180
- return i ? [d, `${d} *`] : [d];
181
- })).join(", "), "createTreeGridSelectors"), B = /* @__PURE__ */ t(({
185
+ }) => c.flatMap((u) => r.flatMap((p) => {
186
+ const b = `.${l}`, S = e ? ` .${u}${e}` : "", n = `${b}${S} .${u}${p}${s}`;
187
+ return i ? [n, `${n} *`] : [n];
188
+ })).join(", "), "createTreeGridSelectors"), G = /* @__PURE__ */ t(({
182
189
  ancestorSuffixes: e,
183
190
  suffixes: r,
184
- descendant: c = ""
185
- }) => s.flatMap((i) => e.flatMap((u) => r.map((n) => `.${l} .${i}${u} .${i}${n}${c}`))).join(", "), "createTreeGridNestedSelectors"), V = o({
191
+ descendant: s = ""
192
+ }) => c.flatMap((i) => e.flatMap((u) => r.map((p) => `.${l} .${i}${u} .${i}${p}${s}`))).join(", "), "createTreeGridNestedSelectors"), m = o({
186
193
  suffixes: ["Main"],
187
194
  withChildren: !0
188
- }), k = o({
195
+ }), D = o({
189
196
  suffixes: ["Main"]
190
- }), G = o({
197
+ }), x = o({
191
198
  suffixes: ["ClassReadOnly"],
192
199
  withChildren: !0
193
- }), D = o({
200
+ }), M = o({
194
201
  suffixes: ["MainTable"]
195
- }), R = `.${l}.${w}`, $ = s.map((e) => `.${l}.${w} .${e}MainTable`).join(", "), x = `${R}::before`, M = s.map((e) => `.${l}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), y = s.map((e) => `.${l}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::before`).join(", "), _ = s.map((e) => `.${l}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::after`).join(", "), m = o({
202
+ }), E = `.${l}.${w}`, V = c.map((e) => `.${l}.${w} .${e}MainTable`).join(", "), I = `${E}::before`, h = c.map((e) => `.${l}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), _ = c.map((e) => `.${l}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::before`).join(", "), y = c.map((e) => `.${l}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::after`).join(", "), A = o({
196
203
  suffixes: ["FillRow"]
197
- }), A = o({
204
+ }), T = o({
198
205
  suffixes: ["SolidRow"]
199
- }), N = s.map((e) => `.${l} .${e}ToolbarRow.${e}SolidRow`).join(", "), z = o({
206
+ }), L = c.map((e) => `.${l} .${e}ToolbarRow.${e}SolidRow`).join(", "), z = o({
200
207
  suffixes: ["ColorDefault"]
201
- }), I = o({
208
+ }), N = o({
202
209
  suffixes: ["ColorDefaultRow"]
203
- }), L = o({
210
+ }), O = o({
204
211
  rowSuffix: "HeaderRow",
205
212
  suffixes: ["CellHeader", "CellIndex", "GanttHeaderBase", "LevelButton"],
206
213
  withChildren: !0
207
- }), O = o({
214
+ }), P = o({
208
215
  rowSuffix: "HeaderRow",
209
216
  suffixes: [
210
217
  "CellHeader",
@@ -217,38 +224,38 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
217
224
  "HeaderFocus",
218
225
  "HeaderDrag"
219
226
  ]
220
- }), h = o({
227
+ }), j = o({
221
228
  suffixes: ["ColorHovered"]
222
- }), P = o({
229
+ }), W = o({
223
230
  suffixes: ["ColorHoveredRow"]
224
- }), j = o({
231
+ }), Y = o({
225
232
  suffixes: ["HoverRowBorder"]
226
- }), T = o({
233
+ }), U = o({
227
234
  suffixes: ["ColorSelected", "ColorSelectedCell"]
228
- }), W = o({
235
+ }), X = o({
229
236
  suffixes: ["ColorSelected", "ColorSelectedCell"],
230
237
  descendant: " *"
231
- }), Y = o({
238
+ }), K = o({
232
239
  suffixes: ["ColorSelectedRow"]
233
- }), U = o({
240
+ }), Q = o({
234
241
  suffixes: ["ColorFocused"]
235
- }), X = o({
242
+ }), q = o({
236
243
  suffixes: ["ColorFocusedRow"]
237
- }), K = o({
244
+ }), J = o({
238
245
  suffixes: ["FocusRowBorder"]
239
- }), Q = o({
246
+ }), Z = o({
240
247
  suffixes: ["ColorHoveredCell", "ColorHoveredCellIndex"]
241
- }), q = o({
248
+ }), ee = o({
242
249
  suffixes: ["HoverCellBorder"]
243
- }), J = o({
250
+ }), re = o({
244
251
  suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"]
245
- }), Z = o({
252
+ }), oe = o({
246
253
  suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"],
247
254
  descendant: " *"
248
- }), ee = B({
255
+ }), te = G({
249
256
  ancestorSuffixes: ["HoverCellBorder"],
250
257
  suffixes: ["ColorPreview", "ColorPreviewDynamic", "ColorViewedCell"]
251
- }), re = o({
258
+ }), le = o({
252
259
  suffixes: [
253
260
  "ColorHoveredCellSpace",
254
261
  "ColorHoveredCellSpaceEdit",
@@ -262,18 +269,18 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
262
269
  "ColorHoveredCellTab",
263
270
  "ColorHoveredCellTab1"
264
271
  ]
265
- }), oe = o({
272
+ }), ae = o({
266
273
  suffixes: ["ColorFocusedCell", "ColorFocusedCellRelative"]
267
- }), te = o({
274
+ }), ce = o({
268
275
  suffixes: ["ColorFocusedCellRect"]
269
- }), le = o({
276
+ }), de = o({
270
277
  suffixes: ["FocusCellBorder"]
271
- }), ae = o({
278
+ }), se = o({
272
279
  suffixes: ["FocusCellCorner"]
273
- }), ce = o({
280
+ }), ne = o({
274
281
  suffixes: ["ClassFocusedCellSpaceEdit", "ClassFocusedCellSpaceDefaults"],
275
282
  descendant: " > div"
276
- }), de = o({
283
+ }), ie = o({
277
284
  suffixes: [
278
285
  "ColorFocusedCellSafari",
279
286
  "ColorFocusedCellSpace",
@@ -282,21 +289,21 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
282
289
  "ColorFocusedCellSpaceBool",
283
290
  "ColorFocusedCellButton"
284
291
  ]
285
- }), se = o({
292
+ }), ue = o({
286
293
  suffixes: ["ClassHoveredCellSpaceEdit", "ClassHoveredCellSpaceDefaults"],
287
294
  descendant: " > div"
288
- }), ie = o({
295
+ }), pe = o({
289
296
  suffixes: ["ClassHoveredCellButtonButton", "ClassHoveredCellButtonButton1"],
290
297
  descendant: " u"
291
- }), ue = o({
298
+ }), be = o({
292
299
  suffixes: ["ClassHoveredCellTab", "ClassHoveredCellTab1"]
293
- }), ne = o({
294
- suffixes: ["ColorChangedCell"]
295
300
  }), Ce = o({
301
+ suffixes: ["ColorChangedCell"]
302
+ }), Se = o({
296
303
  suffixes: ["EditCellBorder"]
297
- }), pe = o({
304
+ }), we = o({
298
305
  suffixes: ["EditCellCorner"]
299
- }), be = [
306
+ }), ve = [
300
307
  `.${l} .TSMain .TSDateLeft`,
301
308
  `.${l} .TSMain .TSDatesLeft`,
302
309
  `.${l} .TSMain .TSDateRight`,
@@ -305,37 +312,114 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
305
312
  `.${l} .TSMain .TSDatesTop`,
306
313
  `.${l} .TSMain .TSDateBottom`,
307
314
  `.${l} .TSMain .TSDatesBottom`
308
- ].join(", "), we = 'url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%22-1%200%2018%2018%22%3E%0D%0A%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M15.427%2C14.857c0%2C0.625-0.517%2C1.143-1.142%2C1.143H1.715c-0.625%2C0-1.142-0.518-1.142-1.143V3.429%0D%0A%09c0-0.625%2C0.517-1.142%2C1.142-1.142H2.86V1.429C2.86%2C0.642%2C3.502%2C0%2C4.289%2C0H4.86c0.783%2C0%2C1.429%2C0.642%2C1.429%2C1.429v0.858h3.43V1.429%0D%0A%09C9.719%2C0.642%2C10.359%2C0%2C11.145%2C0h0.574c0.783%2C0%2C1.426%2C0.642%2C1.426%2C1.429v0.858h1.142c0.625%2C0%2C1.142%2C0.517%2C1.142%2C1.142L15.427%2C14.857%0D%0A%09L15.427%2C14.857z%20M4.289%2C8.287V5.713H1.715v2.574H4.289z%20M4.289%2C11.717V8.857H1.715v2.858L4.289%2C11.717L4.289%2C11.717z%20M4.289%2C14.857%0D%0A%09v-2.574H1.715v2.574H4.289z%20M5.144%2C1.429c0-0.154-0.134-0.288-0.283-0.288H4.289c-0.154%2C0-0.287%2C0.133-0.287%2C0.288V4%0D%0A%09c0%2C0.15%2C0.133%2C0.288%2C0.287%2C0.288H4.86C5.01%2C4.288%2C5.144%2C4.15%2C5.144%2C4V1.429z%20M7.715%2C8.287V5.713H4.86v2.574H7.715z%20M7.715%2C11.717%0D%0A%09V8.857H4.86v2.858L7.715%2C11.717L7.715%2C11.717z%20M7.715%2C14.857v-2.574H4.86v2.574H7.715z%20M11.145%2C8.287V5.713H8.289v2.574H11.145z%0D%0A%09M11.145%2C11.717V8.857H8.289v2.858L11.145%2C11.717L11.145%2C11.717z%20M11.145%2C14.857v-2.574H8.289v2.574H11.145z%20M12.002%2C1.429%0D%0A%09c0-0.154-0.139-0.288-0.283-0.288h-0.574c-0.154%2C0-0.283%2C0.133-0.283%2C0.288V4c0%2C0.15%2C0.129%2C0.288%2C0.283%2C0.288h0.574%0D%0A%09c0.146%2C0%2C0.283-0.138%2C0.283-0.288V1.429z%20M14.285%2C8.287V5.713h-2.566v2.574H14.285z%20M14.285%2C11.717V8.857h-2.566v2.858%0D%0A%09L14.285%2C11.717L14.285%2C11.717z%20M14.285%2C14.857v-2.574h-2.566v2.574H14.285z%22%2F%3E%0D%0A%3C%2Fsvg%3E%0D%0A")', Fe = {
309
- [V]: {
310
- fontFamily: `${v} !important`,
315
+ ].join(", "), ge = [
316
+ `.${l} .TSMain .${d}.TSDateLeft`,
317
+ `.${l} .TSMain .${d}.TSDatesLeft`,
318
+ `.${l} .TSMain .${d}.TSDateRight`,
319
+ `.${l} .TSMain .${d}.TSDatesRight`,
320
+ `.${l} .TSMain .${d}.TSDateTop`,
321
+ `.${l} .TSMain .${d}.TSDatesTop`,
322
+ `.${l} .TSMain .${d}.TSDateBottom`,
323
+ `.${l} .TSMain .${d}.TSDatesBottom`
324
+ ].join(", "), R = 'url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%22-1%200%2018%2018%22%3E%0D%0A%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M15.427%2C14.857c0%2C0.625-0.517%2C1.143-1.142%2C1.143H1.715c-0.625%2C0-1.142-0.518-1.142-1.143V3.429%0D%0A%09c0-0.625%2C0.517-1.142%2C1.142-1.142H2.86V1.429C2.86%2C0.642%2C3.502%2C0%2C4.289%2C0H4.86c0.783%2C0%2C1.429%2C0.642%2C1.429%2C1.429v0.858h3.43V1.429%0D%0A%09C9.719%2C0.642%2C10.359%2C0%2C11.145%2C0h0.574c0.783%2C0%2C1.426%2C0.642%2C1.426%2C1.429v0.858h1.142c0.625%2C0%2C1.142%2C0.517%2C1.142%2C1.142L15.427%2C14.857%0D%0A%09L15.427%2C14.857z%20M4.289%2C8.287V5.713H1.715v2.574H4.289z%20M4.289%2C11.717V8.857H1.715v2.858L4.289%2C11.717L4.289%2C11.717z%20M4.289%2C14.857%0D%0A%09v-2.574H1.715v2.574H4.289z%20M5.144%2C1.429c0-0.154-0.134-0.288-0.283-0.288H4.289c-0.154%2C0-0.287%2C0.133-0.287%2C0.288V4%0D%0A%09c0%2C0.15%2C0.133%2C0.288%2C0.287%2C0.288H4.86C5.01%2C4.288%2C5.144%2C4.15%2C5.144%2C4V1.429z%20M7.715%2C8.287V5.713H4.86v2.574H7.715z%20M7.715%2C11.717%0D%0A%09V8.857H4.86v2.858L7.715%2C11.717L7.715%2C11.717z%20M7.715%2C14.857v-2.574H4.86v2.574H7.715z%20M11.145%2C8.287V5.713H8.289v2.574H11.145z%0D%0A%09M11.145%2C11.717V8.857H8.289v2.858L11.145%2C11.717L11.145%2C11.717z%20M11.145%2C14.857v-2.574H8.289v2.574H11.145z%20M12.002%2C1.429%0D%0A%09c0-0.154-0.139-0.288-0.283-0.288h-0.574c-0.154%2C0-0.283%2C0.133-0.283%2C0.288V4c0%2C0.15%2C0.129%2C0.288%2C0.283%2C0.288h0.574%0D%0A%09c0.146%2C0%2C0.283-0.138%2C0.283-0.288V1.429z%20M14.285%2C8.287V5.713h-2.566v2.574H14.285z%20M14.285%2C11.717V8.857h-2.566v2.858%0D%0A%09L14.285%2C11.717L14.285%2C11.717z%20M14.285%2C14.857v-2.574h-2.566v2.574H14.285z%22%2F%3E%0D%0A%3C%2Fsvg%3E%0D%0A")', fe = R.replace(
325
+ "%23757575",
326
+ "white"
327
+ ), v = 'url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M11.99%202C6.47%202%202%206.48%202%2012s4.47%2010%209.99%2010C17.52%2022%2022%2017.52%2022%2012S17.52%202%2011.99%202M12%2020c-4.42%200-8-3.58-8-8s3.58-8%208-8%208%203.58%208%208-3.58%208-8%208%22%2F%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M12.5%207H11v6l5.25%203.15.75-1.23-4.5-2.67z%22%2F%3E%3C%2Fsvg%3E")', ke = `.${l} .OwpTreeGridTimePickerEditorIcon`, Fe = [
328
+ `.${l} .${d} .OwpTreeGridTimePickerEditorIcon`,
329
+ `.${l} .${d}.OwpTreeGridTimePickerEditorIcon`
330
+ ].join(", "), Ee = c.map(
331
+ (e) => `.${e}EnumMenuMain, .${e}EnumMenuMain *`
332
+ ).join(", "), Re = c.map(
333
+ (e) => `.${e}EnumMenuMain *::-webkit-scrollbar`
334
+ ).join(", "), He = c.map(
335
+ (e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb`
336
+ ).join(", "), $e = c.map(
337
+ (e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb:hover`
338
+ ).join(", "), Be = c.map(
339
+ (e) => `.${e}EnumMenuMain *::-webkit-scrollbar-track`
340
+ ).join(", "), Ge = c.map(
341
+ (e) => `.${e}EnumMenuMain *::-webkit-scrollbar-corner`
342
+ ).join(", "), Me = {
343
+ [m]: {
344
+ fontFamily: `${f} !important`,
311
345
  fontSize: "var(--owp-tree-grid-cell-font-size, 13px)",
312
346
  fontWeight: "normal",
313
347
  lineHeight: "16px"
314
348
  },
315
- [k]: {
349
+ [D]: {
316
350
  color: "var(--owp-tree-grid-body-color, #111112) !important"
317
351
  },
318
- [G]: {
352
+ [x]: {
319
353
  color: "var(--owp-tree-grid-body-color, #111112) !important"
320
354
  },
321
- [D]: a(
355
+ [M]: a(
322
356
  "--owp-tree-grid-body-background-color",
323
357
  "#FFFFFF"
324
358
  ),
325
- [be]: {
326
- backgroundImage: `${we} !important`
359
+ [ve]: {
360
+ backgroundImage: `${R} !important`
361
+ },
362
+ [ge]: {
363
+ backgroundImage: `${fe} !important`
327
364
  },
328
- [R]: {
365
+ [ke]: {
366
+ backgroundImage: v,
367
+ backgroundPosition: "center calc(50% - 1px)",
368
+ backgroundRepeat: "no-repeat",
369
+ backgroundSize: "16px 16px",
370
+ display: "inline-block",
371
+ height: "16px",
372
+ lineHeight: 0,
373
+ marginRight: "4px",
374
+ verticalAlign: "middle",
375
+ width: "16px"
376
+ },
377
+ [Fe]: {
378
+ WebkitMaskImage: v,
379
+ WebkitMaskPosition: "center calc(50% - 1px)",
380
+ WebkitMaskRepeat: "no-repeat",
381
+ WebkitMaskSize: "16px 16px",
382
+ backgroundColor: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
383
+ backgroundImage: "none !important",
384
+ maskImage: v,
385
+ maskPosition: "center calc(50% - 1px)",
386
+ maskRepeat: "no-repeat",
387
+ maskSize: "16px 16px"
388
+ },
389
+ [Ee]: {
390
+ scrollbarColor: "rgba(0, 0, 0, 0.32) transparent",
391
+ scrollbarWidth: "thin"
392
+ },
393
+ [Re]: {
394
+ height: "8px",
395
+ width: "8px"
396
+ },
397
+ [He]: {
398
+ backgroundClip: "padding-box",
399
+ backgroundColor: "rgba(0, 0, 0, 0.32)",
400
+ border: "2px solid transparent",
401
+ borderRadius: "8px"
402
+ },
403
+ [$e]: {
404
+ backgroundColor: "rgba(0, 0, 0, 0.44)"
405
+ },
406
+ [Be]: {
407
+ backgroundColor: "transparent"
408
+ },
409
+ [Ge]: {
410
+ backgroundColor: "transparent"
411
+ },
412
+ [E]: {
329
413
  position: "relative"
330
414
  },
331
- [$]: {
415
+ [V]: {
332
416
  borderBottom: "0 !important",
333
417
  borderRadius: "var(--owp-tree-grid-table-border-radius, .8rem) var(--owp-tree-grid-table-border-radius, .8rem) 0 0",
334
418
  clipPath: "inset(0 round var(--owp-tree-grid-table-border-radius, .8rem) var(--owp-tree-grid-table-border-radius, .8rem) 0 0)",
335
419
  overflow: "hidden"
336
420
  },
337
- [x]: {
338
- border: `${F} solid ${f}`,
421
+ [I]: {
422
+ border: `${F} solid ${k}`,
339
423
  borderBottom: 0,
340
424
  borderRadius: "var(--owp-tree-grid-table-border-radius, .8rem) var(--owp-tree-grid-table-border-radius, .8rem) 0 0",
341
425
  boxSizing: "border-box",
@@ -349,13 +433,13 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
349
433
  top: 0,
350
434
  zIndex: 2
351
435
  },
352
- [M]: {
436
+ [h]: {
353
437
  borderTopColor: "transparent !important",
354
438
  overflow: "visible",
355
439
  position: "relative"
356
440
  },
357
- [y]: {
358
- border: `${F} solid ${f}`,
441
+ [_]: {
442
+ border: `${F} solid ${k}`,
359
443
  borderBottomLeftRadius: "var(--owp-tree-grid-table-border-radius, .8rem)",
360
444
  borderBottomRightRadius: "var(--owp-tree-grid-table-border-radius, .8rem)",
361
445
  borderTop: 0,
@@ -371,7 +455,7 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
371
455
  transform: "translateY(-100%)",
372
456
  zIndex: 2
373
457
  },
374
- [_]: {
458
+ [y]: {
375
459
  backgroundImage: "radial-gradient(circle at right top, transparent calc(var(--owp-tree-grid-table-border-radius, .8rem) - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) var(--owp-tree-grid-table-border-radius, .8rem)), radial-gradient(circle at left top, transparent calc(var(--owp-tree-grid-table-border-radius, .8rem) - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) var(--owp-tree-grid-table-border-radius, .8rem))",
376
460
  backgroundPosition: "left top, right top",
377
461
  backgroundRepeat: "no-repeat",
@@ -387,158 +471,158 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", s = [
387
471
  transform: "translateY(-100%)",
388
472
  zIndex: 1
389
473
  },
390
- [m]: p(
474
+ [A]: C(
391
475
  "--owp-tree-grid-body-fill-background-color"
392
476
  ),
393
- [A]: p(
477
+ [T]: C(
394
478
  "--owp-tree-grid-row-solid-background-color"
395
479
  ),
396
- [N]: p(
480
+ [L]: C(
397
481
  "--owp-tree-grid-toolbar-row-background-color"
398
482
  ),
399
483
  [z]: a(
400
484
  "--owp-tree-grid-row-background-color",
401
485
  "#FFFFFF"
402
486
  ),
403
- [I]: a(
487
+ [N]: a(
404
488
  "--owp-tree-grid-row-background-color",
405
489
  "#FFFFFE"
406
490
  ),
407
- [L]: {
491
+ [O]: {
408
492
  color: "var(--owp-tree-grid-header-color, #ffffff) !important",
409
- fontFamily: `${v} !important`,
493
+ fontFamily: `${f} !important`,
410
494
  fontSize: "var(--owp-tree-grid-header-font-size, 14px) !important",
411
495
  fontWeight: "var(--owp-tree-grid-header-font-weight, normal) !important",
412
496
  lineHeight: "16px"
413
497
  },
414
- [O]: {
498
+ [P]: {
415
499
  backgroundColor: "var(--owp-tree-grid-header-background-color, #586980) !important",
416
500
  color: "var(--owp-tree-grid-header-color, #ffffff) !important"
417
501
  },
418
- [h]: a(
502
+ [j]: a(
419
503
  "--owp-tree-grid-hover-row-background-color",
420
504
  "#F0F0FF"
421
505
  ),
422
- [P]: a(
506
+ [W]: a(
423
507
  "--owp-tree-grid-hover-row-background-color",
424
508
  "#EEE"
425
509
  ),
426
- [j]: {
510
+ [Y]: {
427
511
  borderTopColor: "var(--owp-tree-grid-hover-row-border-color) !important",
428
512
  borderBottomColor: "var(--owp-tree-grid-hover-row-border-color) !important"
429
513
  },
430
- [T]: a(
514
+ [U]: a(
431
515
  "--owp-tree-grid-selected-cell-background-color",
432
516
  "#FFFFA6"
433
517
  ),
434
- [W]: a(
518
+ [X]: a(
435
519
  "--owp-tree-grid-selected-cell-background-color",
436
520
  "#FFFFA6"
437
521
  ),
438
- [Y]: a(
522
+ [K]: a(
439
523
  "--owp-tree-grid-selected-row-background-color",
440
524
  "#EEE"
441
525
  ),
442
- [U]: a(
526
+ [Q]: a(
443
527
  "--owp-tree-grid-focused-row-background-color",
444
528
  "#E6E6E6"
445
529
  ),
446
- [X]: a(
530
+ [q]: a(
447
531
  "--owp-tree-grid-focused-row-background-color",
448
532
  "#EEE"
449
533
  ),
450
- [K]: {
534
+ [J]: {
451
535
  borderColor: "var(--owp-tree-grid-focused-row-border-color) !important"
452
536
  },
453
- [Q]: a(
537
+ [Z]: a(
454
538
  "--owp-tree-grid-hover-cell-background-color",
455
539
  "#BFDDF2"
456
540
  ),
457
- [q]: {
541
+ [ee]: {
458
542
  backgroundColor: "var(--owp-tree-grid-hover-cell-background-color) !important",
459
543
  borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
460
544
  },
461
- [J]: a(
545
+ [re]: a(
462
546
  "--owp-tree-grid-hover-cell-background-color",
463
547
  "#F0F0F0"
464
548
  ),
465
- [Z]: a(
549
+ [oe]: a(
466
550
  "--owp-tree-grid-hover-cell-background-color",
467
551
  "#F0F0F0"
468
552
  ),
469
- [ee]: p(
553
+ [te]: C(
470
554
  "--owp-tree-grid-hover-cell-background-color"
471
555
  ),
472
- [re]: p(
556
+ [le]: C(
473
557
  "--owp-tree-grid-hover-cell-background-color"
474
558
  ),
475
- [se]: {
559
+ [ue]: {
476
560
  borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
477
561
  },
478
- [ie]: {
562
+ [pe]: {
479
563
  borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
480
564
  },
481
- [ue]: {
565
+ [be]: {
482
566
  borderTopColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
483
567
  borderBottomColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
484
568
  outlineColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
485
569
  },
486
- [oe]: a(
570
+ [ae]: a(
487
571
  "--owp-tree-grid-focused-cell-background-color",
488
572
  "#FFFFFE"
489
573
  ),
490
- [te]: {
574
+ [ce]: {
491
575
  backgroundColor: "var(--owp-tree-grid-focused-cell-rect-background-color) !important"
492
576
  },
493
- [le]: {
577
+ [de]: {
494
578
  borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
495
579
  },
496
- [ae]: {
580
+ [se]: {
497
581
  backgroundColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
498
582
  },
499
- [ce]: {
583
+ [ne]: {
500
584
  borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
501
585
  },
502
- [de]: p(
586
+ [ie]: C(
503
587
  "--owp-tree-grid-focused-cell-background-color"
504
588
  ),
505
- [ne]: a(
589
+ [Ce]: a(
506
590
  "--owp-tree-grid-changed-background-color",
507
591
  "#EEE"
508
592
  ),
509
- [Ce]: {
593
+ [Se]: {
510
594
  borderColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
511
595
  },
512
- [pe]: {
596
+ [we]: {
513
597
  backgroundColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
514
598
  }
515
- }, S = /* @__PURE__ */ t((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), Se = /* @__PURE__ */ t((e, r, c) => {
516
- c && (e[r] = c);
517
- }, "setOptionalTreeGridCssVariable"), Re = /* @__PURE__ */ t(({
599
+ }, g = /* @__PURE__ */ t((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), me = /* @__PURE__ */ t((e, r, s) => {
600
+ s && (e[r] = s);
601
+ }, "setOptionalTreeGridCssVariable"), Ve = /* @__PURE__ */ t(({
518
602
  width: e,
519
603
  height: r,
520
- treeGridTheme: c,
604
+ treeGridTheme: s,
521
605
  gridThemeConfig: i,
522
606
  containerStyle: u,
523
- tableBorderRadius: n
607
+ tableBorderRadius: p
524
608
  }) => {
525
- const C = {
609
+ const b = {
526
610
  height: r,
527
611
  width: e
528
612
  };
529
- for (const { cssVariableName: b, getValue: d } of H)
530
- Se(C, b, d(i));
531
- for (const { cssVariableName: b, getValue: d } of E)
532
- C[b] = d(c);
533
- return n !== void 0 && (C["--owp-tree-grid-table-border-radius"] = S(n)), {
534
- ...C,
613
+ for (const { cssVariableName: S, getValue: n } of $)
614
+ me(b, S, n(i));
615
+ for (const { cssVariableName: S, getValue: n } of B)
616
+ b[S] = n(s);
617
+ return p !== void 0 && (b["--owp-tree-grid-table-border-radius"] = g(p)), {
618
+ ...b,
535
619
  ...u
536
620
  };
537
621
  }, "createTreeGridThemeContainerStyle");
538
622
  export {
539
623
  w as TREE_GRID_THEME_TABLE_RADIUS_CLASS,
540
624
  l as TREE_GRID_THEME_WRAPPER_CLASS,
541
- Re as createTreeGridThemeContainerStyle,
542
- Fe as treeGridThemeStyles
625
+ Ve as createTreeGridThemeContainerStyle,
626
+ Me as treeGridThemeStyles
543
627
  };
544
628
  //# sourceMappingURL=treeGridTheme.js.map