@owp/core 2.5.18 → 2.5.19
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/index15.js +2 -2
- package/dist/_virtual/index16.js +4 -4
- package/dist/_virtual/index17.js +4 -4
- package/dist/_virtual/index18.js +4 -4
- package/dist/_virtual/index19.js +4 -4
- package/dist/_virtual/index5.js +2 -2
- package/dist/components/OwpPageContent/OwpPageContent.js +14 -12
- package/dist/components/OwpPageContent/OwpPageContent.js.map +1 -1
- package/dist/components/OwpPageTitle/OwpPageTitle.js +37 -35
- package/dist/components/OwpPageTitle/OwpPageTitle.js.map +1 -1
- package/dist/components/OwpPicker/OwpDatePicker.js +339 -102
- package/dist/components/OwpPicker/OwpDatePicker.js.map +1 -1
- package/dist/components/OwpPicker/OwpDateRangePicker.js +87 -82
- package/dist/components/OwpPicker/OwpDateRangePicker.js.map +1 -1
- package/dist/components/OwpPicker/OwpTimePicker.js +494 -236
- package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
- package/dist/components/OwpPicker/constants/index.js +6 -5
- package/dist/components/OwpPicker/constants/index.js.map +1 -1
- package/dist/components/OwpPicker/internal/DatePickerInput.js +71 -47
- package/dist/components/OwpPicker/internal/DatePickerInput.js.map +1 -1
- package/dist/components/OwpSection/OwpSection.js +84 -62
- package/dist/components/OwpSection/OwpSection.js.map +1 -1
- package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js +42 -40
- package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +307 -270
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +267 -276
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +262 -182
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/constants/gridTheme.js +7 -6
- package/dist/constants/gridTheme.js.map +1 -1
- package/dist/constants/treeGrid.js +32 -31
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +28 -27
- package/dist/features/themePreview/configs/grid.js +3 -1
- package/dist/features/themePreview/configs/grid.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +10 -0
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
- 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/ITF/constants.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/node_modules/.pnpm/react-overlays@5.2.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-overlays/esm/Portal.js +1 -1
- package/dist/owp-app.css +1 -1
- package/dist/types/components/OwpPageContent/OwpPageContent.d.ts +3 -1
- package/dist/types/components/OwpPageTitle/OwpPageTitle.d.ts +3 -1
- package/dist/types/components/OwpPicker/constants/index.d.ts +1 -0
- package/dist/types/components/OwpPicker/internal/DatePickerInput.d.ts +7 -0
- package/dist/types/components/OwpSection/OwpSection.d.ts +3 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +1 -1
- package/dist/types/constants/gridTheme.d.ts +2 -0
- package/dist/types/constants/treeGrid.d.ts +2 -1
- package/dist/types/features/themePreview/configs/grid.d.ts +2 -0
- package/dist/types/features/themePreview/configs/settings.d.ts +2 -0
- package/dist/types/types/OwpGridThemeTypes.d.ts +1 -0
- package/dist/types/utils/treeGridUtil.d.ts +15 -3
- package/dist/utils/treeGridUtil.js +193 -147
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/dist/utils.js +69 -67
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { TREEGRID_FONT_FAMILY_STACK as
|
|
4
|
-
const
|
|
1
|
+
var R = Object.defineProperty;
|
|
2
|
+
var l = (e, r) => R(e, "name", { value: r, configurable: !0 });
|
|
3
|
+
import { TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT as G, TREEGRID_FONT_FAMILY_STACK as F, TREEGRID_CELL_CHANGED_CLASS as n } from "../../../constants/treeGrid.js";
|
|
4
|
+
const o = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
5
5
|
"TS",
|
|
6
6
|
"TW",
|
|
7
7
|
"TB",
|
|
@@ -18,200 +18,207 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
18
18
|
"CR",
|
|
19
19
|
"CP",
|
|
20
20
|
"CC"
|
|
21
|
-
],
|
|
21
|
+
], f = "#CDD8E4", E = "1px", H = "#757575", D = [
|
|
22
22
|
{
|
|
23
23
|
cssVariableName: "--owp-tree-grid-body-background-color",
|
|
24
|
-
getValue: /* @__PURE__ */
|
|
24
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
25
25
|
var r;
|
|
26
26
|
return (r = e == null ? void 0 : e.body) == null ? void 0 : r.backgroundColor;
|
|
27
27
|
}, "getValue")
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
cssVariableName: "--owp-tree-grid-body-color",
|
|
31
|
-
getValue: /* @__PURE__ */
|
|
31
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
32
32
|
var r;
|
|
33
33
|
return (r = e == null ? void 0 : e.body) == null ? void 0 : r.color;
|
|
34
34
|
}, "getValue")
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
cssVariableName: "--owp-tree-grid-body-fill-background-color",
|
|
38
|
-
getValue: /* @__PURE__ */
|
|
38
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
39
39
|
var r;
|
|
40
40
|
return (r = e == null ? void 0 : e.body) == null ? void 0 : r.fillBackgroundColor;
|
|
41
41
|
}, "getValue")
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
cssVariableName: "--owp-tree-grid-row-background-color",
|
|
45
|
-
getValue: /* @__PURE__ */
|
|
45
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
46
46
|
var r;
|
|
47
47
|
return (r = e == null ? void 0 : e.row) == null ? void 0 : r.backgroundColor;
|
|
48
48
|
}, "getValue")
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
cssVariableName: "--owp-tree-grid-row-solid-background-color",
|
|
52
|
-
getValue: /* @__PURE__ */
|
|
52
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
53
53
|
var r;
|
|
54
54
|
return (r = e == null ? void 0 : e.row) == null ? void 0 : r.solidBackgroundColor;
|
|
55
55
|
}, "getValue")
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
cssVariableName: "--owp-tree-grid-hover-row-background-color",
|
|
59
|
-
getValue: /* @__PURE__ */
|
|
59
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
60
60
|
var r;
|
|
61
61
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.hoverRowBackgroundColor;
|
|
62
62
|
}, "getValue")
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
cssVariableName: "--owp-tree-grid-hover-row-border-color",
|
|
66
|
-
getValue: /* @__PURE__ */
|
|
66
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
67
67
|
var r;
|
|
68
68
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.hoverRowBorderColor;
|
|
69
69
|
}, "getValue")
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
cssVariableName: "--owp-tree-grid-selected-row-background-color",
|
|
73
|
-
getValue: /* @__PURE__ */
|
|
73
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
74
74
|
var r;
|
|
75
75
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.selectedRowBackgroundColor;
|
|
76
76
|
}, "getValue")
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
cssVariableName: "--owp-tree-grid-selected-cell-background-color",
|
|
80
|
-
getValue: /* @__PURE__ */
|
|
80
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
81
81
|
var r;
|
|
82
82
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.selectedCellBackgroundColor;
|
|
83
83
|
}, "getValue")
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
cssVariableName: "--owp-tree-grid-focused-row-background-color",
|
|
87
|
-
getValue: /* @__PURE__ */
|
|
87
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
88
88
|
var r;
|
|
89
89
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.focusedRowBackgroundColor;
|
|
90
90
|
}, "getValue")
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
cssVariableName: "--owp-tree-grid-focused-row-border-color",
|
|
94
|
-
getValue: /* @__PURE__ */
|
|
94
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
95
95
|
var r;
|
|
96
96
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.focusedRowBorderColor;
|
|
97
97
|
}, "getValue")
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
cssVariableName: "--owp-tree-grid-hover-cell-background-color",
|
|
101
|
-
getValue: /* @__PURE__ */
|
|
101
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
102
102
|
var r;
|
|
103
103
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.hoverCellBackgroundColor;
|
|
104
104
|
}, "getValue")
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
cssVariableName: "--owp-tree-grid-hover-cell-border-color",
|
|
108
|
-
getValue: /* @__PURE__ */
|
|
108
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
109
109
|
var r;
|
|
110
110
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.hoverCellBorderColor;
|
|
111
111
|
}, "getValue")
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
cssVariableName: "--owp-tree-grid-focused-cell-background-color",
|
|
115
|
-
getValue: /* @__PURE__ */
|
|
115
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
116
116
|
var r;
|
|
117
117
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.focusedCellBackgroundColor;
|
|
118
118
|
}, "getValue")
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
cssVariableName: "--owp-tree-grid-focused-cell-border-color",
|
|
122
|
-
getValue: /* @__PURE__ */
|
|
122
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
123
123
|
var r;
|
|
124
124
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.focusedCellBorderColor;
|
|
125
125
|
}, "getValue")
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
cssVariableName: "--owp-tree-grid-editing-cell-border-color",
|
|
129
|
-
getValue: /* @__PURE__ */
|
|
129
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
130
130
|
var r;
|
|
131
131
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.editingCellBorderColor;
|
|
132
132
|
}, "getValue")
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
cssVariableName: "--owp-tree-grid-focused-cell-rect-background-color",
|
|
136
|
-
getValue: /* @__PURE__ */
|
|
136
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
137
137
|
var r;
|
|
138
138
|
return (r = e == null ? void 0 : e.state) == null ? void 0 : r.focusedCellRectBackgroundColor;
|
|
139
139
|
}, "getValue")
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
cssVariableName: "--owp-tree-grid-changed-background-color",
|
|
143
|
-
getValue: /* @__PURE__ */
|
|
143
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
144
144
|
var r;
|
|
145
145
|
return (r = e == null ? void 0 : e.changed) == null ? void 0 : r.backgroundColor;
|
|
146
146
|
}, "getValue")
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
cssVariableName: "--owp-tree-grid-changed-text-color",
|
|
150
|
-
getValue: /* @__PURE__ */
|
|
150
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
151
151
|
var r;
|
|
152
152
|
return (r = e == null ? void 0 : e.changed) == null ? void 0 : r.color;
|
|
153
153
|
}, "getValue")
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
cssVariableName: "--owp-tree-grid-changed-font-weight",
|
|
157
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
158
|
+
var r;
|
|
159
|
+
return ((r = e == null ? void 0 : e.changed) == null ? void 0 : r.fontWeight) === void 0 ? void 0 : String(e.changed.fontWeight);
|
|
160
|
+
}, "getValue")
|
|
154
161
|
}
|
|
155
|
-
],
|
|
162
|
+
], m = [
|
|
156
163
|
{
|
|
157
164
|
cssVariableName: "--owp-tree-grid-header-background-color",
|
|
158
|
-
getValue: /* @__PURE__ */
|
|
165
|
+
getValue: /* @__PURE__ */ l((e) => e.header.backgroundColor, "getValue")
|
|
159
166
|
},
|
|
160
167
|
{
|
|
161
168
|
cssVariableName: "--owp-tree-grid-header-color",
|
|
162
|
-
getValue: /* @__PURE__ */
|
|
169
|
+
getValue: /* @__PURE__ */ l((e) => e.header.color, "getValue")
|
|
163
170
|
},
|
|
164
171
|
{
|
|
165
172
|
cssVariableName: "--owp-tree-grid-header-font-size",
|
|
166
|
-
getValue: /* @__PURE__ */
|
|
173
|
+
getValue: /* @__PURE__ */ l((e) => g(e.header.fontSize), "getValue")
|
|
167
174
|
},
|
|
168
175
|
{
|
|
169
176
|
cssVariableName: "--owp-tree-grid-header-font-weight",
|
|
170
|
-
getValue: /* @__PURE__ */
|
|
177
|
+
getValue: /* @__PURE__ */ l((e) => String(e.header.fontWeight), "getValue")
|
|
171
178
|
},
|
|
172
179
|
{
|
|
173
180
|
cssVariableName: "--owp-tree-grid-cell-font-size",
|
|
174
|
-
getValue: /* @__PURE__ */
|
|
181
|
+
getValue: /* @__PURE__ */ l((e) => g(e.cell.fontSize), "getValue")
|
|
175
182
|
}
|
|
176
|
-
],
|
|
183
|
+
], s = /* @__PURE__ */ l((e, r) => ({
|
|
177
184
|
backgroundColor: `var(${e}, ${r}) !important`
|
|
178
|
-
}), "createTreeGridBackgroundColorStyle"),
|
|
185
|
+
}), "createTreeGridBackgroundColorStyle"), b = /* @__PURE__ */ l((e) => ({
|
|
179
186
|
backgroundColor: `var(${e}) !important`
|
|
180
|
-
}), "createTreeGridOptionalBackgroundColorStyle"),
|
|
187
|
+
}), "createTreeGridOptionalBackgroundColorStyle"), t = /* @__PURE__ */ l(({
|
|
181
188
|
rowSuffix: e,
|
|
182
189
|
suffixes: r,
|
|
183
|
-
descendant:
|
|
184
|
-
withChildren:
|
|
185
|
-
}) => c.flatMap((
|
|
186
|
-
const
|
|
187
|
-
return
|
|
188
|
-
})).join(", "), "createTreeGridSelectors"),
|
|
190
|
+
descendant: a = "",
|
|
191
|
+
withChildren: d = !1
|
|
192
|
+
}) => c.flatMap((i) => r.flatMap((p) => {
|
|
193
|
+
const C = `.${o}`, S = e ? ` .${i}${e}` : "", u = `${C}${S} .${i}${p}${a}`;
|
|
194
|
+
return d ? [u, `${u} *`] : [u];
|
|
195
|
+
})).join(", "), "createTreeGridSelectors"), M = /* @__PURE__ */ l(({
|
|
189
196
|
ancestorSuffixes: e,
|
|
190
197
|
suffixes: r,
|
|
191
|
-
descendant:
|
|
192
|
-
}) => c.flatMap((
|
|
198
|
+
descendant: a = ""
|
|
199
|
+
}) => c.flatMap((d) => e.flatMap((i) => r.map((p) => `.${o} .${d}${i} .${d}${p}${a}`))).join(", "), "createTreeGridNestedSelectors"), B = t({
|
|
193
200
|
suffixes: ["Main"],
|
|
194
201
|
withChildren: !0
|
|
195
|
-
}),
|
|
202
|
+
}), V = t({
|
|
196
203
|
suffixes: ["Main"]
|
|
197
|
-
}), x =
|
|
204
|
+
}), x = t({
|
|
198
205
|
suffixes: ["ClassReadOnly"],
|
|
199
206
|
withChildren: !0
|
|
200
|
-
}),
|
|
207
|
+
}), h = t({
|
|
201
208
|
suffixes: ["MainTable"]
|
|
202
|
-
}),
|
|
209
|
+
}), k = `.${o}.${w}`, I = c.map((e) => `.${o}.${w} .${e}MainTable`).join(", "), T = `${k}::before`, _ = c.map((e) => `.${o}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), y = c.map((e) => `.${o}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::before`).join(", "), L = c.map((e) => `.${o}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::after`).join(", "), A = t({
|
|
203
210
|
suffixes: ["FillRow"]
|
|
204
|
-
}),
|
|
211
|
+
}), N = t({
|
|
205
212
|
suffixes: ["SolidRow"]
|
|
206
|
-
}),
|
|
213
|
+
}), z = c.map((e) => `.${o} .${e}ToolbarRow.${e}SolidRow`).join(", "), O = t({
|
|
207
214
|
suffixes: ["ColorDefault"]
|
|
208
|
-
}),
|
|
215
|
+
}), P = t({
|
|
209
216
|
suffixes: ["ColorDefaultRow"]
|
|
210
|
-
}),
|
|
217
|
+
}), j = t({
|
|
211
218
|
rowSuffix: "HeaderRow",
|
|
212
219
|
suffixes: ["CellHeader", "CellIndex", "GanttHeaderBase", "LevelButton"],
|
|
213
220
|
withChildren: !0
|
|
214
|
-
}),
|
|
221
|
+
}), W = t({
|
|
215
222
|
rowSuffix: "HeaderRow",
|
|
216
223
|
suffixes: [
|
|
217
224
|
"CellHeader",
|
|
@@ -224,38 +231,38 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
224
231
|
"HeaderFocus",
|
|
225
232
|
"HeaderDrag"
|
|
226
233
|
]
|
|
227
|
-
}),
|
|
234
|
+
}), U = t({
|
|
228
235
|
suffixes: ["ColorHovered"]
|
|
229
|
-
}),
|
|
236
|
+
}), Y = t({
|
|
230
237
|
suffixes: ["ColorHoveredRow"]
|
|
231
|
-
}),
|
|
238
|
+
}), X = t({
|
|
232
239
|
suffixes: ["HoverRowBorder"]
|
|
233
|
-
}),
|
|
240
|
+
}), K = t({
|
|
234
241
|
suffixes: ["ColorSelected", "ColorSelectedCell"]
|
|
235
|
-
}),
|
|
242
|
+
}), Q = t({
|
|
236
243
|
suffixes: ["ColorSelected", "ColorSelectedCell"],
|
|
237
244
|
descendant: " *"
|
|
238
|
-
}),
|
|
245
|
+
}), q = t({
|
|
239
246
|
suffixes: ["ColorSelectedRow"]
|
|
240
|
-
}),
|
|
247
|
+
}), J = t({
|
|
241
248
|
suffixes: ["ColorFocused"]
|
|
242
|
-
}),
|
|
249
|
+
}), Z = t({
|
|
243
250
|
suffixes: ["ColorFocusedRow"]
|
|
244
|
-
}),
|
|
251
|
+
}), ee = t({
|
|
245
252
|
suffixes: ["FocusRowBorder"]
|
|
246
|
-
}),
|
|
253
|
+
}), re = t({
|
|
247
254
|
suffixes: ["ColorHoveredCell", "ColorHoveredCellIndex"]
|
|
248
|
-
}),
|
|
255
|
+
}), oe = t({
|
|
249
256
|
suffixes: ["HoverCellBorder"]
|
|
250
|
-
}),
|
|
257
|
+
}), te = t({
|
|
251
258
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"]
|
|
252
|
-
}),
|
|
259
|
+
}), le = t({
|
|
253
260
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"],
|
|
254
261
|
descendant: " *"
|
|
255
|
-
}),
|
|
262
|
+
}), ae = M({
|
|
256
263
|
ancestorSuffixes: ["HoverCellBorder"],
|
|
257
264
|
suffixes: ["ColorPreview", "ColorPreviewDynamic", "ColorViewedCell"]
|
|
258
|
-
}),
|
|
265
|
+
}), ce = t({
|
|
259
266
|
suffixes: [
|
|
260
267
|
"ColorHoveredCellSpace",
|
|
261
268
|
"ColorHoveredCellSpaceEdit",
|
|
@@ -269,18 +276,18 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
269
276
|
"ColorHoveredCellTab",
|
|
270
277
|
"ColorHoveredCellTab1"
|
|
271
278
|
]
|
|
272
|
-
}),
|
|
279
|
+
}), de = t({
|
|
273
280
|
suffixes: ["ColorFocusedCell", "ColorFocusedCellRelative"]
|
|
274
|
-
}),
|
|
281
|
+
}), se = t({
|
|
275
282
|
suffixes: ["ColorFocusedCellRect"]
|
|
276
|
-
}),
|
|
283
|
+
}), ne = t({
|
|
277
284
|
suffixes: ["FocusCellBorder"]
|
|
278
|
-
}),
|
|
285
|
+
}), ie = t({
|
|
279
286
|
suffixes: ["FocusCellCorner"]
|
|
280
|
-
}),
|
|
287
|
+
}), ue = t({
|
|
281
288
|
suffixes: ["ClassFocusedCellSpaceEdit", "ClassFocusedCellSpaceDefaults"],
|
|
282
289
|
descendant: " > div"
|
|
283
|
-
}),
|
|
290
|
+
}), pe = t({
|
|
284
291
|
suffixes: [
|
|
285
292
|
"ColorFocusedCellSafari",
|
|
286
293
|
"ColorFocusedCellSpace",
|
|
@@ -289,80 +296,140 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
289
296
|
"ColorFocusedCellSpaceBool",
|
|
290
297
|
"ColorFocusedCellButton"
|
|
291
298
|
]
|
|
292
|
-
}),
|
|
299
|
+
}), Ce = t({
|
|
293
300
|
suffixes: ["ClassHoveredCellSpaceEdit", "ClassHoveredCellSpaceDefaults"],
|
|
294
301
|
descendant: " > div"
|
|
295
|
-
}),
|
|
302
|
+
}), be = t({
|
|
296
303
|
suffixes: ["ClassHoveredCellButtonButton", "ClassHoveredCellButtonButton1"],
|
|
297
304
|
descendant: " u"
|
|
298
|
-
}),
|
|
305
|
+
}), Se = t({
|
|
299
306
|
suffixes: ["ClassHoveredCellTab", "ClassHoveredCellTab1"]
|
|
300
|
-
}),
|
|
307
|
+
}), we = t({
|
|
301
308
|
suffixes: ["ColorChangedCell"]
|
|
302
|
-
}),
|
|
309
|
+
}), ve = c.flatMap((e) => {
|
|
310
|
+
const r = `${e}ClassFocusedCell`, a = `.${o} .${n}:not(.${r})`;
|
|
311
|
+
return [
|
|
312
|
+
a,
|
|
313
|
+
`${a} *:not(.${r})`
|
|
314
|
+
];
|
|
315
|
+
}).join(", "), $e = c.flatMap((e) => {
|
|
316
|
+
const r = `.${o} .${n}`;
|
|
317
|
+
return [
|
|
318
|
+
`${e}ClassFocusedCell`,
|
|
319
|
+
`${e}ColorFocusedCell`,
|
|
320
|
+
`${e}ColorFocusedCellRelative`
|
|
321
|
+
].flatMap((d) => [
|
|
322
|
+
`${r}.${d}`,
|
|
323
|
+
`${r}.${d} *`,
|
|
324
|
+
`.${o} .${d} ${r}`,
|
|
325
|
+
`.${o} .${d} ${r} *`
|
|
326
|
+
]);
|
|
327
|
+
}).join(", "), ge = c.flatMap((e) => {
|
|
328
|
+
const r = `.${o} .${n}`, a = `${e}HiddenValue`;
|
|
329
|
+
return [
|
|
330
|
+
`${r}.${a}`,
|
|
331
|
+
`${r}.${a} *`,
|
|
332
|
+
`.${o} .${a} ${r}`,
|
|
333
|
+
`.${o} .${a} ${r} *`
|
|
334
|
+
];
|
|
335
|
+
}).join(", "), Fe = `var(--owp-tree-grid-changed-font-weight, ${G}) !important`, fe = t({
|
|
303
336
|
suffixes: ["EditCellBorder"]
|
|
304
|
-
}),
|
|
337
|
+
}), Ee = t({
|
|
305
338
|
suffixes: ["EditCellCorner"]
|
|
306
|
-
}),
|
|
307
|
-
`.${
|
|
308
|
-
`.${
|
|
309
|
-
`.${
|
|
310
|
-
`.${
|
|
311
|
-
`.${
|
|
312
|
-
`.${
|
|
313
|
-
`.${
|
|
314
|
-
`.${
|
|
315
|
-
].join(", "),
|
|
316
|
-
`.${
|
|
317
|
-
`.${
|
|
318
|
-
`.${
|
|
319
|
-
`.${
|
|
320
|
-
`.${
|
|
321
|
-
`.${
|
|
322
|
-
`.${
|
|
323
|
-
`.${
|
|
324
|
-
].join(", "),
|
|
339
|
+
}), ke = [
|
|
340
|
+
`.${o} .TSMain .TSDateLeft`,
|
|
341
|
+
`.${o} .TSMain .TSDatesLeft`,
|
|
342
|
+
`.${o} .TSMain .TSDateRight`,
|
|
343
|
+
`.${o} .TSMain .TSDatesRight`,
|
|
344
|
+
`.${o} .TSMain .TSDateTop`,
|
|
345
|
+
`.${o} .TSMain .TSDatesTop`,
|
|
346
|
+
`.${o} .TSMain .TSDateBottom`,
|
|
347
|
+
`.${o} .TSMain .TSDatesBottom`
|
|
348
|
+
].join(", "), Re = [
|
|
349
|
+
`.${o} .TSMain .${n}.TSDateLeft`,
|
|
350
|
+
`.${o} .TSMain .${n}.TSDatesLeft`,
|
|
351
|
+
`.${o} .TSMain .${n}.TSDateRight`,
|
|
352
|
+
`.${o} .TSMain .${n}.TSDatesRight`,
|
|
353
|
+
`.${o} .TSMain .${n}.TSDateTop`,
|
|
354
|
+
`.${o} .TSMain .${n}.TSDatesTop`,
|
|
355
|
+
`.${o} .TSMain .${n}.TSDateBottom`,
|
|
356
|
+
`.${o} .TSMain .${n}.TSDatesBottom`
|
|
357
|
+
].join(", "), Ge = [
|
|
358
|
+
"DateLeft",
|
|
359
|
+
"DatesLeft",
|
|
360
|
+
"DateRight",
|
|
361
|
+
"DatesRight",
|
|
362
|
+
"DateTop",
|
|
363
|
+
"DatesTop",
|
|
364
|
+
"DateBottom",
|
|
365
|
+
"DatesBottom"
|
|
366
|
+
].flatMap((e) => c.flatMap((r) => {
|
|
367
|
+
const a = `.${o} .${n}.${r}${e}`;
|
|
368
|
+
return [
|
|
369
|
+
`${r}ClassFocusedCell`,
|
|
370
|
+
`${r}ColorFocusedCell`,
|
|
371
|
+
`${r}ColorFocusedCellRelative`
|
|
372
|
+
].flatMap((i) => [
|
|
373
|
+
`${a}.${i}`,
|
|
374
|
+
`.${o} .${i} ${a}`
|
|
375
|
+
]);
|
|
376
|
+
})).join(", "), $ = '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")', He = $.replace(
|
|
325
377
|
"%23757575",
|
|
326
378
|
"white"
|
|
327
|
-
), v = 'url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M11.99%202C6.47%202%202%206.48%202%2012s4.47%2010%209.99%2010C17.52%2022%2022%2017.52%2022%2012S17.52%202%2011.99%202M12%2020c-4.42%200-8-3.58-8-8s3.58-8%208-8%208%203.58%208%208-3.58%208-8%208%22%2F%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M12.5%207H11v6l5.25%203.15.75-1.23-4.5-2.67z%22%2F%3E%3C%2Fsvg%3E")',
|
|
328
|
-
`.${
|
|
329
|
-
`.${
|
|
330
|
-
].join(", "),
|
|
379
|
+
), v = 'url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M11.99%202C6.47%202%202%206.48%202%2012s4.47%2010%209.99%2010C17.52%2022%2022%2017.52%2022%2012S17.52%202%2011.99%202M12%2020c-4.42%200-8-3.58-8-8s3.58-8%208-8%208%203.58%208%208-3.58%208-8%208%22%2F%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M12.5%207H11v6l5.25%203.15.75-1.23-4.5-2.67z%22%2F%3E%3C%2Fsvg%3E")', De = `.${o} .OwpTreeGridTimePickerEditorIcon`, me = [
|
|
380
|
+
`.${o} .${n} .OwpTreeGridTimePickerEditorIcon`,
|
|
381
|
+
`.${o} .${n}.OwpTreeGridTimePickerEditorIcon`
|
|
382
|
+
].join(", "), Me = c.flatMap((e) => {
|
|
383
|
+
const r = `.${o} .${n}`;
|
|
384
|
+
return [
|
|
385
|
+
`${e}ClassFocusedCell`,
|
|
386
|
+
`${e}ColorFocusedCell`,
|
|
387
|
+
`${e}ColorFocusedCellRelative`
|
|
388
|
+
].flatMap((d) => [
|
|
389
|
+
`${r}.${d} .OwpTreeGridTimePickerEditorIcon`,
|
|
390
|
+
`${r}.${d}.OwpTreeGridTimePickerEditorIcon`,
|
|
391
|
+
`.${o} .${d} ${r} .OwpTreeGridTimePickerEditorIcon`,
|
|
392
|
+
`.${o} .${d} ${r}.OwpTreeGridTimePickerEditorIcon`
|
|
393
|
+
]);
|
|
394
|
+
}).join(", "), Be = c.map(
|
|
331
395
|
(e) => `.${e}EnumMenuMain, .${e}EnumMenuMain *`
|
|
332
|
-
).join(", "),
|
|
396
|
+
).join(", "), Ve = c.map(
|
|
333
397
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar`
|
|
334
|
-
).join(", "),
|
|
398
|
+
).join(", "), xe = c.map(
|
|
335
399
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb`
|
|
336
|
-
).join(", "),
|
|
400
|
+
).join(", "), he = c.map(
|
|
337
401
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb:hover`
|
|
338
|
-
).join(", "),
|
|
402
|
+
).join(", "), Ie = c.map(
|
|
339
403
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-track`
|
|
340
|
-
).join(", "),
|
|
404
|
+
).join(", "), Te = c.map(
|
|
341
405
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-corner`
|
|
342
|
-
).join(", "),
|
|
343
|
-
[
|
|
344
|
-
fontFamily: `${
|
|
406
|
+
).join(", "), Ae = {
|
|
407
|
+
[B]: {
|
|
408
|
+
fontFamily: `${F} !important`,
|
|
345
409
|
fontSize: "var(--owp-tree-grid-cell-font-size, 13px)",
|
|
346
410
|
fontWeight: "normal",
|
|
347
411
|
lineHeight: "16px"
|
|
348
412
|
},
|
|
349
|
-
[
|
|
413
|
+
[V]: {
|
|
350
414
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
351
415
|
},
|
|
352
416
|
[x]: {
|
|
353
417
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
354
418
|
},
|
|
355
|
-
[
|
|
419
|
+
[h]: s(
|
|
356
420
|
"--owp-tree-grid-body-background-color",
|
|
357
421
|
"#FFFFFF"
|
|
358
422
|
),
|
|
359
|
-
[
|
|
360
|
-
backgroundImage: `${
|
|
423
|
+
[ke]: {
|
|
424
|
+
backgroundImage: `${$} !important`
|
|
361
425
|
},
|
|
362
|
-
[
|
|
363
|
-
backgroundImage: `${
|
|
426
|
+
[Re]: {
|
|
427
|
+
backgroundImage: `${He} !important`
|
|
364
428
|
},
|
|
365
|
-
[
|
|
429
|
+
[Ge]: {
|
|
430
|
+
backgroundImage: `${$} !important`
|
|
431
|
+
},
|
|
432
|
+
[De]: {
|
|
366
433
|
backgroundImage: v,
|
|
367
434
|
backgroundPosition: "center calc(50% - 1px)",
|
|
368
435
|
backgroundRepeat: "no-repeat",
|
|
@@ -374,7 +441,7 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
374
441
|
verticalAlign: "middle",
|
|
375
442
|
width: "16px"
|
|
376
443
|
},
|
|
377
|
-
[
|
|
444
|
+
[me]: {
|
|
378
445
|
WebkitMaskImage: v,
|
|
379
446
|
WebkitMaskPosition: "center calc(50% - 1px)",
|
|
380
447
|
WebkitMaskRepeat: "no-repeat",
|
|
@@ -386,40 +453,43 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
386
453
|
maskRepeat: "no-repeat",
|
|
387
454
|
maskSize: "16px 16px"
|
|
388
455
|
},
|
|
389
|
-
[
|
|
456
|
+
[Me]: {
|
|
457
|
+
backgroundColor: `${H} !important`
|
|
458
|
+
},
|
|
459
|
+
[Be]: {
|
|
390
460
|
scrollbarColor: "rgba(0, 0, 0, 0.32) transparent",
|
|
391
461
|
scrollbarWidth: "thin"
|
|
392
462
|
},
|
|
393
|
-
[
|
|
463
|
+
[Ve]: {
|
|
394
464
|
height: "8px",
|
|
395
465
|
width: "8px"
|
|
396
466
|
},
|
|
397
|
-
[
|
|
467
|
+
[xe]: {
|
|
398
468
|
backgroundClip: "padding-box",
|
|
399
469
|
backgroundColor: "rgba(0, 0, 0, 0.32)",
|
|
400
470
|
border: "2px solid transparent",
|
|
401
471
|
borderRadius: "8px"
|
|
402
472
|
},
|
|
403
|
-
[
|
|
473
|
+
[he]: {
|
|
404
474
|
backgroundColor: "rgba(0, 0, 0, 0.44)"
|
|
405
475
|
},
|
|
406
|
-
[
|
|
476
|
+
[Ie]: {
|
|
407
477
|
backgroundColor: "transparent"
|
|
408
478
|
},
|
|
409
|
-
[
|
|
479
|
+
[Te]: {
|
|
410
480
|
backgroundColor: "transparent"
|
|
411
481
|
},
|
|
412
|
-
[
|
|
482
|
+
[k]: {
|
|
413
483
|
position: "relative"
|
|
414
484
|
},
|
|
415
|
-
[
|
|
485
|
+
[I]: {
|
|
416
486
|
borderBottom: "0 !important",
|
|
417
487
|
borderRadius: "var(--owp-tree-grid-table-border-radius, .8rem) var(--owp-tree-grid-table-border-radius, .8rem) 0 0",
|
|
418
488
|
clipPath: "inset(0 round var(--owp-tree-grid-table-border-radius, .8rem) var(--owp-tree-grid-table-border-radius, .8rem) 0 0)",
|
|
419
489
|
overflow: "hidden"
|
|
420
490
|
},
|
|
421
|
-
[
|
|
422
|
-
border: `${
|
|
491
|
+
[T]: {
|
|
492
|
+
border: `${E} solid ${f}`,
|
|
423
493
|
borderBottom: 0,
|
|
424
494
|
borderRadius: "var(--owp-tree-grid-table-border-radius, .8rem) var(--owp-tree-grid-table-border-radius, .8rem) 0 0",
|
|
425
495
|
boxSizing: "border-box",
|
|
@@ -433,13 +503,13 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
433
503
|
top: 0,
|
|
434
504
|
zIndex: 2
|
|
435
505
|
},
|
|
436
|
-
[
|
|
506
|
+
[_]: {
|
|
437
507
|
borderTopColor: "transparent !important",
|
|
438
508
|
overflow: "visible",
|
|
439
509
|
position: "relative"
|
|
440
510
|
},
|
|
441
|
-
[
|
|
442
|
-
border: `${
|
|
511
|
+
[y]: {
|
|
512
|
+
border: `${E} solid ${f}`,
|
|
443
513
|
borderBottomLeftRadius: "var(--owp-tree-grid-table-border-radius, .8rem)",
|
|
444
514
|
borderBottomRightRadius: "var(--owp-tree-grid-table-border-radius, .8rem)",
|
|
445
515
|
borderTop: 0,
|
|
@@ -455,7 +525,7 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
455
525
|
transform: "translateY(-100%)",
|
|
456
526
|
zIndex: 2
|
|
457
527
|
},
|
|
458
|
-
[
|
|
528
|
+
[L]: {
|
|
459
529
|
backgroundImage: "radial-gradient(circle at right top, transparent calc(var(--owp-tree-grid-table-border-radius, .8rem) - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) var(--owp-tree-grid-table-border-radius, .8rem)), radial-gradient(circle at left top, transparent calc(var(--owp-tree-grid-table-border-radius, .8rem) - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) var(--owp-tree-grid-table-border-radius, .8rem))",
|
|
460
530
|
backgroundPosition: "left top, right top",
|
|
461
531
|
backgroundRepeat: "no-repeat",
|
|
@@ -471,158 +541,168 @@ const l = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", c = [
|
|
|
471
541
|
transform: "translateY(-100%)",
|
|
472
542
|
zIndex: 1
|
|
473
543
|
},
|
|
474
|
-
[A]:
|
|
544
|
+
[A]: b(
|
|
475
545
|
"--owp-tree-grid-body-fill-background-color"
|
|
476
546
|
),
|
|
477
|
-
[
|
|
547
|
+
[N]: b(
|
|
478
548
|
"--owp-tree-grid-row-solid-background-color"
|
|
479
549
|
),
|
|
480
|
-
[
|
|
550
|
+
[z]: b(
|
|
481
551
|
"--owp-tree-grid-toolbar-row-background-color"
|
|
482
552
|
),
|
|
483
|
-
[
|
|
553
|
+
[O]: s(
|
|
484
554
|
"--owp-tree-grid-row-background-color",
|
|
485
555
|
"#FFFFFF"
|
|
486
556
|
),
|
|
487
|
-
[
|
|
557
|
+
[P]: s(
|
|
488
558
|
"--owp-tree-grid-row-background-color",
|
|
489
559
|
"#FFFFFE"
|
|
490
560
|
),
|
|
491
|
-
[
|
|
561
|
+
[j]: {
|
|
492
562
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important",
|
|
493
|
-
fontFamily: `${
|
|
563
|
+
fontFamily: `${F} !important`,
|
|
494
564
|
fontSize: "var(--owp-tree-grid-header-font-size, 14px) !important",
|
|
495
565
|
fontWeight: "var(--owp-tree-grid-header-font-weight, normal) !important",
|
|
496
566
|
lineHeight: "16px"
|
|
497
567
|
},
|
|
498
|
-
[
|
|
568
|
+
[W]: {
|
|
499
569
|
backgroundColor: "var(--owp-tree-grid-header-background-color, #586980) !important",
|
|
500
570
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important"
|
|
501
571
|
},
|
|
502
|
-
[
|
|
572
|
+
[U]: s(
|
|
503
573
|
"--owp-tree-grid-hover-row-background-color",
|
|
504
574
|
"#F0F0FF"
|
|
505
575
|
),
|
|
506
|
-
[
|
|
576
|
+
[Y]: s(
|
|
507
577
|
"--owp-tree-grid-hover-row-background-color",
|
|
508
578
|
"#EEE"
|
|
509
579
|
),
|
|
510
|
-
[
|
|
580
|
+
[X]: {
|
|
511
581
|
borderTopColor: "var(--owp-tree-grid-hover-row-border-color) !important",
|
|
512
582
|
borderBottomColor: "var(--owp-tree-grid-hover-row-border-color) !important"
|
|
513
583
|
},
|
|
514
|
-
[
|
|
584
|
+
[K]: s(
|
|
515
585
|
"--owp-tree-grid-selected-cell-background-color",
|
|
516
586
|
"#FFFFA6"
|
|
517
587
|
),
|
|
518
|
-
[
|
|
588
|
+
[Q]: s(
|
|
519
589
|
"--owp-tree-grid-selected-cell-background-color",
|
|
520
590
|
"#FFFFA6"
|
|
521
591
|
),
|
|
522
|
-
[
|
|
592
|
+
[q]: s(
|
|
523
593
|
"--owp-tree-grid-selected-row-background-color",
|
|
524
594
|
"#EEE"
|
|
525
595
|
),
|
|
526
|
-
[
|
|
596
|
+
[J]: s(
|
|
527
597
|
"--owp-tree-grid-focused-row-background-color",
|
|
528
598
|
"#E6E6E6"
|
|
529
599
|
),
|
|
530
|
-
[
|
|
600
|
+
[Z]: s(
|
|
531
601
|
"--owp-tree-grid-focused-row-background-color",
|
|
532
602
|
"#EEE"
|
|
533
603
|
),
|
|
534
|
-
[
|
|
604
|
+
[ee]: {
|
|
535
605
|
borderColor: "var(--owp-tree-grid-focused-row-border-color) !important"
|
|
536
606
|
},
|
|
537
|
-
[
|
|
607
|
+
[re]: s(
|
|
538
608
|
"--owp-tree-grid-hover-cell-background-color",
|
|
539
609
|
"#BFDDF2"
|
|
540
610
|
),
|
|
541
|
-
[
|
|
611
|
+
[oe]: {
|
|
542
612
|
backgroundColor: "var(--owp-tree-grid-hover-cell-background-color) !important",
|
|
543
613
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
544
614
|
},
|
|
545
|
-
[
|
|
615
|
+
[te]: s(
|
|
546
616
|
"--owp-tree-grid-hover-cell-background-color",
|
|
547
617
|
"#F0F0F0"
|
|
548
618
|
),
|
|
549
|
-
[
|
|
619
|
+
[le]: s(
|
|
550
620
|
"--owp-tree-grid-hover-cell-background-color",
|
|
551
621
|
"#F0F0F0"
|
|
552
622
|
),
|
|
553
|
-
[
|
|
623
|
+
[ae]: b(
|
|
554
624
|
"--owp-tree-grid-hover-cell-background-color"
|
|
555
625
|
),
|
|
556
|
-
[
|
|
626
|
+
[ce]: b(
|
|
557
627
|
"--owp-tree-grid-hover-cell-background-color"
|
|
558
628
|
),
|
|
559
|
-
[
|
|
629
|
+
[Ce]: {
|
|
560
630
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
561
631
|
},
|
|
562
|
-
[
|
|
632
|
+
[be]: {
|
|
563
633
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
564
634
|
},
|
|
565
|
-
[
|
|
635
|
+
[Se]: {
|
|
566
636
|
borderTopColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
567
637
|
borderBottomColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
568
638
|
outlineColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
569
639
|
},
|
|
570
|
-
[
|
|
640
|
+
[de]: s(
|
|
571
641
|
"--owp-tree-grid-focused-cell-background-color",
|
|
572
642
|
"#FFFFFE"
|
|
573
643
|
),
|
|
574
|
-
[
|
|
644
|
+
[se]: {
|
|
575
645
|
backgroundColor: "var(--owp-tree-grid-focused-cell-rect-background-color) !important"
|
|
576
646
|
},
|
|
577
|
-
[
|
|
647
|
+
[ne]: {
|
|
578
648
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
579
649
|
},
|
|
580
|
-
[
|
|
650
|
+
[ie]: {
|
|
581
651
|
backgroundColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
582
652
|
},
|
|
583
|
-
[
|
|
653
|
+
[ue]: {
|
|
584
654
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
585
655
|
},
|
|
586
|
-
[
|
|
656
|
+
[pe]: b(
|
|
587
657
|
"--owp-tree-grid-focused-cell-background-color"
|
|
588
658
|
),
|
|
589
|
-
[
|
|
659
|
+
[we]: s(
|
|
590
660
|
"--owp-tree-grid-changed-background-color",
|
|
591
661
|
"#EEE"
|
|
592
662
|
),
|
|
593
|
-
[
|
|
663
|
+
[ve]: {
|
|
664
|
+
color: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
665
|
+
fontWeight: Fe
|
|
666
|
+
},
|
|
667
|
+
[$e]: {
|
|
668
|
+
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
669
|
+
},
|
|
670
|
+
[ge]: {
|
|
671
|
+
color: "transparent !important"
|
|
672
|
+
},
|
|
673
|
+
[fe]: {
|
|
594
674
|
borderColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
595
675
|
},
|
|
596
|
-
[
|
|
676
|
+
[Ee]: {
|
|
597
677
|
backgroundColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
598
678
|
}
|
|
599
|
-
}, g = /* @__PURE__ */
|
|
600
|
-
|
|
601
|
-
}, "setOptionalTreeGridCssVariable"),
|
|
679
|
+
}, g = /* @__PURE__ */ l((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), _e = /* @__PURE__ */ l((e, r, a) => {
|
|
680
|
+
a && (e[r] = a);
|
|
681
|
+
}, "setOptionalTreeGridCssVariable"), Ne = /* @__PURE__ */ l(({
|
|
602
682
|
width: e,
|
|
603
683
|
height: r,
|
|
604
|
-
treeGridTheme:
|
|
605
|
-
gridThemeConfig:
|
|
606
|
-
containerStyle:
|
|
684
|
+
treeGridTheme: a,
|
|
685
|
+
gridThemeConfig: d,
|
|
686
|
+
containerStyle: i,
|
|
607
687
|
tableBorderRadius: p
|
|
608
688
|
}) => {
|
|
609
|
-
const
|
|
689
|
+
const C = {
|
|
610
690
|
height: r,
|
|
611
691
|
width: e
|
|
612
692
|
};
|
|
613
|
-
for (const { cssVariableName: S, getValue:
|
|
614
|
-
|
|
615
|
-
for (const { cssVariableName: S, getValue:
|
|
616
|
-
|
|
617
|
-
return p !== void 0 && (
|
|
618
|
-
...
|
|
619
|
-
...
|
|
693
|
+
for (const { cssVariableName: S, getValue: u } of D)
|
|
694
|
+
_e(C, S, u(d));
|
|
695
|
+
for (const { cssVariableName: S, getValue: u } of m)
|
|
696
|
+
C[S] = u(a);
|
|
697
|
+
return p !== void 0 && (C["--owp-tree-grid-table-border-radius"] = g(p)), {
|
|
698
|
+
...C,
|
|
699
|
+
...i
|
|
620
700
|
};
|
|
621
701
|
}, "createTreeGridThemeContainerStyle");
|
|
622
702
|
export {
|
|
623
703
|
w as TREE_GRID_THEME_TABLE_RADIUS_CLASS,
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
704
|
+
o as TREE_GRID_THEME_WRAPPER_CLASS,
|
|
705
|
+
Ne as createTreeGridThemeContainerStyle,
|
|
706
|
+
Ae as treeGridThemeStyles
|
|
627
707
|
};
|
|
628
708
|
//# sourceMappingURL=treeGridTheme.js.map
|