@owp/core 2.5.36 → 2.5.37
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/_virtual/index10.js +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/components/OwpTable/OwpDataTable.js +187 -183
- package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +279 -311
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +563 -481
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +282 -248
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/constants/treeGrid.js +17 -16
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +24 -23
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +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/EAN_UPC/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +4 -1
- package/dist/types/constants/treeGrid.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var l = (e, o) =>
|
|
3
|
-
import { TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT as
|
|
4
|
-
import { DEFAULT_TABLE_RADIUS as
|
|
5
|
-
|
|
1
|
+
var U = Object.defineProperty;
|
|
2
|
+
var l = (e, o) => U(e, "name", { value: o, configurable: !0 });
|
|
3
|
+
import { TREEGRID_ADDED_ROW_BACKGROUND_COLOR as X, TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT as Y, TREEGRID_FONT_FAMILY_STACK as T, TREEGRID_ERROR_CELL_BORDER_COLOR as K, TREEGRID_CELL_CHANGED_CLASS as i } from "../../../constants/treeGrid.js";
|
|
4
|
+
import { DEFAULT_TABLE_RADIUS as Q } from "../../../constants/table.js";
|
|
5
|
+
import { darken as q } from "@mui/material/styles";
|
|
6
|
+
const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", J = "owp-tree-grid-panel-checkbox-select", Z = "owp-tree-grid-select-all-checked", ee = "owp-tree-grid-select-all-indeterminate", oe = "owp-tree-grid-select-all-unchecked", N = "owp-tree-grid-selected-changed-cell", re = "owp-tree-grid-error-cell", H = "owp-tree-grid-added-row-box-cell", te = "owp-tree-grid-added-row-box-start", le = "owp-tree-grid-added-row-box-end", n = [
|
|
6
7
|
"TS",
|
|
7
8
|
"TW",
|
|
8
9
|
"TB",
|
|
@@ -19,7 +20,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
19
20
|
"CR",
|
|
20
21
|
"CP",
|
|
21
22
|
"CC"
|
|
22
|
-
], b = "#CDD8E4", p = "1px", d = `var(--owp-tree-grid-table-border-radius, ${
|
|
23
|
+
], b = "#CDD8E4", p = "1px", d = `var(--owp-tree-grid-table-border-radius, ${Q})`, L = "#757575", ae = "2px", ce = "2px", ne = `var(--owp-tree-grid-error-cell-border-color, ${K})`, h = "2px", D = "2px", z = q(X, 0.22), F = `var(--owp-tree-grid-added-row-box-color, ${z})`, G = [
|
|
23
24
|
"DefaultsLeft",
|
|
24
25
|
"DefaultsRight",
|
|
25
26
|
"DefaultsTop",
|
|
@@ -28,21 +29,21 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
28
29
|
"EnumRight",
|
|
29
30
|
"EnumTop",
|
|
30
31
|
"EnumBottom"
|
|
31
|
-
], $ = /* @__PURE__ */ l((e) => `url("data:image/svg+xml,${encodeURIComponent(e)}")`, "createTreeGridSvgBackgroundImage"),
|
|
32
|
+
], $ = /* @__PURE__ */ l((e) => `url("data:image/svg+xml,${encodeURIComponent(e)}")`, "createTreeGridSvgBackgroundImage"), de = $(
|
|
32
33
|
'<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>'
|
|
33
|
-
),
|
|
34
|
+
), se = $(
|
|
34
35
|
'<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>'
|
|
35
|
-
),
|
|
36
|
+
), V = $(
|
|
36
37
|
'<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>'
|
|
37
|
-
),
|
|
38
|
+
), O = $(
|
|
38
39
|
'<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>'
|
|
39
|
-
),
|
|
40
|
+
), ie = $(
|
|
40
41
|
'<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>'
|
|
41
|
-
),
|
|
42
|
+
), A = $(
|
|
42
43
|
'<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>'
|
|
43
|
-
),
|
|
44
|
+
), P = $(
|
|
44
45
|
'<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>'
|
|
45
|
-
),
|
|
46
|
+
), ue = "var(--owp-tree-grid-header-background-color, #586980)", pe = "var(--owp-tree-grid-focused-cell-border-color, var(--owp-tree-grid-hover-cell-border-color, var(--owp-tree-grid-header-background-color, #586980)))", Ce = [
|
|
46
47
|
{
|
|
47
48
|
cssVariableName: "--owp-tree-grid-body-background-color",
|
|
48
49
|
getValue: /* @__PURE__ */ l((e) => {
|
|
@@ -190,7 +191,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
190
191
|
return ((o = e == null ? void 0 : e.changed) == null ? void 0 : o.fontWeight) === void 0 ? void 0 : String(e.changed.fontWeight);
|
|
191
192
|
}, "getValue")
|
|
192
193
|
}
|
|
193
|
-
],
|
|
194
|
+
], Se = [
|
|
194
195
|
{
|
|
195
196
|
cssVariableName: "--owp-tree-grid-header-background-color",
|
|
196
197
|
getValue: /* @__PURE__ */ l((e) => e.header.backgroundColor, "getValue")
|
|
@@ -201,7 +202,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
201
202
|
},
|
|
202
203
|
{
|
|
203
204
|
cssVariableName: "--owp-tree-grid-header-font-size",
|
|
204
|
-
getValue: /* @__PURE__ */ l((e) =>
|
|
205
|
+
getValue: /* @__PURE__ */ l((e) => _(e.header.fontSize), "getValue")
|
|
205
206
|
},
|
|
206
207
|
{
|
|
207
208
|
cssVariableName: "--owp-tree-grid-header-font-weight",
|
|
@@ -209,15 +210,15 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
209
210
|
},
|
|
210
211
|
{
|
|
211
212
|
cssVariableName: "--owp-tree-grid-header-height",
|
|
212
|
-
getValue: /* @__PURE__ */ l((e) =>
|
|
213
|
+
getValue: /* @__PURE__ */ l((e) => _(e.header.height), "getValue")
|
|
213
214
|
},
|
|
214
215
|
{
|
|
215
216
|
cssVariableName: "--owp-tree-grid-cell-font-size",
|
|
216
|
-
getValue: /* @__PURE__ */ l((e) =>
|
|
217
|
+
getValue: /* @__PURE__ */ l((e) => _(e.cell.fontSize), "getValue")
|
|
217
218
|
}
|
|
218
219
|
], u = /* @__PURE__ */ l((e, o) => ({
|
|
219
220
|
backgroundColor: `var(${e}, ${o}) !important`
|
|
220
|
-
}), "createTreeGridBackgroundColorStyle"),
|
|
221
|
+
}), "createTreeGridBackgroundColorStyle"), E = /* @__PURE__ */ l((e) => ({
|
|
221
222
|
backgroundColor: `var(${e}) !important`
|
|
222
223
|
}), "createTreeGridOptionalBackgroundColorStyle"), t = /* @__PURE__ */ l(({
|
|
223
224
|
wrapperSelector: e = `.${r}`,
|
|
@@ -228,54 +229,54 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
228
229
|
}) => n.flatMap((C) => a.flatMap((S) => {
|
|
229
230
|
const m = o ? ` .${C}${o}` : "", g = `${e}${m} .${C}${S}${c}`;
|
|
230
231
|
return s ? [g, `${g} *`] : [g];
|
|
231
|
-
})).join(", "), "createTreeGridSelectors"),
|
|
232
|
+
})).join(", "), "createTreeGridSelectors"), v = /* @__PURE__ */ l(({
|
|
232
233
|
wrapperSelector: e = `.${r}`,
|
|
233
234
|
ancestorSuffixes: o,
|
|
234
235
|
suffixes: a,
|
|
235
236
|
descendant: c = ""
|
|
236
|
-
}) => n.flatMap((s) => o.flatMap((C) => a.map((S) => `${e} .${s}${C} .${s}${S}${c}`))).join(", "), "createTreeGridNestedSelectors"),
|
|
237
|
-
wrapperSelector:
|
|
237
|
+
}) => n.flatMap((s) => o.flatMap((C) => a.map((S) => `${e} .${s}${C} .${s}${S}${c}`))).join(", "), "createTreeGridNestedSelectors"), R = `.${r}.${J}`, be = `${R}.${Z}`, $e = `${R}.${ee}`, we = `${R}.${oe}`, ge = t({
|
|
238
|
+
wrapperSelector: R,
|
|
238
239
|
suffixes: ["PanelSelect"]
|
|
239
|
-
}),
|
|
240
|
-
wrapperSelector:
|
|
240
|
+
}), Re = t({
|
|
241
|
+
wrapperSelector: R,
|
|
241
242
|
suffixes: ["PanelSelectOn"]
|
|
242
|
-
}),
|
|
243
|
-
wrapperSelector:
|
|
243
|
+
}), Ee = v({
|
|
244
|
+
wrapperSelector: R,
|
|
244
245
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
245
246
|
suffixes: ["PanelSelect"]
|
|
246
|
-
}),
|
|
247
|
-
wrapperSelector:
|
|
247
|
+
}), ke = v({
|
|
248
|
+
wrapperSelector: R,
|
|
248
249
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
249
250
|
suffixes: ["PanelSelectOn"]
|
|
250
|
-
}),
|
|
251
|
-
wrapperSelector:
|
|
251
|
+
}), ve = v({
|
|
252
|
+
wrapperSelector: be,
|
|
252
253
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
253
254
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
254
|
-
}),
|
|
255
|
-
wrapperSelector:
|
|
255
|
+
}), me = v({
|
|
256
|
+
wrapperSelector: $e,
|
|
256
257
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
257
258
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
258
|
-
}),
|
|
259
|
-
wrapperSelector:
|
|
259
|
+
}), fe = v({
|
|
260
|
+
wrapperSelector: we,
|
|
260
261
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
261
262
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
262
|
-
}),
|
|
263
|
+
}), he = t({
|
|
263
264
|
suffixes: ["Filter0"]
|
|
264
|
-
}),
|
|
265
|
+
}), De = t({
|
|
265
266
|
suffixes: ["Filter1"]
|
|
266
|
-
}),
|
|
267
|
+
}), Fe = t({
|
|
267
268
|
suffixes: ["Main"],
|
|
268
269
|
withChildren: !0
|
|
269
|
-
}),
|
|
270
|
+
}), _e = t({
|
|
270
271
|
suffixes: ["Main"]
|
|
271
|
-
}),
|
|
272
|
+
}), Ge = t({
|
|
272
273
|
suffixes: ["ClassReadOnly"],
|
|
273
274
|
withChildren: !0
|
|
274
|
-
}),
|
|
275
|
+
}), xe = t({
|
|
275
276
|
suffixes: ["MainTable"]
|
|
276
|
-
}),
|
|
277
|
+
}), Be = t({
|
|
277
278
|
suffixes: ["NoDataRow"]
|
|
278
|
-
}),
|
|
279
|
+
}), M = `.${r}.${k}`, Ie = n.map((e) => `.${r}.${k} .${e}MainTable`).join(", "), He = `${M}::before`, Me = `${M}::after`, Te = `calc(${d} - ${p})`, Le = `calc(var(--owp-tree-grid-header-height, 33px) - ${d} + ${p})`, Ve = n.map((e) => `.${r}:not(.${k}) .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), Oe = t({
|
|
279
280
|
suffixes: [
|
|
280
281
|
"VScroll",
|
|
281
282
|
"VScrollTop",
|
|
@@ -308,7 +309,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
308
309
|
"CustScroll4Right",
|
|
309
310
|
"CustScroll4RightHidden"
|
|
310
311
|
]
|
|
311
|
-
}),
|
|
312
|
+
}), Ae = n.flatMap(
|
|
312
313
|
(e) => [
|
|
313
314
|
`.${r} .${e}CustScroll1Up > div`,
|
|
314
315
|
`.${r} .${e}CustScroll1Up > div > div`,
|
|
@@ -319,19 +320,19 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
319
320
|
`.${r} .${e}CustScroll2UpHover > div`,
|
|
320
321
|
`.${r} .${e}CustScroll2UpHover > div > div`
|
|
321
322
|
]
|
|
322
|
-
).join(", "),
|
|
323
|
+
).join(", "), Pe = n.map((e) => `.${r}.${k} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), ye = n.map((e) => `.${r}.${k} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::before`).join(", "), Ne = n.map((e) => `.${r}.${k} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::after`).join(", "), ze = t({
|
|
323
324
|
suffixes: ["FillRow"]
|
|
324
|
-
}),
|
|
325
|
+
}), We = t({
|
|
325
326
|
suffixes: ["SolidRow"]
|
|
326
|
-
}),
|
|
327
|
+
}), je = n.map((e) => `.${r} .${e}ToolbarRow.${e}SolidRow`).join(", "), Ue = t({
|
|
327
328
|
suffixes: ["ColorDefault"]
|
|
328
|
-
}),
|
|
329
|
+
}), Xe = t({
|
|
329
330
|
suffixes: ["ColorDefaultRow"]
|
|
330
|
-
}),
|
|
331
|
+
}), Ye = t({
|
|
331
332
|
rowSuffix: "HeaderRow",
|
|
332
333
|
suffixes: ["CellHeader", "CellIndex", "GanttHeaderBase", "LevelButton"],
|
|
333
334
|
withChildren: !0
|
|
334
|
-
}),
|
|
335
|
+
}), Ke = t({
|
|
335
336
|
rowSuffix: "HeaderRow",
|
|
336
337
|
suffixes: [
|
|
337
338
|
"CellHeader",
|
|
@@ -344,38 +345,38 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
344
345
|
"HeaderFocus",
|
|
345
346
|
"HeaderDrag"
|
|
346
347
|
]
|
|
347
|
-
}),
|
|
348
|
+
}), Qe = t({
|
|
348
349
|
suffixes: ["ColorHovered"]
|
|
349
|
-
}),
|
|
350
|
+
}), qe = t({
|
|
350
351
|
suffixes: ["ColorHoveredRow"]
|
|
351
|
-
}),
|
|
352
|
+
}), Je = t({
|
|
352
353
|
suffixes: ["HoverRowBorder"]
|
|
353
|
-
}),
|
|
354
|
+
}), Ze = t({
|
|
354
355
|
suffixes: ["ColorSelected", "ColorSelectedCell"]
|
|
355
|
-
}),
|
|
356
|
+
}), eo = t({
|
|
356
357
|
suffixes: ["ColorSelected", "ColorSelectedCell"],
|
|
357
358
|
descendant: " *"
|
|
358
|
-
}),
|
|
359
|
+
}), oo = t({
|
|
359
360
|
suffixes: ["ColorSelectedRow"]
|
|
360
|
-
}),
|
|
361
|
+
}), ro = t({
|
|
361
362
|
suffixes: ["ColorFocused"]
|
|
362
|
-
}),
|
|
363
|
+
}), to = t({
|
|
363
364
|
suffixes: ["ColorFocusedRow"]
|
|
364
|
-
}),
|
|
365
|
+
}), lo = t({
|
|
365
366
|
suffixes: ["FocusRowBorder"]
|
|
366
|
-
}),
|
|
367
|
+
}), ao = t({
|
|
367
368
|
suffixes: ["ColorHoveredCell", "ColorHoveredCellIndex"]
|
|
368
|
-
}),
|
|
369
|
+
}), co = t({
|
|
369
370
|
suffixes: ["HoverCellBorder"]
|
|
370
|
-
}),
|
|
371
|
+
}), no = t({
|
|
371
372
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"]
|
|
372
|
-
}),
|
|
373
|
+
}), so = t({
|
|
373
374
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"],
|
|
374
375
|
descendant: " *"
|
|
375
|
-
}),
|
|
376
|
+
}), io = v({
|
|
376
377
|
ancestorSuffixes: ["HoverCellBorder"],
|
|
377
378
|
suffixes: ["ColorPreview", "ColorPreviewDynamic", "ColorViewedCell"]
|
|
378
|
-
}),
|
|
379
|
+
}), uo = t({
|
|
379
380
|
suffixes: [
|
|
380
381
|
"ColorHoveredCellSpace",
|
|
381
382
|
"ColorHoveredCellSpaceEdit",
|
|
@@ -389,18 +390,18 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
389
390
|
"ColorHoveredCellTab",
|
|
390
391
|
"ColorHoveredCellTab1"
|
|
391
392
|
]
|
|
392
|
-
}),
|
|
393
|
+
}), po = t({
|
|
393
394
|
suffixes: ["ColorFocusedCell", "ColorFocusedCellRelative"]
|
|
394
|
-
}),
|
|
395
|
+
}), Co = t({
|
|
395
396
|
suffixes: ["ColorFocusedCellRect"]
|
|
396
|
-
}),
|
|
397
|
+
}), So = t({
|
|
397
398
|
suffixes: ["FocusCellBorder"]
|
|
398
|
-
}),
|
|
399
|
+
}), bo = t({
|
|
399
400
|
suffixes: ["FocusCellCorner"]
|
|
400
|
-
}),
|
|
401
|
+
}), $o = t({
|
|
401
402
|
suffixes: ["ClassFocusedCellSpaceEdit", "ClassFocusedCellSpaceDefaults"],
|
|
402
403
|
descendant: " > div"
|
|
403
|
-
}),
|
|
404
|
+
}), W = `.${r} .${re}`, wo = `${W}::after`, j = `.${r} .${H}`, go = `${j}::before`, Ro = `.${r} .${H}.${te}::before`, Eo = `.${r} .${H}.${le}::before`, ko = t({
|
|
404
405
|
suffixes: [
|
|
405
406
|
"ColorFocusedCellSafari",
|
|
406
407
|
"ColorFocusedCellSpace",
|
|
@@ -409,24 +410,24 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
409
410
|
"ColorFocusedCellSpaceBool",
|
|
410
411
|
"ColorFocusedCellButton"
|
|
411
412
|
]
|
|
412
|
-
}),
|
|
413
|
+
}), vo = t({
|
|
413
414
|
suffixes: ["ClassHoveredCellSpaceEdit", "ClassHoveredCellSpaceDefaults"],
|
|
414
415
|
descendant: " > div"
|
|
415
|
-
}),
|
|
416
|
+
}), mo = t({
|
|
416
417
|
suffixes: ["ClassHoveredCellButtonButton", "ClassHoveredCellButtonButton1"],
|
|
417
418
|
descendant: " u"
|
|
418
|
-
}),
|
|
419
|
+
}), fo = t({
|
|
419
420
|
suffixes: ["ClassHoveredCellTab", "ClassHoveredCellTab1"]
|
|
420
|
-
}),
|
|
421
|
+
}), ho = t({
|
|
421
422
|
suffixes: ["ColorChangedCell"]
|
|
422
|
-
}),
|
|
423
|
+
}), Do = n.flatMap((e) => {
|
|
423
424
|
const o = `${e}ClassFocusedCell`, a = `.${r} .${i}:not(.${o})`;
|
|
424
425
|
return [
|
|
425
426
|
a,
|
|
426
427
|
`${a} *:not(.${o})`
|
|
427
428
|
];
|
|
428
|
-
}).join(", "),
|
|
429
|
-
const o = `.${r} .${i}`, a = `.${r} .${i}.${
|
|
429
|
+
}).join(", "), Fo = n.flatMap((e) => {
|
|
430
|
+
const o = `.${r} .${i}`, a = `.${r} .${i}.${N}`;
|
|
430
431
|
return [
|
|
431
432
|
`${e}ColorSelected`,
|
|
432
433
|
`${e}ColorSelectedCell`,
|
|
@@ -442,7 +443,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
442
443
|
`.${r} .${s} ${o}`,
|
|
443
444
|
`.${r} .${s} ${o} *`
|
|
444
445
|
]);
|
|
445
|
-
}).join(", "),
|
|
446
|
+
}).join(", "), _o = n.flatMap((e) => {
|
|
446
447
|
const o = `.${r} .${i}`;
|
|
447
448
|
return [
|
|
448
449
|
`${e}ClassFocusedCell`,
|
|
@@ -454,7 +455,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
454
455
|
`.${r} .${c} ${o}`,
|
|
455
456
|
`.${r} .${c} ${o} *`
|
|
456
457
|
]);
|
|
457
|
-
}).join(", "),
|
|
458
|
+
}).join(", "), Go = n.flatMap((e) => {
|
|
458
459
|
const o = `.${r} .${i}`, a = `${e}HiddenValue`;
|
|
459
460
|
return [
|
|
460
461
|
`${o}.${a}`,
|
|
@@ -462,11 +463,11 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
462
463
|
`.${r} .${a} ${o}`,
|
|
463
464
|
`.${r} .${a} ${o} *`
|
|
464
465
|
];
|
|
465
|
-
}).join(", "),
|
|
466
|
+
}).join(", "), xo = `var(--owp-tree-grid-changed-font-weight, ${Y}) !important`, Bo = t({
|
|
466
467
|
suffixes: ["EditCellBorder"]
|
|
467
|
-
}),
|
|
468
|
+
}), Io = t({
|
|
468
469
|
suffixes: ["EditCellCorner"]
|
|
469
|
-
}),
|
|
470
|
+
}), Ho = [
|
|
470
471
|
`.${r} .TSMain .TSDateLeft`,
|
|
471
472
|
`.${r} .TSMain .TSDatesLeft`,
|
|
472
473
|
`.${r} .TSMain .TSDateRight`,
|
|
@@ -475,7 +476,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
475
476
|
`.${r} .TSMain .TSDatesTop`,
|
|
476
477
|
`.${r} .TSMain .TSDateBottom`,
|
|
477
478
|
`.${r} .TSMain .TSDatesBottom`
|
|
478
|
-
].join(", "),
|
|
479
|
+
].join(", "), Mo = [
|
|
479
480
|
`.${r} .TSMain .${i}.TSDateLeft`,
|
|
480
481
|
`.${r} .TSMain .${i}.TSDatesLeft`,
|
|
481
482
|
`.${r} .TSMain .${i}.TSDateRight`,
|
|
@@ -484,7 +485,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
484
485
|
`.${r} .TSMain .${i}.TSDatesTop`,
|
|
485
486
|
`.${r} .TSMain .${i}.TSDateBottom`,
|
|
486
487
|
`.${r} .TSMain .${i}.TSDatesBottom`
|
|
487
|
-
].join(", "),
|
|
488
|
+
].join(", "), To = [
|
|
488
489
|
"DateLeft",
|
|
489
490
|
"DatesLeft",
|
|
490
491
|
"DateRight",
|
|
@@ -503,13 +504,13 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
503
504
|
`${a}.${s}`,
|
|
504
505
|
`.${r} .${s} ${a}`
|
|
505
506
|
]);
|
|
506
|
-
})).join(", "),
|
|
507
|
+
})).join(", "), I = '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")', Lo = I.replace(
|
|
507
508
|
"%23757575",
|
|
508
509
|
"white"
|
|
509
|
-
),
|
|
510
|
+
), y = $(
|
|
510
511
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#000" d="M4.5 6.25h7L8 9.75z"/></svg>'
|
|
511
|
-
), w = /* @__PURE__ */ l((e, o) => n.flatMap((a) => e.flatMap((c) => o(a, c))).join(", "), "createTreeGridEnumButtonIconSelector"),
|
|
512
|
-
const a =
|
|
512
|
+
), w = /* @__PURE__ */ l((e, o) => n.flatMap((a) => e.flatMap((c) => o(a, c))).join(", "), "createTreeGridEnumButtonIconSelector"), x = /* @__PURE__ */ l((e, o) => `.${r} .${i}.${e}${o}`, "createTreeGridChangedEnumButtonCellSelector"), f = /* @__PURE__ */ l((e, o) => `${x(e, o)}::after`, "createTreeGridChangedEnumButtonPseudoSelector"), Vo = /* @__PURE__ */ l((e, o) => {
|
|
513
|
+
const a = x(e, o), c = `.${r} .${i}.${N}.${e}${o}`, s = [
|
|
513
514
|
`${e}ColorSelected`,
|
|
514
515
|
`${e}ColorSelectedCell`,
|
|
515
516
|
`${e}ColorSelectedRow`,
|
|
@@ -524,8 +525,8 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
524
525
|
`.${r} .${C} ${a}`
|
|
525
526
|
])
|
|
526
527
|
];
|
|
527
|
-
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"),
|
|
528
|
-
const a =
|
|
528
|
+
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"), Oo = /* @__PURE__ */ l((e, o) => {
|
|
529
|
+
const a = x(e, o);
|
|
529
530
|
return [
|
|
530
531
|
`${e}ClassFocusedCell`,
|
|
531
532
|
`${e}ColorFocusedCell`,
|
|
@@ -534,38 +535,38 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
534
535
|
`${a}.${s}`,
|
|
535
536
|
`.${r} .${s} ${a}`
|
|
536
537
|
]);
|
|
537
|
-
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"),
|
|
538
|
-
|
|
539
|
-
(e, o) => [
|
|
540
|
-
),
|
|
541
|
-
|
|
542
|
-
(e, o) => [
|
|
543
|
-
),
|
|
544
|
-
|
|
545
|
-
(e, o) =>
|
|
538
|
+
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"), Ao = w(
|
|
539
|
+
G,
|
|
540
|
+
(e, o) => [x(e, o)]
|
|
541
|
+
), Po = w(
|
|
542
|
+
G,
|
|
543
|
+
(e, o) => [f(e, o)]
|
|
544
|
+
), yo = w(
|
|
545
|
+
G,
|
|
546
|
+
(e, o) => Vo(e, o).map(
|
|
546
547
|
(a) => `${a}::after`
|
|
547
548
|
)
|
|
548
|
-
),
|
|
549
|
-
|
|
550
|
-
(e, o) =>
|
|
549
|
+
), No = w(
|
|
550
|
+
G,
|
|
551
|
+
(e, o) => Oo(e, o).map(
|
|
551
552
|
(a) => `${a}::after`
|
|
552
553
|
)
|
|
553
|
-
),
|
|
554
|
+
), zo = w(
|
|
554
555
|
["DefaultsLeft", "EnumLeft"],
|
|
555
|
-
(e, o) => [
|
|
556
|
-
),
|
|
556
|
+
(e, o) => [f(e, o)]
|
|
557
|
+
), Wo = w(
|
|
557
558
|
["DefaultsRight", "EnumRight"],
|
|
558
|
-
(e, o) => [
|
|
559
|
-
),
|
|
559
|
+
(e, o) => [f(e, o)]
|
|
560
|
+
), jo = w(
|
|
560
561
|
["DefaultsTop", "EnumTop"],
|
|
561
|
-
(e, o) => [
|
|
562
|
-
),
|
|
562
|
+
(e, o) => [f(e, o)]
|
|
563
|
+
), Uo = w(
|
|
563
564
|
["DefaultsBottom", "EnumBottom"],
|
|
564
|
-
(e, o) => [
|
|
565
|
-
),
|
|
565
|
+
(e, o) => [f(e, o)]
|
|
566
|
+
), B = '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")', Xo = `.${r} .OwpTreeGridTimePickerEditorIcon`, Yo = [
|
|
566
567
|
`.${r} .${i} .OwpTreeGridTimePickerEditorIcon`,
|
|
567
568
|
`.${r} .${i}.OwpTreeGridTimePickerEditorIcon`
|
|
568
|
-
].join(", "),
|
|
569
|
+
].join(", "), Ko = n.flatMap((e) => {
|
|
569
570
|
const o = `.${r} .${i}`;
|
|
570
571
|
return [
|
|
571
572
|
`${e}ClassFocusedCell`,
|
|
@@ -577,116 +578,116 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
577
578
|
`.${r} .${c} ${o} .OwpTreeGridTimePickerEditorIcon`,
|
|
578
579
|
`.${r} .${c} ${o}.OwpTreeGridTimePickerEditorIcon`
|
|
579
580
|
]);
|
|
580
|
-
}).join(", "),
|
|
581
|
+
}).join(", "), Qo = n.map(
|
|
581
582
|
(e) => `.${e}EnumMenuMain, .${e}EnumMenuMain *`
|
|
582
|
-
).join(", "),
|
|
583
|
+
).join(", "), qo = n.map(
|
|
583
584
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar`
|
|
584
|
-
).join(", "),
|
|
585
|
+
).join(", "), Jo = n.map(
|
|
585
586
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb`
|
|
586
|
-
).join(", "),
|
|
587
|
+
).join(", "), Zo = n.map(
|
|
587
588
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb:hover`
|
|
588
|
-
).join(", "),
|
|
589
|
+
).join(", "), er = n.map(
|
|
589
590
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-track`
|
|
590
|
-
).join(", "),
|
|
591
|
+
).join(", "), or = n.map(
|
|
591
592
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-corner`
|
|
592
|
-
).join(", "),
|
|
593
|
-
[
|
|
594
|
-
fontFamily: `${
|
|
593
|
+
).join(", "), nr = {
|
|
594
|
+
[Fe]: {
|
|
595
|
+
fontFamily: `${T} !important`,
|
|
595
596
|
fontSize: "var(--owp-tree-grid-cell-font-size, 13px)",
|
|
596
597
|
fontWeight: "normal",
|
|
597
598
|
lineHeight: "16px"
|
|
598
599
|
},
|
|
599
|
-
[
|
|
600
|
+
[_e]: {
|
|
600
601
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
601
602
|
},
|
|
602
|
-
[
|
|
603
|
+
[Ge]: {
|
|
603
604
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
604
605
|
},
|
|
605
|
-
[
|
|
606
|
+
[xe]: u(
|
|
606
607
|
"--owp-tree-grid-body-background-color",
|
|
607
608
|
"#FFFFFF"
|
|
608
609
|
),
|
|
609
|
-
[
|
|
610
|
+
[Be]: {
|
|
610
611
|
borderTopColor: `${b} !important`
|
|
611
612
|
},
|
|
612
|
-
[
|
|
613
|
-
backgroundImage: `${
|
|
613
|
+
[ge]: {
|
|
614
|
+
backgroundImage: `${de} !important`,
|
|
614
615
|
backgroundPosition: "center center !important",
|
|
615
616
|
backgroundRepeat: "no-repeat !important",
|
|
616
617
|
backgroundSize: "17px 17px !important"
|
|
617
618
|
},
|
|
618
|
-
[
|
|
619
|
-
backgroundImage: `${
|
|
619
|
+
[Re]: {
|
|
620
|
+
backgroundImage: `${se} !important`,
|
|
620
621
|
backgroundPosition: "center center !important",
|
|
621
622
|
backgroundRepeat: "no-repeat !important",
|
|
622
623
|
backgroundSize: "17px 17px !important"
|
|
623
624
|
},
|
|
624
|
-
[
|
|
625
|
-
backgroundImage: `${
|
|
625
|
+
[Ee]: {
|
|
626
|
+
backgroundImage: `${V} !important`,
|
|
626
627
|
backgroundPosition: "center center !important",
|
|
627
628
|
backgroundRepeat: "no-repeat !important",
|
|
628
629
|
backgroundSize: "17px 17px !important"
|
|
629
630
|
},
|
|
630
|
-
[
|
|
631
|
-
backgroundImage: `${
|
|
631
|
+
[ke]: {
|
|
632
|
+
backgroundImage: `${O} !important`,
|
|
632
633
|
backgroundPosition: "center center !important",
|
|
633
634
|
backgroundRepeat: "no-repeat !important",
|
|
634
635
|
backgroundSize: "17px 17px !important"
|
|
635
636
|
},
|
|
636
|
-
[
|
|
637
|
-
backgroundImage: `${
|
|
637
|
+
[ve]: {
|
|
638
|
+
backgroundImage: `${O} !important`
|
|
638
639
|
},
|
|
639
|
-
[
|
|
640
|
-
backgroundImage: `${
|
|
640
|
+
[me]: {
|
|
641
|
+
backgroundImage: `${ie} !important`
|
|
641
642
|
},
|
|
642
|
-
[
|
|
643
|
-
backgroundImage: `${
|
|
643
|
+
[fe]: {
|
|
644
|
+
backgroundImage: `${V} !important`
|
|
644
645
|
},
|
|
645
|
-
[
|
|
646
|
-
WebkitMaskImage: `${
|
|
646
|
+
[he]: {
|
|
647
|
+
WebkitMaskImage: `${A} !important`,
|
|
647
648
|
WebkitMaskPosition: "center center !important",
|
|
648
649
|
WebkitMaskRepeat: "no-repeat !important",
|
|
649
650
|
WebkitMaskSize: "17px 17px !important",
|
|
650
|
-
backgroundColor: `${
|
|
651
|
+
backgroundColor: `${ue} !important`,
|
|
651
652
|
backgroundImage: "none !important",
|
|
652
653
|
height: "17px !important",
|
|
653
|
-
maskImage: `${
|
|
654
|
+
maskImage: `${A} !important`,
|
|
654
655
|
maskPosition: "center center !important",
|
|
655
656
|
maskRepeat: "no-repeat !important",
|
|
656
657
|
maskSize: "17px 17px !important",
|
|
657
658
|
opacity: 0.72,
|
|
658
659
|
width: "17px !important"
|
|
659
660
|
},
|
|
660
|
-
[
|
|
661
|
-
WebkitMaskImage: `${
|
|
661
|
+
[De]: {
|
|
662
|
+
WebkitMaskImage: `${P} !important`,
|
|
662
663
|
WebkitMaskPosition: "center center !important",
|
|
663
664
|
WebkitMaskRepeat: "no-repeat !important",
|
|
664
665
|
WebkitMaskSize: "17px 17px !important",
|
|
665
|
-
backgroundColor: `${
|
|
666
|
+
backgroundColor: `${pe} !important`,
|
|
666
667
|
backgroundImage: "none !important",
|
|
667
668
|
height: "17px !important",
|
|
668
|
-
maskImage: `${
|
|
669
|
+
maskImage: `${P} !important`,
|
|
669
670
|
maskPosition: "center center !important",
|
|
670
671
|
maskRepeat: "no-repeat !important",
|
|
671
672
|
maskSize: "17px 17px !important",
|
|
672
673
|
opacity: 1,
|
|
673
674
|
width: "17px !important"
|
|
674
675
|
},
|
|
675
|
-
[
|
|
676
|
-
backgroundImage: `${
|
|
676
|
+
[Ho]: {
|
|
677
|
+
backgroundImage: `${I} !important`
|
|
677
678
|
},
|
|
678
|
-
[
|
|
679
|
-
backgroundImage: `${
|
|
679
|
+
[Mo]: {
|
|
680
|
+
backgroundImage: `${Lo} !important`
|
|
680
681
|
},
|
|
681
|
-
[
|
|
682
|
-
backgroundImage: `${
|
|
682
|
+
[To]: {
|
|
683
|
+
backgroundImage: `${I} !important`
|
|
683
684
|
},
|
|
684
|
-
[
|
|
685
|
+
[Ao]: {
|
|
685
686
|
backgroundImage: "none !important",
|
|
686
687
|
position: "relative"
|
|
687
688
|
},
|
|
688
|
-
[
|
|
689
|
-
WebkitMaskImage: `${
|
|
689
|
+
[Po]: {
|
|
690
|
+
WebkitMaskImage: `${y} !important`,
|
|
690
691
|
WebkitMaskPosition: "center center !important",
|
|
691
692
|
WebkitMaskRepeat: "no-repeat !important",
|
|
692
693
|
WebkitMaskSize: "16px 16px !important",
|
|
@@ -695,7 +696,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
695
696
|
content: '""',
|
|
696
697
|
display: "block",
|
|
697
698
|
height: "16px",
|
|
698
|
-
maskImage: `${
|
|
699
|
+
maskImage: `${y} !important`,
|
|
699
700
|
maskPosition: "center center !important",
|
|
700
701
|
maskRepeat: "no-repeat !important",
|
|
701
702
|
maskSize: "16px 16px !important",
|
|
@@ -703,34 +704,34 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
703
704
|
position: "absolute",
|
|
704
705
|
width: "16px"
|
|
705
706
|
},
|
|
706
|
-
[
|
|
707
|
+
[yo]: {
|
|
707
708
|
backgroundColor: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
708
709
|
},
|
|
709
|
-
[
|
|
710
|
-
backgroundColor: `${
|
|
710
|
+
[No]: {
|
|
711
|
+
backgroundColor: `${L} !important`
|
|
711
712
|
},
|
|
712
|
-
[
|
|
713
|
+
[zo]: {
|
|
713
714
|
left: "4px",
|
|
714
715
|
top: "50%",
|
|
715
716
|
transform: "translateY(-50%)"
|
|
716
717
|
},
|
|
717
|
-
[
|
|
718
|
+
[Wo]: {
|
|
718
719
|
right: "4px",
|
|
719
720
|
top: "50%",
|
|
720
721
|
transform: "translateY(-50%)"
|
|
721
722
|
},
|
|
722
|
-
[
|
|
723
|
+
[jo]: {
|
|
723
724
|
left: "50%",
|
|
724
725
|
top: "0",
|
|
725
726
|
transform: "translateX(-50%)"
|
|
726
727
|
},
|
|
727
|
-
[
|
|
728
|
+
[Uo]: {
|
|
728
729
|
bottom: "0",
|
|
729
730
|
left: "50%",
|
|
730
731
|
transform: "translateX(-50%)"
|
|
731
732
|
},
|
|
732
|
-
[
|
|
733
|
-
backgroundImage:
|
|
733
|
+
[Xo]: {
|
|
734
|
+
backgroundImage: B,
|
|
734
735
|
backgroundPosition: "center calc(50% - 1px)",
|
|
735
736
|
backgroundRepeat: "no-repeat",
|
|
736
737
|
backgroundSize: "16px 16px",
|
|
@@ -741,54 +742,54 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
741
742
|
verticalAlign: "middle",
|
|
742
743
|
width: "16px"
|
|
743
744
|
},
|
|
744
|
-
[
|
|
745
|
-
WebkitMaskImage:
|
|
745
|
+
[Yo]: {
|
|
746
|
+
WebkitMaskImage: B,
|
|
746
747
|
WebkitMaskPosition: "center calc(50% - 1px)",
|
|
747
748
|
WebkitMaskRepeat: "no-repeat",
|
|
748
749
|
WebkitMaskSize: "16px 16px",
|
|
749
750
|
backgroundColor: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
750
751
|
backgroundImage: "none !important",
|
|
751
|
-
maskImage:
|
|
752
|
+
maskImage: B,
|
|
752
753
|
maskPosition: "center calc(50% - 1px)",
|
|
753
754
|
maskRepeat: "no-repeat",
|
|
754
755
|
maskSize: "16px 16px"
|
|
755
756
|
},
|
|
756
|
-
[
|
|
757
|
-
backgroundColor: `${
|
|
757
|
+
[Ko]: {
|
|
758
|
+
backgroundColor: `${L} !important`
|
|
758
759
|
},
|
|
759
|
-
[
|
|
760
|
+
[Qo]: {
|
|
760
761
|
scrollbarColor: "rgba(0, 0, 0, 0.32) transparent",
|
|
761
762
|
scrollbarWidth: "thin"
|
|
762
763
|
},
|
|
763
|
-
[
|
|
764
|
+
[qo]: {
|
|
764
765
|
height: "8px",
|
|
765
766
|
width: "8px"
|
|
766
767
|
},
|
|
767
|
-
[
|
|
768
|
+
[Jo]: {
|
|
768
769
|
backgroundClip: "padding-box",
|
|
769
770
|
backgroundColor: "rgba(0, 0, 0, 0.32)",
|
|
770
771
|
border: "2px solid transparent",
|
|
771
772
|
borderRadius: "8px"
|
|
772
773
|
},
|
|
773
|
-
[
|
|
774
|
+
[Zo]: {
|
|
774
775
|
backgroundColor: "rgba(0, 0, 0, 0.44)"
|
|
775
776
|
},
|
|
776
|
-
[
|
|
777
|
+
[er]: {
|
|
777
778
|
backgroundColor: "transparent"
|
|
778
779
|
},
|
|
779
|
-
[
|
|
780
|
+
[or]: {
|
|
780
781
|
backgroundColor: "transparent"
|
|
781
782
|
},
|
|
782
|
-
[
|
|
783
|
+
[M]: {
|
|
783
784
|
position: "relative"
|
|
784
785
|
},
|
|
785
|
-
[
|
|
786
|
+
[Ie]: {
|
|
786
787
|
borderBottom: "0 !important",
|
|
787
788
|
borderRadius: `${d} ${d} 0 0`,
|
|
788
789
|
clipPath: `inset(0 round ${d} ${d} 0 0)`,
|
|
789
790
|
overflow: "hidden"
|
|
790
791
|
},
|
|
791
|
-
[
|
|
792
|
+
[He]: {
|
|
792
793
|
border: `${p} solid ${b}`,
|
|
793
794
|
borderBottom: 0,
|
|
794
795
|
borderRadius: `${d} ${d} 0 0`,
|
|
@@ -803,35 +804,35 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
803
804
|
top: 0,
|
|
804
805
|
zIndex: 2
|
|
805
806
|
},
|
|
806
|
-
[
|
|
807
|
+
[Me]: {
|
|
807
808
|
borderLeft: `${p} solid ${b}`,
|
|
808
809
|
borderRight: `${p} solid ${b}`,
|
|
809
810
|
boxSizing: "border-box",
|
|
810
811
|
content: '""',
|
|
811
812
|
display: "block",
|
|
812
|
-
height:
|
|
813
|
+
height: Le,
|
|
813
814
|
left: 0,
|
|
814
815
|
pointerEvents: "none",
|
|
815
816
|
position: "absolute",
|
|
816
817
|
right: 0,
|
|
817
|
-
top:
|
|
818
|
+
top: Te,
|
|
818
819
|
zIndex: 2
|
|
819
820
|
},
|
|
820
|
-
[
|
|
821
|
+
[Ve]: {
|
|
821
822
|
borderTop: `${p} solid ${b} !important`
|
|
822
823
|
},
|
|
823
|
-
[
|
|
824
|
+
[Oe]: {
|
|
824
825
|
boxShadow: `inset -${p} 0 0 ${b}`
|
|
825
826
|
},
|
|
826
|
-
[
|
|
827
|
+
[Ae]: {
|
|
827
828
|
boxShadow: `inset -${p} 0 0 ${b}`
|
|
828
829
|
},
|
|
829
|
-
[
|
|
830
|
+
[Pe]: {
|
|
830
831
|
borderTopColor: "transparent !important",
|
|
831
832
|
overflow: "visible",
|
|
832
833
|
position: "relative"
|
|
833
834
|
},
|
|
834
|
-
[
|
|
835
|
+
[ye]: {
|
|
835
836
|
border: `${p} solid ${b}`,
|
|
836
837
|
borderBottomLeftRadius: d,
|
|
837
838
|
borderBottomRightRadius: d,
|
|
@@ -848,7 +849,7 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
848
849
|
transform: `translateY(calc(-100% - ${p}))`,
|
|
849
850
|
zIndex: 2
|
|
850
851
|
},
|
|
851
|
-
[
|
|
852
|
+
[Ne]: {
|
|
852
853
|
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})`,
|
|
853
854
|
backgroundPosition: "left top, right top",
|
|
854
855
|
backgroundRepeat: "no-repeat",
|
|
@@ -864,165 +865,194 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
864
865
|
transform: `translateY(calc(-100% - ${p}))`,
|
|
865
866
|
zIndex: 1
|
|
866
867
|
},
|
|
867
|
-
[
|
|
868
|
+
[ze]: E(
|
|
868
869
|
"--owp-tree-grid-body-fill-background-color"
|
|
869
870
|
),
|
|
870
|
-
[
|
|
871
|
+
[We]: E(
|
|
871
872
|
"--owp-tree-grid-row-solid-background-color"
|
|
872
873
|
),
|
|
873
|
-
[
|
|
874
|
+
[je]: E(
|
|
874
875
|
"--owp-tree-grid-toolbar-row-background-color"
|
|
875
876
|
),
|
|
876
|
-
[
|
|
877
|
+
[Ue]: u(
|
|
877
878
|
"--owp-tree-grid-row-background-color",
|
|
878
879
|
"#FFFFFF"
|
|
879
880
|
),
|
|
880
|
-
[
|
|
881
|
+
[Xe]: u(
|
|
881
882
|
"--owp-tree-grid-row-background-color",
|
|
882
883
|
"#FFFFFE"
|
|
883
884
|
),
|
|
884
|
-
[
|
|
885
|
+
[W]: {
|
|
885
886
|
boxShadow: "none !important",
|
|
886
887
|
outline: "none",
|
|
887
888
|
position: "relative",
|
|
888
889
|
zIndex: 3
|
|
889
890
|
},
|
|
890
|
-
[
|
|
891
|
-
border: `${
|
|
891
|
+
[wo]: {
|
|
892
|
+
border: `${ae} solid ${ne}`,
|
|
892
893
|
boxSizing: "border-box",
|
|
893
894
|
content: '""',
|
|
894
895
|
display: "block",
|
|
895
|
-
inset:
|
|
896
|
+
inset: ce,
|
|
896
897
|
pointerEvents: "none",
|
|
897
898
|
position: "absolute",
|
|
898
899
|
zIndex: 4
|
|
899
900
|
},
|
|
900
|
-
[
|
|
901
|
+
[j]: {
|
|
902
|
+
position: "relative"
|
|
903
|
+
},
|
|
904
|
+
[go]: {
|
|
905
|
+
borderBottom: `${h} solid ${F}`,
|
|
906
|
+
borderTop: `${h} solid ${F}`,
|
|
907
|
+
bottom: D,
|
|
908
|
+
boxSizing: "border-box",
|
|
909
|
+
content: '""',
|
|
910
|
+
display: "block",
|
|
911
|
+
left: "-1px",
|
|
912
|
+
pointerEvents: "none",
|
|
913
|
+
position: "absolute",
|
|
914
|
+
right: "-1px",
|
|
915
|
+
top: D,
|
|
916
|
+
zIndex: 2
|
|
917
|
+
},
|
|
918
|
+
[Ro]: {
|
|
919
|
+
borderBottomLeftRadius: "2px",
|
|
920
|
+
borderLeft: `${h} solid ${F}`,
|
|
921
|
+
borderTopLeftRadius: "2px",
|
|
922
|
+
left: D
|
|
923
|
+
},
|
|
924
|
+
[Eo]: {
|
|
925
|
+
borderBottomRightRadius: "2px",
|
|
926
|
+
borderRight: `${h} solid ${F}`,
|
|
927
|
+
borderTopRightRadius: "2px",
|
|
928
|
+
right: D
|
|
929
|
+
},
|
|
930
|
+
[Ye]: {
|
|
901
931
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important",
|
|
902
|
-
fontFamily: `${
|
|
932
|
+
fontFamily: `${T} !important`,
|
|
903
933
|
fontSize: "var(--owp-tree-grid-header-font-size, 14px) !important",
|
|
904
934
|
fontWeight: "var(--owp-tree-grid-header-font-weight, normal) !important",
|
|
905
935
|
lineHeight: "16px"
|
|
906
936
|
},
|
|
907
|
-
[
|
|
937
|
+
[Ke]: {
|
|
908
938
|
backgroundColor: "var(--owp-tree-grid-header-background-color, #586980) !important",
|
|
909
939
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important"
|
|
910
940
|
},
|
|
911
|
-
[
|
|
941
|
+
[Qe]: u(
|
|
912
942
|
"--owp-tree-grid-hover-row-background-color",
|
|
913
943
|
"#F0F0FF"
|
|
914
944
|
),
|
|
915
|
-
[
|
|
945
|
+
[qe]: u(
|
|
916
946
|
"--owp-tree-grid-hover-row-background-color",
|
|
917
947
|
"#EEE"
|
|
918
948
|
),
|
|
919
|
-
[
|
|
949
|
+
[Je]: {
|
|
920
950
|
borderTopColor: "var(--owp-tree-grid-hover-row-border-color) !important",
|
|
921
951
|
borderBottomColor: "var(--owp-tree-grid-hover-row-border-color) !important"
|
|
922
952
|
},
|
|
923
|
-
[
|
|
953
|
+
[Ze]: u(
|
|
924
954
|
"--owp-tree-grid-selected-cell-background-color",
|
|
925
955
|
"#FFFFA6"
|
|
926
956
|
),
|
|
927
|
-
[
|
|
957
|
+
[eo]: u(
|
|
928
958
|
"--owp-tree-grid-selected-cell-background-color",
|
|
929
959
|
"#FFFFA6"
|
|
930
960
|
),
|
|
931
|
-
[
|
|
961
|
+
[oo]: u(
|
|
932
962
|
"--owp-tree-grid-selected-row-background-color",
|
|
933
963
|
"#EEE"
|
|
934
964
|
),
|
|
935
|
-
[
|
|
965
|
+
[ro]: u(
|
|
936
966
|
"--owp-tree-grid-focused-row-background-color",
|
|
937
967
|
"#E6E6E6"
|
|
938
968
|
),
|
|
939
|
-
[
|
|
969
|
+
[to]: u(
|
|
940
970
|
"--owp-tree-grid-focused-row-background-color",
|
|
941
971
|
"#EEE"
|
|
942
972
|
),
|
|
943
|
-
[
|
|
973
|
+
[lo]: {
|
|
944
974
|
borderColor: "var(--owp-tree-grid-focused-row-border-color) !important"
|
|
945
975
|
},
|
|
946
|
-
[
|
|
976
|
+
[ao]: u(
|
|
947
977
|
"--owp-tree-grid-hover-cell-background-color",
|
|
948
978
|
"#BFDDF2"
|
|
949
979
|
),
|
|
950
|
-
[
|
|
980
|
+
[co]: {
|
|
951
981
|
backgroundColor: "var(--owp-tree-grid-hover-cell-background-color) !important",
|
|
952
982
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
953
983
|
},
|
|
954
|
-
[
|
|
984
|
+
[no]: u(
|
|
955
985
|
"--owp-tree-grid-hover-cell-background-color",
|
|
956
986
|
"#F0F0F0"
|
|
957
987
|
),
|
|
958
|
-
[
|
|
988
|
+
[so]: u(
|
|
959
989
|
"--owp-tree-grid-hover-cell-background-color",
|
|
960
990
|
"#F0F0F0"
|
|
961
991
|
),
|
|
962
|
-
[
|
|
992
|
+
[io]: E(
|
|
963
993
|
"--owp-tree-grid-hover-cell-background-color"
|
|
964
994
|
),
|
|
965
|
-
[
|
|
995
|
+
[uo]: E(
|
|
966
996
|
"--owp-tree-grid-hover-cell-background-color"
|
|
967
997
|
),
|
|
968
|
-
[
|
|
998
|
+
[vo]: {
|
|
969
999
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
970
1000
|
},
|
|
971
|
-
[
|
|
1001
|
+
[mo]: {
|
|
972
1002
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
973
1003
|
},
|
|
974
|
-
[
|
|
1004
|
+
[fo]: {
|
|
975
1005
|
borderTopColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
976
1006
|
borderBottomColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
977
1007
|
outlineColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
978
1008
|
},
|
|
979
|
-
[
|
|
1009
|
+
[po]: u(
|
|
980
1010
|
"--owp-tree-grid-focused-cell-background-color",
|
|
981
1011
|
"#FFFFFE"
|
|
982
1012
|
),
|
|
983
|
-
[
|
|
1013
|
+
[Co]: {
|
|
984
1014
|
backgroundColor: "var(--owp-tree-grid-focused-cell-rect-background-color) !important"
|
|
985
1015
|
},
|
|
986
|
-
[
|
|
1016
|
+
[So]: {
|
|
987
1017
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
988
1018
|
},
|
|
989
|
-
[
|
|
1019
|
+
[bo]: {
|
|
990
1020
|
backgroundColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
991
1021
|
},
|
|
992
|
-
[
|
|
1022
|
+
[$o]: {
|
|
993
1023
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
994
1024
|
},
|
|
995
|
-
[
|
|
1025
|
+
[ko]: E(
|
|
996
1026
|
"--owp-tree-grid-focused-cell-background-color"
|
|
997
1027
|
),
|
|
998
|
-
[
|
|
1028
|
+
[ho]: u(
|
|
999
1029
|
"--owp-tree-grid-changed-background-color",
|
|
1000
1030
|
"#EEE"
|
|
1001
1031
|
),
|
|
1002
|
-
[
|
|
1032
|
+
[Do]: {
|
|
1003
1033
|
color: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
1004
|
-
fontWeight:
|
|
1034
|
+
fontWeight: xo
|
|
1005
1035
|
},
|
|
1006
|
-
[
|
|
1036
|
+
[Fo]: {
|
|
1007
1037
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
1008
1038
|
fontWeight: "normal !important"
|
|
1009
1039
|
},
|
|
1010
|
-
[
|
|
1040
|
+
[_o]: {
|
|
1011
1041
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
1012
1042
|
fontWeight: "normal !important"
|
|
1013
1043
|
},
|
|
1014
|
-
[
|
|
1044
|
+
[Go]: {
|
|
1015
1045
|
color: "transparent !important"
|
|
1016
1046
|
},
|
|
1017
|
-
[
|
|
1047
|
+
[Bo]: {
|
|
1018
1048
|
borderColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
1019
1049
|
},
|
|
1020
|
-
[
|
|
1050
|
+
[Io]: {
|
|
1021
1051
|
backgroundColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
1022
1052
|
}
|
|
1023
|
-
},
|
|
1053
|
+
}, _ = /* @__PURE__ */ l((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), rr = /* @__PURE__ */ l((e, o, a) => {
|
|
1024
1054
|
a && (e[o] = a);
|
|
1025
|
-
}, "setOptionalTreeGridCssVariable"),
|
|
1055
|
+
}, "setOptionalTreeGridCssVariable"), dr = /* @__PURE__ */ l(({
|
|
1026
1056
|
width: e,
|
|
1027
1057
|
height: o,
|
|
1028
1058
|
treeGridTheme: a,
|
|
@@ -1032,27 +1062,31 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
1032
1062
|
}) => {
|
|
1033
1063
|
const S = {
|
|
1034
1064
|
height: o,
|
|
1065
|
+
"--owp-tree-grid-added-row-box-color": z,
|
|
1035
1066
|
width: e
|
|
1036
1067
|
};
|
|
1037
|
-
for (const { cssVariableName: m, getValue: g } of
|
|
1038
|
-
|
|
1039
|
-
for (const { cssVariableName: m, getValue: g } of
|
|
1068
|
+
for (const { cssVariableName: m, getValue: g } of Ce)
|
|
1069
|
+
rr(S, m, g(c));
|
|
1070
|
+
for (const { cssVariableName: m, getValue: g } of Se)
|
|
1040
1071
|
S[m] = g(a);
|
|
1041
|
-
return C !== void 0 && (S["--owp-tree-grid-table-border-radius"] =
|
|
1072
|
+
return C !== void 0 && (S["--owp-tree-grid-table-border-radius"] = _(C)), {
|
|
1042
1073
|
...S,
|
|
1043
1074
|
...s
|
|
1044
1075
|
};
|
|
1045
1076
|
}, "createTreeGridThemeContainerStyle");
|
|
1046
1077
|
export {
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1078
|
+
H as TREE_GRID_ADDED_ROW_BOX_CELL_CLASS,
|
|
1079
|
+
le as TREE_GRID_ADDED_ROW_BOX_END_CLASS,
|
|
1080
|
+
te as TREE_GRID_ADDED_ROW_BOX_START_CLASS,
|
|
1081
|
+
re as TREE_GRID_ERROR_CELL_CLASS,
|
|
1082
|
+
J as TREE_GRID_PANEL_CHECKBOX_SELECT_CLASS,
|
|
1083
|
+
N as TREE_GRID_SELECTED_CHANGED_CELL_CLASS,
|
|
1084
|
+
Z as TREE_GRID_SELECT_ALL_CHECKED_CLASS,
|
|
1085
|
+
ee as TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS,
|
|
1086
|
+
oe as TREE_GRID_SELECT_ALL_UNCHECKED_CLASS,
|
|
1087
|
+
k as TREE_GRID_THEME_TABLE_RADIUS_CLASS,
|
|
1054
1088
|
r as TREE_GRID_THEME_WRAPPER_CLASS,
|
|
1055
|
-
|
|
1056
|
-
|
|
1089
|
+
dr as createTreeGridThemeContainerStyle,
|
|
1090
|
+
nr as treeGridThemeStyles
|
|
1057
1091
|
};
|
|
1058
1092
|
//# sourceMappingURL=treeGridTheme.js.map
|