@db-ux/wc-core-components 4.4.0-loading-567cd0c → 4.4.1-floating-components-066d296

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 (165) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +1 -1
  3. package/dist/cjs/db-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/db-badge.cjs.entry.js +1 -1
  5. package/dist/cjs/db-brand.cjs.entry.js +1 -1
  6. package/dist/cjs/db-button.cjs.entry.js +1 -1
  7. package/dist/cjs/db-card.cjs.entry.js +1 -1
  8. package/dist/cjs/db-checkbox.cjs.entry.js +1 -1
  9. package/dist/cjs/{db-custom-select-dropdown_6.cjs.entry.js → db-custom-select-dropdown_5.cjs.entry.js} +3 -255
  10. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
  11. package/dist/cjs/db-custom-select.cjs.entry.js +13 -11
  12. package/dist/cjs/db-divider.cjs.entry.js +2 -2
  13. package/dist/cjs/db-drawer.cjs.entry.js +4 -4
  14. package/dist/cjs/db-header.cjs.entry.js +5 -5
  15. package/dist/cjs/db-icon.cjs.entry.js +2 -2
  16. package/dist/cjs/db-infotext.cjs.entry.js +1 -1
  17. package/dist/cjs/db-link.cjs.entry.js +2 -2
  18. package/dist/cjs/db-navigation-item.cjs.entry.js +4 -4
  19. package/dist/cjs/db-navigation.cjs.entry.js +3 -3
  20. package/dist/cjs/db-notification.cjs.entry.js +3 -3
  21. package/dist/cjs/db-page.cjs.entry.js +3 -3
  22. package/dist/cjs/db-popover.cjs.entry.js +5 -5
  23. package/dist/cjs/db-radio.cjs.entry.js +2 -2
  24. package/dist/cjs/db-section.cjs.entry.js +3 -3
  25. package/dist/cjs/db-select.cjs.entry.js +4 -4
  26. package/dist/cjs/db-stack.cjs.entry.js +3 -3
  27. package/dist/cjs/db-switch.cjs.entry.js +3 -3
  28. package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
  29. package/dist/cjs/db-tabs.cjs.entry.js +3 -3
  30. package/dist/cjs/db-textarea.cjs.entry.js +3 -3
  31. package/dist/cjs/db-tooltip.cjs.entry.js +6 -5
  32. package/dist/cjs/db-ux.cjs.js +3 -3
  33. package/dist/cjs/{floating-components-ogUqz72V.js → floating-components-pYaTeNhp.js} +65 -15
  34. package/dist/cjs/{index-TxzPzc5I.js → index-Bi4QN5oK.js} +22 -50
  35. package/dist/cjs/index.cjs.js +2 -7
  36. package/dist/cjs/loader.cjs.js +2 -2
  37. package/dist/cjs/{navigation-DauGE-qj.js → navigation-BztJmEHf.js} +1 -1
  38. package/dist/collection/collection-manifest.json +1 -2
  39. package/dist/collection/components/custom-select/custom-select.js +17 -15
  40. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  41. package/dist/collection/components/divider/divider.js +1 -1
  42. package/dist/collection/components/drawer/drawer.js +3 -3
  43. package/dist/collection/components/header/header.js +2 -2
  44. package/dist/collection/components/icon/icon.js +1 -1
  45. package/dist/collection/components/link/link.js +1 -1
  46. package/dist/collection/components/navigation/navigation.js +2 -2
  47. package/dist/collection/components/navigation-item/navigation-item.js +1 -1
  48. package/dist/collection/components/notification/notification.js +2 -2
  49. package/dist/collection/components/page/page.js +2 -2
  50. package/dist/collection/components/popover/popover.js +3 -3
  51. package/dist/collection/components/radio/radio.js +1 -1
  52. package/dist/collection/components/section/section.js +2 -2
  53. package/dist/collection/components/select/select.js +3 -3
  54. package/dist/collection/components/stack/stack.js +2 -2
  55. package/dist/collection/components/switch/switch.js +2 -2
  56. package/dist/collection/components/tab-item/tab-item.js +2 -2
  57. package/dist/collection/components/tab-list/tab-list.js +2 -2
  58. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  59. package/dist/collection/components/tabs/tabs.js +2 -2
  60. package/dist/collection/components/tag/tag.js +2 -2
  61. package/dist/collection/components/textarea/textarea.js +2 -2
  62. package/dist/collection/components/tooltip/tooltip.js +4 -3
  63. package/dist/collection/index.js +0 -2
  64. package/dist/collection/utils/floating-components.js +65 -15
  65. package/dist/custom-elements.json +568 -2119
  66. package/dist/db-ux/db-ux.esm.js +1 -1
  67. package/dist/db-ux/index.esm.js +1 -1
  68. package/dist/db-ux/p-05XnVETo.js +2 -0
  69. package/dist/db-ux/p-09f188aa.entry.js +1 -0
  70. package/dist/db-ux/{p-f64ab366.entry.js → p-146365b4.entry.js} +1 -1
  71. package/dist/db-ux/p-1975c375.entry.js +1 -0
  72. package/dist/db-ux/{p-4b4916fb.entry.js → p-19c9285e.entry.js} +1 -1
  73. package/dist/db-ux/{p-fd4f5fac.entry.js → p-1ae2420e.entry.js} +1 -1
  74. package/dist/db-ux/p-1e76ee94.entry.js +1 -0
  75. package/dist/db-ux/p-2c0bd1d8.entry.js +1 -0
  76. package/dist/db-ux/{p-a95f6c84.entry.js → p-32fcf516.entry.js} +1 -1
  77. package/dist/db-ux/p-349276ca.entry.js +1 -0
  78. package/dist/db-ux/p-36f93663.entry.js +1 -0
  79. package/dist/db-ux/{p-4bda74c9.entry.js → p-47b821f7.entry.js} +1 -1
  80. package/dist/db-ux/p-5549d866.entry.js +1 -0
  81. package/dist/db-ux/{p-30ceac5f.entry.js → p-56984c5d.entry.js} +1 -1
  82. package/dist/db-ux/p-5b87a881.entry.js +1 -0
  83. package/dist/db-ux/{p-1bbe8d13.entry.js → p-5e8b2167.entry.js} +1 -1
  84. package/dist/db-ux/{p-642484ca.entry.js → p-5e8d052f.entry.js} +1 -1
  85. package/dist/db-ux/p-77840cb4.entry.js +1 -0
  86. package/dist/db-ux/{p-ada8a2ac.entry.js → p-8a0ca84b.entry.js} +1 -1
  87. package/dist/db-ux/{p-66e24856.entry.js → p-8d37aa19.entry.js} +1 -1
  88. package/dist/db-ux/{p-3aba68af.entry.js → p-8fb51989.entry.js} +1 -1
  89. package/dist/db-ux/p-90380da4.entry.js +1 -0
  90. package/dist/db-ux/{p-919ff123.entry.js → p-93506fdb.entry.js} +1 -1
  91. package/dist/db-ux/p-981d05c0.entry.js +1 -0
  92. package/dist/db-ux/p-DfYL98sI.js +1 -0
  93. package/dist/db-ux/{p-2a1481e9.entry.js → p-ba4084e8.entry.js} +1 -1
  94. package/dist/db-ux/{p-sP2NlPcu.js → p-cNk4ImpW.js} +1 -1
  95. package/dist/db-ux/{p-f3cc7450.entry.js → p-ced0df76.entry.js} +1 -1
  96. package/dist/db-ux/{p-34862d35.entry.js → p-cede20c2.entry.js} +1 -1
  97. package/dist/db-ux/{p-46b4ed7f.entry.js → p-d1974cb0.entry.js} +1 -1
  98. package/dist/db-ux/{p-0a073f5e.entry.js → p-d2fd9838.entry.js} +1 -1
  99. package/dist/db-ux/{p-8e63e73c.entry.js → p-ec270b7d.entry.js} +1 -1
  100. package/dist/db-ux/{p-8931bdc6.entry.js → p-f80474a6.entry.js} +1 -1
  101. package/dist/esm/db-accordion-item.entry.js +1 -1
  102. package/dist/esm/db-accordion.entry.js +1 -1
  103. package/dist/esm/db-badge.entry.js +1 -1
  104. package/dist/esm/db-brand.entry.js +1 -1
  105. package/dist/esm/db-button.entry.js +1 -1
  106. package/dist/esm/db-card.entry.js +1 -1
  107. package/dist/esm/db-checkbox.entry.js +1 -1
  108. package/dist/esm/{db-custom-select-dropdown_6.entry.js → db-custom-select-dropdown_5.entry.js} +5 -256
  109. package/dist/esm/db-custom-select-form-field.entry.js +3 -3
  110. package/dist/esm/db-custom-select.entry.js +13 -11
  111. package/dist/esm/db-divider.entry.js +2 -2
  112. package/dist/esm/db-drawer.entry.js +4 -4
  113. package/dist/esm/db-header.entry.js +5 -5
  114. package/dist/esm/db-icon.entry.js +2 -2
  115. package/dist/esm/db-infotext.entry.js +1 -1
  116. package/dist/esm/db-link.entry.js +2 -2
  117. package/dist/esm/db-navigation-item.entry.js +4 -4
  118. package/dist/esm/db-navigation.entry.js +3 -3
  119. package/dist/esm/db-notification.entry.js +3 -3
  120. package/dist/esm/db-page.entry.js +3 -3
  121. package/dist/esm/db-popover.entry.js +5 -5
  122. package/dist/esm/db-radio.entry.js +2 -2
  123. package/dist/esm/db-section.entry.js +3 -3
  124. package/dist/esm/db-select.entry.js +4 -4
  125. package/dist/esm/db-stack.entry.js +3 -3
  126. package/dist/esm/db-switch.entry.js +3 -3
  127. package/dist/esm/db-tab-item_3.entry.js +7 -7
  128. package/dist/esm/db-tabs.entry.js +3 -3
  129. package/dist/esm/db-textarea.entry.js +3 -3
  130. package/dist/esm/db-tooltip.entry.js +6 -5
  131. package/dist/esm/db-ux.js +4 -4
  132. package/dist/esm/{floating-components-G-TursYV.js → floating-components-DfYL98sI.js} +65 -15
  133. package/dist/esm/{index-B6-lLNGQ.js → index-05XnVETo.js} +22 -50
  134. package/dist/esm/index.js +3 -6
  135. package/dist/esm/loader.js +3 -3
  136. package/dist/esm/{navigation--UdC9CzO.js → navigation-DgsMCdfn.js} +1 -1
  137. package/dist/types/components/custom-select/custom-select.d.ts +1 -1
  138. package/dist/types/components.d.ts +582 -159
  139. package/dist/types/index.d.ts +0 -2
  140. package/dist/types/shared/model.d.ts +4 -6
  141. package/dist/types/stencil-public-runtime.d.ts +24 -1
  142. package/dist/vscode.html-custom-data.json +8 -158
  143. package/dist/web-types.json +31 -276
  144. package/package.json +4 -4
  145. package/dist/collection/components/loading-indicator/examples/_indicators.data.js +0 -91
  146. package/dist/collection/components/loading-indicator/index.js +0 -2
  147. package/dist/collection/components/loading-indicator/loading-indicator.js +0 -713
  148. package/dist/collection/components/loading-indicator/model.js +0 -2
  149. package/dist/db-ux/p-19def2d3.entry.js +0 -1
  150. package/dist/db-ux/p-5c55381c.entry.js +0 -1
  151. package/dist/db-ux/p-69ebe202.entry.js +0 -1
  152. package/dist/db-ux/p-78fd1504.entry.js +0 -1
  153. package/dist/db-ux/p-7c0621ef.entry.js +0 -1
  154. package/dist/db-ux/p-8ff8418d.entry.js +0 -1
  155. package/dist/db-ux/p-B6-lLNGQ.js +0 -2
  156. package/dist/db-ux/p-G-TursYV.js +0 -1
  157. package/dist/db-ux/p-a01a5c4a.entry.js +0 -1
  158. package/dist/db-ux/p-b05bc567.entry.js +0 -1
  159. package/dist/db-ux/p-c1825fa6.entry.js +0 -1
  160. package/dist/db-ux/p-e847596c.entry.js +0 -1
  161. package/dist/db-ux/p-f71548d2.entry.js +0 -1
  162. package/dist/types/components/loading-indicator/examples/_indicators.data.d.ts +0 -49
  163. package/dist/types/components/loading-indicator/index.d.ts +0 -2
  164. package/dist/types/components/loading-indicator/loading-indicator.d.ts +0 -56
  165. package/dist/types/components/loading-indicator/model.d.ts +0 -39
