@owp/core 2.5.48 → 2.5.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +271 -257
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js +41 -0
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js.map +1 -0
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridScrollRenderLoading.js +161 -0
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridScrollRenderLoading.js.map +1 -0
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +920 -681
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +431 -353
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js +1 -1
- package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js.map +1 -1
- package/dist/exceljs.js +5 -0
- package/dist/exceljs.js.map +1 -0
- 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/EAN_UPC/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/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/types/components/OwpNumberField/OwpNumberField.d.ts +1 -1
- package/dist/types/components/OwpTabs/OwpTab.d.ts +1 -1
- package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.d.ts +10 -0
- package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridScrollRenderLoading.d.ts +14 -0
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +3 -1
- package/dist/types/exceljs.d.ts +3 -0
- package/dist/types/types/OwpExcelTypes.d.ts +5 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/utils/fetchFile.d.ts +1 -1
- package/dist/types/utils/internal/exceljsBrowser.d.ts +1 -2
- package/dist/utils/internal/exceljsBrowser.js.map +1 -1
- package/exceljs.d.ts +3 -0
- package/exceljs.js +1 -0
- package/package.json +3 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { TREEGRID_ADDED_ROW_BACKGROUND_COLOR as
|
|
4
|
-
import { DEFAULT_TABLE_RADIUS as
|
|
5
|
-
import { darken as
|
|
6
|
-
const r = "owp-tree-grid-theme",
|
|
1
|
+
var J = Object.defineProperty;
|
|
2
|
+
var t = (e, o) => J(e, "name", { value: o, configurable: !0 });
|
|
3
|
+
import { TREEGRID_ADDED_ROW_BACKGROUND_COLOR as Z, TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT as ee, TREEGRID_FONT_FAMILY_STACK as B, TREEGRID_ERROR_CELL_BORDER_COLOR as oe, TREEGRID_CELL_CHANGED_CLASS as i } from "../../../constants/treeGrid.js";
|
|
4
|
+
import { DEFAULT_TABLE_RADIUS as re } from "../../../constants/table.js";
|
|
5
|
+
import { darken as te } from "@mui/material/styles";
|
|
6
|
+
const r = "owp-tree-grid-theme", w = "owp-tree-grid-table-radius", le = "owp-tree-grid-panel-checkbox-select", ae = "owp-tree-grid-select-all-checked", ce = "owp-tree-grid-select-all-indeterminate", ne = "owp-tree-grid-select-all-unchecked", X = "owp-tree-grid-selected-changed-cell", Y = "owp-tree-grid-error-cell", F = "owp-tree-grid-added-row-box-cell", se = "owp-tree-grid-added-row-box-start", de = "owp-tree-grid-added-row-box-end", c = [
|
|
7
7
|
"TS",
|
|
8
8
|
"TW",
|
|
9
9
|
"TB",
|
|
@@ -20,7 +20,7 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
20
20
|
"CR",
|
|
21
21
|
"CP",
|
|
22
22
|
"CC"
|
|
23
|
-
],
|
|
23
|
+
], R = "#CDD8E4", u = "1px", s = `var(--owp-tree-grid-table-border-radius, ${re})`, M = "#757575", ie = "2px", H = "2px", pe = `var(--owp-tree-grid-error-cell-border-color, ${oe})`, k = "2px", v = "1px", K = te(Z, 0.42), O = `var(--owp-tree-grid-added-row-box-color, ${K})`, ue = "OwpSoftChange", Se = "OwpSoftRevert", Ce = "OwpSoftRowAdd", Re = "OwpSoftRowRemove", be = "rgba(25, 118, 210, 0.36)", Ee = "rgba(25, 118, 210, 0.20)", $e = "rgba(25, 118, 210, 0.26)", _e = "rgba(25, 118, 210, 0.13)", ge = "rgba(96, 125, 139, 0.35)", we = "rgba(96, 125, 139, 0.20)", me = "rgba(96, 125, 139, 0.32)", De = "rgba(96, 125, 139, 0.16)", ke = "rgba(46, 125, 50, 0.24)", Ie = "rgba(46, 125, 50, 0.12)", ve = "rgba(46, 125, 50, 0.16)", Oe = "rgba(46, 125, 50, 0.07)", fe = "rgba(96, 125, 139, 0.24)", Fe = "rgba(96, 125, 139, 0.12)", Ge = "rgba(96, 125, 139, 0.16)", Te = "rgba(96, 125, 139, 0.07)", L = "rgba(25, 118, 210, 0)", N = "rgba(96, 125, 139, 0)", V = "rgba(46, 125, 50, 0)", P = "rgba(96, 125, 139, 0)", G = [
|
|
24
24
|
"DefaultsLeft",
|
|
25
25
|
"DefaultsRight",
|
|
26
26
|
"DefaultsTop",
|
|
@@ -29,254 +29,331 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
29
29
|
"EnumRight",
|
|
30
30
|
"EnumTop",
|
|
31
31
|
"EnumBottom"
|
|
32
|
-
],
|
|
32
|
+
], b = /* @__PURE__ */ t((e) => `url("data:image/svg+xml,${encodeURIComponent(e)}")`, "createTreeGridSvgBackgroundImage"), he = b(
|
|
33
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>'
|
|
34
|
-
),
|
|
34
|
+
), xe = b(
|
|
35
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>'
|
|
36
|
-
),
|
|
36
|
+
), y = b(
|
|
37
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>'
|
|
38
|
-
),
|
|
38
|
+
), W = b(
|
|
39
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>'
|
|
40
|
-
),
|
|
40
|
+
), Ae = b(
|
|
41
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>'
|
|
42
|
-
),
|
|
42
|
+
), z = b(
|
|
43
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>'
|
|
44
|
-
),
|
|
44
|
+
), j = b(
|
|
45
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>'
|
|
46
|
-
),
|
|
46
|
+
), Be = "var(--owp-tree-grid-header-background-color, #586980)", Me = "var(--owp-tree-grid-focused-cell-border-color, var(--owp-tree-grid-hover-cell-border-color, var(--owp-tree-grid-header-background-color, #586980)))", He = [
|
|
47
47
|
{
|
|
48
48
|
cssVariableName: "--owp-tree-grid-body-background-color",
|
|
49
|
-
getValue: /* @__PURE__ */
|
|
49
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
50
50
|
var o;
|
|
51
51
|
return (o = e == null ? void 0 : e.body) == null ? void 0 : o.backgroundColor;
|
|
52
52
|
}, "getValue")
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
cssVariableName: "--owp-tree-grid-body-color",
|
|
56
|
-
getValue: /* @__PURE__ */
|
|
56
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
57
57
|
var o;
|
|
58
58
|
return (o = e == null ? void 0 : e.body) == null ? void 0 : o.color;
|
|
59
59
|
}, "getValue")
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
cssVariableName: "--owp-tree-grid-body-fill-background-color",
|
|
63
|
-
getValue: /* @__PURE__ */
|
|
63
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
64
64
|
var o;
|
|
65
65
|
return (o = e == null ? void 0 : e.body) == null ? void 0 : o.fillBackgroundColor;
|
|
66
66
|
}, "getValue")
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
cssVariableName: "--owp-tree-grid-row-background-color",
|
|
70
|
-
getValue: /* @__PURE__ */
|
|
70
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
71
71
|
var o;
|
|
72
72
|
return (o = e == null ? void 0 : e.row) == null ? void 0 : o.backgroundColor;
|
|
73
73
|
}, "getValue")
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
cssVariableName: "--owp-tree-grid-row-solid-background-color",
|
|
77
|
-
getValue: /* @__PURE__ */
|
|
77
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
78
78
|
var o;
|
|
79
79
|
return (o = e == null ? void 0 : e.row) == null ? void 0 : o.solidBackgroundColor;
|
|
80
80
|
}, "getValue")
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
cssVariableName: "--owp-tree-grid-hover-row-background-color",
|
|
84
|
-
getValue: /* @__PURE__ */
|
|
84
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
85
85
|
var o;
|
|
86
86
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.hoverRowBackgroundColor;
|
|
87
87
|
}, "getValue")
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
cssVariableName: "--owp-tree-grid-hover-row-border-color",
|
|
91
|
-
getValue: /* @__PURE__ */
|
|
91
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
92
92
|
var o;
|
|
93
93
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.hoverRowBorderColor;
|
|
94
94
|
}, "getValue")
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
cssVariableName: "--owp-tree-grid-selected-row-background-color",
|
|
98
|
-
getValue: /* @__PURE__ */
|
|
98
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
99
99
|
var o;
|
|
100
100
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.selectedRowBackgroundColor;
|
|
101
101
|
}, "getValue")
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
cssVariableName: "--owp-tree-grid-selected-cell-background-color",
|
|
105
|
-
getValue: /* @__PURE__ */
|
|
105
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
106
106
|
var o;
|
|
107
107
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.selectedCellBackgroundColor;
|
|
108
108
|
}, "getValue")
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
cssVariableName: "--owp-tree-grid-focused-row-background-color",
|
|
112
|
-
getValue: /* @__PURE__ */
|
|
112
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
113
113
|
var o;
|
|
114
114
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedRowBackgroundColor;
|
|
115
115
|
}, "getValue")
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
cssVariableName: "--owp-tree-grid-focused-row-border-color",
|
|
119
|
-
getValue: /* @__PURE__ */
|
|
119
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
120
120
|
var o;
|
|
121
121
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedRowBorderColor;
|
|
122
122
|
}, "getValue")
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
cssVariableName: "--owp-tree-grid-hover-cell-background-color",
|
|
126
|
-
getValue: /* @__PURE__ */
|
|
126
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
127
127
|
var o;
|
|
128
128
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.hoverCellBackgroundColor;
|
|
129
129
|
}, "getValue")
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
cssVariableName: "--owp-tree-grid-hover-cell-border-color",
|
|
133
|
-
getValue: /* @__PURE__ */
|
|
133
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
134
134
|
var o;
|
|
135
135
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.hoverCellBorderColor;
|
|
136
136
|
}, "getValue")
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
cssVariableName: "--owp-tree-grid-focused-cell-background-color",
|
|
140
|
-
getValue: /* @__PURE__ */
|
|
140
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
141
141
|
var o;
|
|
142
142
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedCellBackgroundColor;
|
|
143
143
|
}, "getValue")
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
cssVariableName: "--owp-tree-grid-focused-cell-border-color",
|
|
147
|
-
getValue: /* @__PURE__ */
|
|
147
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
148
148
|
var o;
|
|
149
149
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedCellBorderColor;
|
|
150
150
|
}, "getValue")
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
cssVariableName: "--owp-tree-grid-editing-cell-border-color",
|
|
154
|
-
getValue: /* @__PURE__ */
|
|
154
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
155
155
|
var o;
|
|
156
156
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.editingCellBorderColor;
|
|
157
157
|
}, "getValue")
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
cssVariableName: "--owp-tree-grid-error-cell-border-color",
|
|
161
|
-
getValue: /* @__PURE__ */
|
|
161
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
162
162
|
var o;
|
|
163
163
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.errorCellBorderColor;
|
|
164
164
|
}, "getValue")
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
cssVariableName: "--owp-tree-grid-focused-cell-rect-background-color",
|
|
168
|
-
getValue: /* @__PURE__ */
|
|
168
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
169
169
|
var o;
|
|
170
170
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedCellRectBackgroundColor;
|
|
171
171
|
}, "getValue")
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
cssVariableName: "--owp-tree-grid-changed-background-color",
|
|
175
|
-
getValue: /* @__PURE__ */
|
|
175
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
176
176
|
var o;
|
|
177
177
|
return (o = e == null ? void 0 : e.changed) == null ? void 0 : o.backgroundColor;
|
|
178
178
|
}, "getValue")
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
cssVariableName: "--owp-tree-grid-changed-text-color",
|
|
182
|
-
getValue: /* @__PURE__ */
|
|
182
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
183
183
|
var o;
|
|
184
184
|
return (o = e == null ? void 0 : e.changed) == null ? void 0 : o.color;
|
|
185
185
|
}, "getValue")
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
cssVariableName: "--owp-tree-grid-changed-font-weight",
|
|
189
|
-
getValue: /* @__PURE__ */
|
|
189
|
+
getValue: /* @__PURE__ */ t((e) => {
|
|
190
190
|
var o;
|
|
191
191
|
return ((o = e == null ? void 0 : e.changed) == null ? void 0 : o.fontWeight) === void 0 ? void 0 : String(e.changed.fontWeight);
|
|
192
192
|
}, "getValue")
|
|
193
193
|
}
|
|
194
|
-
],
|
|
194
|
+
], Le = [
|
|
195
195
|
{
|
|
196
196
|
cssVariableName: "--owp-tree-grid-header-background-color",
|
|
197
|
-
getValue: /* @__PURE__ */
|
|
197
|
+
getValue: /* @__PURE__ */ t((e) => e.header.backgroundColor, "getValue")
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
cssVariableName: "--owp-tree-grid-header-color",
|
|
201
|
-
getValue: /* @__PURE__ */
|
|
201
|
+
getValue: /* @__PURE__ */ t((e) => e.header.color, "getValue")
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
cssVariableName: "--owp-tree-grid-header-font-size",
|
|
205
|
-
getValue: /* @__PURE__ */
|
|
205
|
+
getValue: /* @__PURE__ */ t((e) => f(e.header.fontSize), "getValue")
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
cssVariableName: "--owp-tree-grid-header-font-weight",
|
|
209
|
-
getValue: /* @__PURE__ */
|
|
209
|
+
getValue: /* @__PURE__ */ t((e) => String(e.header.fontWeight), "getValue")
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
cssVariableName: "--owp-tree-grid-header-height",
|
|
213
|
-
getValue: /* @__PURE__ */
|
|
213
|
+
getValue: /* @__PURE__ */ t((e) => f(e.header.height), "getValue")
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
cssVariableName: "--owp-tree-grid-cell-font-size",
|
|
217
|
-
getValue: /* @__PURE__ */
|
|
217
|
+
getValue: /* @__PURE__ */ t((e) => f(e.cell.fontSize), "getValue")
|
|
218
218
|
}
|
|
219
|
-
],
|
|
219
|
+
], p = /* @__PURE__ */ t((e, o) => ({
|
|
220
220
|
backgroundColor: `var(${e}, ${o}) !important`
|
|
221
|
-
}), "createTreeGridBackgroundColorStyle"),
|
|
221
|
+
}), "createTreeGridBackgroundColorStyle"), g = /* @__PURE__ */ t((e) => ({
|
|
222
222
|
backgroundColor: `var(${e}) !important`
|
|
223
|
-
}), "createTreeGridOptionalBackgroundColorStyle"),
|
|
223
|
+
}), "createTreeGridOptionalBackgroundColorStyle"), Ne = /* @__PURE__ */ t(() => Object.fromEntries(
|
|
224
|
+
c.flatMap((e) => [
|
|
225
|
+
[
|
|
226
|
+
`@keyframes ${e}${ue}`,
|
|
227
|
+
{
|
|
228
|
+
"0%": {
|
|
229
|
+
boxShadow: `inset 0 0 0 1px ${be}, inset 0 0 0 9999px ${Ee}`
|
|
230
|
+
},
|
|
231
|
+
"40%": {
|
|
232
|
+
boxShadow: `inset 0 0 0 1px ${$e}, inset 0 0 0 9999px ${_e}`
|
|
233
|
+
},
|
|
234
|
+
"100%": {
|
|
235
|
+
boxShadow: `inset 0 0 0 1px ${L}, inset 0 0 0 9999px ${L}`
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
[
|
|
240
|
+
`@keyframes ${e}${Se}`,
|
|
241
|
+
{
|
|
242
|
+
"0%": {
|
|
243
|
+
boxShadow: `inset 0 0 0 1px ${ge}, inset 0 0 0 9999px ${we}`
|
|
244
|
+
},
|
|
245
|
+
"35%": {
|
|
246
|
+
boxShadow: `inset 0 0 0 1px ${me}, inset 0 0 0 9999px ${De}`
|
|
247
|
+
},
|
|
248
|
+
"100%": {
|
|
249
|
+
boxShadow: `inset 0 0 0 1px ${N}, inset 0 0 0 9999px ${N}`
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
[
|
|
254
|
+
`@keyframes ${e}${Ce}`,
|
|
255
|
+
{
|
|
256
|
+
"0%": {
|
|
257
|
+
boxShadow: `inset 0 0 0 1px ${ke}, inset 0 0 0 9999px ${Ie}`,
|
|
258
|
+
opacity: 0.72,
|
|
259
|
+
transform: "scaleY(0.985)",
|
|
260
|
+
transformOrigin: "center center"
|
|
261
|
+
},
|
|
262
|
+
"45%": {
|
|
263
|
+
boxShadow: `inset 0 0 0 1px ${ve}, inset 0 0 0 9999px ${Oe}`,
|
|
264
|
+
opacity: 1,
|
|
265
|
+
transform: "scaleY(1)",
|
|
266
|
+
transformOrigin: "center center"
|
|
267
|
+
},
|
|
268
|
+
"100%": {
|
|
269
|
+
boxShadow: `inset 0 0 0 1px ${V}, inset 0 0 0 9999px ${V}`,
|
|
270
|
+
opacity: 1,
|
|
271
|
+
transform: "scaleY(1)",
|
|
272
|
+
transformOrigin: "center center"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
[
|
|
277
|
+
`@keyframes ${e}${Re}`,
|
|
278
|
+
{
|
|
279
|
+
"0%": {
|
|
280
|
+
boxShadow: `inset 0 0 0 1px ${fe}, inset 0 0 0 9999px ${Fe}`,
|
|
281
|
+
opacity: 1,
|
|
282
|
+
transform: "scaleY(1)",
|
|
283
|
+
transformOrigin: "center center"
|
|
284
|
+
},
|
|
285
|
+
"45%": {
|
|
286
|
+
boxShadow: `inset 0 0 0 1px ${Ge}, inset 0 0 0 9999px ${Te}`,
|
|
287
|
+
opacity: 0.82,
|
|
288
|
+
transform: "scaleY(0.995)",
|
|
289
|
+
transformOrigin: "center center"
|
|
290
|
+
},
|
|
291
|
+
"100%": {
|
|
292
|
+
boxShadow: `inset 0 0 0 1px ${P}, inset 0 0 0 9999px ${P}`,
|
|
293
|
+
opacity: 0.34,
|
|
294
|
+
transform: "scaleY(0.985)",
|
|
295
|
+
transformOrigin: "center center"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
])
|
|
300
|
+
), "createTreeGridSoftAnimationKeyframeStyles"), l = /* @__PURE__ */ t(({
|
|
224
301
|
wrapperSelector: e = `.${r}`,
|
|
225
302
|
rowSuffix: o,
|
|
226
303
|
suffixes: a,
|
|
227
|
-
descendant:
|
|
228
|
-
withChildren:
|
|
229
|
-
}) =>
|
|
230
|
-
const
|
|
231
|
-
return
|
|
232
|
-
})).join(", "), "createTreeGridSelectors"),
|
|
304
|
+
descendant: n = "",
|
|
305
|
+
withChildren: d = !1
|
|
306
|
+
}) => c.flatMap((S) => a.flatMap((C) => {
|
|
307
|
+
const D = o ? ` .${S}${o}` : "", $ = `${e}${D} .${S}${C}${n}`;
|
|
308
|
+
return d ? [$, `${$} *`] : [$];
|
|
309
|
+
})).join(", "), "createTreeGridSelectors"), m = /* @__PURE__ */ t(({
|
|
233
310
|
wrapperSelector: e = `.${r}`,
|
|
234
311
|
ancestorSuffixes: o,
|
|
235
312
|
suffixes: a,
|
|
236
|
-
descendant:
|
|
237
|
-
}) =>
|
|
238
|
-
wrapperSelector:
|
|
313
|
+
descendant: n = ""
|
|
314
|
+
}) => c.flatMap((d) => o.flatMap((S) => a.map((C) => `${e} .${d}${S} .${d}${C}${n}`))).join(", "), "createTreeGridNestedSelectors"), _ = `.${r}.${le}`, Ve = `${_}.${ae}`, Pe = `${_}.${ce}`, ye = `${_}.${ne}`, We = l({
|
|
315
|
+
wrapperSelector: _,
|
|
239
316
|
suffixes: ["PanelSelect"]
|
|
240
|
-
}),
|
|
241
|
-
wrapperSelector:
|
|
317
|
+
}), ze = l({
|
|
318
|
+
wrapperSelector: _,
|
|
242
319
|
suffixes: ["PanelSelectOn"]
|
|
243
|
-
}),
|
|
244
|
-
wrapperSelector:
|
|
320
|
+
}), je = m({
|
|
321
|
+
wrapperSelector: _,
|
|
245
322
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
246
323
|
suffixes: ["PanelSelect"]
|
|
247
|
-
}),
|
|
248
|
-
wrapperSelector:
|
|
324
|
+
}), Ue = m({
|
|
325
|
+
wrapperSelector: _,
|
|
249
326
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
250
327
|
suffixes: ["PanelSelectOn"]
|
|
251
|
-
}),
|
|
252
|
-
wrapperSelector:
|
|
328
|
+
}), Xe = m({
|
|
329
|
+
wrapperSelector: Ve,
|
|
253
330
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
254
331
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
255
|
-
}),
|
|
256
|
-
wrapperSelector:
|
|
332
|
+
}), Ye = m({
|
|
333
|
+
wrapperSelector: Pe,
|
|
257
334
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
258
335
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
259
|
-
}),
|
|
260
|
-
wrapperSelector:
|
|
336
|
+
}), Ke = m({
|
|
337
|
+
wrapperSelector: ye,
|
|
261
338
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
262
339
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
263
|
-
}),
|
|
340
|
+
}), Qe = l({
|
|
264
341
|
suffixes: ["Filter0"]
|
|
265
|
-
}),
|
|
342
|
+
}), qe = l({
|
|
266
343
|
suffixes: ["Filter1"]
|
|
267
|
-
}),
|
|
344
|
+
}), Je = l({
|
|
268
345
|
suffixes: ["Main"],
|
|
269
346
|
withChildren: !0
|
|
270
|
-
}),
|
|
347
|
+
}), Ze = l({
|
|
271
348
|
suffixes: ["Main"]
|
|
272
|
-
}),
|
|
349
|
+
}), eo = l({
|
|
273
350
|
suffixes: ["ClassReadOnly"],
|
|
274
351
|
withChildren: !0
|
|
275
|
-
}),
|
|
352
|
+
}), oo = l({
|
|
276
353
|
suffixes: ["MainTable"]
|
|
277
|
-
}),
|
|
354
|
+
}), ro = l({
|
|
278
355
|
suffixes: ["NoDataRow"]
|
|
279
|
-
}),
|
|
356
|
+
}), A = `.${r}.${w}`, to = c.map((e) => `.${r}.${w} .${e}MainTable`).join(", "), lo = `${A}::before`, ao = `${A}::after`, co = `calc(${s} - ${u})`, no = `calc(var(--owp-tree-grid-header-height, 33px) - ${s} + ${u})`, so = c.map((e) => `.${r}:not(.${w}) .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), io = l({
|
|
280
357
|
suffixes: [
|
|
281
358
|
"VScroll",
|
|
282
359
|
"VScrollTop",
|
|
@@ -309,7 +386,7 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
309
386
|
"CustScroll4Right",
|
|
310
387
|
"CustScroll4RightHidden"
|
|
311
388
|
]
|
|
312
|
-
}),
|
|
389
|
+
}), po = c.flatMap(
|
|
313
390
|
(e) => [
|
|
314
391
|
`.${r} .${e}CustScroll1Up > div`,
|
|
315
392
|
`.${r} .${e}CustScroll1Up > div > div`,
|
|
@@ -320,19 +397,19 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
320
397
|
`.${r} .${e}CustScroll2UpHover > div`,
|
|
321
398
|
`.${r} .${e}CustScroll2UpHover > div > div`
|
|
322
399
|
]
|
|
323
|
-
).join(", "),
|
|
400
|
+
).join(", "), uo = c.map((e) => `.${r}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), So = c.map((e) => `.${r}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::before`).join(", "), Co = c.map((e) => `.${r}.${w} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::after`).join(", "), Ro = l({
|
|
324
401
|
suffixes: ["FillRow"]
|
|
325
|
-
}),
|
|
402
|
+
}), bo = l({
|
|
326
403
|
suffixes: ["SolidRow"]
|
|
327
|
-
}),
|
|
404
|
+
}), Eo = c.map((e) => `.${r} .${e}ToolbarRow.${e}SolidRow`).join(", "), $o = l({
|
|
328
405
|
suffixes: ["ColorDefault"]
|
|
329
|
-
}),
|
|
406
|
+
}), _o = l({
|
|
330
407
|
suffixes: ["ColorDefaultRow"]
|
|
331
|
-
}),
|
|
408
|
+
}), go = l({
|
|
332
409
|
rowSuffix: "HeaderRow",
|
|
333
410
|
suffixes: ["CellHeader", "CellIndex", "GanttHeaderBase", "LevelButton"],
|
|
334
411
|
withChildren: !0
|
|
335
|
-
}),
|
|
412
|
+
}), wo = l({
|
|
336
413
|
rowSuffix: "HeaderRow",
|
|
337
414
|
suffixes: [
|
|
338
415
|
"CellHeader",
|
|
@@ -345,38 +422,38 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
345
422
|
"HeaderFocus",
|
|
346
423
|
"HeaderDrag"
|
|
347
424
|
]
|
|
348
|
-
}),
|
|
425
|
+
}), mo = l({
|
|
349
426
|
suffixes: ["ColorHovered"]
|
|
350
|
-
}),
|
|
427
|
+
}), Do = l({
|
|
351
428
|
suffixes: ["ColorHoveredRow"]
|
|
352
|
-
}),
|
|
429
|
+
}), ko = l({
|
|
353
430
|
suffixes: ["HoverRowBorder"]
|
|
354
|
-
}),
|
|
431
|
+
}), Io = l({
|
|
355
432
|
suffixes: ["ColorSelected", "ColorSelectedCell"]
|
|
356
|
-
}),
|
|
433
|
+
}), vo = l({
|
|
357
434
|
suffixes: ["ColorSelected", "ColorSelectedCell"],
|
|
358
435
|
descendant: " *"
|
|
359
|
-
}),
|
|
436
|
+
}), Oo = l({
|
|
360
437
|
suffixes: ["ColorSelectedRow"]
|
|
361
|
-
}),
|
|
438
|
+
}), fo = l({
|
|
362
439
|
suffixes: ["ColorFocused"]
|
|
363
|
-
}),
|
|
440
|
+
}), Fo = l({
|
|
364
441
|
suffixes: ["ColorFocusedRow"]
|
|
365
|
-
}),
|
|
442
|
+
}), Go = l({
|
|
366
443
|
suffixes: ["FocusRowBorder"]
|
|
367
|
-
}),
|
|
444
|
+
}), To = l({
|
|
368
445
|
suffixes: ["ColorHoveredCell", "ColorHoveredCellIndex"]
|
|
369
|
-
}),
|
|
446
|
+
}), ho = l({
|
|
370
447
|
suffixes: ["HoverCellBorder"]
|
|
371
|
-
}),
|
|
448
|
+
}), xo = l({
|
|
372
449
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"]
|
|
373
|
-
}),
|
|
450
|
+
}), Ao = l({
|
|
374
451
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"],
|
|
375
452
|
descendant: " *"
|
|
376
|
-
}),
|
|
453
|
+
}), Bo = m({
|
|
377
454
|
ancestorSuffixes: ["HoverCellBorder"],
|
|
378
455
|
suffixes: ["ColorPreview", "ColorPreviewDynamic", "ColorViewedCell"]
|
|
379
|
-
}),
|
|
456
|
+
}), Mo = l({
|
|
380
457
|
suffixes: [
|
|
381
458
|
"ColorHoveredCellSpace",
|
|
382
459
|
"ColorHoveredCellSpaceEdit",
|
|
@@ -390,18 +467,18 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
390
467
|
"ColorHoveredCellTab",
|
|
391
468
|
"ColorHoveredCellTab1"
|
|
392
469
|
]
|
|
393
|
-
}),
|
|
470
|
+
}), Ho = l({
|
|
394
471
|
suffixes: ["ColorFocusedCell", "ColorFocusedCellRelative"]
|
|
395
|
-
}),
|
|
472
|
+
}), Lo = l({
|
|
396
473
|
suffixes: ["ColorFocusedCellRect"]
|
|
397
|
-
}),
|
|
474
|
+
}), No = l({
|
|
398
475
|
suffixes: ["FocusCellBorder"]
|
|
399
|
-
}),
|
|
476
|
+
}), Vo = l({
|
|
400
477
|
suffixes: ["FocusCellCorner"]
|
|
401
|
-
}),
|
|
478
|
+
}), Po = l({
|
|
402
479
|
suffixes: ["ClassFocusedCellSpaceEdit", "ClassFocusedCellSpaceDefaults"],
|
|
403
480
|
descendant: " > div"
|
|
404
|
-
}),
|
|
481
|
+
}), Q = `.${r} .${Y}`, yo = `${Q}::after`, q = `.${r} .${F}`, Wo = `.${r} .${Y}.${F}::after`, zo = `${q}::before`, jo = `.${r} .${F}.${se}::before`, Uo = `.${r} .${F}.${de}::before`, Xo = l({
|
|
405
482
|
suffixes: [
|
|
406
483
|
"ColorFocusedCellSafari",
|
|
407
484
|
"ColorFocusedCellSpace",
|
|
@@ -410,24 +487,24 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
410
487
|
"ColorFocusedCellSpaceBool",
|
|
411
488
|
"ColorFocusedCellButton"
|
|
412
489
|
]
|
|
413
|
-
}),
|
|
490
|
+
}), Yo = l({
|
|
414
491
|
suffixes: ["ClassHoveredCellSpaceEdit", "ClassHoveredCellSpaceDefaults"],
|
|
415
492
|
descendant: " > div"
|
|
416
|
-
}),
|
|
493
|
+
}), Ko = l({
|
|
417
494
|
suffixes: ["ClassHoveredCellButtonButton", "ClassHoveredCellButtonButton1"],
|
|
418
495
|
descendant: " u"
|
|
419
|
-
}),
|
|
496
|
+
}), Qo = l({
|
|
420
497
|
suffixes: ["ClassHoveredCellTab", "ClassHoveredCellTab1"]
|
|
421
|
-
}),
|
|
498
|
+
}), qo = l({
|
|
422
499
|
suffixes: ["ColorChangedCell"]
|
|
423
|
-
}),
|
|
500
|
+
}), Jo = c.flatMap((e) => {
|
|
424
501
|
const o = `${e}ClassFocusedCell`, a = `.${r} .${i}:not(.${o})`;
|
|
425
502
|
return [
|
|
426
503
|
a,
|
|
427
504
|
`${a} *:not(.${o})`
|
|
428
505
|
];
|
|
429
|
-
}).join(", "),
|
|
430
|
-
const o = `.${r} .${i}`, a = `.${r} .${i}.${
|
|
506
|
+
}).join(", "), Zo = c.flatMap((e) => {
|
|
507
|
+
const o = `.${r} .${i}`, a = `.${r} .${i}.${X}`;
|
|
431
508
|
return [
|
|
432
509
|
`${e}ColorSelected`,
|
|
433
510
|
`${e}ColorSelectedCell`,
|
|
@@ -435,27 +512,27 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
435
512
|
`${e}ClassSelected`,
|
|
436
513
|
`${e}ClassSelectedCell`,
|
|
437
514
|
`${e}ClassSelectedRow`
|
|
438
|
-
].flatMap((
|
|
515
|
+
].flatMap((d) => [
|
|
439
516
|
a,
|
|
440
517
|
`${a} *`,
|
|
441
|
-
`${o}.${
|
|
442
|
-
`${o}.${
|
|
443
|
-
`.${r} .${
|
|
444
|
-
`.${r} .${
|
|
518
|
+
`${o}.${d}`,
|
|
519
|
+
`${o}.${d} *`,
|
|
520
|
+
`.${r} .${d} ${o}`,
|
|
521
|
+
`.${r} .${d} ${o} *`
|
|
445
522
|
]);
|
|
446
|
-
}).join(", "),
|
|
523
|
+
}).join(", "), er = c.flatMap((e) => {
|
|
447
524
|
const o = `.${r} .${i}`;
|
|
448
525
|
return [
|
|
449
526
|
`${e}ClassFocusedCell`,
|
|
450
527
|
`${e}ColorFocusedCell`,
|
|
451
528
|
`${e}ColorFocusedCellRelative`
|
|
452
|
-
].flatMap((
|
|
453
|
-
`${o}.${
|
|
454
|
-
`${o}.${
|
|
455
|
-
`.${r} .${
|
|
456
|
-
`.${r} .${
|
|
529
|
+
].flatMap((n) => [
|
|
530
|
+
`${o}.${n}`,
|
|
531
|
+
`${o}.${n} *`,
|
|
532
|
+
`.${r} .${n} ${o}`,
|
|
533
|
+
`.${r} .${n} ${o} *`
|
|
457
534
|
]);
|
|
458
|
-
}).join(", "),
|
|
535
|
+
}).join(", "), or = c.flatMap((e) => {
|
|
459
536
|
const o = `.${r} .${i}`, a = `${e}HiddenValue`;
|
|
460
537
|
return [
|
|
461
538
|
`${o}.${a}`,
|
|
@@ -463,11 +540,11 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
463
540
|
`.${r} .${a} ${o}`,
|
|
464
541
|
`.${r} .${a} ${o} *`
|
|
465
542
|
];
|
|
466
|
-
}).join(", "),
|
|
543
|
+
}).join(", "), rr = `var(--owp-tree-grid-changed-font-weight, ${ee}) !important`, tr = l({
|
|
467
544
|
suffixes: ["EditCellBorder"]
|
|
468
|
-
}),
|
|
545
|
+
}), lr = l({
|
|
469
546
|
suffixes: ["EditCellCorner"]
|
|
470
|
-
}),
|
|
547
|
+
}), ar = [
|
|
471
548
|
`.${r} .TSMain .TSDateLeft`,
|
|
472
549
|
`.${r} .TSMain .TSDatesLeft`,
|
|
473
550
|
`.${r} .TSMain .TSDateRight`,
|
|
@@ -476,7 +553,7 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
476
553
|
`.${r} .TSMain .TSDatesTop`,
|
|
477
554
|
`.${r} .TSMain .TSDateBottom`,
|
|
478
555
|
`.${r} .TSMain .TSDatesBottom`
|
|
479
|
-
].join(", "),
|
|
556
|
+
].join(", "), cr = [
|
|
480
557
|
`.${r} .TSMain .${i}.TSDateLeft`,
|
|
481
558
|
`.${r} .TSMain .${i}.TSDatesLeft`,
|
|
482
559
|
`.${r} .TSMain .${i}.TSDateRight`,
|
|
@@ -485,7 +562,7 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
485
562
|
`.${r} .TSMain .${i}.TSDatesTop`,
|
|
486
563
|
`.${r} .TSMain .${i}.TSDateBottom`,
|
|
487
564
|
`.${r} .TSMain .${i}.TSDatesBottom`
|
|
488
|
-
].join(", "),
|
|
565
|
+
].join(", "), nr = [
|
|
489
566
|
"DateLeft",
|
|
490
567
|
"DatesLeft",
|
|
491
568
|
"DateRight",
|
|
@@ -494,23 +571,23 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
494
571
|
"DatesTop",
|
|
495
572
|
"DateBottom",
|
|
496
573
|
"DatesBottom"
|
|
497
|
-
].flatMap((e) =>
|
|
574
|
+
].flatMap((e) => c.flatMap((o) => {
|
|
498
575
|
const a = `.${r} .${i}.${o}${e}`;
|
|
499
576
|
return [
|
|
500
577
|
`${o}ClassFocusedCell`,
|
|
501
578
|
`${o}ColorFocusedCell`,
|
|
502
579
|
`${o}ColorFocusedCellRelative`
|
|
503
|
-
].flatMap((
|
|
504
|
-
`${a}.${
|
|
505
|
-
`.${r} .${
|
|
580
|
+
].flatMap((d) => [
|
|
581
|
+
`${a}.${d}`,
|
|
582
|
+
`.${r} .${d} ${a}`
|
|
506
583
|
]);
|
|
507
|
-
})).join(", "),
|
|
584
|
+
})).join(", "), x = '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")', sr = x.replace(
|
|
508
585
|
"%23757575",
|
|
509
586
|
"white"
|
|
510
|
-
),
|
|
587
|
+
), U = b(
|
|
511
588
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#000" d="M4.5 6.25h7L8 9.75z"/></svg>'
|
|
512
|
-
),
|
|
513
|
-
const a =
|
|
589
|
+
), E = /* @__PURE__ */ t((e, o) => c.flatMap((a) => e.flatMap((n) => o(a, n))).join(", "), "createTreeGridEnumButtonIconSelector"), T = /* @__PURE__ */ t((e, o) => `.${r} .${i}.${e}${o}`, "createTreeGridChangedEnumButtonCellSelector"), I = /* @__PURE__ */ t((e, o) => `${T(e, o)}::after`, "createTreeGridChangedEnumButtonPseudoSelector"), dr = /* @__PURE__ */ t((e, o) => {
|
|
590
|
+
const a = T(e, o), n = `.${r} .${i}.${X}.${e}${o}`, d = [
|
|
514
591
|
`${e}ColorSelected`,
|
|
515
592
|
`${e}ColorSelectedCell`,
|
|
516
593
|
`${e}ColorSelectedRow`,
|
|
@@ -519,175 +596,176 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
519
596
|
`${e}ClassSelectedRow`
|
|
520
597
|
];
|
|
521
598
|
return [
|
|
522
|
-
|
|
523
|
-
...
|
|
524
|
-
`${a}.${
|
|
525
|
-
`.${r} .${
|
|
599
|
+
n,
|
|
600
|
+
...d.flatMap((S) => [
|
|
601
|
+
`${a}.${S}`,
|
|
602
|
+
`.${r} .${S} ${a}`
|
|
526
603
|
])
|
|
527
604
|
];
|
|
528
|
-
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"),
|
|
529
|
-
const a =
|
|
605
|
+
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"), ir = /* @__PURE__ */ t((e, o) => {
|
|
606
|
+
const a = T(e, o);
|
|
530
607
|
return [
|
|
531
608
|
`${e}ClassFocusedCell`,
|
|
532
609
|
`${e}ColorFocusedCell`,
|
|
533
610
|
`${e}ColorFocusedCellRelative`
|
|
534
|
-
].flatMap((
|
|
535
|
-
`${a}.${
|
|
536
|
-
`.${r} .${
|
|
611
|
+
].flatMap((d) => [
|
|
612
|
+
`${a}.${d}`,
|
|
613
|
+
`.${r} .${d} ${a}`
|
|
537
614
|
]);
|
|
538
|
-
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"),
|
|
539
|
-
|
|
540
|
-
(e, o) => [
|
|
541
|
-
),
|
|
542
|
-
|
|
543
|
-
(e, o) => [
|
|
544
|
-
),
|
|
545
|
-
|
|
546
|
-
(e, o) =>
|
|
615
|
+
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"), pr = E(
|
|
616
|
+
G,
|
|
617
|
+
(e, o) => [T(e, o)]
|
|
618
|
+
), ur = E(
|
|
619
|
+
G,
|
|
620
|
+
(e, o) => [I(e, o)]
|
|
621
|
+
), Sr = E(
|
|
622
|
+
G,
|
|
623
|
+
(e, o) => dr(e, o).map(
|
|
547
624
|
(a) => `${a}::after`
|
|
548
625
|
)
|
|
549
|
-
),
|
|
550
|
-
|
|
551
|
-
(e, o) =>
|
|
626
|
+
), Cr = E(
|
|
627
|
+
G,
|
|
628
|
+
(e, o) => ir(e, o).map(
|
|
552
629
|
(a) => `${a}::after`
|
|
553
630
|
)
|
|
554
|
-
),
|
|
631
|
+
), Rr = E(
|
|
555
632
|
["DefaultsLeft", "EnumLeft"],
|
|
556
|
-
(e, o) => [
|
|
557
|
-
),
|
|
633
|
+
(e, o) => [I(e, o)]
|
|
634
|
+
), br = E(
|
|
558
635
|
["DefaultsRight", "EnumRight"],
|
|
559
|
-
(e, o) => [
|
|
560
|
-
),
|
|
636
|
+
(e, o) => [I(e, o)]
|
|
637
|
+
), Er = E(
|
|
561
638
|
["DefaultsTop", "EnumTop"],
|
|
562
|
-
(e, o) => [
|
|
563
|
-
),
|
|
639
|
+
(e, o) => [I(e, o)]
|
|
640
|
+
), $r = E(
|
|
564
641
|
["DefaultsBottom", "EnumBottom"],
|
|
565
|
-
(e, o) => [
|
|
566
|
-
),
|
|
642
|
+
(e, o) => [I(e, o)]
|
|
643
|
+
), h = '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")', _r = `.${r} .OwpTreeGridTimePickerEditorIcon`, gr = [
|
|
567
644
|
`.${r} .${i} .OwpTreeGridTimePickerEditorIcon`,
|
|
568
645
|
`.${r} .${i}.OwpTreeGridTimePickerEditorIcon`
|
|
569
|
-
].join(", "),
|
|
646
|
+
].join(", "), wr = c.flatMap((e) => {
|
|
570
647
|
const o = `.${r} .${i}`;
|
|
571
648
|
return [
|
|
572
649
|
`${e}ClassFocusedCell`,
|
|
573
650
|
`${e}ColorFocusedCell`,
|
|
574
651
|
`${e}ColorFocusedCellRelative`
|
|
575
|
-
].flatMap((
|
|
576
|
-
`${o}.${
|
|
577
|
-
`${o}.${
|
|
578
|
-
`.${r} .${
|
|
579
|
-
`.${r} .${
|
|
652
|
+
].flatMap((n) => [
|
|
653
|
+
`${o}.${n} .OwpTreeGridTimePickerEditorIcon`,
|
|
654
|
+
`${o}.${n}.OwpTreeGridTimePickerEditorIcon`,
|
|
655
|
+
`.${r} .${n} ${o} .OwpTreeGridTimePickerEditorIcon`,
|
|
656
|
+
`.${r} .${n} ${o}.OwpTreeGridTimePickerEditorIcon`
|
|
580
657
|
]);
|
|
581
|
-
}).join(", "),
|
|
658
|
+
}).join(", "), mr = c.map(
|
|
582
659
|
(e) => `.${e}EnumMenuMain, .${e}EnumMenuMain *`
|
|
583
|
-
).join(", "),
|
|
660
|
+
).join(", "), Dr = c.map(
|
|
584
661
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar`
|
|
585
|
-
).join(", "),
|
|
662
|
+
).join(", "), kr = c.map(
|
|
586
663
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb`
|
|
587
|
-
).join(", "),
|
|
664
|
+
).join(", "), Ir = c.map(
|
|
588
665
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb:hover`
|
|
589
|
-
).join(", "),
|
|
666
|
+
).join(", "), vr = c.map(
|
|
590
667
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-track`
|
|
591
|
-
).join(", "),
|
|
668
|
+
).join(", "), Or = c.map(
|
|
592
669
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-corner`
|
|
593
|
-
).join(", "),
|
|
594
|
-
|
|
595
|
-
|
|
670
|
+
).join(", "), xr = {
|
|
671
|
+
...Ne(),
|
|
672
|
+
[Je]: {
|
|
673
|
+
fontFamily: `${B} !important`,
|
|
596
674
|
fontSize: "var(--owp-tree-grid-cell-font-size, 13px)",
|
|
597
675
|
fontWeight: "normal",
|
|
598
676
|
lineHeight: "16px"
|
|
599
677
|
},
|
|
600
|
-
[
|
|
678
|
+
[Ze]: {
|
|
601
679
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
602
680
|
},
|
|
603
|
-
[
|
|
681
|
+
[eo]: {
|
|
604
682
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
605
683
|
},
|
|
606
|
-
[
|
|
684
|
+
[oo]: p(
|
|
607
685
|
"--owp-tree-grid-body-background-color",
|
|
608
686
|
"#FFFFFF"
|
|
609
687
|
),
|
|
610
|
-
[
|
|
611
|
-
borderTopColor: `${
|
|
688
|
+
[ro]: {
|
|
689
|
+
borderTopColor: `${R} !important`
|
|
612
690
|
},
|
|
613
|
-
[
|
|
614
|
-
backgroundImage: `${
|
|
691
|
+
[We]: {
|
|
692
|
+
backgroundImage: `${he} !important`,
|
|
615
693
|
backgroundPosition: "center center !important",
|
|
616
694
|
backgroundRepeat: "no-repeat !important",
|
|
617
695
|
backgroundSize: "17px 17px !important"
|
|
618
696
|
},
|
|
619
|
-
[
|
|
620
|
-
backgroundImage: `${
|
|
697
|
+
[ze]: {
|
|
698
|
+
backgroundImage: `${xe} !important`,
|
|
621
699
|
backgroundPosition: "center center !important",
|
|
622
700
|
backgroundRepeat: "no-repeat !important",
|
|
623
701
|
backgroundSize: "17px 17px !important"
|
|
624
702
|
},
|
|
625
|
-
[
|
|
626
|
-
backgroundImage: `${
|
|
703
|
+
[je]: {
|
|
704
|
+
backgroundImage: `${y} !important`,
|
|
627
705
|
backgroundPosition: "center center !important",
|
|
628
706
|
backgroundRepeat: "no-repeat !important",
|
|
629
707
|
backgroundSize: "17px 17px !important"
|
|
630
708
|
},
|
|
631
|
-
[
|
|
632
|
-
backgroundImage: `${
|
|
709
|
+
[Ue]: {
|
|
710
|
+
backgroundImage: `${W} !important`,
|
|
633
711
|
backgroundPosition: "center center !important",
|
|
634
712
|
backgroundRepeat: "no-repeat !important",
|
|
635
713
|
backgroundSize: "17px 17px !important"
|
|
636
714
|
},
|
|
637
|
-
[
|
|
638
|
-
backgroundImage: `${
|
|
715
|
+
[Xe]: {
|
|
716
|
+
backgroundImage: `${W} !important`
|
|
639
717
|
},
|
|
640
|
-
[
|
|
641
|
-
backgroundImage: `${
|
|
718
|
+
[Ye]: {
|
|
719
|
+
backgroundImage: `${Ae} !important`
|
|
642
720
|
},
|
|
643
|
-
[
|
|
644
|
-
backgroundImage: `${
|
|
721
|
+
[Ke]: {
|
|
722
|
+
backgroundImage: `${y} !important`
|
|
645
723
|
},
|
|
646
|
-
[
|
|
647
|
-
WebkitMaskImage: `${
|
|
724
|
+
[Qe]: {
|
|
725
|
+
WebkitMaskImage: `${z} !important`,
|
|
648
726
|
WebkitMaskPosition: "center center !important",
|
|
649
727
|
WebkitMaskRepeat: "no-repeat !important",
|
|
650
728
|
WebkitMaskSize: "17px 17px !important",
|
|
651
|
-
backgroundColor: `${
|
|
729
|
+
backgroundColor: `${Be} !important`,
|
|
652
730
|
backgroundImage: "none !important",
|
|
653
731
|
height: "17px !important",
|
|
654
|
-
maskImage: `${
|
|
732
|
+
maskImage: `${z} !important`,
|
|
655
733
|
maskPosition: "center center !important",
|
|
656
734
|
maskRepeat: "no-repeat !important",
|
|
657
735
|
maskSize: "17px 17px !important",
|
|
658
736
|
opacity: 0.72,
|
|
659
737
|
width: "17px !important"
|
|
660
738
|
},
|
|
661
|
-
[
|
|
662
|
-
WebkitMaskImage: `${
|
|
739
|
+
[qe]: {
|
|
740
|
+
WebkitMaskImage: `${j} !important`,
|
|
663
741
|
WebkitMaskPosition: "center center !important",
|
|
664
742
|
WebkitMaskRepeat: "no-repeat !important",
|
|
665
743
|
WebkitMaskSize: "17px 17px !important",
|
|
666
|
-
backgroundColor: `${
|
|
744
|
+
backgroundColor: `${Me} !important`,
|
|
667
745
|
backgroundImage: "none !important",
|
|
668
746
|
height: "17px !important",
|
|
669
|
-
maskImage: `${
|
|
747
|
+
maskImage: `${j} !important`,
|
|
670
748
|
maskPosition: "center center !important",
|
|
671
749
|
maskRepeat: "no-repeat !important",
|
|
672
750
|
maskSize: "17px 17px !important",
|
|
673
751
|
opacity: 1,
|
|
674
752
|
width: "17px !important"
|
|
675
753
|
},
|
|
676
|
-
[
|
|
677
|
-
backgroundImage: `${
|
|
754
|
+
[ar]: {
|
|
755
|
+
backgroundImage: `${x} !important`
|
|
678
756
|
},
|
|
679
|
-
[
|
|
680
|
-
backgroundImage: `${
|
|
757
|
+
[cr]: {
|
|
758
|
+
backgroundImage: `${sr} !important`
|
|
681
759
|
},
|
|
682
|
-
[
|
|
683
|
-
backgroundImage: `${
|
|
760
|
+
[nr]: {
|
|
761
|
+
backgroundImage: `${x} !important`
|
|
684
762
|
},
|
|
685
|
-
[
|
|
763
|
+
[pr]: {
|
|
686
764
|
backgroundImage: "none !important",
|
|
687
765
|
position: "relative"
|
|
688
766
|
},
|
|
689
|
-
[
|
|
690
|
-
WebkitMaskImage: `${
|
|
767
|
+
[ur]: {
|
|
768
|
+
WebkitMaskImage: `${U} !important`,
|
|
691
769
|
WebkitMaskPosition: "center center !important",
|
|
692
770
|
WebkitMaskRepeat: "no-repeat !important",
|
|
693
771
|
WebkitMaskSize: "16px 16px !important",
|
|
@@ -696,7 +774,7 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
696
774
|
content: '""',
|
|
697
775
|
display: "block",
|
|
698
776
|
height: "16px",
|
|
699
|
-
maskImage: `${
|
|
777
|
+
maskImage: `${U} !important`,
|
|
700
778
|
maskPosition: "center center !important",
|
|
701
779
|
maskRepeat: "no-repeat !important",
|
|
702
780
|
maskSize: "16px 16px !important",
|
|
@@ -704,34 +782,34 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
704
782
|
position: "absolute",
|
|
705
783
|
width: "16px"
|
|
706
784
|
},
|
|
707
|
-
[
|
|
785
|
+
[Sr]: {
|
|
708
786
|
backgroundColor: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
709
787
|
},
|
|
710
|
-
[
|
|
711
|
-
backgroundColor: `${
|
|
788
|
+
[Cr]: {
|
|
789
|
+
backgroundColor: `${M} !important`
|
|
712
790
|
},
|
|
713
|
-
[
|
|
791
|
+
[Rr]: {
|
|
714
792
|
left: "4px",
|
|
715
793
|
top: "50%",
|
|
716
794
|
transform: "translateY(-50%)"
|
|
717
795
|
},
|
|
718
|
-
[
|
|
796
|
+
[br]: {
|
|
719
797
|
right: "4px",
|
|
720
798
|
top: "50%",
|
|
721
799
|
transform: "translateY(-50%)"
|
|
722
800
|
},
|
|
723
|
-
[
|
|
801
|
+
[Er]: {
|
|
724
802
|
left: "50%",
|
|
725
803
|
top: "0",
|
|
726
804
|
transform: "translateX(-50%)"
|
|
727
805
|
},
|
|
728
|
-
[
|
|
806
|
+
[$r]: {
|
|
729
807
|
bottom: "0",
|
|
730
808
|
left: "50%",
|
|
731
809
|
transform: "translateX(-50%)"
|
|
732
810
|
},
|
|
733
|
-
[
|
|
734
|
-
backgroundImage:
|
|
811
|
+
[_r]: {
|
|
812
|
+
backgroundImage: h,
|
|
735
813
|
backgroundPosition: "center calc(50% - 1px)",
|
|
736
814
|
backgroundRepeat: "no-repeat",
|
|
737
815
|
backgroundSize: "16px 16px",
|
|
@@ -742,61 +820,61 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
742
820
|
verticalAlign: "middle",
|
|
743
821
|
width: "16px"
|
|
744
822
|
},
|
|
745
|
-
[
|
|
746
|
-
WebkitMaskImage:
|
|
823
|
+
[gr]: {
|
|
824
|
+
WebkitMaskImage: h,
|
|
747
825
|
WebkitMaskPosition: "center calc(50% - 1px)",
|
|
748
826
|
WebkitMaskRepeat: "no-repeat",
|
|
749
827
|
WebkitMaskSize: "16px 16px",
|
|
750
828
|
backgroundColor: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
751
829
|
backgroundImage: "none !important",
|
|
752
|
-
maskImage:
|
|
830
|
+
maskImage: h,
|
|
753
831
|
maskPosition: "center calc(50% - 1px)",
|
|
754
832
|
maskRepeat: "no-repeat",
|
|
755
833
|
maskSize: "16px 16px"
|
|
756
834
|
},
|
|
757
|
-
[
|
|
758
|
-
backgroundColor: `${
|
|
835
|
+
[wr]: {
|
|
836
|
+
backgroundColor: `${M} !important`
|
|
759
837
|
},
|
|
760
|
-
[
|
|
838
|
+
[mr]: {
|
|
761
839
|
scrollbarColor: "rgba(0, 0, 0, 0.32) transparent",
|
|
762
840
|
scrollbarWidth: "thin"
|
|
763
841
|
},
|
|
764
|
-
[
|
|
842
|
+
[Dr]: {
|
|
765
843
|
height: "8px",
|
|
766
844
|
width: "8px"
|
|
767
845
|
},
|
|
768
|
-
[
|
|
846
|
+
[kr]: {
|
|
769
847
|
backgroundClip: "padding-box",
|
|
770
848
|
backgroundColor: "rgba(0, 0, 0, 0.32)",
|
|
771
849
|
border: "2px solid transparent",
|
|
772
850
|
borderRadius: "8px"
|
|
773
851
|
},
|
|
774
|
-
[
|
|
852
|
+
[Ir]: {
|
|
775
853
|
backgroundColor: "rgba(0, 0, 0, 0.44)"
|
|
776
854
|
},
|
|
777
|
-
[
|
|
855
|
+
[vr]: {
|
|
778
856
|
backgroundColor: "transparent"
|
|
779
857
|
},
|
|
780
|
-
[
|
|
858
|
+
[Or]: {
|
|
781
859
|
backgroundColor: "transparent"
|
|
782
860
|
},
|
|
783
|
-
[
|
|
861
|
+
[A]: {
|
|
784
862
|
position: "relative"
|
|
785
863
|
},
|
|
786
|
-
[
|
|
864
|
+
[to]: {
|
|
787
865
|
borderBottom: "0 !important",
|
|
788
|
-
borderRadius: `${
|
|
789
|
-
clipPath: `inset(0 round ${
|
|
866
|
+
borderRadius: `${s} ${s} 0 0`,
|
|
867
|
+
clipPath: `inset(0 round ${s} ${s} 0 0)`,
|
|
790
868
|
overflow: "hidden"
|
|
791
869
|
},
|
|
792
|
-
[
|
|
793
|
-
border: `${
|
|
870
|
+
[lo]: {
|
|
871
|
+
border: `${u} solid ${R}`,
|
|
794
872
|
borderBottom: 0,
|
|
795
|
-
borderRadius: `${
|
|
873
|
+
borderRadius: `${s} ${s} 0 0`,
|
|
796
874
|
boxSizing: "border-box",
|
|
797
875
|
content: '""',
|
|
798
876
|
display: "block",
|
|
799
|
-
height:
|
|
877
|
+
height: s,
|
|
800
878
|
left: 0,
|
|
801
879
|
pointerEvents: "none",
|
|
802
880
|
position: "absolute",
|
|
@@ -804,111 +882,111 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
804
882
|
top: 0,
|
|
805
883
|
zIndex: 2
|
|
806
884
|
},
|
|
807
|
-
[
|
|
808
|
-
borderLeft: `${
|
|
809
|
-
borderRight: `${
|
|
885
|
+
[ao]: {
|
|
886
|
+
borderLeft: `${u} solid ${R}`,
|
|
887
|
+
borderRight: `${u} solid ${R}`,
|
|
810
888
|
boxSizing: "border-box",
|
|
811
889
|
content: '""',
|
|
812
890
|
display: "block",
|
|
813
|
-
height:
|
|
891
|
+
height: no,
|
|
814
892
|
left: 0,
|
|
815
893
|
pointerEvents: "none",
|
|
816
894
|
position: "absolute",
|
|
817
895
|
right: 0,
|
|
818
|
-
top:
|
|
896
|
+
top: co,
|
|
819
897
|
zIndex: 2
|
|
820
898
|
},
|
|
821
|
-
[
|
|
822
|
-
borderTop: `${
|
|
899
|
+
[so]: {
|
|
900
|
+
borderTop: `${u} solid ${R} !important`
|
|
823
901
|
},
|
|
824
|
-
[
|
|
825
|
-
boxShadow: `inset -${
|
|
902
|
+
[io]: {
|
|
903
|
+
boxShadow: `inset -${u} 0 0 ${R}`
|
|
826
904
|
},
|
|
827
|
-
[
|
|
828
|
-
boxShadow: `inset -${
|
|
905
|
+
[po]: {
|
|
906
|
+
boxShadow: `inset -${u} 0 0 ${R}`
|
|
829
907
|
},
|
|
830
|
-
[
|
|
908
|
+
[uo]: {
|
|
831
909
|
borderTopColor: "transparent !important",
|
|
832
910
|
overflow: "visible",
|
|
833
911
|
position: "relative"
|
|
834
912
|
},
|
|
835
|
-
[
|
|
836
|
-
border: `${
|
|
837
|
-
borderBottomLeftRadius:
|
|
838
|
-
borderBottomRightRadius:
|
|
913
|
+
[So]: {
|
|
914
|
+
border: `${u} solid ${R}`,
|
|
915
|
+
borderBottomLeftRadius: s,
|
|
916
|
+
borderBottomRightRadius: s,
|
|
839
917
|
borderTop: 0,
|
|
840
918
|
boxSizing: "border-box",
|
|
841
919
|
content: '""',
|
|
842
920
|
display: "block",
|
|
843
|
-
height:
|
|
921
|
+
height: s,
|
|
844
922
|
left: 0,
|
|
845
923
|
pointerEvents: "none",
|
|
846
924
|
position: "absolute",
|
|
847
925
|
right: 0,
|
|
848
926
|
top: 0,
|
|
849
|
-
transform: `translateY(calc(-100% - ${
|
|
927
|
+
transform: `translateY(calc(-100% - ${u}))`,
|
|
850
928
|
zIndex: 2
|
|
851
929
|
},
|
|
852
|
-
[
|
|
853
|
-
backgroundImage: `radial-gradient(circle at right top, transparent calc(${
|
|
930
|
+
[Co]: {
|
|
931
|
+
backgroundImage: `radial-gradient(circle at right top, transparent calc(${s} - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) ${s}), radial-gradient(circle at left top, transparent calc(${s} - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) ${s})`,
|
|
854
932
|
backgroundPosition: "left top, right top",
|
|
855
933
|
backgroundRepeat: "no-repeat",
|
|
856
|
-
backgroundSize: `${
|
|
934
|
+
backgroundSize: `${s} ${s}, ${s} ${s}`,
|
|
857
935
|
content: '""',
|
|
858
936
|
display: "block",
|
|
859
|
-
height:
|
|
937
|
+
height: s,
|
|
860
938
|
left: 0,
|
|
861
939
|
pointerEvents: "none",
|
|
862
940
|
position: "absolute",
|
|
863
941
|
right: 0,
|
|
864
942
|
top: 0,
|
|
865
|
-
transform: `translateY(calc(-100% - ${
|
|
943
|
+
transform: `translateY(calc(-100% - ${u}))`,
|
|
866
944
|
zIndex: 1
|
|
867
945
|
},
|
|
868
|
-
[
|
|
946
|
+
[Ro]: g(
|
|
869
947
|
"--owp-tree-grid-body-fill-background-color"
|
|
870
948
|
),
|
|
871
|
-
[
|
|
949
|
+
[bo]: g(
|
|
872
950
|
"--owp-tree-grid-row-solid-background-color"
|
|
873
951
|
),
|
|
874
|
-
[
|
|
952
|
+
[Eo]: g(
|
|
875
953
|
"--owp-tree-grid-toolbar-row-background-color"
|
|
876
954
|
),
|
|
877
|
-
[
|
|
955
|
+
[$o]: p(
|
|
878
956
|
"--owp-tree-grid-row-background-color",
|
|
879
957
|
"#FFFFFF"
|
|
880
958
|
),
|
|
881
|
-
[
|
|
959
|
+
[_o]: p(
|
|
882
960
|
"--owp-tree-grid-row-background-color",
|
|
883
961
|
"#FFFFFE"
|
|
884
962
|
),
|
|
885
|
-
[
|
|
963
|
+
[Q]: {
|
|
886
964
|
boxShadow: "none !important",
|
|
887
965
|
outline: "none",
|
|
888
966
|
position: "relative",
|
|
889
967
|
zIndex: 3
|
|
890
968
|
},
|
|
891
|
-
[
|
|
892
|
-
border: `${
|
|
969
|
+
[yo]: {
|
|
970
|
+
border: `${ie} solid ${pe}`,
|
|
893
971
|
boxSizing: "border-box",
|
|
894
972
|
content: '""',
|
|
895
973
|
display: "block",
|
|
896
|
-
inset:
|
|
974
|
+
inset: H,
|
|
897
975
|
pointerEvents: "none",
|
|
898
976
|
position: "absolute",
|
|
899
977
|
zIndex: 4
|
|
900
978
|
},
|
|
901
|
-
[
|
|
902
|
-
inset: `calc(${
|
|
979
|
+
[Wo]: {
|
|
980
|
+
inset: `calc(${H} + ${k})`
|
|
903
981
|
},
|
|
904
|
-
[
|
|
982
|
+
[q]: {
|
|
905
983
|
position: "relative"
|
|
906
984
|
},
|
|
907
|
-
[
|
|
985
|
+
[zo]: {
|
|
908
986
|
backgroundColor: "transparent",
|
|
909
|
-
borderBottom: `${
|
|
910
|
-
borderTop: `${
|
|
911
|
-
bottom:
|
|
987
|
+
borderBottom: `${k} solid ${O}`,
|
|
988
|
+
borderTop: `${k} solid ${O}`,
|
|
989
|
+
bottom: v,
|
|
912
990
|
boxSizing: "border-box",
|
|
913
991
|
content: '""',
|
|
914
992
|
display: "none",
|
|
@@ -919,182 +997,182 @@ const r = "owp-tree-grid-theme", k = "owp-tree-grid-table-radius", ee = "owp-tre
|
|
|
919
997
|
pointerEvents: "none",
|
|
920
998
|
position: "absolute",
|
|
921
999
|
right: "-1px",
|
|
922
|
-
top:
|
|
1000
|
+
top: v,
|
|
923
1001
|
zIndex: 2
|
|
924
1002
|
},
|
|
925
|
-
[
|
|
1003
|
+
[jo]: {
|
|
926
1004
|
borderBottomLeftRadius: "2px",
|
|
927
|
-
borderLeft: `${
|
|
1005
|
+
borderLeft: `${k} solid ${O}`,
|
|
928
1006
|
borderTopLeftRadius: "2px",
|
|
929
|
-
left:
|
|
1007
|
+
left: v
|
|
930
1008
|
},
|
|
931
|
-
[
|
|
1009
|
+
[Uo]: {
|
|
932
1010
|
borderBottomRightRadius: "2px",
|
|
933
|
-
borderRight: `${
|
|
1011
|
+
borderRight: `${k} solid ${O}`,
|
|
934
1012
|
borderTopRightRadius: "2px",
|
|
935
|
-
right:
|
|
1013
|
+
right: v
|
|
936
1014
|
},
|
|
937
|
-
[
|
|
1015
|
+
[go]: {
|
|
938
1016
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important",
|
|
939
|
-
fontFamily: `${
|
|
1017
|
+
fontFamily: `${B} !important`,
|
|
940
1018
|
fontSize: "var(--owp-tree-grid-header-font-size, 14px) !important",
|
|
941
1019
|
fontWeight: "var(--owp-tree-grid-header-font-weight, normal) !important",
|
|
942
1020
|
lineHeight: "16px"
|
|
943
1021
|
},
|
|
944
|
-
[
|
|
1022
|
+
[wo]: {
|
|
945
1023
|
backgroundColor: "var(--owp-tree-grid-header-background-color, #586980) !important",
|
|
946
1024
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important"
|
|
947
1025
|
},
|
|
948
|
-
[
|
|
1026
|
+
[mo]: p(
|
|
949
1027
|
"--owp-tree-grid-hover-row-background-color",
|
|
950
1028
|
"#F0F0FF"
|
|
951
1029
|
),
|
|
952
|
-
[
|
|
1030
|
+
[Do]: p(
|
|
953
1031
|
"--owp-tree-grid-hover-row-background-color",
|
|
954
1032
|
"#EEE"
|
|
955
1033
|
),
|
|
956
|
-
[
|
|
1034
|
+
[ko]: {
|
|
957
1035
|
borderTopColor: "var(--owp-tree-grid-hover-row-border-color) !important",
|
|
958
1036
|
borderBottomColor: "var(--owp-tree-grid-hover-row-border-color) !important"
|
|
959
1037
|
},
|
|
960
|
-
[
|
|
1038
|
+
[Io]: p(
|
|
961
1039
|
"--owp-tree-grid-selected-cell-background-color",
|
|
962
1040
|
"#FFFFA6"
|
|
963
1041
|
),
|
|
964
|
-
[
|
|
1042
|
+
[vo]: p(
|
|
965
1043
|
"--owp-tree-grid-selected-cell-background-color",
|
|
966
1044
|
"#FFFFA6"
|
|
967
1045
|
),
|
|
968
|
-
[
|
|
1046
|
+
[Oo]: p(
|
|
969
1047
|
"--owp-tree-grid-selected-row-background-color",
|
|
970
1048
|
"#EEE"
|
|
971
1049
|
),
|
|
972
|
-
[
|
|
1050
|
+
[fo]: p(
|
|
973
1051
|
"--owp-tree-grid-focused-row-background-color",
|
|
974
1052
|
"#E6E6E6"
|
|
975
1053
|
),
|
|
976
|
-
[
|
|
1054
|
+
[Fo]: p(
|
|
977
1055
|
"--owp-tree-grid-focused-row-background-color",
|
|
978
1056
|
"#EEE"
|
|
979
1057
|
),
|
|
980
|
-
[
|
|
1058
|
+
[Go]: {
|
|
981
1059
|
borderColor: "var(--owp-tree-grid-focused-row-border-color) !important"
|
|
982
1060
|
},
|
|
983
|
-
[
|
|
1061
|
+
[To]: p(
|
|
984
1062
|
"--owp-tree-grid-hover-cell-background-color",
|
|
985
1063
|
"#BFDDF2"
|
|
986
1064
|
),
|
|
987
|
-
[
|
|
1065
|
+
[ho]: {
|
|
988
1066
|
backgroundColor: "var(--owp-tree-grid-hover-cell-background-color) !important",
|
|
989
1067
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
990
1068
|
},
|
|
991
|
-
[
|
|
1069
|
+
[xo]: p(
|
|
992
1070
|
"--owp-tree-grid-hover-cell-background-color",
|
|
993
1071
|
"#F0F0F0"
|
|
994
1072
|
),
|
|
995
|
-
[
|
|
1073
|
+
[Ao]: p(
|
|
996
1074
|
"--owp-tree-grid-hover-cell-background-color",
|
|
997
1075
|
"#F0F0F0"
|
|
998
1076
|
),
|
|
999
|
-
[
|
|
1077
|
+
[Bo]: g(
|
|
1000
1078
|
"--owp-tree-grid-hover-cell-background-color"
|
|
1001
1079
|
),
|
|
1002
|
-
[
|
|
1080
|
+
[Mo]: g(
|
|
1003
1081
|
"--owp-tree-grid-hover-cell-background-color"
|
|
1004
1082
|
),
|
|
1005
|
-
[
|
|
1083
|
+
[Yo]: {
|
|
1006
1084
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
1007
1085
|
},
|
|
1008
|
-
[
|
|
1086
|
+
[Ko]: {
|
|
1009
1087
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
1010
1088
|
},
|
|
1011
|
-
[
|
|
1089
|
+
[Qo]: {
|
|
1012
1090
|
borderTopColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
1013
1091
|
borderBottomColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
1014
1092
|
outlineColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
1015
1093
|
},
|
|
1016
|
-
[
|
|
1094
|
+
[Ho]: p(
|
|
1017
1095
|
"--owp-tree-grid-focused-cell-background-color",
|
|
1018
1096
|
"#FFFFFE"
|
|
1019
1097
|
),
|
|
1020
|
-
[
|
|
1098
|
+
[Lo]: {
|
|
1021
1099
|
backgroundColor: "var(--owp-tree-grid-focused-cell-rect-background-color) !important"
|
|
1022
1100
|
},
|
|
1023
|
-
[
|
|
1101
|
+
[No]: {
|
|
1024
1102
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
1025
1103
|
},
|
|
1026
|
-
[
|
|
1104
|
+
[Vo]: {
|
|
1027
1105
|
backgroundColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
1028
1106
|
},
|
|
1029
|
-
[
|
|
1107
|
+
[Po]: {
|
|
1030
1108
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
1031
1109
|
},
|
|
1032
|
-
[
|
|
1110
|
+
[Xo]: g(
|
|
1033
1111
|
"--owp-tree-grid-focused-cell-background-color"
|
|
1034
1112
|
),
|
|
1035
|
-
[
|
|
1113
|
+
[qo]: p(
|
|
1036
1114
|
"--owp-tree-grid-changed-background-color",
|
|
1037
1115
|
"#EEE"
|
|
1038
1116
|
),
|
|
1039
|
-
[
|
|
1117
|
+
[Jo]: {
|
|
1040
1118
|
color: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
1041
|
-
fontWeight:
|
|
1119
|
+
fontWeight: rr
|
|
1042
1120
|
},
|
|
1043
|
-
[
|
|
1121
|
+
[Zo]: {
|
|
1044
1122
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
1045
1123
|
fontWeight: "normal !important"
|
|
1046
1124
|
},
|
|
1047
|
-
[
|
|
1125
|
+
[er]: {
|
|
1048
1126
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
1049
1127
|
fontWeight: "normal !important"
|
|
1050
1128
|
},
|
|
1051
|
-
[
|
|
1129
|
+
[or]: {
|
|
1052
1130
|
color: "transparent !important"
|
|
1053
1131
|
},
|
|
1054
|
-
[
|
|
1132
|
+
[tr]: {
|
|
1055
1133
|
borderColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
1056
1134
|
},
|
|
1057
|
-
[
|
|
1135
|
+
[lr]: {
|
|
1058
1136
|
backgroundColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
1059
1137
|
}
|
|
1060
|
-
},
|
|
1138
|
+
}, f = /* @__PURE__ */ t((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), fr = /* @__PURE__ */ t((e, o, a) => {
|
|
1061
1139
|
a && (e[o] = a);
|
|
1062
|
-
}, "setOptionalTreeGridCssVariable"),
|
|
1140
|
+
}, "setOptionalTreeGridCssVariable"), Ar = /* @__PURE__ */ t(({
|
|
1063
1141
|
width: e,
|
|
1064
1142
|
height: o,
|
|
1065
1143
|
treeGridTheme: a,
|
|
1066
|
-
gridThemeConfig:
|
|
1067
|
-
containerStyle:
|
|
1068
|
-
tableBorderRadius:
|
|
1144
|
+
gridThemeConfig: n,
|
|
1145
|
+
containerStyle: d,
|
|
1146
|
+
tableBorderRadius: S
|
|
1069
1147
|
}) => {
|
|
1070
|
-
const
|
|
1148
|
+
const C = {
|
|
1071
1149
|
height: o,
|
|
1072
|
-
"--owp-tree-grid-added-row-box-color":
|
|
1150
|
+
"--owp-tree-grid-added-row-box-color": K,
|
|
1073
1151
|
width: e
|
|
1074
1152
|
};
|
|
1075
|
-
for (const { cssVariableName:
|
|
1076
|
-
|
|
1077
|
-
for (const { cssVariableName:
|
|
1078
|
-
|
|
1079
|
-
return
|
|
1080
|
-
...
|
|
1081
|
-
...
|
|
1153
|
+
for (const { cssVariableName: D, getValue: $ } of He)
|
|
1154
|
+
fr(C, D, $(n));
|
|
1155
|
+
for (const { cssVariableName: D, getValue: $ } of Le)
|
|
1156
|
+
C[D] = $(a);
|
|
1157
|
+
return S !== void 0 && (C["--owp-tree-grid-table-border-radius"] = f(S)), {
|
|
1158
|
+
...C,
|
|
1159
|
+
...d
|
|
1082
1160
|
};
|
|
1083
1161
|
}, "createTreeGridThemeContainerStyle");
|
|
1084
1162
|
export {
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1163
|
+
F as TREE_GRID_ADDED_ROW_BOX_CELL_CLASS,
|
|
1164
|
+
de as TREE_GRID_ADDED_ROW_BOX_END_CLASS,
|
|
1165
|
+
se as TREE_GRID_ADDED_ROW_BOX_START_CLASS,
|
|
1166
|
+
Y as TREE_GRID_ERROR_CELL_CLASS,
|
|
1167
|
+
le as TREE_GRID_PANEL_CHECKBOX_SELECT_CLASS,
|
|
1168
|
+
X as TREE_GRID_SELECTED_CHANGED_CELL_CLASS,
|
|
1169
|
+
ae as TREE_GRID_SELECT_ALL_CHECKED_CLASS,
|
|
1170
|
+
ce as TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS,
|
|
1171
|
+
ne as TREE_GRID_SELECT_ALL_UNCHECKED_CLASS,
|
|
1172
|
+
c as TREE_GRID_STYLE_PREFIXES,
|
|
1173
|
+
w as TREE_GRID_THEME_TABLE_RADIUS_CLASS,
|
|
1096
1174
|
r as TREE_GRID_THEME_WRAPPER_CLASS,
|
|
1097
|
-
|
|
1098
|
-
|
|
1175
|
+
Ar as createTreeGridThemeContainerStyle,
|
|
1176
|
+
xr as treeGridThemeStyles
|
|
1099
1177
|
};
|
|
1100
1178
|
//# sourceMappingURL=treeGridTheme.js.map
|