@owp/core 2.5.34 → 2.5.36
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/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js +68 -62
- package/dist/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js.map +1 -1
- package/dist/components/OwpDialog/OwpAlertDialog.js +19 -18
- package/dist/components/OwpDialog/OwpAlertDialog.js.map +1 -1
- package/dist/components/OwpDialog/OwpDialog.js +34 -31
- package/dist/components/OwpDialog/OwpDialog.js.map +1 -1
- package/dist/components/OwpDialog/internal/useDialogOpenFocusCleanup.js +18 -0
- package/dist/components/OwpDialog/internal/useDialogOpenFocusCleanup.js.map +1 -0
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js +25 -15
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js.map +1 -1
- package/dist/components/OwpLayout/OwpLayout.js.map +1 -1
- package/dist/components/OwpNumberField/OwpNumberField.js +45 -24
- package/dist/components/OwpNumberField/OwpNumberField.js.map +1 -1
- package/dist/components/OwpScrollbars/OwpScrollbars.js +79 -52
- package/dist/components/OwpScrollbars/OwpScrollbars.js.map +1 -1
- package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js +157 -157
- package/dist/components/OwpSelectorBase/OwpSelectorAutocomplete.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +298 -248
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/configs/layoutConfig.js +0 -6
- package/dist/configs/layoutConfig.js.map +1 -1
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +15 -15
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
- package/dist/hooks/internal/useNavbar.js +4 -4
- package/dist/hooks/useConfirm.js +1 -1
- package/dist/hooks/useConfirm.js.map +1 -1
- package/dist/hooks/useOwpDialogs.js +19 -0
- package/dist/hooks/useOwpDialogs.js.map +1 -0
- package/dist/hooks.js +34 -32
- package/dist/hooks.js.map +1 -1
- package/dist/index.js +69 -71
- package/dist/index.js.map +1 -1
- package/dist/layout/Layout.js +23 -27
- package/dist/layout/Layout.js.map +1 -1
- package/dist/layout/components/layouts/FooterLayout.js.map +1 -1
- package/dist/layout/components/menus/PasswordChangeMenu.js +25 -25
- package/dist/layout/components/menus/PasswordChangeMenu.js.map +1 -1
- package/dist/layout/components/toggles/NavigationSearchToggle.js +1 -1
- package/dist/layout/components/toggles/NavigationSearchToggle.js.map +1 -1
- package/dist/layout/components/toggles/NavigationShortcutsToggle.js +1 -1
- package/dist/layout/components/toggles/NavigationShortcutsToggle.js.map +1 -1
- package/dist/layout/components/toggles/ThemePreviewToggle.js +14 -14
- package/dist/layout/components/toggles/ThemePreviewToggle.js.map +1 -1
- package/dist/node_modules/.pnpm/inko@1.1.1/node_modules/inko/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/index.js +1 -1
- package/dist/types/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts +5 -3
- package/dist/types/components/OwpDialog/OwpAlertDialog.d.ts +1 -1
- package/dist/types/components/OwpDialog/internal/useDialogOpenFocusCleanup.d.ts +5 -0
- package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +8 -14
- package/dist/types/components/OwpNumberField/OwpNumberField.d.ts +18 -4
- package/dist/types/components/OwpScrollbars/OwpScrollbars.d.ts +28 -14
- package/dist/types/configs/layoutConfig.d.ts +0 -6
- package/dist/types/features/themePreview/dialogs/ThemePreviewDialog.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/useOwpDialogs.d.ts +5 -0
- package/dist/types/hooks/useOwpSettings.d.ts +0 -6
- package/dist/types/index.d.ts +0 -1
- package/dist/types/store/atoms/owpSettingsAtoms.d.ts +0 -6
- package/dist/types/types/OwpDialogTypes.d.ts +1 -0
- package/dist/types/types/OwpRouteTypes.d.ts +25 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/internal/blurActiveElement.d.ts +4 -0
- package/dist/utils/internal/blurActiveElement.js +12 -0
- package/dist/utils/internal/blurActiveElement.js.map +1 -0
- package/dist/utils/{navigationUtils.js → internal/navigationUtils.js} +3 -3
- package/dist/utils/internal/navigationUtils.js.map +1 -0
- package/dist/utils.js +23 -25
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/OwpEventEmitter/OwpEventEmitter.js +0 -51
- package/dist/components/OwpEventEmitter/OwpEventEmitter.js.map +0 -1
- package/dist/layout/components/layouts/LeftSideLayout.js +0 -13
- package/dist/layout/components/layouts/LeftSideLayout.js.map +0 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/array/some.js +0 -66
- package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/array/some.js.map +0 -1
- package/dist/node_modules/.pnpm/perfect-scrollbar@1.5.6/node_modules/perfect-scrollbar/css/perfect-scrollbar.css +0 -1
- package/dist/types/components/OwpEventEmitter/OwpEventEmitter.d.ts +0 -27
- package/dist/types/components/OwpEventEmitter/index.d.ts +0 -1
- package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +0 -6
- package/dist/types/utils/common/OwpUtils.d.ts +0 -119
- package/dist/types/utils/common/index.d.ts +0 -1
- package/dist/utils/common/OwpUtils.js +0 -196
- package/dist/utils/common/OwpUtils.js.map +0 -1
- package/dist/utils/navigationUtils.js.map +0 -1
- /package/dist/types/utils/{navigationUtils.d.ts → internal/navigationUtils.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var O = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
import { TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT as y, TREEGRID_FONT_FAMILY_STACK as
|
|
2
|
+
var l = (e, o) => O(e, "name", { value: o, configurable: !0 });
|
|
3
|
+
import { TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT as y, TREEGRID_FONT_FAMILY_STACK as H, TREEGRID_ERROR_CELL_BORDER_COLOR as z, TREEGRID_CELL_CHANGED_CLASS as i } from "../../../constants/treeGrid.js";
|
|
4
4
|
import { DEFAULT_TABLE_RADIUS as N } from "../../../constants/table.js";
|
|
5
|
-
const r = "owp-tree-grid-theme",
|
|
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", n = [
|
|
6
6
|
"TS",
|
|
7
7
|
"TW",
|
|
8
8
|
"TB",
|
|
@@ -19,7 +19,7 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
19
19
|
"CR",
|
|
20
20
|
"CP",
|
|
21
21
|
"CC"
|
|
22
|
-
],
|
|
22
|
+
], b = "#CDD8E4", p = "1px", d = `var(--owp-tree-grid-table-border-radius, ${N})`, I = "#757575", K = "2px", Q = "2px", q = `var(--owp-tree-grid-error-cell-border-color, ${z})`, F = [
|
|
23
23
|
"DefaultsLeft",
|
|
24
24
|
"DefaultsRight",
|
|
25
25
|
"DefaultsTop",
|
|
@@ -28,164 +28,164 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
28
28
|
"EnumRight",
|
|
29
29
|
"EnumTop",
|
|
30
30
|
"EnumBottom"
|
|
31
|
-
],
|
|
31
|
+
], $ = /* @__PURE__ */ l((e) => `url("data:image/svg+xml,${encodeURIComponent(e)}")`, "createTreeGridSvgBackgroundImage"), J = $(
|
|
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
|
-
), Z =
|
|
33
|
+
), Z = $(
|
|
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
|
-
),
|
|
35
|
+
), _ = $(
|
|
36
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 =
|
|
37
|
+
), M = $(
|
|
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
|
-
), ee =
|
|
39
|
+
), ee = $(
|
|
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
|
-
), T =
|
|
41
|
+
), T = $(
|
|
42
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 =
|
|
43
|
+
), L = $(
|
|
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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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__ */ l((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
158
|
{
|
|
159
159
|
cssVariableName: "--owp-tree-grid-error-cell-border-color",
|
|
160
|
-
getValue: /* @__PURE__ */
|
|
160
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
161
161
|
var o;
|
|
162
162
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.errorCellBorderColor;
|
|
163
163
|
}, "getValue")
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
cssVariableName: "--owp-tree-grid-focused-cell-rect-background-color",
|
|
167
|
-
getValue: /* @__PURE__ */
|
|
167
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
168
168
|
var o;
|
|
169
169
|
return (o = e == null ? void 0 : e.state) == null ? void 0 : o.focusedCellRectBackgroundColor;
|
|
170
170
|
}, "getValue")
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
cssVariableName: "--owp-tree-grid-changed-background-color",
|
|
174
|
-
getValue: /* @__PURE__ */
|
|
174
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
175
175
|
var o;
|
|
176
176
|
return (o = e == null ? void 0 : e.changed) == null ? void 0 : o.backgroundColor;
|
|
177
177
|
}, "getValue")
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
cssVariableName: "--owp-tree-grid-changed-text-color",
|
|
181
|
-
getValue: /* @__PURE__ */
|
|
181
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
182
182
|
var o;
|
|
183
183
|
return (o = e == null ? void 0 : e.changed) == null ? void 0 : o.color;
|
|
184
184
|
}, "getValue")
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
cssVariableName: "--owp-tree-grid-changed-font-weight",
|
|
188
|
-
getValue: /* @__PURE__ */
|
|
188
|
+
getValue: /* @__PURE__ */ l((e) => {
|
|
189
189
|
var o;
|
|
190
190
|
return ((o = e == null ? void 0 : e.changed) == null ? void 0 : o.fontWeight) === void 0 ? void 0 : String(e.changed.fontWeight);
|
|
191
191
|
}, "getValue")
|
|
@@ -193,61 +193,61 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
193
193
|
], le = [
|
|
194
194
|
{
|
|
195
195
|
cssVariableName: "--owp-tree-grid-header-background-color",
|
|
196
|
-
getValue: /* @__PURE__ */
|
|
196
|
+
getValue: /* @__PURE__ */ l((e) => e.header.backgroundColor, "getValue")
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
cssVariableName: "--owp-tree-grid-header-color",
|
|
200
|
-
getValue: /* @__PURE__ */
|
|
200
|
+
getValue: /* @__PURE__ */ l((e) => e.header.color, "getValue")
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
cssVariableName: "--owp-tree-grid-header-font-size",
|
|
204
|
-
getValue: /* @__PURE__ */
|
|
204
|
+
getValue: /* @__PURE__ */ l((e) => f(e.header.fontSize), "getValue")
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
cssVariableName: "--owp-tree-grid-header-font-weight",
|
|
208
|
-
getValue: /* @__PURE__ */
|
|
208
|
+
getValue: /* @__PURE__ */ l((e) => String(e.header.fontWeight), "getValue")
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
cssVariableName: "--owp-tree-grid-header-height",
|
|
212
|
-
getValue: /* @__PURE__ */
|
|
212
|
+
getValue: /* @__PURE__ */ l((e) => f(e.header.height), "getValue")
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
cssVariableName: "--owp-tree-grid-cell-font-size",
|
|
216
|
-
getValue: /* @__PURE__ */
|
|
216
|
+
getValue: /* @__PURE__ */ l((e) => f(e.cell.fontSize), "getValue")
|
|
217
217
|
}
|
|
218
|
-
],
|
|
218
|
+
], u = /* @__PURE__ */ l((e, o) => ({
|
|
219
219
|
backgroundColor: `var(${e}, ${o}) !important`
|
|
220
|
-
}), "createTreeGridBackgroundColorStyle"), k = /* @__PURE__ */
|
|
220
|
+
}), "createTreeGridBackgroundColorStyle"), k = /* @__PURE__ */ l((e) => ({
|
|
221
221
|
backgroundColor: `var(${e}) !important`
|
|
222
|
-
}), "createTreeGridOptionalBackgroundColorStyle"),
|
|
222
|
+
}), "createTreeGridOptionalBackgroundColorStyle"), t = /* @__PURE__ */ l(({
|
|
223
223
|
wrapperSelector: e = `.${r}`,
|
|
224
224
|
rowSuffix: o,
|
|
225
225
|
suffixes: a,
|
|
226
226
|
descendant: c = "",
|
|
227
227
|
withChildren: s = !1
|
|
228
|
-
}) =>
|
|
229
|
-
const
|
|
230
|
-
return s ? [
|
|
231
|
-
})).join(", "), "createTreeGridSelectors"), R = /* @__PURE__ */
|
|
228
|
+
}) => n.flatMap((C) => a.flatMap((S) => {
|
|
229
|
+
const m = o ? ` .${C}${o}` : "", g = `${e}${m} .${C}${S}${c}`;
|
|
230
|
+
return s ? [g, `${g} *`] : [g];
|
|
231
|
+
})).join(", "), "createTreeGridSelectors"), R = /* @__PURE__ */ l(({
|
|
232
232
|
wrapperSelector: e = `.${r}`,
|
|
233
233
|
ancestorSuffixes: o,
|
|
234
234
|
suffixes: a,
|
|
235
235
|
descendant: c = ""
|
|
236
|
-
}) =>
|
|
237
|
-
wrapperSelector:
|
|
236
|
+
}) => n.flatMap((s) => o.flatMap((C) => a.map((S) => `${e} .${s}${C} .${s}${S}${c}`))).join(", "), "createTreeGridNestedSelectors"), E = `.${r}.${W}`, ae = `${E}.${j}`, ce = `${E}.${U}`, ne = `${E}.${X}`, de = t({
|
|
237
|
+
wrapperSelector: E,
|
|
238
238
|
suffixes: ["PanelSelect"]
|
|
239
|
-
}), se =
|
|
240
|
-
wrapperSelector:
|
|
239
|
+
}), se = t({
|
|
240
|
+
wrapperSelector: E,
|
|
241
241
|
suffixes: ["PanelSelectOn"]
|
|
242
242
|
}), ie = R({
|
|
243
|
-
wrapperSelector:
|
|
243
|
+
wrapperSelector: E,
|
|
244
244
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
245
245
|
suffixes: ["PanelSelect"]
|
|
246
|
-
}),
|
|
247
|
-
wrapperSelector:
|
|
246
|
+
}), ue = R({
|
|
247
|
+
wrapperSelector: E,
|
|
248
248
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
249
249
|
suffixes: ["PanelSelectOn"]
|
|
250
|
-
}),
|
|
250
|
+
}), pe = R({
|
|
251
251
|
wrapperSelector: ae,
|
|
252
252
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
253
253
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
@@ -259,35 +259,79 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
259
259
|
wrapperSelector: ne,
|
|
260
260
|
ancestorSuffixes: ["CellHeaderPanel", "CellIndexPanel"],
|
|
261
261
|
suffixes: ["PanelSelect", "PanelSelectOn"]
|
|
262
|
-
}), be =
|
|
262
|
+
}), be = t({
|
|
263
263
|
suffixes: ["Filter0"]
|
|
264
|
-
}),
|
|
264
|
+
}), $e = t({
|
|
265
265
|
suffixes: ["Filter1"]
|
|
266
|
-
}),
|
|
266
|
+
}), we = t({
|
|
267
267
|
suffixes: ["Main"],
|
|
268
268
|
withChildren: !0
|
|
269
|
-
}),
|
|
269
|
+
}), ge = t({
|
|
270
270
|
suffixes: ["Main"]
|
|
271
|
-
}), Ee =
|
|
271
|
+
}), Ee = t({
|
|
272
272
|
suffixes: ["ClassReadOnly"],
|
|
273
273
|
withChildren: !0
|
|
274
|
-
}), ke =
|
|
274
|
+
}), ke = t({
|
|
275
275
|
suffixes: ["MainTable"]
|
|
276
|
-
}),
|
|
276
|
+
}), ve = t({
|
|
277
277
|
suffixes: ["NoDataRow"]
|
|
278
|
-
}),
|
|
278
|
+
}), B = `.${r}.${v}`, Re = n.map((e) => `.${r}.${v} .${e}MainTable`).join(", "), me = `${B}::before`, he = `${B}::after`, fe = `calc(${d} - ${p})`, Fe = `calc(var(--owp-tree-grid-header-height, 33px) - ${d} + ${p})`, Ge = n.map((e) => `.${r}:not(.${v}) .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), De = t({
|
|
279
|
+
suffixes: [
|
|
280
|
+
"VScroll",
|
|
281
|
+
"VScrollTop",
|
|
282
|
+
"VScrollBottom",
|
|
283
|
+
"CustScroll1Up",
|
|
284
|
+
"CustScroll1UpHover",
|
|
285
|
+
"CustScroll1Down",
|
|
286
|
+
"CustScroll1DownHover",
|
|
287
|
+
"CustScroll1DownHidden",
|
|
288
|
+
"CustScroll1Right",
|
|
289
|
+
"CustScroll1RightHover",
|
|
290
|
+
"CustScroll1RightHidden",
|
|
291
|
+
"CustScroll1X",
|
|
292
|
+
"CustScroll2Up",
|
|
293
|
+
"CustScroll2UpHover",
|
|
294
|
+
"CustScroll2Down",
|
|
295
|
+
"CustScroll2DownHover",
|
|
296
|
+
"CustScroll2DownHidden",
|
|
297
|
+
"CustScroll2Right",
|
|
298
|
+
"CustScroll2RightHover",
|
|
299
|
+
"CustScroll2RightHidden",
|
|
300
|
+
"CustScroll2X",
|
|
301
|
+
"CustScroll3Down",
|
|
302
|
+
"CustScroll3DownHidden",
|
|
303
|
+
"CustScroll3Right",
|
|
304
|
+
"CustScroll3RightHidden",
|
|
305
|
+
"CustScroll3X",
|
|
306
|
+
"CustScroll4Down",
|
|
307
|
+
"CustScroll4DownHidden",
|
|
308
|
+
"CustScroll4Right",
|
|
309
|
+
"CustScroll4RightHidden"
|
|
310
|
+
]
|
|
311
|
+
}), xe = n.flatMap(
|
|
312
|
+
(e) => [
|
|
313
|
+
`.${r} .${e}CustScroll1Up > div`,
|
|
314
|
+
`.${r} .${e}CustScroll1Up > div > div`,
|
|
315
|
+
`.${r} .${e}CustScroll1UpHover > div`,
|
|
316
|
+
`.${r} .${e}CustScroll1UpHover > div > div`,
|
|
317
|
+
`.${r} .${e}CustScroll2Up > div`,
|
|
318
|
+
`.${r} .${e}CustScroll2Up > div > div`,
|
|
319
|
+
`.${r} .${e}CustScroll2UpHover > div`,
|
|
320
|
+
`.${r} .${e}CustScroll2UpHover > div > div`
|
|
321
|
+
]
|
|
322
|
+
).join(", "), Be = n.map((e) => `.${r}.${v} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow`).join(", "), He = n.map((e) => `.${r}.${v} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::before`).join(", "), Ie = n.map((e) => `.${r}.${v} .${e}RowSpace4.${e}RowSpaceFirst .${e}SolidRow::after`).join(", "), _e = t({
|
|
279
323
|
suffixes: ["FillRow"]
|
|
280
|
-
}),
|
|
324
|
+
}), Me = t({
|
|
281
325
|
suffixes: ["SolidRow"]
|
|
282
|
-
}),
|
|
326
|
+
}), Te = n.map((e) => `.${r} .${e}ToolbarRow.${e}SolidRow`).join(", "), Le = t({
|
|
283
327
|
suffixes: ["ColorDefault"]
|
|
284
|
-
}),
|
|
328
|
+
}), Ve = t({
|
|
285
329
|
suffixes: ["ColorDefaultRow"]
|
|
286
|
-
}),
|
|
330
|
+
}), Pe = t({
|
|
287
331
|
rowSuffix: "HeaderRow",
|
|
288
332
|
suffixes: ["CellHeader", "CellIndex", "GanttHeaderBase", "LevelButton"],
|
|
289
333
|
withChildren: !0
|
|
290
|
-
}),
|
|
334
|
+
}), Ae = t({
|
|
291
335
|
rowSuffix: "HeaderRow",
|
|
292
336
|
suffixes: [
|
|
293
337
|
"CellHeader",
|
|
@@ -300,38 +344,38 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
300
344
|
"HeaderFocus",
|
|
301
345
|
"HeaderDrag"
|
|
302
346
|
]
|
|
303
|
-
}),
|
|
347
|
+
}), Oe = t({
|
|
304
348
|
suffixes: ["ColorHovered"]
|
|
305
|
-
}),
|
|
349
|
+
}), ye = t({
|
|
306
350
|
suffixes: ["ColorHoveredRow"]
|
|
307
|
-
}),
|
|
351
|
+
}), ze = t({
|
|
308
352
|
suffixes: ["HoverRowBorder"]
|
|
309
|
-
}),
|
|
353
|
+
}), Ne = t({
|
|
310
354
|
suffixes: ["ColorSelected", "ColorSelectedCell"]
|
|
311
|
-
}),
|
|
355
|
+
}), We = t({
|
|
312
356
|
suffixes: ["ColorSelected", "ColorSelectedCell"],
|
|
313
357
|
descendant: " *"
|
|
314
|
-
}),
|
|
358
|
+
}), je = t({
|
|
315
359
|
suffixes: ["ColorSelectedRow"]
|
|
316
|
-
}),
|
|
360
|
+
}), Ue = t({
|
|
317
361
|
suffixes: ["ColorFocused"]
|
|
318
|
-
}),
|
|
362
|
+
}), Xe = t({
|
|
319
363
|
suffixes: ["ColorFocusedRow"]
|
|
320
|
-
}),
|
|
364
|
+
}), Ye = t({
|
|
321
365
|
suffixes: ["FocusRowBorder"]
|
|
322
|
-
}),
|
|
366
|
+
}), Ke = t({
|
|
323
367
|
suffixes: ["ColorHoveredCell", "ColorHoveredCellIndex"]
|
|
324
|
-
}),
|
|
368
|
+
}), Qe = t({
|
|
325
369
|
suffixes: ["HoverCellBorder"]
|
|
326
|
-
}),
|
|
370
|
+
}), qe = t({
|
|
327
371
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"]
|
|
328
|
-
}),
|
|
372
|
+
}), Je = t({
|
|
329
373
|
suffixes: ["ColorHoveredCellReadOnly", "ColorHoveredCellNoFocus"],
|
|
330
374
|
descendant: " *"
|
|
331
|
-
}),
|
|
375
|
+
}), Ze = R({
|
|
332
376
|
ancestorSuffixes: ["HoverCellBorder"],
|
|
333
377
|
suffixes: ["ColorPreview", "ColorPreviewDynamic", "ColorViewedCell"]
|
|
334
|
-
}),
|
|
378
|
+
}), eo = t({
|
|
335
379
|
suffixes: [
|
|
336
380
|
"ColorHoveredCellSpace",
|
|
337
381
|
"ColorHoveredCellSpaceEdit",
|
|
@@ -345,18 +389,18 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
345
389
|
"ColorHoveredCellTab",
|
|
346
390
|
"ColorHoveredCellTab1"
|
|
347
391
|
]
|
|
348
|
-
}),
|
|
392
|
+
}), oo = t({
|
|
349
393
|
suffixes: ["ColorFocusedCell", "ColorFocusedCellRelative"]
|
|
350
|
-
}),
|
|
394
|
+
}), ro = t({
|
|
351
395
|
suffixes: ["ColorFocusedCellRect"]
|
|
352
|
-
}),
|
|
396
|
+
}), to = t({
|
|
353
397
|
suffixes: ["FocusCellBorder"]
|
|
354
|
-
}),
|
|
398
|
+
}), lo = t({
|
|
355
399
|
suffixes: ["FocusCellCorner"]
|
|
356
|
-
}),
|
|
400
|
+
}), ao = t({
|
|
357
401
|
suffixes: ["ClassFocusedCellSpaceEdit", "ClassFocusedCellSpaceDefaults"],
|
|
358
402
|
descendant: " > div"
|
|
359
|
-
}), A = `.${r} .${Y}`,
|
|
403
|
+
}), A = `.${r} .${Y}`, co = `${A}::after`, no = t({
|
|
360
404
|
suffixes: [
|
|
361
405
|
"ColorFocusedCellSafari",
|
|
362
406
|
"ColorFocusedCellSpace",
|
|
@@ -365,23 +409,23 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
365
409
|
"ColorFocusedCellSpaceBool",
|
|
366
410
|
"ColorFocusedCellButton"
|
|
367
411
|
]
|
|
368
|
-
}),
|
|
412
|
+
}), so = t({
|
|
369
413
|
suffixes: ["ClassHoveredCellSpaceEdit", "ClassHoveredCellSpaceDefaults"],
|
|
370
414
|
descendant: " > div"
|
|
371
|
-
}),
|
|
415
|
+
}), io = t({
|
|
372
416
|
suffixes: ["ClassHoveredCellButtonButton", "ClassHoveredCellButtonButton1"],
|
|
373
417
|
descendant: " u"
|
|
374
|
-
}),
|
|
418
|
+
}), uo = t({
|
|
375
419
|
suffixes: ["ClassHoveredCellTab", "ClassHoveredCellTab1"]
|
|
376
|
-
}),
|
|
420
|
+
}), po = t({
|
|
377
421
|
suffixes: ["ColorChangedCell"]
|
|
378
|
-
}),
|
|
422
|
+
}), Co = n.flatMap((e) => {
|
|
379
423
|
const o = `${e}ClassFocusedCell`, a = `.${r} .${i}:not(.${o})`;
|
|
380
424
|
return [
|
|
381
425
|
a,
|
|
382
426
|
`${a} *:not(.${o})`
|
|
383
427
|
];
|
|
384
|
-
}).join(", "),
|
|
428
|
+
}).join(", "), So = n.flatMap((e) => {
|
|
385
429
|
const o = `.${r} .${i}`, a = `.${r} .${i}.${P}`;
|
|
386
430
|
return [
|
|
387
431
|
`${e}ColorSelected`,
|
|
@@ -398,7 +442,7 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
398
442
|
`.${r} .${s} ${o}`,
|
|
399
443
|
`.${r} .${s} ${o} *`
|
|
400
444
|
]);
|
|
401
|
-
}).join(", "),
|
|
445
|
+
}).join(", "), bo = n.flatMap((e) => {
|
|
402
446
|
const o = `.${r} .${i}`;
|
|
403
447
|
return [
|
|
404
448
|
`${e}ClassFocusedCell`,
|
|
@@ -410,7 +454,7 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
410
454
|
`.${r} .${c} ${o}`,
|
|
411
455
|
`.${r} .${c} ${o} *`
|
|
412
456
|
]);
|
|
413
|
-
}).join(", "),
|
|
457
|
+
}).join(", "), $o = n.flatMap((e) => {
|
|
414
458
|
const o = `.${r} .${i}`, a = `${e}HiddenValue`;
|
|
415
459
|
return [
|
|
416
460
|
`${o}.${a}`,
|
|
@@ -418,11 +462,11 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
418
462
|
`.${r} .${a} ${o}`,
|
|
419
463
|
`.${r} .${a} ${o} *`
|
|
420
464
|
];
|
|
421
|
-
}).join(", "),
|
|
465
|
+
}).join(", "), wo = `var(--owp-tree-grid-changed-font-weight, ${y}) !important`, go = t({
|
|
422
466
|
suffixes: ["EditCellBorder"]
|
|
423
|
-
}),
|
|
467
|
+
}), Eo = t({
|
|
424
468
|
suffixes: ["EditCellCorner"]
|
|
425
|
-
}),
|
|
469
|
+
}), ko = [
|
|
426
470
|
`.${r} .TSMain .TSDateLeft`,
|
|
427
471
|
`.${r} .TSMain .TSDatesLeft`,
|
|
428
472
|
`.${r} .TSMain .TSDateRight`,
|
|
@@ -431,7 +475,7 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
431
475
|
`.${r} .TSMain .TSDatesTop`,
|
|
432
476
|
`.${r} .TSMain .TSDateBottom`,
|
|
433
477
|
`.${r} .TSMain .TSDatesBottom`
|
|
434
|
-
].join(", "),
|
|
478
|
+
].join(", "), vo = [
|
|
435
479
|
`.${r} .TSMain .${i}.TSDateLeft`,
|
|
436
480
|
`.${r} .TSMain .${i}.TSDatesLeft`,
|
|
437
481
|
`.${r} .TSMain .${i}.TSDateRight`,
|
|
@@ -440,7 +484,7 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
440
484
|
`.${r} .TSMain .${i}.TSDatesTop`,
|
|
441
485
|
`.${r} .TSMain .${i}.TSDateBottom`,
|
|
442
486
|
`.${r} .TSMain .${i}.TSDatesBottom`
|
|
443
|
-
].join(", "),
|
|
487
|
+
].join(", "), Ro = [
|
|
444
488
|
"DateLeft",
|
|
445
489
|
"DatesLeft",
|
|
446
490
|
"DateRight",
|
|
@@ -449,7 +493,7 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
449
493
|
"DatesTop",
|
|
450
494
|
"DateBottom",
|
|
451
495
|
"DatesBottom"
|
|
452
|
-
].flatMap((e) =>
|
|
496
|
+
].flatMap((e) => n.flatMap((o) => {
|
|
453
497
|
const a = `.${r} .${i}.${o}${e}`;
|
|
454
498
|
return [
|
|
455
499
|
`${o}ClassFocusedCell`,
|
|
@@ -459,12 +503,12 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
459
503
|
`${a}.${s}`,
|
|
460
504
|
`.${r} .${s} ${a}`
|
|
461
505
|
]);
|
|
462
|
-
})).join(", "),
|
|
506
|
+
})).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")', mo = x.replace(
|
|
463
507
|
"%23757575",
|
|
464
508
|
"white"
|
|
465
|
-
), V =
|
|
509
|
+
), V = $(
|
|
466
510
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#000" d="M4.5 6.25h7L8 9.75z"/></svg>'
|
|
467
|
-
),
|
|
511
|
+
), w = /* @__PURE__ */ l((e, o) => n.flatMap((a) => e.flatMap((c) => o(a, c))).join(", "), "createTreeGridEnumButtonIconSelector"), G = /* @__PURE__ */ l((e, o) => `.${r} .${i}.${e}${o}`, "createTreeGridChangedEnumButtonCellSelector"), h = /* @__PURE__ */ l((e, o) => `${G(e, o)}::after`, "createTreeGridChangedEnumButtonPseudoSelector"), ho = /* @__PURE__ */ l((e, o) => {
|
|
468
512
|
const a = G(e, o), c = `.${r} .${i}.${P}.${e}${o}`, s = [
|
|
469
513
|
`${e}ColorSelected`,
|
|
470
514
|
`${e}ColorSelectedCell`,
|
|
@@ -475,12 +519,12 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
475
519
|
];
|
|
476
520
|
return [
|
|
477
521
|
c,
|
|
478
|
-
...s.flatMap((
|
|
479
|
-
`${a}.${
|
|
480
|
-
`.${r} .${
|
|
522
|
+
...s.flatMap((C) => [
|
|
523
|
+
`${a}.${C}`,
|
|
524
|
+
`.${r} .${C} ${a}`
|
|
481
525
|
])
|
|
482
526
|
];
|
|
483
|
-
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"),
|
|
527
|
+
}, "createTreeGridSelectedChangedEnumButtonCellSelectors"), fo = /* @__PURE__ */ l((e, o) => {
|
|
484
528
|
const a = G(e, o);
|
|
485
529
|
return [
|
|
486
530
|
`${e}ClassFocusedCell`,
|
|
@@ -490,38 +534,38 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
490
534
|
`${a}.${s}`,
|
|
491
535
|
`.${r} .${s} ${a}`
|
|
492
536
|
]);
|
|
493
|
-
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"),
|
|
494
|
-
|
|
537
|
+
}, "createTreeGridFocusedChangedEnumButtonCellSelectors"), Fo = w(
|
|
538
|
+
F,
|
|
495
539
|
(e, o) => [G(e, o)]
|
|
496
|
-
),
|
|
497
|
-
|
|
498
|
-
(e, o) => [
|
|
499
|
-
),
|
|
500
|
-
|
|
501
|
-
(e, o) =>
|
|
540
|
+
), Go = w(
|
|
541
|
+
F,
|
|
542
|
+
(e, o) => [h(e, o)]
|
|
543
|
+
), Do = w(
|
|
544
|
+
F,
|
|
545
|
+
(e, o) => ho(e, o).map(
|
|
502
546
|
(a) => `${a}::after`
|
|
503
547
|
)
|
|
504
|
-
),
|
|
505
|
-
|
|
506
|
-
(e, o) =>
|
|
548
|
+
), xo = w(
|
|
549
|
+
F,
|
|
550
|
+
(e, o) => fo(e, o).map(
|
|
507
551
|
(a) => `${a}::after`
|
|
508
552
|
)
|
|
509
|
-
),
|
|
553
|
+
), Bo = w(
|
|
510
554
|
["DefaultsLeft", "EnumLeft"],
|
|
511
|
-
(e, o) => [
|
|
512
|
-
),
|
|
555
|
+
(e, o) => [h(e, o)]
|
|
556
|
+
), Ho = w(
|
|
513
557
|
["DefaultsRight", "EnumRight"],
|
|
514
|
-
(e, o) => [
|
|
515
|
-
), Io =
|
|
558
|
+
(e, o) => [h(e, o)]
|
|
559
|
+
), Io = w(
|
|
516
560
|
["DefaultsTop", "EnumTop"],
|
|
517
|
-
(e, o) => [
|
|
518
|
-
), _o =
|
|
561
|
+
(e, o) => [h(e, o)]
|
|
562
|
+
), _o = w(
|
|
519
563
|
["DefaultsBottom", "EnumBottom"],
|
|
520
|
-
(e, o) => [
|
|
521
|
-
),
|
|
564
|
+
(e, o) => [h(e, o)]
|
|
565
|
+
), D = '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")', Mo = `.${r} .OwpTreeGridTimePickerEditorIcon`, To = [
|
|
522
566
|
`.${r} .${i} .OwpTreeGridTimePickerEditorIcon`,
|
|
523
567
|
`.${r} .${i}.OwpTreeGridTimePickerEditorIcon`
|
|
524
|
-
].join(", "),
|
|
568
|
+
].join(", "), Lo = n.flatMap((e) => {
|
|
525
569
|
const o = `.${r} .${i}`;
|
|
526
570
|
return [
|
|
527
571
|
`${e}ClassFocusedCell`,
|
|
@@ -533,37 +577,37 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
533
577
|
`.${r} .${c} ${o} .OwpTreeGridTimePickerEditorIcon`,
|
|
534
578
|
`.${r} .${c} ${o}.OwpTreeGridTimePickerEditorIcon`
|
|
535
579
|
]);
|
|
536
|
-
}).join(", "),
|
|
580
|
+
}).join(", "), Vo = n.map(
|
|
537
581
|
(e) => `.${e}EnumMenuMain, .${e}EnumMenuMain *`
|
|
538
|
-
).join(", "),
|
|
582
|
+
).join(", "), Po = n.map(
|
|
539
583
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar`
|
|
540
|
-
).join(", "),
|
|
584
|
+
).join(", "), Ao = n.map(
|
|
541
585
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb`
|
|
542
|
-
).join(", "),
|
|
586
|
+
).join(", "), Oo = n.map(
|
|
543
587
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-thumb:hover`
|
|
544
|
-
).join(", "),
|
|
588
|
+
).join(", "), yo = n.map(
|
|
545
589
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-track`
|
|
546
|
-
).join(", "),
|
|
590
|
+
).join(", "), zo = n.map(
|
|
547
591
|
(e) => `.${e}EnumMenuMain *::-webkit-scrollbar-corner`
|
|
548
|
-
).join(", "),
|
|
549
|
-
[
|
|
550
|
-
fontFamily: `${
|
|
592
|
+
).join(", "), Xo = {
|
|
593
|
+
[we]: {
|
|
594
|
+
fontFamily: `${H} !important`,
|
|
551
595
|
fontSize: "var(--owp-tree-grid-cell-font-size, 13px)",
|
|
552
596
|
fontWeight: "normal",
|
|
553
597
|
lineHeight: "16px"
|
|
554
598
|
},
|
|
555
|
-
[
|
|
599
|
+
[ge]: {
|
|
556
600
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
557
601
|
},
|
|
558
602
|
[Ee]: {
|
|
559
603
|
color: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
560
604
|
},
|
|
561
|
-
[ke]:
|
|
605
|
+
[ke]: u(
|
|
562
606
|
"--owp-tree-grid-body-background-color",
|
|
563
607
|
"#FFFFFF"
|
|
564
608
|
),
|
|
565
|
-
[
|
|
566
|
-
borderTopColor: `${
|
|
609
|
+
[ve]: {
|
|
610
|
+
borderTopColor: `${b} !important`
|
|
567
611
|
},
|
|
568
612
|
[de]: {
|
|
569
613
|
backgroundImage: `${J} !important`,
|
|
@@ -578,25 +622,25 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
578
622
|
backgroundSize: "17px 17px !important"
|
|
579
623
|
},
|
|
580
624
|
[ie]: {
|
|
581
|
-
backgroundImage: `${
|
|
625
|
+
backgroundImage: `${_} !important`,
|
|
582
626
|
backgroundPosition: "center center !important",
|
|
583
627
|
backgroundRepeat: "no-repeat !important",
|
|
584
628
|
backgroundSize: "17px 17px !important"
|
|
585
629
|
},
|
|
586
|
-
[
|
|
630
|
+
[ue]: {
|
|
587
631
|
backgroundImage: `${M} !important`,
|
|
588
632
|
backgroundPosition: "center center !important",
|
|
589
633
|
backgroundRepeat: "no-repeat !important",
|
|
590
634
|
backgroundSize: "17px 17px !important"
|
|
591
635
|
},
|
|
592
|
-
[
|
|
636
|
+
[pe]: {
|
|
593
637
|
backgroundImage: `${M} !important`
|
|
594
638
|
},
|
|
595
639
|
[Ce]: {
|
|
596
640
|
backgroundImage: `${ee} !important`
|
|
597
641
|
},
|
|
598
642
|
[Se]: {
|
|
599
|
-
backgroundImage: `${
|
|
643
|
+
backgroundImage: `${_} !important`
|
|
600
644
|
},
|
|
601
645
|
[be]: {
|
|
602
646
|
WebkitMaskImage: `${T} !important`,
|
|
@@ -613,7 +657,7 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
613
657
|
opacity: 0.72,
|
|
614
658
|
width: "17px !important"
|
|
615
659
|
},
|
|
616
|
-
[
|
|
660
|
+
[$e]: {
|
|
617
661
|
WebkitMaskImage: `${L} !important`,
|
|
618
662
|
WebkitMaskPosition: "center center !important",
|
|
619
663
|
WebkitMaskRepeat: "no-repeat !important",
|
|
@@ -628,20 +672,20 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
628
672
|
opacity: 1,
|
|
629
673
|
width: "17px !important"
|
|
630
674
|
},
|
|
631
|
-
[
|
|
632
|
-
backgroundImage: `${
|
|
675
|
+
[ko]: {
|
|
676
|
+
backgroundImage: `${x} !important`
|
|
633
677
|
},
|
|
634
|
-
[
|
|
678
|
+
[vo]: {
|
|
635
679
|
backgroundImage: `${mo} !important`
|
|
636
680
|
},
|
|
637
|
-
[
|
|
638
|
-
backgroundImage: `${
|
|
681
|
+
[Ro]: {
|
|
682
|
+
backgroundImage: `${x} !important`
|
|
639
683
|
},
|
|
640
|
-
[
|
|
684
|
+
[Fo]: {
|
|
641
685
|
backgroundImage: "none !important",
|
|
642
686
|
position: "relative"
|
|
643
687
|
},
|
|
644
|
-
[
|
|
688
|
+
[Go]: {
|
|
645
689
|
WebkitMaskImage: `${V} !important`,
|
|
646
690
|
WebkitMaskPosition: "center center !important",
|
|
647
691
|
WebkitMaskRepeat: "no-repeat !important",
|
|
@@ -659,18 +703,18 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
659
703
|
position: "absolute",
|
|
660
704
|
width: "16px"
|
|
661
705
|
},
|
|
662
|
-
[
|
|
706
|
+
[Do]: {
|
|
663
707
|
backgroundColor: "var(--owp-tree-grid-body-color, #111112) !important"
|
|
664
708
|
},
|
|
665
|
-
[Go]: {
|
|
666
|
-
backgroundColor: `${B} !important`
|
|
667
|
-
},
|
|
668
709
|
[xo]: {
|
|
710
|
+
backgroundColor: `${I} !important`
|
|
711
|
+
},
|
|
712
|
+
[Bo]: {
|
|
669
713
|
left: "4px",
|
|
670
714
|
top: "50%",
|
|
671
715
|
transform: "translateY(-50%)"
|
|
672
716
|
},
|
|
673
|
-
[
|
|
717
|
+
[Ho]: {
|
|
674
718
|
right: "4px",
|
|
675
719
|
top: "50%",
|
|
676
720
|
transform: "translateY(-50%)"
|
|
@@ -685,8 +729,8 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
685
729
|
left: "50%",
|
|
686
730
|
transform: "translateX(-50%)"
|
|
687
731
|
},
|
|
688
|
-
[
|
|
689
|
-
backgroundImage:
|
|
732
|
+
[Mo]: {
|
|
733
|
+
backgroundImage: D,
|
|
690
734
|
backgroundPosition: "center calc(50% - 1px)",
|
|
691
735
|
backgroundRepeat: "no-repeat",
|
|
692
736
|
backgroundSize: "16px 16px",
|
|
@@ -697,61 +741,61 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
697
741
|
verticalAlign: "middle",
|
|
698
742
|
width: "16px"
|
|
699
743
|
},
|
|
700
|
-
[
|
|
701
|
-
WebkitMaskImage:
|
|
744
|
+
[To]: {
|
|
745
|
+
WebkitMaskImage: D,
|
|
702
746
|
WebkitMaskPosition: "center calc(50% - 1px)",
|
|
703
747
|
WebkitMaskRepeat: "no-repeat",
|
|
704
748
|
WebkitMaskSize: "16px 16px",
|
|
705
749
|
backgroundColor: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
706
750
|
backgroundImage: "none !important",
|
|
707
|
-
maskImage:
|
|
751
|
+
maskImage: D,
|
|
708
752
|
maskPosition: "center calc(50% - 1px)",
|
|
709
753
|
maskRepeat: "no-repeat",
|
|
710
754
|
maskSize: "16px 16px"
|
|
711
755
|
},
|
|
712
|
-
[
|
|
713
|
-
backgroundColor: `${
|
|
756
|
+
[Lo]: {
|
|
757
|
+
backgroundColor: `${I} !important`
|
|
714
758
|
},
|
|
715
|
-
[
|
|
759
|
+
[Vo]: {
|
|
716
760
|
scrollbarColor: "rgba(0, 0, 0, 0.32) transparent",
|
|
717
761
|
scrollbarWidth: "thin"
|
|
718
762
|
},
|
|
719
|
-
[
|
|
763
|
+
[Po]: {
|
|
720
764
|
height: "8px",
|
|
721
765
|
width: "8px"
|
|
722
766
|
},
|
|
723
|
-
[
|
|
767
|
+
[Ao]: {
|
|
724
768
|
backgroundClip: "padding-box",
|
|
725
769
|
backgroundColor: "rgba(0, 0, 0, 0.32)",
|
|
726
770
|
border: "2px solid transparent",
|
|
727
771
|
borderRadius: "8px"
|
|
728
772
|
},
|
|
729
|
-
[
|
|
773
|
+
[Oo]: {
|
|
730
774
|
backgroundColor: "rgba(0, 0, 0, 0.44)"
|
|
731
775
|
},
|
|
732
|
-
[
|
|
776
|
+
[yo]: {
|
|
733
777
|
backgroundColor: "transparent"
|
|
734
778
|
},
|
|
735
|
-
[
|
|
779
|
+
[zo]: {
|
|
736
780
|
backgroundColor: "transparent"
|
|
737
781
|
},
|
|
738
|
-
[
|
|
782
|
+
[B]: {
|
|
739
783
|
position: "relative"
|
|
740
784
|
},
|
|
741
785
|
[Re]: {
|
|
742
786
|
borderBottom: "0 !important",
|
|
743
|
-
borderRadius: `${
|
|
744
|
-
clipPath: `inset(0 round ${
|
|
787
|
+
borderRadius: `${d} ${d} 0 0`,
|
|
788
|
+
clipPath: `inset(0 round ${d} ${d} 0 0)`,
|
|
745
789
|
overflow: "hidden"
|
|
746
790
|
},
|
|
747
|
-
[
|
|
748
|
-
border: `${
|
|
791
|
+
[me]: {
|
|
792
|
+
border: `${p} solid ${b}`,
|
|
749
793
|
borderBottom: 0,
|
|
750
|
-
borderRadius: `${
|
|
794
|
+
borderRadius: `${d} ${d} 0 0`,
|
|
751
795
|
boxSizing: "border-box",
|
|
752
796
|
content: '""',
|
|
753
797
|
display: "block",
|
|
754
|
-
height:
|
|
798
|
+
height: d,
|
|
755
799
|
left: 0,
|
|
756
800
|
pointerEvents: "none",
|
|
757
801
|
position: "absolute",
|
|
@@ -759,75 +803,81 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
759
803
|
top: 0,
|
|
760
804
|
zIndex: 2
|
|
761
805
|
},
|
|
762
|
-
[
|
|
763
|
-
borderLeft: `${
|
|
764
|
-
borderRight: `${
|
|
806
|
+
[he]: {
|
|
807
|
+
borderLeft: `${p} solid ${b}`,
|
|
808
|
+
borderRight: `${p} solid ${b}`,
|
|
765
809
|
boxSizing: "border-box",
|
|
766
810
|
content: '""',
|
|
767
811
|
display: "block",
|
|
768
|
-
height:
|
|
812
|
+
height: Fe,
|
|
769
813
|
left: 0,
|
|
770
814
|
pointerEvents: "none",
|
|
771
815
|
position: "absolute",
|
|
772
816
|
right: 0,
|
|
773
|
-
top:
|
|
817
|
+
top: fe,
|
|
774
818
|
zIndex: 2
|
|
775
819
|
},
|
|
776
820
|
[Ge]: {
|
|
777
|
-
borderTop: `${
|
|
821
|
+
borderTop: `${p} solid ${b} !important`
|
|
822
|
+
},
|
|
823
|
+
[De]: {
|
|
824
|
+
boxShadow: `inset -${p} 0 0 ${b}`
|
|
778
825
|
},
|
|
779
826
|
[xe]: {
|
|
827
|
+
boxShadow: `inset -${p} 0 0 ${b}`
|
|
828
|
+
},
|
|
829
|
+
[Be]: {
|
|
780
830
|
borderTopColor: "transparent !important",
|
|
781
831
|
overflow: "visible",
|
|
782
832
|
position: "relative"
|
|
783
833
|
},
|
|
784
|
-
[
|
|
785
|
-
border: `${
|
|
786
|
-
borderBottomLeftRadius:
|
|
787
|
-
borderBottomRightRadius:
|
|
834
|
+
[He]: {
|
|
835
|
+
border: `${p} solid ${b}`,
|
|
836
|
+
borderBottomLeftRadius: d,
|
|
837
|
+
borderBottomRightRadius: d,
|
|
788
838
|
borderTop: 0,
|
|
789
839
|
boxSizing: "border-box",
|
|
790
840
|
content: '""',
|
|
791
841
|
display: "block",
|
|
792
|
-
height:
|
|
842
|
+
height: d,
|
|
793
843
|
left: 0,
|
|
794
844
|
pointerEvents: "none",
|
|
795
845
|
position: "absolute",
|
|
796
846
|
right: 0,
|
|
797
847
|
top: 0,
|
|
798
|
-
transform:
|
|
848
|
+
transform: `translateY(calc(-100% - ${p}))`,
|
|
799
849
|
zIndex: 2
|
|
800
850
|
},
|
|
801
851
|
[Ie]: {
|
|
802
|
-
backgroundImage: `radial-gradient(circle at right top, transparent calc(${
|
|
852
|
+
backgroundImage: `radial-gradient(circle at right top, transparent calc(${d} - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) ${d}), radial-gradient(circle at left top, transparent calc(${d} - 1px), var(--owp-tree-grid-toolbar-row-background-color, #FFFFFF) ${d})`,
|
|
803
853
|
backgroundPosition: "left top, right top",
|
|
804
854
|
backgroundRepeat: "no-repeat",
|
|
805
|
-
backgroundSize: `${
|
|
855
|
+
backgroundSize: `${d} ${d}, ${d} ${d}`,
|
|
806
856
|
content: '""',
|
|
807
857
|
display: "block",
|
|
808
|
-
height:
|
|
858
|
+
height: d,
|
|
809
859
|
left: 0,
|
|
810
860
|
pointerEvents: "none",
|
|
811
861
|
position: "absolute",
|
|
812
862
|
right: 0,
|
|
813
863
|
top: 0,
|
|
814
|
-
transform:
|
|
864
|
+
transform: `translateY(calc(-100% - ${p}))`,
|
|
815
865
|
zIndex: 1
|
|
816
866
|
},
|
|
817
867
|
[_e]: k(
|
|
818
868
|
"--owp-tree-grid-body-fill-background-color"
|
|
819
869
|
),
|
|
820
|
-
[
|
|
870
|
+
[Me]: k(
|
|
821
871
|
"--owp-tree-grid-row-solid-background-color"
|
|
822
872
|
),
|
|
823
|
-
[
|
|
873
|
+
[Te]: k(
|
|
824
874
|
"--owp-tree-grid-toolbar-row-background-color"
|
|
825
875
|
),
|
|
826
|
-
[
|
|
876
|
+
[Le]: u(
|
|
827
877
|
"--owp-tree-grid-row-background-color",
|
|
828
878
|
"#FFFFFF"
|
|
829
879
|
),
|
|
830
|
-
[
|
|
880
|
+
[Ve]: u(
|
|
831
881
|
"--owp-tree-grid-row-background-color",
|
|
832
882
|
"#FFFFFE"
|
|
833
883
|
),
|
|
@@ -837,7 +887,7 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
837
887
|
position: "relative",
|
|
838
888
|
zIndex: 3
|
|
839
889
|
},
|
|
840
|
-
[
|
|
890
|
+
[co]: {
|
|
841
891
|
border: `${K} solid ${q}`,
|
|
842
892
|
boxSizing: "border-box",
|
|
843
893
|
content: '""',
|
|
@@ -847,149 +897,149 @@ const r = "owp-tree-grid-theme", m = "owp-tree-grid-table-radius", W = "owp-tree
|
|
|
847
897
|
position: "absolute",
|
|
848
898
|
zIndex: 4
|
|
849
899
|
},
|
|
850
|
-
[
|
|
900
|
+
[Pe]: {
|
|
851
901
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important",
|
|
852
|
-
fontFamily: `${
|
|
902
|
+
fontFamily: `${H} !important`,
|
|
853
903
|
fontSize: "var(--owp-tree-grid-header-font-size, 14px) !important",
|
|
854
904
|
fontWeight: "var(--owp-tree-grid-header-font-weight, normal) !important",
|
|
855
905
|
lineHeight: "16px"
|
|
856
906
|
},
|
|
857
|
-
[
|
|
907
|
+
[Ae]: {
|
|
858
908
|
backgroundColor: "var(--owp-tree-grid-header-background-color, #586980) !important",
|
|
859
909
|
color: "var(--owp-tree-grid-header-color, #ffffff) !important"
|
|
860
910
|
},
|
|
861
|
-
[
|
|
911
|
+
[Oe]: u(
|
|
862
912
|
"--owp-tree-grid-hover-row-background-color",
|
|
863
913
|
"#F0F0FF"
|
|
864
914
|
),
|
|
865
|
-
[
|
|
915
|
+
[ye]: u(
|
|
866
916
|
"--owp-tree-grid-hover-row-background-color",
|
|
867
917
|
"#EEE"
|
|
868
918
|
),
|
|
869
|
-
[
|
|
919
|
+
[ze]: {
|
|
870
920
|
borderTopColor: "var(--owp-tree-grid-hover-row-border-color) !important",
|
|
871
921
|
borderBottomColor: "var(--owp-tree-grid-hover-row-border-color) !important"
|
|
872
922
|
},
|
|
873
|
-
[
|
|
923
|
+
[Ne]: u(
|
|
874
924
|
"--owp-tree-grid-selected-cell-background-color",
|
|
875
925
|
"#FFFFA6"
|
|
876
926
|
),
|
|
877
|
-
[
|
|
927
|
+
[We]: u(
|
|
878
928
|
"--owp-tree-grid-selected-cell-background-color",
|
|
879
929
|
"#FFFFA6"
|
|
880
930
|
),
|
|
881
|
-
[
|
|
931
|
+
[je]: u(
|
|
882
932
|
"--owp-tree-grid-selected-row-background-color",
|
|
883
933
|
"#EEE"
|
|
884
934
|
),
|
|
885
|
-
[
|
|
935
|
+
[Ue]: u(
|
|
886
936
|
"--owp-tree-grid-focused-row-background-color",
|
|
887
937
|
"#E6E6E6"
|
|
888
938
|
),
|
|
889
|
-
[
|
|
939
|
+
[Xe]: u(
|
|
890
940
|
"--owp-tree-grid-focused-row-background-color",
|
|
891
941
|
"#EEE"
|
|
892
942
|
),
|
|
893
|
-
[
|
|
943
|
+
[Ye]: {
|
|
894
944
|
borderColor: "var(--owp-tree-grid-focused-row-border-color) !important"
|
|
895
945
|
},
|
|
896
|
-
[
|
|
946
|
+
[Ke]: u(
|
|
897
947
|
"--owp-tree-grid-hover-cell-background-color",
|
|
898
948
|
"#BFDDF2"
|
|
899
949
|
),
|
|
900
|
-
[
|
|
950
|
+
[Qe]: {
|
|
901
951
|
backgroundColor: "var(--owp-tree-grid-hover-cell-background-color) !important",
|
|
902
952
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
903
953
|
},
|
|
904
|
-
[
|
|
954
|
+
[qe]: u(
|
|
905
955
|
"--owp-tree-grid-hover-cell-background-color",
|
|
906
956
|
"#F0F0F0"
|
|
907
957
|
),
|
|
908
|
-
[
|
|
958
|
+
[Je]: u(
|
|
909
959
|
"--owp-tree-grid-hover-cell-background-color",
|
|
910
960
|
"#F0F0F0"
|
|
911
961
|
),
|
|
912
|
-
[
|
|
962
|
+
[Ze]: k(
|
|
913
963
|
"--owp-tree-grid-hover-cell-background-color"
|
|
914
964
|
),
|
|
915
|
-
[
|
|
965
|
+
[eo]: k(
|
|
916
966
|
"--owp-tree-grid-hover-cell-background-color"
|
|
917
967
|
),
|
|
918
|
-
[
|
|
968
|
+
[so]: {
|
|
919
969
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
920
970
|
},
|
|
921
|
-
[
|
|
971
|
+
[io]: {
|
|
922
972
|
borderColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
923
973
|
},
|
|
924
|
-
[
|
|
974
|
+
[uo]: {
|
|
925
975
|
borderTopColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
926
976
|
borderBottomColor: "var(--owp-tree-grid-hover-cell-border-color) !important",
|
|
927
977
|
outlineColor: "var(--owp-tree-grid-hover-cell-border-color) !important"
|
|
928
978
|
},
|
|
929
|
-
[
|
|
979
|
+
[oo]: u(
|
|
930
980
|
"--owp-tree-grid-focused-cell-background-color",
|
|
931
981
|
"#FFFFFE"
|
|
932
982
|
),
|
|
933
|
-
[
|
|
983
|
+
[ro]: {
|
|
934
984
|
backgroundColor: "var(--owp-tree-grid-focused-cell-rect-background-color) !important"
|
|
935
985
|
},
|
|
936
|
-
[
|
|
986
|
+
[to]: {
|
|
937
987
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
938
988
|
},
|
|
939
|
-
[
|
|
989
|
+
[lo]: {
|
|
940
990
|
backgroundColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
941
991
|
},
|
|
942
|
-
[
|
|
992
|
+
[ao]: {
|
|
943
993
|
borderColor: "var(--owp-tree-grid-focused-cell-border-color) !important"
|
|
944
994
|
},
|
|
945
|
-
[
|
|
995
|
+
[no]: k(
|
|
946
996
|
"--owp-tree-grid-focused-cell-background-color"
|
|
947
997
|
),
|
|
948
|
-
[
|
|
998
|
+
[po]: u(
|
|
949
999
|
"--owp-tree-grid-changed-background-color",
|
|
950
1000
|
"#EEE"
|
|
951
1001
|
),
|
|
952
|
-
[
|
|
1002
|
+
[Co]: {
|
|
953
1003
|
color: "var(--owp-tree-grid-changed-text-color, #ffffff) !important",
|
|
954
|
-
fontWeight:
|
|
1004
|
+
fontWeight: wo
|
|
955
1005
|
},
|
|
956
|
-
[
|
|
1006
|
+
[So]: {
|
|
957
1007
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
958
1008
|
fontWeight: "normal !important"
|
|
959
1009
|
},
|
|
960
|
-
[
|
|
1010
|
+
[bo]: {
|
|
961
1011
|
color: "var(--owp-tree-grid-body-color, #111112) !important",
|
|
962
1012
|
fontWeight: "normal !important"
|
|
963
1013
|
},
|
|
964
|
-
[
|
|
1014
|
+
[$o]: {
|
|
965
1015
|
color: "transparent !important"
|
|
966
1016
|
},
|
|
967
|
-
[
|
|
1017
|
+
[go]: {
|
|
968
1018
|
borderColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
969
1019
|
},
|
|
970
|
-
[
|
|
1020
|
+
[Eo]: {
|
|
971
1021
|
backgroundColor: "var(--owp-tree-grid-editing-cell-border-color) !important"
|
|
972
1022
|
}
|
|
973
|
-
},
|
|
1023
|
+
}, f = /* @__PURE__ */ l((e) => typeof e == "number" ? `${e}px` : e, "toTreeGridCssValue"), No = /* @__PURE__ */ l((e, o, a) => {
|
|
974
1024
|
a && (e[o] = a);
|
|
975
|
-
}, "setOptionalTreeGridCssVariable"),
|
|
1025
|
+
}, "setOptionalTreeGridCssVariable"), Yo = /* @__PURE__ */ l(({
|
|
976
1026
|
width: e,
|
|
977
1027
|
height: o,
|
|
978
1028
|
treeGridTheme: a,
|
|
979
1029
|
gridThemeConfig: c,
|
|
980
1030
|
containerStyle: s,
|
|
981
|
-
tableBorderRadius:
|
|
1031
|
+
tableBorderRadius: C
|
|
982
1032
|
}) => {
|
|
983
|
-
const
|
|
1033
|
+
const S = {
|
|
984
1034
|
height: o,
|
|
985
1035
|
width: e
|
|
986
1036
|
};
|
|
987
|
-
for (const { cssVariableName:
|
|
988
|
-
|
|
989
|
-
for (const { cssVariableName:
|
|
990
|
-
|
|
991
|
-
return
|
|
992
|
-
...
|
|
1037
|
+
for (const { cssVariableName: m, getValue: g } of te)
|
|
1038
|
+
No(S, m, g(c));
|
|
1039
|
+
for (const { cssVariableName: m, getValue: g } of le)
|
|
1040
|
+
S[m] = g(a);
|
|
1041
|
+
return C !== void 0 && (S["--owp-tree-grid-table-border-radius"] = f(C)), {
|
|
1042
|
+
...S,
|
|
993
1043
|
...s
|
|
994
1044
|
};
|
|
995
1045
|
}, "createTreeGridThemeContainerStyle");
|
|
@@ -1000,9 +1050,9 @@ export {
|
|
|
1000
1050
|
j as TREE_GRID_SELECT_ALL_CHECKED_CLASS,
|
|
1001
1051
|
U as TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS,
|
|
1002
1052
|
X as TREE_GRID_SELECT_ALL_UNCHECKED_CLASS,
|
|
1003
|
-
|
|
1053
|
+
v as TREE_GRID_THEME_TABLE_RADIUS_CLASS,
|
|
1004
1054
|
r as TREE_GRID_THEME_WRAPPER_CLASS,
|
|
1005
|
-
|
|
1006
|
-
|
|
1055
|
+
Yo as createTreeGridThemeContainerStyle,
|
|
1056
|
+
Xo as treeGridThemeStyles
|
|
1007
1057
|
};
|
|
1008
1058
|
//# sourceMappingURL=treeGridTheme.js.map
|