@@ -1,713 +0,0 @@
1
- import { DEFAULT_ID } from "../../shared/constants";
2
- import { cls, delay as delayFn, getBooleanAsString, uuid } from "../../utils";
3
- import { h, } from "@stencil/core";
4
- /**
5
- * @slot children - This is a default/unnamed slot
6
-
7
- */
8
- export class DBLoadingIndicator {
9
- constructor() {
10
- this.autoDisable = true;
11
- this.indeterminate = true;
12
- this.size = "medium";
13
- this.variant = "inline";
14
- this._id = DEFAULT_ID;
15
- this._loadingState = "inactive";
16
- this._previousLoadingState = undefined;
17
- this._style = {};
18
- this.initialized = false;
19
- }
20
- getPercentage() {
21
- if (this.indeterminate || !this.value || !this.max) {
22
- return;
23
- }
24
- return `${(Number(this.value) / Number(this.max)).toFixed(2)}`;
25
- }
26
- getRole() {
27
- if (this.role) {
28
- if (this.role === "none") {
29
- return;
30
- }
31
- return this.role;
32
- }
33
- return "status";
34
- }
35
- handleParentDisabled() {
36
- if (this._ref && this.autoDisable && this.initialized) {
37
- let parent = this._ref.parentElement;
38
- if (parent && parent.localName === "db-loading-indicator") {
39
- parent = parent.parentElement;
40
- }
41
- if (parent && "disabled" in parent) {
42
- parent.disabled = this._loadingState !== "inactive";
43
- }
44
- }
45
- }
46
- handleParentAria(remove) {
47
- if (this._ref && this._id && this.initialized) {
48
- let parent = this._ref.parentElement;
49
- if (parent && parent.localName === "db-loading-indicator") {
50
- parent = parent.parentElement;
51
- }
52
- if (!parent)
53
- return;
54
- const isButton = (parent === null || parent === void 0 ? void 0 : parent.localName) === "button";
55
- if (!(isButton || this.overlay))
56
- return;
57
- const ariaAttribute = isButton ? "aria-labelledby" : "aria-describedby";
58
- const ariaLabelledBy = parent.getAttribute(ariaAttribute);
59
- let labelledByElements = ariaLabelledBy ? ariaLabelledBy.split(",") : [];
60
- if (remove || this._loadingState === "inactive") {
61
- if (labelledByElements.includes(this._id)) {
62
- labelledByElements = labelledByElements.filter((elementId) => elementId !== this._id);
63
- if (!isButton) {
64
- parent.ariaBusy = null;
65
- }
66
- }
67
- else {
68
- return;
69
- }
70
- }
71
- else {
72
- if (!labelledByElements.includes(this._id)) {
73
- labelledByElements.push(this._id);
74
- }
75
- if (!isButton) {
76
- parent.ariaBusy = this._loadingState === "active" ? "true" : null;
77
- }
78
- }
79
- if (labelledByElements.length) {
80
- parent.setAttribute(ariaAttribute, labelledByElements.join(","));
81
- }
82
- else {
83
- parent.removeAttribute(ariaAttribute);
84
- }
85
- }
86
- }
87
- /**
88
- * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
89
- * @param element the ref for the component
90
- * @param customElementSelector the custom element like `my-component`
91
- */
92
- enableAttributePassing(element, customElementSelector) {
93
- const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
94
- if (element && parent) {
95
- const attributes = parent.attributes;
96
- for (let i = 0; i < attributes.length; i++) {
97
- const attr = attributes.item(i);
98
- if (attr &&
99
- (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
100
- element.setAttribute(attr.name, attr.value);
101
- parent.removeAttribute(attr.name);
102
- }
103
- if (attr && attr.name === "class") {
104
- const isWebComponent = attr.value.includes("hydrated");
105
- const value = attr.value.replace("hydrated", "").trim();
106
- const currentClass = element.getAttribute("class");
107
- element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
108
- if (isWebComponent) {
109
- // Stencil is using this class for lazy loading component
110
- parent.setAttribute("class", "hydrated");
111
- }
112
- else {
113
- parent.removeAttribute(attr.name);
114
- }
115
- }
116
- }
117
- }
118
- }
119
- watch0Fn() {
120
- this.handleParentDisabled();
121
- }
122
- watch0() {
123
- this.watch0Fn();
124
- }
125
- watch1Fn() {
126
- this.handleParentAria(false);
127
- }
128
- watch1() {
129
- this.watch1Fn();
130
- }
131
- watch2Fn() {
132
- if (this.timeout) {
133
- // Not merged if as workaround for angular
134
- if (this._loadingState !== "inactive" &&
135
- this._loadingState !== this._previousLoadingState) {
136
- this._previousLoadingState = this._loadingState;
137
- void delayFn(() => {
138
- if (this.timeout) {
139
- this.timeout.emit(this._loadingState);
140
- }
141
- }, this._loadingState === "active" ? 5000 : 2000);
142
- }
143
- }
144
- }
145
- watch2() {
146
- this.watch2Fn();
147
- }
148
- watch3Fn() {
149
- if (this._loadingState === this.state)
150
- return;
151
- if (this.state) {
152
- this._loadingState = this.state;
153
- }
154
- else if (this.indeterminate === undefined || this.indeterminate) {
155
- this._loadingState = "active";
156
- }
157
- else {
158
- this._loadingState = "inactive";
159
- }
160
- }
161
- watch3() {
162
- this.watch3Fn();
163
- }
164
- watch4Fn() {
165
- if (this._ref) {
166
- if (this.delay === "slow" || this.delay === "fast") {
167
- void delayFn(() => {
168
- if (this._ref) {
169
- this._ref.dataset["delay"] = "";
170
- }
171
- }, this.delay === "slow" ? 500 : 250);
172
- }
173
- }
174
- }
175
- watch4() {
176
- this.watch4Fn();
177
- }
178
- watch5Fn() {
179
- this._style = {
180
- "--db-loading-indicator-percentage": this.getPercentage(),
181
- };
182
- }
183
- watch5() {
184
- this.watch5Fn();
185
- }
186
- componentDidLoad() {
187
- this.enableAttributePassing(this._ref, "db-loading-indicator");
188
- this._id = this.id || "loading-indicator-" + uuid();
189
- this.initialized = true;
190
- this.watch0Fn();
191
- this.watch1Fn();
192
- this.watch2Fn();
193
- this.watch3Fn();
194
- this.watch4Fn();
195
- this.watch5Fn();
196
- }
197
- disconnectedCallback() {
198
- this.handleParentAria(true);
199
- this.handleParentDisabled();
200
- }
201
- render() {
202
- var _a, _b;
203
- return (h("div", { key: '4467fd7c9ebec6fe699995183b870ea08fa60ba7', class: cls("db-loading-indicator", this.className), ref: (el) => {
204
- this._ref = el;
205
- }, style: this._style, "data-indeterminate": getBooleanAsString(this.indeterminate), "data-size": this.size, "data-variant": this.variant, "data-delay": this.delay, "data-state": this._loadingState, "data-overlay": getBooleanAsString(this.overlay) }, this.variant !== "progress-bar" ? (h("svg", { class: "db-loading-indicator-circle", "aria-hidden": "true", viewBox: this.variant === "inline" ? "10 10 20 20" : "32 32 64 64" }, h("circle", { class: "db-loading-indicator-circle-track" }), h("circle", { class: "db-loading-indicator-circle-segment" }))) : null, h("div", { key: '7ea9f9fd64f1b7d073ca7917a4e8eb905eb344f0', role: this.getRole() }, h("label", { key: 'de7fd82a1e14e459735cf596f18104722965e7f2', "data-show-label": getBooleanAsString(this.showLabel), id: this._id }, this.label ? this.label : h("slot", null), h("progress", { key: 'd2abf58f6595675e873056610e1bec18bf4dff85', value: this.indeterminate ? undefined : (_a = this.value) !== null && _a !== void 0 ? _a : 0, max: this.indeterminate ? undefined : (_b = this.max) !== null && _b !== void 0 ? _b : 100 }, this.indeterminate ? undefined : this.progressText)), !this.indeterminate ? (h("span", { "aria-hidden": "true", "data-show-progress-text": getBooleanAsString(this.showProgressText) }, this.progressText)) : null)));
206
- }
207
- static get is() { return "db-loading-indicator"; }
208
- static get properties() {
209
- return {
210
- "id": {
211
- "type": "string",
212
- "mutable": false,
213
- "complexType": {
214
- "original": "DBLoadingIndicatorProps[\"id\"]",
215
- "resolved": "string",
216
- "references": {
217
- "DBLoadingIndicatorProps": {
218
- "location": "import",
219
- "path": "./model",
220
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
221
- "referenceLocation": "DBLoadingIndicatorProps"
222
- }
223
- }
224
- },
225
- "required": false,
226
- "optional": false,
227
- "docs": {
228
- "tags": [],
229
- "text": ""
230
- },
231
- "getter": false,
232
- "setter": false,
233
- "reflect": false,
234
- "attribute": "id"
235
- },
236
- "autoDisable": {
237
- "type": "any",
238
- "mutable": false,
239
- "complexType": {
240
- "original": "DBLoadingIndicatorProps[\"autoDisable\"]",
241
- "resolved": "boolean | string",
242
- "references": {
243
- "DBLoadingIndicatorProps": {
244
- "location": "import",
245
- "path": "./model",
246
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
247
- "referenceLocation": "DBLoadingIndicatorProps"
248
- }
249
- }
250
- },
251
- "required": false,
252
- "optional": false,
253
- "docs": {
254
- "tags": [],
255
- "text": ""
256
- },
257
- "getter": false,
258
- "setter": false,
259
- "reflect": false,
260
- "attribute": "auto-disable",
261
- "defaultValue": "true"
262
- },
263
- "overlay": {
264
- "type": "any",
265
- "mutable": false,
266
- "complexType": {
267
- "original": "DBLoadingIndicatorProps[\"overlay\"]",
268
- "resolved": "boolean | string",
269
- "references": {
270
- "DBLoadingIndicatorProps": {
271
- "location": "import",
272
- "path": "./model",
273
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
274
- "referenceLocation": "DBLoadingIndicatorProps"
275
- }
276
- }
277
- },
278
- "required": false,
279
- "optional": false,
280
- "docs": {
281
- "tags": [],
282
- "text": ""
283
- },
284
- "getter": false,
285
- "setter": false,
286
- "reflect": false,
287
- "attribute": "overlay"
288
- },
289
- "state": {
290
- "type": "string",
291
- "mutable": false,
292
- "complexType": {
293
- "original": "DBLoadingIndicatorProps[\"state\"]",
294
- "resolved": "string",
295
- "references": {
296
- "DBLoadingIndicatorProps": {
297
- "location": "import",
298
- "path": "./model",
299
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
300
- "referenceLocation": "DBLoadingIndicatorProps"
301
- }
302
- }
303
- },
304
- "required": false,
305
- "optional": false,
306
- "docs": {
307
- "tags": [],
308
- "text": ""
309
- },
310
- "getter": false,
311
- "setter": false,
312
- "reflect": false,
313
- "attribute": "state"
314
- },
315
- "indeterminate": {
316
- "type": "any",
317
- "mutable": false,
318
- "complexType": {
319
- "original": "DBLoadingIndicatorProps[\"indeterminate\"]",
320
- "resolved": "boolean | string",
321
- "references": {
322
- "DBLoadingIndicatorProps": {
323
- "location": "import",
324
- "path": "./model",
325
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
326
- "referenceLocation": "DBLoadingIndicatorProps"
327
- }
328
- }
329
- },
330
- "required": false,
331
- "optional": false,
332
- "docs": {
333
- "tags": [],
334
- "text": ""
335
- },
336
- "getter": false,
337
- "setter": false,
338
- "reflect": false,
339
- "attribute": "indeterminate",
340
- "defaultValue": "true"
341
- },
342
- "delay": {
343
- "type": "string",
344
- "mutable": false,
345
- "complexType": {
346
- "original": "DBLoadingIndicatorProps[\"delay\"]",
347
- "resolved": "\"fast\" | \"none\" | \"slow\"",
348
- "references": {
349
- "DBLoadingIndicatorProps": {
350
- "location": "import",
351
- "path": "./model",
352
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
353
- "referenceLocation": "DBLoadingIndicatorProps"
354
- }
355
- }
356
- },
357
- "required": false,
358
- "optional": false,
359
- "docs": {
360
- "tags": [],
361
- "text": ""
362
- },
363
- "getter": false,
364
- "setter": false,
365
- "reflect": false,
366
- "attribute": "delay"
367
- },
368
- "value": {
369
- "type": "any",
370
- "mutable": false,
371
- "complexType": {
372
- "original": "DBLoadingIndicatorProps[\"value\"]",
373
- "resolved": "number | string",
374
- "references": {
375
- "DBLoadingIndicatorProps": {
376
- "location": "import",
377
- "path": "./model",
378
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
379
- "referenceLocation": "DBLoadingIndicatorProps"
380
- }
381
- }
382
- },
383
- "required": false,
384
- "optional": false,
385
- "docs": {
386
- "tags": [],
387
- "text": ""
388
- },
389
- "getter": false,
390
- "setter": false,
391
- "reflect": false,
392
- "attribute": "value"
393
- },
394
- "max": {
395
- "type": "any",
396
- "mutable": false,
397
- "complexType": {
398
- "original": "DBLoadingIndicatorProps[\"max\"]",
399
- "resolved": "number | string",
400
- "references": {
401
- "DBLoadingIndicatorProps": {
402
- "location": "import",
403
- "path": "./model",
404
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
405
- "referenceLocation": "DBLoadingIndicatorProps"
406
- }
407
- }
408
- },
409
- "required": false,
410
- "optional": false,
411
- "docs": {
412
- "tags": [],
413
- "text": ""
414
- },
415
- "getter": false,
416
- "setter": false,
417
- "reflect": false,
418
- "attribute": "max"
419
- },
420
- "role": {
421
- "type": "string",
422
- "mutable": false,
423
- "complexType": {
424
- "original": "DBLoadingIndicatorProps[\"role\"]",
425
- "resolved": "\"alert\" | \"none\" | \"status\"",
426
- "references": {
427
- "DBLoadingIndicatorProps": {
428
- "location": "import",
429
- "path": "./model",
430
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
431
- "referenceLocation": "DBLoadingIndicatorProps"
432
- }
433
- }
434
- },
435
- "required": false,
436
- "optional": false,
437
- "docs": {
438
- "tags": [],
439
- "text": ""
440
- },
441
- "getter": false,
442
- "setter": false,
443
- "reflect": false,
444
- "attribute": "role"
445
- },
446
- "className": {
447
- "type": "string",
448
- "mutable": false,
449
- "complexType": {
450
- "original": "DBLoadingIndicatorProps[\"className\"]",
451
- "resolved": "string",
452
- "references": {
453
- "DBLoadingIndicatorProps": {
454
- "location": "import",
455
- "path": "./model",
456
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
457
- "referenceLocation": "DBLoadingIndicatorProps"
458
- }
459
- }
460
- },
461
- "required": false,
462
- "optional": false,
463
- "docs": {
464
- "tags": [],
465
- "text": ""
466
- },
467
- "getter": false,
468
- "setter": false,
469
- "reflect": false,
470
- "attribute": "classname"
471
- },
472
- "size": {
473
- "type": "string",
474
- "mutable": false,
475
- "complexType": {
476
- "original": "DBLoadingIndicatorProps[\"size\"]",
477
- "resolved": "\"medium\" | \"small\"",
478
- "references": {
479
- "DBLoadingIndicatorProps": {
480
- "location": "import",
481
- "path": "./model",
482
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
483
- "referenceLocation": "DBLoadingIndicatorProps"
484
- }
485
- }
486
- },
487
- "required": false,
488
- "optional": false,
489
- "docs": {
490
- "tags": [],
491
- "text": ""
492
- },
493
- "getter": false,
494
- "setter": false,
495
- "reflect": false,
496
- "attribute": "size",
497
- "defaultValue": "\"medium\""
498
- },
499
- "variant": {
500
- "type": "string",
501
- "mutable": false,
502
- "complexType": {
503
- "original": "DBLoadingIndicatorProps[\"variant\"]",
504
- "resolved": "\"inline\" | \"onsite\" | \"progress-bar\"",
505
- "references": {
506
- "DBLoadingIndicatorProps": {
507
- "location": "import",
508
- "path": "./model",
509
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
510
- "referenceLocation": "DBLoadingIndicatorProps"
511
- }
512
- }
513
- },
514
- "required": false,
515
- "optional": false,
516
- "docs": {
517
- "tags": [],
518
- "text": ""
519
- },
520
- "getter": false,
521
- "setter": false,
522
- "reflect": false,
523
- "attribute": "variant",
524
- "defaultValue": "\"inline\""
525
- },
526
- "showLabel": {
527
- "type": "any",
528
- "mutable": false,
529
- "complexType": {
530
- "original": "DBLoadingIndicatorProps[\"showLabel\"]",
531
- "resolved": "boolean | string",
532
- "references": {
533
- "DBLoadingIndicatorProps": {
534
- "location": "import",
535
- "path": "./model",
536
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
537
- "referenceLocation": "DBLoadingIndicatorProps"
538
- }
539
- }
540
- },
541
- "required": false,
542
- "optional": false,
543
- "docs": {
544
- "tags": [],
545
- "text": ""
546
- },
547
- "getter": false,
548
- "setter": false,
549
- "reflect": false,
550
- "attribute": "show-label"
551
- },
552
- "label": {
553
- "type": "string",
554
- "mutable": false,
555
- "complexType": {
556
- "original": "DBLoadingIndicatorProps[\"label\"]",
557
- "resolved": "string",
558
- "references": {
559
- "DBLoadingIndicatorProps": {
560
- "location": "import",
561
- "path": "./model",
562
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
563
- "referenceLocation": "DBLoadingIndicatorProps"
564
- }
565
- }
566
- },
567
- "required": false,
568
- "optional": false,
569
- "docs": {
570
- "tags": [],
571
- "text": ""
572
- },
573
- "getter": false,
574
- "setter": false,
575
- "reflect": false,
576
- "attribute": "label"
577
- },
578
- "progressText": {
579
- "type": "string",
580
- "mutable": false,
581
- "complexType": {
582
- "original": "DBLoadingIndicatorProps[\"progressText\"]",
583
- "resolved": "string",
584
- "references": {
585
- "DBLoadingIndicatorProps": {
586
- "location": "import",
587
- "path": "./model",
588
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
589
- "referenceLocation": "DBLoadingIndicatorProps"
590
- }
591
- }
592
- },
593
- "required": false,
594
- "optional": false,
595
- "docs": {
596
- "tags": [],
597
- "text": ""
598
- },
599
- "getter": false,
600
- "setter": false,
601
- "reflect": false,
602
- "attribute": "progress-text"
603
- },
604
- "showProgressText": {
605
- "type": "any",
606
- "mutable": false,
607
- "complexType": {
608
- "original": "DBLoadingIndicatorProps[\"showProgressText\"]",
609
- "resolved": "boolean | string",
610
- "references": {
611
- "DBLoadingIndicatorProps": {
612
- "location": "import",
613
- "path": "./model",
614
- "id": "src/components/loading-indicator/model.ts::DBLoadingIndicatorProps",
615
- "referenceLocation": "DBLoadingIndicatorProps"
616
- }
617
- }
618
- },
619
- "required": false,
620
- "optional": false,
621
- "docs": {
622
- "tags": [],
623
- "text": ""
624
- },
625
- "getter": false,
626
- "setter": false,
627
- "reflect": false,
628
- "attribute": "show-progress-text"
629
- }
630
- };
631
- }
632
- static get states() {
633
- return {
634
- "_id": {},
635
- "_loadingState": {},
636
- "_previousLoadingState": {},
637
- "_style": {},
638
- "initialized": {}
639
- };
640
- }
641
- static get events() {
642
- return [{
643
- "method": "timeout",
644
- "name": "timeout",
645
- "bubbles": true,
646
- "cancelable": true,
647
- "composed": true,
648
- "docs": {
649
- "tags": [],
650
- "text": ""
651
- },
652
- "complexType": {
653
- "original": "any",
654
- "resolved": "any",
655
- "references": {}
656
- }
657
- }];
658
- }
659
- static get watchers() {
660
- return [{
661
- "propName": "_ref",
662
- "methodName": "watch0"
663
- }, {
664
- "propName": "initialized",
665
- "methodName": "watch0"
666
- }, {
667
- "propName": "autoDisable",
668
- "methodName": "watch0"
669
- }, {
670
- "propName": "_loadingState",
671
- "methodName": "watch0"
672
- }, {
673
- "propName": "_ref",
674
- "methodName": "watch1"
675
- }, {
676
- "propName": "initialized",
677
- "methodName": "watch1"
678
- }, {
679
- "propName": "_loadingState",
680
- "methodName": "watch1"
681
- }, {
682
- "propName": "overlay",
683
- "methodName": "watch1"
684
- }, {
685
- "propName": "_id",
686
- "methodName": "watch1"
687
- }, {
688
- "propName": "_loadingState",
689
- "methodName": "watch2"
690
- }, {
691
- "propName": "timeout",
692
- "methodName": "watch2"
693
- }, {
694
- "propName": "state",
695
- "methodName": "watch3"
696
- }, {
697
- "propName": "_ref",
698
- "methodName": "watch4"
699
- }, {
700
- "propName": "delay",
701
- "methodName": "watch4"
702
- }, {
703
- "propName": "indeterminate",
704
- "methodName": "watch5"
705
- }, {
706
- "propName": "value",
707
- "methodName": "watch5"
708
- }, {
709
- "propName": "max",
710
- "methodName": "watch5"
711
- }];
712
- }
713
- }