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