@selfdecode/sd-component-library 4.0.79 → 4.0.80
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 +17 -15
- package/lib/components/accordions/base-accordion/base-accordian.stories.d.ts +7 -0
- package/lib/components/accordions/sublist-accordion/sublist-accordian.stories.d.ts +8 -0
- package/lib/components/badges/primary-badge/primary-badge.stories.d.ts +6 -0
- package/lib/components/badges/secondary-badge/secondary-badge.stories.d.ts +6 -0
- package/lib/components/boolean-feedback/thumbs-feedback/thumbs-feedback.stories.d.ts +7 -0
- package/lib/components/boxes/outside-click-box/outside-click-box.stories.d.ts +7 -0
- package/lib/components/breadcrumbs/primary-breadcrumb/primary-breadcrumb.stories.d.ts +6 -0
- package/lib/components/breadcrumbs/secondary-breadcrumb/secondary-breadcrumb.stories.d.ts +6 -0
- package/lib/components/buttons/cta/primary-blue-button/primary-blue-button.stories.d.ts +6 -0
- package/lib/components/buttons/cta/primary-orange-button/primary-orange-button.stories.d.ts +7 -0
- package/lib/components/buttons/cta/secondary-blue-button/secondary-blue-button.stories.d.ts +9 -0
- package/lib/components/buttons/cta/secondary-orange-button/secondary-orange-button.stories.d.ts +6 -0
- package/lib/components/buttons/cta/text-cta-button/text-cta-button.stories.d.ts +6 -0
- package/lib/components/buttons/logos/powered-by-grey-logo/powered-by-grey-logo.stories.d.ts +6 -0
- package/lib/components/buttons/logos/powered-by-white-logo/powered-by-grey-logo.stories.d.ts +6 -0
- package/lib/components/buttons/logos/sd-white-logo/sd-white-logo.stories.d.ts +6 -0
- package/lib/components/buttons/partials/circle-button/circle-button.stories.d.ts +6 -0
- package/lib/components/buttons/partials/icon-button/icon-button.stories.d.ts +9 -0
- package/lib/components/buttons/partials/square-button/square-button.stories.d.ts +6 -0
- package/lib/components/cards/round-card/round-card.stories.d.ts +6 -0
- package/lib/components/checkboxes/checkbox/checkbox.stories.d.ts +9 -0
- package/lib/components/checkboxes/checkbox-v2/checkbox.stories.d.ts +10 -0
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/interfaces.d.ts +1 -0
- package/lib/components/checkboxes/partial-checkbox/partial-checkbox.stories.d.ts +9 -0
- package/lib/components/checkboxes/partial-checkbox-v2/partial-checkbox-v2.stories.d.ts +10 -0
- package/lib/components/containers/layout-independend-max-width-container/layout-independend-max-width-container.stories.d.ts +6 -0
- package/lib/components/containers/section-container/section-container.stories.d.ts +6 -0
- package/lib/components/custom-scrollbar-box/custom-scrollbar-box.stories.d.ts +7 -0
- package/lib/components/dividers/horizontal-divider/horizontal-divider.stories.d.ts +6 -0
- package/lib/components/dividers/vertical-divider/vertical-divider.stories.d.ts +6 -0
- package/lib/components/feature-explanation/feature-explanation.stories.d.ts +6 -0
- package/lib/components/feedback/multiple-options-feedback/multiple-options-feedback.stories.d.ts +7 -0
- package/lib/components/feedback/yes-no-feedback-block/yes-no-feedback-block.stories.d.ts +7 -0
- package/lib/components/icons/bordered-plain-warning-circle-icon/bordered-plain-warning-circle-icon.stories.d.ts +8 -0
- package/lib/components/icons/round-bordered-star/round-bordered-star.stories.d.ts +9 -0
- package/lib/components/icons/triangular-pointer-icon/triangular-pointer-icon.stories.d.ts +6 -0
- package/lib/components/inputs/autocomplete-input/autocomplete-input.stories.d.ts +7 -0
- package/lib/components/inputs/client-portal-input/client-portal-input.stories.d.ts +8 -0
- package/lib/components/inputs/date-inputs/outlined-date-input/outlined-date-input.stories.d.ts +7 -0
- package/lib/components/inputs/date-inputs/outlined-date-range-input/outlined-date-range-input.stories.d.ts +8 -0
- package/lib/components/inputs/date-inputs/primary-date-input/primary-date-input.stories.d.ts +9 -0
- package/lib/components/inputs/date-inputs/primary-date-range-input/primary-date-range-input.stories.d.ts +7 -0
- package/lib/components/inputs/decody-question-input/decody-question-input.stories.d.ts +6 -0
- package/lib/components/inputs/multi-row-secondary-text-input/multi-row-secondary-text-input.stories.d.ts +7 -0
- package/lib/components/inputs/primary-number-input/primary-number-input.stories.d.ts +6 -0
- package/lib/components/inputs/primary-text-input/primary-number-input.stories.d.ts +7 -0
- package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.stories.d.ts +7 -0
- package/lib/components/inputs/search-input/search-input.stories.d.ts +6 -0
- package/lib/components/inputs/search-input-v2/search-input-v2.stories.d.ts +6 -0
- package/lib/components/inputs/secondary-number-input/secondary-number-input.stories.d.ts +10 -0
- package/lib/components/inputs/secondary-text-input/secondary-text-input.stories.d.ts +8 -0
- package/lib/components/links/primary-link/primary-link.stories.d.ts +7 -0
- package/lib/components/lists/primary-list/primary-list.stories.d.ts +6 -0
- package/lib/components/menus/actions-menu/actions-menu.stories.d.ts +6 -0
- package/lib/components/meters/bars-meter/bars-meter.stories.d.ts +8 -0
- package/lib/components/meters/compact-donut-gauge/compact-donut-gauge.stories.d.ts +7 -0
- package/lib/components/meters/dashed-meter/dashed-meter.stories.d.ts +7 -0
- package/lib/components/meters/donut-diagram/donut-diagram.stories.d.ts +9 -0
- package/lib/components/meters/gradient-outline-meter/gradient-outline-meter.stories.d.ts +9 -0
- package/lib/components/meters/gradient-outline-meter/small-gradient-outline-meter.stories.d.ts +9 -0
- package/lib/components/meters/linear-discrete-gauge-meter/linear-discrete-gauge-meter.stories.d.ts +6 -0
- package/lib/components/meters/linear-numeric-gauge-meter/linear-numeric-gauge-meter.stories.d.ts +6 -0
- package/lib/components/meters/multi-option-discrete-outline-meter/multi-option-discrete-outline-meter.stories.d.ts +6 -0
- package/lib/components/meters/multi-option-discrete-outline-meter/small-multi-option-discrete-outline-meter.stories.d.ts +6 -0
- package/lib/components/meters/outline-meter/outline-meter.stories.d.ts +9 -0
- package/lib/components/meters/outline-meter/small-outline-meter.stories.d.ts +9 -0
- package/lib/components/meters/people-meter/people-meter.stories.d.ts +6 -0
- package/lib/components/meters/smiley-meter-v2/small-smiley-meter-v2.stories.d.ts +7 -0
- package/lib/components/meters/smiley-meter-v2/smiley-meter-v2.stories.d.ts +7 -0
- package/lib/components/modals/primary-modal/primary-modal.stories.d.ts +8 -0
- package/lib/components/page-selectors/page-selector/page-selector.stories.d.ts +6 -0
- package/lib/components/pagination-bars/pagination-bar/pagination-bar.stories.d.ts +6 -0
- package/lib/components/pagination-bars/pagination-bar-mobile/pagination-bar-mobile.stories.d.ts +7 -0
- package/lib/components/progress-bars/line-progress-bar/line-progress-bar.stories.d.ts +6 -0
- package/lib/components/progress-bars/rounded-progress-bar/rounded-progress-bar.stories.d.ts +6 -0
- package/lib/components/progress-bars/striped-line-progress-bar/striped-line-progress-bar.stories.d.ts +6 -0
- package/lib/components/progress-steps/progress-steps.stories.d.ts +7 -0
- package/lib/components/selectors/combined-secondary-custom-selector/combined-secondary-custom-selector.stories.d.ts +7 -0
- package/lib/components/selectors/combined-secondary-selector-v2/combined-secondary-selector-v2.stories.d.ts +7 -0
- package/lib/components/selectors/compact-primary-selector/compact-primary-selector.stories.d.ts +6 -0
- package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.stories.d.ts +7 -0
- package/lib/components/selectors/custom-selector/custom-selector.stories.d.ts +7 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.stories.d.ts +8 -0
- package/lib/components/selectors/primary-selector/primary-selector.stories.d.ts +7 -0
- package/lib/components/selectors/primary-selector-v2/primary-selector-v2.stories.d.ts +7 -0
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.stories.d.ts +7 -0
- package/lib/components/selectors/secondary-selector/secondary-selector.stories.d.ts +9 -0
- package/lib/components/selectors/secondary-selector-v2/secondary-selector-v2.stories.d.ts +7 -0
- package/lib/components/selectors/selector/selector.stories.d.ts +6 -0
- package/lib/components/selectors/selector-v2/selector-v2.stories.d.ts +10 -0
- package/lib/components/selectors/tertiary-custom-selector/tertiary-custom-selector.stories.d.ts +7 -0
- package/lib/components/selectors/tertiary-selector/tertiary-selector.stories.d.ts +8 -0
- package/lib/components/selectors/tertiary-selector-v2/tertiary-selector-v2.stories.d.ts +7 -0
- package/lib/components/selectors/updated-secondary-selector-v2/updated-secondary-selector-v2.stories.d.ts +7 -0
- package/lib/components/switches/carousel-switch/carousel-switch.stories.d.ts +7 -0
- package/lib/components/switches/text-switch/text-switch.stories.d.ts +7 -0
- package/lib/components/switches/toggle-switch/toggle-switch.stories.d.ts +6 -0
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
- package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
- package/lib/components/tabs/tab-bar/tab-bar.stories.d.ts +17 -0
- package/lib/components/tabs/tab-bar-v2/tab-bar-v2.stories.d.ts +9 -0
- package/lib/components/tabs/tabbed-view-v2/tab-bar-v2.stories.d.ts +7 -0
- package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
- package/lib/components/tabs/tabs-menu/tabs-menu.stories.d.ts +29 -0
- package/lib/components/texts/base-text-v2/base-text-v2.stories.d.ts +6 -0
- package/lib/components/texts/eighteen-bold/eighteen-bold.stories.d.ts +6 -0
- package/lib/components/texts/eighteen-regular/eighteen-regular.stories.d.ts +6 -0
- package/lib/components/texts/fifty-five-sb/fifty-five-sb.stories.d.ts +6 -0
- package/lib/components/texts/fourteen-regular/fourteen-regular.stories.d.ts +6 -0
- package/lib/components/texts/fourteen-sb/fourteen-sb.stories.d.ts +6 -0
- package/lib/components/texts/fourty-bold/fourty-bold.stories.d.ts +6 -0
- package/lib/components/texts/no-translate/no-translate.stories.d.ts +6 -0
- package/lib/components/texts/responsive-text/responsive-text.stories.d.ts +6 -0
- package/lib/components/texts/responsive-text-v2/responsive-text-v2.stories.d.ts +6 -0
- package/lib/components/texts/sixteen-regular/sixteen-regular.stories.d.ts +6 -0
- package/lib/components/texts/sixteen-sb/sixteen-sb.stories.d.ts +6 -0
- package/lib/components/texts/ten-sb/ten-sb.stories.d.ts +6 -0
- package/lib/components/texts/thirteen-bold/thirteen-bold.stories.d.ts +6 -0
- package/lib/components/texts/thirteen-regular/thirteen-regular.stories.d.ts +6 -0
- package/lib/components/texts/thirteen-sb/thirteen-sb.stories.d.ts +6 -0
- package/lib/components/texts/thirty-two-bold/thirty-two-bold.stories.d.ts +6 -0
- package/lib/components/texts/thirty-two-regular/thirty-two-regular.stories.d.ts +6 -0
- package/lib/components/texts/twelve-regular/twelve-regular.stories.d.ts +6 -0
- package/lib/components/texts/twelve-sb/twelve-regular.stories.d.ts +6 -0
- package/lib/components/texts/twenty-four-bold/twenty-four-bold.stories.d.ts +6 -0
- package/lib/components/texts/twenty-four-regular/twenty-four-regular.stories.d.ts +6 -0
- package/lib/components/tooltips/actions-tooltip/actions-tooltip.stories.d.ts +6 -0
- package/lib/components/tooltips/primary-info-tooltip/primary-info-tooltip.stories.d.ts +6 -0
- package/lib/components/tooltips/react-element-tooltip/react-element-tooltip.stories.d.ts +6 -0
- package/lib/components/tooltips/tooltip-with-pointer/tooltip-with-pointer.stories.d.ts +8 -0
- package/lib/sd-component-library101.js +4 -4
- package/lib/sd-component-library106.js +1 -1
- package/lib/sd-component-library107.js +1 -1
- package/lib/sd-component-library112.js +1 -1
- package/lib/sd-component-library113.js +2 -2
- package/lib/sd-component-library115.js +1 -1
- package/lib/sd-component-library116.js +1 -1
- package/lib/sd-component-library121.js +2 -2
- package/lib/sd-component-library122.js +2 -2
- package/lib/sd-component-library124.js +1 -1
- package/lib/sd-component-library127.js +3 -3
- package/lib/sd-component-library128.js +1 -1
- package/lib/sd-component-library130.js +2 -2
- package/lib/sd-component-library15.js +1 -1
- package/lib/sd-component-library161.js +1 -1
- package/lib/sd-component-library162.js +1 -1
- package/lib/sd-component-library165.js +1 -1
- package/lib/sd-component-library166.js +4 -4
- package/lib/sd-component-library167.js +1 -1
- package/lib/sd-component-library190.js +3 -3
- package/lib/sd-component-library193.js +2 -60
- package/lib/sd-component-library193.js.map +1 -1
- package/lib/sd-component-library194.js +30 -2
- package/lib/sd-component-library194.js.map +1 -1
- package/lib/sd-component-library195.js +590 -21
- package/lib/sd-component-library195.js.map +1 -1
- package/lib/sd-component-library196.js +56 -595
- package/lib/sd-component-library196.js.map +1 -1
- package/lib/sd-component-library197.js +3 -57
- package/lib/sd-component-library197.js.map +1 -1
- package/lib/sd-component-library198.js +55 -23
- package/lib/sd-component-library198.js.map +1 -1
- package/lib/sd-component-library199.js +20 -14
- package/lib/sd-component-library199.js.map +1 -1
- package/lib/sd-component-library200.js +19 -5
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library202.js +5 -3
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +21 -20
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library205.js +19 -62
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +3 -23
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +3 -3
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +64 -3
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +23 -31
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +40 -19
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +127 -18
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +13 -28
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +14 -33
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +3 -129
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +3 -43
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +3 -47
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +51 -7
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +64 -20
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +3 -109
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +44 -45
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +15 -23
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +20 -47
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +3 -64
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +31 -43
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +19 -13
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +17 -45
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +26 -39
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +33 -27
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +3 -75
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library23.js +1 -1
- package/lib/sd-component-library230.js +128 -20
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +43 -20
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +47 -2
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +7 -25
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +62 -19
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +43 -3
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +13 -3
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +2 -40
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +2 -129
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +21 -13
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +109 -14
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +47 -3
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +24 -3
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +48 -60
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +48 -3
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +75 -3
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +34 -39
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +27 -52
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +19 -323
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +20 -5
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +1 -1
- package/lib/sd-component-library250.js +2 -29
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +325 -3
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +5 -24
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +29 -3
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +3 -16
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +17 -18
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library256.js +3 -22
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library257.js +25 -30
- package/lib/sd-component-library257.js.map +1 -1
- package/lib/sd-component-library258.js +21 -50
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +30 -131
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library260.js +39 -62
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +117 -62
- package/lib/sd-component-library261.js.map +1 -1
- package/lib/sd-component-library262.js +74 -30
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +70 -15
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +25 -120
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +16 -117
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +125 -10
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +111 -39
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +10 -9
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +48 -49
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +8 -89
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +48 -89
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +89 -48
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +92 -2
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +49 -2
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library275.js +2 -3
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +2 -3
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +70 -3
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +102 -6
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +106 -10
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +10 -2
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +6 -2
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library282.js +2 -70
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library283.js +35 -101
- package/lib/sd-component-library283.js.map +1 -1
- package/lib/sd-component-library284.js +14 -106
- package/lib/sd-component-library284.js.map +1 -1
- package/lib/sd-component-library285.js +3 -2
- package/lib/sd-component-library285.js.map +1 -1
- package/lib/sd-component-library286.js +3 -36
- package/lib/sd-component-library286.js.map +1 -1
- package/lib/sd-component-library287.js +3 -14
- package/lib/sd-component-library287.js.map +1 -1
- package/lib/sd-component-library289.js +3 -3
- package/lib/sd-component-library290.js +4 -4
- package/lib/sd-component-library291.js +1 -1
- package/lib/sd-component-library292.js +58 -2
- package/lib/sd-component-library292.js.map +1 -1
- package/lib/sd-component-library293.js +25 -76
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library294.js +50 -92
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +90 -50
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +25 -9
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +35 -5
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +5 -53
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library299.js +4 -9
- package/lib/sd-component-library299.js.map +1 -1
- package/lib/sd-component-library300.js +8 -4
- package/lib/sd-component-library300.js.map +1 -1
- package/lib/sd-component-library301.js +5 -4
- package/lib/sd-component-library301.js.map +1 -1
- package/lib/sd-component-library302.js +4 -19
- package/lib/sd-component-library302.js.map +1 -1
- package/lib/sd-component-library303.js +19 -3
- package/lib/sd-component-library303.js.map +1 -1
- package/lib/sd-component-library304.js +3 -2
- package/lib/sd-component-library304.js.map +1 -1
- package/lib/sd-component-library305.js +34 -2
- package/lib/sd-component-library305.js.map +1 -1
- package/lib/sd-component-library306.js +2 -6
- package/lib/sd-component-library306.js.map +1 -1
- package/lib/sd-component-library307.js +76 -34
- package/lib/sd-component-library307.js.map +1 -1
- package/lib/sd-component-library308.js +93 -25
- package/lib/sd-component-library308.js.map +1 -1
- package/lib/sd-component-library309.js +50 -90
- package/lib/sd-component-library309.js.map +1 -1
- package/lib/sd-component-library310.js +9 -51
- package/lib/sd-component-library310.js.map +1 -1
- package/lib/sd-component-library311.js +5 -5
- package/lib/sd-component-library311.js.map +1 -1
- package/lib/sd-component-library312.js +53 -4
- package/lib/sd-component-library312.js.map +1 -1
- package/lib/sd-component-library313.js +20 -49
- package/lib/sd-component-library313.js.map +1 -1
- package/lib/sd-component-library314.js +15 -20
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +6 -34
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library317.js +31 -28
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library318.js +2 -21
- package/lib/sd-component-library318.js.map +1 -1
- package/lib/sd-component-library319.js +2 -32
- package/lib/sd-component-library319.js.map +1 -1
- package/lib/sd-component-library5.js +1 -1
- package/lib/sd-component-library52.js +3 -3
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library54.js +2 -2
- package/lib/sd-component-library55.js +1 -1
- package/lib/sd-component-library56.js +2 -2
- package/lib/sd-component-library57.js +5 -5
- package/lib/sd-component-library58.js +1 -1
- package/lib/sd-component-library59.js +2 -2
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library60.js +1 -1
- package/lib/sd-component-library65.js +2 -2
- package/lib/sd-component-library67.js +3 -3
- package/lib/sd-component-library69.js +2 -2
- package/lib/sd-component-library70.js +3 -3
- package/lib/sd-component-library71.js +1 -1
- package/lib/sd-component-library72.js +1 -1
- package/lib/sd-component-library74.js +1 -1
- package/lib/sd-component-library75.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library81.js +6 -6
- package/lib/sd-component-library82.js +2 -2
- package/lib/sd-component-library83.js +1 -1
- package/lib/sd-component-library84.js +5 -5
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library87.js +6 -6
- package/lib/sd-component-library88.js +1 -1
- package/lib/sd-component-library89.js +7 -7
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library93.js +2 -2
- package/lib/sd-component-library94.js +3 -3
- package/lib/sd-component-library95.js +2 -2
- package/lib/sd-component-library96.js +3 -3
- package/lib/sd-component-library97.js +2 -2
- package/lib/sd-component-library99.js +4 -4
- package/package.json +20 -6
|
@@ -1,23 +1,132 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { commonjsGlobal as a } from "./sd-component-library281.js";
|
|
2
|
+
import { __exports as h } from "./sd-component-library282.js";
|
|
3
|
+
import d from "react";
|
|
4
|
+
import { f as g } from "./sd-component-library283.js";
|
|
5
|
+
import { p as y } from "./sd-component-library284.js";
|
|
6
|
+
var v = a && a.__extends || function() {
|
|
7
|
+
var t = function(r, e) {
|
|
8
|
+
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, o) {
|
|
9
|
+
n.__proto__ = o;
|
|
10
|
+
} || function(n, o) {
|
|
11
|
+
for (var i in o)
|
|
12
|
+
Object.prototype.hasOwnProperty.call(o, i) && (n[i] = o[i]);
|
|
13
|
+
}, t(r, e);
|
|
11
14
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
return function(r, e) {
|
|
16
|
+
if (typeof e != "function" && e !== null)
|
|
17
|
+
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
18
|
+
t(r, e);
|
|
19
|
+
function n() {
|
|
20
|
+
this.constructor = r;
|
|
21
|
+
}
|
|
22
|
+
r.prototype = e === null ? Object.create(e) : (n.prototype = e.prototype, new n());
|
|
23
|
+
};
|
|
24
|
+
}(), p = a && a.__assign || function() {
|
|
25
|
+
return p = Object.assign || function(t) {
|
|
26
|
+
for (var r, e = 1, n = arguments.length; e < n; e++) {
|
|
27
|
+
r = arguments[e];
|
|
28
|
+
for (var o in r)
|
|
29
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
30
|
+
}
|
|
31
|
+
return t;
|
|
32
|
+
}, p.apply(this, arguments);
|
|
33
|
+
}, b = a && a.__createBinding || (Object.create ? function(t, r, e, n) {
|
|
34
|
+
n === void 0 && (n = e), Object.defineProperty(t, n, { enumerable: !0, get: function() {
|
|
35
|
+
return r[e];
|
|
36
|
+
} });
|
|
37
|
+
} : function(t, r, e, n) {
|
|
38
|
+
n === void 0 && (n = e), t[n] = r[e];
|
|
39
|
+
}), O = a && a.__setModuleDefault || (Object.create ? function(t, r) {
|
|
40
|
+
Object.defineProperty(t, "default", { enumerable: !0, value: r });
|
|
41
|
+
} : function(t, r) {
|
|
42
|
+
t.default = r;
|
|
43
|
+
}), m = a && a.__importStar || function(t) {
|
|
44
|
+
if (t && t.__esModule)
|
|
45
|
+
return t;
|
|
46
|
+
var r = {};
|
|
47
|
+
if (t != null)
|
|
48
|
+
for (var e in t)
|
|
49
|
+
e !== "default" && Object.prototype.hasOwnProperty.call(t, e) && b(r, t, e);
|
|
50
|
+
return O(r, t), r;
|
|
51
|
+
}, j = a && a.__rest || function(t, r) {
|
|
52
|
+
var e = {};
|
|
53
|
+
for (var n in t)
|
|
54
|
+
Object.prototype.hasOwnProperty.call(t, n) && r.indexOf(n) < 0 && (e[n] = t[n]);
|
|
55
|
+
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
56
|
+
for (var o = 0, n = Object.getOwnPropertySymbols(t); o < n.length; o++)
|
|
57
|
+
r.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[o]) && (e[n[o]] = t[n[o]]);
|
|
58
|
+
return e;
|
|
59
|
+
}, R = a && a.__importDefault || function(t) {
|
|
60
|
+
return t && t.__esModule ? t : { default: t };
|
|
15
61
|
};
|
|
62
|
+
Object.defineProperty(h, "__esModule", { value: !0 });
|
|
63
|
+
var f = m(d), C = R(g), l = m(y);
|
|
64
|
+
function c(t) {
|
|
65
|
+
return t && t.replace(/ |\u202F|\u00A0/g, " ");
|
|
66
|
+
}
|
|
67
|
+
function E(t) {
|
|
68
|
+
var r = document.createTextNode("");
|
|
69
|
+
t.appendChild(r);
|
|
70
|
+
var e = document.activeElement === t;
|
|
71
|
+
if (r !== null && r.nodeValue !== null && e) {
|
|
72
|
+
var n = window.getSelection();
|
|
73
|
+
if (n !== null) {
|
|
74
|
+
var o = document.createRange();
|
|
75
|
+
o.setStart(r, r.nodeValue.length), o.collapse(!0), n.removeAllRanges(), n.addRange(o);
|
|
76
|
+
}
|
|
77
|
+
t instanceof HTMLElement && t.focus();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
var w = (
|
|
81
|
+
/** @class */
|
|
82
|
+
function(t) {
|
|
83
|
+
v(r, t);
|
|
84
|
+
function r() {
|
|
85
|
+
var e = t !== null && t.apply(this, arguments) || this;
|
|
86
|
+
return e.lastHtml = e.props.html, e.el = typeof e.props.innerRef == "function" ? { current: null } : f.createRef(), e.getEl = function() {
|
|
87
|
+
return (e.props.innerRef && typeof e.props.innerRef != "function" ? e.props.innerRef : e.el).current;
|
|
88
|
+
}, e.emitChange = function(n) {
|
|
89
|
+
var o = e.getEl();
|
|
90
|
+
if (o) {
|
|
91
|
+
var i = o.innerHTML;
|
|
92
|
+
if (e.props.onChange && i !== e.lastHtml) {
|
|
93
|
+
var u = Object.assign({}, n, {
|
|
94
|
+
target: {
|
|
95
|
+
value: i
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
e.props.onChange(u);
|
|
99
|
+
}
|
|
100
|
+
e.lastHtml = i;
|
|
101
|
+
}
|
|
102
|
+
}, e;
|
|
103
|
+
}
|
|
104
|
+
return r.prototype.render = function() {
|
|
105
|
+
var e = this, n = this.props, o = n.tagName, i = n.html, u = n.innerRef, _ = j(n, ["tagName", "html", "innerRef"]);
|
|
106
|
+
return f.createElement(o || "div", p(p({}, _), { ref: typeof u == "function" ? function(s) {
|
|
107
|
+
u(s), e.el.current = s;
|
|
108
|
+
} : u || this.el, onInput: this.emitChange, onBlur: this.props.onBlur || this.emitChange, onKeyUp: this.props.onKeyUp || this.emitChange, onKeyDown: this.props.onKeyDown || this.emitChange, contentEditable: !this.props.disabled, dangerouslySetInnerHTML: { __html: i } }), this.props.children);
|
|
109
|
+
}, r.prototype.shouldComponentUpdate = function(e) {
|
|
110
|
+
var n = this.props, o = this.getEl();
|
|
111
|
+
return !o || c(e.html) !== c(o.innerHTML) ? !0 : n.disabled !== e.disabled || n.tagName !== e.tagName || n.className !== e.className || n.innerRef !== e.innerRef || n.placeholder !== e.placeholder || !C.default(n.style, e.style);
|
|
112
|
+
}, r.prototype.componentDidUpdate = function() {
|
|
113
|
+
var e = this.getEl();
|
|
114
|
+
e && (this.props.html !== e.innerHTML && (e.innerHTML = this.props.html), this.lastHtml = this.props.html, E(e));
|
|
115
|
+
}, r.propTypes = {
|
|
116
|
+
html: l.string.isRequired,
|
|
117
|
+
onChange: l.func,
|
|
118
|
+
disabled: l.bool,
|
|
119
|
+
tagName: l.string,
|
|
120
|
+
className: l.string,
|
|
121
|
+
style: l.object,
|
|
122
|
+
innerRef: l.oneOfType([
|
|
123
|
+
l.object,
|
|
124
|
+
l.func
|
|
125
|
+
])
|
|
126
|
+
}, r;
|
|
127
|
+
}(f.Component)
|
|
128
|
+
), D = h.default = w;
|
|
16
129
|
export {
|
|
17
|
-
|
|
18
|
-
u as areColorsValid,
|
|
19
|
-
R as getIsHorizontal,
|
|
20
|
-
A as getRangeProperties,
|
|
21
|
-
f as isCorrectSmileyMeterConfig
|
|
130
|
+
D as default
|
|
22
131
|
};
|
|
23
132
|
//# sourceMappingURL=sd-component-library211.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library211.js","sources":["../src/components/meters/smiley-meter-v2/utils.ts"],"sourcesContent":["import { OutlineMeterRangeConfig } from \"../outline-meter\";\nimport { isCorrectOutlineMeterConfig } from \"../outline-meter/utils\";\nimport { SmileyMeterRange } from \"./interfaces\";\n\nexport enum SmileyGaugeColor {\n GREEN = \"#00B466\",\n ORANGE = \"#FF9900\",\n RED = \"#FF0000\",\n}\n\nexport const areColorsValid = (ranges: OutlineMeterRangeConfig[]) =>\n !ranges.some(\n ({ color }) => !Object.values(SmileyGaugeColor).includes(color as any)\n );\n\nexport const isCorrectSmileyMeterConfig = (\n value: number,\n ranges: OutlineMeterRangeConfig[]\n): ranges is SmileyMeterRange[] => {\n return isCorrectOutlineMeterConfig(value, ranges) && areColorsValid(ranges);\n};\n\nexport const getRangeProperties = (\n arc: number,\n totalRanges: number,\n distanceBetweenRanges: number,\n idx: number,\n start: number,\n end: number\n) => {\n const arcForRanges = arc - (totalRanges - 1) * distanceBetweenRanges;\n const arcStart = (360 - arc) / 2; // deg\n const rangeArcStart =\n arcStart + distanceBetweenRanges * idx + arcForRanges * start;\n const rangeArcEnd = rangeArcStart + arcForRanges * (end - start);\n\n const rangeArcMiddle = (rangeArcStart + rangeArcEnd) / 2;\n return {\n rangeArcStart,\n rangeArcEnd,\n rangeArcMiddle,\n };\n};\n\nexport const getIsHorizontal = (range: SmileyMeterRange) => {\n const { start, end } = range;\n return start === 0 ? end < 0.6 : end === 1 ? start > 0.4 : false;\n};\n"],"names":["SmileyGaugeColor","areColorsValid","ranges","color","isCorrectSmileyMeterConfig","value","isCorrectOutlineMeterConfig","getRangeProperties","arc","totalRanges","distanceBetweenRanges","idx","start","end","arcForRanges","rangeArcStart","rangeArcEnd","rangeArcMiddle","getIsHorizontal","range"],"mappings":";AAIY,IAAAA,sBAAAA,OACVA,EAAA,QAAQ,WACRA,EAAA,SAAS,WACTA,EAAA,MAAM,WAHIA,IAAAA,KAAA,CAAA,CAAA;AAML,MAAMC,IAAiB,CAACC,MAC7B,CAACA,EAAO;AAAA,EACN,CAAC,EAAE,OAAAC,EAAY,MAAA,CAAC,OAAO,OAAOH,CAAgB,EAAE,SAASG,CAAY;AACvE,GAEWC,IAA6B,CACxCC,GACAH,MAEOI,EAA4BD,GAAOH,CAAM,KAAKD,EAAeC,CAAM,GAG/DK,IAAqB,CAChCC,GACAC,GACAC,GACAC,GACAC,GACAC,MACG;AACG,QAAAC,IAAeN,KAAOC,IAAc,KAAKC,GAEzCK,KADY,MAAMP,KAAO,IAElBE,IAAwBC,IAAMG,IAAeF,GACpDI,IAAcD,IAAgBD,KAAgBD,IAAMD,IAEpDK,KAAkBF,IAAgBC,KAAe;AAChD,SAAA;AAAA,IACL,eAAAD;AAAA,IACA,aAAAC;AAAA,IACA,gBAAAC;AAAA,EAAA;AAEJ,GAEaC,IAAkB,CAACC,MAA4B;AACpD,QAAA,EAAE,OAAAP,GAAO,KAAAC,EAAQ,IAAAM;AACvB,SAAOP,MAAU,IAAIC,IAAM,MAAMA,MAAQ,IAAID,IAAQ,MAAM;AAC7D;"}
|
|
1
|
+
{"version":3,"file":"sd-component-library211.js","sources":["../node_modules/react-contenteditable/lib/react-contenteditable.js"],"sourcesContent":["\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = __importStar(require(\"react\"));\nvar fast_deep_equal_1 = __importDefault(require(\"fast-deep-equal\"));\nvar PropTypes = __importStar(require(\"prop-types\"));\nfunction normalizeHtml(str) {\n return str && str.replace(/ |\\u202F|\\u00A0/g, ' ');\n}\nfunction replaceCaret(el) {\n // Place the caret at the end of the element\n var target = document.createTextNode('');\n el.appendChild(target);\n // do not move caret if element was not focused\n var isTargetFocused = document.activeElement === el;\n if (target !== null && target.nodeValue !== null && isTargetFocused) {\n var sel = window.getSelection();\n if (sel !== null) {\n var range = document.createRange();\n range.setStart(target, target.nodeValue.length);\n range.collapse(true);\n sel.removeAllRanges();\n sel.addRange(range);\n }\n if (el instanceof HTMLElement)\n el.focus();\n }\n}\n/**\n * A simple component for an html element with editable contents.\n */\nvar ContentEditable = /** @class */ (function (_super) {\n __extends(ContentEditable, _super);\n function ContentEditable() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.lastHtml = _this.props.html;\n _this.el = typeof _this.props.innerRef === 'function' ? { current: null } : React.createRef();\n _this.getEl = function () { return (_this.props.innerRef && typeof _this.props.innerRef !== 'function' ? _this.props.innerRef : _this.el).current; };\n _this.emitChange = function (originalEvt) {\n var el = _this.getEl();\n if (!el)\n return;\n var html = el.innerHTML;\n if (_this.props.onChange && html !== _this.lastHtml) {\n // Clone event with Object.assign to avoid\n // \"Cannot assign to read only property 'target' of object\"\n var evt = Object.assign({}, originalEvt, {\n target: {\n value: html\n }\n });\n _this.props.onChange(evt);\n }\n _this.lastHtml = html;\n };\n return _this;\n }\n ContentEditable.prototype.render = function () {\n var _this = this;\n var _a = this.props, tagName = _a.tagName, html = _a.html, innerRef = _a.innerRef, props = __rest(_a, [\"tagName\", \"html\", \"innerRef\"]);\n return React.createElement(tagName || 'div', __assign(__assign({}, props), { ref: typeof innerRef === 'function' ? function (current) {\n innerRef(current);\n _this.el.current = current;\n } : innerRef || this.el, onInput: this.emitChange, onBlur: this.props.onBlur || this.emitChange, onKeyUp: this.props.onKeyUp || this.emitChange, onKeyDown: this.props.onKeyDown || this.emitChange, contentEditable: !this.props.disabled, dangerouslySetInnerHTML: { __html: html } }), this.props.children);\n };\n ContentEditable.prototype.shouldComponentUpdate = function (nextProps) {\n var props = this.props;\n var el = this.getEl();\n // We need not rerender if the change of props simply reflects the user's edits.\n // Rerendering in this case would make the cursor/caret jump\n // Rerender if there is no element yet... (somehow?)\n if (!el)\n return true;\n // ...or if html really changed... (programmatically, not by user edit)\n if (normalizeHtml(nextProps.html) !== normalizeHtml(el.innerHTML)) {\n return true;\n }\n // Handle additional properties\n return props.disabled !== nextProps.disabled ||\n props.tagName !== nextProps.tagName ||\n props.className !== nextProps.className ||\n props.innerRef !== nextProps.innerRef ||\n props.placeholder !== nextProps.placeholder ||\n !fast_deep_equal_1.default(props.style, nextProps.style);\n };\n ContentEditable.prototype.componentDidUpdate = function () {\n var el = this.getEl();\n if (!el)\n return;\n // Perhaps React (whose VDOM gets outdated because we often prevent\n // rerendering) did not update the DOM. So we update it manually now.\n if (this.props.html !== el.innerHTML) {\n el.innerHTML = this.props.html;\n }\n this.lastHtml = this.props.html;\n replaceCaret(el);\n };\n ContentEditable.propTypes = {\n html: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n disabled: PropTypes.bool,\n tagName: PropTypes.string,\n className: PropTypes.string,\n style: PropTypes.object,\n innerRef: PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.func,\n ])\n };\n return ContentEditable;\n}(React.Component));\nexports.default = ContentEditable;\n"],"names":["__extends","this","extendStatics","d","b","p","__","__assign","s","i","__createBinding","o","m","k","k2","__setModuleDefault","v","__importStar","mod","result","__rest","e","t","__importDefault","reactContenteditable","React","require$$0","fast_deep_equal_1","require$$1","PropTypes","require$$2","normalizeHtml","str","replaceCaret","el","target","isTargetFocused","sel","range","ContentEditable","_super","_this","originalEvt","html","evt","_a","tagName","innerRef","props","current","nextProps","_default"],"mappings":";;;;;AACA,IAAIA,IAAaC,KAAQA,EAAK,aAAe,WAAY;AACrD,MAAIC,IAAgB,SAAUC,GAAGC,GAAG;AAChC,WAAAF,IAAgB,OAAO,kBAClB,EAAE,WAAW,CAAA,eAAgB,SAAS,SAAUC,GAAGC,GAAG;AAAE,MAAAD,EAAE,YAAYC;AAAA,IAAE,KACzE,SAAUD,GAAGC,GAAG;AAAE,eAASC,KAAKD;AAAG,QAAI,OAAO,UAAU,eAAe,KAAKA,GAAGC,CAAC,MAAGF,EAAEE,CAAC,IAAID,EAAEC,CAAC;AAAA,OAC1FH,EAAcC,GAAGC,CAAC;AAAA,EACjC;AACI,SAAO,SAAUD,GAAGC,GAAG;AACnB,QAAI,OAAOA,KAAM,cAAcA,MAAM;AACjC,YAAM,IAAI,UAAU,yBAAyB,OAAOA,CAAC,IAAI,+BAA+B;AAC5F,IAAAF,EAAcC,GAAGC,CAAC;AAClB,aAASE,IAAK;AAAE,WAAK,cAAcH;AAAA,IAAI;AACvC,IAAAA,EAAE,YAAYC,MAAM,OAAO,OAAO,OAAOA,CAAC,KAAKE,EAAG,YAAYF,EAAE,WAAW,IAAIE,EAAI;AAAA,EAC3F;AACA,KACIC,IAAYN,KAAQA,EAAK,YAAa,WAAY;AAClD,SAAAM,IAAW,OAAO,UAAU,SAAS,GAAG;AACpC,aAASC,GAAGC,IAAI,GAAG,IAAI,UAAU,QAAQA,IAAI,GAAGA,KAAK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
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
), i = n.map((e, t) => ({
|
|
10
|
-
...e,
|
|
11
|
-
color: t < o ? n[o].color : e.color
|
|
12
|
-
}));
|
|
13
|
-
return /* @__PURE__ */ a.jsx(a.Fragment, { children: i.map((e, t) => /* @__PURE__ */ g(
|
|
14
|
-
d,
|
|
15
|
-
{
|
|
16
|
-
...e,
|
|
17
|
-
...r,
|
|
18
|
-
idx: t,
|
|
19
|
-
totalRanges: n.length,
|
|
20
|
-
pointerLength: c,
|
|
21
|
-
key: `${e.start}-${e.end}-${t}`,
|
|
22
|
-
isMatchedRange: o === t,
|
|
23
|
-
ref: m
|
|
24
|
-
}
|
|
25
|
-
)) });
|
|
26
|
-
}
|
|
27
|
-
);
|
|
1
|
+
import { escape as c, unescape as a } from "lodash-es";
|
|
2
|
+
const l = " ", n = (e) => `<div>${e}</div>`, r = (e, p) => p === 0 ? e : n(e), i = (e) => a(
|
|
3
|
+
e.replaceAll("<br>", "\r").split("<div>").map(
|
|
4
|
+
(p) => p.endsWith("</div>") ? p.slice(0, -6) : p
|
|
5
|
+
).join(`
|
|
6
|
+
`)
|
|
7
|
+
).replaceAll(l, " "), t = (e) => c(e).replaceAll(" ", l).replaceAll("\r", "<br>").split(`
|
|
8
|
+
`).map(r).join("");
|
|
28
9
|
export {
|
|
29
|
-
|
|
10
|
+
t as escapeWrapper,
|
|
11
|
+
l as htmlSpace,
|
|
12
|
+
r as lineToHtml,
|
|
13
|
+
i as unescapeWrapper,
|
|
14
|
+
n as wrapByDiv
|
|
30
15
|
};
|
|
31
16
|
//# sourceMappingURL=sd-component-library212.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library212.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library212.js","sources":["../src/components/inputs/multi-row-secondary-text-input/utils.ts"],"sourcesContent":["import { escape, unescape } from \"lodash-es\";\n\nexport const htmlSpace = \" \";\n\nexport const wrapByDiv = (s: string) => `<div>${s}</div>`;\n\nexport const lineToHtml = (line: string, idx: number) =>\n idx === 0 ? line : wrapByDiv(line);\n\nexport const unescapeWrapper = (s: string) =>\n unescape(\n s\n .replaceAll(\"<br>\", \"\\r\")\n .split(\"<div>\")\n .map((row) =>\n row.endsWith(\"</div>\") ? row.slice(0, -\"<div/>\".length) : row\n )\n .join(\"\\n\")\n ).replaceAll(htmlSpace, \" \");\n\nexport const escapeWrapper = (s: string) =>\n escape(s)\n .replaceAll(\" \", htmlSpace)\n .replaceAll(\"\\r\", \"<br>\")\n .split(\"\\n\")\n .map(lineToHtml)\n .join(\"\");\n"],"names":["htmlSpace","wrapByDiv","s","lineToHtml","line","idx","unescapeWrapper","unescape","row","escapeWrapper","escape"],"mappings":";AAEO,MAAMA,IAAY,UAEZC,IAAY,CAACC,MAAc,QAAQA,CAAC,UAEpCC,IAAa,CAACC,GAAcC,MACvCA,MAAQ,IAAID,IAAOH,EAAUG,CAAI,GAEtBE,IAAkB,CAACJ,MAC9BK;AAAA,EACEL,EACG,WAAW,QAAQ,IAAI,EACvB,MAAM,OAAO,EACb;AAAA,IAAI,CAACM,MACJA,EAAI,SAAS,QAAQ,IAAIA,EAAI,MAAM,GAAG,EAAgB,IAAIA;AAAA,EAAA,EAE3D,KAAK;AAAA,CAAI;AACd,EAAE,WAAWR,GAAW,GAAG,GAEhBS,IAAgB,CAACP,MAC5BQ,EAAOR,CAAC,EACL,WAAW,KAAKF,CAAS,EACzB,WAAW,MAAM,MAAM,EACvB,MAAM;AAAA,CAAI,EACV,IAAIG,CAAU,EACd,KAAK,EAAE;"}
|
|
@@ -1,36 +1,17 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} = e, { start: g, end: l } = a, m = d / 2, { rangeArcMiddle: x } = p(
|
|
15
|
-
n,
|
|
16
|
-
o,
|
|
17
|
-
r,
|
|
18
|
-
s,
|
|
19
|
-
g,
|
|
20
|
-
l
|
|
21
|
-
), t = Math.round(x);
|
|
22
|
-
return /* @__PURE__ */ h.jsx(
|
|
23
|
-
u,
|
|
24
|
-
{
|
|
25
|
-
...e,
|
|
26
|
-
...a,
|
|
27
|
-
alpha: i ? 360 - t : t,
|
|
28
|
-
radius: m,
|
|
29
|
-
round: c
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
};
|
|
1
|
+
import { j as i } from "./sd-component-library190.js";
|
|
2
|
+
import { Button as e } from "./sd-component-library25.js";
|
|
3
|
+
const n = (t) => /* @__PURE__ */ i.jsx(
|
|
4
|
+
e,
|
|
5
|
+
{
|
|
6
|
+
...t,
|
|
7
|
+
variant: "_circle",
|
|
8
|
+
width: [`${t.diameter}px`],
|
|
9
|
+
height: [`${t.diameter}px`],
|
|
10
|
+
"data-testid": "circle-button",
|
|
11
|
+
children: t.children
|
|
12
|
+
}
|
|
13
|
+
);
|
|
33
14
|
export {
|
|
34
|
-
|
|
15
|
+
n as CircleButton
|
|
35
16
|
};
|
|
36
17
|
//# sourceMappingURL=sd-component-library213.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library213.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library213.js","sources":["../src/components/buttons/partials/circle-button/circle-button.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { CircleButtonProps } from \".\";\nimport { Button } from \"../../button\";\n\n/**\n * The circle button.\n */\nexport const CircleButton: React.FC<CircleButtonProps> = (props) => (\n <Button\n {...props}\n variant=\"_circle\"\n width={[`${props.diameter}px`]}\n height={[`${props.diameter}px`]}\n data-testid=\"circle-button\"\n >\n {props.children}\n </Button>\n);\n"],"names":["CircleButton","props","jsx","Button"],"mappings":";;AAQa,MAAAA,IAA4C,CAACC,MACxDC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACE,GAAGF;AAAA,IACJ,SAAQ;AAAA,IACR,OAAO,CAAC,GAAGA,EAAM,QAAQ,IAAI;AAAA,IAC7B,QAAQ,CAAC,GAAGA,EAAM,QAAQ,IAAI;AAAA,IAC9B,eAAY;AAAA,IAEX,UAAMA,EAAA;AAAA,EAAA;AACT;"}
|
|
@@ -1,132 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { isValueInRange as Z, inValueHigherThanRange as F, getCoordinateForArc as d, getInnerX as $, getInnerY as tt, degToRad as L } from "./sd-component-library86.js";
|
|
4
|
-
import { BaseOutlineArc as X } from "./sd-component-library308.js";
|
|
5
|
-
import { OutlineMeterLabelPointer as O } from "./sd-component-library221.js";
|
|
6
|
-
const st = U.forwardRef(
|
|
7
|
-
(D, M) => {
|
|
8
|
-
const {
|
|
9
|
-
start: n,
|
|
10
|
-
end: r,
|
|
11
|
-
color: x,
|
|
12
|
-
bounds: R,
|
|
13
|
-
diameter: o,
|
|
14
|
-
arc: v,
|
|
15
|
-
distanceBetweenRanges: l,
|
|
16
|
-
totalRanges: y,
|
|
17
|
-
value: g,
|
|
18
|
-
gaugeWidth: s,
|
|
19
|
-
segmented: f,
|
|
20
|
-
idx: m,
|
|
21
|
-
pointStrokeWidth: I,
|
|
22
|
-
innerPointRadius: T,
|
|
23
|
-
distanceFromRanges: b,
|
|
24
|
-
label: w,
|
|
25
|
-
labelPosition: V,
|
|
26
|
-
hideLabels: E,
|
|
27
|
-
connected: _
|
|
28
|
-
} = D, S = "#CCD0DB", A = v - (y - 1) * l, H = A * (r - n), Y = Z(g, n, r, R), q = (360 - v) / 2, t = o / 2, a = q + l * m + A * n, C = _ && F(g, r, R), i = a + A * (r - n) + (C ? l : 0), { x: P, y: j } = d(
|
|
29
|
-
t,
|
|
30
|
-
a
|
|
31
|
-
), { x: W, y: k } = d(
|
|
32
|
-
t,
|
|
33
|
-
i
|
|
34
|
-
), u = V || m === 0 ? "left" : m === y - 1 ? "right" : "top";
|
|
35
|
-
if (f || !Y) {
|
|
36
|
-
const J = f && Y || !f && F(g, r, R) ? x : S, B = C ? i - l : i, { y: K } = d(
|
|
37
|
-
t,
|
|
38
|
-
B
|
|
39
|
-
), { x: N, y: Q } = d(
|
|
40
|
-
t,
|
|
41
|
-
(a + B) / 2
|
|
42
|
-
);
|
|
43
|
-
return /* @__PURE__ */ e.jsxs("g", { children: [
|
|
44
|
-
/* @__PURE__ */ e.jsx(
|
|
45
|
-
X,
|
|
46
|
-
{
|
|
47
|
-
startX: P,
|
|
48
|
-
startY: j,
|
|
49
|
-
endX: W,
|
|
50
|
-
endY: k,
|
|
51
|
-
startAlpha: a,
|
|
52
|
-
endAlpha: i,
|
|
53
|
-
color: J,
|
|
54
|
-
radius: t,
|
|
55
|
-
width: s
|
|
56
|
-
}
|
|
57
|
-
),
|
|
58
|
-
!E && w && /* @__PURE__ */ e.jsx(
|
|
59
|
-
O,
|
|
60
|
-
{
|
|
61
|
-
diameter: o,
|
|
62
|
-
position: u,
|
|
63
|
-
distanceFromRanges: b,
|
|
64
|
-
isInRange: Y,
|
|
65
|
-
...u === "right" && j > o / 2 || u === "left" && K > o / 2 ? {
|
|
66
|
-
rangeX: N,
|
|
67
|
-
rangeY: Q
|
|
68
|
-
} : void 0
|
|
69
|
-
}
|
|
70
|
-
)
|
|
71
|
-
] });
|
|
72
|
-
}
|
|
73
|
-
const c = a + (g - n) / (r - n) * H, { x: h, y: p } = d(t, c), z = $(h, L(c), s), G = tt(p, L(c), s);
|
|
74
|
-
return /* @__PURE__ */ e.jsxs("g", { children: [
|
|
75
|
-
/* @__PURE__ */ e.jsx(
|
|
76
|
-
X,
|
|
77
|
-
{
|
|
78
|
-
startX: P,
|
|
79
|
-
startY: j,
|
|
80
|
-
endX: h,
|
|
81
|
-
endY: p,
|
|
82
|
-
startAlpha: a,
|
|
83
|
-
endAlpha: c,
|
|
84
|
-
color: x,
|
|
85
|
-
radius: t,
|
|
86
|
-
width: s,
|
|
87
|
-
roundEnd: !1
|
|
88
|
-
}
|
|
89
|
-
),
|
|
90
|
-
/* @__PURE__ */ e.jsx(
|
|
91
|
-
X,
|
|
92
|
-
{
|
|
93
|
-
startX: h,
|
|
94
|
-
startY: p,
|
|
95
|
-
endX: W,
|
|
96
|
-
endY: k,
|
|
97
|
-
startAlpha: c,
|
|
98
|
-
endAlpha: i,
|
|
99
|
-
color: S,
|
|
100
|
-
radius: t,
|
|
101
|
-
width: s,
|
|
102
|
-
roundStart: !1
|
|
103
|
-
}
|
|
104
|
-
),
|
|
105
|
-
/* @__PURE__ */ e.jsx(
|
|
106
|
-
"circle",
|
|
107
|
-
{
|
|
108
|
-
cx: (h + z) / 2,
|
|
109
|
-
cy: (p + G) / 2,
|
|
110
|
-
r: I + T,
|
|
111
|
-
strokeWidth: I,
|
|
112
|
-
stroke: x,
|
|
113
|
-
fill: "white",
|
|
114
|
-
ref: M
|
|
115
|
-
}
|
|
116
|
-
),
|
|
117
|
-
!E && w && /* @__PURE__ */ e.jsx(
|
|
118
|
-
O,
|
|
119
|
-
{
|
|
120
|
-
diameter: o,
|
|
121
|
-
isInRange: !0,
|
|
122
|
-
position: u,
|
|
123
|
-
distanceFromRanges: b
|
|
124
|
-
}
|
|
125
|
-
)
|
|
126
|
-
] });
|
|
127
|
-
}
|
|
128
|
-
);
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const o = (e) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ t.createElement("path", { fill: "#4B71F7", d: "M0 9h24v6h-24z" }));
|
|
129
3
|
export {
|
|
130
|
-
|
|
4
|
+
o as ReactComponent
|
|
131
5
|
};
|
|
132
6
|
//# sourceMappingURL=sd-component-library214.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library214.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library214.js","sources":["../src/components/inputs/primary-number-input/assets/minus-active.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjNEI3MUY3IiBkPSJNMCA5aDI0djZoLTI0eiIvPjwvc3ZnPg==\""],"names":["SvgMinusActive","props","React"],"mappings":";AACK,MAACA,IAAiB,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,MAAM,WAAW,GAAG,iBAAgB,CAAE,CAAC;"}
|
|
@@ -1,46 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const X = (p) => {
|
|
4
|
-
const {
|
|
5
|
-
diameter: l,
|
|
6
|
-
arc: a,
|
|
7
|
-
color: u = "#CCD0DB",
|
|
8
|
-
dashHeight: e,
|
|
9
|
-
dashWidth: x,
|
|
10
|
-
numberOfDashes: r,
|
|
11
|
-
distanceFromRangesToScale: t,
|
|
12
|
-
gaugeWidth: o
|
|
13
|
-
} = p, R = l / 2, j = (360 - a) / 2, D = a / (r - 1);
|
|
14
|
-
return /* @__PURE__ */ i.jsx("g", { children: [...Array(r)].map((I, n) => {
|
|
15
|
-
const c = j + n * D, { x: d, y: h } = C(R, c), s = F(c), T = m(
|
|
16
|
-
d,
|
|
17
|
-
s,
|
|
18
|
-
o + t
|
|
19
|
-
), $ = g(
|
|
20
|
-
h,
|
|
21
|
-
s,
|
|
22
|
-
o + t
|
|
23
|
-
), f = m(
|
|
24
|
-
d,
|
|
25
|
-
s,
|
|
26
|
-
o + t + e
|
|
27
|
-
), B = g(
|
|
28
|
-
h,
|
|
29
|
-
s,
|
|
30
|
-
o + t + e
|
|
31
|
-
);
|
|
32
|
-
return /* @__PURE__ */ i.jsx(
|
|
33
|
-
"path",
|
|
34
|
-
{
|
|
35
|
-
d: `M${T},${$} L${f},${B}`,
|
|
36
|
-
stroke: u,
|
|
37
|
-
strokeWidth: x
|
|
38
|
-
},
|
|
39
|
-
n
|
|
40
|
-
);
|
|
41
|
-
}) });
|
|
42
|
-
};
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const h = (e) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ t.createElement("path", { fill: "#4B71F7", d: "M24 9h-9v-9h-6v9h-9v6h9v9h6v-9h9z" }));
|
|
43
3
|
export {
|
|
44
|
-
|
|
4
|
+
h as ReactComponent
|
|
45
5
|
};
|
|
46
6
|
//# sourceMappingURL=sd-component-library215.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library215.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library215.js","sources":["../src/components/inputs/primary-number-input/assets/plus-active.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjNEI3MUY3IiBkPSJNMjQgOWgtOXYtOWgtNnY5aC05djZoOXY5aDZ2LTloOXoiLz48L3N2Zz4=\""],"names":["SvgPlusActive","props","React"],"mappings":";AACK,MAACA,IAAgB,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,MAAM,WAAW,GAAG,oCAAmC,CAAE,CAAC;"}
|
|
@@ -1,50 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { BaseNeedle as b } from "./sd-component-library307.js";
|
|
4
|
-
const G = (x) => {
|
|
5
|
-
const {
|
|
6
|
-
diameter: f,
|
|
7
|
-
value: c,
|
|
8
|
-
arc: i,
|
|
9
|
-
ranges: o,
|
|
10
|
-
useSegmentedBehavior: v,
|
|
11
|
-
innerCircleRadius: I,
|
|
12
|
-
innerCircleStrokeWidth: A,
|
|
13
|
-
distanceFromRange: d,
|
|
14
|
-
needleWidth: e,
|
|
15
|
-
needleColor: C,
|
|
16
|
-
distanceBetweenRanges: l,
|
|
17
|
-
gaugeWidth: g
|
|
18
|
-
} = x, a = o.find(
|
|
19
|
-
({ start: s, end: y, bounds: N }) => w(c, s, y, N)
|
|
20
|
-
);
|
|
21
|
-
if (!a)
|
|
22
|
-
return null;
|
|
23
|
-
const u = f / 2, S = (360 - i) / 2, m = i - (o.length - 1) * l, { start: t, end: h, color: X } = a, Y = o.findIndex((s) => s === a), p = m * (h - t), R = S + l * Y + m * t, n = v ? R + p / 2 : R + (c - t) / (h - t) * p, { x: j, y: B } = V(u, n), F = E(
|
|
24
|
-
j,
|
|
25
|
-
r(n),
|
|
26
|
-
d + g + e / 2
|
|
27
|
-
), M = O(
|
|
28
|
-
B,
|
|
29
|
-
r(n),
|
|
30
|
-
d + g + e / 2
|
|
31
|
-
), T = e / 2 * Math.cos(r(n)), W = e / 2 * Math.sin(r(n));
|
|
32
|
-
return /* @__PURE__ */ k.jsx(
|
|
33
|
-
b,
|
|
34
|
-
{
|
|
35
|
-
dx: T,
|
|
36
|
-
dy: W,
|
|
37
|
-
color: C || X,
|
|
38
|
-
radius: u,
|
|
39
|
-
tipX: F,
|
|
40
|
-
tipY: M,
|
|
41
|
-
innerCircleStrokeWidth: A,
|
|
42
|
-
innerCircleRadius: I,
|
|
43
|
-
needleWidth: e
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
};
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const a = (e) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22.94", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M2494.01,1419.91l-5.42-5.67a9.187,9.187,0,1,0-7.04,3.3,9.042,9.042,0,0,0,5.27-1.67l5.46,5.71a1.2,1.2,0,0,0,.87.37A1.2,1.2,0,0,0,2494.01,1419.91Zm-12.46-18.46a6.84,6.84,0,1,1-6.8,6.84A6.829,6.829,0,0,1,2481.55,1401.45Z", transform: "translate(-2472.34 -1399.03)" }));
|
|
47
3
|
export {
|
|
48
|
-
|
|
4
|
+
a as ReactComponent
|
|
49
5
|
};
|
|
50
6
|
//# sourceMappingURL=sd-component-library216.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library216.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library216.js","sources":["../src/components/inputs/search-input/assets/search.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMiAyMi45NCI+CiAgPHBhdGggZD0iTTI0OTQuMDEsMTQxOS45MWwtNS40Mi01LjY3YTkuMTg3LDkuMTg3LDAsMSwwLTcuMDQsMy4zLDkuMDQyLDkuMDQyLDAsMCwwLDUuMjctMS42N2w1LjQ2LDUuNzFhMS4yLDEuMiwwLDAsMCwuODcuMzdBMS4yLDEuMiwwLDAsMCwyNDk0LjAxLDE0MTkuOTFabS0xMi40Ni0xOC40NmE2Ljg0LDYuODQsMCwxLDEtNi44LDYuODRBNi44MjksNi44MjksMCwwLDEsMjQ4MS41NSwxNDAxLjQ1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI0NzIuMzQgLTEzOTkuMDMpIi8+Cjwvc3ZnPgo=\""],"names":["SvgSearch","props","React"],"mappings":";AACK,MAACA,IAAY,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,gBAAgB,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,6NAA6N,WAAW,gCAAgC,CAAC;"}
|