wj-elements 0.1.151 → 0.1.152
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/index.d.ts +104 -0
- package/dist/packages/localize/localize.d.ts +17 -0
- package/dist/packages/translations/en-gb.d.ts +18 -0
- package/dist/packages/translations/sk-sk.d.ts +13 -0
- package/dist/packages/utils/animations.d.ts +2 -0
- package/dist/packages/utils/date.d.ts +1 -0
- package/dist/packages/utils/element-utils.d.ts +46 -0
- package/dist/packages/utils/event.d.ts +67 -0
- package/dist/packages/utils/localize.d.ts +4 -0
- package/dist/packages/utils/permissions-api.d.ts +34 -0
- package/dist/packages/utils/utils.d.ts +1 -0
- package/dist/packages/utils/wje-import-firefox.d.ts +0 -0
- package/dist/packages/utils/wje-import.d.ts +0 -0
- package/dist/packages/wje-accordion/accordion.d.ts +2 -0
- package/dist/packages/wje-accordion/accordion.element.d.ts +72 -0
- package/dist/packages/wje-accordion/accordion.test.d.ts +0 -0
- package/dist/packages/wje-accordion-item/accordion-item.d.ts +2 -0
- package/dist/packages/wje-accordion-item/accordion-item.element.d.ts +40 -0
- package/dist/packages/wje-animation/animation.d.ts +2 -0
- package/dist/packages/wje-animation/animation.element.d.ts +158 -0
- package/dist/packages/wje-animation/animation.test.d.ts +1 -0
- package/dist/packages/wje-aside/aside.d.ts +2 -0
- package/dist/packages/wje-aside/aside.element.d.ts +31 -0
- package/dist/packages/wje-avatar/avatar.d.ts +2 -0
- package/dist/packages/wje-avatar/avatar.element.d.ts +76 -0
- package/dist/packages/wje-avatar/avatar.test.d.ts +1 -0
- package/dist/packages/wje-avatar/service/service.d.ts +40 -0
- package/dist/packages/wje-badge/badge.d.ts +2 -0
- package/dist/packages/wje-badge/badge.element.d.ts +35 -0
- package/dist/packages/wje-badge/badge.test.d.ts +1 -0
- package/dist/packages/wje-breadcrumb/breadcrumb.d.ts +2 -0
- package/dist/packages/wje-breadcrumb/breadcrumb.element.d.ts +80 -0
- package/dist/packages/wje-breadcrumbs/breadcrumbs.d.ts +2 -0
- package/dist/packages/wje-breadcrumbs/breadcrumbs.element.d.ts +97 -0
- package/dist/packages/wje-breadcrumbs/breadcrumbs.test.d.ts +1 -0
- package/dist/packages/wje-button/button.d.ts +2 -0
- package/dist/packages/wje-button/button.element.d.ts +173 -0
- package/dist/packages/wje-button/button.test.d.ts +1 -0
- package/dist/packages/wje-button-group/button-group.d.ts +2 -0
- package/dist/packages/wje-button-group/button-group.element.d.ts +39 -0
- package/dist/packages/wje-card/card.d.ts +2 -0
- package/dist/packages/wje-card/card.element.d.ts +29 -0
- package/dist/packages/wje-card-content/card-content.d.ts +2 -0
- package/dist/packages/wje-card-content/card-content.element.d.ts +22 -0
- package/dist/packages/wje-card-controls/card-controls.d.ts +2 -0
- package/dist/packages/wje-card-controls/card-controls.element.d.ts +23 -0
- package/dist/packages/wje-card-header/card-header.d.ts +2 -0
- package/dist/packages/wje-card-header/card-header.element.d.ts +22 -0
- package/dist/packages/wje-card-subtitle/card-subtitle.d.ts +2 -0
- package/dist/packages/wje-card-subtitle/card-subtitle.element.d.ts +30 -0
- package/dist/packages/wje-card-title/card-title.d.ts +2 -0
- package/dist/packages/wje-card-title/card-title.element.d.ts +32 -0
- package/dist/packages/wje-carousel/carousel.d.ts +2 -0
- package/dist/packages/wje-carousel/carousel.element.d.ts +146 -0
- package/dist/packages/wje-carousel-item/carousel-item.d.ts +2 -0
- package/dist/packages/wje-carousel-item/carousel-item.element.d.ts +38 -0
- package/dist/packages/wje-checkbox/checkbox.d.ts +2 -0
- package/dist/packages/wje-checkbox/checkbox.element.d.ts +171 -0
- package/dist/packages/wje-chip/chip.d.ts +2 -0
- package/dist/packages/wje-chip/chip.element.d.ts +30 -0
- package/dist/packages/wje-col/col.d.ts +2 -0
- package/dist/packages/wje-col/col.element.d.ts +16 -0
- package/dist/packages/wje-color-picker/color-picker.d.ts +2 -0
- package/dist/packages/wje-color-picker/color-picker.element.d.ts +187 -0
- package/dist/packages/wje-color-picker/color-picker.test.d.ts +1 -0
- package/dist/packages/wje-container/container.d.ts +2 -0
- package/dist/packages/wje-container/container.element.d.ts +31 -0
- package/dist/packages/wje-copy-button/copy-button.d.ts +2 -0
- package/dist/packages/wje-copy-button/copy-button.element.d.ts +89 -0
- package/dist/packages/wje-copy-button/service/service.d.ts +12 -0
- package/dist/packages/wje-dialog/dialog.d.ts +2 -0
- package/dist/packages/wje-dialog/dialog.element.d.ts +116 -0
- package/dist/packages/wje-divider/divider.d.ts +2 -0
- package/dist/packages/wje-divider/divider.element.d.ts +32 -0
- package/dist/packages/wje-dropdown/dropdown.d.ts +2 -0
- package/dist/packages/wje-dropdown/dropdown.element.d.ts +85 -0
- package/dist/packages/wje-element/element.d.ts +316 -0
- package/dist/packages/wje-element/service/universal-service.d.ts +18 -0
- package/dist/packages/wje-file-upload/file-upload.d.ts +2 -0
- package/dist/packages/wje-file-upload/file-upload.element.d.ts +191 -0
- package/dist/packages/wje-file-upload/service/service.d.ts +70 -0
- package/dist/packages/wje-file-upload-item/file-upload-item.d.ts +2 -0
- package/dist/packages/wje-file-upload-item/file-upload-item.element.d.ts +66 -0
- package/dist/packages/wje-footer/footer.d.ts +2 -0
- package/dist/packages/wje-footer/footer.element.d.ts +28 -0
- package/dist/packages/wje-form/form.d.ts +2 -0
- package/dist/packages/wje-form/form.element.d.ts +28 -0
- package/dist/packages/wje-format-digital/format-digital.d.ts +2 -0
- package/dist/packages/wje-format-digital/format-digital.element.d.ts +87 -0
- package/dist/packages/wje-format-digital/format-digital.test.d.ts +1 -0
- package/dist/packages/wje-grid/grid.d.ts +2 -0
- package/dist/packages/wje-grid/grid.element.d.ts +26 -0
- package/dist/packages/wje-header/header.d.ts +2 -0
- package/dist/packages/wje-header/header.element.d.ts +35 -0
- package/dist/packages/wje-icon/icon.d.ts +2 -0
- package/dist/packages/wje-icon/icon.element.d.ts +40 -0
- package/dist/packages/wje-icon/service/service.d.ts +11 -0
- package/dist/packages/wje-icon-picker/icon-picker.d.ts +2 -0
- package/dist/packages/wje-icon-picker/icon-picker.element.d.ts +197 -0
- package/dist/packages/wje-img/img.d.ts +2 -0
- package/dist/packages/wje-img/img.element.d.ts +117 -0
- package/dist/packages/wje-img-comparer/img-comparer.d.ts +2 -0
- package/dist/packages/wje-img-comparer/img-comparer.element.d.ts +60 -0
- package/dist/packages/wje-img-comparer/service/service.d.ts +1 -0
- package/dist/packages/wje-infinite-scroll/infinite-scroll.d.ts +2 -0
- package/dist/packages/wje-infinite-scroll/infinite-scroll.element.d.ts +173 -0
- package/dist/packages/wje-input/input.d.ts +2 -0
- package/dist/packages/wje-input/input.element.d.ts +204 -0
- package/dist/packages/wje-input-file/input-file.d.ts +2 -0
- package/dist/packages/wje-input-file/input-file.element.d.ts +50 -0
- package/dist/packages/wje-item/item.d.ts +2 -0
- package/dist/packages/wje-item/item.element.d.ts +68 -0
- package/dist/packages/wje-kanban/kanban.d.ts +2 -0
- package/dist/packages/wje-kanban/kanban.element.d.ts +183 -0
- package/dist/packages/wje-label/label.d.ts +2 -0
- package/dist/packages/wje-label/label.element.d.ts +34 -0
- package/dist/packages/wje-level-indicator/level-indicator.d.ts +2 -0
- package/dist/packages/wje-level-indicator/level-indicator.element.d.ts +91 -0
- package/dist/packages/wje-list/list.d.ts +2 -0
- package/dist/packages/wje-list/list.element.d.ts +31 -0
- package/dist/packages/wje-main/main.d.ts +2 -0
- package/dist/packages/wje-main/main.element.d.ts +30 -0
- package/dist/packages/wje-masonry/masonry.d.ts +2 -0
- package/dist/packages/wje-masonry/masonry.element.d.ts +114 -0
- package/dist/packages/wje-masonry/service/service.d.ts +32 -0
- package/dist/packages/wje-menu/menu.d.ts +2 -0
- package/dist/packages/wje-menu/menu.element.d.ts +47 -0
- package/dist/packages/wje-menu-button/menu-button.d.ts +2 -0
- package/dist/packages/wje-menu-button/menu-button.element.d.ts +34 -0
- package/dist/packages/wje-menu-item/menu-item.d.ts +2 -0
- package/dist/packages/wje-menu-item/menu-item.element.d.ts +139 -0
- package/dist/packages/wje-menu-label/menu-label.d.ts +2 -0
- package/dist/packages/wje-menu-label/menu-label.element.d.ts +39 -0
- package/dist/packages/wje-option/option.d.ts +2 -0
- package/dist/packages/wje-option/option.element.d.ts +59 -0
- package/dist/packages/wje-options/options.d.ts +2 -0
- package/dist/packages/wje-options/options.element.d.ts +183 -0
- package/dist/packages/wje-orgchart/orgchart.d.ts +2 -0
- package/dist/packages/wje-orgchart/orgchart.element.d.ts +24 -0
- package/dist/packages/wje-orgchart-group/orgchart-group.d.ts +2 -0
- package/dist/packages/wje-orgchart-group/orgchart-group.element.d.ts +28 -0
- package/dist/packages/wje-orgchart-item/orgchart-item.d.ts +2 -0
- package/dist/packages/wje-orgchart-item/orgchart-item.element.d.ts +49 -0
- package/dist/packages/wje-pagination/pagination.d.ts +2 -0
- package/dist/packages/wje-pagination/pagination.element.d.ts +166 -0
- package/dist/packages/wje-pagination/pagination.test.d.ts +1 -0
- package/dist/packages/wje-pagination/service/service.d.ts +9 -0
- package/dist/packages/wje-panel/panel.d.ts +2 -0
- package/dist/packages/wje-panel/panel.element.d.ts +34 -0
- package/dist/packages/wje-popup/popup.d.ts +2 -0
- package/dist/packages/wje-popup/popup.element.d.ts +93 -0
- package/dist/packages/wje-progress-bar/progress-bar.d.ts +2 -0
- package/dist/packages/wje-progress-bar/progress-bar.element.d.ts +96 -0
- package/dist/packages/wje-qr-code/qr-code.d.ts +2 -0
- package/dist/packages/wje-qr-code/qr-code.element.d.ts +33 -0
- package/dist/packages/wje-radio/radio.d.ts +2 -0
- package/dist/packages/wje-radio/radio.element.d.ts +53 -0
- package/dist/packages/wje-radio-group/radio-group.d.ts +2 -0
- package/dist/packages/wje-radio-group/radio-group.element.d.ts +137 -0
- package/dist/packages/wje-rate/rate.d.ts +2 -0
- package/dist/packages/wje-rate/rate.element.d.ts +156 -0
- package/dist/packages/wje-relative-time/relative-time.d.ts +2 -0
- package/dist/packages/wje-relative-time/relative-time.element.d.ts +55 -0
- package/dist/packages/wje-relative-time/relative-time.test.d.ts +1 -0
- package/dist/packages/wje-reorder/reorder.d.ts +2 -0
- package/dist/packages/wje-reorder/reorder.element.d.ts +119 -0
- package/dist/packages/wje-reorder-dropzone/reorder-dropzone.d.ts +2 -0
- package/dist/packages/wje-reorder-dropzone/reorder-dropzone.element.d.ts +23 -0
- package/dist/packages/wje-reorder-handle/reorder-handle.d.ts +2 -0
- package/dist/packages/wje-reorder-handle/reorder-handle.element.d.ts +75 -0
- package/dist/packages/wje-reorder-item/reorder-item.d.ts +2 -0
- package/dist/packages/wje-reorder-item/reorder-item.element.d.ts +24 -0
- package/dist/packages/wje-route/route.d.ts +2 -0
- package/dist/packages/wje-route/route.element.d.ts +22 -0
- package/dist/packages/wje-router/router.d.ts +2 -0
- package/dist/packages/wje-router/router.element.d.ts +39 -0
- package/dist/packages/wje-router-link/router-link.d.ts +2 -0
- package/dist/packages/wje-router-link/router-link.element.d.ts +31 -0
- package/dist/packages/wje-router-outlet/router-outlet.d.ts +2 -0
- package/dist/packages/wje-router-outlet/router-outlet.element.d.ts +15 -0
- package/dist/packages/wje-row/row.d.ts +2 -0
- package/dist/packages/wje-row/row.element.d.ts +23 -0
- package/dist/packages/wje-select/select.d.ts +2 -0
- package/dist/packages/wje-select/select.element.d.ts +315 -0
- package/dist/packages/wje-slider/slider.d.ts +2 -0
- package/dist/packages/wje-slider/slider.element.d.ts +103 -0
- package/dist/packages/wje-split-view/service/service.d.ts +1 -0
- package/dist/packages/wje-split-view/split-view.d.ts +2 -0
- package/dist/packages/wje-split-view/split-view.element.d.ts +66 -0
- package/dist/packages/wje-status/status.d.ts +2 -0
- package/dist/packages/wje-status/status.element.d.ts +26 -0
- package/dist/packages/wje-step/step.d.ts +2 -0
- package/dist/packages/wje-step/step.element.d.ts +23 -0
- package/dist/packages/wje-stepper/stepper.d.ts +2 -0
- package/dist/packages/wje-stepper/stepper.element.d.ts +78 -0
- package/dist/packages/wje-store/default-store-actions.d.ts +25 -0
- package/dist/packages/wje-store/pubsub.d.ts +21 -0
- package/dist/packages/wje-store/store.d.ts +153 -0
- package/dist/packages/wje-tab/tab.d.ts +2 -0
- package/dist/packages/wje-tab/tab.element.d.ts +41 -0
- package/dist/packages/wje-tab-group/tab-group.d.ts +2 -0
- package/dist/packages/wje-tab-group/tab-group.element.d.ts +67 -0
- package/dist/packages/wje-tab-panel/tab-panel.d.ts +2 -0
- package/dist/packages/wje-tab-panel/tab-panel.element.d.ts +23 -0
- package/dist/packages/wje-textarea/textarea.d.ts +2 -0
- package/dist/packages/wje-textarea/textarea.element.d.ts +176 -0
- package/dist/packages/wje-thumbnail/thumbnail.d.ts +2 -0
- package/dist/packages/wje-thumbnail/thumbnail.element.d.ts +31 -0
- package/dist/packages/wje-timeline/timeline.d.ts +2 -0
- package/dist/packages/wje-timeline/timeline.element.d.ts +25 -0
- package/dist/packages/wje-timeline-item/timeline-item.d.ts +2 -0
- package/dist/packages/wje-timeline-item/timeline-item.element.d.ts +27 -0
- package/dist/packages/wje-toast/toast.d.ts +2 -0
- package/dist/packages/wje-toast/toast.element.d.ts +173 -0
- package/dist/packages/wje-toast/toast.test.d.ts +1 -0
- package/dist/packages/wje-toggle/toggle.d.ts +2 -0
- package/dist/packages/wje-toggle/toggle.element.d.ts +65 -0
- package/dist/packages/wje-toolbar/toolbar.d.ts +2 -0
- package/dist/packages/wje-toolbar/toolbar.element.d.ts +39 -0
- package/dist/packages/wje-toolbar-action/toolbar-action.d.ts +2 -0
- package/dist/packages/wje-toolbar-action/toolbar-action.element.d.ts +35 -0
- package/dist/packages/wje-tooltip/tooltip.d.ts +2 -0
- package/dist/packages/wje-tooltip/tooltip.element.d.ts +71 -0
- package/dist/packages/wje-tree/tree.d.ts +2 -0
- package/dist/packages/wje-tree/tree.element.d.ts +104 -0
- package/dist/packages/wje-tree/tree.test.d.ts +1 -0
- package/dist/packages/wje-tree-item/tree-item.d.ts +2 -0
- package/dist/packages/wje-tree-item/tree-item.element.d.ts +155 -0
- package/dist/packages/wje-tree-item/tree-item.test.d.ts +1 -0
- package/dist/packages/wje-visually-hidden/visually-hidden.d.ts +2 -0
- package/dist/packages/wje-visually-hidden/visually-hidden.element.d.ts +29 -0
- package/package.json +1 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export { default as SlidingContainer } from '../experimental-packages/wje-sliding-container/sliding-container.js';
|
|
2
|
+
export { fetchAndParseCSS } from './utils/animations.js';
|
|
3
|
+
export { formatDate } from './utils/date.js';
|
|
4
|
+
export { event } from './utils/event.js';
|
|
5
|
+
export { Localizer } from './utils/localize.js';
|
|
6
|
+
export { skSk } from './translations/sk-sk.js';
|
|
7
|
+
export { enGb } from './translations/en-gb.js';
|
|
8
|
+
export { WjePermissionsApi } from './utils/permissions-api.js';
|
|
9
|
+
export { default as Accordion } from './wje-accordion/accordion.js';
|
|
10
|
+
export { default as AccordionItem } from './wje-accordion-item/accordion-item.js';
|
|
11
|
+
export { default as Animation } from './wje-animation/animation.js';
|
|
12
|
+
export { default as Aside } from './wje-aside/aside.js';
|
|
13
|
+
export { default as Avatar } from './wje-avatar/avatar.js';
|
|
14
|
+
export { default as Badge } from './wje-badge/badge.js';
|
|
15
|
+
export { default as Breadcrumb } from './wje-breadcrumb/breadcrumb.js';
|
|
16
|
+
export { default as Breadcrumbs } from './wje-breadcrumbs/breadcrumbs.js';
|
|
17
|
+
export { default as Button } from './wje-button/button.js';
|
|
18
|
+
export { default as ButtonGroup } from './wje-button-group/button-group.js';
|
|
19
|
+
export { default as Card } from './wje-card/card.js';
|
|
20
|
+
export { default as CardContent } from './wje-card-content/card-content.js';
|
|
21
|
+
export { default as CardControls } from './wje-card-controls/card-controls.js';
|
|
22
|
+
export { default as CardHeader } from './wje-card-header/card-header.js';
|
|
23
|
+
export { default as CardSubtitle } from './wje-card-subtitle/card-subtitle.js';
|
|
24
|
+
export { default as CardTitle } from './wje-card-title/card-title.js';
|
|
25
|
+
export { default as Carousel } from './wje-carousel/carousel.js';
|
|
26
|
+
export { default as CarouselItem } from './wje-carousel-item/carousel-item.js';
|
|
27
|
+
export { default as Checkbox } from './wje-checkbox/checkbox.js';
|
|
28
|
+
export { default as Chip } from './wje-chip/chip.js';
|
|
29
|
+
export { default as Col } from './wje-col/col.js';
|
|
30
|
+
export { default as ColorPicker } from './wje-color-picker/color-picker.js';
|
|
31
|
+
export { default as Container } from './wje-container/container.js';
|
|
32
|
+
export { default as CopyButton } from './wje-copy-button/copy-button.js';
|
|
33
|
+
export { default as Dialog } from './wje-dialog/dialog.js';
|
|
34
|
+
export { default as Divider } from './wje-divider/divider.js';
|
|
35
|
+
export { default as Dropdown } from './wje-dropdown/dropdown.js';
|
|
36
|
+
export { default as WJElement } from './wje-element/element.js';
|
|
37
|
+
export { default as FileUpload } from './wje-file-upload/file-upload.js';
|
|
38
|
+
export { default as FileUploadItem } from './wje-file-upload-item/file-upload-item.js';
|
|
39
|
+
export { default as Footer } from './wje-footer/footer.js';
|
|
40
|
+
export { default as FormatDigital } from './wje-format-digital/format-digital.js';
|
|
41
|
+
export { default as Grid } from './wje-grid/grid.js';
|
|
42
|
+
export { default as Header } from './wje-header/header.js';
|
|
43
|
+
export { default as Icon } from './wje-icon/icon.js';
|
|
44
|
+
export { default as IconPicker } from './wje-icon-picker/icon-picker.js';
|
|
45
|
+
export { default as Img } from './wje-img/img.js';
|
|
46
|
+
export { default as ImgComparer } from './wje-img-comparer/img-comparer.js';
|
|
47
|
+
export { default as InfiniteScroll } from './wje-infinite-scroll/infinite-scroll.js';
|
|
48
|
+
export { default as Input } from './wje-input/input.js';
|
|
49
|
+
export { default as InputFile } from './wje-input-file/input-file.js';
|
|
50
|
+
export { default as Item } from './wje-item/item.js';
|
|
51
|
+
export { default as Kanban } from './wje-kanban/kanban.js';
|
|
52
|
+
export { default as Label } from './wje-label/label.js';
|
|
53
|
+
export { default as LevelIndicator } from './wje-level-indicator/level-indicator.js';
|
|
54
|
+
export { default as List } from './wje-list/list.js';
|
|
55
|
+
export { default as Main } from './wje-main/main.js';
|
|
56
|
+
export { default as Masonry } from './wje-masonry/masonry.js';
|
|
57
|
+
export { default as Menu } from './wje-menu/menu.js';
|
|
58
|
+
export { default as MenuButton } from './wje-menu-button/menu-button.js';
|
|
59
|
+
export { default as MenuItem } from './wje-menu-item/menu-item.js';
|
|
60
|
+
export { default as MenuLabel } from './wje-menu-label/menu-label.js';
|
|
61
|
+
export { default as Option } from './wje-option/option.js';
|
|
62
|
+
export { default as Options } from './wje-options/options.js';
|
|
63
|
+
export { default as Orgchart } from './wje-orgchart/orgchart.js';
|
|
64
|
+
export { default as OrgchartGroup } from './wje-orgchart-group/orgchart-group.js';
|
|
65
|
+
export { default as OrgchartItem } from './wje-orgchart-item/orgchart-item.js';
|
|
66
|
+
export { default as Pagination } from './wje-pagination/pagination.js';
|
|
67
|
+
export { default as Popup } from './wje-popup/popup.js';
|
|
68
|
+
export { default as ProgressBar } from './wje-progress-bar/progress-bar.js';
|
|
69
|
+
export { default as QrCode } from './wje-qr-code/qr-code.js';
|
|
70
|
+
export { default as Radio } from './wje-radio/radio.js';
|
|
71
|
+
export { default as RadioGroup } from './wje-radio-group/radio-group.js';
|
|
72
|
+
export { default as Rate } from './wje-rate/rate.js';
|
|
73
|
+
export { default as RelativeTime } from './wje-relative-time/relative-time.js';
|
|
74
|
+
export { default as Reorder } from './wje-reorder/reorder.js';
|
|
75
|
+
export { default as ReorderDropzone } from './wje-reorder-dropzone/reorder-dropzone.js';
|
|
76
|
+
export { default as ReorderHandle } from './wje-reorder-handle/reorder-handle.js';
|
|
77
|
+
export { default as ReorderItem } from './wje-reorder-item/reorder-item.js';
|
|
78
|
+
export { default as Route } from './wje-route/route.js';
|
|
79
|
+
export { default as Routerx } from './wje-router/router.js';
|
|
80
|
+
export { default as RouterLink } from './wje-router-link/router-link.js';
|
|
81
|
+
export { default as RouterOutlet } from './wje-router-outlet/router-outlet.js';
|
|
82
|
+
export { default as Row } from './wje-row/row.js';
|
|
83
|
+
export { default as Select } from './wje-select/select.js';
|
|
84
|
+
export { default as Slider } from './wje-slider/slider.js';
|
|
85
|
+
export { default as SplitView } from './wje-split-view/split-view.js';
|
|
86
|
+
export { default as Status } from './wje-status/status.js';
|
|
87
|
+
export { default as Step } from './wje-step/step.js';
|
|
88
|
+
export { default as Stepper } from './wje-stepper/stepper.js';
|
|
89
|
+
export { default as Tab } from './wje-tab/tab.js';
|
|
90
|
+
export { default as TabGroup } from './wje-tab-group/tab-group.js';
|
|
91
|
+
export { default as TabPanel } from './wje-tab-panel/tab-panel.js';
|
|
92
|
+
export { default as Textarea } from './wje-textarea/textarea.js';
|
|
93
|
+
export { default as Thumbnail } from './wje-thumbnail/thumbnail.js';
|
|
94
|
+
export { default as Timeline } from './wje-timeline/timeline.js';
|
|
95
|
+
export { default as TimelineItem } from './wje-timeline-item/timeline-item.js';
|
|
96
|
+
export { default as Toast } from './wje-toast/toast.js';
|
|
97
|
+
export { default as Toggle } from './wje-toggle/toggle.js';
|
|
98
|
+
export { default as Toolbar } from './wje-toolbar/toolbar.js';
|
|
99
|
+
export { default as ToolbarAction } from './wje-toolbar-action/toolbar-action.js';
|
|
100
|
+
export { default as Tooltip } from './wje-tooltip/tooltip.js';
|
|
101
|
+
export { default as Tree } from './wje-tree/tree.js';
|
|
102
|
+
export { default as TreeItem } from './wje-tree-item/tree-item.js';
|
|
103
|
+
export { default as VisuallyHidden } from './wje-visually-hidden/visually-hidden.js';
|
|
104
|
+
export { defaultStoreActions, store } from './wje-store/store.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export function registerTranslation(...translation: any[]): void;
|
|
2
|
+
export class LocalizerDefault {
|
|
3
|
+
constructor(element: any);
|
|
4
|
+
element: any;
|
|
5
|
+
lang: any;
|
|
6
|
+
dir: any;
|
|
7
|
+
currentLang: string;
|
|
8
|
+
get languages(): any;
|
|
9
|
+
setLanguage(): void;
|
|
10
|
+
translate(key: any): any;
|
|
11
|
+
translatePlural(key: any, count?: number, type?: string): any;
|
|
12
|
+
formatNumber(number: any, options: any): string;
|
|
13
|
+
formatDate(date: any): string;
|
|
14
|
+
relativeTime(lang: any, value?: number, unit?: string, options?: {
|
|
15
|
+
numeric: string;
|
|
16
|
+
}): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const enGb: {
|
|
2
|
+
code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
dir: string;
|
|
5
|
+
welcome: string;
|
|
6
|
+
'wj.file.upload.button': string;
|
|
7
|
+
'wj.file.upload.uploaded': string;
|
|
8
|
+
'wj.file.upload.from': string;
|
|
9
|
+
'wj.stepper.button.next': string;
|
|
10
|
+
'wj.stepper.button.finish': string;
|
|
11
|
+
'wj.stepper.button.previous': string;
|
|
12
|
+
'wj.stepper.step': string;
|
|
13
|
+
'wj.pagination.of': string;
|
|
14
|
+
'wj.pagination.first': string;
|
|
15
|
+
'wj.pagination.prev': string;
|
|
16
|
+
'wj.pagination.next': string;
|
|
17
|
+
'wj.pagination.last': string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const skSk: {
|
|
2
|
+
code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
dir: string;
|
|
5
|
+
welcome: string;
|
|
6
|
+
'wj.file.upload.button': string;
|
|
7
|
+
'wj.file.upload.uploaded': string;
|
|
8
|
+
'wj.file.upload.from': string;
|
|
9
|
+
'wj.stepper.button.next': string;
|
|
10
|
+
'wj.stepper.button.finish': string;
|
|
11
|
+
'wj.stepper.button.previous': string;
|
|
12
|
+
'wj.stepper.step': string;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function formatDate(input: any, format: any): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export class WjElementUtils {
|
|
2
|
+
/**
|
|
3
|
+
* This function creates an element.
|
|
4
|
+
* @param element : HTMLElement - The element value.
|
|
5
|
+
* @param object : Object - The object value.
|
|
6
|
+
*/
|
|
7
|
+
static setAttributesToElement(element: any, object: any): void;
|
|
8
|
+
/**
|
|
9
|
+
* This function gets the attributes from an element.
|
|
10
|
+
* @param {string|HTMLElement} el The element or selector to retrieve attributes from.
|
|
11
|
+
* @returns {object} - An object containing the element's attributes as key-value pairs.
|
|
12
|
+
*/
|
|
13
|
+
static getAttributes(el: string | HTMLElement): object;
|
|
14
|
+
/**
|
|
15
|
+
* This function gets the events from an element.
|
|
16
|
+
* @param {string|HTMLElement} el The element or selector to retrieve events from.
|
|
17
|
+
* @returns {Map<any, any>} - The map value.
|
|
18
|
+
*/
|
|
19
|
+
static getEvents(el: string | HTMLElement): Map<any, any>;
|
|
20
|
+
/**
|
|
21
|
+
* This function converts an object to a string.
|
|
22
|
+
* @param {object} object The object to convert.
|
|
23
|
+
* @returns {string} - The string value.
|
|
24
|
+
*/
|
|
25
|
+
static attributesToString(object: object): string;
|
|
26
|
+
/**
|
|
27
|
+
* This function checks if the slot exists.
|
|
28
|
+
* @param {string|HTMLElement} el The element or selector to check for slots.
|
|
29
|
+
* @param slotName The slot name to check for.
|
|
30
|
+
* @returns {boolean} - The boolean value.
|
|
31
|
+
*/
|
|
32
|
+
static hasSlot(el: string | HTMLElement, slotName?: any): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* This function checks if the slot has content.
|
|
35
|
+
* @param {string|HTMLElement} el The element or selector to check for slot content
|
|
36
|
+
* @param slotName The slot name to check for.
|
|
37
|
+
* @returns {boolean} - The boolean value.
|
|
38
|
+
*/
|
|
39
|
+
static hasSlotContent(el: string | HTMLElement, slotName?: any): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* This function converts a string to a boolean.
|
|
42
|
+
* @param {string | object} value The value to convert to a boolean. If the value is a boolean, it will be returned as is.
|
|
43
|
+
* @returns {boolean} - The boolean value.
|
|
44
|
+
*/
|
|
45
|
+
static stringToBoolean(value: string | object): boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export let event: Event;
|
|
2
|
+
declare class Event {
|
|
3
|
+
customEventStorage: any[];
|
|
4
|
+
/**
|
|
5
|
+
* Dispatch custom event to the element with the specified event name and detail.
|
|
6
|
+
* @param element
|
|
7
|
+
* @param event
|
|
8
|
+
* @param detail
|
|
9
|
+
*/
|
|
10
|
+
dispatchCustomEvent(element: any, event: any, detail: any): void;
|
|
11
|
+
/**
|
|
12
|
+
* Find record by element in the storage.
|
|
13
|
+
* @param element
|
|
14
|
+
* @returns {*}
|
|
15
|
+
*/
|
|
16
|
+
findRecordByElement(element: any): any;
|
|
17
|
+
/**
|
|
18
|
+
* Add listener to the element. If the element is an array, the listener will be added to all elements in the array.
|
|
19
|
+
* @param element
|
|
20
|
+
* @param originalEvent
|
|
21
|
+
* @param event
|
|
22
|
+
* @param listener
|
|
23
|
+
* @param options
|
|
24
|
+
*/
|
|
25
|
+
addListener(element: any, originalEvent: any, event: any, listener: any, options: any): void;
|
|
26
|
+
/**
|
|
27
|
+
* Write record to the storage.
|
|
28
|
+
* @param element
|
|
29
|
+
* @param originalEvent
|
|
30
|
+
* @param event
|
|
31
|
+
* @param listener
|
|
32
|
+
* @param options
|
|
33
|
+
*/
|
|
34
|
+
writeRecord(element: any, originalEvent: any, event: any, listener: any, options: any): void;
|
|
35
|
+
/**
|
|
36
|
+
* Performs a deep equality check between two objects.
|
|
37
|
+
* @param x The first object to compare.
|
|
38
|
+
* @param y The second object to compare.
|
|
39
|
+
* @returns - Returns `true` if the objects are deeply equal, `false` otherwise.
|
|
40
|
+
*/
|
|
41
|
+
deepEqual(x: any, y: any): any;
|
|
42
|
+
/**
|
|
43
|
+
* Check if the listener already exists on the element.
|
|
44
|
+
* @param element
|
|
45
|
+
* @param event
|
|
46
|
+
* @param listener
|
|
47
|
+
* @returns
|
|
48
|
+
*/
|
|
49
|
+
listenerExists(element: any, event: any, listener: any): any;
|
|
50
|
+
/**
|
|
51
|
+
* Remove listener from the element and delete the listener from the custom event storage.
|
|
52
|
+
* @param element
|
|
53
|
+
* @param originalEvent
|
|
54
|
+
* @param event
|
|
55
|
+
* @param listener
|
|
56
|
+
* @param options
|
|
57
|
+
*/
|
|
58
|
+
removeListener(element: any, originalEvent: any, event: any, listener: any, options: any): void;
|
|
59
|
+
/**
|
|
60
|
+
* Remove all event listeners from the specified element and delete the element from the custom event storage.
|
|
61
|
+
* @param {HTMLElement} element The element from which all listeners will be removed.
|
|
62
|
+
*/
|
|
63
|
+
removeElement(element: HTMLElement): void;
|
|
64
|
+
createPromiseFromEvent(element: any, event: any): Promise<any>;
|
|
65
|
+
#private;
|
|
66
|
+
}
|
|
67
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export class WjePermissionsApi {
|
|
2
|
+
static _permissionKey: string;
|
|
3
|
+
/**
|
|
4
|
+
* Sets the permission key.
|
|
5
|
+
* @param value
|
|
6
|
+
*/
|
|
7
|
+
static set permissionKey(value: any);
|
|
8
|
+
/**
|
|
9
|
+
* Returns the permission key.
|
|
10
|
+
* @returns {*|string}
|
|
11
|
+
*/
|
|
12
|
+
static get permissionKey(): any;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the permissions.
|
|
15
|
+
* @param value
|
|
16
|
+
*/
|
|
17
|
+
static set permissions(value: string[]);
|
|
18
|
+
/**
|
|
19
|
+
* Returns the permissions.
|
|
20
|
+
* @returns {string[]}
|
|
21
|
+
*/
|
|
22
|
+
static get permissions(): string[];
|
|
23
|
+
/**
|
|
24
|
+
* Checks if the permission is included.
|
|
25
|
+
* @param key
|
|
26
|
+
* @returns {boolean}
|
|
27
|
+
*/
|
|
28
|
+
static includesKey(key: any): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Checks if the permission is fulfilled.
|
|
31
|
+
* @returns {boolean}
|
|
32
|
+
*/
|
|
33
|
+
static isPermissionFulfilled(permissions: any): boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function bool(v: any): boolean;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* @summary This class represents an Accordion element, extending the WJElement class.
|
|
4
|
+
* @documentation https://elements.webjet.sk/components/accordion
|
|
5
|
+
* @status stable
|
|
6
|
+
* @augments WJElement
|
|
7
|
+
* @attribute {boolean} multiple - The multiple attribute for the accordion.
|
|
8
|
+
* @attribute {number} index - The index attribute for the accordion.
|
|
9
|
+
* @attribute {boolean} disabled - The disabled attribute for the accordion.
|
|
10
|
+
* @attribute {boolean} expanded - The expanded attribute for the accordion.
|
|
11
|
+
* @slot - The accordion main content.
|
|
12
|
+
* //@fires [wje-accordion-item:open] The event fired when the accordion item is opened.
|
|
13
|
+
* @tag wje-accordion
|
|
14
|
+
*/
|
|
15
|
+
export default class Accordion extends WJElement {
|
|
16
|
+
/**
|
|
17
|
+
* Getter for the CSS stylesheet.
|
|
18
|
+
* @returns {object} The styles for the Accordion element.
|
|
19
|
+
*/
|
|
20
|
+
static get cssStyleSheet(): any;
|
|
21
|
+
/**
|
|
22
|
+
* Getter for the observed attributes.
|
|
23
|
+
* @returns {Array} An array containing the name of the observed attribute.
|
|
24
|
+
*/
|
|
25
|
+
static get observedAttributes(): any[];
|
|
26
|
+
/**
|
|
27
|
+
* Sets the `multiple` attribute on the element.
|
|
28
|
+
* If `true`, the `multiple` attribute is added.
|
|
29
|
+
* If `false`, the `multiple` attribute is removed.
|
|
30
|
+
* @param {boolean} value A boolean value indicating whether the element should support multiple selections.
|
|
31
|
+
*/
|
|
32
|
+
set multiple(value: boolean);
|
|
33
|
+
/**
|
|
34
|
+
* Determines whether the element has the `multiple` attribute.
|
|
35
|
+
* @returns {boolean} `true` if the `multiple` attribute is present, otherwise `false`.
|
|
36
|
+
*/
|
|
37
|
+
get multiple(): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the value of the `index` attribute.
|
|
40
|
+
* @param {number|string} value The value to set for the `index` attribute.
|
|
41
|
+
*/
|
|
42
|
+
set index(value: number);
|
|
43
|
+
/**
|
|
44
|
+
* Retrieves the value of the `index` attribute as a number.
|
|
45
|
+
* @returns {number} The numerical value of the `index` attribute, or `0` if the attribute is not set.
|
|
46
|
+
*/
|
|
47
|
+
get index(): number;
|
|
48
|
+
/**
|
|
49
|
+
* Method to run before the element is drawn.
|
|
50
|
+
*/
|
|
51
|
+
beforeDraw(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Method to draw the Accordion element.
|
|
54
|
+
* @returns {object} The document fragment containing the drawn element.
|
|
55
|
+
*/
|
|
56
|
+
draw(): object;
|
|
57
|
+
slotEl: HTMLSlotElement;
|
|
58
|
+
/**
|
|
59
|
+
* Method to run after the element is drawn.
|
|
60
|
+
*/
|
|
61
|
+
afterDraw(): void;
|
|
62
|
+
/**
|
|
63
|
+
* Method to run after the element is drawn.
|
|
64
|
+
* @param exception
|
|
65
|
+
*/
|
|
66
|
+
collapseAll(exception: any): void;
|
|
67
|
+
/**
|
|
68
|
+
* Method to get the accordions.
|
|
69
|
+
* @returns {Array} An array containing the accordions.
|
|
70
|
+
*/
|
|
71
|
+
getAccordions(): any[];
|
|
72
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* @summary This class represents an Accordion Item element, extending the WJElement class.
|
|
4
|
+
* @documentation https://elements.webjet.sk/components/accordion-item
|
|
5
|
+
* @status stable
|
|
6
|
+
* @augments WJElement
|
|
7
|
+
* @slot - The accordion item main content.
|
|
8
|
+
* @tag wje-accordion
|
|
9
|
+
*/
|
|
10
|
+
export default class AccordionItem extends WJElement {
|
|
11
|
+
/**
|
|
12
|
+
* Getter for the CSS stylesheet.
|
|
13
|
+
* @returns {object} The styles for the Accordion Item element.
|
|
14
|
+
*/
|
|
15
|
+
static get cssStyleSheet(): any;
|
|
16
|
+
/**
|
|
17
|
+
* Getter for the observed attributes.
|
|
18
|
+
* @returns {Array} An array containing the name of the observed attribute.
|
|
19
|
+
*/
|
|
20
|
+
static get observedAttributes(): any[];
|
|
21
|
+
/**
|
|
22
|
+
* Method to draw the Accordion Item element. This method returns a document fragment containing the drawn element.
|
|
23
|
+
* @returns {object} The document fragment containing the drawn element.
|
|
24
|
+
*/
|
|
25
|
+
draw(): object;
|
|
26
|
+
headline: HTMLDivElement;
|
|
27
|
+
toggle: HTMLSlotElement;
|
|
28
|
+
/**
|
|
29
|
+
* Method to execute after the Accordion Item element is drawn.
|
|
30
|
+
*/
|
|
31
|
+
afterDraw(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Method to handle the attribute changes.
|
|
34
|
+
*/
|
|
35
|
+
collapse: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* Method to handle the attribute changes.
|
|
38
|
+
*/
|
|
39
|
+
expand: () => void;
|
|
40
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* @summary This class represents an Animation element, extending the WJElement class.
|
|
4
|
+
* @documentation https://elements.webjet.sk/components/animation
|
|
5
|
+
* @status stable
|
|
6
|
+
* @augments WJElement
|
|
7
|
+
* @slot - The animation main content.
|
|
8
|
+
* @cssproperty --size - The size of the avatar.
|
|
9
|
+
* @tag wje-animation
|
|
10
|
+
*/
|
|
11
|
+
export default class Animation extends WJElement {
|
|
12
|
+
/**
|
|
13
|
+
* Getter for the CSS stylesheet.
|
|
14
|
+
* @returns {object} The styles for the Animation element.
|
|
15
|
+
*/
|
|
16
|
+
static get cssStyleSheet(): any;
|
|
17
|
+
/**
|
|
18
|
+
* Getter for the observed attributes.
|
|
19
|
+
* @returns {Array} An array containing the name of the observed attribute.
|
|
20
|
+
*/
|
|
21
|
+
static get observedAttributes(): any[];
|
|
22
|
+
_animations: any[];
|
|
23
|
+
/**
|
|
24
|
+
* Setter for the name attribute.
|
|
25
|
+
* @param value
|
|
26
|
+
*/
|
|
27
|
+
set name(value: string);
|
|
28
|
+
/**
|
|
29
|
+
* Getter for the name attribute.
|
|
30
|
+
* @returns {string}
|
|
31
|
+
*/
|
|
32
|
+
get name(): string;
|
|
33
|
+
/**
|
|
34
|
+
* Setter for the name attribute.
|
|
35
|
+
* @param value
|
|
36
|
+
*/
|
|
37
|
+
set duration(value: number);
|
|
38
|
+
/**
|
|
39
|
+
* Getter for the name attribute.
|
|
40
|
+
* @returns {number}
|
|
41
|
+
*/
|
|
42
|
+
get duration(): number;
|
|
43
|
+
/**
|
|
44
|
+
* Setter for the name attribute.
|
|
45
|
+
* @param value
|
|
46
|
+
*/
|
|
47
|
+
set delay(value: number);
|
|
48
|
+
/**
|
|
49
|
+
* Getter for the name attribute.
|
|
50
|
+
* @returns {number}
|
|
51
|
+
*/
|
|
52
|
+
get delay(): number;
|
|
53
|
+
/**
|
|
54
|
+
* Setter for the name attribute.
|
|
55
|
+
* @param value
|
|
56
|
+
*/
|
|
57
|
+
set endDelay(value: number);
|
|
58
|
+
/**
|
|
59
|
+
* Getter for the name attribute.
|
|
60
|
+
* @returns {number}
|
|
61
|
+
*/
|
|
62
|
+
get endDelay(): number;
|
|
63
|
+
/**
|
|
64
|
+
* Setter for the name attribute.
|
|
65
|
+
* @param value
|
|
66
|
+
*/
|
|
67
|
+
set fill(value: string);
|
|
68
|
+
/**
|
|
69
|
+
* Getter for the name attribute.
|
|
70
|
+
* @returns {string}
|
|
71
|
+
*/
|
|
72
|
+
get fill(): string;
|
|
73
|
+
/**
|
|
74
|
+
* Setter for the name attribute.
|
|
75
|
+
* @param value
|
|
76
|
+
*/
|
|
77
|
+
set iterations(value: string | number);
|
|
78
|
+
/**
|
|
79
|
+
* Getter for the name attribute.
|
|
80
|
+
* @returns {string|number}
|
|
81
|
+
*/
|
|
82
|
+
get iterations(): string | number;
|
|
83
|
+
/**
|
|
84
|
+
* Setter for the name attribute.
|
|
85
|
+
* @param value
|
|
86
|
+
*/
|
|
87
|
+
set iterationStart(value: number);
|
|
88
|
+
/**
|
|
89
|
+
* Getter for the name attribute.
|
|
90
|
+
* @returns {number}
|
|
91
|
+
*/
|
|
92
|
+
get iterationStart(): number;
|
|
93
|
+
/**
|
|
94
|
+
* Setter for the name attribute.
|
|
95
|
+
* @param value
|
|
96
|
+
*/
|
|
97
|
+
set direction(value: string);
|
|
98
|
+
/**
|
|
99
|
+
* Getter for the name attribute.
|
|
100
|
+
* @returns {string}
|
|
101
|
+
*/
|
|
102
|
+
get direction(): string;
|
|
103
|
+
/**
|
|
104
|
+
* Setter for the name attribute.
|
|
105
|
+
* @param value
|
|
106
|
+
*/
|
|
107
|
+
set easing(value: string);
|
|
108
|
+
/**
|
|
109
|
+
* Getter for the name attribute.
|
|
110
|
+
* @returns {string}
|
|
111
|
+
*/
|
|
112
|
+
get easing(): string;
|
|
113
|
+
/**
|
|
114
|
+
* Setter for the animations property.
|
|
115
|
+
* @param {Array} value The new value for the animations property.
|
|
116
|
+
*/
|
|
117
|
+
set animations(value: any[]);
|
|
118
|
+
/**
|
|
119
|
+
* Getter for the animations' property.
|
|
120
|
+
* @returns {Array} The current value of the animations' property.
|
|
121
|
+
*/
|
|
122
|
+
get animations(): any[];
|
|
123
|
+
/**
|
|
124
|
+
* Method to draw the Animation element.
|
|
125
|
+
* @returns {object} The document fragment containing the drawn element.
|
|
126
|
+
*/
|
|
127
|
+
draw(): object;
|
|
128
|
+
slotEl: HTMLSlotElement;
|
|
129
|
+
/**
|
|
130
|
+
* Method to perform actions after the Animation element is drawn.
|
|
131
|
+
* This method destroys any existing animation, fetches a new animations array,
|
|
132
|
+
* selects the appropriate animation, and applies it to the element.
|
|
133
|
+
*/
|
|
134
|
+
afterDraw(): Promise<void>;
|
|
135
|
+
animation: Animation;
|
|
136
|
+
/**
|
|
137
|
+
* Method to fetch and parse the animations array from a CSS file.
|
|
138
|
+
* @returns {Array} An array of animation definitions parsed from the CSS file.
|
|
139
|
+
*/
|
|
140
|
+
getAnimationsArray(): any[];
|
|
141
|
+
/**
|
|
142
|
+
* Terminates and cleans up the currently active animation if it exists.
|
|
143
|
+
* Calls the `cancel` method to stop the animation process.
|
|
144
|
+
* @returns {void} Does not return any value.
|
|
145
|
+
*/
|
|
146
|
+
destroyAnimation(): void;
|
|
147
|
+
/**
|
|
148
|
+
* Plays the currently assigned animation, if available.
|
|
149
|
+
* @returns {void} This method does not return any value.
|
|
150
|
+
*/
|
|
151
|
+
play(): void;
|
|
152
|
+
/**
|
|
153
|
+
* Cancels the current animation if it is initialized and has a cancel method.
|
|
154
|
+
* Logs a warning if the animation is not initialized or the cancel method is unavailable.
|
|
155
|
+
* @returns {void} Does not return a value.
|
|
156
|
+
*/
|
|
157
|
+
cancel(): void;
|
|
158
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* @summary This class represents an Aside element, extending the WJElement class.
|
|
4
|
+
* @documentation https://elements.webjet.sk/components/aside
|
|
5
|
+
* @status stable
|
|
6
|
+
* @augments WJElement
|
|
7
|
+
* @slot - The aside main content.
|
|
8
|
+
* @cssproperty --wje-aside-width;
|
|
9
|
+
* @cssproperty --wje-aside-top;
|
|
10
|
+
* @cssproperty --wje-aside-border-color: var(--wje-border-color);
|
|
11
|
+
* @cssproperty --wje-aside-border-width;
|
|
12
|
+
* @cssproperty --wje-aside-border-style;
|
|
13
|
+
* @tag wje-aside
|
|
14
|
+
*/
|
|
15
|
+
export default class Aside extends WJElement {
|
|
16
|
+
/**
|
|
17
|
+
* Getter for the CSS stylesheet.
|
|
18
|
+
* @returns {object} The styles for the Aside element.
|
|
19
|
+
*/
|
|
20
|
+
static get cssStyleSheet(): any;
|
|
21
|
+
/**
|
|
22
|
+
* Getter for the observed attributes.
|
|
23
|
+
* @returns {Array} An empty array as there are no observed attributes.
|
|
24
|
+
*/
|
|
25
|
+
static get observedAttributes(): any[];
|
|
26
|
+
/**
|
|
27
|
+
* Method to draw the Aside element.
|
|
28
|
+
* @returns {object} The document fragment containing the drawn element.
|
|
29
|
+
*/
|
|
30
|
+
draw(): object;
|
|
31
|
+
}
|