@mono-lit/helper 0.0.9 → 0.1.0

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.
Files changed (164) hide show
  1. package/dist/accordion-core-DaNyPWRr.js +277 -0
  2. package/dist/alert-core-DWtHbX_-.js +134 -0
  3. package/dist/breadcrumb-list-core-Dh68T8Cf.js +747 -0
  4. package/dist/{mono-button-CLkHg3WW.js → button-core-DerXg84Q.js} +3 -276
  5. package/dist/button-dropdown-core-DKYEOyjy.js +654 -0
  6. package/dist/button-utils-D5-66M02.js +63 -0
  7. package/dist/card-utils-l80qAmrN.js +312 -0
  8. package/dist/chart-core-DV7hD3ZY.js +801 -0
  9. package/dist/checkbox-utils-DKdrhAzF.js +337 -0
  10. package/dist/chip-utils-DpRrd7Zj.js +403 -0
  11. package/dist/{data-source-controller-C6C4ej_M.js → data-source-controller-DS_JLrmS.js} +1 -1
  12. package/dist/{data-source-options-fxT5QIX4.js → data-source-options-DJUNU26C.js} +6 -6
  13. package/dist/{data-source-read-BL266IW0.js → data-source-read-uKJpRAzx.js} +2 -2
  14. package/dist/date-core-CyuSyvvG.js +734 -0
  15. package/dist/drawer-core-DbFWvNln.js +759 -0
  16. package/dist/dropdown-core-BCH1pK14.js +511 -0
  17. package/dist/dropdown-table-core-SfHUJVFq.js +1342 -0
  18. package/dist/export.js +1 -1
  19. package/dist/{field-path-BabiMrrA.js → field-path-DK2VBWHl.js} +1 -1
  20. package/dist/field-tooltip.css_raw-DVblekCl.js +5 -0
  21. package/dist/{field-validation.css_raw-Cx6SGrfP.js → field-validation.css_raw-BU7C6173.js} +1 -170
  22. package/dist/file-upload-core-Cz_dBQMx.js +624 -0
  23. package/dist/filter-builder-core-DyWjbBP7.js +381 -0
  24. package/dist/{filter-builder-B6Y2mmbM.js → filter-builder-vbqIuPhX.js} +1 -1
  25. package/dist/{filter-eval-ChDSaAUH.js → filter-eval-CqeBnMYh.js} +1 -1
  26. package/dist/{filter-odata-Bi27XUpQ.js → filter-odata-GsczYKNC.js} +1 -1
  27. package/dist/{hydration-flush-BaE9gN3C.js → hydration-flush-Volt9X7Q.js} +2 -1071
  28. package/dist/index.js +11 -11
  29. package/dist/{index.node-DTqDBca7.js → index.node-Csy9zrr1.js} +4 -4
  30. package/dist/index.node.js +11 -11
  31. package/dist/input-utils-BglY-k0H.js +1145 -0
  32. package/dist/menu-core-DkAYuCZ2.js +831 -0
  33. package/dist/modal-core-CSBSPN_m.js +844 -0
  34. package/dist/mono-button-DVvZ03P-.js +280 -0
  35. package/dist/{mono-button.shadow-DqZMpcqY.js → mono-button.shadow-BANxMGln.js} +6 -594
  36. package/dist/{mono-data-chart-NKPdAgVq.js → mono-data-chart-ChF4J9RT.js} +6 -6
  37. package/dist/{mono-data-dropdown-B2iRpJuI.js → mono-data-dropdown-Bgj2PDfm.js} +1 -1
  38. package/dist/{mono-data-grid-llJCX9MC.js → mono-data-grid-DJkp96N-.js} +144 -46
  39. package/dist/{mono-event-BPku9HpS.js → mono-event-CAZf0F_k.js} +14 -9
  40. package/dist/{mono-form-controller-BrA10erm.js → mono-form-controller-DxZLvyg6.js} +2 -1
  41. package/dist/mono-table-checkbox-core-BKOMx8R5.js +5288 -0
  42. package/dist/nav-core-B5qU2dzn.js +225 -0
  43. package/dist/{normalize-error-D93O4q8g.js → normalize-error-BEcd1tmS.js} +2 -2
  44. package/dist/nuxt.js +1 -1
  45. package/dist/otp-core-DXg3vFLh.js +758 -0
  46. package/dist/radio-utils-Dk9Tl1jz.js +319 -0
  47. package/dist/rich-text-editor-core-Ddd_QaLn.js +1280 -0
  48. package/dist/select-utils-BgArYHk8.js +2140 -0
  49. package/dist/sidebar-core-CD6txDo3.js +583 -0
  50. package/dist/slider-core-vcWr321-.js +1014 -0
  51. package/dist/src/components/dropdown-table/dropdown-table-core.d.ts +2 -2
  52. package/dist/src/components/dropdown-table/dropdown-table-types.d.ts +1 -1
  53. package/dist/src/components/dropdown-table/index.d.ts +1 -1
  54. package/dist/src/components/dropdown-table/index.shadow.d.ts +1 -1
  55. package/dist/src/components/dropdown-table/mono-data-dropdown.d.ts +1 -1
  56. package/dist/src/components/form/form-types.d.ts +9 -3
  57. package/dist/src/components/input/input-core.d.ts +1 -1
  58. package/dist/src/components/input/input-types.d.ts +1 -1
  59. package/dist/src/components/otp/otp-core.d.ts +1 -1
  60. package/dist/src/components/select/select-core.d.ts +1 -1
  61. package/dist/src/components/select/select-types.d.ts +1 -1
  62. package/dist/src/components/slider/slider-core.d.ts +1 -1
  63. package/dist/src/components/slider/slider-types.d.ts +1 -1
  64. package/dist/src/components/table/filter-suggestion.d.ts +171 -0
  65. package/dist/src/components/table/index.d.ts +5 -4
  66. package/dist/src/components/table/index.shadow.d.ts +5 -4
  67. package/dist/src/components/table/mono-data-grid.d.ts +22 -3
  68. package/dist/src/components/table/mono-table-empty-core.d.ts +37 -0
  69. package/dist/src/components/table/mono-table-search-core.d.ts +22 -3
  70. package/dist/src/components/table/table-types.d.ts +74 -4
  71. package/dist/src/components/tag-input/tag-input-core.d.ts +1 -1
  72. package/dist/src/components/tag-input/tag-input-types.d.ts +1 -1
  73. package/dist/src/components/textarea/textarea-core.d.ts +1 -1
  74. package/dist/src/composables/mono-event.d.ts +7 -1
  75. package/dist/src/entries/index.d.ts +8 -6
  76. package/dist/src/entries/index.node.d.ts +8 -6
  77. package/dist/src/search/index.d.ts +1 -1
  78. package/dist/src/utils/group-count.d.ts +36 -0
  79. package/dist/switch-utils-CTZ4id2V.js +338 -0
  80. package/dist/tabs-core-r5-B8k_N.js +317 -0
  81. package/dist/tag-input-utils-D2JA90DQ.js +3060 -0
  82. package/dist/textarea-utils-VU1KeXm8.js +821 -0
  83. package/dist/ui/accordion.js +2 -274
  84. package/dist/ui/alert.js +2 -131
  85. package/dist/ui/breadcrumb.js +4 -745
  86. package/dist/ui/button-dropdown.js +4 -652
  87. package/dist/ui/button.js +2 -63
  88. package/dist/ui/card.js +2 -310
  89. package/dist/ui/chart.js +4 -800
  90. package/dist/ui/checkbox.js +4 -335
  91. package/dist/ui/chip.js +4 -402
  92. package/dist/ui/date.js +3 -732
  93. package/dist/ui/drawer.js +3 -757
  94. package/dist/ui/dropdown-table.js +5 -1341
  95. package/dist/ui/dropdown.js +4 -509
  96. package/dist/ui/file-upload.js +3 -622
  97. package/dist/ui/filter.js +5 -380
  98. package/dist/ui/form.js +1 -1
  99. package/dist/ui/index.css +118 -1
  100. package/dist/ui/input.js +3 -1141
  101. package/dist/ui/menu.js +4 -828
  102. package/dist/ui/modal.js +4 -843
  103. package/dist/ui/nav.js +4 -223
  104. package/dist/ui/otp.js +4 -756
  105. package/dist/ui/radio.js +4 -317
  106. package/dist/ui/rich-text-editor.js +4 -1278
  107. package/dist/ui/select.js +5 -2138
  108. package/dist/ui/shadow/accordion.js +4 -273
  109. package/dist/ui/shadow/alert.js +4 -130
  110. package/dist/ui/shadow/breadcrumb.js +5 -744
  111. package/dist/ui/shadow/button-dropdown.js +6 -652
  112. package/dist/ui/shadow/button.js +3 -63
  113. package/dist/ui/shadow/card.js +4 -309
  114. package/dist/ui/shadow/chart.js +6 -1576
  115. package/dist/ui/shadow/checkbox.js +4 -334
  116. package/dist/ui/shadow/chip.js +4 -396
  117. package/dist/ui/shadow/date.js +7 -731
  118. package/dist/ui/shadow/drawer.js +4 -756
  119. package/dist/ui/shadow/dropdown-table.js +8 -1762
  120. package/dist/ui/shadow/dropdown.js +4 -508
  121. package/dist/ui/shadow/file-upload.js +4 -620
  122. package/dist/ui/shadow/filter.js +7 -379
  123. package/dist/ui/shadow/input.js +6 -1140
  124. package/dist/ui/shadow/menu.js +5 -828
  125. package/dist/ui/shadow/modal.js +6 -1063
  126. package/dist/ui/shadow/nav.js +5 -223
  127. package/dist/ui/shadow/otp.js +6 -754
  128. package/dist/ui/shadow/radio.js +4 -316
  129. package/dist/ui/shadow/rich-text-editor.js +4 -1276
  130. package/dist/ui/shadow/select.js +6 -2136
  131. package/dist/ui/shadow/sidebar.js +5 -581
  132. package/dist/ui/shadow/slider.js +5 -1010
  133. package/dist/ui/shadow/switch.js +4 -335
  134. package/dist/ui/shadow/table.js +10 -4501
  135. package/dist/ui/shadow/tabs.js +6 -315
  136. package/dist/ui/shadow/tag-input.js +7 -3057
  137. package/dist/ui/shadow/textarea.js +6 -817
  138. package/dist/ui/sidebar.js +3 -581
  139. package/dist/ui/slider.js +4 -1012
  140. package/dist/ui/switch.js +4 -336
  141. package/dist/ui/table.js +9 -4502
  142. package/dist/ui/tabs.js +4 -315
  143. package/dist/ui/tag-input.js +5 -3058
  144. package/dist/ui/textarea.js +4 -819
  145. package/dist/{vite-CivRCJaf.js → vite-CfW7z2wn.js} +21 -14
  146. package/dist/vite.js +1 -1
  147. package/dist/vue.d.ts +3 -2
  148. package/package.json +10 -11
  149. package/dist/chip-strip-bNfLn52Z.js +0 -215
  150. package/dist/data-source-controller-Dx6IQ2CN.js +0 -243
  151. package/dist/data-source-options-BM4r4PRw.js +0 -558
  152. package/dist/data-source-read-HyBCRg1t.js +0 -242
  153. package/dist/excel-BXzr3uI1.js +0 -784
  154. package/dist/export-ixRdCS2y.js +0 -2388
  155. package/dist/field-tooltip-addon-CWCp19mJ.js +0 -702
  156. package/dist/field-tooltip.css_raw-U5UeTa2d.js +0 -269
  157. package/dist/filter-builder-C0T3pMx2.js +0 -208
  158. package/dist/form-control-core-BbiACMtL.js +0 -226
  159. package/dist/icon-ClxnYhBG.js +0 -19
  160. package/dist/import-Dc4eXC02.js +0 -612
  161. package/dist/light-slots-_no0r2Z-.js +0 -246
  162. package/dist/markdown-uGlE_OfJ.js +0 -20191
  163. package/dist/mono-data-grid-e9ZVBlNN.js +0 -4240
  164. package/dist/normalize-error-BmLbgANw.js +0 -1048
