@mozaic-ds/web-components 0.11.0 → 0.12.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +5 -5
- package/public/ClickOutside-63071e7a.js +15 -1
- package/public/ClickOutside-63071e7a.js.map +1 -1
- package/public/DataTableDefaultAction.nested-46712849.js +762 -0
- package/public/DataTableDefaultAction.nested-46712849.js.map +1 -0
- package/public/DataTableUtilities-313a448d.js +386 -0
- package/public/DataTableUtilities-313a448d.js.map +1 -0
- package/public/EventForward-8492ff62.js +109 -1
- package/public/EventForward-8492ff62.js.map +1 -1
- package/public/EventHandler-02058705.js +15 -1
- package/public/EventHandler-02058705.js.map +1 -1
- package/public/adeo/components/autocomplete/Autocomplete.js +1 -1
- package/public/adeo/components/autocomplete/Autocomplete.js.map +1 -1
- package/public/adeo/components/autocomplete/Autocomplete.svelte +7 -5
- package/public/adeo/components/header/Header.js +1 -1
- package/public/adeo/components/header/Header.js.map +1 -1
- package/public/adeo/components/pagination/Pagination.js +1 -1
- package/public/adeo/components/pagination/Pagination.js.map +1 -1
- package/public/adeo/components/pagination/Pagination.svelte +5 -4
- package/public/adeo/components/sidebar/sidebar-feature-group.nested.js +1 -1
- package/public/adeo/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
- package/public/adeo/components/sidebar/sidebar-segment.nested.js +1 -1
- package/public/adeo/components/sidebar/sidebar-segment.nested.js.map +1 -1
- package/public/adeo/components/sidebar-feature-group/sidebar-feature-group.nested.svelte +1 -1
- package/public/adeo/components/sidebar-segment/sidebar-segment.nested.svelte +1 -1
- package/public/array-5b770a93.js +13 -1
- package/public/array-5b770a93.js.map +1 -1
- package/public/axis-fbc0f7b5.js +174 -1
- package/public/axis-fbc0f7b5.js.map +1 -1
- package/public/band-d7a07d2c.js +186 -1
- package/public/band-d7a07d2c.js.map +1 -1
- package/public/bricoman/components/autocomplete/Autocomplete.js +1 -1
- package/public/bricoman/components/autocomplete/Autocomplete.js.map +1 -1
- package/public/bricoman/components/autocomplete/Autocomplete.svelte +7 -5
- package/public/bricoman/components/header/Header.js +1 -1
- package/public/bricoman/components/header/Header.js.map +1 -1
- package/public/bricoman/components/pagination/Pagination.js +1 -1
- package/public/bricoman/components/pagination/Pagination.js.map +1 -1
- package/public/bricoman/components/pagination/Pagination.svelte +5 -4
- package/public/bricoman/components/sidebar/sidebar-feature-group.nested.js +1 -1
- package/public/bricoman/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
- package/public/bricoman/components/sidebar/sidebar-segment.nested.js +1 -1
- package/public/bricoman/components/sidebar/sidebar-segment.nested.js.map +1 -1
- package/public/bricoman/components/sidebar-feature-group/sidebar-feature-group.nested.svelte +1 -1
- package/public/bricoman/components/sidebar-segment/sidebar-segment.nested.svelte +1 -1
- package/public/bundle.js +56 -60
- package/public/components/accordion/Accordion.js +365 -1
- package/public/components/accordion/Accordion.js.map +1 -1
- package/public/components/autocomplete/Autocomplete.js +1515 -1
- package/public/components/autocomplete/Autocomplete.js.map +1 -1
- package/public/components/autocomplete/Autocomplete.svelte +15 -34
- package/public/components/badge/Badge.js +155 -1
- package/public/components/badge/Badge.js.map +1 -1
- package/public/components/badge/Badge.nested.js +101 -1
- package/public/components/badge/Badge.nested.js.map +1 -1
- package/public/components/breadcrumb/Breadcrumb.js +372 -1
- package/public/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/public/components/breadcrumb/Breadcrumb.nested.js +319 -1
- package/public/components/breadcrumb/Breadcrumb.nested.js.map +1 -1
- package/public/components/button/Button.js +1141 -1
- package/public/components/button/Button.js.map +1 -1
- package/public/components/button/Button.nested.js +1005 -0
- package/public/components/button/Button.nested.js.map +1 -0
- package/public/components/button/Button.nested.svelte +173 -0
- package/public/components/button/Button.svelte +2 -2
- package/public/components/card/Card.js +369 -1
- package/public/components/card/Card.js.map +1 -1
- package/public/components/carousel/Carousel.js +710 -0
- package/public/components/carousel/Carousel.js.map +1 -0
- package/public/components/carousel/Carousel.svelte +408 -0
- package/public/components/carousel/CarouselCard.nested.js +140 -0
- package/public/components/carousel/CarouselCard.nested.js.map +1 -0
- package/public/components/carousel/carousel.types.d.ts +20 -0
- package/public/components/carousel/carousel.types.d.ts.map +1 -0
- package/public/components/carouselcard/CarouselCard.nested.svelte +54 -0
- package/public/components/chart/BarChart.js +583 -1
- package/public/components/chart/BarChart.js.map +1 -1
- package/public/components/chart/Donut.js +1189 -1
- package/public/components/chart/Donut.js.map +1 -1
- package/public/components/chart/GroupedBarChart.js +750 -1
- package/public/components/chart/GroupedBarChart.js.map +1 -1
- package/public/components/chart/LineChart.js +1731 -1
- package/public/components/chart/LineChart.js.map +1 -1
- package/public/components/chart/Radar.js +729 -1
- package/public/components/chart/Radar.js.map +1 -1
- package/public/components/chart/StackedBarChart.js +745 -1
- package/public/components/chart/StackedBarChart.js.map +1 -1
- package/public/components/checkbox/Checkbox.js +307 -1
- package/public/components/checkbox/Checkbox.js.map +1 -1
- package/public/components/checkboxgroup/checkboxGroup.js +404 -1
- package/public/components/checkboxgroup/checkboxGroup.js.map +1 -1
- package/public/components/checkboxgroup/checkboxgroup.types.d.ts.map +1 -1
- package/public/components/datatable/DataTable.js +3098 -1
- package/public/components/datatable/DataTable.js.map +1 -1
- package/public/components/datatable/DataTable.svelte +19 -44
- package/public/components/datatable/DataTableDefaultAction.nested.js +4 -1
- package/public/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultEdtion.nested.js +164 -1
- package/public/components/datatable/DataTableDefaultEdtion.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultFilterTags.nested.js +380 -1
- package/public/components/datatable/DataTableDefaultFilterTags.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultSelection.nested.js +424 -1
- package/public/components/datatable/DataTableDefaultSelection.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js +263 -1
- package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js.map +1 -1
- package/public/components/datatable/DataTableFooter.nested.js +637 -1
- package/public/components/datatable/DataTableFooter.nested.js.map +1 -1
- package/public/components/datatable/data.d.ts.map +1 -1
- package/public/components/datatable/datatable.types.d.ts +2 -16
- package/public/components/datatable/datatable.types.d.ts.map +1 -1
- package/public/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +0 -18
- package/public/components/dropdown/Dropdown.js +1426 -1
- package/public/components/dropdown/Dropdown.js.map +1 -1
- package/public/components/field/Field.js +375 -1
- package/public/components/field/Field.js.map +1 -1
- package/public/components/fileuploader/FileUploader.js +603 -1
- package/public/components/fileuploader/FileUploader.js.map +1 -1
- package/public/components/fileuploader/ResultFile.nested.js +344 -1
- package/public/components/fileuploader/ResultFile.nested.js.map +1 -1
- package/public/components/flag/Flag.js +174 -1
- package/public/components/flag/Flag.js.map +1 -1
- package/public/components/header/Header.js +918 -1
- package/public/components/header/Header.js.map +1 -1
- package/public/components/header/Header.types.d.ts.map +1 -1
- package/public/components/hero/Hero.js +271 -1
- package/public/components/hero/Hero.js.map +1 -1
- package/public/components/kpi/Kpi.js +404 -1
- package/public/components/kpi/Kpi.js.map +1 -1
- package/public/components/layer/Layer.js +471 -1
- package/public/components/layer/Layer.js.map +1 -1
- package/public/components/link/Link.js +380 -1
- package/public/components/link/Link.js.map +1 -1
- package/public/components/link/Link.nested.js +285 -0
- package/public/components/link/Link.nested.js.map +1 -0
- package/public/components/link/Link.nested.svelte +78 -0
- package/public/components/listbox/Listbox.js +595 -1
- package/public/components/listbox/Listbox.js.map +1 -1
- package/public/components/listbox/Listbox.nested.js +629 -1
- package/public/components/listbox/Listbox.nested.js.map +1 -1
- package/public/components/loader/Loader.js +246 -1
- package/public/components/loader/Loader.js.map +1 -1
- package/public/components/loader/Loader.nested.js +176 -1
- package/public/components/loader/Loader.nested.js.map +1 -1
- package/public/components/modal/Modal.js +395 -1
- package/public/components/modal/Modal.js.map +1 -1
- package/public/components/notification/Notification.js +458 -1
- package/public/components/notification/Notification.js.map +1 -1
- package/public/components/optionbutton/OptionButton.js +316 -1
- package/public/components/optionbutton/OptionButton.js.map +1 -1
- package/public/components/overlay/Overlay.js +104 -1
- package/public/components/overlay/Overlay.js.map +1 -1
- package/public/components/overlay/OverlayLoader.js +151 -1
- package/public/components/overlay/OverlayLoader.js.map +1 -1
- package/public/components/pagination/Pagination.js +613 -1
- package/public/components/pagination/Pagination.js.map +1 -1
- package/public/components/passwordinput/PasswordInput.js +291 -1
- package/public/components/passwordinput/PasswordInput.js.map +1 -1
- package/public/components/phonenumber/PhoneNumber.js +6894 -1
- package/public/components/phonenumber/PhoneNumber.js.map +1 -1
- package/public/components/phonenumber/PhoneNumber.svelte +1 -1
- package/public/components/price/Price.js +768 -1
- package/public/components/price/Price.js.map +1 -1
- package/public/components/progressbar/ProgressBar.js +278 -1
- package/public/components/progressbar/ProgressBar.js.map +1 -1
- package/public/components/quantityselector/QuantitySelector.js +397 -1
- package/public/components/quantityselector/QuantitySelector.js.map +1 -1
- package/public/components/radio/Radio.js +273 -1
- package/public/components/radio/Radio.js.map +1 -1
- package/public/components/radiogroup/RadioGroup.js +414 -1
- package/public/components/radiogroup/RadioGroup.js.map +1 -1
- package/public/components/radiogroup/radioGroup.types.d.ts.map +1 -1
- package/public/components/ratings/StarsInput.js +292 -1
- package/public/components/ratings/StarsInput.js.map +1 -1
- package/public/components/ratings/StarsResult.js +246 -1
- package/public/components/ratings/StarsResult.js.map +1 -1
- package/public/components/select/Select.js +451 -1
- package/public/components/select/Select.js.map +1 -1
- package/public/components/sidebar/Sidebar.js +784 -1
- package/public/components/sidebar/Sidebar.js.map +1 -1
- package/public/components/sidebar/sidebar-feature-group.nested.js +592 -1
- package/public/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-feature.nested.js +402 -1
- package/public/components/sidebar/sidebar-feature.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-section.nested.js +394 -1
- package/public/components/sidebar/sidebar-section.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-segment.nested.js +198 -1
- package/public/components/sidebar/sidebar-segment.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-separator.nested.js +49 -1
- package/public/components/sidebar/sidebar-separator.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-service.d.ts.map +1 -1
- package/public/components/sidebar/sidebar-sub-features.nested.js +312 -1
- package/public/components/sidebar/sidebar-sub-features.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-user.nested.js +733 -1
- package/public/components/sidebar/sidebar-user.nested.js.map +1 -1
- package/public/components/sidebar/sidebar.types.d.ts.map +1 -1
- package/public/components/sidebar-user/sidebar-user.nested.svelte +0 -1
- package/public/components/starsinput/StarsInput.svelte +2 -9
- package/public/components/stepper/Stepper.js +371 -1
- package/public/components/stepper/Stepper.js.map +1 -1
- package/public/components/tabs/Tabs.js +615 -1
- package/public/components/tabs/Tabs.js.map +1 -1
- package/public/components/tabs/Tabs.nested.js +472 -1
- package/public/components/tabs/Tabs.nested.js.map +1 -1
- package/public/components/tag/Tag.js +665 -1
- package/public/components/tag/Tag.js.map +1 -1
- package/public/components/tag/Tag.nested.js +554 -1
- package/public/components/tag/Tag.nested.js.map +1 -1
- package/public/components/tag/Tag.nested.svelte +5 -5
- package/public/components/tag/Tag.svelte +5 -5
- package/public/components/taglist/TagList.js +475 -1
- package/public/components/taglist/TagList.js.map +1 -1
- package/public/components/textarea/Textarea.js +303 -1
- package/public/components/textarea/Textarea.js.map +1 -1
- package/public/components/textinput/Textinput.js +497 -1
- package/public/components/textinput/Textinput.js.map +1 -1
- package/public/components/textinput/Textinput.nested.js +320 -1
- package/public/components/textinput/Textinput.nested.js.map +1 -1
- package/public/components/toggle/Toggle.js +278 -1
- package/public/components/toggle/Toggle.js.map +1 -1
- package/public/components/tooltip/Tooltip.js +173 -1
- package/public/components/tooltip/Tooltip.js.map +1 -1
- package/public/icons/Billzloty24.js +2 -0
- package/public/icons/Billzloty24.js.map +1 -0
- package/public/icons/Billzloty32.js +2 -0
- package/public/icons/Billzloty32.js.map +1 -0
- package/public/icons/Billzloty48.js +2 -0
- package/public/icons/Billzloty48.js.map +1 -0
- package/public/icons/Billzloty64.js +2 -0
- package/public/icons/Billzloty64.js.map +1 -0
- package/public/icons/CardFundingzloty24.js +2 -0
- package/public/icons/CardFundingzloty24.js.map +1 -0
- package/public/icons/CardFundingzloty32.js +2 -0
- package/public/icons/CardFundingzloty32.js.map +1 -0
- package/public/icons/CardFundingzloty48.js +2 -0
- package/public/icons/CardFundingzloty48.js.map +1 -0
- package/public/icons/CardFundingzloty64.js +2 -0
- package/public/icons/CardFundingzloty64.js.map +1 -0
- package/public/icons/Fundingzloty24.js +2 -0
- package/public/icons/Fundingzloty24.js.map +1 -0
- package/public/icons/Fundingzloty32.js +2 -0
- package/public/icons/Fundingzloty32.js.map +1 -0
- package/public/icons/Fundingzloty48.js +2 -0
- package/public/icons/Fundingzloty48.js.map +1 -0
- package/public/icons/Fundingzloty64.js +2 -0
- package/public/icons/Fundingzloty64.js.map +1 -0
- package/public/icons/MonochromeStoreLocationbm24.js +2 -0
- package/public/icons/MonochromeStoreLocationbm24.js.map +1 -0
- package/public/icons/MonochromeStoreLocationbm32.js +2 -0
- package/public/icons/MonochromeStoreLocationbm32.js.map +1 -0
- package/public/icons/MonochromeStoreLocationbm48.js +2 -0
- package/public/icons/MonochromeStoreLocationbm48.js.map +1 -0
- package/public/icons/MonochromeStoreLocationbm64.js +2 -0
- package/public/icons/MonochromeStoreLocationbm64.js.map +1 -0
- package/public/icons/PaymentMonochromeBonificoBancario24.js +2 -0
- package/public/icons/PaymentMonochromeBonificoBancario24.js.map +1 -0
- package/public/icons/PaymentMonochromeBonificoBancario32.js +2 -0
- package/public/icons/PaymentMonochromeBonificoBancario32.js.map +1 -0
- package/public/icons/PaymentMonochromeBonificoBancario48.js +2 -0
- package/public/icons/PaymentMonochromeBonificoBancario48.js.map +1 -0
- package/public/icons/PaymentMonochromeBonificoBancario64.js +2 -0
- package/public/icons/PaymentMonochromeBonificoBancario64.js.map +1 -0
- package/public/icons/Receiptzloty24.js +2 -0
- package/public/icons/Receiptzloty24.js.map +1 -0
- package/public/icons/Receiptzloty32.js +2 -0
- package/public/icons/Receiptzloty32.js.map +1 -0
- package/public/icons/Receiptzloty48.js +2 -0
- package/public/icons/Receiptzloty48.js.map +1 -0
- package/public/icons/Receiptzloty64.js +2 -0
- package/public/icons/Receiptzloty64.js.map +1 -0
- package/public/icons/Renewableenergy24.js +2 -0
- package/public/icons/Renewableenergy24.js.map +1 -0
- package/public/icons/Renewableenergy32.js +2 -0
- package/public/icons/Renewableenergy32.js.map +1 -0
- package/public/icons/Renewableenergy48.js +2 -0
- package/public/icons/Renewableenergy48.js.map +1 -0
- package/public/icons/Renewableenergy64.js +2 -0
- package/public/icons/Renewableenergy64.js.map +1 -0
- package/public/icons/StoreBM24.js +2 -0
- package/public/icons/StoreBM24.js.map +1 -0
- package/public/icons/StoreBM32.js +2 -0
- package/public/icons/StoreBM32.js.map +1 -0
- package/public/icons/StoreBM48.js +2 -0
- package/public/icons/StoreBM48.js.map +1 -0
- package/public/icons/StoreBM64.js +2 -0
- package/public/icons/StoreBM64.js.map +1 -0
- package/public/icons/Wood24.js +2 -0
- package/public/icons/Wood24.js.map +1 -0
- package/public/icons/Wood32.js +2 -0
- package/public/icons/Wood32.js.map +1 -0
- package/public/icons/Wood48.js +2 -0
- package/public/icons/Wood48.js.map +1 -0
- package/public/icons/Wood64.js +2 -0
- package/public/icons/Wood64.js.map +1 -0
- package/public/icons/Woodflooring24.js +2 -0
- package/public/icons/Woodflooring24.js.map +1 -0
- package/public/icons/Woodflooring32.js +2 -0
- package/public/icons/Woodflooring32.js.map +1 -0
- package/public/icons/Woodflooring48.js +2 -0
- package/public/icons/Woodflooring48.js.map +1 -0
- package/public/icons/Woodflooring64.js +2 -0
- package/public/icons/Woodflooring64.js.map +1 -0
- package/public/icons/Woodflooringalt24.js +2 -0
- package/public/icons/Woodflooringalt24.js.map +1 -0
- package/public/icons/Woodflooringalt32.js +2 -0
- package/public/icons/Woodflooringalt32.js.map +1 -0
- package/public/icons/Woodflooringalt48.js +2 -0
- package/public/icons/Woodflooringalt48.js.map +1 -0
- package/public/icons/Woodflooringalt64.js +2 -0
- package/public/icons/Woodflooringalt64.js.map +1 -0
- package/public/icons/Zloty24.js +2 -0
- package/public/icons/Zloty24.js.map +1 -0
- package/public/icons/Zloty32.js +2 -0
- package/public/icons/Zloty32.js.map +1 -0
- package/public/icons/Zloty48.js +2 -0
- package/public/icons/Zloty48.js.map +1 -0
- package/public/icons/Zloty64.js +2 -0
- package/public/icons/Zloty64.js.map +1 -0
- package/public/icons.js +888 -696
- package/public/index-c33b3772.js +873 -1
- package/public/index-c33b3772.js.map +1 -1
- package/public/linear-f46d7e9e.js +700 -1
- package/public/linear-f46d7e9e.js.map +1 -1
- package/public/main.d.ts +1 -0
- package/public/main.d.ts.map +1 -1
- package/public/path-1b5da959.js +186 -1
- package/public/path-1b5da959.js.map +1 -1
- package/public/sidebar-service-275bf9ef.js +129 -1
- package/public/sidebar-service-275bf9ef.js.map +1 -1
- package/public/sidebar-service-589b271b.js +125 -0
- package/public/sidebar-service-589b271b.js.map +1 -0
- package/public/stories/carousel/items.d.ts +3 -0
- package/public/stories/carousel/items.d.ts.map +1 -0
- package/public/symbol-b05a6e2b.js +169 -1
- package/public/symbol-b05a6e2b.js.map +1 -1
- package/public/transform-15d69d5d.js +2743 -1
- package/public/transform-15d69d5d.js.map +1 -1
- package/public/utilities/DataTableUtilities.d.ts.map +1 -1
- package/public/utilities/DataTableUtilities.ts +0 -12
- package/public/utilities/EventForward.js +136 -1
- package/public/utilities/EventForward.js.map +1 -1
- package/public/utilities/EventHandler.js +36 -1
- package/public/utilities/EventHandler.js.map +1 -1
- package/public/utilities/components/carousel/carousel.types.d.ts +20 -0
- package/public/utilities/components/carousel/carousel.types.d.ts.map +1 -0
- package/public/utilities/components/datatable/data.d.ts.map +1 -1
- package/public/utilities/components/datatable/datatable.types.d.ts +2 -16
- package/public/utilities/components/datatable/datatable.types.d.ts.map +1 -1
- package/public/utilities/main.d.ts +1 -0
- package/public/utilities/main.d.ts.map +1 -1
- package/public/utilities/stories/carousel/Carousel.stories.d.ts +8 -0
- package/public/utilities/stories/carousel/Carousel.stories.d.ts.map +1 -0
- package/public/utilities/stories/carousel/items.d.ts +3 -0
- package/public/utilities/stories/carousel/items.d.ts.map +1 -0
- package/public/utilities/stories/datatable/DataTable.stories.d.ts.map +1 -1
- package/public/utilities/stories/ratings/StarsResult.stories.d.ts.map +1 -1
- package/public/utilities/utilities/DataTableUtilities.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.nested.js","sources":["../../../src/components/tag/Tag.nested.svelte"],"sourcesContent":["<svelte:options tag={null} />\n\n<script lang=\"ts\">\n import type { TagSize, TagType } from './tag.types';\n import { EventHandler } from '../../utilities/EventHandler';\n\n export let label: string;\n export let size: TagSize = 'm';\n export let dark: boolean;\n export let type: TagType = 'text';\n export let disabled: boolean;\n export let id: string;\n export let value: string | undefined = undefined;\n export let href: string | undefined = undefined;\n export let name: string | undefined = undefined;\n export let selected = false;\n\n $: isSelected = selected ? true : false;\n $: userClass = $$props.class;\n $: attributes = { ...$$restProps };\n $: delete attributes.class;\n\n let eventHandler = new EventHandler();\n\n function getClasses(type: TagType
|
|
1
|
+
{"version":3,"file":"Tag.nested.js","sources":["../../../src/components/tag/Tag.nested.svelte"],"sourcesContent":["<svelte:options tag={null} />\n\n<script lang=\"ts\">\n import type { TagSize, TagType } from './tag.types';\n import { EventHandler } from '../../utilities/EventHandler';\n\n export let label: string;\n export let size: TagSize = 'm';\n export let dark: boolean;\n export let type: TagType = 'text';\n export let disabled: boolean;\n export let id: string;\n export let value: string | undefined = undefined;\n export let href: string | undefined = undefined;\n export let name: string | undefined = undefined;\n export let selected = false;\n\n $: isSelected = selected ? true : false;\n $: userClass = $$props.class;\n $: attributes = { ...$$restProps };\n $: delete attributes.class;\n\n let eventHandler = new EventHandler();\n\n function getClasses(type: TagType) {\n const classes = [`mc-tag-${type}`];\n\n if (size) {\n classes.push(`mc-tag-${type}--${size}`);\n }\n\n if (dark) {\n classes.push(`mc-tag-${type}--dark`);\n }\n\n return classes.join(' ');\n }\n\n function getSubClasses(type: TagType, element: string) {\n return `mc-tag-${type}__${element}`;\n }\n\n function onSelect(): void {\n isSelected = !isSelected;\n console.log(isSelected);\n eventHandler.dispatch('tag-selected', isSelected);\n }\n\n function onRemoved(): void {\n eventHandler.dispatch('tag-removed', { id, label, value });\n }\n</script>\n\n{#if type === 'text'}\n <span class=\"{getClasses(type)} {userClass}\" {...attributes}>\n <span class={getSubClasses(type, 'label')}>\n {label}\n </span>\n </span>\n{/if}\n{#if type === 'link'}\n <a\n {href}\n class=\"{getClasses(type)} {userClass}\"\n {...attributes}\n on:click|stopPropagation={onSelect}\n >\n <span class={getSubClasses(type, 'label')}>\n {label}\n </span>\n </a>\n{/if}\n{#if type === 'selectable'}\n <span\n class=\"{getClasses(type)} {userClass}\"\n on:click|stopPropagation={onSelect}\n {...attributes}\n >\n <input\n class={getSubClasses(type, 'input')}\n type=\"checkbox\"\n {name}\n checked={isSelected}\n {id}\n {disabled}\n />\n <label class={getSubClasses(type, 'pill')} for={id}>\n <span class={getSubClasses(type, 'label')}>\n {label}\n </span>\n </label>\n </span>\n{/if}\n{#if type === 'removable'}\n <span class=\"{getClasses(type)} {userClass}\" {...attributes}>\n <span class={getSubClasses(type, 'label')}>\n {label}\n </span>\n <button\n class={getSubClasses(type, 'remove')}\n on:click|stopPropagation={onRemoved}\n >\n <span class={getSubClasses(type, 'remove-text')}> {label} </span>\n </button>\n </span>\n{/if}\n\n<style lang=\"scss\">\n @import '@mozaic-ds/styles/settings-tools/_all-settings';\n @import '@mozaic-ds/styles/components/c.tag';\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;mDAsDgB,GAAU,CAAA,CAAA,CAAA,UAAC,GAAI,CAAA,CAAA,CAA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AI,EAAA;GACN,OAAO,CAAC,IAAI,CAAA,CAAA,OAAA,EAAW,IAAI,CAAA,MAAA,CAAA,CAAA,CAAA;;;SAGtB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAA,CAAA;;;UAOhB,QAAQ,GAAA;AACf,EAAA,YAAA,CAAA,CAAA,EAAA,UAAU,IAAI,UAAU,CAAA,CAAA;EACxB,OAAO,CAAC,GAAG,CAAC,UAAU,CAAA,CAAA;AACtB,EAAA,YAAY,CAAC,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAA,CAAA;;;UAGzC,SAAS,GAAA;EAChB,YAAY,CAAC,QAAQ,CAAC,aAAa,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;AAhCzD,mBAAG,UAAU,GAAG,QAAQ,GAAG,IAAI,GAAG,KAAK,CAAA,CAAA;;;AACvC,EAAG,YAAA,CAAA,CAAA,EAAA,SAAS,GAAG,OAAO,CAAC,KAAK,CAAA,CAAA;AAC5B,kBAAG,UAAU,GAAf,MAAA,CAAA,MAAA,KAAuB,WAAW,CAAA,CAAA,CAAA;;;GAC/B,OAAS,UAAU,CAAC,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
let eventHandler = new EventHandler();
|
|
24
24
|
|
|
25
|
-
function getClasses(type: TagType
|
|
25
|
+
function getClasses(type: TagType) {
|
|
26
26
|
const classes = [`mc-tag-${type}`];
|
|
27
27
|
|
|
28
28
|
if (size) {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
</script>
|
|
53
53
|
|
|
54
54
|
{#if type === 'text'}
|
|
55
|
-
<span class="{getClasses(type
|
|
55
|
+
<span class="{getClasses(type)} {userClass}" {...attributes}>
|
|
56
56
|
<span class={getSubClasses(type, 'label')}>
|
|
57
57
|
{label}
|
|
58
58
|
</span>
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
{#if type === 'link'}
|
|
62
62
|
<a
|
|
63
63
|
{href}
|
|
64
|
-
class="{getClasses(type
|
|
64
|
+
class="{getClasses(type)} {userClass}"
|
|
65
65
|
{...attributes}
|
|
66
66
|
on:click|stopPropagation={onSelect}
|
|
67
67
|
>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
{/if}
|
|
73
73
|
{#if type === 'selectable'}
|
|
74
74
|
<span
|
|
75
|
-
class="{getClasses(type
|
|
75
|
+
class="{getClasses(type)} {userClass}"
|
|
76
76
|
on:click|stopPropagation={onSelect}
|
|
77
77
|
{...attributes}
|
|
78
78
|
>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
</span>
|
|
93
93
|
{/if}
|
|
94
94
|
{#if type === 'removable'}
|
|
95
|
-
<span class="{getClasses(type
|
|
95
|
+
<span class="{getClasses(type)} {userClass}" {...attributes}>
|
|
96
96
|
<span class={getSubClasses(type, 'label')}>
|
|
97
97
|
{label}
|
|
98
98
|
</span>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
let eventHandler = new EventHandler();
|
|
27
27
|
|
|
28
|
-
function getClasses(type: TagType
|
|
28
|
+
function getClasses(type: TagType) {
|
|
29
29
|
const classes = [`mc-tag-${type}`];
|
|
30
30
|
|
|
31
31
|
if (size) {
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
{#if type === 'text'}
|
|
57
|
-
<span class="{getClasses(type
|
|
57
|
+
<span class="{getClasses(type)} {userClass}" {...attributes}>
|
|
58
58
|
<span class={getSubClasses(type, 'label')}>
|
|
59
59
|
{label}
|
|
60
60
|
</span>
|
|
61
61
|
</span>
|
|
62
62
|
{/if}
|
|
63
63
|
{#if type === 'link'}
|
|
64
|
-
<a {href} class="{getClasses(type
|
|
64
|
+
<a {href} class="{getClasses(type)} {userClass}" {...attributes}>
|
|
65
65
|
<span class={getSubClasses(type, 'label')}>
|
|
66
66
|
{label}
|
|
67
67
|
</span>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
{/if}
|
|
70
70
|
{#if type === 'selectable'}
|
|
71
71
|
<span
|
|
72
|
-
class="{getClasses(type
|
|
72
|
+
class="{getClasses(type)} {userClass}"
|
|
73
73
|
on:click|preventDefault={onSelect}
|
|
74
74
|
{...attributes}
|
|
75
75
|
>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</span>
|
|
91
91
|
{/if}
|
|
92
92
|
{#if type === 'removable'}
|
|
93
|
-
<span class="{getClasses(type
|
|
93
|
+
<span class="{getClasses(type)} {userClass}" {...attributes}>
|
|
94
94
|
<span class={getSubClasses(type, 'label')}>
|
|
95
95
|
{label}
|
|
96
96
|
</span>
|
|
@@ -1,2 +1,476 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import { S as SvelteElement, i as init, a as attribute_to_object, b as insert, f as flush, s as safe_not_equal, e as element, d as space, n as noop, g as attr, j as append, C as transition_in, E as check_outros, D as transition_out, o as detach, J as destroy_each, p as compute_rest_props, c as assign, q as exclude_internal_props, K as empty, M as group_outros, x as create_component, A as mount_component, G as destroy_component } from '../../index-c33b3772.js';
|
|
2
|
+
import { E as EventHandler } from '../../EventHandler-02058705.js';
|
|
3
|
+
import Tag_nested from '../tag/Tag.nested.js';
|
|
4
|
+
|
|
5
|
+
/* src/components/taglist/TagList.svelte generated by Svelte v3.58.0 */
|
|
6
|
+
|
|
7
|
+
function get_each_context(ctx, list, i) {
|
|
8
|
+
const child_ctx = ctx.slice();
|
|
9
|
+
child_ctx[14] = list[i];
|
|
10
|
+
child_ctx[16] = i;
|
|
11
|
+
return child_ctx;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// (29:4) {#if index < max || showAll}
|
|
15
|
+
function create_if_block_1(ctx) {
|
|
16
|
+
let div;
|
|
17
|
+
let tag;
|
|
18
|
+
let current;
|
|
19
|
+
|
|
20
|
+
function tag_removed_handler() {
|
|
21
|
+
return /*tag_removed_handler*/ ctx[11](/*item*/ ctx[14]);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
tag = new Tag_nested({
|
|
25
|
+
props: {
|
|
26
|
+
id: /*item*/ ctx[14].id,
|
|
27
|
+
label: /*item*/ ctx[14].label,
|
|
28
|
+
size: 's',
|
|
29
|
+
type: "removable",
|
|
30
|
+
dark: false,
|
|
31
|
+
disabled: false,
|
|
32
|
+
selected: false
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
tag.$on("tag-removed", tag_removed_handler);
|
|
37
|
+
|
|
38
|
+
return {
|
|
39
|
+
c() {
|
|
40
|
+
div = element("div");
|
|
41
|
+
create_component(tag.$$.fragment);
|
|
42
|
+
attr(div, "class", "tag-selected");
|
|
43
|
+
},
|
|
44
|
+
m(target, anchor) {
|
|
45
|
+
insert(target, div, anchor);
|
|
46
|
+
mount_component(tag, div, null);
|
|
47
|
+
current = true;
|
|
48
|
+
},
|
|
49
|
+
p(new_ctx, dirty) {
|
|
50
|
+
ctx = new_ctx;
|
|
51
|
+
const tag_changes = {};
|
|
52
|
+
if (dirty & /*parsedItems*/ 32) tag_changes.id = /*item*/ ctx[14].id;
|
|
53
|
+
if (dirty & /*parsedItems*/ 32) tag_changes.label = /*item*/ ctx[14].label;
|
|
54
|
+
tag.$set(tag_changes);
|
|
55
|
+
},
|
|
56
|
+
i(local) {
|
|
57
|
+
if (current) return;
|
|
58
|
+
transition_in(tag.$$.fragment, local);
|
|
59
|
+
current = true;
|
|
60
|
+
},
|
|
61
|
+
o(local) {
|
|
62
|
+
transition_out(tag.$$.fragment, local);
|
|
63
|
+
current = false;
|
|
64
|
+
},
|
|
65
|
+
d(detaching) {
|
|
66
|
+
if (detaching) detach(div);
|
|
67
|
+
destroy_component(tag);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// (28:2) {#each parsedItems as item, index}
|
|
73
|
+
function create_each_block(ctx) {
|
|
74
|
+
let if_block_anchor;
|
|
75
|
+
let current;
|
|
76
|
+
let if_block = (/*index*/ ctx[16] < /*max*/ ctx[0] || /*showAll*/ ctx[4]) && create_if_block_1(ctx);
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
c() {
|
|
80
|
+
if (if_block) if_block.c();
|
|
81
|
+
if_block_anchor = empty();
|
|
82
|
+
},
|
|
83
|
+
m(target, anchor) {
|
|
84
|
+
if (if_block) if_block.m(target, anchor);
|
|
85
|
+
insert(target, if_block_anchor, anchor);
|
|
86
|
+
current = true;
|
|
87
|
+
},
|
|
88
|
+
p(ctx, dirty) {
|
|
89
|
+
if (/*index*/ ctx[16] < /*max*/ ctx[0] || /*showAll*/ ctx[4]) {
|
|
90
|
+
if (if_block) {
|
|
91
|
+
if_block.p(ctx, dirty);
|
|
92
|
+
|
|
93
|
+
if (dirty & /*max, showAll*/ 17) {
|
|
94
|
+
transition_in(if_block, 1);
|
|
95
|
+
}
|
|
96
|
+
} else {
|
|
97
|
+
if_block = create_if_block_1(ctx);
|
|
98
|
+
if_block.c();
|
|
99
|
+
transition_in(if_block, 1);
|
|
100
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
101
|
+
}
|
|
102
|
+
} else if (if_block) {
|
|
103
|
+
group_outros();
|
|
104
|
+
|
|
105
|
+
transition_out(if_block, 1, 1, () => {
|
|
106
|
+
if_block = null;
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
check_outros();
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
i(local) {
|
|
113
|
+
if (current) return;
|
|
114
|
+
transition_in(if_block);
|
|
115
|
+
current = true;
|
|
116
|
+
},
|
|
117
|
+
o(local) {
|
|
118
|
+
transition_out(if_block);
|
|
119
|
+
current = false;
|
|
120
|
+
},
|
|
121
|
+
d(detaching) {
|
|
122
|
+
if (if_block) if_block.d(detaching);
|
|
123
|
+
if (detaching) detach(if_block_anchor);
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// (44:2) {#if max && parsedItems.length > max}
|
|
129
|
+
function create_if_block(ctx) {
|
|
130
|
+
let div;
|
|
131
|
+
let tag;
|
|
132
|
+
let current;
|
|
133
|
+
|
|
134
|
+
tag = new Tag_nested({
|
|
135
|
+
props: {
|
|
136
|
+
id: "id-tag",
|
|
137
|
+
label: /*showAll*/ ctx[4] && !/*stateless*/ ctx[3]
|
|
138
|
+
? /*reducelabel*/ ctx[2]
|
|
139
|
+
: /*showlabel*/ ctx[1],
|
|
140
|
+
size: "s",
|
|
141
|
+
type: "link",
|
|
142
|
+
class: "mc-taglist__showhide",
|
|
143
|
+
dark: false,
|
|
144
|
+
disabled: false,
|
|
145
|
+
name: ""
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
tag.$on("tag-selected", /*onExtend*/ ctx[7]);
|
|
150
|
+
|
|
151
|
+
return {
|
|
152
|
+
c() {
|
|
153
|
+
div = element("div");
|
|
154
|
+
create_component(tag.$$.fragment);
|
|
155
|
+
attr(div, "class", "tag-selected");
|
|
156
|
+
},
|
|
157
|
+
m(target, anchor) {
|
|
158
|
+
insert(target, div, anchor);
|
|
159
|
+
mount_component(tag, div, null);
|
|
160
|
+
current = true;
|
|
161
|
+
},
|
|
162
|
+
p(ctx, dirty) {
|
|
163
|
+
const tag_changes = {};
|
|
164
|
+
|
|
165
|
+
if (dirty & /*showAll, stateless, reducelabel, showlabel*/ 30) tag_changes.label = /*showAll*/ ctx[4] && !/*stateless*/ ctx[3]
|
|
166
|
+
? /*reducelabel*/ ctx[2]
|
|
167
|
+
: /*showlabel*/ ctx[1];
|
|
168
|
+
|
|
169
|
+
tag.$set(tag_changes);
|
|
170
|
+
},
|
|
171
|
+
i(local) {
|
|
172
|
+
if (current) return;
|
|
173
|
+
transition_in(tag.$$.fragment, local);
|
|
174
|
+
current = true;
|
|
175
|
+
},
|
|
176
|
+
o(local) {
|
|
177
|
+
transition_out(tag.$$.fragment, local);
|
|
178
|
+
current = false;
|
|
179
|
+
},
|
|
180
|
+
d(detaching) {
|
|
181
|
+
if (detaching) detach(div);
|
|
182
|
+
destroy_component(tag);
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function create_fragment(ctx) {
|
|
188
|
+
let div;
|
|
189
|
+
let t;
|
|
190
|
+
let current;
|
|
191
|
+
let each_value = /*parsedItems*/ ctx[5];
|
|
192
|
+
let each_blocks = [];
|
|
193
|
+
|
|
194
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
195
|
+
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
const out = i => transition_out(each_blocks[i], 1, 1, () => {
|
|
199
|
+
each_blocks[i] = null;
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
let if_block = /*max*/ ctx[0] && /*parsedItems*/ ctx[5].length > /*max*/ ctx[0] && create_if_block(ctx);
|
|
203
|
+
|
|
204
|
+
return {
|
|
205
|
+
c() {
|
|
206
|
+
div = element("div");
|
|
207
|
+
|
|
208
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
209
|
+
each_blocks[i].c();
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
t = space();
|
|
213
|
+
if (if_block) if_block.c();
|
|
214
|
+
this.c = noop;
|
|
215
|
+
attr(div, "class", "mc-taglist");
|
|
216
|
+
},
|
|
217
|
+
m(target, anchor) {
|
|
218
|
+
insert(target, div, anchor);
|
|
219
|
+
|
|
220
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
221
|
+
if (each_blocks[i]) {
|
|
222
|
+
each_blocks[i].m(div, null);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
append(div, t);
|
|
227
|
+
if (if_block) if_block.m(div, null);
|
|
228
|
+
current = true;
|
|
229
|
+
},
|
|
230
|
+
p(ctx, [dirty]) {
|
|
231
|
+
if (dirty & /*parsedItems, onRemoved, max, showAll*/ 113) {
|
|
232
|
+
each_value = /*parsedItems*/ ctx[5];
|
|
233
|
+
let i;
|
|
234
|
+
|
|
235
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
236
|
+
const child_ctx = get_each_context(ctx, each_value, i);
|
|
237
|
+
|
|
238
|
+
if (each_blocks[i]) {
|
|
239
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
240
|
+
transition_in(each_blocks[i], 1);
|
|
241
|
+
} else {
|
|
242
|
+
each_blocks[i] = create_each_block(child_ctx);
|
|
243
|
+
each_blocks[i].c();
|
|
244
|
+
transition_in(each_blocks[i], 1);
|
|
245
|
+
each_blocks[i].m(div, t);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
group_outros();
|
|
250
|
+
|
|
251
|
+
for (i = each_value.length; i < each_blocks.length; i += 1) {
|
|
252
|
+
out(i);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
check_outros();
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
if (/*max*/ ctx[0] && /*parsedItems*/ ctx[5].length > /*max*/ ctx[0]) {
|
|
259
|
+
if (if_block) {
|
|
260
|
+
if_block.p(ctx, dirty);
|
|
261
|
+
|
|
262
|
+
if (dirty & /*max, parsedItems*/ 33) {
|
|
263
|
+
transition_in(if_block, 1);
|
|
264
|
+
}
|
|
265
|
+
} else {
|
|
266
|
+
if_block = create_if_block(ctx);
|
|
267
|
+
if_block.c();
|
|
268
|
+
transition_in(if_block, 1);
|
|
269
|
+
if_block.m(div, null);
|
|
270
|
+
}
|
|
271
|
+
} else if (if_block) {
|
|
272
|
+
group_outros();
|
|
273
|
+
|
|
274
|
+
transition_out(if_block, 1, 1, () => {
|
|
275
|
+
if_block = null;
|
|
276
|
+
});
|
|
277
|
+
|
|
278
|
+
check_outros();
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
i(local) {
|
|
282
|
+
if (current) return;
|
|
283
|
+
|
|
284
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
285
|
+
transition_in(each_blocks[i]);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
transition_in(if_block);
|
|
289
|
+
current = true;
|
|
290
|
+
},
|
|
291
|
+
o(local) {
|
|
292
|
+
each_blocks = each_blocks.filter(Boolean);
|
|
293
|
+
|
|
294
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
295
|
+
transition_out(each_blocks[i]);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
transition_out(if_block);
|
|
299
|
+
current = false;
|
|
300
|
+
},
|
|
301
|
+
d(detaching) {
|
|
302
|
+
if (detaching) detach(div);
|
|
303
|
+
destroy_each(each_blocks, detaching);
|
|
304
|
+
if (if_block) if_block.d();
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
function instance($$self, $$props, $$invalidate) {
|
|
310
|
+
let parsedItems;
|
|
311
|
+
let showAll;
|
|
312
|
+
let attributes;
|
|
313
|
+
const omit_props_names = ["items","max","showlabel","reducelabel","showall","stateless"];
|
|
314
|
+
let $$restProps = compute_rest_props($$props, omit_props_names);
|
|
315
|
+
let { items } = $$props;
|
|
316
|
+
let { max = 10 } = $$props;
|
|
317
|
+
let { showlabel = 'Show all' } = $$props;
|
|
318
|
+
let { reducelabel = 'Reduce' } = $$props;
|
|
319
|
+
let { showall = false } = $$props;
|
|
320
|
+
let { stateless = false } = $$props;
|
|
321
|
+
let eventHandler = new EventHandler();
|
|
322
|
+
|
|
323
|
+
function onRemoved(item) {
|
|
324
|
+
eventHandler.dispatch('tag-removed', item);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
function onExtend() {
|
|
328
|
+
if (stateless) eventHandler.dispatch(showAll ? 'reduce' : 'show-all', parsedItems); else $$invalidate(4, showAll = !showAll);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
const tag_removed_handler = item => onRemoved(item);
|
|
332
|
+
|
|
333
|
+
$$self.$$set = $$new_props => {
|
|
334
|
+
$$props = assign(assign({}, $$props), exclude_internal_props($$new_props));
|
|
335
|
+
$$invalidate(13, $$restProps = compute_rest_props($$props, omit_props_names));
|
|
336
|
+
if ('items' in $$new_props) $$invalidate(8, items = $$new_props.items);
|
|
337
|
+
if ('max' in $$new_props) $$invalidate(0, max = $$new_props.max);
|
|
338
|
+
if ('showlabel' in $$new_props) $$invalidate(1, showlabel = $$new_props.showlabel);
|
|
339
|
+
if ('reducelabel' in $$new_props) $$invalidate(2, reducelabel = $$new_props.reducelabel);
|
|
340
|
+
if ('showall' in $$new_props) $$invalidate(9, showall = $$new_props.showall);
|
|
341
|
+
if ('stateless' in $$new_props) $$invalidate(3, stateless = $$new_props.stateless);
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
$$self.$$.update = () => {
|
|
345
|
+
if ($$self.$$.dirty & /*items*/ 256) {
|
|
346
|
+
$$invalidate(5, parsedItems = items ? JSON.parse(items) : []);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
if ($$self.$$.dirty & /*showall*/ 512) {
|
|
350
|
+
$$invalidate(4, showAll = showall ? true : false);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
$$invalidate(10, attributes = Object.assign({}, $$restProps));
|
|
354
|
+
|
|
355
|
+
if ($$self.$$.dirty & /*attributes*/ 1024) {
|
|
356
|
+
delete attributes.class;
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
return [
|
|
361
|
+
max,
|
|
362
|
+
showlabel,
|
|
363
|
+
reducelabel,
|
|
364
|
+
stateless,
|
|
365
|
+
showAll,
|
|
366
|
+
parsedItems,
|
|
367
|
+
onRemoved,
|
|
368
|
+
onExtend,
|
|
369
|
+
items,
|
|
370
|
+
showall,
|
|
371
|
+
attributes,
|
|
372
|
+
tag_removed_handler
|
|
373
|
+
];
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
class TagList extends SvelteElement {
|
|
377
|
+
constructor(options) {
|
|
378
|
+
super();
|
|
379
|
+
const style = document.createElement('style');
|
|
380
|
+
style.textContent = `.mc-taglist{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:1rem}`;
|
|
381
|
+
this.shadowRoot.appendChild(style);
|
|
382
|
+
|
|
383
|
+
init(
|
|
384
|
+
this,
|
|
385
|
+
{
|
|
386
|
+
target: this.shadowRoot,
|
|
387
|
+
props: attribute_to_object(this.attributes),
|
|
388
|
+
customElement: true
|
|
389
|
+
},
|
|
390
|
+
instance,
|
|
391
|
+
create_fragment,
|
|
392
|
+
safe_not_equal,
|
|
393
|
+
{
|
|
394
|
+
items: 8,
|
|
395
|
+
max: 0,
|
|
396
|
+
showlabel: 1,
|
|
397
|
+
reducelabel: 2,
|
|
398
|
+
showall: 9,
|
|
399
|
+
stateless: 3
|
|
400
|
+
},
|
|
401
|
+
null
|
|
402
|
+
);
|
|
403
|
+
|
|
404
|
+
if (options) {
|
|
405
|
+
if (options.target) {
|
|
406
|
+
insert(options.target, this, options.anchor);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
if (options.props) {
|
|
410
|
+
this.$set(options.props);
|
|
411
|
+
flush();
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
static get observedAttributes() {
|
|
417
|
+
return ["items", "max", "showlabel", "reducelabel", "showall", "stateless"];
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
get items() {
|
|
421
|
+
return this.$$.ctx[8];
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
set items(items) {
|
|
425
|
+
this.$$set({ items });
|
|
426
|
+
flush();
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
get max() {
|
|
430
|
+
return this.$$.ctx[0];
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
set max(max) {
|
|
434
|
+
this.$$set({ max });
|
|
435
|
+
flush();
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
get showlabel() {
|
|
439
|
+
return this.$$.ctx[1];
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
set showlabel(showlabel) {
|
|
443
|
+
this.$$set({ showlabel });
|
|
444
|
+
flush();
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
get reducelabel() {
|
|
448
|
+
return this.$$.ctx[2];
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
set reducelabel(reducelabel) {
|
|
452
|
+
this.$$set({ reducelabel });
|
|
453
|
+
flush();
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
get showall() {
|
|
457
|
+
return this.$$.ctx[9];
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
set showall(showall) {
|
|
461
|
+
this.$$set({ showall });
|
|
462
|
+
flush();
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
get stateless() {
|
|
466
|
+
return this.$$.ctx[3];
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
set stateless(stateless) {
|
|
470
|
+
this.$$set({ stateless });
|
|
471
|
+
flush();
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export { TagList as default };
|
|
2
476
|
//# sourceMappingURL=TagList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagList.js","sources":["../../../src/components/taglist/TagList.svelte"],"sourcesContent":["<svelte:options tag={null} />\n\n<script lang=\"ts\">\n import { EventHandler } from '../../utilities/EventHandler';\n import Tag from '../tag/Tag.nested.svelte';\n import type { TagElem } from '../tag/tag.types';\n export let items: string;\n export let max = 10;\n export let showlabel = 'Show all';\n export let reducelabel = 'Reduce';\n export let showall = false;\n export let stateless = false;\n\n $: parsedItems = items ? (JSON.parse(items) as TagElem[]) : [];\n $: showAll = showall ? true : false;\n $: attributes = { ...$$restProps };\n $: delete attributes.class;\n\n let eventHandler = new EventHandler();\n\n function onRemoved(item: any): void {\n eventHandler.dispatch('tag-removed', item);\n }\n\n function onExtend(): void {\n if (stateless)\n eventHandler.dispatch(showAll ? 'reduce' : 'show-all', parsedItems);\n else showAll = !showAll;\n }\n</script>\n\n<div class=\"mc-taglist\">\n {#each parsedItems as item, index}\n {#if index < max || showAll}\n <div class=\"tag-selected\">\n <Tag\n id={item.id}\n label={item.label}\n size={'s'}\n type=\"removable\"\n dark={false}\n disabled={false}\n selected={false}\n on:tag-removed={() => onRemoved(item)}\n />\n </div>\n {/if}\n {/each}\n {#if max && parsedItems.length > max}\n <div class=\"tag-selected\">\n <Tag\n id=\"id-tag\"\n label={showAll && !stateless ? reducelabel : showlabel}\n size=\"s\"\n type=\"link\"\n class=\"mc-taglist__showhide\"\n dark={false}\n disabled={false}\n name=\"\"\n on:tag-selected={onExtend}\n />\n </div>\n {/if}\n</div>\n\n<style lang=\"scss\">\n @import '@mozaic-ds/styles/settings-tools/_all-settings';\n .mc-taglist {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n gap: $mu100;\n\n &__showhide {\n cursor: pointer;\n }\n }\n</style>\n"],"names":[
|
|
1
|
+
{"version":3,"file":"TagList.js","sources":["../../../src/components/taglist/TagList.svelte"],"sourcesContent":["<svelte:options tag={null} />\n\n<script lang=\"ts\">\n import { EventHandler } from '../../utilities/EventHandler';\n import Tag from '../tag/Tag.nested.svelte';\n import type { TagElem } from '../tag/tag.types';\n export let items: string;\n export let max = 10;\n export let showlabel = 'Show all';\n export let reducelabel = 'Reduce';\n export let showall = false;\n export let stateless = false;\n\n $: parsedItems = items ? (JSON.parse(items) as TagElem[]) : [];\n $: showAll = showall ? true : false;\n $: attributes = { ...$$restProps };\n $: delete attributes.class;\n\n let eventHandler = new EventHandler();\n\n function onRemoved(item: any): void {\n eventHandler.dispatch('tag-removed', item);\n }\n\n function onExtend(): void {\n if (stateless)\n eventHandler.dispatch(showAll ? 'reduce' : 'show-all', parsedItems);\n else showAll = !showAll;\n }\n</script>\n\n<div class=\"mc-taglist\">\n {#each parsedItems as item, index}\n {#if index < max || showAll}\n <div class=\"tag-selected\">\n <Tag\n id={item.id}\n label={item.label}\n size={'s'}\n type=\"removable\"\n dark={false}\n disabled={false}\n selected={false}\n on:tag-removed={() => onRemoved(item)}\n />\n </div>\n {/if}\n {/each}\n {#if max && parsedItems.length > max}\n <div class=\"tag-selected\">\n <Tag\n id=\"id-tag\"\n label={showAll && !stateless ? reducelabel : showlabel}\n size=\"s\"\n type=\"link\"\n class=\"mc-taglist__showhide\"\n dark={false}\n disabled={false}\n name=\"\"\n on:tag-selected={onExtend}\n />\n </div>\n {/if}\n</div>\n\n<style lang=\"scss\">\n @import '@mozaic-ds/styles/settings-tools/_all-settings';\n .mc-taglist {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n gap: $mu100;\n\n &__showhide {\n cursor: pointer;\n }\n }\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAoCc,IAAA,EAAA,WAAA,GAAI,KAAC,EAAE;AACJ,IAAA,KAAA,WAAA,GAAI,KAAC,KAAK;UACX,GAAG;;UAEH,KAAK;cACD,KAAK;cACL,KAAK;;;;;;;;;;;;;GARnB,MAWK,CAAA,MAAA,EAAA,GAAA,EAAA,MAAA,CAAA,CAAA;;;;;;;AATG,GAAA,IAAA,KAAA,mBAAA,EAAA,EAAA,WAAA,CAAA,EAAA,YAAA,GAAI,KAAC,EAAE,CAAA;AACJ,GAAA,IAAA,KAAA,mBAAA,EAAA,EAAA,WAAA,CAAA,KAAA,YAAA,GAAI,KAAC,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;;;;2BAJlB,GAAK,CAAA,EAAA,CAAA,WAAG,GAAG,CAAA,CAAA,CAAA,gBAAI,GAAO,CAAA,CAAA,CAAA,KAAA,iBAAA,CAAA,GAAA,CAAA,CAAA;;;;;;;;;;;;;iBAAtB,GAAK,CAAA,EAAA,CAAA,WAAG,GAAG,CAAA,CAAA,CAAA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