@owp/core 2.5.36 → 2.5.38
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/_virtual/index15.js +2 -2
- package/dist/_virtual/index5.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 +567 -486
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +284 -243
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/configs/defaultConfig.js +7 -7
- package/dist/configs/defaultConfig.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/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/index.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/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/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +4 -1
- package/dist/types/configs/defaultConfig.d.ts +7 -7
- package/dist/types/constants/treeGrid.d.ts +1 -0
- package/package.json +1 -1
- package/treegrid/Defaults.xml +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 Y = Object.defineProperty;
|
|
2
|
+
var l = (e, o) => Y(e, "name", { value: o, configurable: !0 });
|
|
3
|
+
import { TREEGRID_ADDED_ROW_BACKGROUND_COLOR as K, TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT as Q, TREEGRID_FONT_FAMILY_STACK as T, TREEGRID_ERROR_CELL_BORDER_COLOR as q, TREEGRID_CELL_CHANGED_CLASS as i } from "../../../constants/treeGrid.js";
|
|
4
|
+
import { DEFAULT_TABLE_RADIUS as J } from "../../../constants/table.js";
|
|
5
|
+
import { darken as Z } from "@mui/material/styles";
|
|
6
|
+
const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tree-grid-panel-checkbox-select", oe = "owp-tree-grid-select-all-checked", re = "owp-tree-grid-select-all-indeterminate", te = "owp-tree-grid-select-all-unchecked", z = "owp-tree-grid-selected-changed-cell", W = "owp-tree-grid-error-cell", G = "owp-tree-grid-added-row-box-cell", le = "owp-tree-grid-added-row-box-start", ae = "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, ${J})`, L = "#757575", ce = "2px", V = "2px", ne = `var(--owp-tree-grid-error-cell-border-color, ${q})`, f = "2px", D = "2px", j = Z(K, 0.42), F = `var(--owp-tree-grid-added-row-box-color, ${j})`, x = [
|
|
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
|
+
), O = $(
|
|
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
|
+
), A = $(
|
|
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
|
+
), P = $(
|
|
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
|
+
), y = $(
|
|
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}.${ee}`, be = `${R}.${oe}`, $e = `${R}.${re}`, we = `${R}.${te}`, 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
|
+
}), U = `.${r} .${W}`, wo = `${U}::after`, X = `.${r} .${G}`, go = `.${r} .${W}.${G}::after`, Ro = `${X}::before`, Eo = `.${r} .${G}.${le}::before`, ko = `.${r} .${G}.${ae}::before`, vo = 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
|
+
}), mo = t({
|
|
413
414
|
suffixes: ["ClassHoveredCellSpaceEdit", "ClassHoveredCellSpaceDefaults"],
|
|
414
415
|
descendant: " > div"
|
|
415
|
-
}),
|
|
416
|
+
}), fo = t({
|
|
416
417
|
suffixes: ["ClassHoveredCellButtonButton", "ClassHoveredCellButtonButton1"],
|
|
417
418
|
descendant: " u"
|
|
418
|
-
}),
|
|
419
|
+
}), ho = t({
|
|
419
420
|
suffixes: ["ClassHoveredCellTab", "ClassHoveredCellTab1"]
|
|
420
|
-
}),
|
|
421
|
+
}), Do = t({
|
|
421
422
|
suffixes: ["ColorChangedCell"]
|
|
422
|
-
}),
|
|
423
|
+
}), Fo = 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(", "), _o = n.flatMap((e) => {
|
|
430
|
+
const o = `.${r} .${i}`, a = `.${r} .${i}.${z}`;
|
|
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(", "), Go = 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(", "), xo = 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(", "), Bo = `var(--owp-tree-grid-changed-font-weight, ${Q}) !important`, Io = t({
|
|
466
467
|
suffixes: ["EditCellBorder"]
|
|
467
|
-
}),
|
|
468
|
+
}), Ho = t({
|
|
468
469
|
suffixes: ["EditCellCorner"]
|
|
469
|
-
}),
|
|
470
|
+
}), Mo = [
|
|
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(", "), To = [
|
|
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(", "), Lo = [
|
|
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(", "), H = '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")', Vo = H.replace(
|
|
507
508
|
"%23757575",
|
|
508
509
|
"white"
|
|
509
|
-
),
|
|
510
|
+
), N = $(
|
|
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"), B = /* @__PURE__ */ l((e, o) => `.${r} .${i}.${e}${o}`, "createTreeGridChangedEnumButtonCellSelector"), h = /* @__PURE__ */ l((e, o) => `${B(e, o)}::after`, "createTreeGridChangedEnumButtonPseudoSelector"), Oo = /* @__PURE__ */ l((e, o) => {
|
|
513
|
+
const a = B(e, o), c = `.${r} .${i}.${z}.${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"), Ao = /* @__PURE__ */ l((e, o) => {
|
|
529
|
+
const a = B(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
|
-
|
|
538
|
+
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"), Po = w(
|
|
539
|
+
x,
|
|
540
|
+
(e, o) => [B(e, o)]
|
|
541
|
+
), yo = w(
|
|
542
|
+
x,
|
|
542
543
|
(e, o) => [h(e, o)]
|
|
543
|
-
),
|
|
544
|
-
|
|
545
|
-
(e, o) =>
|
|
544
|
+
), No = w(
|
|
545
|
+
x,
|
|
546
|
+
(e, o) => Oo(e, o).map(
|
|
546
547
|
(a) => `${a}::after`
|
|
547
548
|
)
|
|
548
|
-
),
|
|
549
|
-
|
|
550
|
-
(e, o) =>
|
|
549
|
+
), zo = w(
|
|
550
|
+
x,
|
|
551
|
+
(e, o) => Ao(e, o).map(
|
|
551
552
|
(a) => `${a}::after`
|
|
552
553
|
)
|
|
553
|
-
),
|
|
554
|
+
), Wo = w(
|
|
554
555
|
["DefaultsLeft", "EnumLeft"],
|
|
555
556
|
(e, o) => [h(e, o)]
|
|
556
|
-
),
|
|
557
|
+
), jo = w(
|
|
557
558
|
["DefaultsRight", "EnumRight"],
|
|
558
559
|
(e, o) => [h(e, o)]
|
|
559
|
-
),
|
|
560
|
+
), Uo = w(
|
|
560
561
|
["DefaultsTop", "EnumTop"],
|
|
561
562
|
(e, o) => [h(e, o)]
|
|
562
|
-
),
|
|
563
|
+
), Xo = w(
|
|
563
564
|
["DefaultsBottom", "EnumBottom"],
|
|
564
565
|
(e, o) => [h(e, o)]
|
|
565
|
-
),
|
|
566
|
+
), I = '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")', Yo = `.${r} .OwpTreeGridTimePickerEditorIcon`, Ko = [
|
|
566
567
|
`.${r} .${i} .OwpTreeGridTimePickerEditorIcon`,
|
|
567
568
|
`.${r} .${i}.OwpTreeGridTimePickerEditorIcon`
|
|
568
|
-
].join(", "),
|
|
569
|
+
].join(", "), Qo = 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(", "), Jo = n.map(
|
|
583
584
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar`
|
|
584
|
-
).join(", "),
|
|
585
|
+
).join(", "), Zo = n.map(
|
|
585
586
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb`
|
|
586
|
-
).join(", "),
|
|
587
|
+
).join(", "), er = n.map(
|
|
587
588
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb:hover`
|
|
588
|
-
).join(", "),
|
|
589
|
+
).join(", "), or = n.map(
|
|
589
590
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-track`
|
|
590
|
-
).join(", "),
|
|
591
|
+
).join(", "), rr = n.map(
|
|
591
592
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-corner`
|
|
592
|
-
).join(", "),
|
|
593
|
-
[
|
|
594
|
-
fontFamily: `${
|
|
593
|
+
).join(", "), dr = {
|
|
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: `${O} !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: `${A} !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: `${A} !important`
|
|
638
639
|
},
|
|
639
|
-
[
|
|
640
|
-
backgroundImage: `${
|
|
640
|
+
[me]: {
|
|
641
|
+
backgroundImage: `${ie} !important`
|
|
641
642
|
},
|
|
642
|
-
[
|
|
643
|
-
backgroundImage: `${
|
|
643
|
+
[fe]: {
|
|
644
|
+
backgroundImage: `${O} !important`
|
|
644
645
|
},
|
|
645
|
-
[
|
|
646
|
-
WebkitMaskImage: `${
|
|
646
|
+
[he]: {
|
|
647
|
+
WebkitMaskImage: `${P} !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: `${P} !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: `${y} !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: `${y} !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
|
+
[Mo]: {
|
|
677
|
+
backgroundImage: `${H} !important`
|
|
677
678
|
},
|
|
678
|
-
[
|
|
679
|
-
backgroundImage: `${
|
|
679
|
+
[To]: {
|
|
680
|
+
backgroundImage: `${Vo} !important`
|
|
680
681
|
},
|
|
681
|
-
[
|
|
682
|
-
backgroundImage: `${
|
|
682
|
+
[Lo]: {
|
|
683
|
+
backgroundImage: `${H} !important`
|
|
683
684
|
},
|
|
684
|
-
[
|
|
685
|
+
[Po]: {
|
|
685
686
|
backgroundImage: "none !important",
|
|
686
687
|
position: "relative"
|
|
687
688
|
},
|
|
688
|
-
[
|
|
689
|
-
WebkitMaskImage: `${
|
|
689
|
+
[yo]: {
|
|
690
|
+
WebkitMaskImage: `${N} !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: `${N} !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
|
+
[No]: {
|
|
707
708
|
backgroundColor: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
708
709
|
},
|
|
709
|
-
[
|
|
710
|
-
backgroundColor: `${
|
|
710
|
+
[zo]: {
|
|
711
|
+
backgroundColor: `${L} !important`
|
|
711
712
|
},
|
|
712
|
-
[
|
|
713
|
+
[Wo]: {
|
|
713
714
|
left: "4px",
|
|
714
715
|
top: "50%",
|
|
715
716
|
transform: "translateY(-50%)"
|
|
716
717
|
},
|
|
717
|
-
[
|
|
718
|
+
[jo]: {
|
|
718
719
|
right: "4px",
|
|
719
720
|
top: "50%",
|
|
720
721
|
transform: "translateY(-50%)"
|
|
721
722
|
},
|
|
722
|
-
[
|
|
723
|
+
[Uo]: {
|
|
723
724
|
left: "50%",
|
|
724
725
|
top: "0",
|
|
725
726
|
transform: "translateX(-50%)"
|
|
726
727
|
},
|
|
727
|
-
[
|
|
728
|
+
[Xo]: {
|
|
728
729
|
bottom: "0",
|
|
729
730
|
left: "50%",
|
|
730
731
|
transform: "translateX(-50%)"
|
|
731
732
|
},
|
|
732
|
-
[
|
|
733
|
-
backgroundImage:
|
|
733
|
+
[Yo]: {
|
|
734
|
+
backgroundImage: I,
|
|
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
|
+
[Ko]: {
|
|
746
|
+
WebkitMaskImage: I,
|
|
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: I,
|
|
752
753
|
maskPosition: "center calc(50% - 1px)",
|
|
753
754
|
maskRepeat: "no-repeat",
|
|
754
755
|
maskSize: "16px 16px"
|
|
755
756
|
},
|
|
756
|
-
[
|
|
757
|
-
backgroundColor: `${
|
|
757
|
+
[Qo]: {
|
|
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
|
+
[Jo]: {
|
|
764
765
|
height: "8px",
|
|
765
766
|
width: "8px"
|
|
766
767
|
},
|
|
767
|
-
[
|
|
768
|
+
[Zo]: {
|
|
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
|
+
[er]: {
|
|
774
775
|
backgroundColor: "rgba(0, 0, 0, 0.44)"
|
|
775
776
|
},
|
|
776
|
-
[
|
|
777
|
+
[or]: {
|
|
777
778
|
backgroundColor: "transparent"
|
|
778
779
|
},
|
|
779
|
-
[
|
|
780
|
+
[rr]: {
|
|
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,201 @@ 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
|
+
[U]: {
|
|
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: `${ce} solid ${ne}`,
|
|
892
893
|
boxSizing: "border-box",
|
|
893
894
|
content: '""',
|
|
894
895
|
display: "block",
|
|
895
|
-
inset:
|
|
896
|
+
inset: V,
|
|
896
897
|
pointerEvents: "none",
|
|
897
898
|
position: "absolute",
|
|
898
899
|
zIndex: 4
|
|
899
900
|
},
|
|
900
|
-
[
|
|
901
|
+
[go]: {
|
|
902
|
+
inset: `calc(${V} + ${f} + 1px)`
|
|
903
|
+
},
|
|
904
|
+
[X]: {
|
|
905
|
+
position: "relative"
|
|
906
|
+
},
|
|
907
|
+
[Ro]: {
|
|
908
|
+
backgroundColor: "transparent",
|
|
909
|
+
borderBottom: `${f} solid ${F}`,
|
|
910
|
+
borderTop: `${f} solid ${F}`,
|
|
911
|
+
bottom: D,
|
|
912
|
+
boxSizing: "border-box",
|
|
913
|
+
content: '""',
|
|
914
|
+
display: "block",
|
|
915
|
+
filter: "none",
|
|
916
|
+
left: "-1px",
|
|
917
|
+
mixBlendMode: "normal",
|
|
918
|
+
opacity: 1,
|
|
919
|
+
pointerEvents: "none",
|
|
920
|
+
position: "absolute",
|
|
921
|
+
right: "-1px",
|
|
922
|
+
top: D,
|
|
923
|
+
zIndex: 2
|
|
924
|
+
},
|
|
925
|
+
[Eo]: {
|
|
926
|
+
borderBottomLeftRadius: "2px",
|
|
927
|
+
borderLeft: `${f} solid ${F}`,
|
|
928
|
+
borderTopLeftRadius: "2px",
|
|
929
|
+
left: D
|
|
930
|
+
},
|
|
931
|
+
[ko]: {
|
|
932
|
+
borderBottomRightRadius: "2px",
|
|
933
|
+
borderRight: `${f} solid ${F}`,
|
|
934
|
+
borderTopRightRadius: "2px",
|
|
935
|
+
right: D
|
|
936
|
+
},
|
|
937
|
+
[Ye]: {
|
|
901
938
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important",
|
|
902
|
-
fontFamily: `${
|
|
939
|
+
fontFamily: `${T} !important`,
|
|
903
940
|
fontSize: "var(--owp-tree-grid-header-font-size, 14px) !important",
|
|
904
941
|
fontWeight: "var(--owp-tree-grid-header-font-weight, normal) !important",
|
|
905
942
|
lineHeight: "16px"
|
|
906
943
|
},
|
|
907
|
-
[
|
|
944
|
+
[Ke]: {
|
|
908
945
|
backgroundColor: "var(--owp-tree-grid-header-background-color, #586980) !important",
|
|
909
946
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important"
|
|
910
947
|
},
|
|
911
|
-
[
|
|
948
|
+
[Qe]: u(
|
|
912
949
|
"--owp-tree-grid-hover-row-background-color",
|
|
913
950
|
"#F0F0FF"
|
|
914
951
|
),
|
|
915
|
-
[
|
|
952
|
+
[qe]: u(
|
|
916
953
|
"--owp-tree-grid-hover-row-background-color",
|
|
917
954
|
"#EEE"
|
|
918
955
|
),
|
|
919
|
-
[
|
|
956
|
+
[Je]: {
|
|
920
957
|
borderTopColor: "var(--owp-tree-grid-hover-row-border-color) !important",
|
|
921
958
|
borderBottomColor: "var(--owp-tree-grid-hover-row-border-color) !important"
|
|
922
959
|
},
|
|
923
|
-
[
|
|
960
|
+
[Ze]: u(
|
|
924
961
|
"--owp-tree-grid-selected-cell-background-color",
|
|
925
962
|
"#FFFFA6"
|
|
926
963
|
),
|
|
927
|
-
[
|
|
964
|
+
[eo]: u(
|
|
928
965
|
"--owp-tree-grid-selected-cell-background-color",
|
|
929
966
|
"#FFFFA6"
|
|
930
967
|
),
|
|
931
|
-
[
|
|
968
|
+
[oo]: u(
|
|
932
969
|
"--owp-tree-grid-selected-row-background-color",
|
|
933
970
|
"#EEE"
|
|
934
971
|
),
|
|
935
|
-
[
|
|
972
|
+
[ro]: u(
|
|
936
973
|
"--owp-tree-grid-focused-row-background-color",
|
|
937
974
|
"#E6E6E6"
|
|
938
975
|
),
|
|
939
|
-
[
|
|
976
|
+
[to]: u(
|
|
940
977
|
"--owp-tree-grid-focused-row-background-color",
|
|
941
978
|
"#EEE"
|
|
942
979
|
),
|
|
943
|
-
[
|
|
980
|
+
[lo]: {
|
|
944
981
|
borderColor: "var(--owp-tree-grid-focused-row-border-color) !important"
|
|
945
982
|
},
|
|
946
|
-
[
|
|
983
|
+
[ao]: u(
|
|
947
984
|
"--owp-tree-grid-hover-cell-background-color",
|
|
948
985
|
"#BFDDF2"
|
|
949
986
|
),
|
|
950
|
-
[
|
|
987
|
+
[co]: {
|
|
951
988
|
backgroundColor: "var(--owp-tree-grid-hover-cell-background-color) !important",
|
|
952
989
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
953
990
|
},
|
|
954
|
-
[
|
|
991
|
+
[no]: u(
|
|
955
992
|
"--owp-tree-grid-hover-cell-background-color",
|
|
956
993
|
"#F0F0F0"
|
|
957
994
|
),
|
|
958
|
-
[
|
|
995
|
+
[so]: u(
|
|
959
996
|
"--owp-tree-grid-hover-cell-background-color",
|
|
960
997
|
"#F0F0F0"
|
|
961
998
|
),
|
|
962
|
-
[
|
|
999
|
+
[io]: E(
|
|
963
1000
|
"--owp-tree-grid-hover-cell-background-color"
|
|
964
1001
|
),
|
|
965
|
-
[
|
|
1002
|
+
[uo]: E(
|
|
966
1003
|
"--owp-tree-grid-hover-cell-background-color"
|
|
967
1004
|
),
|
|
968
|
-
[
|
|
1005
|
+
[mo]: {
|
|
969
1006
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
970
1007
|
},
|
|
971
|
-
[
|
|
1008
|
+
[fo]: {
|
|
972
1009
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
973
1010
|
},
|
|
974
|
-
[
|
|
1011
|
+
[ho]: {
|
|
975
1012
|
borderTopColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
976
1013
|
borderBottomColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
977
1014
|
outlineColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
978
1015
|
},
|
|
979
|
-
[
|
|
1016
|
+
[po]: u(
|
|
980
1017
|
"--owp-tree-grid-focused-cell-background-color",
|
|
981
1018
|
"#FFFFFE"
|
|
982
1019
|
),
|
|
983
|
-
[
|
|
1020
|
+
[Co]: {
|
|
984
1021
|
backgroundColor: "var(--owp-tree-grid-focused-cell-rect-background-color) !important"
|
|
985
1022
|
},
|
|
986
|
-
[
|
|
1023
|
+
[So]: {
|
|
987
1024
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
988
1025
|
},
|
|
989
|
-
[
|
|
1026
|
+
[bo]: {
|
|
990
1027
|
backgroundColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
991
1028
|
},
|
|
992
|
-
[
|
|
1029
|
+
[$o]: {
|
|
993
1030
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
994
1031
|
},
|
|
995
|
-
[
|
|
1032
|
+
[vo]: E(
|
|
996
1033
|
"--owp-tree-grid-focused-cell-background-color"
|
|
997
1034
|
),
|
|
998
|
-
[
|
|
1035
|
+
[Do]: u(
|
|
999
1036
|
"--owp-tree-grid-changed-background-color",
|
|
1000
1037
|
"#EEE"
|
|
1001
1038
|
),
|
|
1002
|
-
[
|
|
1039
|
+
[Fo]: {
|
|
1003
1040
|
color: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
1004
|
-
fontWeight:
|
|
1041
|
+
fontWeight: Bo
|
|
1005
1042
|
},
|
|
1006
|
-
[
|
|
1043
|
+
[_o]: {
|
|
1007
1044
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
1008
1045
|
fontWeight: "normal !important"
|
|
1009
1046
|
},
|
|
1010
|
-
[
|
|
1047
|
+
[Go]: {
|
|
1011
1048
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
1012
1049
|
fontWeight: "normal !important"
|
|
1013
1050
|
},
|
|
1014
|
-
[
|
|
1051
|
+
[xo]: {
|
|
1015
1052
|
color: "transparent !important"
|
|
1016
1053
|
},
|
|
1017
|
-
[
|
|
1054
|
+
[Io]: {
|
|
1018
1055
|
borderColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
1019
1056
|
},
|
|
1020
|
-
[
|
|
1057
|
+
[Ho]: {
|
|
1021
1058
|
backgroundColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
1022
1059
|
}
|
|
1023
|
-
},
|
|
1060
|
+
}, _ = /* @__PURE__ */ l((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), tr = /* @__PURE__ */ l((e, o, a) => {
|
|
1024
1061
|
a && (e[o] = a);
|
|
1025
|
-
}, "setOptionalTreeGridCssVariable"),
|
|
1062
|
+
}, "setOptionalTreeGridCssVariable"), sr = /* @__PURE__ */ l(({
|
|
1026
1063
|
width: e,
|
|
1027
1064
|
height: o,
|
|
1028
1065
|
treeGridTheme: a,
|
|
@@ -1032,27 +1069,31 @@ const r = "owp-tree-grid-theme", v = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
1032
1069
|
}) => {
|
|
1033
1070
|
const S = {
|
|
1034
1071
|
height: o,
|
|
1072
|
+
"--owp-tree-grid-added-row-box-color": j,
|
|
1035
1073
|
width: e
|
|
1036
1074
|
};
|
|
1037
|
-
for (const { cssVariableName: m, getValue: g } of
|
|
1038
|
-
|
|
1039
|
-
for (const { cssVariableName: m, getValue: g } of
|
|
1075
|
+
for (const { cssVariableName: m, getValue: g } of Ce)
|
|
1076
|
+
tr(S, m, g(c));
|
|
1077
|
+
for (const { cssVariableName: m, getValue: g } of Se)
|
|
1040
1078
|
S[m] = g(a);
|
|
1041
|
-
return C !== void 0 && (S["--owp-tree-grid-table-border-radius"] =
|
|
1079
|
+
return C !== void 0 && (S["--owp-tree-grid-table-border-radius"] = _(C)), {
|
|
1042
1080
|
...S,
|
|
1043
1081
|
...s
|
|
1044
1082
|
};
|
|
1045
1083
|
}, "createTreeGridThemeContainerStyle");
|
|
1046
1084
|
export {
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1085
|
+
G as TREE_GRID_ADDED_ROW_BOX_CELL_CLASS,
|
|
1086
|
+
ae as TREE_GRID_ADDED_ROW_BOX_END_CLASS,
|
|
1087
|
+
le as TREE_GRID_ADDED_ROW_BOX_START_CLASS,
|
|
1088
|
+
W as TREE_GRID_ERROR_CELL_CLASS,
|
|
1089
|
+
ee as TREE_GRID_PANEL_CHECKBOX_SELECT_CLASS,
|
|
1090
|
+
z as TREE_GRID_SELECTED_CHANGED_CELL_CLASS,
|
|
1091
|
+
oe as TREE_GRID_SELECT_ALL_CHECKED_CLASS,
|
|
1092
|
+
re as TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS,
|
|
1093
|
+
te as TREE_GRID_SELECT_ALL_UNCHECKED_CLASS,
|
|
1094
|
+
k as TREE_GRID_THEME_TABLE_RADIUS_CLASS,
|
|
1054
1095
|
r as TREE_GRID_THEME_WRAPPER_CLASS,
|
|
1055
|
-
|
|
1056
|
-
|
|
1096
|
+
sr as createTreeGridThemeContainerStyle,
|
|
1097
|
+
dr as treeGridThemeStyles
|
|
1057
1098
|
};
|
|
1058
1099
|
//# sourceMappingURL=treeGridTheme.js.map
|