@@ -1,383 +1,11 @@
1
- import { _ as buildSizeStyle, a as __decorate, c as defineHybridPropAlias, f as customElement, l as defineHybridPropAliases, n as adoptIconStyles, r as toShadowCss, t as flushSsrHydration } from "../../hydration-flush-BaE9gN3C.js";
2
- import { t as dispatchMonoEvent } from "../../mono-event-BPku9HpS.js";
3
- import { n as detachEventHandlers, t as applyProps } from "../../element-props-xvw0EB7H.js";
4
- import { c as splitMulti, d as OPERATOR_ARITY, l as treeToArray, m as operatorsFor, n as arrayToTree, s as odataStringToArray, t as arrayToODataString, u as DEFAULT_TEXTS } from "../../filter-odata-Bi27XUpQ.js";
5
- import { t as monoFilterBuilder } from "../../filter-builder-B6Y2mmbM.js";
6
- import { LitElement, html, isServer, nothing, unsafeCSS } from "lit";
7
- import { property, state } from "lit/decorators.js";
8
- import { styleMap } from "lit/directives/style-map.js";
1
+ import { d as OPERATOR_ARITY, l as treeToArray, m as operatorsFor, n as arrayToTree, s as odataStringToArray, t as arrayToODataString, u as DEFAULT_TEXTS } from "../../filter-odata-GsczYKNC.js";
2
+ import { t as monoFilterBuilder } from "../../filter-builder-vbqIuPhX.js";
3
+ import { t as customElement } from "../../mono-element-CKcT0rwv.js";
4
+ import { t as __decorate } from "../../decorate-DbYFpi8R.js";
5
+ import { t as MonoFilterBuilderCore } from "../../filter-builder-core-DyWjbBP7.js";
6
+ import { n as adoptIconStyles, r as toShadowCss, t as flushSsrHydration } from "../../hydration-flush-Volt9X7Q.js";
7
+ import { LitElement, html, isServer, unsafeCSS } from "lit";
9
8
 
