@chayns-components/core 5.0.0-beta.49 → 5.0.0-beta.492
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/README.md +3 -19
- package/lib/api/image/post.d.ts +14 -0
- package/lib/api/image/post.js +33 -0
- package/lib/api/image/post.js.map +1 -0
- package/lib/api/signature/delete.d.ts +1 -0
- package/lib/api/signature/delete.js +27 -0
- package/lib/api/signature/delete.js.map +1 -0
- package/lib/api/signature/get.d.ts +1 -0
- package/lib/api/signature/get.js +33 -0
- package/lib/api/signature/get.js.map +1 -0
- package/lib/api/signature/put.d.ts +1 -0
- package/lib/api/signature/put.js +31 -0
- package/lib/api/signature/put.js.map +1 -0
- package/lib/api/theme/get.d.ts +2 -0
- package/lib/api/theme/get.js +14 -0
- package/lib/api/theme/get.js.map +1 -0
- package/lib/api/video/post.d.ts +15 -0
- package/lib/api/video/post.js +30 -0
- package/lib/api/video/post.js.map +1 -0
- package/lib/components/accordion/Accordion.d.ts +21 -6
- package/lib/components/accordion/Accordion.js +78 -54
- package/lib/components/accordion/Accordion.js.map +1 -1
- package/lib/components/accordion/Accordion.styles.d.ts +11 -7
- package/lib/components/accordion/Accordion.styles.js +66 -53
- package/lib/components/accordion/Accordion.styles.js.map +1 -1
- package/lib/components/accordion/accordion-body/AccordionBody.d.ts +9 -1
- package/lib/components/accordion/accordion-body/AccordionBody.js +12 -20
- package/lib/components/accordion/accordion-body/AccordionBody.js.map +1 -1
- package/lib/components/accordion/accordion-body/AccordionBody.styles.d.ts +268 -3
- package/lib/components/accordion/accordion-body/AccordionBody.styles.js +6 -15
- package/lib/components/accordion/accordion-body/AccordionBody.styles.js.map +1 -1
- package/lib/components/accordion/accordion-content/AccordionContent.js +8 -16
- package/lib/components/accordion/accordion-content/AccordionContent.js.map +1 -1
- package/lib/components/accordion/accordion-content/AccordionContent.styles.d.ts +8 -6
- package/lib/components/accordion/accordion-content/AccordionContent.styles.js +7 -16
- package/lib/components/accordion/accordion-content/AccordionContent.styles.js.map +1 -1
- package/lib/components/accordion/accordion-group/AccordionGroup.d.ts +9 -2
- package/lib/components/accordion/accordion-group/AccordionGroup.js +15 -20
- package/lib/components/accordion/accordion-group/AccordionGroup.js.map +1 -1
- package/lib/components/accordion/accordion-head/AccordionHead.d.ts +2 -0
- package/lib/components/accordion/accordion-head/AccordionHead.js +45 -40
- package/lib/components/accordion/accordion-head/AccordionHead.js.map +1 -1
- package/lib/components/accordion/accordion-head/AccordionHead.styles.d.ts +2424 -15
- package/lib/components/accordion/accordion-head/AccordionHead.styles.js +70 -61
- package/lib/components/accordion/accordion-head/AccordionHead.styles.js.map +1 -1
- package/lib/components/accordion/accordion-intro/AccordionIntro.js +4 -12
- package/lib/components/accordion/accordion-intro/AccordionIntro.js.map +1 -1
- package/lib/components/accordion/accordion-intro/AccordionIntro.styles.d.ts +2 -1
- package/lib/components/accordion/accordion-intro/AccordionIntro.styles.js +2 -10
- package/lib/components/accordion/accordion-intro/AccordionIntro.styles.js.map +1 -1
- package/lib/components/accordion/accordion-item/AccordionItem.d.ts +9 -0
- package/lib/components/accordion/accordion-item/AccordionItem.js +20 -0
- package/lib/components/accordion/accordion-item/AccordionItem.js.map +1 -0
- package/lib/components/accordion/accordion-item/AccordionItem.styles.d.ts +7 -0
- package/lib/components/accordion/accordion-item/AccordionItem.styles.js +26 -0
- package/lib/components/accordion/accordion-item/AccordionItem.styles.js.map +1 -0
- package/lib/components/amount-control/AmountControl.d.ts +26 -0
- package/lib/components/amount-control/AmountControl.js +179 -0
- package/lib/components/amount-control/AmountControl.js.map +1 -0
- package/lib/components/amount-control/AmountControl.styles.d.ts +288 -0
- package/lib/components/amount-control/AmountControl.styles.js +50 -0
- package/lib/components/amount-control/AmountControl.styles.js.map +1 -0
- package/lib/components/badge/Badge.d.ts +5 -1
- package/lib/components/badge/Badge.js +12 -17
- package/lib/components/badge/Badge.js.map +1 -1
- package/lib/components/badge/Badge.styles.d.ts +9 -4
- package/lib/components/badge/Badge.styles.js +12 -14
- package/lib/components/badge/Badge.styles.js.map +1 -1
- package/lib/components/button/Button.d.ts +5 -1
- package/lib/components/button/Button.js +71 -20
- package/lib/components/button/Button.js.map +1 -1
- package/lib/components/button/Button.styles.d.ts +813 -6
- package/lib/components/button/Button.styles.js +44 -26
- package/lib/components/button/Button.styles.js.map +1 -1
- package/lib/components/checkbox/Checkbox.d.ts +10 -2
- package/lib/components/checkbox/Checkbox.js +19 -22
- package/lib/components/checkbox/Checkbox.js.map +1 -1
- package/lib/components/checkbox/Checkbox.styles.d.ts +12 -5
- package/lib/components/checkbox/Checkbox.styles.js +70 -63
- package/lib/components/checkbox/Checkbox.styles.js.map +1 -1
- package/lib/components/color-scheme-provider/ColorSchemeProvider.d.ts +6 -0
- package/lib/components/color-scheme-provider/ColorSchemeProvider.js +77 -40
- package/lib/components/color-scheme-provider/ColorSchemeProvider.js.map +1 -1
- package/lib/components/combobox/ComboBox.d.ts +44 -0
- package/lib/components/combobox/ComboBox.js +183 -0
- package/lib/components/combobox/ComboBox.js.map +1 -0
- package/lib/components/combobox/ComboBox.styles.d.ts +291 -0
- package/lib/components/combobox/ComboBox.styles.js +198 -0
- package/lib/components/combobox/ComboBox.styles.js.map +1 -0
- package/lib/components/combobox/combobox-item/ComboBoxItem.d.ts +13 -0
- package/lib/components/combobox/combobox-item/ComboBoxItem.js +33 -0
- package/lib/components/combobox/combobox-item/ComboBoxItem.js.map +1 -0
- package/lib/components/combobox/combobox-item/ComboBoxItem.styles.d.ts +12 -0
- package/lib/components/combobox/combobox-item/ComboBoxItem.styles.js +54 -0
- package/lib/components/combobox/combobox-item/ComboBoxItem.styles.js.map +1 -0
- package/lib/components/content-card/ContentCard.d.ts +13 -0
- package/lib/components/content-card/ContentCard.js +14 -0
- package/lib/components/content-card/ContentCard.js.map +1 -0
- package/lib/components/content-card/ContentCard.styles.d.ts +2 -0
- package/lib/components/content-card/ContentCard.styles.js +32 -0
- package/lib/components/content-card/ContentCard.styles.js.map +1 -0
- package/lib/components/context-menu/ContextMenu.d.ts +3 -3
- package/lib/components/context-menu/ContextMenu.js +43 -53
- package/lib/components/context-menu/ContextMenu.js.map +1 -1
- package/lib/components/context-menu/ContextMenu.styles.d.ts +2 -1
- package/lib/components/context-menu/ContextMenu.styles.js +2 -10
- package/lib/components/context-menu/ContextMenu.styles.js.map +1 -1
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.d.ts +1 -1
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.js +17 -23
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.js.map +1 -1
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.styles.d.ts +275 -10
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.styles.js +25 -38
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.styles.js.map +1 -1
- package/lib/components/file-input/FileInput.d.ts +29 -0
- package/lib/components/file-input/FileInput.js +112 -0
- package/lib/components/file-input/FileInput.js.map +1 -0
- package/lib/components/file-input/FileInput.styles.d.ts +277 -0
- package/lib/components/file-input/FileInput.styles.js +39 -0
- package/lib/components/file-input/FileInput.styles.js.map +1 -0
- package/lib/components/file-input/file-list/FileListItem.d.ts +9 -0
- package/lib/components/file-input/file-list/FileListItem.js +27 -0
- package/lib/components/file-input/file-list/FileListItem.js.map +1 -0
- package/lib/components/file-input/file-list/FileListItem.styles.d.ts +2 -0
- package/lib/components/file-input/file-list/FileListItem.styles.js +3 -0
- package/lib/components/file-input/file-list/FileListItem.styles.js.map +1 -0
- package/lib/components/filter-buttons/FilterButtons.d.ts +22 -0
- package/lib/components/filter-buttons/FilterButtons.js +79 -0
- package/lib/components/filter-buttons/FilterButtons.js.map +1 -0
- package/lib/components/filter-buttons/FilterButtons.styles.d.ts +2 -0
- package/lib/components/filter-buttons/FilterButtons.styles.js +7 -0
- package/lib/components/filter-buttons/FilterButtons.styles.js.map +1 -0
- package/lib/components/filter-buttons/filter-button/FilterButton.d.ts +14 -0
- package/lib/components/filter-buttons/filter-button/FilterButton.js +38 -0
- package/lib/components/filter-buttons/filter-button/FilterButton.js.map +1 -0
- package/lib/components/filter-buttons/filter-button/FilterButton.styles.d.ts +287 -0
- package/lib/components/filter-buttons/filter-button/FilterButton.styles.js +98 -0
- package/lib/components/filter-buttons/filter-button/FilterButton.styles.js.map +1 -0
- package/lib/components/grid-image/GridImage.js +20 -29
- package/lib/components/grid-image/GridImage.js.map +1 -1
- package/lib/components/grid-image/GridImage.styles.d.ts +15 -14
- package/lib/components/grid-image/GridImage.styles.js +21 -32
- package/lib/components/grid-image/GridImage.styles.js.map +1 -1
- package/lib/components/icon/Icon.js +22 -25
- package/lib/components/icon/Icon.js.map +1 -1
- package/lib/components/icon/Icon.styles.d.ts +13 -12
- package/lib/components/icon/Icon.styles.js +23 -33
- package/lib/components/icon/Icon.styles.js.map +1 -1
- package/lib/components/input/Input.d.ts +42 -2
- package/lib/components/input/Input.js +96 -29
- package/lib/components/input/Input.js.map +1 -1
- package/lib/components/input/Input.styles.d.ts +559 -7
- package/lib/components/input/Input.styles.js +118 -41
- package/lib/components/input/Input.styles.js.map +1 -1
- package/lib/components/list/List.d.ts +6 -0
- package/lib/components/list/List.js +24 -24
- package/lib/components/list/List.js.map +1 -1
- package/lib/components/list/list-item/ListItem.d.ts +1 -1
- package/lib/components/list/list-item/ListItem.js +37 -30
- package/lib/components/list/list-item/ListItem.js.map +1 -1
- package/lib/components/list/list-item/ListItem.styles.d.ts +272 -6
- package/lib/components/list/list-item/ListItem.styles.js +32 -39
- package/lib/components/list/list-item/ListItem.styles.js.map +1 -1
- package/lib/components/list/list-item/list-item-body/ListItemBody.d.ts +6 -2
- package/lib/components/list/list-item/list-item-body/ListItemBody.js +28 -15
- package/lib/components/list/list-item/list-item-body/ListItemBody.js.map +1 -1
- package/lib/components/list/list-item/list-item-body/ListItemBody.styles.d.ts +267 -1
- package/lib/components/list/list-item/list-item-body/ListItemBody.styles.js +3 -11
- package/lib/components/list/list-item/list-item-body/ListItemBody.styles.js.map +1 -1
- package/lib/components/list/list-item/list-item-content/ListItemContent.d.ts +8 -2
- package/lib/components/list/list-item/list-item-content/ListItemContent.js +4 -12
- package/lib/components/list/list-item/list-item-content/ListItemContent.js.map +1 -1
- package/lib/components/list/list-item/list-item-content/ListItemContent.styles.d.ts +2 -1
- package/lib/components/list/list-item/list-item-content/ListItemContent.styles.js +2 -10
- package/lib/components/list/list-item/list-item-content/ListItemContent.styles.js.map +1 -1
- package/lib/components/list/list-item/list-item-head/ListItemHead.js +25 -35
- package/lib/components/list/list-item/list-item-head/ListItemHead.js.map +1 -1
- package/lib/components/list/list-item/list-item-head/ListItemHead.styles.d.ts +546 -16
- package/lib/components/list/list-item/list-item-head/ListItemHead.styles.js +19 -38
- package/lib/components/list/list-item/list-item-head/ListItemHead.styles.js.map +1 -1
- package/lib/components/list/list-item/list-item-head/list-item-icon/ListItemIcon.js +5 -13
- package/lib/components/list/list-item/list-item-head/list-item-icon/ListItemIcon.js.map +1 -1
- package/lib/components/list/list-item/list-item-head/list-item-icon/ListItemIcon.styles.d.ts +2 -1
- package/lib/components/list/list-item/list-item-head/list-item-icon/ListItemIcon.styles.js +2 -10
- package/lib/components/list/list-item/list-item-head/list-item-icon/ListItemIcon.styles.js.map +1 -1
- package/lib/components/list/list-item/list-item-head/list-item-image/ListItemImage.js +11 -21
- package/lib/components/list/list-item/list-item-head/list-item-image/ListItemImage.js.map +1 -1
- package/lib/components/list/list-item/list-item-head/list-item-image/ListItemImage.styles.d.ts +8 -7
- package/lib/components/list/list-item/list-item-head/list-item-image/ListItemImage.styles.js +7 -16
- package/lib/components/list/list-item/list-item-head/list-item-image/ListItemImage.styles.js.map +1 -1
- package/lib/components/mention-finder/MentionFinder.d.ts +31 -0
- package/lib/components/mention-finder/MentionFinder.js +130 -0
- package/lib/components/mention-finder/MentionFinder.js.map +1 -0
- package/lib/components/mention-finder/MentionFinder.styles.d.ts +272 -0
- package/lib/components/mention-finder/MentionFinder.styles.js +84 -0
- package/lib/components/mention-finder/MentionFinder.styles.js.map +1 -0
- package/lib/components/mention-finder/mention-finder-item/MentionFinderItem.d.ts +10 -0
- package/lib/components/mention-finder/mention-finder-item/MentionFinderItem.js +23 -0
- package/lib/components/mention-finder/mention-finder-item/MentionFinderItem.js.map +1 -0
- package/lib/components/mention-finder/mention-finder-item/MentionFinderItem.styles.d.ts +11 -0
- package/lib/components/mention-finder/mention-finder-item/MentionFinderItem.styles.js +83 -0
- package/lib/components/mention-finder/mention-finder-item/MentionFinderItem.styles.js.map +1 -0
- package/lib/components/number-input/NumberInput.d.ts +54 -0
- package/lib/components/number-input/NumberInput.js +133 -0
- package/lib/components/number-input/NumberInput.js.map +1 -0
- package/lib/components/popup/Popup.d.ts +30 -0
- package/lib/components/popup/Popup.js +150 -0
- package/lib/components/popup/Popup.js.map +1 -0
- package/lib/components/popup/Popup.styles.d.ts +5 -0
- package/lib/components/popup/Popup.styles.js +21 -0
- package/lib/components/popup/Popup.styles.js.map +1 -0
- package/lib/components/popup/popup-content/PopupContent.d.ts +10 -0
- package/lib/components/popup/popup-content/PopupContent.js +64 -0
- package/lib/components/popup/popup-content/PopupContent.js.map +1 -0
- package/lib/components/popup/popup-content/PopupContent.styles.d.ts +274 -0
- package/lib/components/popup/popup-content/PopupContent.styles.js +84 -0
- package/lib/components/popup/popup-content/PopupContent.styles.js.map +1 -0
- package/lib/components/progress-bar/ProgressBar.d.ts +13 -0
- package/lib/components/progress-bar/ProgressBar.js +31 -0
- package/lib/components/progress-bar/ProgressBar.js.map +1 -0
- package/lib/components/progress-bar/ProgressBar.styles.d.ts +272 -0
- package/lib/components/progress-bar/ProgressBar.styles.js +30 -0
- package/lib/components/progress-bar/ProgressBar.styles.js.map +1 -0
- package/lib/components/radio-button/RadioButton.d.ts +30 -0
- package/lib/components/radio-button/RadioButton.js +92 -0
- package/lib/components/radio-button/RadioButton.js.map +1 -0
- package/lib/components/radio-button/RadioButton.styles.d.ts +287 -0
- package/lib/components/radio-button/RadioButton.styles.js +105 -0
- package/lib/components/radio-button/RadioButton.styles.js.map +1 -0
- package/lib/components/radio-button/radio-button-group/RadioButtonGroup.d.ts +17 -0
- package/lib/components/radio-button/radio-button-group/RadioButtonGroup.js +38 -0
- package/lib/components/radio-button/radio-button-group/RadioButtonGroup.js.map +1 -0
- package/lib/components/scroll-view/ScrollView.d.ts +13 -0
- package/lib/components/scroll-view/ScrollView.js +19 -0
- package/lib/components/scroll-view/ScrollView.js.map +1 -0
- package/lib/components/scroll-view/ScrollView.styles.d.ts +9 -0
- package/lib/components/scroll-view/ScrollView.styles.js +41 -0
- package/lib/components/scroll-view/ScrollView.styles.js.map +1 -0
- package/lib/components/search-box/SearchBox.d.ts +41 -0
- package/lib/components/search-box/SearchBox.js +271 -0
- package/lib/components/search-box/SearchBox.js.map +1 -0
- package/lib/components/search-box/SearchBox.styles.d.ts +274 -0
- package/lib/components/search-box/SearchBox.styles.js +71 -0
- package/lib/components/search-box/SearchBox.styles.js.map +1 -0
- package/lib/components/search-box/search-box-item/SearchBoxItem.d.ts +11 -0
- package/lib/components/search-box/search-box-item/SearchBoxItem.js +27 -0
- package/lib/components/search-box/search-box-item/SearchBoxItem.js.map +1 -0
- package/lib/components/search-box/search-box-item/SearchBoxItem.styles.d.ts +13 -0
- package/lib/components/search-box/search-box-item/SearchBoxItem.styles.js +55 -0
- package/lib/components/search-box/search-box-item/SearchBoxItem.styles.js.map +1 -0
- package/lib/components/search-input/SearchInput.d.ts +33 -0
- package/lib/components/search-input/SearchInput.js +93 -0
- package/lib/components/search-input/SearchInput.js.map +1 -0
- package/lib/components/search-input/SearchInput.styles.d.ts +534 -0
- package/lib/components/search-input/SearchInput.styles.js +19 -0
- package/lib/components/search-input/SearchInput.styles.js.map +1 -0
- package/lib/components/select-button/SelectButton.d.ts +34 -0
- package/lib/components/select-button/SelectButton.js +56 -0
- package/lib/components/select-button/SelectButton.js.map +1 -0
- package/lib/components/select-button/SelectButton.styles.d.ts +2 -0
- package/lib/components/select-button/SelectButton.styles.js +3 -0
- package/lib/components/select-button/SelectButton.styles.js.map +1 -0
- package/lib/components/setup-wizard/SetupWizard.d.ts +27 -0
- package/lib/components/setup-wizard/SetupWizard.js +73 -0
- package/lib/components/setup-wizard/SetupWizard.js.map +1 -0
- package/lib/components/setup-wizard/SetupWizard.styles.d.ts +2 -0
- package/lib/components/setup-wizard/SetupWizard.styles.js +3 -0
- package/lib/components/setup-wizard/SetupWizard.styles.js.map +1 -0
- package/lib/components/setup-wizard/setup-wizard-item/SetupWizardItem.d.ts +21 -0
- package/lib/components/setup-wizard/setup-wizard-item/SetupWizardItem.js +49 -0
- package/lib/components/setup-wizard/setup-wizard-item/SetupWizardItem.js.map +1 -0
- package/lib/components/setup-wizard/setup-wizard-item/SetupWizardItem.styles.d.ts +3 -0
- package/lib/components/setup-wizard/setup-wizard-item/SetupWizardItem.styles.js +7 -0
- package/lib/components/setup-wizard/setup-wizard-item/SetupWizardItem.styles.js.map +1 -0
- package/lib/components/sharing-bar/SharingBar.d.ts +18 -0
- package/lib/components/sharing-bar/SharingBar.js +101 -0
- package/lib/components/sharing-bar/SharingBar.js.map +1 -0
- package/lib/components/sharing-bar/SharingBar.styles.d.ts +6 -0
- package/lib/components/sharing-bar/SharingBar.styles.js +17 -0
- package/lib/components/sharing-bar/SharingBar.styles.js.map +1 -0
- package/lib/components/signature/Signature.d.ts +33 -0
- package/lib/components/signature/Signature.js +95 -0
- package/lib/components/signature/Signature.js.map +1 -0
- package/lib/components/signature/Signature.styles.d.ts +5 -0
- package/lib/components/signature/Signature.styles.js +14 -0
- package/lib/components/signature/Signature.styles.js.map +1 -0
- package/lib/components/slider/Slider.d.ts +45 -0
- package/lib/components/slider/Slider.js +181 -0
- package/lib/components/slider/Slider.js.map +1 -0
- package/lib/components/slider/Slider.styles.d.ts +16 -0
- package/lib/components/slider/Slider.styles.js +98 -0
- package/lib/components/slider/Slider.styles.js.map +1 -0
- package/lib/components/slider-button/SliderButton.d.ts +23 -0
- package/lib/components/slider-button/SliderButton.js +148 -0
- package/lib/components/slider-button/SliderButton.js.map +1 -0
- package/lib/components/slider-button/SliderButton.styles.d.ts +279 -0
- package/lib/components/slider-button/SliderButton.styles.js +62 -0
- package/lib/components/slider-button/SliderButton.styles.js.map +1 -0
- package/lib/components/small-wait-cursor/SmallWaitCursor.d.ts +31 -0
- package/lib/components/small-wait-cursor/SmallWaitCursor.js +36 -0
- package/lib/components/small-wait-cursor/SmallWaitCursor.js.map +1 -0
- package/lib/components/small-wait-cursor/SmallWaitCursor.styles.d.ts +19 -0
- package/lib/components/small-wait-cursor/SmallWaitCursor.styles.js +93 -0
- package/lib/components/small-wait-cursor/SmallWaitCursor.styles.js.map +1 -0
- package/lib/components/tag-input/TagInput.d.ts +22 -0
- package/lib/components/tag-input/TagInput.js +79 -0
- package/lib/components/tag-input/TagInput.js.map +1 -0
- package/lib/components/tag-input/TagInput.styles.d.ts +9 -0
- package/lib/components/tag-input/TagInput.styles.js +41 -0
- package/lib/components/tag-input/TagInput.styles.js.map +1 -0
- package/lib/components/text-area/TextArea.d.ts +29 -0
- package/lib/components/text-area/TextArea.js +49 -0
- package/lib/components/text-area/TextArea.js.map +1 -0
- package/lib/components/text-area/TextArea.styles.d.ts +16 -0
- package/lib/components/text-area/TextArea.styles.js +101 -0
- package/lib/components/text-area/TextArea.styles.js.map +1 -0
- package/lib/components/tooltip/Tooltip.d.ts +22 -0
- package/lib/components/tooltip/Tooltip.js +33 -0
- package/lib/components/tooltip/Tooltip.js.map +1 -0
- package/lib/components/tooltip/Tooltip.styles.d.ts +2 -0
- package/lib/components/tooltip/Tooltip.styles.js +3 -0
- package/lib/components/tooltip/Tooltip.styles.js.map +1 -0
- package/lib/components/tooltip/tooltip-item/TooltipItem.d.ts +13 -0
- package/lib/components/tooltip/tooltip-item/TooltipItem.js +22 -0
- package/lib/components/tooltip/tooltip-item/TooltipItem.js.map +1 -0
- package/lib/components/tooltip/tooltip-item/TooltipItem.styles.d.ts +15 -0
- package/lib/components/tooltip/tooltip-item/TooltipItem.styles.js +36 -0
- package/lib/components/tooltip/tooltip-item/TooltipItem.styles.js.map +1 -0
- package/lib/components/truncation/Truncation.d.ts +34 -0
- package/lib/components/truncation/Truncation.js +132 -0
- package/lib/components/truncation/Truncation.js.map +1 -0
- package/lib/components/truncation/Truncation.styles.d.ts +277 -0
- package/lib/components/truncation/Truncation.styles.js +44 -0
- package/lib/components/truncation/Truncation.styles.js.map +1 -0
- package/lib/constants/mentionFinder.d.ts +4 -0
- package/lib/constants/mentionFinder.js +6 -0
- package/lib/constants/mentionFinder.js.map +1 -0
- package/lib/constants/numberInput.d.ts +5 -0
- package/lib/constants/numberInput.js +6 -0
- package/lib/constants/numberInput.js.map +1 -0
- package/lib/constants/signature.d.ts +1 -0
- package/lib/constants/signature.js +2 -0
- package/lib/constants/signature.js.map +1 -0
- package/lib/hooks/useElementSize.d.ts +2 -0
- package/lib/hooks/useElementSize.js +9 -0
- package/lib/hooks/useElementSize.js.map +1 -0
- package/lib/hooks/uuid.js +4 -11
- package/lib/hooks/uuid.js.map +1 -1
- package/lib/index.d.ts +44 -1
- package/lib/index.js +49 -111
- package/lib/index.js.map +1 -1
- package/lib/types/chayns.d.ts +67 -1
- package/lib/types/chayns.js +3 -10
- package/lib/types/chayns.js.map +1 -1
- package/lib/types/colorSchemeProvider.d.ts +15 -0
- package/lib/types/colorSchemeProvider.js +9 -0
- package/lib/types/colorSchemeProvider.js.map +1 -0
- package/lib/types/comboBox.d.ts +4 -0
- package/lib/types/comboBox.js +6 -0
- package/lib/types/comboBox.js.map +1 -0
- package/lib/{components/context-menu/constants/alignment.js → types/contextMenu.js} +4 -11
- package/lib/types/contextMenu.js.map +1 -0
- package/lib/types/file.d.ts +46 -0
- package/lib/types/file.js +2 -0
- package/lib/types/file.js.map +1 -0
- package/lib/types/filterButtons.d.ts +15 -0
- package/lib/types/filterButtons.js +11 -0
- package/lib/types/filterButtons.js.map +1 -0
- package/lib/types/popup.d.ts +16 -0
- package/lib/types/popup.js +10 -0
- package/lib/types/popup.js.map +1 -0
- package/lib/types/radioButton.d.ts +4 -0
- package/lib/types/radioButton.js +2 -0
- package/lib/types/radioButton.js.map +1 -0
- package/lib/types/searchBox.d.ts +5 -0
- package/lib/types/searchBox.js +2 -0
- package/lib/types/searchBox.js.map +1 -0
- package/lib/types/selectButton.d.ts +4 -0
- package/lib/types/selectButton.js +2 -0
- package/lib/types/selectButton.js.map +1 -0
- package/lib/types/signature.d.ts +10 -0
- package/lib/types/signature.js +2 -0
- package/lib/types/signature.js.map +1 -0
- package/lib/types/slider-button.d.ts +4 -0
- package/lib/types/slider-button.js +2 -0
- package/lib/types/slider-button.js.map +1 -0
- package/lib/types/tagInput.d.ts +4 -0
- package/lib/types/tagInput.js +2 -0
- package/lib/types/tagInput.js.map +1 -0
- package/lib/types/tooltip.d.ts +9 -0
- package/lib/types/tooltip.js +2 -0
- package/lib/types/tooltip.js.map +1 -0
- package/lib/types/truncation.d.ts +5 -0
- package/lib/types/truncation.js +7 -0
- package/lib/types/truncation.js.map +1 -0
- package/lib/{components/accordion/utils.js → utils/accordion.js} +2 -9
- package/lib/utils/accordion.js.map +1 -0
- package/lib/utils/amountControl.d.ts +7 -0
- package/lib/utils/amountControl.js +15 -0
- package/lib/utils/amountControl.js.map +1 -0
- package/lib/utils/calculate.d.ts +6 -0
- package/lib/utils/calculate.js +80 -0
- package/lib/utils/calculate.js.map +1 -0
- package/lib/utils/file.d.ts +363 -0
- package/lib/utils/file.js +393 -0
- package/lib/utils/file.js.map +1 -0
- package/lib/utils/fileDialog.d.ts +7 -0
- package/lib/utils/fileDialog.js +65 -0
- package/lib/utils/fileDialog.js.map +1 -0
- package/lib/utils/font.d.ts +8 -0
- package/lib/utils/font.js +67 -0
- package/lib/utils/font.js.map +1 -0
- package/lib/utils/icon.js +5 -0
- package/lib/utils/icon.js.map +1 -0
- package/lib/utils/isTobitEmployee.d.ts +1 -0
- package/lib/utils/isTobitEmployee.js +21 -0
- package/lib/utils/isTobitEmployee.js.map +1 -0
- package/lib/utils/numberInput.d.ts +23 -0
- package/lib/utils/numberInput.js +83 -0
- package/lib/utils/numberInput.js.map +1 -0
- package/lib/utils/searchBox.d.ts +7 -0
- package/lib/utils/searchBox.js +16 -0
- package/lib/utils/searchBox.js.map +1 -0
- package/lib/utils/slider.d.ts +7 -0
- package/lib/utils/slider.js +28 -0
- package/lib/utils/slider.js.map +1 -0
- package/lib/utils/sliderButton.d.ts +15 -0
- package/lib/utils/sliderButton.js +45 -0
- package/lib/utils/sliderButton.js.map +1 -0
- package/lib/utils/truncation.d.ts +1 -0
- package/lib/utils/truncation.js +27 -0
- package/lib/utils/truncation.js.map +1 -0
- package/lib/utils/uploadFile.d.ts +7 -0
- package/lib/utils/uploadFile.js +35 -0
- package/lib/utils/uploadFile.js.map +1 -0
- package/package.json +32 -21
- package/lib/components/accordion/utils.js.map +0 -1
- package/lib/components/context-menu/constants/alignment.js.map +0 -1
- package/lib/components/icon/utils.js +0 -13
- package/lib/components/icon/utils.js.map +0 -1
- /package/lib/{components/context-menu/constants/alignment.d.ts → types/contextMenu.d.ts} +0 -0
- /package/lib/{components/accordion/utils.d.ts → utils/accordion.d.ts} +0 -0
- /package/lib/{components/icon/utils.d.ts → utils/icon.d.ts} +0 -0
package/lib/index.d.ts
CHANGED
|
@@ -2,15 +2,58 @@ export { default as Accordion } from './components/accordion/Accordion';
|
|
|
2
2
|
export { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';
|
|
3
3
|
export { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';
|
|
4
4
|
export { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';
|
|
5
|
+
export { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';
|
|
6
|
+
export { default as AmountControl } from './components/amount-control/AmountControl';
|
|
5
7
|
export { default as Badge } from './components/badge/Badge';
|
|
6
8
|
export { default as Button } from './components/button/Button';
|
|
7
9
|
export { default as Checkbox } from './components/checkbox/Checkbox';
|
|
8
10
|
export { default as ColorSchemeProvider } from './components/color-scheme-provider/ColorSchemeProvider';
|
|
9
|
-
export type { WithTheme } from './components/color-scheme-provider/ColorSchemeProvider';
|
|
11
|
+
export type { FramerMotionBugFix, WithTheme, } from './components/color-scheme-provider/ColorSchemeProvider';
|
|
12
|
+
export { default as ComboBox } from './components/combobox/ComboBox';
|
|
13
|
+
export type { IComboBoxItem as ComboBoxItem } from './components/combobox/ComboBox';
|
|
14
|
+
export { default as ContentCard } from './components/content-card/ContentCard';
|
|
10
15
|
export { default as ContextMenu } from './components/context-menu/ContextMenu';
|
|
16
|
+
export { default as FileInput } from './components/file-input/FileInput';
|
|
17
|
+
export { default as FilterButtons } from './components/filter-buttons/FilterButtons';
|
|
11
18
|
export { default as GridImage } from './components/grid-image/GridImage';
|
|
12
19
|
export { default as Icon } from './components/icon/Icon';
|
|
13
20
|
export { default as Input } from './components/input/Input';
|
|
14
21
|
export { default as List } from './components/list/List';
|
|
15
22
|
export { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';
|
|
16
23
|
export { default as ListItem } from './components/list/list-item/ListItem';
|
|
24
|
+
export { default as MentionFinder } from './components/mention-finder/MentionFinder';
|
|
25
|
+
export type { MentionMember } from './components/mention-finder/MentionFinder';
|
|
26
|
+
export { default as NumberInput } from './components/number-input/NumberInput';
|
|
27
|
+
export { default as Popup } from './components/popup/Popup';
|
|
28
|
+
export { default as ProgressBar } from './components/progress-bar/ProgressBar';
|
|
29
|
+
export { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';
|
|
30
|
+
export { default as RadioButton } from './components/radio-button/RadioButton';
|
|
31
|
+
export { default as ScrollView } from './components/scroll-view/ScrollView';
|
|
32
|
+
export { default as SearchBox } from './components/search-box/SearchBox';
|
|
33
|
+
export { default as SearchInput } from './components/search-input/SearchInput';
|
|
34
|
+
export { default as SelectButton } from './components/select-button/SelectButton';
|
|
35
|
+
export { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';
|
|
36
|
+
export { default as SetupWizard } from './components/setup-wizard/SetupWizard';
|
|
37
|
+
export type { SetupWizardRef } from './components/setup-wizard/SetupWizard';
|
|
38
|
+
export { default as SharingBar } from './components/sharing-bar/SharingBar';
|
|
39
|
+
export { default as Signature } from './components/signature/Signature';
|
|
40
|
+
export type { SignatureRef } from './components/signature/Signature';
|
|
41
|
+
export { default as SliderButton } from './components/slider-button/SliderButton';
|
|
42
|
+
export { default as Slider } from './components/slider/Slider';
|
|
43
|
+
export { default as SmallWaitCursor, SmallWaitCursorSize, SmallWaitCursorSpeed, } from './components/small-wait-cursor/SmallWaitCursor';
|
|
44
|
+
export { default as TextArea } from './components/text-area/TextArea';
|
|
45
|
+
export { default as Tooltip } from './components/tooltip/Tooltip';
|
|
46
|
+
export { default as Truncation } from './components/truncation/Truncation';
|
|
47
|
+
export { MentionFinderPopupAlignment } from './constants/mentionFinder';
|
|
48
|
+
export { useElementSize } from './hooks/useElementSize';
|
|
49
|
+
export { ComboBoxDirection } from './types/comboBox';
|
|
50
|
+
export type { FileItem, Image, InternalFileItem, Meta, Video } from './types/file';
|
|
51
|
+
export type { FilterButtonItemShape, FilterButtonSize, IFilterButtonItem as FilterButtonItem, } from './types/filterButtons';
|
|
52
|
+
export type { PopupRef } from './types/popup';
|
|
53
|
+
export type { ISearchBoxItem as SearchBoxItem } from './types/searchBox';
|
|
54
|
+
export type { SelectButtonItem } from './types/selectButton';
|
|
55
|
+
export type { SliderButtonItem } from './types/slider-button';
|
|
56
|
+
export { ClampPosition } from './types/truncation';
|
|
57
|
+
export { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';
|
|
58
|
+
export { isTobitEmployee } from './utils/isTobitEmployee';
|
|
59
|
+
export { uploadFile } from './utils/uploadFile';
|
package/lib/index.js
CHANGED
|
@@ -1,112 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
get: function () {
|
|
51
|
-
return _ColorSchemeProvider.default;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "ContextMenu", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _ContextMenu.default;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "GridImage", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _GridImage.default;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "Icon", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _Icon.default;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "Input", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _Input.default;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(exports, "List", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () {
|
|
81
|
-
return _List.default;
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "ListItem", {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () {
|
|
87
|
-
return _ListItem.default;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
Object.defineProperty(exports, "ListItemContent", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return _ListItemContent.default;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
var _Accordion = _interopRequireDefault(require("./components/accordion/Accordion"));
|
|
97
|
-
var _AccordionContent = _interopRequireDefault(require("./components/accordion/accordion-content/AccordionContent"));
|
|
98
|
-
var _AccordionGroup = _interopRequireDefault(require("./components/accordion/accordion-group/AccordionGroup"));
|
|
99
|
-
var _AccordionIntro = _interopRequireDefault(require("./components/accordion/accordion-intro/AccordionIntro"));
|
|
100
|
-
var _Badge = _interopRequireDefault(require("./components/badge/Badge"));
|
|
101
|
-
var _Button = _interopRequireDefault(require("./components/button/Button"));
|
|
102
|
-
var _Checkbox = _interopRequireDefault(require("./components/checkbox/Checkbox"));
|
|
103
|
-
var _ColorSchemeProvider = _interopRequireDefault(require("./components/color-scheme-provider/ColorSchemeProvider"));
|
|
104
|
-
var _ContextMenu = _interopRequireDefault(require("./components/context-menu/ContextMenu"));
|
|
105
|
-
var _GridImage = _interopRequireDefault(require("./components/grid-image/GridImage"));
|
|
106
|
-
var _Icon = _interopRequireDefault(require("./components/icon/Icon"));
|
|
107
|
-
var _Input = _interopRequireDefault(require("./components/input/Input"));
|
|
108
|
-
var _List = _interopRequireDefault(require("./components/list/List"));
|
|
109
|
-
var _ListItemContent = _interopRequireDefault(require("./components/list/list-item/list-item-content/ListItemContent"));
|
|
110
|
-
var _ListItem = _interopRequireDefault(require("./components/list/list-item/ListItem"));
|
|
111
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1
|
+
// noinspection JSUnusedGlobalSymbols
|
|
2
|
+
export { default as Accordion } from './components/accordion/Accordion';
|
|
3
|
+
export { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';
|
|
4
|
+
export { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';
|
|
5
|
+
export { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';
|
|
6
|
+
export { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';
|
|
7
|
+
export { default as AmountControl } from './components/amount-control/AmountControl';
|
|
8
|
+
export { default as Badge } from './components/badge/Badge';
|
|
9
|
+
export { default as Button } from './components/button/Button';
|
|
10
|
+
export { default as Checkbox } from './components/checkbox/Checkbox';
|
|
11
|
+
export { default as ColorSchemeProvider } from './components/color-scheme-provider/ColorSchemeProvider';
|
|
12
|
+
export { default as ComboBox } from './components/combobox/ComboBox';
|
|
13
|
+
export { default as ContentCard } from './components/content-card/ContentCard';
|
|
14
|
+
export { default as ContextMenu } from './components/context-menu/ContextMenu';
|
|
15
|
+
export { default as FileInput } from './components/file-input/FileInput';
|
|
16
|
+
export { default as FilterButtons } from './components/filter-buttons/FilterButtons';
|
|
17
|
+
export { default as GridImage } from './components/grid-image/GridImage';
|
|
18
|
+
export { default as Icon } from './components/icon/Icon';
|
|
19
|
+
export { default as Input } from './components/input/Input';
|
|
20
|
+
export { default as List } from './components/list/List';
|
|
21
|
+
export { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';
|
|
22
|
+
export { default as ListItem } from './components/list/list-item/ListItem';
|
|
23
|
+
export { default as MentionFinder } from './components/mention-finder/MentionFinder';
|
|
24
|
+
export { default as NumberInput } from './components/number-input/NumberInput';
|
|
25
|
+
export { default as Popup } from './components/popup/Popup';
|
|
26
|
+
export { default as ProgressBar } from './components/progress-bar/ProgressBar';
|
|
27
|
+
export { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';
|
|
28
|
+
export { default as RadioButton } from './components/radio-button/RadioButton';
|
|
29
|
+
export { default as ScrollView } from './components/scroll-view/ScrollView';
|
|
30
|
+
export { default as SearchBox } from './components/search-box/SearchBox';
|
|
31
|
+
export { default as SearchInput } from './components/search-input/SearchInput';
|
|
32
|
+
export { default as SelectButton } from './components/select-button/SelectButton';
|
|
33
|
+
export { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';
|
|
34
|
+
export { default as SetupWizard } from './components/setup-wizard/SetupWizard';
|
|
35
|
+
export { default as SharingBar } from './components/sharing-bar/SharingBar';
|
|
36
|
+
export { default as Signature } from './components/signature/Signature';
|
|
37
|
+
export { default as SliderButton } from './components/slider-button/SliderButton';
|
|
38
|
+
export { default as Slider } from './components/slider/Slider';
|
|
39
|
+
export { default as SmallWaitCursor, SmallWaitCursorSize, SmallWaitCursorSpeed } from './components/small-wait-cursor/SmallWaitCursor';
|
|
40
|
+
export { default as TextArea } from './components/text-area/TextArea';
|
|
41
|
+
export { default as Tooltip } from './components/tooltip/Tooltip';
|
|
42
|
+
export { default as Truncation } from './components/truncation/Truncation';
|
|
43
|
+
export { MentionFinderPopupAlignment } from './constants/mentionFinder';
|
|
44
|
+
export { useElementSize } from './hooks/useElementSize';
|
|
45
|
+
export { ComboBoxDirection } from './types/comboBox';
|
|
46
|
+
export { ClampPosition } from './types/truncation';
|
|
47
|
+
export { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';
|
|
48
|
+
export { isTobitEmployee } from './utils/isTobitEmployee';
|
|
49
|
+
export { uploadFile } from './utils/uploadFile';
|
|
112
50
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["default","Accordion","AccordionContent","AccordionGroup","AccordionIntro","AccordionItem","AmountControl","Badge","Button","Checkbox","ColorSchemeProvider","ComboBox","ContentCard","ContextMenu","FileInput","FilterButtons","GridImage","Icon","Input","List","ListItemContent","ListItem","MentionFinder","NumberInput","Popup","ProgressBar","RadioButtonGroup","RadioButton","ScrollView","SearchBox","SearchInput","SelectButton","SetupWizardItem","SetupWizard","SharingBar","Signature","SliderButton","Slider","SmallWaitCursor","SmallWaitCursorSize","SmallWaitCursorSpeed","TextArea","Tooltip","Truncation","MentionFinderPopupAlignment","useElementSize","ComboBoxDirection","ClampPosition","getFileAsArrayBuffer","selectFiles","isTobitEmployee","uploadFile"],"sources":["../src/index.ts"],"sourcesContent":["// noinspection JSUnusedGlobalSymbols\nexport { default as Accordion } from './components/accordion/Accordion';\nexport { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';\nexport { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';\nexport { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';\nexport { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';\nexport { default as AmountControl } from './components/amount-control/AmountControl';\nexport { default as Badge } from './components/badge/Badge';\nexport { default as Button } from './components/button/Button';\nexport { default as Checkbox } from './components/checkbox/Checkbox';\nexport { default as ColorSchemeProvider } from './components/color-scheme-provider/ColorSchemeProvider';\nexport type {\n FramerMotionBugFix,\n WithTheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { default as ComboBox } from './components/combobox/ComboBox';\nexport type { IComboBoxItem as ComboBoxItem } from './components/combobox/ComboBox';\nexport { default as ContentCard } from './components/content-card/ContentCard';\nexport { default as ContextMenu } from './components/context-menu/ContextMenu';\nexport { default as FileInput } from './components/file-input/FileInput';\nexport { default as FilterButtons } from './components/filter-buttons/FilterButtons';\nexport { default as GridImage } from './components/grid-image/GridImage';\nexport { default as Icon } from './components/icon/Icon';\nexport { default as Input } from './components/input/Input';\nexport { default as List } from './components/list/List';\nexport { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';\nexport { default as ListItem } from './components/list/list-item/ListItem';\nexport { default as MentionFinder } from './components/mention-finder/MentionFinder';\nexport type { MentionMember } from './components/mention-finder/MentionFinder';\nexport { default as NumberInput } from './components/number-input/NumberInput';\nexport { default as Popup } from './components/popup/Popup';\nexport { default as ProgressBar } from './components/progress-bar/ProgressBar';\nexport { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';\nexport { default as RadioButton } from './components/radio-button/RadioButton';\nexport { default as ScrollView } from './components/scroll-view/ScrollView';\nexport { default as SearchBox } from './components/search-box/SearchBox';\nexport { default as SearchInput } from './components/search-input/SearchInput';\nexport { default as SelectButton } from './components/select-button/SelectButton';\nexport { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';\nexport { default as SetupWizard } from './components/setup-wizard/SetupWizard';\nexport type { SetupWizardRef } from './components/setup-wizard/SetupWizard';\nexport { default as SharingBar } from './components/sharing-bar/SharingBar';\nexport { default as Signature } from './components/signature/Signature';\nexport type { SignatureRef } from './components/signature/Signature';\nexport { default as SliderButton } from './components/slider-button/SliderButton';\nexport { default as Slider } from './components/slider/Slider';\nexport {\n default as SmallWaitCursor,\n SmallWaitCursorSize,\n SmallWaitCursorSpeed,\n} from './components/small-wait-cursor/SmallWaitCursor';\nexport { default as TextArea } from './components/text-area/TextArea';\nexport { default as Tooltip } from './components/tooltip/Tooltip';\nexport { default as Truncation } from './components/truncation/Truncation';\nexport { MentionFinderPopupAlignment } from './constants/mentionFinder';\nexport { useElementSize } from './hooks/useElementSize';\nexport { ComboBoxDirection } from './types/comboBox';\nexport type { FileItem, Image, InternalFileItem, Meta, Video } from './types/file';\nexport type {\n FilterButtonItemShape,\n FilterButtonSize,\n IFilterButtonItem as FilterButtonItem,\n} from './types/filterButtons';\nexport type { PopupRef } from './types/popup';\nexport type { ISearchBoxItem as SearchBoxItem } from './types/searchBox';\nexport type { SelectButtonItem } from './types/selectButton';\nexport type { SliderButtonItem } from './types/slider-button';\nexport { ClampPosition } from './types/truncation';\nexport { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';\nexport { isTobitEmployee } from './utils/isTobitEmployee';\nexport { uploadFile } from './utils/uploadFile';\n"],"mappings":"AAAA;AACA,SAASA,OAAO,IAAIC,SAAS,QAAQ,kCAAkC;AACvE,SAASD,OAAO,IAAIE,gBAAgB,QAAQ,2DAA2D;AACvG,SAASF,OAAO,IAAIG,cAAc,QAAQ,uDAAuD;AACjG,SAASH,OAAO,IAAII,cAAc,QAAQ,uDAAuD;AACjG,SAASJ,OAAO,IAAIK,aAAa,QAAQ,qDAAqD;AAC9F,SAASL,OAAO,IAAIM,aAAa,QAAQ,2CAA2C;AACpF,SAASN,OAAO,IAAIO,KAAK,QAAQ,0BAA0B;AAC3D,SAASP,OAAO,IAAIQ,MAAM,QAAQ,4BAA4B;AAC9D,SAASR,OAAO,IAAIS,QAAQ,QAAQ,gCAAgC;AACpE,SAAST,OAAO,IAAIU,mBAAmB,QAAQ,wDAAwD;AAKvG,SAASV,OAAO,IAAIW,QAAQ,QAAQ,gCAAgC;AAEpE,SAASX,OAAO,IAAIY,WAAW,QAAQ,uCAAuC;AAC9E,SAASZ,OAAO,IAAIa,WAAW,QAAQ,uCAAuC;AAC9E,SAASb,OAAO,IAAIc,SAAS,QAAQ,mCAAmC;AACxE,SAASd,OAAO,IAAIe,aAAa,QAAQ,2CAA2C;AACpF,SAASf,OAAO,IAAIgB,SAAS,QAAQ,mCAAmC;AACxE,SAAShB,OAAO,IAAIiB,IAAI,QAAQ,wBAAwB;AACxD,SAASjB,OAAO,IAAIkB,KAAK,QAAQ,0BAA0B;AAC3D,SAASlB,OAAO,IAAImB,IAAI,QAAQ,wBAAwB;AACxD,SAASnB,OAAO,IAAIoB,eAAe,QAAQ,+DAA+D;AAC1G,SAASpB,OAAO,IAAIqB,QAAQ,QAAQ,sCAAsC;AAC1E,SAASrB,OAAO,IAAIsB,aAAa,QAAQ,2CAA2C;AAEpF,SAAStB,OAAO,IAAIuB,WAAW,QAAQ,uCAAuC;AAC9E,SAASvB,OAAO,IAAIwB,KAAK,QAAQ,0BAA0B;AAC3D,SAASxB,OAAO,IAAIyB,WAAW,QAAQ,uCAAuC;AAC9E,SAASzB,OAAO,IAAI0B,gBAAgB,QAAQ,+DAA+D;AAC3G,SAAS1B,OAAO,IAAI2B,WAAW,QAAQ,uCAAuC;AAC9E,SAAS3B,OAAO,IAAI4B,UAAU,QAAQ,qCAAqC;AAC3E,SAAS5B,OAAO,IAAI6B,SAAS,QAAQ,mCAAmC;AACxE,SAAS7B,OAAO,IAAI8B,WAAW,QAAQ,uCAAuC;AAC9E,SAAS9B,OAAO,IAAI+B,YAAY,QAAQ,yCAAyC;AACjF,SAAS/B,OAAO,IAAIgC,eAAe,QAAQ,6DAA6D;AACxG,SAAShC,OAAO,IAAIiC,WAAW,QAAQ,uCAAuC;AAE9E,SAASjC,OAAO,IAAIkC,UAAU,QAAQ,qCAAqC;AAC3E,SAASlC,OAAO,IAAImC,SAAS,QAAQ,kCAAkC;AAEvE,SAASnC,OAAO,IAAIoC,YAAY,QAAQ,yCAAyC;AACjF,SAASpC,OAAO,IAAIqC,MAAM,QAAQ,4BAA4B;AAC9D,SACIrC,OAAO,IAAIsC,eAAe,EAC1BC,mBAAmB,EACnBC,oBAAoB,QACjB,gDAAgD;AACvD,SAASxC,OAAO,IAAIyC,QAAQ,QAAQ,iCAAiC;AACrE,SAASzC,OAAO,IAAI0C,OAAO,QAAQ,8BAA8B;AACjE,SAAS1C,OAAO,IAAI2C,UAAU,QAAQ,oCAAoC;AAC1E,SAASC,2BAA2B,QAAQ,2BAA2B;AACvE,SAASC,cAAc,QAAQ,wBAAwB;AACvD,SAASC,iBAAiB,QAAQ,kBAAkB;AAWpD,SAASC,aAAa,QAAQ,oBAAoB;AAClD,SAASC,oBAAoB,EAAEC,WAAW,QAAQ,oBAAoB;AACtE,SAASC,eAAe,QAAQ,yBAAyB;AACzD,SAASC,UAAU,QAAQ,oBAAoB"}
|
package/lib/types/chayns.d.ts
CHANGED
|
@@ -4,6 +4,25 @@ declare global {
|
|
|
4
4
|
export interface Chayns {
|
|
5
5
|
dialog: Dialog;
|
|
6
6
|
env: Env;
|
|
7
|
+
openImage(urls: string | string[], start?: number): Promise<undefined>;
|
|
8
|
+
openVideo(url: string): Promise<void>;
|
|
9
|
+
register(config: object): any;
|
|
10
|
+
getWindowMetrics(): Promise<WindowMetrics>;
|
|
11
|
+
addDesignSettingsChangeListener(callback: () => any): Promise<any>;
|
|
12
|
+
removeDesignSettingsChangeListener(callback: () => any): Promise<any>;
|
|
13
|
+
}
|
|
14
|
+
export interface WindowMetrics {
|
|
15
|
+
bottomBarHeight: number;
|
|
16
|
+
coverHeight: 0;
|
|
17
|
+
frameX: number;
|
|
18
|
+
frameY: number;
|
|
19
|
+
height: number;
|
|
20
|
+
menuHeight: number;
|
|
21
|
+
offsetTop: number;
|
|
22
|
+
pageYOffset: number;
|
|
23
|
+
scrollTop: number;
|
|
24
|
+
windowHeight: number;
|
|
25
|
+
windowWidth: number;
|
|
7
26
|
}
|
|
8
27
|
export interface Dialog {
|
|
9
28
|
select(config: {
|
|
@@ -16,12 +35,33 @@ export interface Dialog {
|
|
|
16
35
|
buttons?: DialogButton[];
|
|
17
36
|
selectAllButton?: string;
|
|
18
37
|
}): Promise<SelectDialogResult>;
|
|
38
|
+
alert(headline: string, text: string): Promise<ButtonType>;
|
|
39
|
+
iFrame(config: {
|
|
40
|
+
url: string;
|
|
41
|
+
input?: object;
|
|
42
|
+
title?: string;
|
|
43
|
+
message?: string;
|
|
44
|
+
buttons?: DialogButton[];
|
|
45
|
+
seamless?: boolean;
|
|
46
|
+
transparent?: boolean;
|
|
47
|
+
waitCursor?: boolean;
|
|
48
|
+
maxHeight?: string;
|
|
49
|
+
width?: number;
|
|
50
|
+
customTransitionTimeout?: number;
|
|
51
|
+
}): Promise<any>;
|
|
52
|
+
signature(config: {
|
|
53
|
+
buttons?: DialogButton[];
|
|
54
|
+
}): Promise<{
|
|
55
|
+
buttonType: ButtonType;
|
|
56
|
+
value: string;
|
|
57
|
+
}>;
|
|
19
58
|
}
|
|
20
59
|
declare enum ButtonText {
|
|
21
60
|
Cancel = "Abbrechen",
|
|
22
61
|
No = "Nein",
|
|
23
62
|
Ok = "OK",
|
|
24
|
-
Yes = "Ja"
|
|
63
|
+
Yes = "Ja",
|
|
64
|
+
Save = "Speichern"
|
|
25
65
|
}
|
|
26
66
|
export declare enum ButtonType {
|
|
27
67
|
Cancel = -1,
|
|
@@ -49,7 +89,33 @@ declare enum SelectType {
|
|
|
49
89
|
Icon = 1,
|
|
50
90
|
IconAndText
|
|
51
91
|
}
|
|
92
|
+
export interface Group {
|
|
93
|
+
id: number;
|
|
94
|
+
isActive: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface User {
|
|
97
|
+
name: string;
|
|
98
|
+
firstName: string;
|
|
99
|
+
gender: number;
|
|
100
|
+
lastName: string;
|
|
101
|
+
id: number;
|
|
102
|
+
personId: string;
|
|
103
|
+
tobitAccessToken: string;
|
|
104
|
+
groups: Group[];
|
|
105
|
+
isAuthenticated: boolean;
|
|
106
|
+
adminMode: boolean;
|
|
107
|
+
isAdmin: boolean;
|
|
108
|
+
}
|
|
109
|
+
export interface Site {
|
|
110
|
+
id: string;
|
|
111
|
+
colorMode: 0 | 1 | 2;
|
|
112
|
+
}
|
|
52
113
|
export interface Env {
|
|
114
|
+
site: Site;
|
|
115
|
+
user: User;
|
|
116
|
+
language: any;
|
|
117
|
+
parameters: any;
|
|
118
|
+
isApp: boolean;
|
|
53
119
|
isMobile: boolean;
|
|
54
120
|
isTablet: boolean;
|
|
55
121
|
}
|
package/lib/types/chayns.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ButtonType = void 0;
|
|
7
|
-
let ButtonType;
|
|
8
|
-
exports.ButtonType = ButtonType;
|
|
9
|
-
(function (ButtonType) {
|
|
1
|
+
export let ButtonType = /*#__PURE__*/function (ButtonType) {
|
|
10
2
|
ButtonType[ButtonType["Cancel"] = -1] = "Cancel";
|
|
11
3
|
ButtonType[ButtonType["Negative"] = 0] = "Negative";
|
|
12
4
|
ButtonType[ButtonType["Positive"] = 1] = "Positive";
|
|
13
|
-
|
|
5
|
+
return ButtonType;
|
|
6
|
+
}({});
|
|
14
7
|
//# sourceMappingURL=chayns.js.map
|
package/lib/types/chayns.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chayns.js","names":["ButtonType"],"sources":["../../src/types/chayns.ts"],"sourcesContent":["declare global {\n let chayns: Chayns;\n}\n\nexport interface Chayns {\n dialog: Dialog;\n env: Env;\n}\n\nexport interface Dialog {\n select(config: {\n title?: string;\n message?: string;\n list: Array<SelectDialogItem>;\n multiselect?: boolean;\n type?: SelectType;\n preventCloseOnClick?: boolean;\n buttons?: DialogButton[];\n selectAllButton?: string;\n }): Promise<SelectDialogResult>;\n}\n\ndeclare enum ButtonText {\n Cancel = 'Abbrechen',\n No = 'Nein',\n Ok = 'OK',\n Yes = 'Ja',\n}\n\nexport enum ButtonType {\n Cancel = -1,\n Negative = 0,\n Positive = 1,\n}\n\nexport interface DialogButton {\n text: ButtonText | string;\n buttonType: ButtonType | number;\n collapseTime?: number;\n textColor?: string;\n backgroundColor?: string;\n}\n\nexport interface SelectDialogItem {\n name: string;\n value: string | number;\n isSelected?: boolean;\n}\n\nexport interface SelectDialogResult {\n buttonType: ButtonType | number;\n selection: Array<SelectDialogItem>;\n}\n\ndeclare enum SelectType {\n Default = 0,\n Icon = 1,\n IconAndText,\n}\n\nexport interface Env {\n isMobile: boolean;\n isTablet: boolean;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"chayns.js","names":["ButtonType"],"sources":["../../src/types/chayns.ts"],"sourcesContent":["declare global {\n let chayns: Chayns;\n}\n\nexport interface Chayns {\n dialog: Dialog;\n env: Env;\n openImage(urls: string | string[], start?: number): Promise<undefined>;\n openVideo(url: string): Promise<void>;\n register(config: object): any;\n getWindowMetrics(): Promise<WindowMetrics>;\n addDesignSettingsChangeListener(callback: () => any): Promise<any>;\n removeDesignSettingsChangeListener(callback: () => any): Promise<any>;\n}\n\nexport interface WindowMetrics {\n bottomBarHeight: number;\n coverHeight: 0;\n frameX: number;\n frameY: number;\n height: number;\n menuHeight: number;\n offsetTop: number;\n pageYOffset: number;\n scrollTop: number;\n windowHeight: number;\n windowWidth: number;\n}\n\nexport interface Dialog {\n select(config: {\n title?: string;\n message?: string;\n list: Array<SelectDialogItem>;\n multiselect?: boolean;\n type?: SelectType;\n preventCloseOnClick?: boolean;\n buttons?: DialogButton[];\n selectAllButton?: string;\n }): Promise<SelectDialogResult>;\n alert(headline: string, text: string): Promise<ButtonType>;\n iFrame(config: {\n url: string;\n input?: object;\n title?: string;\n message?: string;\n buttons?: DialogButton[];\n seamless?: boolean;\n transparent?: boolean;\n waitCursor?: boolean;\n maxHeight?: string;\n width?: number;\n customTransitionTimeout?: number;\n }): Promise<any>;\n signature(config: {\n buttons?: DialogButton[];\n }): Promise<{ buttonType: ButtonType; value: string }>;\n}\n\ndeclare enum ButtonText {\n Cancel = 'Abbrechen',\n No = 'Nein',\n Ok = 'OK',\n Yes = 'Ja',\n Save = 'Speichern',\n}\n\nexport enum ButtonType {\n Cancel = -1,\n Negative = 0,\n Positive = 1,\n}\n\nexport interface DialogButton {\n text: ButtonText | string;\n buttonType: ButtonType | number;\n collapseTime?: number;\n textColor?: string;\n backgroundColor?: string;\n}\n\nexport interface SelectDialogItem {\n name: string;\n value: string | number;\n isSelected?: boolean;\n}\n\nexport interface SelectDialogResult {\n buttonType: ButtonType | number;\n selection: Array<SelectDialogItem>;\n}\n\ndeclare enum SelectType {\n Default = 0,\n Icon = 1,\n IconAndText,\n}\n\nexport interface Group {\n id: number;\n isActive: boolean;\n}\n\nexport interface User {\n name: string;\n firstName: string;\n gender: number;\n lastName: string;\n id: number;\n personId: string;\n tobitAccessToken: string;\n groups: Group[];\n isAuthenticated: boolean;\n adminMode: boolean;\n isAdmin: boolean;\n}\n\nexport interface Site {\n id: string;\n colorMode: 0 | 1 | 2;\n}\n\nexport interface Env {\n site: Site;\n user: User;\n language: any;\n parameters: any;\n isApp: boolean;\n isMobile: boolean;\n isTablet: boolean;\n}\n"],"mappings":"AAmEA,WAAYA,UAAU,0BAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface DesignSettings {
|
|
2
|
+
accordionIcon: number;
|
|
3
|
+
accordionLines: boolean;
|
|
4
|
+
cardBorderRadius: number;
|
|
5
|
+
cardBackgroundOpacity: number;
|
|
6
|
+
cardShadow: number;
|
|
7
|
+
iconStyle: IconStyle;
|
|
8
|
+
}
|
|
9
|
+
export declare enum IconStyle {
|
|
10
|
+
SOLID = 0,
|
|
11
|
+
REGULAR = 1,
|
|
12
|
+
LIGHT = 2,
|
|
13
|
+
DUOTONE = 3,
|
|
14
|
+
SHARP = 4
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export let IconStyle = /*#__PURE__*/function (IconStyle) {
|
|
2
|
+
IconStyle[IconStyle["SOLID"] = 0] = "SOLID";
|
|
3
|
+
IconStyle[IconStyle["REGULAR"] = 1] = "REGULAR";
|
|
4
|
+
IconStyle[IconStyle["LIGHT"] = 2] = "LIGHT";
|
|
5
|
+
IconStyle[IconStyle["DUOTONE"] = 3] = "DUOTONE";
|
|
6
|
+
IconStyle[IconStyle["SHARP"] = 4] = "SHARP";
|
|
7
|
+
return IconStyle;
|
|
8
|
+
}({});
|
|
9
|
+
//# sourceMappingURL=colorSchemeProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorSchemeProvider.js","names":["IconStyle"],"sources":["../../src/types/colorSchemeProvider.ts"],"sourcesContent":["export interface DesignSettings {\n accordionIcon: number;\n accordionLines: boolean;\n cardBorderRadius: number;\n cardBackgroundOpacity: number;\n cardShadow: number;\n iconStyle: IconStyle;\n}\n\nexport enum IconStyle {\n SOLID,\n REGULAR,\n LIGHT,\n DUOTONE,\n SHARP,\n}\n"],"mappings":"AASA,WAAYA,SAAS,0BAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAATA,SAAS,CAATA,SAAS;EAAA,OAATA,SAAS;AAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export let ComboBoxDirection = /*#__PURE__*/function (ComboBoxDirection) {
|
|
2
|
+
ComboBoxDirection[ComboBoxDirection["BOTTOM"] = 0] = "BOTTOM";
|
|
3
|
+
ComboBoxDirection[ComboBoxDirection["TOP"] = 1] = "TOP";
|
|
4
|
+
return ComboBoxDirection;
|
|
5
|
+
}({});
|
|
6
|
+
//# sourceMappingURL=comboBox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comboBox.js","names":["ComboBoxDirection"],"sources":["../../src/types/comboBox.ts"],"sourcesContent":["export enum ComboBoxDirection {\n BOTTOM,\n TOP,\n}\n"],"mappings":"AAAA,WAAYA,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB,CAAjBA,iBAAiB;EAAjBA,iBAAiB,CAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA"}
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ContextMenuAlignment = void 0;
|
|
7
|
-
let ContextMenuAlignment;
|
|
8
|
-
exports.ContextMenuAlignment = ContextMenuAlignment;
|
|
9
|
-
(function (ContextMenuAlignment) {
|
|
1
|
+
export let ContextMenuAlignment = /*#__PURE__*/function (ContextMenuAlignment) {
|
|
10
2
|
ContextMenuAlignment[ContextMenuAlignment["TopLeft"] = 0] = "TopLeft";
|
|
11
3
|
ContextMenuAlignment[ContextMenuAlignment["BottomLeft"] = 1] = "BottomLeft";
|
|
12
4
|
ContextMenuAlignment[ContextMenuAlignment["TopRight"] = 2] = "TopRight";
|
|
13
5
|
ContextMenuAlignment[ContextMenuAlignment["BottomRight"] = 3] = "BottomRight";
|
|
14
6
|
ContextMenuAlignment[ContextMenuAlignment["TopCenter"] = 4] = "TopCenter";
|
|
15
7
|
ContextMenuAlignment[ContextMenuAlignment["BottomCenter"] = 5] = "BottomCenter";
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
return ContextMenuAlignment;
|
|
9
|
+
}({});
|
|
10
|
+
//# sourceMappingURL=contextMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextMenu.js","names":["ContextMenuAlignment"],"sources":["../../src/types/contextMenu.ts"],"sourcesContent":["export enum ContextMenuAlignment {\n TopLeft,\n BottomLeft,\n TopRight,\n BottomRight,\n TopCenter,\n BottomCenter,\n}\n"],"mappings":"AAAA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export type LoadingState = 'uploading' | 'uploaded' | 'none';
|
|
2
|
+
export interface Video {
|
|
3
|
+
id: string;
|
|
4
|
+
originalVideoQuality?: string;
|
|
5
|
+
thumbnailUrl: string;
|
|
6
|
+
url: string;
|
|
7
|
+
ratio?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface Image {
|
|
10
|
+
id?: string;
|
|
11
|
+
url: string;
|
|
12
|
+
meta?: Meta;
|
|
13
|
+
ratio?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface Meta {
|
|
16
|
+
preview: string;
|
|
17
|
+
width: string;
|
|
18
|
+
height: string;
|
|
19
|
+
}
|
|
20
|
+
export interface InternalFileItem {
|
|
21
|
+
/**
|
|
22
|
+
* The state will be set in this component
|
|
23
|
+
*/
|
|
24
|
+
state?: LoadingState;
|
|
25
|
+
/**
|
|
26
|
+
* Raw file from select or drag and drop
|
|
27
|
+
*/
|
|
28
|
+
file?: File;
|
|
29
|
+
/**
|
|
30
|
+
* File that is uploaded at any service
|
|
31
|
+
*/
|
|
32
|
+
uploadedFile?: Video | Image;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the file. If an `uploadedFile` object is provided, the ID is set to the ID of the uploaded file.
|
|
35
|
+
* If no `uploadedFile` object is provided, a new ID will be generated.
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
/**
|
|
39
|
+
* Preview url of the file
|
|
40
|
+
*/
|
|
41
|
+
previewUrl?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface FileItem {
|
|
44
|
+
file: Video | Image;
|
|
45
|
+
id?: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.js","names":[],"sources":["../../src/types/file.ts"],"sourcesContent":["export type LoadingState = 'uploading' | 'uploaded' | 'none';\n\nexport interface Video {\n id: string;\n originalVideoQuality?: string;\n thumbnailUrl: string;\n url: string;\n ratio?: number;\n}\n\nexport interface Image {\n id?: string;\n url: string;\n meta?: Meta;\n ratio?: number;\n}\n\nexport interface Meta {\n preview: string;\n width: string;\n height: string;\n}\n\nexport interface InternalFileItem {\n /**\n * The state will be set in this component\n */\n state?: LoadingState;\n /**\n * Raw file from select or drag and drop\n */\n file?: File;\n /**\n * File that is uploaded at any service\n */\n uploadedFile?: Video | Image;\n /**\n * The ID of the file. If an `uploadedFile` object is provided, the ID is set to the ID of the uploaded file.\n * If no `uploadedFile` object is provided, a new ID will be generated.\n */\n id: string;\n /**\n * Preview url of the file\n */\n previewUrl?: string;\n}\n\nexport interface FileItem {\n file: Video | Image;\n id?: string;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
export declare enum FilterButtonItemShape {
|
|
3
|
+
Round = 0,
|
|
4
|
+
Rectangular = 1
|
|
5
|
+
}
|
|
6
|
+
export declare enum FilterButtonSize {
|
|
7
|
+
Small = 0,
|
|
8
|
+
Normal = 1
|
|
9
|
+
}
|
|
10
|
+
export interface IFilterButtonItem {
|
|
11
|
+
id: string;
|
|
12
|
+
text: string;
|
|
13
|
+
color?: CSSProperties['color'];
|
|
14
|
+
icons?: string[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export let FilterButtonItemShape = /*#__PURE__*/function (FilterButtonItemShape) {
|
|
2
|
+
FilterButtonItemShape[FilterButtonItemShape["Round"] = 0] = "Round";
|
|
3
|
+
FilterButtonItemShape[FilterButtonItemShape["Rectangular"] = 1] = "Rectangular";
|
|
4
|
+
return FilterButtonItemShape;
|
|
5
|
+
}({});
|
|
6
|
+
export let FilterButtonSize = /*#__PURE__*/function (FilterButtonSize) {
|
|
7
|
+
FilterButtonSize[FilterButtonSize["Small"] = 0] = "Small";
|
|
8
|
+
FilterButtonSize[FilterButtonSize["Normal"] = 1] = "Normal";
|
|
9
|
+
return FilterButtonSize;
|
|
10
|
+
}({});
|
|
11
|
+
//# sourceMappingURL=filterButtons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filterButtons.js","names":["FilterButtonItemShape","FilterButtonSize"],"sources":["../../src/types/filterButtons.ts"],"sourcesContent":["import type { CSSProperties } from 'react';\n\nexport enum FilterButtonItemShape {\n Round,\n Rectangular,\n}\nexport enum FilterButtonSize {\n Small,\n Normal,\n}\n\nexport interface IFilterButtonItem {\n id: string;\n text: string;\n color?: CSSProperties['color'];\n icons?: string[];\n}\n"],"mappings":"AAEA,WAAYA,qBAAqB,0BAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;AAIjC,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB,CAAhBA,gBAAgB;EAAhBA,gBAAgB,CAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum PopupAlignment {
|
|
2
|
+
TopLeft = 0,
|
|
3
|
+
TopCenter = 1,
|
|
4
|
+
TopRight = 2,
|
|
5
|
+
BottomLeft = 3,
|
|
6
|
+
BottomCenter = 4,
|
|
7
|
+
BottomRight = 5
|
|
8
|
+
}
|
|
9
|
+
export type PopupCoordinates = {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
};
|
|
13
|
+
export type PopupRef = {
|
|
14
|
+
hide: VoidFunction;
|
|
15
|
+
show: VoidFunction;
|
|
16
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export let PopupAlignment = /*#__PURE__*/function (PopupAlignment) {
|
|
2
|
+
PopupAlignment[PopupAlignment["TopLeft"] = 0] = "TopLeft";
|
|
3
|
+
PopupAlignment[PopupAlignment["TopCenter"] = 1] = "TopCenter";
|
|
4
|
+
PopupAlignment[PopupAlignment["TopRight"] = 2] = "TopRight";
|
|
5
|
+
PopupAlignment[PopupAlignment["BottomLeft"] = 3] = "BottomLeft";
|
|
6
|
+
PopupAlignment[PopupAlignment["BottomCenter"] = 4] = "BottomCenter";
|
|
7
|
+
PopupAlignment[PopupAlignment["BottomRight"] = 5] = "BottomRight";
|
|
8
|
+
return PopupAlignment;
|
|
9
|
+
}({});
|
|
10
|
+
//# sourceMappingURL=popup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popup.js","names":["PopupAlignment"],"sources":["../../src/types/popup.ts"],"sourcesContent":["export enum PopupAlignment {\n TopLeft,\n TopCenter,\n TopRight,\n BottomLeft,\n BottomCenter,\n BottomRight,\n}\n\nexport type PopupCoordinates = {\n x: number;\n y: number;\n};\n\nexport type PopupRef = {\n hide: VoidFunction;\n show: VoidFunction;\n};\n"],"mappings":"AAAA,WAAYA,cAAc,0BAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radioButton.js","names":[],"sources":["../../src/types/radioButton.ts"],"sourcesContent":["export interface RadioButtonItem {\n id: string;\n isChecked: boolean;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchBox.js","names":[],"sources":["../../src/types/searchBox.ts"],"sourcesContent":["export interface ISearchBoxItem {\n text: string;\n id: string;\n imageUrl?: string;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectButton.js","names":[],"sources":["../../src/types/selectButton.ts"],"sourcesContent":["export interface SelectButtonItem {\n text: string;\n id: number;\n}\n"],"mappings":""}
|