wj-elements 0.1.146 → 0.1.148
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/packages/utils/permissions-api.d.ts +2 -2
- package/dist/packages/wje-accordion/accordion.element.d.ts +2 -2
- package/dist/packages/wje-accordion/accordion.test.d.ts +0 -0
- package/dist/packages/wje-accordion-item/accordion-item.element.d.ts +1 -1
- package/dist/packages/wje-animation/animation.element.d.ts +1 -1
- package/dist/packages/wje-aside/aside.element.d.ts +1 -1
- package/dist/packages/wje-avatar/avatar.element.d.ts +8 -2
- package/dist/packages/wje-badge/badge.element.d.ts +1 -1
- package/dist/packages/wje-breadcrumb/breadcrumb.element.d.ts +2 -2
- package/dist/packages/wje-breadcrumbs/breadcrumbs.element.d.ts +3 -3
- package/dist/packages/wje-button/button.element.d.ts +5 -5
- package/dist/packages/wje-button-group/button-group.element.d.ts +2 -2
- package/dist/packages/wje-card/card.element.d.ts +1 -1
- package/dist/packages/wje-card-content/card-content.element.d.ts +1 -1
- package/dist/packages/wje-card-controls/card-controls.element.d.ts +1 -1
- package/dist/packages/wje-card-header/card-header.element.d.ts +1 -1
- package/dist/packages/wje-card-subtitle/card-subtitle.element.d.ts +1 -1
- package/dist/packages/wje-card-title/card-title.element.d.ts +1 -1
- package/dist/packages/wje-carousel/carousel.element.d.ts +2 -2
- package/dist/packages/wje-color-picker/color-picker.element.d.ts +4 -4
- package/dist/packages/wje-color-picker/color-picker.test.d.ts +1 -0
- package/dist/packages/wje-container/container.element.d.ts +1 -1
- package/dist/packages/wje-dialog/dialog.element.d.ts +2 -2
- package/dist/packages/wje-dropdown/dropdown.element.d.ts +2 -2
- package/dist/packages/wje-element/element.d.ts +2 -2
- package/dist/packages/wje-file-upload/file-upload.element.d.ts +2 -2
- package/dist/packages/wje-file-upload-item/file-upload-item.element.d.ts +1 -1
- package/dist/packages/wje-footer/footer.element.d.ts +1 -1
- package/dist/packages/wje-format-digital/format-digital.element.d.ts +1 -1
- package/dist/packages/wje-header/header.element.d.ts +1 -1
- package/dist/packages/wje-icon/icon.element.d.ts +1 -1
- package/dist/packages/wje-icon-picker/icon-picker.element.d.ts +1 -1
- package/dist/packages/wje-img/img.element.d.ts +25 -5
- package/dist/packages/wje-img-comparer/img-comparer.element.d.ts +1 -1
- package/dist/packages/wje-infinite-scroll/infinite-scroll.element.d.ts +3 -3
- package/dist/packages/wje-input-file/input-file.element.d.ts +1 -1
- package/dist/packages/wje-item/item.element.d.ts +1 -1
- package/dist/packages/wje-kanban/kanban.element.d.ts +3 -3
- package/dist/packages/wje-label/label.element.d.ts +1 -1
- package/dist/packages/wje-level-indicator/level-indicator.element.d.ts +2 -2
- package/dist/packages/wje-main/main.element.d.ts +1 -1
- package/dist/packages/wje-menu/menu.element.d.ts +1 -1
- package/dist/packages/wje-menu-button/menu-button.element.d.ts +1 -1
- package/dist/packages/wje-menu-label/menu-label.element.d.ts +1 -1
- package/dist/packages/wje-option/option.element.d.ts +1 -1
- package/dist/packages/wje-options/options.element.d.ts +1 -1
- package/dist/packages/wje-pagination/pagination.element.d.ts +5 -5
- package/dist/packages/wje-popup/popup.element.d.ts +1 -1
- package/dist/packages/wje-progress-bar/progress-bar.element.d.ts +1 -1
- package/dist/packages/wje-radio/radio.element.d.ts +1 -1
- package/dist/packages/wje-rate/rate.element.d.ts +3 -3
- package/dist/packages/wje-relative-time/relative-time.element.d.ts +1 -1
- package/dist/packages/wje-reorder/reorder.element.d.ts +1 -1
- package/dist/packages/wje-route/route.element.d.ts +1 -1
- package/dist/packages/wje-router/router.element.d.ts +1 -1
- package/dist/packages/wje-router-link/router-link.element.d.ts +1 -1
- package/dist/packages/wje-select/select.element.d.ts +2 -2
- package/dist/packages/wje-slider/slider.element.d.ts +1 -1
- package/dist/packages/wje-split-view/split-view.element.d.ts +1 -1
- package/dist/packages/wje-textarea/textarea.element.d.ts +1 -1
- package/dist/packages/wje-tree-item/tree-item.element.d.ts +2 -2
- package/dist/wje-avatar.js +8 -0
- package/dist/wje-avatar.js.map +1 -1
- package/dist/wje-element.js +1 -0
- package/dist/wje-element.js.map +1 -1
- package/dist/wje-img.js +36 -4
- package/dist/wje-img.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,12 +4,12 @@ export class WjePermissionsApi {
|
|
|
4
4
|
* Sets the permission key.
|
|
5
5
|
* @param value
|
|
6
6
|
*/
|
|
7
|
-
static set permissionKey(value: any
|
|
7
|
+
static set permissionKey(value: any);
|
|
8
8
|
/**
|
|
9
9
|
* Returns the permission key.
|
|
10
10
|
* @returns {*|string}
|
|
11
11
|
*/
|
|
12
|
-
static get permissionKey(): any
|
|
12
|
+
static get permissionKey(): any;
|
|
13
13
|
/**
|
|
14
14
|
* Sets the permissions.
|
|
15
15
|
* @param value
|
|
@@ -17,7 +17,7 @@ export default class Accordion extends WJElement {
|
|
|
17
17
|
* Getter for the CSS stylesheet.
|
|
18
18
|
* @returns {object} The styles for the Accordion element.
|
|
19
19
|
*/
|
|
20
|
-
static get cssStyleSheet():
|
|
20
|
+
static get cssStyleSheet(): any;
|
|
21
21
|
/**
|
|
22
22
|
* Getter for the observed attributes.
|
|
23
23
|
* @returns {Array} An array containing the name of the observed attribute.
|
|
@@ -39,7 +39,7 @@ export default class Accordion extends WJElement {
|
|
|
39
39
|
* Sets the value of the `index` attribute.
|
|
40
40
|
* @param {number|string} value The value to set for the `index` attribute.
|
|
41
41
|
*/
|
|
42
|
-
set index(value: number
|
|
42
|
+
set index(value: number);
|
|
43
43
|
/**
|
|
44
44
|
* Retrieves the value of the `index` attribute as a number.
|
|
45
45
|
* @returns {number} The numerical value of the `index` attribute, or `0` if the attribute is not set.
|
|
File without changes
|
|
@@ -12,7 +12,7 @@ export default class AccordionItem extends WJElement {
|
|
|
12
12
|
* Getter for the CSS stylesheet.
|
|
13
13
|
* @returns {object} The styles for the Accordion Item element.
|
|
14
14
|
*/
|
|
15
|
-
static get cssStyleSheet():
|
|
15
|
+
static get cssStyleSheet(): any;
|
|
16
16
|
/**
|
|
17
17
|
* Getter for the observed attributes.
|
|
18
18
|
* @returns {Array} An array containing the name of the observed attribute.
|
|
@@ -13,7 +13,7 @@ export default class Animation extends WJElement {
|
|
|
13
13
|
* Getter for the CSS stylesheet.
|
|
14
14
|
* @returns {object} The styles for the Animation element.
|
|
15
15
|
*/
|
|
16
|
-
static get cssStyleSheet():
|
|
16
|
+
static get cssStyleSheet(): any;
|
|
17
17
|
/**
|
|
18
18
|
* Getter for the observed attributes.
|
|
19
19
|
* @returns {Array} An array containing the name of the observed attribute.
|
|
@@ -17,7 +17,7 @@ export default class Aside extends WJElement {
|
|
|
17
17
|
* Getter for the CSS stylesheet.
|
|
18
18
|
* @returns {object} The styles for the Aside element.
|
|
19
19
|
*/
|
|
20
|
-
static get cssStyleSheet():
|
|
20
|
+
static get cssStyleSheet(): any;
|
|
21
21
|
/**
|
|
22
22
|
* Getter for the observed attributes.
|
|
23
23
|
* @returns {Array} An empty array as there are no observed attributes.
|
|
@@ -24,6 +24,12 @@ export default class Avatar extends WJElement {
|
|
|
24
24
|
* @returns {string} styles
|
|
25
25
|
*/
|
|
26
26
|
static get cssStyleSheet(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the list of attributes to observe for changes.
|
|
29
|
+
* @static
|
|
30
|
+
* @returns {Array<string>}
|
|
31
|
+
*/
|
|
32
|
+
static get observedAttributes(): string[];
|
|
27
33
|
/**
|
|
28
34
|
* Sets the value of the 'label' attribute for the element.
|
|
29
35
|
* @param {string} value The new value to be set for the 'label' attribute.
|
|
@@ -40,7 +46,7 @@ export default class Avatar extends WJElement {
|
|
|
40
46
|
* the 'initials' attribute with the provided value.
|
|
41
47
|
* @param {string} value The value to be set as the initials.
|
|
42
48
|
*/
|
|
43
|
-
set initials(value:
|
|
49
|
+
set initials(value: boolean);
|
|
44
50
|
/**
|
|
45
51
|
* Retrieves the value of the 'initials' attribute if it exists.
|
|
46
52
|
* @returns {boolean} Returns true if the 'initials' attribute is present, otherwise false.
|
|
@@ -50,7 +56,7 @@ export default class Avatar extends WJElement {
|
|
|
50
56
|
* Sets the size attribute for the element.
|
|
51
57
|
* @param {string | number} value The value to set for the size attribute.
|
|
52
58
|
*/
|
|
53
|
-
set size(value: string
|
|
59
|
+
set size(value: string);
|
|
54
60
|
/**
|
|
55
61
|
* Retrieves the size attribute of the element. If the size attribute
|
|
56
62
|
* is not defined, it returns the default value 'medium'.
|
|
@@ -26,7 +26,7 @@ export default class Badge extends WJElement {
|
|
|
26
26
|
* return ['color'];
|
|
27
27
|
* }
|
|
28
28
|
*/
|
|
29
|
-
static get observedAttributes():
|
|
29
|
+
static get observedAttributes(): string[];
|
|
30
30
|
/**
|
|
31
31
|
* Creates the DOM structure for the Badge element.
|
|
32
32
|
* @returns {DocumentFragment} A document fragment containing the Badge's structure.
|
|
@@ -20,13 +20,13 @@ export default class Breadcrumb extends WJElement {
|
|
|
20
20
|
* @static
|
|
21
21
|
* @returns {object} styles - The CSS styles
|
|
22
22
|
*/
|
|
23
|
-
static get cssStyleSheet():
|
|
23
|
+
static get cssStyleSheet(): any;
|
|
24
24
|
/**
|
|
25
25
|
* Get observed attributes for the Breadcrumb element.
|
|
26
26
|
* @static
|
|
27
27
|
* @returns {Array<string>} - The observed attributes array for the Breadcrumb element.
|
|
28
28
|
*/
|
|
29
|
-
static get observedAttributes():
|
|
29
|
+
static get observedAttributes(): string[];
|
|
30
30
|
_showSeparator: boolean;
|
|
31
31
|
showCollapsedIndicator: boolean;
|
|
32
32
|
/**
|
|
@@ -28,13 +28,13 @@ export default class Breadcrumbs extends WJElement {
|
|
|
28
28
|
* @static
|
|
29
29
|
* @returns {object} styles - The CSS styles
|
|
30
30
|
*/
|
|
31
|
-
static get cssStyleSheet():
|
|
31
|
+
static get cssStyleSheet(): any;
|
|
32
32
|
/**
|
|
33
33
|
* Get observed attributes for the Breadcrumb element.
|
|
34
34
|
* @static
|
|
35
35
|
* @returns {Array<string>} - The observed attributes array for the Breadcrumb element.
|
|
36
36
|
*/
|
|
37
|
-
static get observedAttributes():
|
|
37
|
+
static get observedAttributes(): string[];
|
|
38
38
|
/**
|
|
39
39
|
* Last breadcrumb flag
|
|
40
40
|
* @type {boolean}
|
|
@@ -54,7 +54,7 @@ export default class Breadcrumbs extends WJElement {
|
|
|
54
54
|
* Get items before collapse attribute.
|
|
55
55
|
* @param {string} value
|
|
56
56
|
*/
|
|
57
|
-
set maxItems(value:
|
|
57
|
+
set maxItems(value: number);
|
|
58
58
|
/**
|
|
59
59
|
* Get items before collapse attribute.
|
|
60
60
|
* @returns {number}
|
|
@@ -33,7 +33,7 @@ export default class Button extends WJElement {
|
|
|
33
33
|
* @static
|
|
34
34
|
* @returns {Array<string>} observedAttributes - The observed attributes array for the Button element.
|
|
35
35
|
*/
|
|
36
|
-
static get observedAttributes():
|
|
36
|
+
static get observedAttributes(): string[];
|
|
37
37
|
/**
|
|
38
38
|
* @summary A static property that indicates whether the custom element is form-associated or not.
|
|
39
39
|
* Form-associated custom elements are elements that can participate in form submission.
|
|
@@ -50,12 +50,12 @@ export default class Button extends WJElement {
|
|
|
50
50
|
* Properties of the element Button.
|
|
51
51
|
* @param value
|
|
52
52
|
*/
|
|
53
|
-
set color(value: string
|
|
53
|
+
set color(value: string);
|
|
54
54
|
/**
|
|
55
55
|
* Get color of the Button element.
|
|
56
56
|
* @returns {string|string}
|
|
57
57
|
*/
|
|
58
|
-
get color(): string
|
|
58
|
+
get color(): string;
|
|
59
59
|
/**
|
|
60
60
|
* Set variant of the Button element.
|
|
61
61
|
* @param value
|
|
@@ -80,12 +80,12 @@ export default class Button extends WJElement {
|
|
|
80
80
|
* Set variant of the Button element.
|
|
81
81
|
* @param value
|
|
82
82
|
*/
|
|
83
|
-
set dialog(value:
|
|
83
|
+
set dialog(value: any);
|
|
84
84
|
/**
|
|
85
85
|
* Get variant of the Button element.
|
|
86
86
|
* @returns {string|object}
|
|
87
87
|
*/
|
|
88
|
-
get dialog():
|
|
88
|
+
get dialog(): any;
|
|
89
89
|
/**
|
|
90
90
|
* Set active state of the Button element.
|
|
91
91
|
* @param {boolean} value The value to set
|
|
@@ -13,13 +13,13 @@ export default class ButtonGroup extends WJElement {
|
|
|
13
13
|
* @static
|
|
14
14
|
* @returns {object} styles - The CSS styles
|
|
15
15
|
*/
|
|
16
|
-
static get cssStyleSheet():
|
|
16
|
+
static get cssStyleSheet(): any;
|
|
17
17
|
/**
|
|
18
18
|
* Get observed attributes for the ButtonGroup element.
|
|
19
19
|
* @static
|
|
20
20
|
* @returns {Array<string>} observedAttributes - The observed attributes array
|
|
21
21
|
*/
|
|
22
|
-
static get observedAttributes():
|
|
22
|
+
static get observedAttributes(): string[];
|
|
23
23
|
/**
|
|
24
24
|
* Draw method for the ButtonGroup element.
|
|
25
25
|
* @returns {object} fragment - The document fragment
|
|
@@ -17,7 +17,7 @@ export default class Card extends WJElement {
|
|
|
17
17
|
* @static
|
|
18
18
|
* @returns {object} styles - The CSS styles
|
|
19
19
|
*/
|
|
20
|
-
static get cssStyleSheet():
|
|
20
|
+
static get cssStyleSheet(): any;
|
|
21
21
|
/**
|
|
22
22
|
* Draw method for the Card element.
|
|
23
23
|
* @param {object} context The context object
|
|
@@ -13,7 +13,7 @@ export default class CardContent extends WJElement {
|
|
|
13
13
|
* @static
|
|
14
14
|
* @returns {object} styles - The CSS styles for the CardContent element.
|
|
15
15
|
*/
|
|
16
|
-
static get cssStyleSheet():
|
|
16
|
+
static get cssStyleSheet(): any;
|
|
17
17
|
/**
|
|
18
18
|
* Draw method for the CardContent element.
|
|
19
19
|
* @returns {object} fragment - The document fragment containing the drawn element.
|
|
@@ -14,7 +14,7 @@ export default class CardControls extends WJElement {
|
|
|
14
14
|
* @static
|
|
15
15
|
* @returns {object} styles - The CSS styles
|
|
16
16
|
*/
|
|
17
|
-
static get cssStyleSheet():
|
|
17
|
+
static get cssStyleSheet(): any;
|
|
18
18
|
/**
|
|
19
19
|
* Draw method for the CardControls element.
|
|
20
20
|
* @returns {object} fragment - The document fragment
|
|
@@ -13,7 +13,7 @@ export default class CardHeader extends WJElement {
|
|
|
13
13
|
* @returns {object} The styles object.
|
|
14
14
|
* @static
|
|
15
15
|
*/
|
|
16
|
-
static get cssStyleSheet():
|
|
16
|
+
static get cssStyleSheet(): any;
|
|
17
17
|
/**
|
|
18
18
|
* Draws the CardHeader.
|
|
19
19
|
* @returns {DocumentFragment} The created document fragment.
|
|
@@ -15,7 +15,7 @@ export default class CardSubtitle extends WJElement {
|
|
|
15
15
|
* @returns {object} The styles object.
|
|
16
16
|
* @static
|
|
17
17
|
*/
|
|
18
|
-
static get cssStyleSheet():
|
|
18
|
+
static get cssStyleSheet(): any;
|
|
19
19
|
/**
|
|
20
20
|
* Getter for the observed attributes.
|
|
21
21
|
* @returns {Array} An empty array.
|
|
@@ -17,7 +17,7 @@ export default class CardTitle extends WJElement {
|
|
|
17
17
|
* @returns {object} The styles object.
|
|
18
18
|
* @static
|
|
19
19
|
*/
|
|
20
|
-
static get cssStyleSheet():
|
|
20
|
+
static get cssStyleSheet(): any;
|
|
21
21
|
/**
|
|
22
22
|
* Getter for the observed attributes.
|
|
23
23
|
* @returns {Array} An empty array.
|
|
@@ -23,12 +23,12 @@ export default class Carousel extends WJElement {
|
|
|
23
23
|
* Active slide attribute.
|
|
24
24
|
* @param value
|
|
25
25
|
*/
|
|
26
|
-
set activeSlide(value: number
|
|
26
|
+
set activeSlide(value: number);
|
|
27
27
|
/**
|
|
28
28
|
* Active slide attribute.
|
|
29
29
|
* @returns {number|number}
|
|
30
30
|
*/
|
|
31
|
-
get activeSlide(): number
|
|
31
|
+
get activeSlide(): number;
|
|
32
32
|
/**
|
|
33
33
|
* Pagination attribute.
|
|
34
34
|
* @returns {boolean}
|
|
@@ -27,7 +27,7 @@ export default class ColorPicker extends WJElement {
|
|
|
27
27
|
* @returns {object} The styles object.
|
|
28
28
|
* @static
|
|
29
29
|
*/
|
|
30
|
-
static get cssStyleSheet():
|
|
30
|
+
static get cssStyleSheet(): any;
|
|
31
31
|
/**
|
|
32
32
|
* Getter for the observed attributes.
|
|
33
33
|
* @returns {Array} An empty array.
|
|
@@ -50,17 +50,17 @@ export default class ColorPicker extends WJElement {
|
|
|
50
50
|
* Setter for the marker position.
|
|
51
51
|
* @param {object} value The new marker position.
|
|
52
52
|
*/
|
|
53
|
-
set markerPosition(value:
|
|
53
|
+
set markerPosition(value: any);
|
|
54
54
|
/**
|
|
55
55
|
* Getter for the marker position.
|
|
56
56
|
* @returns {object} The current marker position.
|
|
57
57
|
*/
|
|
58
|
-
get markerPosition():
|
|
58
|
+
get markerPosition(): any;
|
|
59
59
|
/**
|
|
60
60
|
* Setter for the color swatches.
|
|
61
61
|
* @param {string} value The new color swatches.
|
|
62
62
|
*/
|
|
63
|
-
set swatches(value:
|
|
63
|
+
set swatches(value: any[]);
|
|
64
64
|
/**
|
|
65
65
|
* Getter for the color swatches.
|
|
66
66
|
* @returns {Array} The current color swatches.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -16,7 +16,7 @@ export default class Container extends WJElement {
|
|
|
16
16
|
* @returns {object} The styles object.
|
|
17
17
|
* @static
|
|
18
18
|
*/
|
|
19
|
-
static get cssStyleSheet():
|
|
19
|
+
static get cssStyleSheet(): any;
|
|
20
20
|
/**
|
|
21
21
|
* Getter for the observed attributes.
|
|
22
22
|
* @returns {Array} An empty array.
|
|
@@ -35,12 +35,12 @@ export default class Dialog extends WJElement {
|
|
|
35
35
|
* Sets the headline of the dialog.
|
|
36
36
|
* @param value
|
|
37
37
|
*/
|
|
38
|
-
set placement(value: string
|
|
38
|
+
set placement(value: string);
|
|
39
39
|
/**
|
|
40
40
|
* Gets the headline of the dialog.
|
|
41
41
|
* @returns {string|string}
|
|
42
42
|
*/
|
|
43
|
-
get placement(): string
|
|
43
|
+
get placement(): string;
|
|
44
44
|
/**
|
|
45
45
|
* Sets the headline of the dialog.
|
|
46
46
|
* @param value
|
|
@@ -30,12 +30,12 @@ export default class Dropdown extends WJElement {
|
|
|
30
30
|
* Sets the placement of the dropdown.
|
|
31
31
|
* @param value
|
|
32
32
|
*/
|
|
33
|
-
set trigger(value: string
|
|
33
|
+
set trigger(value: string);
|
|
34
34
|
/**
|
|
35
35
|
* Gets the placement of the dropdown.
|
|
36
36
|
* @returns {string|string}
|
|
37
37
|
*/
|
|
38
|
-
get trigger(): string
|
|
38
|
+
get trigger(): string;
|
|
39
39
|
/**
|
|
40
40
|
* Callback function to handle other dropdowns being opened. Close the dropdown if it is not the target and collapse is enabled.
|
|
41
41
|
* @param {Event} e The event object.
|
|
@@ -88,12 +88,12 @@ export default class WJElement extends HTMLElement {
|
|
|
88
88
|
* Gets the rendering context, either the shadow root or the component itself.
|
|
89
89
|
* @returns The rendering context.
|
|
90
90
|
*/
|
|
91
|
-
get context():
|
|
91
|
+
get context(): any;
|
|
92
92
|
/**
|
|
93
93
|
* Gets the store instance.
|
|
94
94
|
* @returns {object} The store instance.
|
|
95
95
|
*/
|
|
96
|
-
get store():
|
|
96
|
+
get store(): any;
|
|
97
97
|
/**
|
|
98
98
|
* @typedef {object} ArrayActions
|
|
99
99
|
* @property {Function} addAction - Adds an item to the array.
|
|
@@ -83,12 +83,12 @@ export default class FileUpload extends WJElement {
|
|
|
83
83
|
* Sets the autoProcessFiles attribute.
|
|
84
84
|
* @param value
|
|
85
85
|
*/
|
|
86
|
-
set autoProcessFiles(value: any
|
|
86
|
+
set autoProcessFiles(value: any);
|
|
87
87
|
/**
|
|
88
88
|
* Gets the autoProcessFiles attribute.
|
|
89
89
|
* @returns {any|boolean}
|
|
90
90
|
*/
|
|
91
|
-
get autoProcessFiles(): any
|
|
91
|
+
get autoProcessFiles(): any;
|
|
92
92
|
/**
|
|
93
93
|
* Sets the noUploadButton attribute.
|
|
94
94
|
* @param value
|
|
@@ -29,7 +29,7 @@ export default class FileUploadItem extends WJElement {
|
|
|
29
29
|
* @static
|
|
30
30
|
* @returns {Array<string>}
|
|
31
31
|
*/
|
|
32
|
-
static get observedAttributes():
|
|
32
|
+
static get observedAttributes(): string[];
|
|
33
33
|
localizer: Localizer;
|
|
34
34
|
set size(value: string);
|
|
35
35
|
get size(): string;
|
|
@@ -34,7 +34,7 @@ export default class FormatDigital extends WJElement {
|
|
|
34
34
|
* @static
|
|
35
35
|
* @returns {Array<string>} - The attributes to observe.
|
|
36
36
|
*/
|
|
37
|
-
static get observedAttributes():
|
|
37
|
+
static get observedAttributes(): string[];
|
|
38
38
|
localizer: Localizer;
|
|
39
39
|
/**
|
|
40
40
|
* Sets the value of the digital format.
|
|
@@ -22,7 +22,7 @@ export default class Icon extends WJElement {
|
|
|
22
22
|
* @static
|
|
23
23
|
* @returns {Array<string>}
|
|
24
24
|
*/
|
|
25
|
-
static get observedAttributes():
|
|
25
|
+
static get observedAttributes(): string[];
|
|
26
26
|
/**
|
|
27
27
|
* Draws the component.
|
|
28
28
|
* @param {object} context The context for drawing.
|
|
@@ -36,7 +36,7 @@ export default class IconPicker extends WJElement {
|
|
|
36
36
|
* @static
|
|
37
37
|
* @returns {Array<string>}
|
|
38
38
|
*/
|
|
39
|
-
static get observedAttributes():
|
|
39
|
+
static get observedAttributes(): string[];
|
|
40
40
|
/**
|
|
41
41
|
* Dependencies of the IconPicker component.
|
|
42
42
|
* @property {object} dependencies
|
|
@@ -24,23 +24,43 @@ export default class Img extends WJElement {
|
|
|
24
24
|
* @static
|
|
25
25
|
* @returns {Array<string>}
|
|
26
26
|
*/
|
|
27
|
-
static get observedAttributes():
|
|
27
|
+
static get observedAttributes(): string[];
|
|
28
28
|
_fallout: boolean;
|
|
29
29
|
actions: {
|
|
30
30
|
delete: () => void;
|
|
31
31
|
log: () => void;
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* Sets the value of the `src` attribute for the element.
|
|
35
|
+
* @param {string} value The value to set for the `src` attribute.
|
|
36
|
+
*/
|
|
37
|
+
set src(value: string);
|
|
38
|
+
/**
|
|
39
|
+
* Retrieves the value of the 'src' attribute from the element.
|
|
40
|
+
* @returns {string} The value of the 'src' attribute.
|
|
41
|
+
*/
|
|
42
|
+
get src(): string;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the value of the 'alt' attribute for the element.
|
|
45
|
+
* @param {string} value The new value to set for the 'alt' attribute.
|
|
46
|
+
*/
|
|
47
|
+
set alt(value: string);
|
|
48
|
+
/**
|
|
49
|
+
* Retrieves the value of the 'alt' attribute for the current element.
|
|
50
|
+
* @returns {string|null} The value of the 'alt' attribute, or null if the attribute is not set.
|
|
51
|
+
*/
|
|
52
|
+
get alt(): string;
|
|
33
53
|
/**
|
|
34
54
|
* Sets the fallout property. Updates the `fallout` attribute if the value is a string;
|
|
35
55
|
* otherwise, assigns the value to the `_fallout` property.
|
|
36
56
|
* @param {string|*} value The value to set for the fallout property. If a string, it will update the `fallout` attribute; for other types, it will assign it to the `_fallout` property.
|
|
37
57
|
*/
|
|
38
|
-
set fallout(value: string
|
|
58
|
+
set fallout(value: string);
|
|
39
59
|
/**
|
|
40
60
|
* Retrieves the value of the 'fallout' attribute if it exists, otherwise returns the internal `_fallout` property.
|
|
41
61
|
* @returns {string|null} The value of the 'fallout' attribute or the `_fallout` property if the attribute is not present. Returns null if no value is found.
|
|
42
62
|
*/
|
|
43
|
-
get fallout(): string
|
|
63
|
+
get fallout(): string;
|
|
44
64
|
/**
|
|
45
65
|
* Sets the value of the loader attribute.
|
|
46
66
|
* @param {string} value The value to set for the loader attribute.
|
|
@@ -50,7 +70,7 @@ export default class Img extends WJElement {
|
|
|
50
70
|
* Retrieves the value of the 'loader' attribute from the element.
|
|
51
71
|
* @returns {string|null} The value of the 'loader' attribute if set, otherwise null.
|
|
52
72
|
*/
|
|
53
|
-
get loader(): string
|
|
73
|
+
get loader(): string;
|
|
54
74
|
/**
|
|
55
75
|
* Creates and assembles a lazy-loaded image element within a document fragment.
|
|
56
76
|
* @returns {DocumentFragment} A document fragment containing the image element.
|
|
@@ -93,5 +113,5 @@ export default class Img extends WJElement {
|
|
|
93
113
|
* @function onerrorFunc
|
|
94
114
|
* @memberof Img
|
|
95
115
|
*/
|
|
96
|
-
onerrorFunc: () => void;
|
|
116
|
+
onerrorFunc: (img: any) => void;
|
|
97
117
|
}
|
|
@@ -29,7 +29,7 @@ export default class ImgComparer extends WJElement {
|
|
|
29
29
|
* @static
|
|
30
30
|
* @returns {Array<string>}
|
|
31
31
|
*/
|
|
32
|
-
static get observedAttributes():
|
|
32
|
+
static get observedAttributes(): string[];
|
|
33
33
|
/**
|
|
34
34
|
* Dependencies of the ImgComparer component.
|
|
35
35
|
* @property {object} dependencies
|
|
@@ -25,7 +25,7 @@ export default class InfiniteScroll extends WJElement {
|
|
|
25
25
|
* @static
|
|
26
26
|
* @returns {Array<string>}
|
|
27
27
|
*/
|
|
28
|
-
static get observedAttributes():
|
|
28
|
+
static get observedAttributes(): string[];
|
|
29
29
|
totalPages: number;
|
|
30
30
|
isLoading: any[];
|
|
31
31
|
_response: {};
|
|
@@ -47,12 +47,12 @@ export default class InfiniteScroll extends WJElement {
|
|
|
47
47
|
* Dependencies of the InfiniteScroll component.
|
|
48
48
|
* @param value
|
|
49
49
|
*/
|
|
50
|
-
set response(value: any
|
|
50
|
+
set response(value: any);
|
|
51
51
|
/**
|
|
52
52
|
* Getter for the response property.
|
|
53
53
|
* @returns {*|{}}
|
|
54
54
|
*/
|
|
55
|
-
get response(): any
|
|
55
|
+
get response(): any;
|
|
56
56
|
/**
|
|
57
57
|
* Dependencies of the InfiniteScroll component.
|
|
58
58
|
* @param value
|
|
@@ -24,7 +24,7 @@ export default class Kanban extends WJElement {
|
|
|
24
24
|
* @static
|
|
25
25
|
* @returns {Array<string>}
|
|
26
26
|
*/
|
|
27
|
-
static get observedAttributes():
|
|
27
|
+
static get observedAttributes(): string[];
|
|
28
28
|
totalPages: number;
|
|
29
29
|
isLoading: any[];
|
|
30
30
|
_response: {};
|
|
@@ -41,12 +41,12 @@ export default class Kanban extends WJElement {
|
|
|
41
41
|
* Sets the URL for fetching data.
|
|
42
42
|
* @param value {string}
|
|
43
43
|
*/
|
|
44
|
-
set response(value:
|
|
44
|
+
set response(value: any);
|
|
45
45
|
/**
|
|
46
46
|
* Gets the URL for fetching data.
|
|
47
47
|
* @returns {*|{}|{}}
|
|
48
48
|
*/
|
|
49
|
-
get response(): any
|
|
49
|
+
get response(): any;
|
|
50
50
|
/**
|
|
51
51
|
* Sets the URL for fetching data.
|
|
52
52
|
* @param value {array}
|
|
@@ -20,7 +20,7 @@ export default class LevelIndicator extends WJElement {
|
|
|
20
20
|
* Sets the level attribute for an instance.
|
|
21
21
|
* @param {string} value The value to set for the 'level' attribute.
|
|
22
22
|
*/
|
|
23
|
-
set level(value:
|
|
23
|
+
set level(value: number);
|
|
24
24
|
/**
|
|
25
25
|
* Retrieves the level attribute of an element, with validation to ensure
|
|
26
26
|
* it is within the range of 0 to 3. If the level attribute is not present,
|
|
@@ -33,7 +33,7 @@ export default class LevelIndicator extends WJElement {
|
|
|
33
33
|
* Sets the value of the "bars" attribute.
|
|
34
34
|
* @param {string} value The value to set for the "bars" attribute.
|
|
35
35
|
*/
|
|
36
|
-
set bars(value:
|
|
36
|
+
set bars(value: number);
|
|
37
37
|
/**
|
|
38
38
|
* Retrieves the value of the "bars" attribute, parses it as an integer,
|
|
39
39
|
* and ensures it is at least 1. If the attribute is not set, defaults to 3.
|
|
@@ -21,7 +21,7 @@ export default class Main extends WJElement {
|
|
|
21
21
|
* @static
|
|
22
22
|
* @returns {Array<string>}
|
|
23
23
|
*/
|
|
24
|
-
static get observedAttributes():
|
|
24
|
+
static get observedAttributes(): string[];
|
|
25
25
|
/**
|
|
26
26
|
* Draws the component for the main section.
|
|
27
27
|
* @returns {DocumentFragment}
|
|
@@ -34,7 +34,7 @@ export default class Menu extends WJElement {
|
|
|
34
34
|
* @static
|
|
35
35
|
* @returns {Array<string>}
|
|
36
36
|
*/
|
|
37
|
-
static get observedAttributes():
|
|
37
|
+
static get observedAttributes(): string[];
|
|
38
38
|
/**
|
|
39
39
|
* Draws the component for the menu.
|
|
40
40
|
* @returns {DocumentFragment}
|