10
- //#region src/components/filter/filter-builder-core.ts
11
- const GROUP_OPS = [
12
- "and",
13
- "or",
14
- "notAnd",
15
- "notOr"
16
- ];
17
- /**
18
- * `MonoFilterBuilderCore` — render-mode-agnostic logic for `mono-filter-builder`.
19
- *
20
- * Renders the controller's node tree as nested inline rows:
21
- *
22
- * ```
23
- * Match [any ▾] of the following rules:
24
- * | field ▾ | operator ▾ | value | ⑃ | 🗑 |
25
- * ```
26
- *
27
- * Per repo convention it renders **native** `<select>` / `<input>` carrying
28
- * its OWN control classes — no component here embeds another `mono-*`
29
- * element (`mono-table-search` set that precedent), so the controls match the rest
30
- * of the library without a cross-element dependency.
31
- */
32
- const MonoFilterBuilderCore = (superClass) => {
33
- class MonoFilterBuilderCoreClass extends superClass {
34
- constructor(...args) {
35
- super(...args);
36
- this.size = "sm";
37
- this._tick = 0;
38
- this._applyQueued = false;
39
- defineHybridPropAliases(this, [
40
- "dataFilter",
41
- "minWidth",
42
- "maxWidth",
43
- "minHeight",
44
- "maxHeight"
45
- ]);
46
- defineHybridPropAlias(this, "controlFilterBuilder", "dataFilter");
47
- }
48
- connectedCallback() {
49
- super.connectedCallback();
50
- this._subscribe();
51
- }
52
- disconnectedCallback() {
53
- this._off?.();
54
- this._off = void 0;
55
- super.disconnectedCallback();
56
- }
57
- willUpdate(changed) {
58
- if (changed.has("dataFilter")) this._subscribe();
59
- super.willUpdate?.(changed);
60
- }
61
- /**
62
- * Drive the apply from `update()` as well as `_subscribe()` — every render
63
- * reaches here, so a controller that arrives late (or a `setProps` that
64
- * lands between subscriptions) can't be missed. This is the lesson
65
- * `table-controller-core` records: hanging the apply off `_subscribe` alone
66
- * silently skips anything that overrides it.
67
- */
68
- update(changed) {
69
- this._scheduleApplyProps();
70
- super.update(changed);
71
- }
72
- _subscribe() {
73
- if (isServer) return;
74
- this._off?.();
75
- detachEventHandlers(this);
76
- this._off = this.dataFilter?.subscribe(() => {
77
- this._tick += 1;
78
- this._scheduleApplyProps();
79
- this._emitChange();
80
- });
81
- this._scheduleApplyProps();
82
- }
83
- /**
84
- * Deferred + de-duplicated: the apply writes reactive props, and doing that
85
- * inside the update cycle would trip Lit's change-in-update warning.
86
- */
87
- _scheduleApplyProps() {
88
- if (isServer) return;
89
- if (this._applyQueued) return;
90
- if (typeof queueMicrotask !== "function") {
91
- this._applyControllerProps();
92
- return;
93
- }
94
- this._applyQueued = true;
95
- queueMicrotask(() => {
96
- this._applyQueued = false;
97
- this._applyControllerProps();
98
- });
99
- }
100
- /**
101
- * Pull `controlMonoFilterBuilder({ props })` onto this element, so the
102
- * template needs nothing but the controller binding.
103
- *
104
- * The CONTROLLER WINS for keys it declares (matching `monoDataGrid` and
105
- * `monoForm`); keys it doesn't mention are left to whatever the template set.
106
- * `applyProps` supplies the skip-undefined, read-only and equality guards, so
107
- * a sync can neither throw nor schedule another update cycle.
108
- *
109
- * `?.props` is optional-called on purpose: a controller built before this
110
- * option existed simply contributes nothing.
111
- */
112
- _applyControllerProps() {
113
- applyProps(this, this.dataFilter?.props?.());
114
- }
115
- _emitChange() {
116
- const ctrl = this.dataFilter;
117
- if (!ctrl) return;
118
- dispatchMonoEvent(this, "change", {
119
- filter: ctrl.changed(),
120
- array: ctrl.changed({ type: "array" }),
121
- string: ctrl.changed({ type: "string" })
122
- });
123
- }
124
- /** Internal icon — light: UnoCSS classes; shadow: inline SVG. */
125
- renderIcon(_name) {
126
- return html``;
127
- }
128
- get _texts() {
129
- return this.dataFilter?.texts;
130
- }
131
- _dataType(field) {
132
- return this.dataFilter?.fields.find((f) => f.field === field)?.dataType ?? "string";
133
- }
134
- /**
135
- * One `<option>` whose selection is bound as a **property**.
136
- *
137
- * Binding `.value` on the `<select>` instead is unreliable here: an operator
138
- * list changes in the SAME render as the value it should show (picking a number
139
- * field swaps the whole option set), and the assignment lands before the new
140
- * options exist — leaving the browser on a stale `selectedIndex`. Setting
141
- * `.selected` per option moves `selectedIndex` after the options are in place.
142
- */
143
- _option(value, label, current) {
144
- return html`<option value=${value} .selected=${value === current}>${label}</option>`;
145
- }
146
- /**
147
- * The value editor for a rule. Arity decides the shape: `0` disables the cell
148
- * (the blank checks need no operand), `2` renders a from/to pair, `many` takes
149
- * comma-separated entry, and a field with `values` renders a select.
150
- */
151
- _renderValue(rule) {
152
- const t = this._texts;
153
- const arity = OPERATOR_ARITY[rule.operator];
154
- const dt = this._dataType(rule.field);
155
- const def = this.dataFilter?.fields.find((f) => f.field === rule.field);
156
- const nativeType = dt === "number" ? "number" : dt === "date" ? "date" : dt === "datetime" ? "datetime-local" : "text";
157
- const cls = "mono-filter-control mono-filter-value";
158
- if (arity === 0) return html`<input class=${cls} mono-filter-control mono-filter-value disabled placeholder="—" aria-label="No value needed" />`;
159
- if (def?.values?.length) return html`
160
- <select
161
- class=${cls} mono-filter-control mono-filter-value
162
- @change=${(e) => this.dataFilter?.updateRule(rule.id, { value: e.target.value })}
163
- >
164
- ${this._option("", t?.valuePlaceholder ?? "", String(rule.value ?? ""))}
165
- ${def.values.map((v) => this._option(String(v.value), v.label ?? String(v.value), String(rule.value ?? "")))}
166
- </select>
167
- `;
168
- if (dt === "boolean") return html`
169
- <select
170
- class=${cls} mono-filter-control mono-filter-value
171
- @change=${(e) => this.dataFilter?.updateRule(rule.id, { value: e.target.value })}
172
- >
173
- ${this._option("", t?.valuePlaceholder ?? "", String(rule.value ?? ""))}
174
- ${this._option("true", "true", String(rule.value ?? ""))}
175
- ${this._option("false", "false", String(rule.value ?? ""))}
176
- </select>
177
- `;
178
- if (arity === 2) {
179
- const pair = Array.isArray(rule.value) ? rule.value : ["", ""];
180
- const setAt = (idx, v) => {
181
- const next = [pair[0] ?? "", pair[1] ?? ""];
182
- next[idx] = v;
183
- this.dataFilter?.updateRule(rule.id, { value: next });
184
- };
185
- return html`
186
- <span class="mono-filter-range" mono-filter-range>
187
- <input
188
- class=${cls} mono-filter-control mono-filter-value
189
- type=${nativeType}
190
- .value=${String(pair[0] ?? "")}
191
- @input=${(e) => setAt(0, e.target.value)}
192
- />
193
- <input
194
- class=${cls} mono-filter-control mono-filter-value
195
- type=${nativeType}
196
- .value=${String(pair[1] ?? "")}
197
- @input=${(e) => setAt(1, e.target.value)}
198
- />
199
- </span>
200
- `;
201
- }
202
- const shown = Array.isArray(rule.value) ? rule.value.join(", ") : String(rule.value ?? "");
203
- return html`
204
- <input
205
- class=${cls} mono-filter-control mono-filter-value
206
- type=${arity === "many" ? "text" : nativeType}
207
- .value=${shown}
208
- placeholder=${arity === "many" ? t?.multiValuePlaceholder ?? "" : t?.valuePlaceholder ?? ""}
209
- @input=${(e) => {
210
- const raw = e.target.value;
211
- this.dataFilter?.updateRule(rule.id, { value: arity === "many" ? splitMulti(raw) : raw });
212
- }}
213
- />
214
- `;
215
- }
216
- _renderRule(rule) {
217
- const ctrl = this.dataFilter;
218
- const t = this._texts;
219
- const ops = operatorsFor(this._dataType(rule.field));
220
- return html`
221
- <div class="mono-filter-row" mono-filter-row data-rule=${rule.id}>
222
- <select
223
- class="mono-filter-control mono-filter-field" mono-filter-control mono-filter-field
224
- @change=${(e) => ctrl?.updateRule(rule.id, { field: e.target.value })}
225
- >
226
- ${ctrl?.fields.map((f) => this._option(f.field, f.caption ?? f.field, rule.field))}
227
- </select>
228
-
229
- <select
230
- class="mono-filter-control mono-filter-op" mono-filter-control mono-filter-op
231
- @change=${(e) => ctrl?.updateRule(rule.id, { operator: e.target.value })}
232
- >
233
- ${ops.map((op) => this._option(op, t?.[op] ?? op, rule.operator))}
234
- </select>
235
-
236
- <span class="mono-filter-value-cell" mono-filter-value-cell>${this._renderValue(rule)}</span>
237
-
238
- <button
239
- type="button"
240
- class="mono-filter-icon-btn" mono-filter-icon-btn
241
- title=${t?.addNested ?? ""}
242
- aria-label=${t?.addNested ?? ""}
243
- @click=${() => ctrl?.nest(rule.id)}
244
- >
245
- ${this.renderIcon("nested")}
246
- </button>
247
- <button
248
- type="button"
249
- class="mono-filter-icon-btn danger" mono-filter-icon-btn mono-danger
250
- title=${t?.remove ?? ""}
251
- aria-label=${t?.remove ?? ""}
252
- @click=${() => ctrl?.remove(rule.id)}
253
- >
254
- ${this.renderIcon("trash")}
255
- </button>
256
- </div>
257
- `;
258
- }
259
- _renderGroup(group, level) {
260
- const ctrl = this.dataFilter;
261
- const t = this._texts;
262
- const isRoot = level === 0;
263
- return html`
264
- <div class="mono-filter-group" mono-filter-group data-group=${group.id} style=${`--_mono-filter-level:${level}`}>
265
- <div class="mono-filter-group-head" mono-filter-group-head>
266
- <span class="mono-filter-match" mono-filter-match>${t?.matchPrefix}</span>
267
- <select
268
- class="mono-filter-control mono-filter-group-op" mono-filter-control mono-filter-group-op
269
- @change=${(e) => ctrl?.setGroupOperator(group.id, e.target.value)}
270
- >
271
- ${GROUP_OPS.map((op) => this._option(op, t?.[op] ?? op, group.operator))}
272
- </select>
273
- <span class="mono-filter-match" mono-filter-match>${t?.matchSuffix}</span>
274
- ${isRoot ? nothing : html`
275
- <span class="mono-filter-group-actions" mono-filter-group-actions>
276
- <button
277
- type="button"
278
- class="mono-filter-icon-btn" mono-filter-icon-btn
279
- title=${t?.addRule ?? ""}
280
- @click=${() => ctrl?.addRule(group.id)}
281
- >
282
- ${this.renderIcon("plus")}
283
- </button>
284
- <button
285
- type="button"
286
- class="mono-filter-icon-btn danger" mono-filter-icon-btn mono-danger
287
- title=${t?.remove ?? ""}
288
- @click=${() => ctrl?.remove(group.id)}
289
- >
290
- ${this.renderIcon("trash")}
291
- </button>
292
- </span>
293
- `}
294
- </div>
295
-
296
- <div class="mono-filter-children" mono-filter-children>
297
- ${group.children.map((child) => this._renderNode(child, level + 1))}
298
- ${isRoot && !group.children.length ? html`<div class="mono-filter-empty" mono-filter-empty>${t?.emptyHint}</div>` : nothing}
299
- </div>
300
- </div>
301
- `;
302
- }
303
- _renderNode(node, level) {
304
- return node.kind === "group" ? this._renderGroup(node, level) : this._renderRule(node);
305
- }
306
- render() {
307
- const ctrl = this.dataFilter;
308
- if (!ctrl) return html``;
309
- const t = ctrl.texts;
310
- this._tick;
311
- return html`
312
- <div
313
- class="mono-filter ${this.size}"
314
- mono-filter-builder
315
- mono-size=${this.size === "sm" ? nothing : this.size}
316
- style=${styleMap(buildSizeStyle(this))}
317
- >
318
- ${ctrl.actions ? html`
319
- <div class="mono-filter-actions" mono-filter-actions>
320
- <button
321
- type="button"
322
- class="mono-filter-btn primary" mono-filter-btn
323
- @click=${() => dispatchMonoEvent(this, "apply", {
324
- filter: ctrl.changed(),
325
- array: ctrl.changed({ type: "array" }),
326
- string: ctrl.changed({ type: "string" })
327
- })}
328
- >
329
- ${t.apply}
330
- </button>
331
- <button
332
- type="button"
333
- class="mono-filter-btn ghost" mono-filter-btn mono-variant="ghost"
334
- @click=${() => {
335
- ctrl.clear();
336
- dispatchMonoEvent(this, "clear", { filter: null });
337
- }}
338
- >
339
- ${t.clear}
340
- </button>
341
- </div>
342
- ` : nothing}
343
- ${this._renderGroup(ctrl.tree, 0)}
344
- <div class="mono-filter-add" mono-filter-add>
345
- <button type="button" class="mono-filter-link" mono-filter-link @click=${() => ctrl.addRule()}>
346
- ${t.addRule}
347
- </button>
348
- <button type="button" class="mono-filter-link" mono-filter-link @click=${() => ctrl.addGroup()}>
349
- ${t.addGroup}
350
- </button>
351
- </div>
352
- </div>
353
- `;
354
- }
355
- }
356
- __decorate([property({ attribute: false })], MonoFilterBuilderCoreClass.prototype, "dataFilter", void 0);
357
- __decorate([property({ type: String })], MonoFilterBuilderCoreClass.prototype, "size", void 0);
358
- __decorate([property({ type: String })], MonoFilterBuilderCoreClass.prototype, "width", void 0);
359
- __decorate([property({ type: String })], MonoFilterBuilderCoreClass.prototype, "height", void 0);
360
- __decorate([property({
361
- attribute: "min-width",
362
- type: String
363
- })], MonoFilterBuilderCoreClass.prototype, "minWidth", void 0);
364
- __decorate([property({
365
- attribute: "max-width",
366
- type: String
367
- })], MonoFilterBuilderCoreClass.prototype, "maxWidth", void 0);
368
- __decorate([property({
369
- attribute: "min-height",
370
- type: String
371
- })], MonoFilterBuilderCoreClass.prototype, "minHeight", void 0);
372
- __decorate([property({
373
- attribute: "max-height",
374
- type: String
375
- })], MonoFilterBuilderCoreClass.prototype, "maxHeight", void 0);
376
- __decorate([state()], MonoFilterBuilderCoreClass.prototype, "_tick", void 0);
377
- return MonoFilterBuilderCoreClass;
378
- };
379
-
380
- //#endregion
381
9
  //#region \0raw:C:\Users\VCT-DEV\Desktop\libs\packages\helper\src\components\filter\filter.css?raw.js
