@owp/core 2.5.35 → 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 +360 -391
- package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
- package/dist/components/OwpTable/OwpTable.js +19 -20
- package/dist/components/OwpTable/OwpTable.js.map +1 -1
- package/dist/components/OwpTable/internal/OwpTableBase.js +78 -81
- package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
- package/dist/components/OwpTable/internal/treeGridTableStyle.js +31 -88
- package/dist/components/OwpTable/internal/treeGridTableStyle.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +287 -361
- 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 +410 -331
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/constants/treeGrid.js +47 -59
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +28 -27
- package/dist/constants.js.map +1 -1
- 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/owp-app.css +1 -1
- package/dist/types/components/OwpTable/internal/OwpTableBase.d.ts +1 -3
- package/dist/types/components/OwpTable/internal/treeGridTableStyle.d.ts +2 -61
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +4 -2
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/constants/treeGrid.d.ts +1 -9
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import {
|
|
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", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
19
20
|
"CR",
|
|
20
21
|
"CP",
|
|
21
22
|
"CC"
|
|
22
|
-
],
|
|
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,266 +29,310 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
28
29
|
"EnumRight",
|
|
29
30
|
"EnumTop",
|
|
30
31
|
"EnumBottom"
|
|
31
|
-
],
|
|
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
|
-
getValue: /* @__PURE__ */
|
|
49
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
49
50
|
var o;
|
|
50
51
|
return (o = e == null ? void 0 : e.body) == null ? void 0 : o.backgroundColor;
|
|
51
52
|
}, "getValue")
|
|
52
53
|
},
|
|
53
54
|
{
|
|
54
55
|
cssVariableName: "--owp-tree-grid-body-color",
|
|
55
|
-
getValue: /* @__PURE__ */
|
|
56
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
56
57
|
var o;
|
|
57
58
|
return (o = e == null ? void 0 : e.body) == null ? void 0 : o.color;
|
|
58
59
|
}, "getValue")
|
|
59
60
|
},
|
|
60
61
|
{
|
|
61
62
|
cssVariableName: "--owp-tree-grid-body-fill-background-color",
|
|
62
|
-
getValue: /* @__PURE__ */
|
|
63
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
63
64
|
var o;
|
|
64
65
|
return (o = e == null ? void 0 : e.body) == null ? void 0 : o.fillBackgroundColor;
|
|
65
66
|
}, "getValue")
|
|
66
67
|
},
|
|
67
68
|
{
|
|
68
69
|
cssVariableName: "--owp-tree-grid-row-background-color",
|
|
69
|
-
getValue: /* @__PURE__ */
|
|
70
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
70
71
|
var o;
|
|
71
72
|
return (o = e == null ? void 0 : e.row) == null ? void 0 : o.backgroundColor;
|
|
72
73
|
}, "getValue")
|
|
73
74
|
},
|
|
74
75
|
{
|
|
75
76
|
cssVariableName: "--owp-tree-grid-row-solid-background-color",
|
|
76
|
-
getValue: /* @__PURE__ */
|
|
77
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
77
78
|
var o;
|
|
78
79
|
return (o = e == null ? void 0 : e.row) == null ? void 0 : o.solidBackgroundColor;
|
|
79
80
|
}, "getValue")
|
|
80
81
|
},
|
|
81
82
|
{
|
|
82
83
|
cssVariableName: "--owp-tree-grid-hover-row-background-color",
|
|
83
|
-
getValue: /* @__PURE__ */
|
|
84
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
84
85
|
var o;
|
|
85
86
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.hoverRowBackgroundColor;
|
|
86
87
|
}, "getValue")
|
|
87
88
|
},
|
|
88
89
|
{
|
|
89
90
|
cssVariableName: "--owp-tree-grid-hover-row-border-color",
|
|
90
|
-
getValue: /* @__PURE__ */
|
|
91
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
91
92
|
var o;
|
|
92
93
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.hoverRowBorderColor;
|
|
93
94
|
}, "getValue")
|
|
94
95
|
},
|
|
95
96
|
{
|
|
96
97
|
cssVariableName: "--owp-tree-grid-selected-row-background-color",
|
|
97
|
-
getValue: /* @__PURE__ */
|
|
98
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
98
99
|
var o;
|
|
99
100
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.selectedRowBackgroundColor;
|
|
100
101
|
}, "getValue")
|
|
101
102
|
},
|
|
102
103
|
{
|
|
103
104
|
cssVariableName: "--owp-tree-grid-selected-cell-background-color",
|
|
104
|
-
getValue: /* @__PURE__ */
|
|
105
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
105
106
|
var o;
|
|
106
107
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.selectedCellBackgroundColor;
|
|
107
108
|
}, "getValue")
|
|
108
109
|
},
|
|
109
110
|
{
|
|
110
111
|
cssVariableName: "--owp-tree-grid-focused-row-background-color",
|
|
111
|
-
getValue: /* @__PURE__ */
|
|
112
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
112
113
|
var o;
|
|
113
114
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedRowBackgroundColor;
|
|
114
115
|
}, "getValue")
|
|
115
116
|
},
|
|
116
117
|
{
|
|
117
118
|
cssVariableName: "--owp-tree-grid-focused-row-border-color",
|
|
118
|
-
getValue: /* @__PURE__ */
|
|
119
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
119
120
|
var o;
|
|
120
121
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedRowBorderColor;
|
|
121
122
|
}, "getValue")
|
|
122
123
|
},
|
|
123
124
|
{
|
|
124
125
|
cssVariableName: "--owp-tree-grid-hover-cell-background-color",
|
|
125
|
-
getValue: /* @__PURE__ */
|
|
126
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
126
127
|
var o;
|
|
127
128
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.hoverCellBackgroundColor;
|
|
128
129
|
}, "getValue")
|
|
129
130
|
},
|
|
130
131
|
{
|
|
131
132
|
cssVariableName: "--owp-tree-grid-hover-cell-border-color",
|
|
132
|
-
getValue: /* @__PURE__ */
|
|
133
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
133
134
|
var o;
|
|
134
135
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.hoverCellBorderColor;
|
|
135
136
|
}, "getValue")
|
|
136
137
|
},
|
|
137
138
|
{
|
|
138
139
|
cssVariableName: "--owp-tree-grid-focused-cell-background-color",
|
|
139
|
-
getValue: /* @__PURE__ */
|
|
140
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
140
141
|
var o;
|
|
141
142
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedCellBackgroundColor;
|
|
142
143
|
}, "getValue")
|
|
143
144
|
},
|
|
144
145
|
{
|
|
145
146
|
cssVariableName: "--owp-tree-grid-focused-cell-border-color",
|
|
146
|
-
getValue: /* @__PURE__ */
|
|
147
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
147
148
|
var o;
|
|
148
149
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedCellBorderColor;
|
|
149
150
|
}, "getValue")
|
|
150
151
|
},
|
|
151
152
|
{
|
|
152
153
|
cssVariableName: "--owp-tree-grid-editing-cell-border-color",
|
|
153
|
-
getValue: /* @__PURE__ */
|
|
154
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
154
155
|
var o;
|
|
155
156
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.editingCellBorderColor;
|
|
156
157
|
}, "getValue")
|
|
157
158
|
},
|
|
158
159
|
{
|
|
159
160
|
cssVariableName: "--owp-tree-grid-error-cell-border-color",
|
|
160
|
-
getValue: /* @__PURE__ */
|
|
161
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
161
162
|
var o;
|
|
162
163
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.errorCellBorderColor;
|
|
163
164
|
}, "getValue")
|
|
164
165
|
},
|
|
165
166
|
{
|
|
166
167
|
cssVariableName: "--owp-tree-grid-focused-cell-rect-background-color",
|
|
167
|
-
getValue: /* @__PURE__ */
|
|
168
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
168
169
|
var o;
|
|
169
170
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedCellRectBackgroundColor;
|
|
170
171
|
}, "getValue")
|
|
171
172
|
},
|
|
172
173
|
{
|
|
173
174
|
cssVariableName: "--owp-tree-grid-changed-background-color",
|
|
174
|
-
getValue: /* @__PURE__ */
|
|
175
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
175
176
|
var o;
|
|
176
177
|
return (o = e == null ? void 0 : e.changed) == null ? void 0 : o.backgroundColor;
|
|
177
178
|
}, "getValue")
|
|
178
179
|
},
|
|
179
180
|
{
|
|
180
181
|
cssVariableName: "--owp-tree-grid-changed-text-color",
|
|
181
|
-
getValue: /* @__PURE__ */
|
|
182
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
182
183
|
var o;
|
|
183
184
|
return (o = e == null ? void 0 : e.changed) == null ? void 0 : o.color;
|
|
184
185
|
}, "getValue")
|
|
185
186
|
},
|
|
186
187
|
{
|
|
187
188
|
cssVariableName: "--owp-tree-grid-changed-font-weight",
|
|
188
|
-
getValue: /* @__PURE__ */
|
|
189
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
189
190
|
var o;
|
|
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
|
-
getValue: /* @__PURE__ */
|
|
197
|
+
getValue: /* @__PURE__ */ l((e) => e.header.backgroundColor, "getValue")
|
|
197
198
|
},
|
|
198
199
|
{
|
|
199
200
|
cssVariableName: "--owp-tree-grid-header-color",
|
|
200
|
-
getValue: /* @__PURE__ */
|
|
201
|
+
getValue: /* @__PURE__ */ l((e) => e.header.color, "getValue")
|
|
201
202
|
},
|
|
202
203
|
{
|
|
203
204
|
cssVariableName: "--owp-tree-grid-header-font-size",
|
|
204
|
-
getValue: /* @__PURE__ */
|
|
205
|
+
getValue: /* @__PURE__ */ l((e) => _(e.header.fontSize), "getValue")
|
|
205
206
|
},
|
|
206
207
|
{
|
|
207
208
|
cssVariableName: "--owp-tree-grid-header-font-weight",
|
|
208
|
-
getValue: /* @__PURE__ */
|
|
209
|
+
getValue: /* @__PURE__ */ l((e) => String(e.header.fontWeight), "getValue")
|
|
209
210
|
},
|
|
210
211
|
{
|
|
211
212
|
cssVariableName: "--owp-tree-grid-header-height",
|
|
212
|
-
getValue: /* @__PURE__ */
|
|
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__ */
|
|
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
|
-
}), "createTreeGridOptionalBackgroundColorStyle"),
|
|
223
|
+
}), "createTreeGridOptionalBackgroundColorStyle"), t = /* @__PURE__ */ l(({
|
|
223
224
|
wrapperSelector: e = `.${r}`,
|
|
224
225
|
rowSuffix: o,
|
|
225
226
|
suffixes: a,
|
|
226
227
|
descendant: c = "",
|
|
227
|
-
withChildren:
|
|
228
|
-
}) => n.flatMap((
|
|
229
|
-
const
|
|
230
|
-
return
|
|
231
|
-
})).join(", "), "createTreeGridSelectors"),
|
|
228
|
+
withChildren: s = !1
|
|
229
|
+
}) => n.flatMap((C) => a.flatMap((S) => {
|
|
230
|
+
const m = o ? ` .${C}${o}` : "", g = `${e}${m} .${C}${S}${c}`;
|
|
231
|
+
return s ? [g, `${g} *`] : [g];
|
|
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((
|
|
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({
|
|
280
|
+
suffixes: [
|
|
281
|
+
"VScroll",
|
|
282
|
+
"VScrollTop",
|
|
283
|
+
"VScrollBottom",
|
|
284
|
+
"CustScroll1Up",
|
|
285
|
+
"CustScroll1UpHover",
|
|
286
|
+
"CustScroll1Down",
|
|
287
|
+
"CustScroll1DownHover",
|
|
288
|
+
"CustScroll1DownHidden",
|
|
289
|
+
"CustScroll1Right",
|
|
290
|
+
"CustScroll1RightHover",
|
|
291
|
+
"CustScroll1RightHidden",
|
|
292
|
+
"CustScroll1X",
|
|
293
|
+
"CustScroll2Up",
|
|
294
|
+
"CustScroll2UpHover",
|
|
295
|
+
"CustScroll2Down",
|
|
296
|
+
"CustScroll2DownHover",
|
|
297
|
+
"CustScroll2DownHidden",
|
|
298
|
+
"CustScroll2Right",
|
|
299
|
+
"CustScroll2RightHover",
|
|
300
|
+
"CustScroll2RightHidden",
|
|
301
|
+
"CustScroll2X",
|
|
302
|
+
"CustScroll3Down",
|
|
303
|
+
"CustScroll3DownHidden",
|
|
304
|
+
"CustScroll3Right",
|
|
305
|
+
"CustScroll3RightHidden",
|
|
306
|
+
"CustScroll3X",
|
|
307
|
+
"CustScroll4Down",
|
|
308
|
+
"CustScroll4DownHidden",
|
|
309
|
+
"CustScroll4Right",
|
|
310
|
+
"CustScroll4RightHidden"
|
|
311
|
+
]
|
|
312
|
+
}), Ae = n.flatMap(
|
|
313
|
+
(e) => [
|
|
314
|
+
`.${r} .${e}CustScroll1Up > div`,
|
|
315
|
+
`.${r} .${e}CustScroll1Up > div > div`,
|
|
316
|
+
`.${r} .${e}CustScroll1UpHover > div`,
|
|
317
|
+
`.${r} .${e}CustScroll1UpHover > div > div`,
|
|
318
|
+
`.${r} .${e}CustScroll2Up > div`,
|
|
319
|
+
`.${r} .${e}CustScroll2Up > div > div`,
|
|
320
|
+
`.${r} .${e}CustScroll2UpHover > div`,
|
|
321
|
+
`.${r} .${e}CustScroll2UpHover > div > div`
|
|
322
|
+
]
|
|
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({
|
|
279
324
|
suffixes: ["FillRow"]
|
|
280
|
-
}),
|
|
325
|
+
}), We = t({
|
|
281
326
|
suffixes: ["SolidRow"]
|
|
282
|
-
}),
|
|
327
|
+
}), je = n.map((e) => `.${r} .${e}ToolbarRow.${e}SolidRow`).join(", "), Ue = t({
|
|
283
328
|
suffixes: ["ColorDefault"]
|
|
284
|
-
}),
|
|
329
|
+
}), Xe = t({
|
|
285
330
|
suffixes: ["ColorDefaultRow"]
|
|
286
|
-
}),
|
|
331
|
+
}), Ye = t({
|
|
287
332
|
rowSuffix: "HeaderRow",
|
|
288
333
|
suffixes: ["CellHeader", "CellIndex", "GanttHeaderBase", "LevelButton"],
|
|
289
334
|
withChildren: !0
|
|
290
|
-
}),
|
|
335
|
+
}), Ke = t({
|
|
291
336
|
rowSuffix: "HeaderRow",
|
|
292
337
|
suffixes: [
|
|
293
338
|
"CellHeader",
|
|
@@ -300,38 +345,38 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
300
345
|
"HeaderFocus",
|
|
301
346
|
"HeaderDrag"
|
|
302
347
|
]
|
|
303
|
-
}),
|
|
348
|
+
}), Qe = t({
|
|
304
349
|
suffixes: ["ColorHovered"]
|
|
305
|
-
}),
|
|
350
|
+
}), qe = t({
|
|
306
351
|
suffixes: ["ColorHoveredRow"]
|
|
307
|
-
}),
|
|
352
|
+
}), Je = t({
|
|
308
353
|
suffixes: ["HoverRowBorder"]
|
|
309
|
-
}),
|
|
354
|
+
}), Ze = t({
|
|
310
355
|
suffixes: ["ColorSelected", "ColorSelectedCell"]
|
|
311
|
-
}),
|
|
356
|
+
}), eo = t({
|
|
312
357
|
suffixes: ["ColorSelected", "ColorSelectedCell"],
|
|
313
358
|
descendant: " *"
|
|
314
|
-
}),
|
|
359
|
+
}), oo = t({
|
|
315
360
|
suffixes: ["ColorSelectedRow"]
|
|
316
|
-
}),
|
|
361
|
+
}), ro = t({
|
|
317
362
|
suffixes: ["ColorFocused"]
|
|
318
|
-
}),
|
|
363
|
+
}), to = t({
|
|
319
364
|
suffixes: ["ColorFocusedRow"]
|
|
320
|
-
}),
|
|
365
|
+
}), lo = t({
|
|
321
366
|
suffixes: ["FocusRowBorder"]
|
|
322
|
-
}),
|
|
367
|
+
}), ao = t({
|
|
323
368
|
suffixes: ["ColorHoveredCell", "ColorHoveredCellIndex"]
|
|
324
|
-
}),
|
|
369
|
+
}), co = t({
|
|
325
370
|
suffixes: ["HoverCellBorder"]
|
|
326
|
-
}),
|
|
371
|
+
}), no = t({
|
|
327
372
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"]
|
|
328
|
-
}),
|
|
373
|
+
}), so = t({
|
|
329
374
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"],
|
|
330
375
|
descendant: " *"
|
|
331
|
-
}),
|
|
376
|
+
}), io = v({
|
|
332
377
|
ancestorSuffixes: ["HoverCellBorder"],
|
|
333
378
|
suffixes: ["ColorPreview", "ColorPreviewDynamic", "ColorViewedCell"]
|
|
334
|
-
}),
|
|
379
|
+
}), uo = t({
|
|
335
380
|
suffixes: [
|
|
336
381
|
"ColorHoveredCellSpace",
|
|
337
382
|
"ColorHoveredCellSpaceEdit",
|
|
@@ -345,18 +390,18 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
345
390
|
"ColorHoveredCellTab",
|
|
346
391
|
"ColorHoveredCellTab1"
|
|
347
392
|
]
|
|
348
|
-
}),
|
|
393
|
+
}), po = t({
|
|
349
394
|
suffixes: ["ColorFocusedCell", "ColorFocusedCellRelative"]
|
|
350
|
-
}),
|
|
395
|
+
}), Co = t({
|
|
351
396
|
suffixes: ["ColorFocusedCellRect"]
|
|
352
|
-
}),
|
|
397
|
+
}), So = t({
|
|
353
398
|
suffixes: ["FocusCellBorder"]
|
|
354
|
-
}),
|
|
399
|
+
}), bo = t({
|
|
355
400
|
suffixes: ["FocusCellCorner"]
|
|
356
|
-
}),
|
|
401
|
+
}), $o = t({
|
|
357
402
|
suffixes: ["ClassFocusedCellSpaceEdit", "ClassFocusedCellSpaceDefaults"],
|
|
358
403
|
descendant: " > div"
|
|
359
|
-
}),
|
|
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({
|
|
360
405
|
suffixes: [
|
|
361
406
|
"ColorFocusedCellSafari",
|
|
362
407
|
"ColorFocusedCellSpace",
|
|
@@ -365,24 +410,24 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
365
410
|
"ColorFocusedCellSpaceBool",
|
|
366
411
|
"ColorFocusedCellButton"
|
|
367
412
|
]
|
|
368
|
-
}),
|
|
413
|
+
}), vo = t({
|
|
369
414
|
suffixes: ["ClassHoveredCellSpaceEdit", "ClassHoveredCellSpaceDefaults"],
|
|
370
415
|
descendant: " > div"
|
|
371
|
-
}),
|
|
416
|
+
}), mo = t({
|
|
372
417
|
suffixes: ["ClassHoveredCellButtonButton", "ClassHoveredCellButtonButton1"],
|
|
373
418
|
descendant: " u"
|
|
374
|
-
}),
|
|
419
|
+
}), fo = t({
|
|
375
420
|
suffixes: ["ClassHoveredCellTab", "ClassHoveredCellTab1"]
|
|
376
|
-
}),
|
|
421
|
+
}), ho = t({
|
|
377
422
|
suffixes: ["ColorChangedCell"]
|
|
378
|
-
}),
|
|
379
|
-
const o = `${e}ClassFocusedCell`, a = `.${r} .${
|
|
423
|
+
}), Do = n.flatMap((e) => {
|
|
424
|
+
const o = `${e}ClassFocusedCell`, a = `.${r} .${i}:not(.${o})`;
|
|
380
425
|
return [
|
|
381
426
|
a,
|
|
382
427
|
`${a} *:not(.${o})`
|
|
383
428
|
];
|
|
384
|
-
}).join(", "),
|
|
385
|
-
const o = `.${r} .${
|
|
429
|
+
}).join(", "), Fo = n.flatMap((e) => {
|
|
430
|
+
const o = `.${r} .${i}`, a = `.${r} .${i}.${N}`;
|
|
386
431
|
return [
|
|
387
432
|
`${e}ColorSelected`,
|
|
388
433
|
`${e}ColorSelectedCell`,
|
|
@@ -390,16 +435,16 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
390
435
|
`${e}ClassSelected`,
|
|
391
436
|
`${e}ClassSelectedCell`,
|
|
392
437
|
`${e}ClassSelectedRow`
|
|
393
|
-
].flatMap((
|
|
438
|
+
].flatMap((s) => [
|
|
394
439
|
a,
|
|
395
440
|
`${a} *`,
|
|
396
|
-
`${o}.${
|
|
397
|
-
`${o}.${
|
|
398
|
-
`.${r} .${
|
|
399
|
-
`.${r} .${
|
|
441
|
+
`${o}.${s}`,
|
|
442
|
+
`${o}.${s} *`,
|
|
443
|
+
`.${r} .${s} ${o}`,
|
|
444
|
+
`.${r} .${s} ${o} *`
|
|
400
445
|
]);
|
|
401
|
-
}).join(", "),
|
|
402
|
-
const o = `.${r} .${
|
|
446
|
+
}).join(", "), _o = n.flatMap((e) => {
|
|
447
|
+
const o = `.${r} .${i}`;
|
|
403
448
|
return [
|
|
404
449
|
`${e}ClassFocusedCell`,
|
|
405
450
|
`${e}ColorFocusedCell`,
|
|
@@ -410,19 +455,19 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
410
455
|
`.${r} .${c} ${o}`,
|
|
411
456
|
`.${r} .${c} ${o} *`
|
|
412
457
|
]);
|
|
413
|
-
}).join(", "),
|
|
414
|
-
const o = `.${r} .${
|
|
458
|
+
}).join(", "), Go = n.flatMap((e) => {
|
|
459
|
+
const o = `.${r} .${i}`, a = `${e}HiddenValue`;
|
|
415
460
|
return [
|
|
416
461
|
`${o}.${a}`,
|
|
417
462
|
`${o}.${a} *`,
|
|
418
463
|
`.${r} .${a} ${o}`,
|
|
419
464
|
`.${r} .${a} ${o} *`
|
|
420
465
|
];
|
|
421
|
-
}).join(", "),
|
|
466
|
+
}).join(", "), xo = `var(--owp-tree-grid-changed-font-weight, ${Y}) !important`, Bo = t({
|
|
422
467
|
suffixes: ["EditCellBorder"]
|
|
423
|
-
}),
|
|
468
|
+
}), Io = t({
|
|
424
469
|
suffixes: ["EditCellCorner"]
|
|
425
|
-
}),
|
|
470
|
+
}), Ho = [
|
|
426
471
|
`.${r} .TSMain .TSDateLeft`,
|
|
427
472
|
`.${r} .TSMain .TSDatesLeft`,
|
|
428
473
|
`.${r} .TSMain .TSDateRight`,
|
|
@@ -431,16 +476,16 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
431
476
|
`.${r} .TSMain .TSDatesTop`,
|
|
432
477
|
`.${r} .TSMain .TSDateBottom`,
|
|
433
478
|
`.${r} .TSMain .TSDatesBottom`
|
|
434
|
-
].join(", "),
|
|
435
|
-
`.${r} .TSMain .${
|
|
436
|
-
`.${r} .TSMain .${
|
|
437
|
-
`.${r} .TSMain .${
|
|
438
|
-
`.${r} .TSMain .${
|
|
439
|
-
`.${r} .TSMain .${
|
|
440
|
-
`.${r} .TSMain .${
|
|
441
|
-
`.${r} .TSMain .${
|
|
442
|
-
`.${r} .TSMain .${
|
|
443
|
-
].join(", "),
|
|
479
|
+
].join(", "), Mo = [
|
|
480
|
+
`.${r} .TSMain .${i}.TSDateLeft`,
|
|
481
|
+
`.${r} .TSMain .${i}.TSDatesLeft`,
|
|
482
|
+
`.${r} .TSMain .${i}.TSDateRight`,
|
|
483
|
+
`.${r} .TSMain .${i}.TSDatesRight`,
|
|
484
|
+
`.${r} .TSMain .${i}.TSDateTop`,
|
|
485
|
+
`.${r} .TSMain .${i}.TSDatesTop`,
|
|
486
|
+
`.${r} .TSMain .${i}.TSDateBottom`,
|
|
487
|
+
`.${r} .TSMain .${i}.TSDatesBottom`
|
|
488
|
+
].join(", "), To = [
|
|
444
489
|
"DateLeft",
|
|
445
490
|
"DatesLeft",
|
|
446
491
|
"DateRight",
|
|
@@ -450,22 +495,22 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
450
495
|
"DateBottom",
|
|
451
496
|
"DatesBottom"
|
|
452
497
|
].flatMap((e) => n.flatMap((o) => {
|
|
453
|
-
const a = `.${r} .${
|
|
498
|
+
const a = `.${r} .${i}.${o}${e}`;
|
|
454
499
|
return [
|
|
455
500
|
`${o}ClassFocusedCell`,
|
|
456
501
|
`${o}ColorFocusedCell`,
|
|
457
502
|
`${o}ColorFocusedCellRelative`
|
|
458
|
-
].flatMap((
|
|
459
|
-
`${a}.${
|
|
460
|
-
`.${r} .${
|
|
503
|
+
].flatMap((s) => [
|
|
504
|
+
`${a}.${s}`,
|
|
505
|
+
`.${r} .${s} ${a}`
|
|
461
506
|
]);
|
|
462
|
-
})).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(
|
|
463
508
|
"%23757575",
|
|
464
509
|
"white"
|
|
465
|
-
),
|
|
510
|
+
), y = $(
|
|
466
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>'
|
|
467
|
-
),
|
|
468
|
-
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 = [
|
|
469
514
|
`${e}ColorSelected`,
|
|
470
515
|
`${e}ColorSelectedCell`,
|
|
471
516
|
`${e}ColorSelectedRow`,
|
|
@@ -475,54 +520,54 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
475
520
|
];
|
|
476
521
|
return [
|
|
477
522
|
c,
|
|
478
|
-
...
|
|
479
|
-
`${a}.${
|
|
480
|
-
`.${r} .${
|
|
523
|
+
...s.flatMap((C) => [
|
|
524
|
+
`${a}.${C}`,
|
|
525
|
+
`.${r} .${C} ${a}`
|
|
481
526
|
])
|
|
482
527
|
];
|
|
483
|
-
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"),
|
|
484
|
-
const a =
|
|
528
|
+
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"), Oo = /* @__PURE__ */ l((e, o) => {
|
|
529
|
+
const a = x(e, o);
|
|
485
530
|
return [
|
|
486
531
|
`${e}ClassFocusedCell`,
|
|
487
532
|
`${e}ColorFocusedCell`,
|
|
488
533
|
`${e}ColorFocusedCellRelative`
|
|
489
|
-
].flatMap((
|
|
490
|
-
`${a}.${
|
|
491
|
-
`.${r} .${
|
|
534
|
+
].flatMap((s) => [
|
|
535
|
+
`${a}.${s}`,
|
|
536
|
+
`.${r} .${s} ${a}`
|
|
492
537
|
]);
|
|
493
|
-
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"),
|
|
494
|
-
|
|
495
|
-
(e, o) => [
|
|
496
|
-
),
|
|
497
|
-
|
|
538
|
+
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"), Ao = w(
|
|
539
|
+
G,
|
|
540
|
+
(e, o) => [x(e, o)]
|
|
541
|
+
), Po = w(
|
|
542
|
+
G,
|
|
498
543
|
(e, o) => [f(e, o)]
|
|
499
|
-
),
|
|
500
|
-
|
|
501
|
-
(e, o) =>
|
|
544
|
+
), yo = w(
|
|
545
|
+
G,
|
|
546
|
+
(e, o) => Vo(e, o).map(
|
|
502
547
|
(a) => `${a}::after`
|
|
503
548
|
)
|
|
504
|
-
),
|
|
505
|
-
|
|
506
|
-
(e, o) =>
|
|
549
|
+
), No = w(
|
|
550
|
+
G,
|
|
551
|
+
(e, o) => Oo(e, o).map(
|
|
507
552
|
(a) => `${a}::after`
|
|
508
553
|
)
|
|
509
|
-
),
|
|
554
|
+
), zo = w(
|
|
510
555
|
["DefaultsLeft", "EnumLeft"],
|
|
511
556
|
(e, o) => [f(e, o)]
|
|
512
|
-
),
|
|
557
|
+
), Wo = w(
|
|
513
558
|
["DefaultsRight", "EnumRight"],
|
|
514
559
|
(e, o) => [f(e, o)]
|
|
515
|
-
),
|
|
560
|
+
), jo = w(
|
|
516
561
|
["DefaultsTop", "EnumTop"],
|
|
517
562
|
(e, o) => [f(e, o)]
|
|
518
|
-
),
|
|
563
|
+
), Uo = w(
|
|
519
564
|
["DefaultsBottom", "EnumBottom"],
|
|
520
565
|
(e, o) => [f(e, o)]
|
|
521
|
-
),
|
|
522
|
-
`.${r} .${
|
|
523
|
-
`.${r} .${
|
|
524
|
-
].join(", "),
|
|
525
|
-
const o = `.${r} .${
|
|
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 = [
|
|
567
|
+
`.${r} .${i} .OwpTreeGridTimePickerEditorIcon`,
|
|
568
|
+
`.${r} .${i}.OwpTreeGridTimePickerEditorIcon`
|
|
569
|
+
].join(", "), Ko = n.flatMap((e) => {
|
|
570
|
+
const o = `.${r} .${i}`;
|
|
526
571
|
return [
|
|
527
572
|
`${e}ClassFocusedCell`,
|
|
528
573
|
`${e}ColorFocusedCell`,
|
|
@@ -533,116 +578,116 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
533
578
|
`.${r} .${c} ${o} .OwpTreeGridTimePickerEditorIcon`,
|
|
534
579
|
`.${r} .${c} ${o}.OwpTreeGridTimePickerEditorIcon`
|
|
535
580
|
]);
|
|
536
|
-
}).join(", "),
|
|
581
|
+
}).join(", "), Qo = n.map(
|
|
537
582
|
(e) => `.${e}EnumMenuMain, .${e}EnumMenuMain *`
|
|
538
|
-
).join(", "),
|
|
583
|
+
).join(", "), qo = n.map(
|
|
539
584
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar`
|
|
540
|
-
).join(", "),
|
|
585
|
+
).join(", "), Jo = n.map(
|
|
541
586
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb`
|
|
542
|
-
).join(", "),
|
|
587
|
+
).join(", "), Zo = n.map(
|
|
543
588
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb:hover`
|
|
544
|
-
).join(", "),
|
|
589
|
+
).join(", "), er = n.map(
|
|
545
590
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-track`
|
|
546
|
-
).join(", "),
|
|
591
|
+
).join(", "), or = n.map(
|
|
547
592
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-corner`
|
|
548
|
-
).join(", "),
|
|
549
|
-
[
|
|
550
|
-
fontFamily: `${
|
|
593
|
+
).join(", "), nr = {
|
|
594
|
+
[Fe]: {
|
|
595
|
+
fontFamily: `${T} !important`,
|
|
551
596
|
fontSize: "var(--owp-tree-grid-cell-font-size, 13px)",
|
|
552
597
|
fontWeight: "normal",
|
|
553
598
|
lineHeight: "16px"
|
|
554
599
|
},
|
|
555
|
-
[
|
|
600
|
+
[_e]: {
|
|
556
601
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
557
602
|
},
|
|
558
|
-
[
|
|
603
|
+
[Ge]: {
|
|
559
604
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
560
605
|
},
|
|
561
|
-
[
|
|
606
|
+
[xe]: u(
|
|
562
607
|
"--owp-tree-grid-body-background-color",
|
|
563
608
|
"#FFFFFF"
|
|
564
609
|
),
|
|
565
|
-
[
|
|
566
|
-
borderTopColor: `${
|
|
610
|
+
[Be]: {
|
|
611
|
+
borderTopColor: `${b} !important`
|
|
567
612
|
},
|
|
568
|
-
[
|
|
569
|
-
backgroundImage: `${
|
|
613
|
+
[ge]: {
|
|
614
|
+
backgroundImage: `${de} !important`,
|
|
570
615
|
backgroundPosition: "center center !important",
|
|
571
616
|
backgroundRepeat: "no-repeat !important",
|
|
572
617
|
backgroundSize: "17px 17px !important"
|
|
573
618
|
},
|
|
574
|
-
[
|
|
575
|
-
backgroundImage: `${
|
|
619
|
+
[Re]: {
|
|
620
|
+
backgroundImage: `${se} !important`,
|
|
576
621
|
backgroundPosition: "center center !important",
|
|
577
622
|
backgroundRepeat: "no-repeat !important",
|
|
578
623
|
backgroundSize: "17px 17px !important"
|
|
579
624
|
},
|
|
580
|
-
[
|
|
581
|
-
backgroundImage: `${
|
|
625
|
+
[Ee]: {
|
|
626
|
+
backgroundImage: `${V} !important`,
|
|
582
627
|
backgroundPosition: "center center !important",
|
|
583
628
|
backgroundRepeat: "no-repeat !important",
|
|
584
629
|
backgroundSize: "17px 17px !important"
|
|
585
630
|
},
|
|
586
|
-
[
|
|
587
|
-
backgroundImage: `${
|
|
631
|
+
[ke]: {
|
|
632
|
+
backgroundImage: `${O} !important`,
|
|
588
633
|
backgroundPosition: "center center !important",
|
|
589
634
|
backgroundRepeat: "no-repeat !important",
|
|
590
635
|
backgroundSize: "17px 17px !important"
|
|
591
636
|
},
|
|
592
|
-
[
|
|
593
|
-
backgroundImage: `${
|
|
637
|
+
[ve]: {
|
|
638
|
+
backgroundImage: `${O} !important`
|
|
594
639
|
},
|
|
595
|
-
[
|
|
596
|
-
backgroundImage: `${
|
|
640
|
+
[me]: {
|
|
641
|
+
backgroundImage: `${ie} !important`
|
|
597
642
|
},
|
|
598
|
-
[
|
|
599
|
-
backgroundImage: `${
|
|
643
|
+
[fe]: {
|
|
644
|
+
backgroundImage: `${V} !important`
|
|
600
645
|
},
|
|
601
|
-
[
|
|
602
|
-
WebkitMaskImage: `${
|
|
646
|
+
[he]: {
|
|
647
|
+
WebkitMaskImage: `${A} !important`,
|
|
603
648
|
WebkitMaskPosition: "center center !important",
|
|
604
649
|
WebkitMaskRepeat: "no-repeat !important",
|
|
605
650
|
WebkitMaskSize: "17px 17px !important",
|
|
606
|
-
backgroundColor: `${
|
|
651
|
+
backgroundColor: `${ue} !important`,
|
|
607
652
|
backgroundImage: "none !important",
|
|
608
653
|
height: "17px !important",
|
|
609
|
-
maskImage: `${
|
|
654
|
+
maskImage: `${A} !important`,
|
|
610
655
|
maskPosition: "center center !important",
|
|
611
656
|
maskRepeat: "no-repeat !important",
|
|
612
657
|
maskSize: "17px 17px !important",
|
|
613
658
|
opacity: 0.72,
|
|
614
659
|
width: "17px !important"
|
|
615
660
|
},
|
|
616
|
-
[
|
|
617
|
-
WebkitMaskImage: `${
|
|
661
|
+
[De]: {
|
|
662
|
+
WebkitMaskImage: `${P} !important`,
|
|
618
663
|
WebkitMaskPosition: "center center !important",
|
|
619
664
|
WebkitMaskRepeat: "no-repeat !important",
|
|
620
665
|
WebkitMaskSize: "17px 17px !important",
|
|
621
|
-
backgroundColor: `${
|
|
666
|
+
backgroundColor: `${pe} !important`,
|
|
622
667
|
backgroundImage: "none !important",
|
|
623
668
|
height: "17px !important",
|
|
624
|
-
maskImage: `${
|
|
669
|
+
maskImage: `${P} !important`,
|
|
625
670
|
maskPosition: "center center !important",
|
|
626
671
|
maskRepeat: "no-repeat !important",
|
|
627
672
|
maskSize: "17px 17px !important",
|
|
628
673
|
opacity: 1,
|
|
629
674
|
width: "17px !important"
|
|
630
675
|
},
|
|
631
|
-
[
|
|
632
|
-
backgroundImage: `${
|
|
676
|
+
[Ho]: {
|
|
677
|
+
backgroundImage: `${I} !important`
|
|
633
678
|
},
|
|
634
|
-
[
|
|
635
|
-
backgroundImage: `${
|
|
679
|
+
[Mo]: {
|
|
680
|
+
backgroundImage: `${Lo} !important`
|
|
636
681
|
},
|
|
637
|
-
[
|
|
638
|
-
backgroundImage: `${
|
|
682
|
+
[To]: {
|
|
683
|
+
backgroundImage: `${I} !important`
|
|
639
684
|
},
|
|
640
|
-
[
|
|
685
|
+
[Ao]: {
|
|
641
686
|
backgroundImage: "none !important",
|
|
642
687
|
position: "relative"
|
|
643
688
|
},
|
|
644
|
-
[
|
|
645
|
-
WebkitMaskImage: `${
|
|
689
|
+
[Po]: {
|
|
690
|
+
WebkitMaskImage: `${y} !important`,
|
|
646
691
|
WebkitMaskPosition: "center center !important",
|
|
647
692
|
WebkitMaskRepeat: "no-repeat !important",
|
|
648
693
|
WebkitMaskSize: "16px 16px !important",
|
|
@@ -651,7 +696,7 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
651
696
|
content: '""',
|
|
652
697
|
display: "block",
|
|
653
698
|
height: "16px",
|
|
654
|
-
maskImage: `${
|
|
699
|
+
maskImage: `${y} !important`,
|
|
655
700
|
maskPosition: "center center !important",
|
|
656
701
|
maskRepeat: "no-repeat !important",
|
|
657
702
|
maskSize: "16px 16px !important",
|
|
@@ -659,34 +704,34 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
659
704
|
position: "absolute",
|
|
660
705
|
width: "16px"
|
|
661
706
|
},
|
|
662
|
-
[
|
|
707
|
+
[yo]: {
|
|
663
708
|
backgroundColor: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
664
709
|
},
|
|
665
|
-
[
|
|
666
|
-
backgroundColor: `${
|
|
710
|
+
[No]: {
|
|
711
|
+
backgroundColor: `${L} !important`
|
|
667
712
|
},
|
|
668
|
-
[
|
|
713
|
+
[zo]: {
|
|
669
714
|
left: "4px",
|
|
670
715
|
top: "50%",
|
|
671
716
|
transform: "translateY(-50%)"
|
|
672
717
|
},
|
|
673
|
-
[
|
|
718
|
+
[Wo]: {
|
|
674
719
|
right: "4px",
|
|
675
720
|
top: "50%",
|
|
676
721
|
transform: "translateY(-50%)"
|
|
677
722
|
},
|
|
678
|
-
[
|
|
723
|
+
[jo]: {
|
|
679
724
|
left: "50%",
|
|
680
725
|
top: "0",
|
|
681
726
|
transform: "translateX(-50%)"
|
|
682
727
|
},
|
|
683
|
-
[
|
|
728
|
+
[Uo]: {
|
|
684
729
|
bottom: "0",
|
|
685
730
|
left: "50%",
|
|
686
731
|
transform: "translateX(-50%)"
|
|
687
732
|
},
|
|
688
|
-
[
|
|
689
|
-
backgroundImage:
|
|
733
|
+
[Xo]: {
|
|
734
|
+
backgroundImage: B,
|
|
690
735
|
backgroundPosition: "center calc(50% - 1px)",
|
|
691
736
|
backgroundRepeat: "no-repeat",
|
|
692
737
|
backgroundSize: "16px 16px",
|
|
@@ -697,56 +742,61 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
697
742
|
verticalAlign: "middle",
|
|
698
743
|
width: "16px"
|
|
699
744
|
},
|
|
700
|
-
[
|
|
701
|
-
WebkitMaskImage:
|
|
745
|
+
[Yo]: {
|
|
746
|
+
WebkitMaskImage: B,
|
|
702
747
|
WebkitMaskPosition: "center calc(50% - 1px)",
|
|
703
748
|
WebkitMaskRepeat: "no-repeat",
|
|
704
749
|
WebkitMaskSize: "16px 16px",
|
|
705
750
|
backgroundColor: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
706
751
|
backgroundImage: "none !important",
|
|
707
|
-
maskImage:
|
|
752
|
+
maskImage: B,
|
|
708
753
|
maskPosition: "center calc(50% - 1px)",
|
|
709
754
|
maskRepeat: "no-repeat",
|
|
710
755
|
maskSize: "16px 16px"
|
|
711
756
|
},
|
|
712
|
-
[
|
|
713
|
-
backgroundColor: `${
|
|
757
|
+
[Ko]: {
|
|
758
|
+
backgroundColor: `${L} !important`
|
|
714
759
|
},
|
|
715
|
-
[
|
|
760
|
+
[Qo]: {
|
|
716
761
|
scrollbarColor: "rgba(0, 0, 0, 0.32) transparent",
|
|
717
762
|
scrollbarWidth: "thin"
|
|
718
763
|
},
|
|
719
|
-
[
|
|
764
|
+
[qo]: {
|
|
720
765
|
height: "8px",
|
|
721
766
|
width: "8px"
|
|
722
767
|
},
|
|
723
|
-
[
|
|
768
|
+
[Jo]: {
|
|
724
769
|
backgroundClip: "padding-box",
|
|
725
770
|
backgroundColor: "rgba(0, 0, 0, 0.32)",
|
|
726
771
|
border: "2px solid transparent",
|
|
727
772
|
borderRadius: "8px"
|
|
728
773
|
},
|
|
729
|
-
[
|
|
774
|
+
[Zo]: {
|
|
730
775
|
backgroundColor: "rgba(0, 0, 0, 0.44)"
|
|
731
776
|
},
|
|
732
|
-
[
|
|
777
|
+
[er]: {
|
|
733
778
|
backgroundColor: "transparent"
|
|
734
779
|
},
|
|
735
|
-
[
|
|
780
|
+
[or]: {
|
|
736
781
|
backgroundColor: "transparent"
|
|
737
782
|
},
|
|
738
|
-
[
|
|
783
|
+
[M]: {
|
|
739
784
|
position: "relative"
|
|
740
785
|
},
|
|
741
|
-
[
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
786
|
+
[Ie]: {
|
|
787
|
+
borderBottom: "0 !important",
|
|
788
|
+
borderRadius: `${d} ${d} 0 0`,
|
|
789
|
+
clipPath: `inset(0 round ${d} ${d} 0 0)`,
|
|
790
|
+
overflow: "hidden"
|
|
791
|
+
},
|
|
792
|
+
[He]: {
|
|
793
|
+
border: `${p} solid ${b}`,
|
|
745
794
|
borderBottom: 0,
|
|
795
|
+
borderRadius: `${d} ${d} 0 0`,
|
|
746
796
|
boxSizing: "border-box",
|
|
747
797
|
content: '""',
|
|
748
798
|
display: "block",
|
|
749
|
-
height:
|
|
799
|
+
height: d,
|
|
750
800
|
left: 0,
|
|
751
801
|
pointerEvents: "none",
|
|
752
802
|
position: "absolute",
|
|
@@ -754,260 +804,289 @@ const r = "owp-tree-grid-theme", Y = "owp-tree-grid-ready", $ = "owp-tree-grid-t
|
|
|
754
804
|
top: 0,
|
|
755
805
|
zIndex: 2
|
|
756
806
|
},
|
|
757
|
-
[
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
clipPath: `inset(0 round ${i} ${i} 0 0)`,
|
|
761
|
-
overflow: "hidden"
|
|
762
|
-
},
|
|
763
|
-
[De]: {
|
|
764
|
-
borderLeft: `${S} solid ${k}`,
|
|
765
|
-
borderRight: `${S} solid ${k}`,
|
|
766
|
-
borderTop: `${S} solid ${k}`,
|
|
767
|
-
borderBottom: 0,
|
|
768
|
-
borderRadius: `${i} ${i} 0 0`,
|
|
807
|
+
[Me]: {
|
|
808
|
+
borderLeft: `${p} solid ${b}`,
|
|
809
|
+
borderRight: `${p} solid ${b}`,
|
|
769
810
|
boxSizing: "border-box",
|
|
770
811
|
content: '""',
|
|
771
812
|
display: "block",
|
|
772
|
-
height:
|
|
813
|
+
height: Le,
|
|
773
814
|
left: 0,
|
|
774
815
|
pointerEvents: "none",
|
|
775
816
|
position: "absolute",
|
|
776
|
-
right:
|
|
777
|
-
top:
|
|
817
|
+
right: 0,
|
|
818
|
+
top: Te,
|
|
778
819
|
zIndex: 2
|
|
779
820
|
},
|
|
780
|
-
[
|
|
781
|
-
borderTop: `${
|
|
821
|
+
[Ve]: {
|
|
822
|
+
borderTop: `${p} solid ${b} !important`
|
|
782
823
|
},
|
|
783
|
-
[
|
|
824
|
+
[Oe]: {
|
|
825
|
+
boxShadow: `inset -${p} 0 0 ${b}`
|
|
826
|
+
},
|
|
827
|
+
[Ae]: {
|
|
828
|
+
boxShadow: `inset -${p} 0 0 ${b}`
|
|
829
|
+
},
|
|
830
|
+
[Pe]: {
|
|
784
831
|
borderTopColor: "transparent !important",
|
|
785
832
|
overflow: "visible",
|
|
786
833
|
position: "relative"
|
|
787
834
|
},
|
|
788
|
-
[
|
|
789
|
-
border: `${
|
|
790
|
-
borderBottomLeftRadius:
|
|
791
|
-
borderBottomRightRadius:
|
|
835
|
+
[ye]: {
|
|
836
|
+
border: `${p} solid ${b}`,
|
|
837
|
+
borderBottomLeftRadius: d,
|
|
838
|
+
borderBottomRightRadius: d,
|
|
792
839
|
borderTop: 0,
|
|
793
840
|
boxSizing: "border-box",
|
|
794
841
|
content: '""',
|
|
795
842
|
display: "block",
|
|
796
|
-
height:
|
|
843
|
+
height: d,
|
|
797
844
|
left: 0,
|
|
798
845
|
pointerEvents: "none",
|
|
799
846
|
position: "absolute",
|
|
800
847
|
right: 0,
|
|
801
848
|
top: 0,
|
|
802
|
-
transform:
|
|
849
|
+
transform: `translateY(calc(-100% - ${p}))`,
|
|
803
850
|
zIndex: 2
|
|
804
851
|
},
|
|
805
|
-
[
|
|
806
|
-
backgroundImage: `radial-gradient(circle at right top, transparent calc(${
|
|
852
|
+
[Ne]: {
|
|
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})`,
|
|
807
854
|
backgroundPosition: "left top, right top",
|
|
808
855
|
backgroundRepeat: "no-repeat",
|
|
809
|
-
backgroundSize: `${
|
|
856
|
+
backgroundSize: `${d} ${d}, ${d} ${d}`,
|
|
810
857
|
content: '""',
|
|
811
858
|
display: "block",
|
|
812
|
-
height:
|
|
859
|
+
height: d,
|
|
813
860
|
left: 0,
|
|
814
861
|
pointerEvents: "none",
|
|
815
862
|
position: "absolute",
|
|
816
863
|
right: 0,
|
|
817
864
|
top: 0,
|
|
818
|
-
transform:
|
|
865
|
+
transform: `translateY(calc(-100% - ${p}))`,
|
|
819
866
|
zIndex: 1
|
|
820
867
|
},
|
|
821
|
-
[
|
|
868
|
+
[ze]: E(
|
|
822
869
|
"--owp-tree-grid-body-fill-background-color"
|
|
823
870
|
),
|
|
824
|
-
[
|
|
871
|
+
[We]: E(
|
|
825
872
|
"--owp-tree-grid-row-solid-background-color"
|
|
826
873
|
),
|
|
827
|
-
[
|
|
874
|
+
[je]: E(
|
|
828
875
|
"--owp-tree-grid-toolbar-row-background-color"
|
|
829
876
|
),
|
|
830
|
-
[
|
|
877
|
+
[Ue]: u(
|
|
831
878
|
"--owp-tree-grid-row-background-color",
|
|
832
879
|
"#FFFFFF"
|
|
833
880
|
),
|
|
834
|
-
[
|
|
881
|
+
[Xe]: u(
|
|
835
882
|
"--owp-tree-grid-row-background-color",
|
|
836
883
|
"#FFFFFE"
|
|
837
884
|
),
|
|
838
|
-
[
|
|
885
|
+
[W]: {
|
|
839
886
|
boxShadow: "none !important",
|
|
840
887
|
outline: "none",
|
|
841
888
|
position: "relative",
|
|
842
889
|
zIndex: 3
|
|
843
890
|
},
|
|
844
|
-
[
|
|
845
|
-
border: `${
|
|
891
|
+
[wo]: {
|
|
892
|
+
border: `${ae} solid ${ne}`,
|
|
846
893
|
boxSizing: "border-box",
|
|
847
894
|
content: '""',
|
|
848
895
|
display: "block",
|
|
849
|
-
inset:
|
|
896
|
+
inset: ce,
|
|
850
897
|
pointerEvents: "none",
|
|
851
898
|
position: "absolute",
|
|
852
899
|
zIndex: 4
|
|
853
900
|
},
|
|
854
|
-
[
|
|
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]: {
|
|
855
931
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important",
|
|
856
|
-
fontFamily: `${
|
|
932
|
+
fontFamily: `${T} !important`,
|
|
857
933
|
fontSize: "var(--owp-tree-grid-header-font-size, 14px) !important",
|
|
858
934
|
fontWeight: "var(--owp-tree-grid-header-font-weight, normal) !important",
|
|
859
935
|
lineHeight: "16px"
|
|
860
936
|
},
|
|
861
|
-
[
|
|
937
|
+
[Ke]: {
|
|
862
938
|
backgroundColor: "var(--owp-tree-grid-header-background-color, #586980) !important",
|
|
863
939
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important"
|
|
864
940
|
},
|
|
865
|
-
[
|
|
941
|
+
[Qe]: u(
|
|
866
942
|
"--owp-tree-grid-hover-row-background-color",
|
|
867
943
|
"#F0F0FF"
|
|
868
944
|
),
|
|
869
|
-
[
|
|
945
|
+
[qe]: u(
|
|
870
946
|
"--owp-tree-grid-hover-row-background-color",
|
|
871
947
|
"#EEE"
|
|
872
948
|
),
|
|
873
|
-
[
|
|
949
|
+
[Je]: {
|
|
874
950
|
borderTopColor: "var(--owp-tree-grid-hover-row-border-color) !important",
|
|
875
951
|
borderBottomColor: "var(--owp-tree-grid-hover-row-border-color) !important"
|
|
876
952
|
},
|
|
877
|
-
[
|
|
953
|
+
[Ze]: u(
|
|
878
954
|
"--owp-tree-grid-selected-cell-background-color",
|
|
879
955
|
"#FFFFA6"
|
|
880
956
|
),
|
|
881
|
-
[
|
|
957
|
+
[eo]: u(
|
|
882
958
|
"--owp-tree-grid-selected-cell-background-color",
|
|
883
959
|
"#FFFFA6"
|
|
884
960
|
),
|
|
885
|
-
[
|
|
961
|
+
[oo]: u(
|
|
886
962
|
"--owp-tree-grid-selected-row-background-color",
|
|
887
963
|
"#EEE"
|
|
888
964
|
),
|
|
889
|
-
[
|
|
965
|
+
[ro]: u(
|
|
890
966
|
"--owp-tree-grid-focused-row-background-color",
|
|
891
967
|
"#E6E6E6"
|
|
892
968
|
),
|
|
893
|
-
[
|
|
969
|
+
[to]: u(
|
|
894
970
|
"--owp-tree-grid-focused-row-background-color",
|
|
895
971
|
"#EEE"
|
|
896
972
|
),
|
|
897
|
-
[
|
|
973
|
+
[lo]: {
|
|
898
974
|
borderColor: "var(--owp-tree-grid-focused-row-border-color) !important"
|
|
899
975
|
},
|
|
900
|
-
[
|
|
976
|
+
[ao]: u(
|
|
901
977
|
"--owp-tree-grid-hover-cell-background-color",
|
|
902
978
|
"#BFDDF2"
|
|
903
979
|
),
|
|
904
|
-
[
|
|
980
|
+
[co]: {
|
|
905
981
|
backgroundColor: "var(--owp-tree-grid-hover-cell-background-color) !important",
|
|
906
982
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
907
983
|
},
|
|
908
|
-
[
|
|
984
|
+
[no]: u(
|
|
909
985
|
"--owp-tree-grid-hover-cell-background-color",
|
|
910
986
|
"#F0F0F0"
|
|
911
987
|
),
|
|
912
|
-
[
|
|
988
|
+
[so]: u(
|
|
913
989
|
"--owp-tree-grid-hover-cell-background-color",
|
|
914
990
|
"#F0F0F0"
|
|
915
991
|
),
|
|
916
|
-
[
|
|
992
|
+
[io]: E(
|
|
917
993
|
"--owp-tree-grid-hover-cell-background-color"
|
|
918
994
|
),
|
|
919
|
-
[
|
|
995
|
+
[uo]: E(
|
|
920
996
|
"--owp-tree-grid-hover-cell-background-color"
|
|
921
997
|
),
|
|
922
|
-
[
|
|
998
|
+
[vo]: {
|
|
923
999
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
924
1000
|
},
|
|
925
|
-
[
|
|
1001
|
+
[mo]: {
|
|
926
1002
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
927
1003
|
},
|
|
928
|
-
[
|
|
1004
|
+
[fo]: {
|
|
929
1005
|
borderTopColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
930
1006
|
borderBottomColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
931
1007
|
outlineColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
932
1008
|
},
|
|
933
|
-
[
|
|
1009
|
+
[po]: u(
|
|
934
1010
|
"--owp-tree-grid-focused-cell-background-color",
|
|
935
1011
|
"#FFFFFE"
|
|
936
1012
|
),
|
|
937
|
-
[
|
|
1013
|
+
[Co]: {
|
|
938
1014
|
backgroundColor: "var(--owp-tree-grid-focused-cell-rect-background-color) !important"
|
|
939
1015
|
},
|
|
940
|
-
[
|
|
1016
|
+
[So]: {
|
|
941
1017
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
942
1018
|
},
|
|
943
|
-
[
|
|
1019
|
+
[bo]: {
|
|
944
1020
|
backgroundColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
945
1021
|
},
|
|
946
|
-
[
|
|
1022
|
+
[$o]: {
|
|
947
1023
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
948
1024
|
},
|
|
949
|
-
[
|
|
1025
|
+
[ko]: E(
|
|
950
1026
|
"--owp-tree-grid-focused-cell-background-color"
|
|
951
1027
|
),
|
|
952
|
-
[
|
|
1028
|
+
[ho]: u(
|
|
953
1029
|
"--owp-tree-grid-changed-background-color",
|
|
954
1030
|
"#EEE"
|
|
955
1031
|
),
|
|
956
|
-
[
|
|
1032
|
+
[Do]: {
|
|
957
1033
|
color: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
958
|
-
fontWeight:
|
|
1034
|
+
fontWeight: xo
|
|
959
1035
|
},
|
|
960
|
-
[
|
|
1036
|
+
[Fo]: {
|
|
961
1037
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
962
1038
|
fontWeight: "normal !important"
|
|
963
1039
|
},
|
|
964
|
-
[
|
|
1040
|
+
[_o]: {
|
|
965
1041
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
966
1042
|
fontWeight: "normal !important"
|
|
967
1043
|
},
|
|
968
|
-
[
|
|
1044
|
+
[Go]: {
|
|
969
1045
|
color: "transparent !important"
|
|
970
1046
|
},
|
|
971
|
-
[
|
|
1047
|
+
[Bo]: {
|
|
972
1048
|
borderColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
973
1049
|
},
|
|
974
|
-
[
|
|
1050
|
+
[Io]: {
|
|
975
1051
|
backgroundColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
976
1052
|
}
|
|
977
|
-
},
|
|
1053
|
+
}, _ = /* @__PURE__ */ l((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), rr = /* @__PURE__ */ l((e, o, a) => {
|
|
978
1054
|
a && (e[o] = a);
|
|
979
|
-
}, "setOptionalTreeGridCssVariable"),
|
|
1055
|
+
}, "setOptionalTreeGridCssVariable"), dr = /* @__PURE__ */ l(({
|
|
980
1056
|
width: e,
|
|
981
1057
|
height: o,
|
|
982
1058
|
treeGridTheme: a,
|
|
983
1059
|
gridThemeConfig: c,
|
|
984
|
-
containerStyle:
|
|
985
|
-
tableBorderRadius:
|
|
1060
|
+
containerStyle: s,
|
|
1061
|
+
tableBorderRadius: C
|
|
986
1062
|
}) => {
|
|
987
|
-
const
|
|
1063
|
+
const S = {
|
|
988
1064
|
height: o,
|
|
1065
|
+
"--owp-tree-grid-added-row-box-color": z,
|
|
989
1066
|
width: e
|
|
990
1067
|
};
|
|
991
|
-
for (const { cssVariableName:
|
|
992
|
-
|
|
993
|
-
for (const { cssVariableName:
|
|
994
|
-
|
|
995
|
-
return C
|
|
996
|
-
...
|
|
997
|
-
...
|
|
1068
|
+
for (const { cssVariableName: m, getValue: g } of Ce)
|
|
1069
|
+
rr(S, m, g(c));
|
|
1070
|
+
for (const { cssVariableName: m, getValue: g } of Se)
|
|
1071
|
+
S[m] = g(a);
|
|
1072
|
+
return C !== void 0 && (S["--owp-tree-grid-table-border-radius"] = _(C)), {
|
|
1073
|
+
...S,
|
|
1074
|
+
...s
|
|
998
1075
|
};
|
|
999
1076
|
}, "createTreeGridThemeContainerStyle");
|
|
1000
1077
|
export {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
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,
|
|
1009
1088
|
r as TREE_GRID_THEME_WRAPPER_CLASS,
|
|
1010
|
-
|
|
1011
|
-
|
|
1089
|
+
dr as createTreeGridThemeContainerStyle,
|
|
1090
|
+
nr as treeGridThemeStyles
|
|
1012
1091
|
};
|
|
1013
1092
|
//# sourceMappingURL=treeGridTheme.js.map
|