@owp/core 2.5.57 → 2.5.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +200 -188
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridAddedRowBoxOverlay.js +32 -16
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridAddedRowBoxOverlay.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js +143 -107
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +300 -292
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridAddedRowBoxOverlay.d.ts +4 -2
- package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.d.ts +19 -1
- package/dist/types/utils/treeGridUtil.d.ts +17 -11
- package/dist/utils/treeGridUtil.js +137 -133
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var l = (e, o) =>
|
|
3
|
-
import { TREEGRID_ADDED_ROW_BACKGROUND_COLOR as
|
|
4
|
-
import { DEFAULT_TABLE_RADIUS as
|
|
5
|
-
import { darken as
|
|
6
|
-
const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius",
|
|
1
|
+
var Re = Object.defineProperty;
|
|
2
|
+
var l = (e, o) => Re(e, "name", { value: o, configurable: !0 });
|
|
3
|
+
import { TREEGRID_ADDED_ROW_BACKGROUND_COLOR as Ce, TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT as _e, TREEGRID_FONT_FAMILY_STACK as N, TREEGRID_ERROR_CELL_BORDER_COLOR as Ee, TREEGRID_CELL_CHANGED_CLASS as i } from "../../../constants/treeGrid.js";
|
|
4
|
+
import { DEFAULT_TABLE_RADIUS as $e } from "../../../constants/table.js";
|
|
5
|
+
import { darken as be } from "@mui/material/styles";
|
|
6
|
+
const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", we = "owp-tree-grid-panel-checkbox-select", ge = "owp-tree-grid-select-all-checked", Oe = "owp-tree-grid-select-all-indeterminate", De = "owp-tree-grid-select-all-unchecked", ee = "owp-tree-grid-selected-changed-cell", oe = "owp-tree-grid-error-cell", B = "owp-tree-grid-added-row-box-cell", Ie = "owp-tree-grid-added-row-box-start", me = "owp-tree-grid-added-row-box-end", ke = "--owp-tree-grid-hover-cell-border-color", n = [
|
|
7
7
|
"TS",
|
|
8
8
|
"TW",
|
|
9
9
|
"TB",
|
|
@@ -20,7 +20,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
20
20
|
"CR",
|
|
21
21
|
"CP",
|
|
22
22
|
"CC"
|
|
23
|
-
], C = "#CDD8E4", S = "1px", d = `var(--owp-tree-grid-table-border-radius, ${
|
|
23
|
+
], C = "#CDD8E4", S = "1px", d = `var(--owp-tree-grid-table-border-radius, ${$e})`, V = "#757575", re = "2px", te = `var(--owp-tree-grid-error-cell-border-color, ${Ee})`, ve = `inset 0 0 0 ${re} ${te} !important`, v = "2px", Ge = "3px 2px 3px 3px", G = "1px", le = be(Ce, 0.42), y = "border-box !important", T = `var(--owp-tree-grid-added-row-box-color, ${le})`, E = "#f5f5f5", ae = "#e0e0e0", P = `var(--owp-tree-grid-hover-row-border-color, ${ae})`, Te = `var(--owp-tree-grid-hover-cell-background-color, ${E})`, _ = `var(${ke}, ${ae})`, xe = "OwpSoftChange", Fe = "OwpSoftRevert", fe = "OwpSoftRowSelect", Be = "OwpSoftRowDeselect", he = "OwpSoftRowAdd", Ae = "OwpSoftRowRemove", Le = "rgba(25, 118, 210, 0.36)", Me = "rgba(25, 118, 210, 0.20)", He = "rgba(25, 118, 210, 0.26)", Ne = "rgba(25, 118, 210, 0.13)", Ve = "rgba(96, 125, 139, 0.35)", ye = "rgba(96, 125, 139, 0.20)", Pe = "rgba(96, 125, 139, 0.32)", We = "rgba(96, 125, 139, 0.16)", ze = "rgba(25, 118, 210, 0.14)", je = "rgba(25, 118, 210, 0.08)", Ue = "rgba(25, 118, 210, 0.1)", Xe = "rgba(25, 118, 210, 0.05)", Ke = "rgba(46, 125, 50, 0.24)", Ye = "rgba(46, 125, 50, 0.12)", Qe = "rgba(46, 125, 50, 0.16)", Ze = "rgba(46, 125, 50, 0.07)", qe = "rgba(96, 125, 139, 0.16)", Je = "rgba(96, 125, 139, 0.06)", eo = "rgba(96, 125, 139, 0.1)", oo = "rgba(96, 125, 139, 0.035)", W = "rgba(25, 118, 210, 0)", z = "rgba(96, 125, 139, 0)", j = "rgba(25, 118, 210, 0)", U = "rgba(46, 125, 50, 0)", X = "rgba(96, 125, 139, 0)", K = "background-color 140ms ease-out, box-shadow 140ms ease-out", h = [
|
|
24
24
|
"DefaultsLeft",
|
|
25
25
|
"DefaultsRight",
|
|
26
26
|
"DefaultsTop",
|
|
@@ -34,21 +34,21 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
34
34
|
"CursorBorderRight",
|
|
35
35
|
"CursorBorderTop",
|
|
36
36
|
"CursorBorderBottom"
|
|
37
|
-
], $ = /* @__PURE__ */ l((e) => `url("data:image/svg+xml,${encodeURIComponent(e)}")`, "createTreeGridSvgBackgroundImage"),
|
|
37
|
+
], $ = /* @__PURE__ */ l((e) => `url("data:image/svg+xml,${encodeURIComponent(e)}")`, "createTreeGridSvgBackgroundImage"), ro = $(
|
|
38
38
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><rect x="2" y="2" width="14" height="14" rx="1.5" fill="none" stroke="#CDD8E4" stroke-width="1.6"/></svg>'
|
|
39
|
-
),
|
|
39
|
+
), to = $(
|
|
40
40
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><rect x="2" y="2" width="14" height="14" rx="1.5" fill="none" stroke="#CDD8E4" stroke-width="1.6"/><path d="M4.7 9 7.4 11.7 13.3 5.8" fill="none" stroke="#7A8899" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round"/></svg>'
|
|
41
|
-
),
|
|
41
|
+
), Y = $(
|
|
42
42
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><rect x="2" y="2" width="14" height="14" rx="1.5" fill="none" stroke="#FFFFFF" stroke-width="1.6"/></svg>'
|
|
43
|
-
),
|
|
43
|
+
), Q = $(
|
|
44
44
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><rect x="2" y="2" width="14" height="14" rx="1.5" fill="none" stroke="#FFFFFF" stroke-width="1.6"/><path d="M4.7 9 7.4 11.7 13.3 5.8" fill="none" stroke="#FFFFFF" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round"/></svg>'
|
|
45
|
-
),
|
|
45
|
+
), lo = $(
|
|
46
46
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><rect x="2" y="2" width="14" height="14" rx="1.5" fill="none" stroke="#FFFFFF" stroke-width="1.6"/><path d="M5.2 9h7.6" fill="none" stroke="#FFFFFF" stroke-width="2.3" stroke-linecap="round"/></svg>'
|
|
47
|
-
),
|
|
47
|
+
), Z = $(
|
|
48
48
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M3 4h12l-4.8 5.4v4.1l-2.4 1.2V9.4z" fill="none" stroke="#000" stroke-width="1.7" stroke-linejoin="round"/></svg>'
|
|
49
|
-
),
|
|
49
|
+
), q = $(
|
|
50
50
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M3 4h12l-4.8 5.4v4.1l-2.4 1.2V9.4z" fill="#000" stroke="#000" stroke-width="1.7" stroke-linejoin="round"/></svg>'
|
|
51
|
-
),
|
|
51
|
+
), ao = "var(--owp-tree-grid-header-background-color, #586980)", no = "var(--owp-tree-grid-focused-cell-border-color, var(--owp-tree-grid-hover-cell-border-color, var(--owp-tree-grid-header-background-color, #586980)))", co = [
|
|
52
52
|
{
|
|
53
53
|
cssVariableName: "--owp-tree-grid-body-background-color",
|
|
54
54
|
getValue: /* @__PURE__ */ l((e) => {
|
|
@@ -203,7 +203,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
203
203
|
return ((o = e == null ? void 0 : e.changed) == null ? void 0 : o.fontWeight) === void 0 ? void 0 : String(e.changed.fontWeight);
|
|
204
204
|
}, "getValue")
|
|
205
205
|
}
|
|
206
|
-
],
|
|
206
|
+
], so = [
|
|
207
207
|
{
|
|
208
208
|
cssVariableName: "--owp-tree-grid-header-background-color",
|
|
209
209
|
getValue: /* @__PURE__ */ l((e) => e.header.backgroundColor, "getValue")
|
|
@@ -239,85 +239,85 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
239
239
|
borderBottomColor: `${e} !important`,
|
|
240
240
|
borderLeftColor: `${e} !important`,
|
|
241
241
|
outlineColor: `${e} !important`
|
|
242
|
-
}), "createTreeGridBorderColorStyle"),
|
|
242
|
+
}), "createTreeGridBorderColorStyle"), io = /* @__PURE__ */ l((e) => ({
|
|
243
243
|
...m(e),
|
|
244
244
|
borderStyle: "solid !important",
|
|
245
245
|
borderWidth: "1px !important"
|
|
246
|
-
}), "createTreeGridSolidBorderColorStyle"),
|
|
246
|
+
}), "createTreeGridSolidBorderColorStyle"), po = /* @__PURE__ */ l(() => Object.fromEntries(
|
|
247
247
|
n.flatMap((e) => [
|
|
248
248
|
[
|
|
249
|
-
`@keyframes ${e}${
|
|
249
|
+
`@keyframes ${e}${xe}`,
|
|
250
250
|
{
|
|
251
251
|
"0%": {
|
|
252
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
252
|
+
boxShadow: `inset 0 0 0 1px ${Le}, inset 0 0 0 9999px ${Me}`
|
|
253
253
|
},
|
|
254
254
|
"40%": {
|
|
255
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
255
|
+
boxShadow: `inset 0 0 0 1px ${He}, inset 0 0 0 9999px ${Ne}`
|
|
256
256
|
},
|
|
257
257
|
"100%": {
|
|
258
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
258
|
+
boxShadow: `inset 0 0 0 1px ${W}, inset 0 0 0 9999px ${W}`
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
],
|
|
262
262
|
[
|
|
263
|
-
`@keyframes ${e}${
|
|
263
|
+
`@keyframes ${e}${Fe}`,
|
|
264
264
|
{
|
|
265
265
|
"0%": {
|
|
266
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
266
|
+
boxShadow: `inset 0 0 0 1px ${Ve}, inset 0 0 0 9999px ${ye}`
|
|
267
267
|
},
|
|
268
268
|
"35%": {
|
|
269
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
269
|
+
boxShadow: `inset 0 0 0 1px ${Pe}, inset 0 0 0 9999px ${We}`
|
|
270
270
|
},
|
|
271
271
|
"100%": {
|
|
272
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
272
|
+
boxShadow: `inset 0 0 0 1px ${z}, inset 0 0 0 9999px ${z}`
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
],
|
|
276
276
|
[
|
|
277
|
-
`@keyframes ${e}${
|
|
277
|
+
`@keyframes ${e}${fe}`,
|
|
278
278
|
{
|
|
279
279
|
"0%": {
|
|
280
|
-
boxShadow: `inset 0 0 0 9999px ${
|
|
280
|
+
boxShadow: `inset 0 0 0 9999px ${j}`
|
|
281
281
|
},
|
|
282
282
|
"45%": {
|
|
283
|
-
boxShadow: `inset 0 0 0 9999px ${
|
|
283
|
+
boxShadow: `inset 0 0 0 9999px ${ze}`
|
|
284
284
|
},
|
|
285
285
|
"100%": {
|
|
286
|
-
boxShadow: `inset 0 0 0 9999px ${
|
|
286
|
+
boxShadow: `inset 0 0 0 9999px ${je}`
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
],
|
|
290
290
|
[
|
|
291
|
-
`@keyframes ${e}${
|
|
291
|
+
`@keyframes ${e}${Be}`,
|
|
292
292
|
{
|
|
293
293
|
"0%": {
|
|
294
|
-
boxShadow: `inset 0 0 0 9999px ${
|
|
294
|
+
boxShadow: `inset 0 0 0 9999px ${Ue}`
|
|
295
295
|
},
|
|
296
296
|
"55%": {
|
|
297
|
-
boxShadow: `inset 0 0 0 9999px ${
|
|
297
|
+
boxShadow: `inset 0 0 0 9999px ${Xe}`
|
|
298
298
|
},
|
|
299
299
|
"100%": {
|
|
300
|
-
boxShadow: `inset 0 0 0 9999px ${
|
|
300
|
+
boxShadow: `inset 0 0 0 9999px ${j}`
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
],
|
|
304
304
|
[
|
|
305
|
-
`@keyframes ${e}${
|
|
305
|
+
`@keyframes ${e}${he}`,
|
|
306
306
|
{
|
|
307
307
|
"0%": {
|
|
308
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
308
|
+
boxShadow: `inset 0 0 0 1px ${Ke}, inset 0 0 0 9999px ${Ye}`,
|
|
309
309
|
opacity: 0.72,
|
|
310
310
|
transform: "scaleY(0.985)",
|
|
311
311
|
transformOrigin: "center center"
|
|
312
312
|
},
|
|
313
313
|
"45%": {
|
|
314
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
314
|
+
boxShadow: `inset 0 0 0 1px ${Qe}, inset 0 0 0 9999px ${Ze}`,
|
|
315
315
|
opacity: 1,
|
|
316
316
|
transform: "scaleY(1)",
|
|
317
317
|
transformOrigin: "center center"
|
|
318
318
|
},
|
|
319
319
|
"100%": {
|
|
320
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
320
|
+
boxShadow: `inset 0 0 0 1px ${U}, inset 0 0 0 9999px ${U}`,
|
|
321
321
|
opacity: 1,
|
|
322
322
|
transform: "scaleY(1)",
|
|
323
323
|
transformOrigin: "center center"
|
|
@@ -328,15 +328,15 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
328
328
|
`@keyframes ${e}${Ae}`,
|
|
329
329
|
{
|
|
330
330
|
"0%": {
|
|
331
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
331
|
+
boxShadow: `inset 0 0 0 1px ${qe}, inset 0 0 0 9999px ${Je}`,
|
|
332
332
|
opacity: 1
|
|
333
333
|
},
|
|
334
334
|
"45%": {
|
|
335
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
335
|
+
boxShadow: `inset 0 0 0 1px ${eo}, inset 0 0 0 9999px ${oo}`,
|
|
336
336
|
opacity: 0.92
|
|
337
337
|
},
|
|
338
338
|
"100%": {
|
|
339
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
339
|
+
boxShadow: `inset 0 0 0 1px ${X}, inset 0 0 0 9999px ${X}`,
|
|
340
340
|
opacity: 0.78
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -349,36 +349,32 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
349
349
|
descendant: c = "",
|
|
350
350
|
withChildren: s = !1
|
|
351
351
|
}) => n.flatMap((u) => t.flatMap((R) => {
|
|
352
|
-
const
|
|
352
|
+
const I = o ? ` .${u}${o}` : "", g = `${e}${I} .${u}${R}${c}`;
|
|
353
353
|
return s ? [g, `${g} *`] : [g];
|
|
354
354
|
})).join(", "), "createTreeGridSelectors"), b = /* @__PURE__ */ l(({
|
|
355
355
|
wrapperSelector: e = `.${r}`,
|
|
356
356
|
ancestorSuffixes: o,
|
|
357
357
|
suffixes: t,
|
|
358
358
|
descendant: c = ""
|
|
359
|
-
}) => n.flatMap((s) => o.flatMap((u) => t.map((R) => `${e} .${s}${u} .${s}${R}${c}`))).join(", "), "createTreeGridNestedSelectors"),
|
|
359
|
+
}) => n.flatMap((s) => o.flatMap((u) => t.map((R) => `${e} .${s}${u} .${s}${R}${c}`))).join(", "), "createTreeGridNestedSelectors"), ne = /* @__PURE__ */ l(({
|
|
360
360
|
wrapperSelector: e = `.${r}`,
|
|
361
361
|
baseSuffixes: o,
|
|
362
362
|
suffixes: t,
|
|
363
363
|
descendant: c = ""
|
|
364
|
-
}) => n.flatMap((s) => o.flatMap((u) => t.map((R) => `${e} .${s}${u}.${s}${R}${c}`))).join(", "), "createTreeGridCompoundSelectors"),
|
|
365
|
-
wrapperSelector:
|
|
364
|
+
}) => n.flatMap((s) => o.flatMap((u) => t.map((R) => `${e} .${s}${u}.${s}${R}${c}`))).join(", "), "createTreeGridCompoundSelectors"), O = `.${r}.${we}`, uo = `${O}.${ge}`, So = `${O}.${Oe}`, Ro = `${O}.${De}`, Co = a({
|
|
365
|
+
wrapperSelector: O,
|
|
366
366
|
suffixes: ["PanelSelect"]
|
|
367
|
-
}),
|
|
368
|
-
wrapperSelector:
|
|
367
|
+
}), _o = a({
|
|
368
|
+
wrapperSelector: O,
|
|
369
369
|
suffixes: ["PanelSelectOn"]
|
|
370
|
-
}), _o = b({
|
|
371
|
-
wrapperSelector: I,
|
|
372
|
-
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
373
|
-
suffixes: ["PanelSelect"]
|
|
374
370
|
}), Eo = b({
|
|
375
|
-
wrapperSelector:
|
|
371
|
+
wrapperSelector: O,
|
|
376
372
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
377
|
-
suffixes: ["
|
|
373
|
+
suffixes: ["PanelSelect"]
|
|
378
374
|
}), $o = b({
|
|
379
|
-
wrapperSelector:
|
|
375
|
+
wrapperSelector: O,
|
|
380
376
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
381
|
-
suffixes: ["
|
|
377
|
+
suffixes: ["PanelSelectOn"]
|
|
382
378
|
}), bo = b({
|
|
383
379
|
wrapperSelector: uo,
|
|
384
380
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
@@ -387,23 +383,27 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
387
383
|
wrapperSelector: So,
|
|
388
384
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
389
385
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
390
|
-
}), go =
|
|
386
|
+
}), go = b({
|
|
387
|
+
wrapperSelector: Ro,
|
|
388
|
+
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
389
|
+
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
390
|
+
}), Oo = a({
|
|
391
391
|
suffixes: ["Filter0"]
|
|
392
|
-
}), Io = a({
|
|
393
|
-
suffixes: ["Filter1"]
|
|
394
392
|
}), Do = a({
|
|
393
|
+
suffixes: ["Filter1"]
|
|
394
|
+
}), Io = a({
|
|
395
395
|
suffixes: ["Main"],
|
|
396
396
|
withChildren: !0
|
|
397
|
-
}),
|
|
397
|
+
}), mo = a({
|
|
398
398
|
suffixes: ["Main"]
|
|
399
399
|
}), ko = a({
|
|
400
400
|
suffixes: ["ClassReadOnly"],
|
|
401
401
|
withChildren: !0
|
|
402
|
-
}), mo = a({
|
|
403
|
-
suffixes: ["MainTable"]
|
|
404
402
|
}), vo = a({
|
|
403
|
+
suffixes: ["MainTable"]
|
|
404
|
+
}), Go = a({
|
|
405
405
|
suffixes: ["NoDataRow"]
|
|
406
|
-
}), H = `.${r}.${D}`,
|
|
406
|
+
}), H = `.${r}.${D}`, To = n.map((e) => `.${r}.${D} .${e}MainTable`).join(", "), xo = `${H}::before`, Fo = `${H}::after`, fo = `calc(${d} - ${S})`, Bo = `calc(var(--owp-tree-grid-header-height, 33px) - ${d} + ${S})`, ho = n.map((e) => `.${r}:not(.${D}) .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), Ao = a({
|
|
407
407
|
suffixes: [
|
|
408
408
|
"VScroll",
|
|
409
409
|
"VScrollTop",
|
|
@@ -436,7 +436,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
436
436
|
"CustScroll4Right",
|
|
437
437
|
"CustScroll4RightHidden"
|
|
438
438
|
]
|
|
439
|
-
}),
|
|
439
|
+
}), Lo = n.flatMap(
|
|
440
440
|
(e) => [
|
|
441
441
|
`.${r} .${e}CustScroll1Up > div`,
|
|
442
442
|
`.${r} .${e}CustScroll1Up > div > div`,
|
|
@@ -447,22 +447,22 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
447
447
|
`.${r} .${e}CustScroll2UpHover > div`,
|
|
448
448
|
`.${r} .${e}CustScroll2UpHover > div > div`
|
|
449
449
|
]
|
|
450
|
-
).join(", "),
|
|
450
|
+
).join(", "), Mo = n.map((e) => `.${r}.${D} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), Ho = n.map((e) => `.${r}.${D} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::before`).join(", "), No = n.map((e) => `.${r}.${D} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::after`).join(", "), Vo = a({
|
|
451
451
|
suffixes: ["FillRow"]
|
|
452
|
-
}),
|
|
452
|
+
}), yo = a({
|
|
453
453
|
suffixes: ["SolidRow"]
|
|
454
|
-
}),
|
|
454
|
+
}), Po = n.map((e) => `.${r} .${e}ToolbarRow.${e}SolidRow`).join(", "), ce = a({
|
|
455
455
|
suffixes: ["ColorDefault"]
|
|
456
|
-
}),
|
|
456
|
+
}), se = a({
|
|
457
457
|
suffixes: ["ColorDefaultRow"]
|
|
458
|
-
}),
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
].join(", "),
|
|
458
|
+
}), Wo = [
|
|
459
|
+
ce,
|
|
460
|
+
se
|
|
461
|
+
].join(", "), zo = a({
|
|
462
462
|
rowSuffix: "HeaderRow",
|
|
463
463
|
suffixes: ["CellHeader", "CellIndex", "GanttHeaderBase", "LevelButton"],
|
|
464
464
|
withChildren: !0
|
|
465
|
-
}),
|
|
465
|
+
}), jo = a({
|
|
466
466
|
rowSuffix: "HeaderRow",
|
|
467
467
|
suffixes: [
|
|
468
468
|
"CellHeader",
|
|
@@ -475,14 +475,14 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
475
475
|
"HeaderFocus",
|
|
476
476
|
"HeaderDrag"
|
|
477
477
|
]
|
|
478
|
-
}), jo = a({
|
|
479
|
-
suffixes: ["ColorHovered"]
|
|
480
478
|
}), Uo = a({
|
|
481
|
-
suffixes: ["
|
|
479
|
+
suffixes: ["ColorHovered"]
|
|
482
480
|
}), Xo = a({
|
|
481
|
+
suffixes: ["ColorHoveredRow"]
|
|
482
|
+
}), Ko = a({
|
|
483
483
|
suffixes: ["HoverRowBorder", "HoverRowBorderDynamic"]
|
|
484
|
-
}),
|
|
485
|
-
|
|
484
|
+
}), Yo = [
|
|
485
|
+
ne({
|
|
486
486
|
baseSuffixes: ["HoverRowBorder", "HoverRowBorderDynamic"],
|
|
487
487
|
suffixes: f
|
|
488
488
|
}),
|
|
@@ -490,31 +490,31 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
490
490
|
ancestorSuffixes: ["HoverRowBorder", "HoverRowBorderDynamic"],
|
|
491
491
|
suffixes: f
|
|
492
492
|
})
|
|
493
|
-
].join(", "),
|
|
493
|
+
].join(", "), de = a({
|
|
494
494
|
suffixes: ["ColorSelected", "ColorSelectedCell"]
|
|
495
|
-
}),
|
|
495
|
+
}), ie = a({
|
|
496
496
|
suffixes: ["ColorSelected", "ColorSelectedCell"],
|
|
497
497
|
descendant: " *"
|
|
498
|
-
}),
|
|
498
|
+
}), pe = a({
|
|
499
499
|
suffixes: ["ColorSelectedRow"]
|
|
500
|
-
}),
|
|
501
|
-
se,
|
|
500
|
+
}), Qo = [
|
|
502
501
|
de,
|
|
503
|
-
ie
|
|
504
|
-
|
|
502
|
+
ie,
|
|
503
|
+
pe
|
|
504
|
+
].join(", "), Zo = a({
|
|
505
505
|
suffixes: ["ColorFocused"]
|
|
506
|
-
}), Zo = a({
|
|
507
|
-
suffixes: ["FocusPanelBackground", "FocusRowBackground"]
|
|
508
506
|
}), qo = a({
|
|
509
|
-
suffixes: ["
|
|
507
|
+
suffixes: ["FocusPanelBackground", "FocusRowBackground"]
|
|
510
508
|
}), Jo = a({
|
|
511
|
-
suffixes: ["
|
|
509
|
+
suffixes: ["ColorFocusedRow"]
|
|
512
510
|
}), er = a({
|
|
513
|
-
suffixes: ["
|
|
511
|
+
suffixes: ["FocusRowBorder", "FocusRowBorderDynamic"]
|
|
514
512
|
}), or = a({
|
|
513
|
+
suffixes: ["ColorHoveredCell", "ColorHoveredCellIndex"]
|
|
514
|
+
}), rr = a({
|
|
515
515
|
suffixes: ["HoverCellBorder", "HoverCellBorderDynamic"]
|
|
516
|
-
}),
|
|
517
|
-
|
|
516
|
+
}), tr = [
|
|
517
|
+
ne({
|
|
518
518
|
baseSuffixes: ["HoverCellBorder", "HoverCellBorderDynamic"],
|
|
519
519
|
suffixes: f
|
|
520
520
|
}),
|
|
@@ -522,15 +522,15 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
522
522
|
ancestorSuffixes: ["HoverCellBorder", "HoverCellBorderDynamic"],
|
|
523
523
|
suffixes: f
|
|
524
524
|
})
|
|
525
|
-
].join(", "),
|
|
525
|
+
].join(", "), lr = a({
|
|
526
526
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"]
|
|
527
|
-
}),
|
|
527
|
+
}), ar = a({
|
|
528
528
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"],
|
|
529
529
|
descendant: " *"
|
|
530
|
-
}),
|
|
530
|
+
}), nr = b({
|
|
531
531
|
ancestorSuffixes: ["HoverCellBorder", "HoverCellBorderDynamic"],
|
|
532
532
|
suffixes: ["ColorPreview", "ColorPreviewDynamic", "ColorViewedCell"]
|
|
533
|
-
}),
|
|
533
|
+
}), cr = a({
|
|
534
534
|
suffixes: [
|
|
535
535
|
"ColorHoveredCellSpace",
|
|
536
536
|
"ColorHoveredCellSpaceEdit",
|
|
@@ -544,18 +544,18 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
544
544
|
"ColorHoveredCellTab",
|
|
545
545
|
"ColorHoveredCellTab1"
|
|
546
546
|
]
|
|
547
|
-
}), cr = a({
|
|
548
|
-
suffixes: ["ColorFocusedCell", "ColorFocusedCellRelative"]
|
|
549
547
|
}), sr = a({
|
|
550
|
-
suffixes: ["
|
|
548
|
+
suffixes: ["ColorFocusedCell", "ColorFocusedCellRelative"]
|
|
551
549
|
}), dr = a({
|
|
552
|
-
suffixes: ["
|
|
550
|
+
suffixes: ["ColorFocusedCellRect"]
|
|
553
551
|
}), ir = a({
|
|
554
|
-
suffixes: ["
|
|
552
|
+
suffixes: ["FocusCellBorder"]
|
|
555
553
|
}), pr = a({
|
|
554
|
+
suffixes: ["FocusCellCorner"]
|
|
555
|
+
}), ur = a({
|
|
556
556
|
suffixes: ["ClassFocusedCellSpaceEdit", "ClassFocusedCellSpaceDefaults"],
|
|
557
557
|
descendant: " > div"
|
|
558
|
-
}),
|
|
558
|
+
}), Sr = `.${r} .${oe}`, ue = `.${r} .${B}`, Se = `.${r} .${oe}.${B}`, Rr = `${Se}::after`, Cr = `${ue}::before`, _r = `.${r} .${B}.${Ie}::before`, Er = `.${r} .${B}.${me}::before`, $r = a({
|
|
559
559
|
suffixes: [
|
|
560
560
|
"ColorFocusedCellSafari",
|
|
561
561
|
"ColorFocusedCellSpace",
|
|
@@ -564,30 +564,33 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
564
564
|
"ColorFocusedCellSpaceBool",
|
|
565
565
|
"ColorFocusedCellButton"
|
|
566
566
|
]
|
|
567
|
-
}),
|
|
567
|
+
}), br = a({
|
|
568
568
|
suffixes: ["ClassHoveredCellSpaceEdit", "ClassHoveredCellSpaceDefaults"],
|
|
569
569
|
descendant: " > div"
|
|
570
|
-
}),
|
|
570
|
+
}), wr = a({
|
|
571
571
|
suffixes: ["ClassHoveredCellButtonButton", "ClassHoveredCellButtonButton1"],
|
|
572
572
|
descendant: " u"
|
|
573
|
-
}),
|
|
573
|
+
}), gr = a({
|
|
574
574
|
suffixes: ["ClassHoveredCellTab", "ClassHoveredCellTab1"]
|
|
575
|
-
}),
|
|
575
|
+
}), Or = n.flatMap((e) => [
|
|
576
576
|
`.${e}HintMain:not(.${e}HintHeaderMain):not(.${e}HintFilterMain)`,
|
|
577
577
|
`.${e}HintDataMain`,
|
|
578
578
|
`.${e}HintSpaceSelectOuter`
|
|
579
|
-
]).join(", "),
|
|
579
|
+
]).join(", "), Dr = n.flatMap((e) => {
|
|
580
|
+
const o = `.${e}HintOuter`;
|
|
581
|
+
return [o, `${o} *`];
|
|
582
|
+
}).join(", "), Ir = a({
|
|
580
583
|
suffixes: ["ColorChanged"]
|
|
581
|
-
}),
|
|
584
|
+
}), mr = a({
|
|
582
585
|
suffixes: ["ColorChangedCell"]
|
|
583
|
-
}),
|
|
586
|
+
}), kr = n.flatMap((e) => {
|
|
584
587
|
const o = `${e}ClassFocusedCell`, t = `.${r} .${i}:not(.${o})`;
|
|
585
588
|
return [
|
|
586
589
|
t,
|
|
587
590
|
`${t} *:not(.${o})`
|
|
588
591
|
];
|
|
589
|
-
}).join(", "),
|
|
590
|
-
const o = `.${r} .${i}`, t = `.${r} .${i}.${
|
|
592
|
+
}).join(", "), vr = n.flatMap((e) => {
|
|
593
|
+
const o = `.${r} .${i}`, t = `.${r} .${i}.${ee}`;
|
|
591
594
|
return [
|
|
592
595
|
`${e}ColorSelected`,
|
|
593
596
|
`${e}ColorSelectedCell`,
|
|
@@ -603,7 +606,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
603
606
|
`.${r} .${s} ${o}`,
|
|
604
607
|
`.${r} .${s} ${o} *`
|
|
605
608
|
]);
|
|
606
|
-
}).join(", "),
|
|
609
|
+
}).join(", "), Gr = n.flatMap((e) => {
|
|
607
610
|
const o = `.${r} .${i}`;
|
|
608
611
|
return [
|
|
609
612
|
`${e}ClassFocusedCell`,
|
|
@@ -615,7 +618,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
615
618
|
`.${r} .${c} ${o}`,
|
|
616
619
|
`.${r} .${c} ${o} *`
|
|
617
620
|
]);
|
|
618
|
-
}).join(", "),
|
|
621
|
+
}).join(", "), Tr = n.flatMap((e) => {
|
|
619
622
|
const o = `.${r} .${i}`, t = `${e}HiddenValue`;
|
|
620
623
|
return [
|
|
621
624
|
`${o}.${t}`,
|
|
@@ -623,11 +626,11 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
623
626
|
`.${r} .${t} ${o}`,
|
|
624
627
|
`.${r} .${t} ${o} *`
|
|
625
628
|
];
|
|
626
|
-
}).join(", "),
|
|
629
|
+
}).join(", "), xr = `var(--owp-tree-grid-changed-font-weight, ${_e}) !important`, Fr = a({
|
|
627
630
|
suffixes: ["EditCellBorder"]
|
|
628
|
-
}),
|
|
631
|
+
}), fr = a({
|
|
629
632
|
suffixes: ["EditCellCorner"]
|
|
630
|
-
}),
|
|
633
|
+
}), Br = [
|
|
631
634
|
`.${r} .TSMain .TSDateLeft`,
|
|
632
635
|
`.${r} .TSMain .TSDatesLeft`,
|
|
633
636
|
`.${r} .TSMain .TSDateRight`,
|
|
@@ -636,7 +639,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
636
639
|
`.${r} .TSMain .TSDatesTop`,
|
|
637
640
|
`.${r} .TSMain .TSDateBottom`,
|
|
638
641
|
`.${r} .TSMain .TSDatesBottom`
|
|
639
|
-
].join(", "),
|
|
642
|
+
].join(", "), hr = [
|
|
640
643
|
`.${r} .TSMain .${i}.TSDateLeft`,
|
|
641
644
|
`.${r} .TSMain .${i}.TSDatesLeft`,
|
|
642
645
|
`.${r} .TSMain .${i}.TSDateRight`,
|
|
@@ -645,7 +648,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
645
648
|
`.${r} .TSMain .${i}.TSDatesTop`,
|
|
646
649
|
`.${r} .TSMain .${i}.TSDateBottom`,
|
|
647
650
|
`.${r} .TSMain .${i}.TSDatesBottom`
|
|
648
|
-
].join(", "),
|
|
651
|
+
].join(", "), Ar = [
|
|
649
652
|
"DateLeft",
|
|
650
653
|
"DatesLeft",
|
|
651
654
|
"DateRight",
|
|
@@ -664,13 +667,13 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
664
667
|
`${t}.${s}`,
|
|
665
668
|
`.${r} .${s} ${t}`
|
|
666
669
|
]);
|
|
667
|
-
})).join(", "), M = '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")',
|
|
670
|
+
})).join(", "), M = '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")', Lr = M.replace(
|
|
668
671
|
"%23757575",
|
|
669
672
|
"white"
|
|
670
|
-
),
|
|
673
|
+
), J = $(
|
|
671
674
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#000" d="M4.5 6.25h7L8 9.75z"/></svg>'
|
|
672
|
-
), w = /* @__PURE__ */ l((e, o) => n.flatMap((t) => e.flatMap((c) => o(t, c))).join(", "), "createTreeGridEnumButtonIconSelector"),
|
|
673
|
-
const t =
|
|
675
|
+
), w = /* @__PURE__ */ l((e, o) => n.flatMap((t) => e.flatMap((c) => o(t, c))).join(", "), "createTreeGridEnumButtonIconSelector"), A = /* @__PURE__ */ l((e, o) => `.${r} .${i}.${e}${o}`, "createTreeGridChangedEnumButtonCellSelector"), k = /* @__PURE__ */ l((e, o) => `${A(e, o)}::after`, "createTreeGridChangedEnumButtonPseudoSelector"), Mr = /* @__PURE__ */ l((e, o) => {
|
|
676
|
+
const t = A(e, o), c = `.${r} .${i}.${ee}.${e}${o}`, s = [
|
|
674
677
|
`${e}ColorSelected`,
|
|
675
678
|
`${e}ColorSelectedCell`,
|
|
676
679
|
`${e}ColorSelectedRow`,
|
|
@@ -685,8 +688,8 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
685
688
|
`.${r} .${u} ${t}`
|
|
686
689
|
])
|
|
687
690
|
];
|
|
688
|
-
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"),
|
|
689
|
-
const t =
|
|
691
|
+
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"), Hr = /* @__PURE__ */ l((e, o) => {
|
|
692
|
+
const t = A(e, o);
|
|
690
693
|
return [
|
|
691
694
|
`${e}ClassFocusedCell`,
|
|
692
695
|
`${e}ColorFocusedCell`,
|
|
@@ -695,38 +698,38 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
695
698
|
`${t}.${s}`,
|
|
696
699
|
`.${r} .${s} ${t}`
|
|
697
700
|
]);
|
|
698
|
-
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"),
|
|
699
|
-
|
|
700
|
-
(e, o) => [
|
|
701
|
-
),
|
|
702
|
-
|
|
703
|
-
(e, o) => [
|
|
704
|
-
),
|
|
705
|
-
|
|
706
|
-
(e, o) =>
|
|
701
|
+
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"), Nr = w(
|
|
702
|
+
h,
|
|
703
|
+
(e, o) => [A(e, o)]
|
|
704
|
+
), Vr = w(
|
|
705
|
+
h,
|
|
706
|
+
(e, o) => [k(e, o)]
|
|
707
|
+
), yr = w(
|
|
708
|
+
h,
|
|
709
|
+
(e, o) => Mr(e, o).map(
|
|
707
710
|
(t) => `${t}::after`
|
|
708
711
|
)
|
|
709
|
-
),
|
|
710
|
-
|
|
711
|
-
(e, o) =>
|
|
712
|
+
), Pr = w(
|
|
713
|
+
h,
|
|
714
|
+
(e, o) => Hr(e, o).map(
|
|
712
715
|
(t) => `${t}::after`
|
|
713
716
|
)
|
|
714
|
-
),
|
|
717
|
+
), Wr = w(
|
|
715
718
|
["DefaultsLeft", "EnumLeft"],
|
|
716
|
-
(e, o) => [
|
|
717
|
-
),
|
|
719
|
+
(e, o) => [k(e, o)]
|
|
720
|
+
), zr = w(
|
|
718
721
|
["DefaultsRight", "EnumRight"],
|
|
719
|
-
(e, o) => [
|
|
720
|
-
),
|
|
722
|
+
(e, o) => [k(e, o)]
|
|
723
|
+
), jr = w(
|
|
721
724
|
["DefaultsTop", "EnumTop"],
|
|
722
|
-
(e, o) => [
|
|
723
|
-
),
|
|
725
|
+
(e, o) => [k(e, o)]
|
|
726
|
+
), Ur = w(
|
|
724
727
|
["DefaultsBottom", "EnumBottom"],
|
|
725
|
-
(e, o) => [
|
|
726
|
-
), L = '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")',
|
|
728
|
+
(e, o) => [k(e, o)]
|
|
729
|
+
), L = '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")', Xr = `.${r} .OwpTreeGridTimePickerEditorIcon`, Kr = [
|
|
727
730
|
`.${r} .${i} .OwpTreeGridTimePickerEditorIcon`,
|
|
728
731
|
`.${r} .${i}.OwpTreeGridTimePickerEditorIcon`
|
|
729
|
-
].join(", "),
|
|
732
|
+
].join(", "), Yr = n.flatMap((e) => {
|
|
730
733
|
const o = `.${r} .${i}`;
|
|
731
734
|
return [
|
|
732
735
|
`${e}ClassFocusedCell`,
|
|
@@ -738,45 +741,39 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
738
741
|
`.${r} .${c} ${o} .OwpTreeGridTimePickerEditorIcon`,
|
|
739
742
|
`.${r} .${c} ${o}.OwpTreeGridTimePickerEditorIcon`
|
|
740
743
|
]);
|
|
741
|
-
}).join(", "),
|
|
744
|
+
}).join(", "), Qr = n.map(
|
|
742
745
|
(e) => `.${e}EnumMenuMain, .${e}EnumMenuMain *`
|
|
743
|
-
).join(", "),
|
|
746
|
+
).join(", "), Zr = n.map(
|
|
744
747
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar`
|
|
745
|
-
).join(", "),
|
|
748
|
+
).join(", "), qr = n.map(
|
|
746
749
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb`
|
|
747
|
-
).join(", "),
|
|
750
|
+
).join(", "), Jr = n.map(
|
|
748
751
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb:hover`
|
|
749
|
-
).join(", "),
|
|
752
|
+
).join(", "), et = n.map(
|
|
750
753
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-track`
|
|
751
|
-
).join(", "),
|
|
754
|
+
).join(", "), ot = n.map(
|
|
752
755
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-corner`
|
|
753
|
-
).join(", "),
|
|
754
|
-
...
|
|
755
|
-
[
|
|
756
|
+
).join(", "), ct = {
|
|
757
|
+
...po(),
|
|
758
|
+
[Io]: {
|
|
756
759
|
fontFamily: `${N} !important`,
|
|
757
760
|
fontSize: "var(--owp-tree-grid-cell-font-size, 13px)",
|
|
758
761
|
fontWeight: "normal",
|
|
759
762
|
lineHeight: "16px"
|
|
760
763
|
},
|
|
761
|
-
[
|
|
764
|
+
[mo]: {
|
|
762
765
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
763
766
|
},
|
|
764
767
|
[ko]: {
|
|
765
768
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
766
769
|
},
|
|
767
|
-
[
|
|
770
|
+
[vo]: p(
|
|
768
771
|
"--owp-tree-grid-body-background-color",
|
|
769
772
|
"#FFFFFF"
|
|
770
773
|
),
|
|
771
|
-
[
|
|
774
|
+
[Go]: {
|
|
772
775
|
borderTopColor: `${C} !important`
|
|
773
776
|
},
|
|
774
|
-
[Ro]: {
|
|
775
|
-
backgroundImage: `${oo} !important`,
|
|
776
|
-
backgroundPosition: "center center !important",
|
|
777
|
-
backgroundRepeat: "no-repeat !important",
|
|
778
|
-
backgroundSize: "17px 17px !important"
|
|
779
|
-
},
|
|
780
777
|
[Co]: {
|
|
781
778
|
backgroundImage: `${ro} !important`,
|
|
782
779
|
backgroundPosition: "center center !important",
|
|
@@ -784,71 +781,77 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
784
781
|
backgroundSize: "17px 17px !important"
|
|
785
782
|
},
|
|
786
783
|
[_o]: {
|
|
787
|
-
backgroundImage: `${
|
|
784
|
+
backgroundImage: `${to} !important`,
|
|
788
785
|
backgroundPosition: "center center !important",
|
|
789
786
|
backgroundRepeat: "no-repeat !important",
|
|
790
787
|
backgroundSize: "17px 17px !important"
|
|
791
788
|
},
|
|
792
789
|
[Eo]: {
|
|
793
|
-
backgroundImage: `${
|
|
790
|
+
backgroundImage: `${Y} !important`,
|
|
794
791
|
backgroundPosition: "center center !important",
|
|
795
792
|
backgroundRepeat: "no-repeat !important",
|
|
796
793
|
backgroundSize: "17px 17px !important"
|
|
797
794
|
},
|
|
798
795
|
[$o]: {
|
|
799
|
-
backgroundImage: `${
|
|
796
|
+
backgroundImage: `${Q} !important`,
|
|
797
|
+
backgroundPosition: "center center !important",
|
|
798
|
+
backgroundRepeat: "no-repeat !important",
|
|
799
|
+
backgroundSize: "17px 17px !important"
|
|
800
800
|
},
|
|
801
801
|
[bo]: {
|
|
802
|
-
backgroundImage: `${
|
|
802
|
+
backgroundImage: `${Q} !important`
|
|
803
803
|
},
|
|
804
804
|
[wo]: {
|
|
805
|
-
backgroundImage: `${
|
|
805
|
+
backgroundImage: `${lo} !important`
|
|
806
806
|
},
|
|
807
807
|
[go]: {
|
|
808
|
-
|
|
808
|
+
backgroundImage: `${Y} !important`
|
|
809
|
+
},
|
|
810
|
+
[Oo]: {
|
|
811
|
+
WebkitMaskImage: `${Z} !important`,
|
|
809
812
|
WebkitMaskPosition: "center center !important",
|
|
810
813
|
WebkitMaskRepeat: "no-repeat !important",
|
|
811
814
|
WebkitMaskSize: "17px 17px !important",
|
|
812
|
-
backgroundColor: `${
|
|
815
|
+
backgroundColor: `${ao} !important`,
|
|
813
816
|
backgroundImage: "none !important",
|
|
814
817
|
height: "17px !important",
|
|
815
|
-
maskImage: `${
|
|
818
|
+
maskImage: `${Z} !important`,
|
|
816
819
|
maskPosition: "center center !important",
|
|
817
820
|
maskRepeat: "no-repeat !important",
|
|
818
821
|
maskSize: "17px 17px !important",
|
|
819
822
|
opacity: 0.72,
|
|
820
823
|
width: "17px !important"
|
|
821
824
|
},
|
|
822
|
-
[
|
|
823
|
-
WebkitMaskImage: `${
|
|
825
|
+
[Do]: {
|
|
826
|
+
WebkitMaskImage: `${q} !important`,
|
|
824
827
|
WebkitMaskPosition: "center center !important",
|
|
825
828
|
WebkitMaskRepeat: "no-repeat !important",
|
|
826
829
|
WebkitMaskSize: "17px 17px !important",
|
|
827
|
-
backgroundColor: `${
|
|
830
|
+
backgroundColor: `${no} !important`,
|
|
828
831
|
backgroundImage: "none !important",
|
|
829
832
|
height: "17px !important",
|
|
830
|
-
maskImage: `${
|
|
833
|
+
maskImage: `${q} !important`,
|
|
831
834
|
maskPosition: "center center !important",
|
|
832
835
|
maskRepeat: "no-repeat !important",
|
|
833
836
|
maskSize: "17px 17px !important",
|
|
834
837
|
opacity: 1,
|
|
835
838
|
width: "17px !important"
|
|
836
839
|
},
|
|
837
|
-
[
|
|
840
|
+
[Br]: {
|
|
838
841
|
backgroundImage: `${M} !important`
|
|
839
842
|
},
|
|
840
|
-
[
|
|
841
|
-
backgroundImage: `${
|
|
843
|
+
[hr]: {
|
|
844
|
+
backgroundImage: `${Lr} !important`
|
|
842
845
|
},
|
|
843
|
-
[
|
|
846
|
+
[Ar]: {
|
|
844
847
|
backgroundImage: `${M} !important`
|
|
845
848
|
},
|
|
846
|
-
[
|
|
849
|
+
[Nr]: {
|
|
847
850
|
backgroundImage: "none !important",
|
|
848
851
|
position: "relative"
|
|
849
852
|
},
|
|
850
|
-
[
|
|
851
|
-
WebkitMaskImage: `${
|
|
853
|
+
[Vr]: {
|
|
854
|
+
WebkitMaskImage: `${J} !important`,
|
|
852
855
|
WebkitMaskPosition: "center center !important",
|
|
853
856
|
WebkitMaskRepeat: "no-repeat !important",
|
|
854
857
|
WebkitMaskSize: "16px 16px !important",
|
|
@@ -857,7 +860,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
857
860
|
content: '""',
|
|
858
861
|
display: "block",
|
|
859
862
|
height: "16px",
|
|
860
|
-
maskImage: `${
|
|
863
|
+
maskImage: `${J} !important`,
|
|
861
864
|
maskPosition: "center center !important",
|
|
862
865
|
maskRepeat: "no-repeat !important",
|
|
863
866
|
maskSize: "16px 16px !important",
|
|
@@ -865,33 +868,33 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
865
868
|
position: "absolute",
|
|
866
869
|
width: "16px"
|
|
867
870
|
},
|
|
868
|
-
[
|
|
871
|
+
[yr]: {
|
|
869
872
|
backgroundColor: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
870
873
|
},
|
|
871
|
-
[
|
|
874
|
+
[Pr]: {
|
|
872
875
|
backgroundColor: `${V} !important`
|
|
873
876
|
},
|
|
874
|
-
[
|
|
877
|
+
[Wr]: {
|
|
875
878
|
left: "4px",
|
|
876
879
|
top: "50%",
|
|
877
880
|
transform: "translateY(-50%)"
|
|
878
881
|
},
|
|
879
|
-
[
|
|
882
|
+
[zr]: {
|
|
880
883
|
right: "4px",
|
|
881
884
|
top: "50%",
|
|
882
885
|
transform: "translateY(-50%)"
|
|
883
886
|
},
|
|
884
|
-
[
|
|
887
|
+
[jr]: {
|
|
885
888
|
left: "50%",
|
|
886
889
|
top: "0",
|
|
887
890
|
transform: "translateX(-50%)"
|
|
888
891
|
},
|
|
889
|
-
[
|
|
892
|
+
[Ur]: {
|
|
890
893
|
bottom: "0",
|
|
891
894
|
left: "50%",
|
|
892
895
|
transform: "translateX(-50%)"
|
|
893
896
|
},
|
|
894
|
-
[
|
|
897
|
+
[Xr]: {
|
|
895
898
|
backgroundImage: L,
|
|
896
899
|
backgroundPosition: "center calc(50% - 1px)",
|
|
897
900
|
backgroundRepeat: "no-repeat",
|
|
@@ -903,7 +906,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
903
906
|
verticalAlign: "middle",
|
|
904
907
|
width: "16px"
|
|
905
908
|
},
|
|
906
|
-
[
|
|
909
|
+
[Kr]: {
|
|
907
910
|
WebkitMaskImage: L,
|
|
908
911
|
WebkitMaskPosition: "center calc(50% - 1px)",
|
|
909
912
|
WebkitMaskRepeat: "no-repeat",
|
|
@@ -915,42 +918,42 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
915
918
|
maskRepeat: "no-repeat",
|
|
916
919
|
maskSize: "16px 16px"
|
|
917
920
|
},
|
|
918
|
-
[
|
|
921
|
+
[Yr]: {
|
|
919
922
|
backgroundColor: `${V} !important`
|
|
920
923
|
},
|
|
921
|
-
[
|
|
924
|
+
[Qr]: {
|
|
922
925
|
scrollbarColor: "rgba(0, 0, 0, 0.32) transparent",
|
|
923
926
|
scrollbarWidth: "thin"
|
|
924
927
|
},
|
|
925
|
-
[
|
|
928
|
+
[Zr]: {
|
|
926
929
|
height: "8px",
|
|
927
930
|
width: "8px"
|
|
928
931
|
},
|
|
929
|
-
[
|
|
932
|
+
[qr]: {
|
|
930
933
|
backgroundClip: "padding-box",
|
|
931
934
|
backgroundColor: "rgba(0, 0, 0, 0.32)",
|
|
932
935
|
border: "2px solid transparent",
|
|
933
936
|
borderRadius: "8px"
|
|
934
937
|
},
|
|
935
|
-
[
|
|
938
|
+
[Jr]: {
|
|
936
939
|
backgroundColor: "rgba(0, 0, 0, 0.44)"
|
|
937
940
|
},
|
|
938
|
-
[
|
|
941
|
+
[et]: {
|
|
939
942
|
backgroundColor: "transparent"
|
|
940
943
|
},
|
|
941
|
-
[
|
|
944
|
+
[ot]: {
|
|
942
945
|
backgroundColor: "transparent"
|
|
943
946
|
},
|
|
944
947
|
[H]: {
|
|
945
948
|
position: "relative"
|
|
946
949
|
},
|
|
947
|
-
[
|
|
950
|
+
[To]: {
|
|
948
951
|
borderBottom: "0 !important",
|
|
949
952
|
borderRadius: `${d} ${d} 0 0`,
|
|
950
953
|
clipPath: `inset(0 round ${d} ${d} 0 0)`,
|
|
951
954
|
overflow: "hidden"
|
|
952
955
|
},
|
|
953
|
-
[
|
|
956
|
+
[xo]: {
|
|
954
957
|
border: `${S} solid ${C}`,
|
|
955
958
|
borderBottom: 0,
|
|
956
959
|
borderRadius: `${d} ${d} 0 0`,
|
|
@@ -965,35 +968,35 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
965
968
|
top: 0,
|
|
966
969
|
zIndex: 2
|
|
967
970
|
},
|
|
968
|
-
[
|
|
971
|
+
[Fo]: {
|
|
969
972
|
borderLeft: `${S} solid ${C}`,
|
|
970
973
|
borderRight: `${S} solid ${C}`,
|
|
971
974
|
boxSizing: "border-box",
|
|
972
975
|
content: '""',
|
|
973
976
|
display: "block",
|
|
974
|
-
height:
|
|
977
|
+
height: Bo,
|
|
975
978
|
left: 0,
|
|
976
979
|
pointerEvents: "none",
|
|
977
980
|
position: "absolute",
|
|
978
981
|
right: 0,
|
|
979
|
-
top:
|
|
982
|
+
top: fo,
|
|
980
983
|
zIndex: 2
|
|
981
984
|
},
|
|
982
|
-
[
|
|
985
|
+
[ho]: {
|
|
983
986
|
borderTop: `${S} solid ${C} !important`
|
|
984
987
|
},
|
|
985
988
|
[Ao]: {
|
|
986
989
|
boxShadow: `inset -${S} 0 0 ${C}`
|
|
987
990
|
},
|
|
988
|
-
[
|
|
991
|
+
[Lo]: {
|
|
989
992
|
boxShadow: `inset -${S} 0 0 ${C}`
|
|
990
993
|
},
|
|
991
|
-
[
|
|
994
|
+
[Mo]: {
|
|
992
995
|
borderTopColor: "transparent !important",
|
|
993
996
|
overflow: "visible",
|
|
994
997
|
position: "relative"
|
|
995
998
|
},
|
|
996
|
-
[
|
|
999
|
+
[Ho]: {
|
|
997
1000
|
border: `${S} solid ${C}`,
|
|
998
1001
|
borderBottomLeftRadius: d,
|
|
999
1002
|
borderBottomRightRadius: d,
|
|
@@ -1010,7 +1013,7 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
1010
1013
|
transform: `translateY(calc(-100% - ${S}))`,
|
|
1011
1014
|
zIndex: 2
|
|
1012
1015
|
},
|
|
1013
|
-
[
|
|
1016
|
+
[No]: {
|
|
1014
1017
|
backgroundImage: `radial-gradient(circle at right top, transparent calc(${d} - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) ${d}), radial-gradient(circle at left top, transparent calc(${d} - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) ${d})`,
|
|
1015
1018
|
backgroundPosition: "left top, right top",
|
|
1016
1019
|
backgroundRepeat: "no-repeat",
|
|
@@ -1026,52 +1029,54 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
1026
1029
|
transform: `translateY(calc(-100% - ${S}))`,
|
|
1027
1030
|
zIndex: 1
|
|
1028
1031
|
},
|
|
1029
|
-
[
|
|
1032
|
+
[Vo]: x(
|
|
1030
1033
|
"--owp-tree-grid-body-fill-background-color"
|
|
1031
1034
|
),
|
|
1032
|
-
[
|
|
1035
|
+
[yo]: x(
|
|
1033
1036
|
"--owp-tree-grid-row-solid-background-color"
|
|
1034
1037
|
),
|
|
1035
|
-
[
|
|
1038
|
+
[Po]: x(
|
|
1036
1039
|
"--owp-tree-grid-toolbar-row-background-color"
|
|
1037
1040
|
),
|
|
1038
|
-
[
|
|
1041
|
+
[ce]: p(
|
|
1039
1042
|
"--owp-tree-grid-row-background-color",
|
|
1040
1043
|
"#FFFFFF"
|
|
1041
1044
|
),
|
|
1042
|
-
[
|
|
1045
|
+
[se]: p(
|
|
1043
1046
|
"--owp-tree-grid-row-background-color",
|
|
1044
1047
|
"#FFFFFE"
|
|
1045
1048
|
),
|
|
1046
|
-
[
|
|
1047
|
-
transition:
|
|
1049
|
+
[Wo]: {
|
|
1050
|
+
transition: K
|
|
1048
1051
|
},
|
|
1049
|
-
[
|
|
1050
|
-
boxShadow:
|
|
1052
|
+
[Sr]: {
|
|
1053
|
+
boxShadow: ve,
|
|
1051
1054
|
outline: "none",
|
|
1052
1055
|
position: "relative",
|
|
1053
1056
|
zIndex: 3
|
|
1054
1057
|
},
|
|
1055
|
-
[
|
|
1056
|
-
|
|
1058
|
+
[Se]: {
|
|
1059
|
+
boxShadow: "none !important",
|
|
1060
|
+
outline: "none",
|
|
1061
|
+
position: "relative"
|
|
1062
|
+
},
|
|
1063
|
+
[Rr]: {
|
|
1064
|
+
border: `${re} solid ${te}`,
|
|
1057
1065
|
boxSizing: "border-box",
|
|
1058
1066
|
content: '""',
|
|
1059
1067
|
display: "block",
|
|
1060
|
-
inset:
|
|
1068
|
+
inset: Ge,
|
|
1061
1069
|
pointerEvents: "none",
|
|
1062
1070
|
position: "absolute",
|
|
1063
1071
|
zIndex: 4
|
|
1064
1072
|
},
|
|
1065
|
-
[Sr]: {
|
|
1066
|
-
inset: `calc(${y} + ${k})`
|
|
1067
|
-
},
|
|
1068
1073
|
[ue]: {
|
|
1069
1074
|
position: "relative"
|
|
1070
1075
|
},
|
|
1071
|
-
[
|
|
1076
|
+
[Cr]: {
|
|
1072
1077
|
backgroundColor: "transparent",
|
|
1073
|
-
borderBottom: `${
|
|
1074
|
-
borderTop: `${
|
|
1078
|
+
borderBottom: `${v} solid ${T}`,
|
|
1079
|
+
borderTop: `${v} solid ${T}`,
|
|
1075
1080
|
bottom: G,
|
|
1076
1081
|
boxSizing: "border-box",
|
|
1077
1082
|
content: '""',
|
|
@@ -1086,94 +1091,90 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
1086
1091
|
top: G,
|
|
1087
1092
|
zIndex: 2
|
|
1088
1093
|
},
|
|
1089
|
-
[
|
|
1094
|
+
[_r]: {
|
|
1090
1095
|
borderBottomLeftRadius: "2px",
|
|
1091
|
-
borderLeft: `${
|
|
1096
|
+
borderLeft: `${v} solid ${T}`,
|
|
1092
1097
|
borderTopLeftRadius: "2px",
|
|
1093
1098
|
left: G
|
|
1094
1099
|
},
|
|
1095
|
-
[
|
|
1100
|
+
[Er]: {
|
|
1096
1101
|
borderBottomRightRadius: "2px",
|
|
1097
|
-
borderRight: `${
|
|
1102
|
+
borderRight: `${v} solid ${T}`,
|
|
1098
1103
|
borderTopRightRadius: "2px",
|
|
1099
1104
|
right: G
|
|
1100
1105
|
},
|
|
1101
|
-
[
|
|
1106
|
+
[zo]: {
|
|
1102
1107
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important",
|
|
1103
1108
|
fontFamily: `${N} !important`,
|
|
1104
1109
|
fontSize: "var(--owp-tree-grid-header-font-size, 14px) !important",
|
|
1105
1110
|
fontWeight: "var(--owp-tree-grid-header-font-weight, normal) !important",
|
|
1106
1111
|
lineHeight: "16px"
|
|
1107
1112
|
},
|
|
1108
|
-
[
|
|
1113
|
+
[jo]: {
|
|
1109
1114
|
backgroundColor: "var(--owp-tree-grid-header-background-color, #586980) !important",
|
|
1110
1115
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important"
|
|
1111
1116
|
},
|
|
1112
|
-
[
|
|
1117
|
+
[Uo]: p(
|
|
1113
1118
|
"--owp-tree-grid-hover-row-background-color",
|
|
1114
1119
|
E
|
|
1115
1120
|
),
|
|
1116
|
-
[
|
|
1121
|
+
[Xo]: p(
|
|
1117
1122
|
"--owp-tree-grid-hover-row-background-color",
|
|
1118
1123
|
E
|
|
1119
1124
|
),
|
|
1120
|
-
[Xo]: m(
|
|
1121
|
-
W
|
|
1122
|
-
),
|
|
1123
1125
|
[Ko]: m(
|
|
1124
|
-
|
|
1126
|
+
P
|
|
1125
1127
|
),
|
|
1126
|
-
[
|
|
1127
|
-
|
|
1128
|
-
"#FFFFA6"
|
|
1128
|
+
[Yo]: m(
|
|
1129
|
+
P
|
|
1129
1130
|
),
|
|
1130
1131
|
[de]: p(
|
|
1131
1132
|
"--owp-tree-grid-selected-cell-background-color",
|
|
1132
1133
|
"#FFFFA6"
|
|
1133
1134
|
),
|
|
1134
1135
|
[ie]: p(
|
|
1136
|
+
"--owp-tree-grid-selected-cell-background-color",
|
|
1137
|
+
"#FFFFA6"
|
|
1138
|
+
),
|
|
1139
|
+
[pe]: p(
|
|
1135
1140
|
"--owp-tree-grid-selected-row-background-color",
|
|
1136
1141
|
"#EEE"
|
|
1137
1142
|
),
|
|
1138
|
-
[Yo]: {
|
|
1139
|
-
transition: Y
|
|
1140
|
-
},
|
|
1141
1143
|
[Qo]: {
|
|
1144
|
+
transition: K
|
|
1145
|
+
},
|
|
1146
|
+
[Zo]: {
|
|
1142
1147
|
backgroundColor: "transparent",
|
|
1143
1148
|
backgroundImage: "none"
|
|
1144
1149
|
},
|
|
1145
|
-
[
|
|
1150
|
+
[qo]: {
|
|
1146
1151
|
background: "transparent !important",
|
|
1147
1152
|
backgroundColor: "transparent !important",
|
|
1148
1153
|
backgroundImage: "none !important",
|
|
1149
1154
|
opacity: "0 !important"
|
|
1150
1155
|
},
|
|
1151
|
-
[
|
|
1156
|
+
[Jo]: {
|
|
1152
1157
|
backgroundColor: "transparent",
|
|
1153
1158
|
backgroundImage: "none"
|
|
1154
1159
|
},
|
|
1155
|
-
[
|
|
1160
|
+
[er]: {
|
|
1156
1161
|
border: "0 none transparent !important",
|
|
1157
1162
|
borderColor: "transparent !important",
|
|
1158
1163
|
boxShadow: "none !important",
|
|
1159
1164
|
backgroundColor: "transparent !important",
|
|
1160
1165
|
outlineColor: "transparent !important"
|
|
1161
1166
|
},
|
|
1162
|
-
[
|
|
1167
|
+
[or]: p(
|
|
1163
1168
|
"--owp-tree-grid-hover-cell-background-color",
|
|
1164
1169
|
E
|
|
1165
1170
|
),
|
|
1166
|
-
[
|
|
1171
|
+
[rr]: {
|
|
1167
1172
|
...m(_),
|
|
1168
|
-
backgroundColor: `${
|
|
1173
|
+
backgroundColor: `${Te} !important`
|
|
1169
1174
|
},
|
|
1170
|
-
[
|
|
1175
|
+
[tr]: m(
|
|
1171
1176
|
_
|
|
1172
1177
|
),
|
|
1173
|
-
[tr]: p(
|
|
1174
|
-
"--owp-tree-grid-hover-cell-background-color",
|
|
1175
|
-
E
|
|
1176
|
-
),
|
|
1177
1178
|
[lr]: p(
|
|
1178
1179
|
"--owp-tree-grid-hover-cell-background-color",
|
|
1179
1180
|
E
|
|
@@ -1186,73 +1187,80 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
1186
1187
|
"--owp-tree-grid-hover-cell-background-color",
|
|
1187
1188
|
E
|
|
1188
1189
|
),
|
|
1189
|
-
[
|
|
1190
|
-
|
|
1191
|
-
|
|
1190
|
+
[cr]: p(
|
|
1191
|
+
"--owp-tree-grid-hover-cell-background-color",
|
|
1192
|
+
E
|
|
1193
|
+
),
|
|
1192
1194
|
[br]: {
|
|
1193
1195
|
borderColor: `${_} !important`
|
|
1194
1196
|
},
|
|
1195
1197
|
[wr]: {
|
|
1198
|
+
borderColor: `${_} !important`
|
|
1199
|
+
},
|
|
1200
|
+
[gr]: {
|
|
1196
1201
|
borderTopColor: `${_} !important`,
|
|
1197
1202
|
borderBottomColor: `${_} !important`,
|
|
1198
1203
|
outlineColor: `${_} !important`
|
|
1199
1204
|
},
|
|
1200
|
-
[
|
|
1205
|
+
[Or]: io(
|
|
1201
1206
|
_
|
|
1202
1207
|
),
|
|
1203
|
-
[
|
|
1208
|
+
[Dr]: {
|
|
1209
|
+
fontWeight: "600 !important"
|
|
1210
|
+
},
|
|
1211
|
+
[sr]: p(
|
|
1204
1212
|
"--owp-tree-grid-focused-cell-background-color",
|
|
1205
1213
|
"#FFFFFE"
|
|
1206
1214
|
),
|
|
1207
|
-
[
|
|
1215
|
+
[dr]: {
|
|
1208
1216
|
backgroundColor: "var(--owp-tree-grid-focused-cell-rect-background-color) !important"
|
|
1209
1217
|
},
|
|
1210
|
-
[
|
|
1218
|
+
[ir]: {
|
|
1211
1219
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important",
|
|
1212
|
-
boxSizing:
|
|
1220
|
+
boxSizing: y
|
|
1213
1221
|
},
|
|
1214
|
-
[
|
|
1222
|
+
[pr]: {
|
|
1215
1223
|
backgroundColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
1216
1224
|
},
|
|
1217
|
-
[
|
|
1225
|
+
[ur]: {
|
|
1218
1226
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
1219
1227
|
},
|
|
1220
|
-
[
|
|
1228
|
+
[$r]: x(
|
|
1221
1229
|
"--owp-tree-grid-focused-cell-background-color"
|
|
1222
1230
|
),
|
|
1223
1231
|
[Ir]: {
|
|
1224
1232
|
backgroundColor: "transparent",
|
|
1225
1233
|
backgroundImage: "none"
|
|
1226
1234
|
},
|
|
1227
|
-
[
|
|
1235
|
+
[mr]: p(
|
|
1228
1236
|
"--owp-tree-grid-changed-background-color",
|
|
1229
1237
|
"#EEE"
|
|
1230
1238
|
),
|
|
1231
|
-
[
|
|
1239
|
+
[kr]: {
|
|
1232
1240
|
color: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
1233
|
-
fontWeight:
|
|
1241
|
+
fontWeight: xr
|
|
1234
1242
|
},
|
|
1235
|
-
[
|
|
1243
|
+
[vr]: {
|
|
1236
1244
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
1237
1245
|
fontWeight: "normal !important"
|
|
1238
1246
|
},
|
|
1239
|
-
[
|
|
1247
|
+
[Gr]: {
|
|
1240
1248
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
1241
1249
|
fontWeight: "normal !important"
|
|
1242
1250
|
},
|
|
1243
|
-
[
|
|
1251
|
+
[Tr]: {
|
|
1244
1252
|
color: "transparent !important"
|
|
1245
1253
|
},
|
|
1246
|
-
[
|
|
1254
|
+
[Fr]: {
|
|
1247
1255
|
borderColor: "var(--owp-tree-grid-editing-cell-border-color) !important",
|
|
1248
|
-
boxSizing:
|
|
1256
|
+
boxSizing: y
|
|
1249
1257
|
},
|
|
1250
|
-
[
|
|
1258
|
+
[fr]: {
|
|
1251
1259
|
backgroundColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
1252
1260
|
}
|
|
1253
|
-
}, F = /* @__PURE__ */ l((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"),
|
|
1261
|
+
}, F = /* @__PURE__ */ l((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), rt = /* @__PURE__ */ l((e, o, t) => {
|
|
1254
1262
|
t && (e[o] = t);
|
|
1255
|
-
}, "setOptionalTreeGridCssVariable"),
|
|
1263
|
+
}, "setOptionalTreeGridCssVariable"), st = /* @__PURE__ */ l(({
|
|
1256
1264
|
width: e,
|
|
1257
1265
|
height: o,
|
|
1258
1266
|
treeGridTheme: t,
|
|
@@ -1262,13 +1270,13 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
1262
1270
|
}) => {
|
|
1263
1271
|
const R = {
|
|
1264
1272
|
height: o,
|
|
1265
|
-
"--owp-tree-grid-added-row-box-color":
|
|
1273
|
+
"--owp-tree-grid-added-row-box-color": le,
|
|
1266
1274
|
width: e
|
|
1267
1275
|
};
|
|
1268
|
-
for (const { cssVariableName:
|
|
1269
|
-
|
|
1270
|
-
for (const { cssVariableName:
|
|
1271
|
-
R[
|
|
1276
|
+
for (const { cssVariableName: I, getValue: g } of co)
|
|
1277
|
+
rt(R, I, g(c));
|
|
1278
|
+
for (const { cssVariableName: I, getValue: g } of so)
|
|
1279
|
+
R[I] = g(t);
|
|
1272
1280
|
return u !== void 0 && (R["--owp-tree-grid-table-border-radius"] = F(u)), {
|
|
1273
1281
|
...R,
|
|
1274
1282
|
...s
|
|
@@ -1276,19 +1284,19 @@ const r = "owp-tree-grid-theme", D = "owp-tree-grid-table-radius", be = "owp-tre
|
|
|
1276
1284
|
}, "createTreeGridThemeContainerStyle");
|
|
1277
1285
|
export {
|
|
1278
1286
|
B as TREE_GRID_ADDED_ROW_BOX_CELL_CLASS,
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1287
|
+
me as TREE_GRID_ADDED_ROW_BOX_END_CLASS,
|
|
1288
|
+
Ie as TREE_GRID_ADDED_ROW_BOX_START_CLASS,
|
|
1289
|
+
oe as TREE_GRID_ERROR_CELL_CLASS,
|
|
1282
1290
|
ke as TREE_GRID_HOVER_CELL_BORDER_COLOR_CSS_VARIABLE,
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1291
|
+
we as TREE_GRID_PANEL_CHECKBOX_SELECT_CLASS,
|
|
1292
|
+
ee as TREE_GRID_SELECTED_CHANGED_CELL_CLASS,
|
|
1293
|
+
ge as TREE_GRID_SELECT_ALL_CHECKED_CLASS,
|
|
1294
|
+
Oe as TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS,
|
|
1295
|
+
De as TREE_GRID_SELECT_ALL_UNCHECKED_CLASS,
|
|
1288
1296
|
n as TREE_GRID_STYLE_PREFIXES,
|
|
1289
1297
|
D as TREE_GRID_THEME_TABLE_RADIUS_CLASS,
|
|
1290
1298
|
r as TREE_GRID_THEME_WRAPPER_CLASS,
|
|
1291
|
-
|
|
1292
|
-
|
|
1299
|
+
st as createTreeGridThemeContainerStyle,
|
|
1300
|
+
ct as treeGridThemeStyles
|
|
1293
1301
|
};
|
|
1294
1302
|
//# sourceMappingURL=treeGridTheme.js.map
|