382
10
  var filter_css_raw_default = "/* =========================================================================\r\n mono-filter-builder — inline OData filter builder, a Basecoat EXTENSION\r\n\r\n Upstream has no filter builder. Every surface here borrows the shape of the\r\n Basecoat control it most resembles — the rule's field / operator / value\r\n controls are `.field > select` and `.input`, Apply is `.btn`, Clear is\r\n `.btn[data-variant='outline']`, the trash and \"add nested\" toggles are\r\n `.btn[data-variant='ghost'][data-size='icon']`, and \"Add rule\" / \"Add group\"\r\n are `.btn[data-variant='link']` — cited where each does.\r\n\r\n The controls are styled HERE rather than by nesting three `<mono-input>`s per\r\n row: that would couple this sheet to another component's PRIVATE resolvers.\r\n They read the input's, select's and button's PUBLIC knobs instead —\r\n `--mono-input-outline-radius`, `--mono-button-<size>-radius`,\r\n `--mono-control-height-<size>` — which is exactly what a flavour writes, so\r\n an `xs` builder matches an `xs` field and maia's pill, sera's square and\r\n lyra's `text-xs` all arrive here by construction. There are no per-flavour\r\n deltas for this component on purpose; there is nothing for them to drift from.\r\n\r\n Styling is by ATTRIBUTE: the root is `[mono-filter-builder]` with `mono-size`\r\n (`sm` is the default and emits nothing), and every part is family-unique\r\n (`[mono-filter-row]`, `[mono-filter-control]`, …) so it needs no scoping and\r\n cannot collide with the table's `[mono-th-filter-*]` / `[mono-search-filter-*]`.\r\n The old classes are still emitted as inert hooks until 2.0.\r\n\r\n Specificity: a part's resting rule is one attribute — (0,1,0) — so a\r\n `cssClass` utility wins by source order; prop and state rules stay heavier.\r\n ========================================================================= */\r\n\r\nmono-filter-builder,\r\nmono-shadow-filter-builder {\r\n display: block;\r\n}\r\n\r\n[mono-filter-builder] {\r\n /* ── ink and surface ────────────────────────────────────────────────────\r\n Public `--mono-filter-*` → private resolvers (the library-wide pattern):\r\n set any of them on the element, inline, or a wrapper — they inherit and\r\n pierce the shadow boundary. */\r\n --_mono-filter-primary: var(--mono-filter-primary, var(--primary));\r\n --_mono-filter-on-primary: var(--mono-filter-on-primary, var(--primary-foreground));\r\n /* the ink of the links and the group operator — upstream's `.btn[data-variant='link']` is `text-primary` */\r\n --_mono-filter-accent: var(--mono-filter-accent, var(--primary));\r\n --_mono-filter-text: var(--mono-filter-text, var(--foreground));\r\n --_mono-filter-muted: var(--mono-filter-muted, var(--muted-foreground));\r\n /* basecoat@1.0.2 styles/vega.css .field > select, select.select — border-input */\r\n --_mono-filter-border: var(--mono-filter-border, var(--input));\r\n /* the guide down a nested group — the page border, not the control edge */\r\n --_mono-filter-guide: var(--mono-filter-guide, var(--border));\r\n /* a control is `bg-transparent` upstream (`dark:bg-input/30` on the dark side) */\r\n --_mono-filter-surface: var(--mono-filter-surface, var(--mono-mode-surface, transparent));\r\n --_mono-filter-ring: var(--mono-filter-ring, var(--ring));\r\n --_mono-filter-danger: var(--mono-filter-danger, var(--destructive));\r\n --_mono-filter-indent: var(--mono-filter-indent, 1.25rem);\r\n\r\n /* ── the size scale — sm on the unqualified root ON PURPOSE ─────────────\r\n basecoat@1.0.2 styles/vega.css .btn[data-size='sm'] — h-8 gap-1 px-2.5 rounded-[min(var(--radius-md),10px)]\r\n The metrics read the SAME public knobs mono-input / mono-select /\r\n mono-button consume, so a flavour that retunes a field retunes these. */\r\n --_mono-filter-height: var(--mono-filter-height-sm, var(--mono-input-height-sm, var(--mono-control-height-sm)));\r\n --_mono-filter-font: var(--mono-filter-font-sm, var(--mono-input-font-sm, var(--mono-input-font-md, var(--mono-text-sm))));\r\n /* outline → the field's own radius → the scale: lyra squares a field through\r\n `--mono-input-radius`, sera and maia through `--mono-input-outline-radius` */\r\n --_mono-filter-radius: var(--mono-filter-radius, var(--mono-input-outline-radius, var(--mono-input-radius, var(--mono-radius-md))));\r\n --_mono-filter-btn-radius: var(--mono-filter-btn-radius-sm, var(--mono-button-sm-radius, var(--mono-radius-md)));\r\n --_mono-filter-icon: var(--mono-filter-icon-sm, 0.875rem);\r\n --_mono-filter-gap: var(--mono-filter-gap, calc(var(--mono-spacing) * 2));\r\n\r\n display: flex;\r\n flex-direction: column;\r\n gap: calc(var(--_mono-filter-gap) * 1.5);\r\n width: 100%;\r\n /* Allow the rules region to shrink/scroll inside a bounded height. */\r\n min-height: 0;\r\n font-family: inherit;\r\n color: var(--_mono-filter-text);\r\n box-sizing: border-box;\r\n}\r\n\r\n[mono-filter-builder][mono-size=\"xs\"] {\r\n --_mono-filter-height: var(--mono-filter-height-xs, var(--mono-input-height-xs, var(--mono-control-height-xs)));\r\n --_mono-filter-font: var(--mono-filter-font-xs, var(--mono-input-font-xs, var(--mono-text-xs)));\r\n --_mono-filter-btn-radius: var(--mono-filter-btn-radius-xs, var(--mono-button-xs-radius, var(--mono-radius-md)));\r\n --_mono-filter-icon: var(--mono-filter-icon-xs, 0.7rem);\r\n}\r\n[mono-filter-builder][mono-size=\"md\"] {\r\n --_mono-filter-height: var(--mono-filter-height-md, var(--mono-input-height-md, var(--mono-control-height-md)));\r\n --_mono-filter-font: var(--mono-filter-font-md, var(--mono-input-font-md, var(--mono-text-sm)));\r\n --_mono-filter-btn-radius: var(--mono-filter-btn-radius-md, var(--mono-button-md-radius, var(--mono-radius-md)));\r\n --_mono-filter-icon: var(--mono-filter-icon-md, 1rem);\r\n}\r\n[mono-filter-builder][mono-size=\"lg\"] {\r\n --_mono-filter-height: var(--mono-filter-height-lg, var(--mono-input-height-lg, var(--mono-control-height-lg)));\r\n --_mono-filter-font: var(--mono-filter-font-lg, var(--mono-input-font-lg, var(--mono-input-font-md, var(--mono-text-sm))));\r\n --_mono-filter-btn-radius: var(--mono-filter-btn-radius-lg, var(--mono-button-lg-radius, var(--mono-radius-md)));\r\n --_mono-filter-icon: var(--mono-filter-icon-lg, 1.125rem);\r\n}\r\n[mono-filter-builder][mono-size=\"xl\"] {\r\n --_mono-filter-height: var(--mono-filter-height-xl, var(--mono-input-height-xl, var(--mono-control-height-xl)));\r\n --_mono-filter-font: var(--mono-filter-font-xl, var(--mono-input-font-xl, var(--mono-input-font-md, var(--mono-text-base))));\r\n --_mono-filter-btn-radius: var(--mono-filter-btn-radius-xl, var(--mono-button-xl-radius, var(--mono-radius-md)));\r\n --_mono-filter-icon: var(--mono-filter-icon-xl, 1.25rem);\r\n}\r\n[mono-filter-builder][mono-size=\"xxl\"] {\r\n --_mono-filter-height: var(--mono-filter-height-xxl, var(--mono-input-height-xxl, var(--mono-control-height-xxl)));\r\n --_mono-filter-font: var(--mono-filter-font-xxl, var(--mono-input-font-xxl, var(--mono-input-font-md, var(--mono-text-base))));\r\n --_mono-filter-btn-radius: var(--mono-filter-btn-radius-xxl, var(--mono-button-xxl-radius, var(--mono-radius-md)));\r\n --_mono-filter-icon: var(--mono-filter-icon-xxl, 1.375rem);\r\n}\r\n\r\n[mono-filter-builder] *,\r\n[mono-filter-builder] *::before,\r\n[mono-filter-builder] *::after {\r\n box-sizing: border-box;\r\n}\r\n\r\n/* ── Scroll layout ─────────────────────────────────────────────────────────\r\n Apply/Clear stay pinned at the top, Add rule/group at the bottom; the ROOT\r\n group is the only scroll region, so a bounded `height` / `max-height` scrolls\r\n JUST the rules. (Nested groups are deeper, so the child combinator skips them.) */\r\n[mono-filter-builder] > [mono-filter-actions],\r\n[mono-filter-builder] > [mono-filter-add] {\r\n flex: 0 0 auto;\r\n}\r\n[mono-filter-builder] > [mono-filter-group] {\r\n flex: 1 1 auto;\r\n min-height: 0;\r\n overflow: auto;\r\n /* Portaled + anchored: a chained scroll would drag this panel off-screen\r\n (see `[mono-th-filter-list]`). */\r\n overscroll-behavior: contain;\r\n padding-right: calc(var(--mono-spacing) * 1);\r\n}\r\n\r\n/* ── Apply / Clear — ABOVE the rules, not below ─────────────────────────── */\r\n[mono-filter-actions] {\r\n display: flex;\r\n align-items: center;\r\n gap: var(--_mono-filter-gap);\r\n}\r\n\r\n/* basecoat@1.0.2 styles/vega.css .btn — inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:ring-3 disabled:opacity-50 */\r\n[mono-filter-btn] {\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding: 0 calc(var(--mono-spacing) * 2.5);\r\n height: var(--_mono-filter-height);\r\n border-radius: var(--_mono-filter-btn-radius);\r\n border: var(--mono-border-width) solid transparent;\r\n font: inherit;\r\n font-size: var(--_mono-filter-font);\r\n font-weight: var(--mono-font-weight-medium);\r\n white-space: nowrap;\r\n cursor: pointer;\r\n transition:\r\n background-color var(--mono-duration-fast, 150ms) ease,\r\n color var(--mono-duration-fast, 150ms) ease,\r\n border-color var(--mono-duration-fast, 150ms) ease;\r\n}\r\n/* basecoat@1.0.2 styles/vega.css .btn:not([data-variant]), .btn[data-variant='primary'] — bg-primary text-primary-foreground hover:bg-primary/90 */\r\n[mono-filter-btn]:not([mono-variant]) {\r\n background: var(--_mono-filter-primary);\r\n color: var(--_mono-filter-on-primary);\r\n}\r\n[mono-filter-btn]:not([mono-variant]):hover {\r\n background: color-mix(in oklab, var(--_mono-filter-primary) 90%, transparent);\r\n}\r\n/* basecoat@1.0.2 styles/vega.css .btn[data-variant='outline'] — border bg-background hover:bg-accent hover:text-accent-foreground */\r\n[mono-filter-btn][mono-variant=\"ghost\"] {\r\n background: var(--background);\r\n border-color: var(--_mono-filter-border);\r\n color: var(--_mono-filter-text);\r\n}\r\n[mono-filter-btn][mono-variant=\"ghost\"]:hover {\r\n background: var(--accent);\r\n color: var(--accent-foreground);\r\n}\r\n[mono-filter-btn]:focus-visible {\r\n outline: none;\r\n box-shadow: 0 0 0 3px color-mix(in oklab, var(--_mono-filter-ring) 50%, transparent);\r\n}\r\n\r\n/* ── Group ──────────────────────────────────────────────────────────────── */\r\n[mono-filter-group] {\r\n display: flex;\r\n flex-direction: column;\r\n gap: var(--_mono-filter-gap);\r\n}\r\n/* Nested groups indent; the root sits flush. */\r\n[mono-filter-children] [mono-filter-group] {\r\n padding-left: var(--_mono-filter-indent);\r\n border-left: var(--mono-border-width) dashed var(--_mono-filter-guide);\r\n}\r\n[mono-filter-group-head] {\r\n display: flex;\r\n align-items: center;\r\n flex-wrap: wrap;\r\n gap: calc(var(--_mono-filter-gap) * 0.75);\r\n font-size: var(--_mono-filter-font);\r\n color: var(--_mono-filter-muted);\r\n}\r\n[mono-filter-match] {\r\n white-space: nowrap;\r\n}\r\n[mono-filter-group-actions] {\r\n display: inline-flex;\r\n gap: calc(var(--mono-spacing) * 0.5);\r\n margin-left: auto;\r\n}\r\n\r\n[mono-filter-children] {\r\n display: flex;\r\n flex-direction: column;\r\n gap: var(--_mono-filter-gap);\r\n}\r\n\r\n/* ── Rule row ───────────────────────────────────────────────────────────── */\r\n[mono-filter-row] {\r\n display: grid;\r\n /* field | operator | value | nested | trash */\r\n grid-template-columns: minmax(8rem, 1.4fr) minmax(8rem, 1.2fr) minmax(8rem, 2fr) auto auto;\r\n align-items: center;\r\n gap: var(--_mono-filter-gap);\r\n}\r\n@media (max-width: 720px) {\r\n [mono-filter-row] {\r\n grid-template-columns: 1fr 1fr auto auto;\r\n }\r\n [mono-filter-value-cell] {\r\n grid-column: 1 / -1;\r\n }\r\n}\r\n\r\n[mono-filter-value-cell],\r\n[mono-filter-range] {\r\n display: flex;\r\n align-items: center;\r\n gap: calc(var(--_mono-filter-gap) * 0.75);\r\n min-width: 0;\r\n}\r\n\r\n/* ── Controls (selects + inputs) ─────────────────────────────────────────── */\r\n/* basecoat@1.0.2 styles/vega.css .field > select, select.select — border-input h-9 rounded-md border bg-transparent py-1 ps-2.5 pe-8 text-sm shadow-xs transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3\r\n The text input is the same box; the flavour's outline knob decides the corner\r\n for both, exactly as it does for `<mono-input>` and `<mono-select>`. */\r\n[mono-filter-control] {\r\n width: 100%;\r\n min-width: 0;\r\n height: var(--_mono-filter-height);\r\n padding: 0 calc(var(--mono-spacing) * 2.5);\r\n border: var(--mono-border-width) solid var(--_mono-filter-border);\r\n border-radius: var(--_mono-filter-radius);\r\n background-color: var(--_mono-filter-surface);\r\n color: var(--_mono-filter-text);\r\n font: inherit;\r\n font-size: var(--_mono-filter-font);\r\n box-shadow: var(--mono-shadow-xs, none);\r\n /* stated in both directions: a host page's preflight (Tailwind, UnoCSS) sets\r\n `appearance: none` on a select and a shadow root escapes it — so without\r\n this the light build lost its caret and the shadow build kept the native\r\n one. Upstream draws its own; so does this. */\r\n appearance: none;\r\n outline: none;\r\n transition:\r\n border-color var(--mono-duration-fast, 150ms) ease,\r\n box-shadow var(--mono-duration-fast, 150ms) ease;\r\n}\r\n[mono-filter-control]:focus,\r\n[mono-filter-control]:focus-visible {\r\n border-color: var(--_mono-filter-ring);\r\n box-shadow: 0 0 0 3px color-mix(in oklab, var(--_mono-filter-ring) 50%, transparent);\r\n outline: none;\r\n}\r\n/* `disabled:opacity-50` */\r\n[mono-filter-control]:disabled {\r\n opacity: 0.5;\r\n cursor: not-allowed;\r\n}\r\n/* `placeholder:text-muted-foreground` — stated, so a host page's own placeholder\r\n colour cannot reach a portaled builder */\r\n[mono-filter-control]::placeholder {\r\n color: var(--_mono-filter-muted);\r\n opacity: 1;\r\n}\r\n[mono-filter-range] > [mono-filter-control] {\r\n min-width: 0;\r\n}\r\n\r\n/* basecoat@1.0.2 styles/vega.css .field > select, select.select — pe-8 bg-[image:var(--chevron-down-icon-50)] bg-no-repeat bg-position-[center_right_0.625rem] bg-size-[1rem]\r\n The caret, drawn the way upstream draws it — the same token the ported\r\n `<mono-select>` paints with, so it sits at the same place in every flavour. */\r\nselect[mono-filter-control] {\r\n padding-right: calc(var(--mono-spacing) * 8);\r\n background-image: var(--chevron-down-icon-50);\r\n background-repeat: no-repeat;\r\n background-position: right calc(var(--mono-spacing) * 2.5) center;\r\n background-size: 1rem;\r\n}\r\n\r\n/* The group operator sits inline in a sentence, so it must NOT grow — otherwise it\r\n pushes the trailing \"of the following rules:\" to the far edge. Otherwise it\r\n is a control like every other: bordered, and at the control HEIGHT rather\r\n than `auto` — a bare select's intrinsic height differs between a page under\r\n a preflight and a shadow root, which put the shadow build's rows 5px higher. */\r\n[mono-filter-group-op] {\r\n flex: 0 0 auto;\r\n width: auto;\r\n min-width: 6rem;\r\n color: var(--_mono-filter-accent);\r\n font-weight: var(--mono-font-weight-semibold);\r\n}\r\n\r\n/* ── Icon buttons ───────────────────────────────────────────────────────── */\r\n/* basecoat@1.0.2 styles/vega.css .btn[data-variant='ghost'] — hover:bg-accent hover:text-accent-foreground */\r\n/* basecoat@1.0.2 styles/vega.css .btn[data-size='icon'] — size-9 */\r\n[mono-filter-icon-btn] {\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n width: var(--_mono-filter-height);\r\n height: var(--_mono-filter-height);\r\n padding: 0;\r\n border: 0;\r\n border-radius: var(--_mono-filter-btn-radius);\r\n background: transparent;\r\n color: var(--_mono-filter-muted);\r\n line-height: 0;\r\n cursor: pointer;\r\n transition:\r\n color var(--mono-duration-fast, 150ms) ease,\r\n background-color var(--mono-duration-fast, 150ms) ease;\r\n}\r\n[mono-filter-icon-btn]:hover,\r\n[mono-filter-icon-btn]:focus-visible {\r\n background: var(--accent);\r\n color: var(--accent-foreground);\r\n outline: none;\r\n}\r\n[mono-filter-icon-btn]:focus-visible {\r\n box-shadow: 0 0 0 3px color-mix(in oklab, var(--_mono-filter-ring) 50%, transparent);\r\n}\r\n[mono-filter-icon-btn][mono-danger]:hover,\r\n[mono-filter-icon-btn][mono-danger]:focus-visible {\r\n color: var(--_mono-filter-danger);\r\n}\r\n[mono-filter-icon-btn] .mono-icon,\r\n[mono-filter-icon-btn] > svg {\r\n width: var(--_mono-filter-icon);\r\n height: var(--_mono-filter-icon);\r\n}\r\n\r\n/* ── Add rule / group links ─────────────────────────────────────────────── */\r\n[mono-filter-add] {\r\n display: flex;\r\n align-items: center;\r\n gap: calc(var(--_mono-filter-gap) * 2);\r\n}\r\n/* basecoat@1.0.2 styles/vega.css .btn[data-variant='link'] — text-primary underline-offset-4 hover:underline */\r\n[mono-filter-link] {\r\n padding: 0;\r\n border: 0;\r\n background: none;\r\n font: inherit;\r\n font-size: var(--_mono-filter-font);\r\n color: var(--_mono-filter-accent);\r\n text-underline-offset: 4px;\r\n cursor: pointer;\r\n}\r\n[mono-filter-link]:hover {\r\n text-decoration: underline;\r\n}\r\n[mono-filter-link]:focus-visible {\r\n outline: none;\r\n border-radius: var(--mono-radius-sm);\r\n box-shadow: 0 0 0 3px color-mix(in oklab, var(--_mono-filter-ring) 50%, transparent);\r\n}\r\n\r\n[mono-filter-empty] {\r\n padding: calc(var(--mono-spacing) * 1) 0;\r\n font-size: var(--_mono-filter-font);\r\n color: var(--_mono-filter-muted);\r\n}\r\n";
383
11