@ubnt/store.core 9.34.0-beta.6 → 9.34.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/CHANGELOG.md +1 -190
- package/lib/_virtual/_virtual_multi-entry.js +2 -15
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +0 -2
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/assets/close2.svg +2 -3
- package/lib/assets/close3.svg +3 -2
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/ucgMax.jpg +0 -0
- package/lib/assets/ucgMax2.jpg +0 -0
- package/lib/assets/udmPro.jpg +0 -0
- package/lib/assets/udmPro2.jpg +0 -0
- package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +1 -5
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +1 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +6 -6
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.js +2 -3
- package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
- package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
- package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
- package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
- package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +0 -2
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +0 -2
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/constants/proStoreCategories/mapping/index.d.ts +0 -1
- package/lib/constants/proStoreCategories/mapping/index.js +0 -5
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +0 -5
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.js +8 -1
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +8 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.d.ts +0 -1
- package/lib/constants/proStoreCategories/mapping/uisp.js +0 -1
- package/lib/constants/proStoreCategories/mapping/uisp.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.mjs +0 -1
- package/lib/constants/proStoreCategories/mapping/uisp.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +0 -1
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +0 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +0 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +0 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +0 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +1 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +0 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +0 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +0 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +0 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +1 -17
- package/lib/constants/proStoreFilters/mapping.js +0 -16
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +0 -16
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.js +0 -1
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +0 -1
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/helpers/index.d.ts +0 -1
- package/lib/helpers/index.js +0 -11
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +0 -1
- package/lib/helpers/index.mjs.map +1 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/types/index.js +0 -2
- package/lib/types/index.js.map +1 -1
- package/lib/types/index.mjs +0 -1
- package/lib/types/index.mjs.map +1 -1
- package/lib/utils/address.d.ts +62 -278
- package/lib/utils/address.js +8 -11
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +8 -11
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/array.d.ts +0 -4
- package/lib/utils/array.js +0 -10
- package/lib/utils/array.js.map +1 -1
- package/lib/utils/array.mjs +1 -10
- package/lib/utils/array.mjs.map +1 -1
- package/lib/utils/money/constants.d.ts +4 -33
- package/lib/utils/money/constants.js +7 -48
- package/lib/utils/money/constants.js.map +1 -1
- package/lib/utils/money/constants.mjs +9 -48
- package/lib/utils/money/constants.mjs.map +1 -1
- package/lib/utils/money/format.js +5 -14
- package/lib/utils/money/format.js.map +1 -1
- package/lib/utils/money/format.mjs +6 -15
- package/lib/utils/money/format.mjs.map +1 -1
- package/lib/utils/money/index.js +1 -3
- package/lib/utils/money/index.js.map +1 -1
- package/lib/utils/money/index.mjs +1 -1
- package/lib/utils/money/misc.js +1 -7
- package/lib/utils/money/misc.js.map +1 -1
- package/lib/utils/money/misc.mjs +1 -7
- package/lib/utils/money/misc.mjs.map +1 -1
- package/lib/utils/money/tax.private.d.ts +8 -0
- package/lib/utils/money/tax.private.js +14 -5
- package/lib/utils/money/tax.private.js.map +1 -1
- package/lib/utils/money/tax.private.mjs +16 -8
- package/lib/utils/money/tax.private.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/crestron.svg +0 -3
- package/lib/components/ModelCompareV3/assets/crestron.svg.js +0 -27
- package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
- package/lib/helpers/product.d.ts +0 -87
- package/lib/helpers/product.js +0 -346
- package/lib/helpers/product.js.map +0 -1
- package/lib/helpers/product.mjs +0 -335
- package/lib/helpers/product.mjs.map +0 -1
- package/lib/helpers/product.test.d.ts +0 -1
- package/lib/types/product.d.ts +0 -87
- package/lib/types/product.js +0 -14
- package/lib/types/product.js.map +0 -1
- package/lib/types/product.mjs +0 -13
- package/lib/types/product.mjs.map +0 -1
- package/lib/utils/productSort.d.ts +0 -41
- package/lib/utils/productSort.js +0 -67
- package/lib/utils/productSort.js.map +0 -1
- package/lib/utils/productSort.mjs +0 -60
- package/lib/utils/productSort.mjs.map +0 -1
- package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
- package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
- package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
- package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
- package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,37 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
-
### 9.34.0
|
|
9
|
+
### 9.34.0
|
|
10
10
|
|
|
11
11
|
- [Feat] [NEP-3857](https://ubiquiti.atlassian.net/browse/NEP-3857) Rename "New Integrations" category to "Integrations"
|
|
12
12
|
|
|
13
|
-
### 9.34.0-beta.5
|
|
14
|
-
|
|
15
|
-
- [Feat] [NEP-3846](https://ubiquiti.atlassian.net/browse/NEP-3846) Adjust prettify price logic #1
|
|
16
|
-
|
|
17
|
-
### 9.34.0-beta.4
|
|
18
|
-
|
|
19
|
-
- [Feat] [NEP-3846](https://ubiquiti.atlassian.net/browse/NEP-3846) Adjust prettify price logic
|
|
20
|
-
|
|
21
|
-
### 9.34.0-beta.3
|
|
22
|
-
|
|
23
|
-
- [Fix] [MIC-456](https://ubiquiti.atlassian.net/browse/MIC-456) Fix aspect ratio precision for microsite hero
|
|
24
|
-
|
|
25
|
-
### 9.34.0-beta.2
|
|
26
|
-
|
|
27
|
-
- [Fix] [MIC-456](https://ubiquiti.atlassian.net/browse/MIC-456) Fix menu sublabel placement
|
|
28
|
-
|
|
29
|
-
### 9.34.0-beta.1
|
|
30
|
-
|
|
31
|
-
- [Fix] [MIC-455](https://ubiquiti.atlassian.net/browse/MIC-455) Remove Pro AV from ECS switches in compare table
|
|
32
|
-
- [Fix] [MIC-456](https://ubiquiti.atlassian.net/browse/MIC-456) Update UISP GPON and XGS-PON compare tables
|
|
33
|
-
- [Fix] [MIC-452](https://ubiquiti.atlassian.net/browse/MIC-452) Fix UISP Dish compare table data
|
|
34
|
-
|
|
35
|
-
### 9.34.0-beta.0
|
|
36
|
-
|
|
37
|
-
- [Feat] [MIC-453](https://ubiquiti.atlassian.net/browse/MIC-453) Add new property for Switching compare tables
|
|
38
|
-
- Upstream master branch
|
|
39
|
-
|
|
40
13
|
### 9.33.1
|
|
41
14
|
|
|
42
15
|
- [Fix] [MIC-456](https://ubiquiti.atlassian.net/browse/MIC-456) Update UISP GPON and XGS-PON compare tables, fix menu sublabel placement, and aspect ratio precision for microsite hero
|
|
@@ -72,40 +45,8 @@
|
|
|
72
45
|
### 9.30.0
|
|
73
46
|
|
|
74
47
|
- [Feat] [MIC-438](https://ubiquiti.atlassian.net/browse/MIC-438) Add ECS switches to model compare, add "New" badge to Enterprise child page
|
|
75
|
-
|
|
76
|
-
### 9.30.0-beta.13
|
|
77
|
-
|
|
78
|
-
- [Feat] [MIC-438](https://ubiquiti.atlassian.net/browse/MIC-438) Update content
|
|
79
|
-
|
|
80
|
-
### 9.30.0-beta.12
|
|
81
|
-
|
|
82
48
|
- [Feat] [NEP-3454](https://ubiquiti.atlassian.net/browse/NEP-3454) Add "100G QSFP28" filter
|
|
83
49
|
|
|
84
|
-
### 9.30.0-beta.11
|
|
85
|
-
|
|
86
|
-
- [Feat] [NEP-3846](https://ubiquiti.atlassian.net/browse/NEP-3846) Adjust prettify price logic
|
|
87
|
-
|
|
88
|
-
### 9.30.0-beta.10
|
|
89
|
-
|
|
90
|
-
- [Feat] [MIC-438](https://ubiquiti.atlassian.net/browse/MIC-438) Update content
|
|
91
|
-
|
|
92
|
-
### 9.30.0-beta.9
|
|
93
|
-
|
|
94
|
-
- [Feat] [MIC-438](https://ubiquiti.atlassian.net/browse/MIC-438) Update content
|
|
95
|
-
|
|
96
|
-
### 9.30.0-beta.8
|
|
97
|
-
|
|
98
|
-
- [Feat] [MIC-438](https://ubiquiti.atlassian.net/browse/MIC-438) Add `ECS` switches to Model Compare
|
|
99
|
-
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Remove updated product filters
|
|
100
|
-
|
|
101
|
-
### 9.30.0-beta.7
|
|
102
|
-
|
|
103
|
-
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Update filters
|
|
104
|
-
|
|
105
|
-
### 9.30.0-beta.6
|
|
106
|
-
|
|
107
|
-
- [Feat] [NEP-3699](https://ubiquiti.atlassian.net/browse/NEP-3699) Clean up collections in pro store mapping
|
|
108
|
-
|
|
109
50
|
### 9.29.3
|
|
110
51
|
|
|
111
52
|
- [Feat] [MIC-333](https://ubiquiti.atlassian.net/browse/MIC-333) Update Subcategories with flags to show ViewAll / Performance Guide (depending if data is available)
|
|
@@ -118,68 +59,6 @@
|
|
|
118
59
|
|
|
119
60
|
- [Feat] [MIC-449](https://ubiquiti.atlassian.net/browse/MIC-449) `Device Bridge` EU release changes
|
|
120
61
|
|
|
121
|
-
### 9.30.0-beta.5
|
|
122
|
-
|
|
123
|
-
- [Feat] [NEP-3591](https://ubiquiti.atlassian.net/browse/NEP-3591) Add underline style tabs, add "loading" prop to backInStock propTypes
|
|
124
|
-
|
|
125
|
-
### 9.30.0-beta.4
|
|
126
|
-
|
|
127
|
-
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Update product filters
|
|
128
|
-
|
|
129
|
-
### 9.30.0-beta.3
|
|
130
|
-
|
|
131
|
-
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Update filter "Client devices" for cloud gateways 2
|
|
132
|
-
|
|
133
|
-
### 9.30.0-beta.2
|
|
134
|
-
|
|
135
|
-
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Update filter "Client devices" for cloud gateways
|
|
136
|
-
|
|
137
|
-
### 9.30.0-beta.1
|
|
138
|
-
|
|
139
|
-
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Add filter "Client devices" for cloud gateways
|
|
140
|
-
|
|
141
|
-
### 9.30.0-beta.0
|
|
142
|
-
|
|
143
|
-
- Upstream master branch
|
|
144
|
-
- [Feat] [MIC-449](https://ubiquiti.atlassian.net/browse/MIC-449) Device Bridge GA changes - remove coming soon from compare table
|
|
145
|
-
|
|
146
|
-
### 9.29.0-beta.9
|
|
147
|
-
|
|
148
|
-
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Add filter "Client devices" for cloud gateways
|
|
149
|
-
|
|
150
|
-
### 9.29.0-beta.8
|
|
151
|
-
|
|
152
|
-
- [Feat] [NEP-3802](https://ubiquiti.atlassian.net/browse/NEP-3802) Remove unnecessary category
|
|
153
|
-
|
|
154
|
-
### 9.29.0-beta.7
|
|
155
|
-
|
|
156
|
-
- [Fix] [NEP-3819](https://ubiquiti.atlassian.net/browse/NEP-3819) Fix address field address1 validation rule
|
|
157
|
-
|
|
158
|
-
### 9.29.0-beta.6
|
|
159
|
-
|
|
160
|
-
- [Feat] [NEP-3300](https://ubiquiti.atlassian.net/browse/NEP-3300) Rename NAS to to `Network Storage` in categories
|
|
161
|
-
|
|
162
|
-
### 9.29.0-beta.5
|
|
163
|
-
|
|
164
|
-
- [Feat] [MIC-443](https://ubiquiti.atlassian.net/browse/MIC-443) Change `UNAS Drive` to `Network Storage`
|
|
165
|
-
|
|
166
|
-
### 9.29.0-beta.4
|
|
167
|
-
|
|
168
|
-
- [Feat] [MIC-443](https://ubiquiti.atlassian.net/browse/MIC-443) Add `UNAS Drive` to Menu
|
|
169
|
-
|
|
170
|
-
### 9.29.0-beta.3
|
|
171
|
-
|
|
172
|
-
- [Feat] Add ability to pass in pooling options for `SmartcatApi.downloadSmartcatTranslations()` function and document parameters
|
|
173
|
-
|
|
174
|
-
### 9.29.0-beta.2
|
|
175
|
-
|
|
176
|
-
- [Fix] [MIC-439](https://ubiquiti.atlassian.net/browse/MIC-439) Fix UISP compare data
|
|
177
|
-
|
|
178
|
-
### 9.29.0-beta.1
|
|
179
|
-
|
|
180
|
-
- [Fix] [MIC-442](https://ubiquiti.atlassian.net/browse/MIC-442) Fix Wave BaseStation compare table data
|
|
181
|
-
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Add filter "Client devices" for cloud gateways
|
|
182
|
-
|
|
183
62
|
### 9.29.0
|
|
184
63
|
|
|
185
64
|
- [Feat] [MIC-443](https://ubiquiti.atlassian.net/browse/MIC-443) Add `UNAS Drive` to Menu
|
|
@@ -195,11 +74,6 @@
|
|
|
195
74
|
|
|
196
75
|
- [Feat] [MIC-440](https://ubiquiti.atlassian.net/browse/MIC-440) Update Video Recorders and Mobile Routers compare table data
|
|
197
76
|
|
|
198
|
-
### 9.29.0-beta.0
|
|
199
|
-
|
|
200
|
-
- Upstream master branch
|
|
201
|
-
- [Feat] [MIC-440](https://ubiquiti.atlassian.net/browse/MIC-440) Update Video Recorders and Mobile Routers compare table data
|
|
202
|
-
|
|
203
77
|
### 9.28.0
|
|
204
78
|
|
|
205
79
|
- [Feat] [MIC-439](https://ubiquiti.atlassian.net/browse/MIC-439) Updates to UISP page:
|
|
@@ -207,54 +81,10 @@
|
|
|
207
81
|
- New page "/wireless/wave-mlo" and menu item
|
|
208
82
|
- [Feat] [NEP-3812](https://ubiquiti.atlassian.net/browse/NEP-3812) Update `UISP Console` to `Hosting` store category
|
|
209
83
|
|
|
210
|
-
### 9.28.0-beta.7
|
|
211
|
-
|
|
212
|
-
- [Fix] [NEP-3819](https://ubiquiti.atlassian.net/browse/nep-3819) Change address validation to match UPS limitations
|
|
213
|
-
|
|
214
|
-
### 9.28.0-beta.6
|
|
215
|
-
|
|
216
|
-
- [NEP-3819](https://ubiquiti.atlassian.net/browse/nep-3819) Change address validation to match UPS limitations
|
|
217
|
-
|
|
218
|
-
### 9.28.0-beta.5
|
|
219
|
-
|
|
220
|
-
- [Feat] [NEP-3818](https://ubiquiti.atlassian.net/browse/NEP-3818) Add new `Wave MLO` subcategory to Wireless UISP store
|
|
221
|
-
|
|
222
84
|
### 9.27.1
|
|
223
85
|
|
|
224
86
|
- [Fix] [NEP-3788](https://ubiquiti.atlassian.net/browse/nep-3788) Fix regression with font-weight for existing coming soon variant
|
|
225
87
|
|
|
226
|
-
### 9.28.0-beta.4
|
|
227
|
-
|
|
228
|
-
### 9.28.0-beta.3
|
|
229
|
-
|
|
230
|
-
- [Fix] [NEP-3788](https://ubiquiti.atlassian.net/browse/nep-3788) Fix regression with font-weight for existing coming soon variant
|
|
231
|
-
|
|
232
|
-
### 9.28.0-beta.2
|
|
233
|
-
|
|
234
|
-
- [Feat] [NEP-3812](https://ubiquiti.atlassian.net/browse/NEP-3812) Consolidate External URL enum with store
|
|
235
|
-
|
|
236
|
-
### 9.28.0-beta.1
|
|
237
|
-
|
|
238
|
-
- [Feat] [NEP-3812](https://ubiquiti.atlassian.net/browse/NEP-3812) Add external URL for UISP Hosting
|
|
239
|
-
|
|
240
|
-
### 9.28.0-beta.0
|
|
241
|
-
|
|
242
|
-
- [Feat] [NEP-3812](https://ubiquiti.atlassian.net/browse/NEP-3812) Update `UISP Console` to `Hosting` store category
|
|
243
|
-
- [Feat] [NEP-3699](https://ubiquiti.atlassian.net/browse/NEP-3699) Clean up collections in pro store mapping
|
|
244
|
-
|
|
245
|
-
### 9.27.0-beta.2
|
|
246
|
-
|
|
247
|
-
- [Feat] [NEP-3699](https://ubiquiti.atlassian.net/browse/NEP-3699) Clean up collections in pro store mapping
|
|
248
|
-
|
|
249
|
-
### 9.27.0-beta.1
|
|
250
|
-
|
|
251
|
-
- [Refactor] Refactor how we calculate tax to have control over rounding and precision!!! Will have output offsets by a up or down!
|
|
252
|
-
|
|
253
|
-
### 9.27.0-beta.0
|
|
254
|
-
|
|
255
|
-
- Upstream master
|
|
256
|
-
- [Feat] [NEP-3699](https://ubiquiti.atlassian.net/browse/NEP-3699) Clean up collections in pro store mapping
|
|
257
|
-
|
|
258
88
|
### 9.27.0
|
|
259
89
|
|
|
260
90
|
- [Feat] [NEP-3788](https://ubiquiti.atlassian.net/browse/nep-3788) Add ability to preLabel to `<CartButton/>`
|
|
@@ -268,18 +98,6 @@
|
|
|
268
98
|
- [Feat] [MIC-436](https://ubiquiti.atlassian.net/browse/MIC-436) Update Video Recorders compare table data
|
|
269
99
|
- [Feat] [NEP-3799](https://ubiquiti.atlassian.net/browse/NEP-3799) Add PoE+++ key feature icon and update 2 existing ones
|
|
270
100
|
|
|
271
|
-
### 9.24.0-beta.1
|
|
272
|
-
|
|
273
|
-
- [Feat] [NEP-3802](https://ubiquiti.atlassian.net/browse/NEP-3802) Add new collection - Enterprise Campus
|
|
274
|
-
|
|
275
|
-
### 9.24.0-beta.0
|
|
276
|
-
|
|
277
|
-
> Upstream master + changes
|
|
278
|
-
|
|
279
|
-
- [Refactor] Refactor how we calculate tax to have control over rounding and precision!!! Will have output offsets by a
|
|
280
|
-
up or down!
|
|
281
|
-
- [Feat] [MIC-431](https://ubiquiti.atlassian.net/browse/MIC-431) Add `UDB` and `UDB Pro` to Model Compare
|
|
282
|
-
|
|
283
101
|
### 9.24.0
|
|
284
102
|
|
|
285
103
|
- [Feat] [MIC-430](https://ubiquiti.atlassian.net/browse/MIC-430) Add `UMR Ultra` to Model Compare
|
|
@@ -304,13 +122,6 @@
|
|
|
304
122
|
- [chore] Update deps
|
|
305
123
|
- [Feat] [MIC-431](https://ubiquiti.atlassian.net/browse/MIC-431) Add `UDB` and `UDB Pro` to Model Compare
|
|
306
124
|
|
|
307
|
-
### 9.23.0-beta.0
|
|
308
|
-
|
|
309
|
-
- [Feat] [NEP-3704](https://ubiquiti.atlassian.net/browse/NEP-3704) Add "Device Bridge" collection to pro store categories
|
|
310
|
-
- [Feat] [NEP-3300](https://ubiquiti.atlassian.net/browse/NEP-3300) Add NAS category in pro store
|
|
311
|
-
- [Feat] [MIC-378](https://ubiquiti.atlassian.net/browse/MIC-378) Add product helper functions
|
|
312
|
-
- [Feat] [NEP-3699](https://ubiquiti.atlassian.net/browse/NEP-3699) Clean up collections in pro store mapping
|
|
313
|
-
|
|
314
125
|
### 9.22.1
|
|
315
126
|
|
|
316
127
|
- [Feat] [MIC-424](https://ubiquiti.atlassian.net/browse/MIC-424) Remove "Coming soon" from `ENVR` from Model compare
|
|
@@ -69,7 +69,6 @@ var useTranslation = require('../hooks/useTranslation.js');
|
|
|
69
69
|
var useScrollToY = require('../hooks/useScrollToY.js');
|
|
70
70
|
var constants = require('../types/constants.js');
|
|
71
71
|
var generated = require('../types/generated.js');
|
|
72
|
-
var product = require('../types/product.js');
|
|
73
72
|
var url = require('../utils/url.js');
|
|
74
73
|
var misc = require('../utils/money/misc.js');
|
|
75
74
|
var number = require('../utils/number.js');
|
|
@@ -87,7 +86,7 @@ var measures = require('../utils/measures.js');
|
|
|
87
86
|
var errors = require('../utils/errors.js');
|
|
88
87
|
var tags = require('../utils/tags.js');
|
|
89
88
|
var wattage = require('../utils/wattage.js');
|
|
90
|
-
var product
|
|
89
|
+
var product = require('../utils/product.js');
|
|
91
90
|
var asset = require('../utils/asset.js');
|
|
92
91
|
var imageOptimizer = require('../utils/imageOptimizer.js');
|
|
93
92
|
var styles = require('../utils/styles.js');
|
|
@@ -95,7 +94,6 @@ var storeId = require('../utils/storeId.js');
|
|
|
95
94
|
var index$V = require('../constants/proStoreCategories/index.js');
|
|
96
95
|
var index$W = require('../constants/proStoreFilters/index.js');
|
|
97
96
|
var proStoreCategories = require('../helpers/proStoreCategories.js');
|
|
98
|
-
var product$2 = require('../helpers/product.js');
|
|
99
97
|
var smartcat = require('../apis/smartcat.js');
|
|
100
98
|
exports.Avatar = index;
|
|
101
99
|
exports.Button = index$1;
|
|
@@ -169,7 +167,6 @@ exports.Unit = generated.Unit;
|
|
|
169
167
|
exports.UnitSystem = generated.UnitSystem;
|
|
170
168
|
exports.UserAssignedCountryCode = generated.UserAssignedCountryCode;
|
|
171
169
|
exports.ValidateTaxStatus = generated.ValidateTaxStatus;
|
|
172
|
-
exports.DisplayProductStatus = product.DisplayProductStatus;
|
|
173
170
|
exports.url = url;
|
|
174
171
|
exports.money = misc;
|
|
175
172
|
exports.number = number;
|
|
@@ -187,7 +184,7 @@ exports.measures = measures;
|
|
|
187
184
|
exports.errors = errors;
|
|
188
185
|
exports.tags = tags;
|
|
189
186
|
exports.wattage = wattage;
|
|
190
|
-
exports.product = product
|
|
187
|
+
exports.product = product;
|
|
191
188
|
exports.asset = asset;
|
|
192
189
|
exports.imageOptimizer = imageOptimizer;
|
|
193
190
|
exports.styles = styles;
|
|
@@ -202,15 +199,5 @@ exports.getSubCategoryIdByCollectionSlug = proStoreCategories.getSubCategoryIdBy
|
|
|
202
199
|
exports.isValidSubCategory = proStoreCategories.isValidSubCategory;
|
|
203
200
|
exports.parseCategories = proStoreCategories.parseCategories;
|
|
204
201
|
exports.useTranslatedCategories = proStoreCategories.useTranslatedCategories;
|
|
205
|
-
exports.COLLECTION_SECTION_OTHER_ID = product$2.COLLECTION_SECTION_OTHER_ID;
|
|
206
|
-
exports.HDDProductSlugs = product$2.HDDProductSlugs;
|
|
207
|
-
exports.MagicCollectionTags = product$2.MagicCollectionTags;
|
|
208
|
-
exports.ProductOptions = product$2.ProductOptions;
|
|
209
|
-
exports.createSectionHierarchy = product$2.createSectionHierarchy;
|
|
210
|
-
exports.getProStoreCategory = product$2.getProStoreCategory;
|
|
211
|
-
exports.getProductGroups = product$2.getProductGroups;
|
|
212
|
-
exports.getStoreProducts = product$2.getStoreProducts;
|
|
213
|
-
exports.isNonNullish = product$2.isNonNullish;
|
|
214
|
-
exports.removeExcludedProducts = product$2.removeExcludedProducts;
|
|
215
202
|
exports.smartcat = smartcat;
|
|
216
203
|
//# sourceMappingURL=_virtual_multi-entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_virtual_multi-entry.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_virtual_multi-entry.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -122,7 +122,6 @@ export { useTranslation, useTranslationRaw } from '../hooks/useTranslation.mjs';
|
|
|
122
122
|
export { useScrollToY } from '../hooks/useScrollToY.mjs';
|
|
123
123
|
export { AddressUsageType, Language } from '../types/constants.mjs';
|
|
124
124
|
export { AddressType, CountryCode, Currency, GlobalStoreId, ProductLine, StoreId, Unit, UnitSystem, UserAssignedCountryCode, ValidateTaxStatus } from '../types/generated.mjs';
|
|
125
|
-
export { DisplayProductStatus } from '../types/product.mjs';
|
|
126
125
|
import * as url from '../utils/url.mjs';
|
|
127
126
|
export { url };
|
|
128
127
|
import * as misc from '../utils/money/misc.mjs';
|
|
@@ -172,7 +171,6 @@ export { index$V as proStoreCategories };
|
|
|
172
171
|
import * as index$W from '../constants/proStoreFilters/index.mjs';
|
|
173
172
|
export { index$W as proStoreFilters };
|
|
174
173
|
export { getCategoriesBySubcategory, getLocalizedCategories, getProductLineByCategory, getProductLineBySubcategory, getSubCategoryIdByCollectionSlug, isValidSubCategory, parseCategories, useTranslatedCategories } from '../helpers/proStoreCategories.mjs';
|
|
175
|
-
export { COLLECTION_SECTION_OTHER_ID, HDDProductSlugs, MagicCollectionTags, ProductOptions, createSectionHierarchy, getProStoreCategory, getProductGroups, getStoreProducts, isNonNullish, removeExcludedProducts } from '../helpers/product.mjs';
|
|
176
174
|
import * as smartcat from '../apis/smartcat.mjs';
|
|
177
175
|
export { smartcat };
|
|
178
176
|
//# sourceMappingURL=_virtual_multi-entry.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_virtual_multi-entry.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_virtual_multi-entry.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/assets/close2.svg
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
|
|
1
|
+
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.7175 18.6475C5.4275 18.9375 5.4275 19.4175 5.7175 19.7075C6.0075 19.9975 6.4875 19.9975 6.7775 19.7075L12.9675 13.5175L19.1575 19.7075C19.4475 19.9975 19.9275 19.9975 20.2175 19.7075C20.5075 19.4175 20.5075 18.9375 20.2175 18.6475L14.0275 12.4675L20.2175 6.2775C20.5075 5.9875 20.5075 5.5075 20.2175 5.2175C19.9275 4.9275 19.4475 4.9275 19.1575 5.2175L12.9675 11.4075L6.7775 5.2175C6.4875 4.9275 6.0075 4.9275 5.7175 5.2175C5.4275 5.5075 5.4275 5.9875 5.7175 6.2775L11.9075 12.4675L5.7175 18.6475Z" fill="#36373C"/>
|
|
4
3
|
</svg>
|
package/lib/assets/close3.svg
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
|
|
3
4
|
</svg>
|
package/lib/assets/minus4.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_406" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="11" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_406)">
|
|
4
|
+
<path d="M10.2546 4.35H0.587891V5.31667H10.2546V4.35Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_658_406)">
|
|
8
|
+
<rect x="0.587891" width="9.66667" height="9.66667" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_658_406">
|
|
12
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.587891)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/minus5.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15898" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15898)">
|
|
4
|
+
<path d="M5.16287 2.9397H0.697754V3.38621H5.16287V2.9397Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_426_15898)">
|
|
8
|
+
<rect x="0.697754" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_426_15898">
|
|
12
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.697754 0.930176)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/plus5.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_411)">
|
|
4
|
+
<path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
|
|
5
|
+
<path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_658_411)">
|
|
9
|
+
<rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_658_411">
|
|
13
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
package/lib/assets/plus6.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15903)">
|
|
4
|
+
<path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
|
|
5
|
+
<path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_426_15903)">
|
|
9
|
+
<rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_426_15903">
|
|
13
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
package/lib/assets/ucgMax.jpg
CHANGED
|
Binary file
|
package/lib/assets/ucgMax2.jpg
CHANGED
|
Binary file
|
package/lib/assets/udmPro.jpg
CHANGED
|
Binary file
|
package/lib/assets/udmPro2.jpg
CHANGED
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ButtonGroupBasicProps } from "./ButtonGroupBasic.types";
|
|
2
|
-
export declare const ButtonGroupBasic: ({ items, onClick, activeId,
|
|
2
|
+
export declare const ButtonGroupBasic: ({ items, onClick, activeId, }: ButtonGroupBasicProps) => JSX.Element;
|
|
@@ -1,40 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
require('../Container/index.js');
|
|
5
4
|
require('../ScrollWrapper/index.js');
|
|
6
5
|
var ButtonGroupBasic_styles = require('./ButtonGroupBasic.styles.js');
|
|
7
|
-
var Container = require('../Container/Container.js');
|
|
8
6
|
var ScrollWrapper = require('../ScrollWrapper/ScrollWrapper.js');
|
|
9
7
|
"use strict";
|
|
10
8
|
const ButtonItem = function ButtonItem2({
|
|
11
9
|
onClick,
|
|
12
10
|
activeId,
|
|
13
11
|
id,
|
|
14
|
-
title
|
|
15
|
-
variant
|
|
12
|
+
title
|
|
16
13
|
}) {
|
|
17
14
|
return /* @__PURE__ */jsxRuntime.jsx(ButtonGroupBasic_styles.Button, {
|
|
18
|
-
$variant: variant,
|
|
19
15
|
$isActive: typeof activeId === "string" ? activeId === id : activeId?.includes(id),
|
|
20
16
|
onClick: () => onClick && onClick(id),
|
|
21
|
-
title,
|
|
22
17
|
children: title
|
|
23
18
|
});
|
|
24
19
|
};
|
|
25
20
|
const ButtonGroupBasic = function ButtonGroupBasic2({
|
|
26
21
|
items,
|
|
27
22
|
onClick,
|
|
28
|
-
activeId
|
|
29
|
-
variant = "basic",
|
|
30
|
-
innerContainerSize = "desktop"
|
|
23
|
+
activeId
|
|
31
24
|
}) {
|
|
32
|
-
const InnerElement = variant === "underline" ? Container.Container : ButtonGroupBasic_styles.ButtonGroupBasicInner;
|
|
33
25
|
return /* @__PURE__ */jsxRuntime.jsx(ButtonGroupBasic_styles.ButtonGroupBasic, {
|
|
34
|
-
|
|
35
|
-
children: /* @__PURE__ */jsxRuntime.jsx(InnerElement, {
|
|
36
|
-
size: innerContainerSize,
|
|
37
|
-
noVerticalMargin: true,
|
|
26
|
+
children: /* @__PURE__ */jsxRuntime.jsx(ButtonGroupBasic_styles.ButtonGroupBasicInner, {
|
|
38
27
|
children: /* @__PURE__ */jsxRuntime.jsx(ScrollWrapper.ScrollWrapper, {
|
|
39
28
|
gap: 10,
|
|
40
29
|
arrowFadeColor: "#ffffff",
|
|
@@ -49,8 +38,7 @@ const ButtonGroupBasic = function ButtonGroupBasic2({
|
|
|
49
38
|
id: button.id,
|
|
50
39
|
onClick,
|
|
51
40
|
activeId,
|
|
52
|
-
title: button.title
|
|
53
|
-
variant
|
|
41
|
+
title: button.title
|
|
54
42
|
});
|
|
55
43
|
}
|
|
56
44
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroupBasic.js","sources":["../../../src/components/ButtonGroupBasic/ButtonGroupBasic.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"ButtonGroupBasic.js","sources":["../../../src/components/ButtonGroupBasic/ButtonGroupBasic.tsx"],"sourcesContent":["import { ScrollWrapper } from \"../ScrollWrapper\";\nimport * as S from \"./ButtonGroupBasic.styles\";\nimport type {\n ButtonGroupBasicProps,\n ButtonItemProps,\n} from \"./ButtonGroupBasic.types\";\n\nconst ButtonItem = function ButtonItem({\n onClick,\n activeId,\n id,\n title,\n}: ButtonItemProps) {\n return (\n <S.Button\n $isActive={\n typeof activeId === \"string\" ? activeId === id : activeId?.includes(id)\n }\n onClick={() => onClick && onClick(id)}\n >\n {title}\n </S.Button>\n );\n};\n\nexport const ButtonGroupBasic = function ButtonGroupBasic({\n items,\n onClick,\n activeId,\n}: ButtonGroupBasicProps): JSX.Element {\n return (\n <S.ButtonGroupBasic>\n <S.ButtonGroupBasicInner>\n <ScrollWrapper\n gap={10}\n arrowFadeColor=\"#ffffff\"\n align=\"center\"\n direction=\"horizontal\"\n scrollStepType=\"scrollScreen\"\n items={items.map((button) => {\n return {\n id: `category-item-${button.id}`,\n render: function Render() {\n return (\n <ButtonItem\n id={button.id}\n onClick={onClick}\n activeId={activeId}\n title={button.title}\n />\n );\n },\n };\n })}\n />\n </S.ButtonGroupBasicInner>\n </S.ButtonGroupBasic>\n );\n};\n"],"names":["ButtonItem","ButtonItem2","onClick","activeId","id","title","jsx","S.Button","Button","$isActive","includes","children","ButtonGroupBasic","ButtonGroupBasic2","items","S.ButtonGroupBasic","S.ButtonGroupBasicInner","ScrollWrapper","gap","arrowFadeColor","align","direction","scrollStepType","map","button","render","Render"],"mappings":";;;;;;;AAOA,MAAMA,UAAA,GAAa,SAASA,WAAWC,CAAA;EACrCC,OAAA;EACAC,QAAA;EACAC,EAAA;EACAC;AACF,CAAoB,EAAA;EAEhB,sBAAAC,UAAA,CAAAA,GAAA,CAACC,uBAAE,CAAAC,MAAA,EAAF;IACCC,SAAA,EACE,OAAON,QAAa,KAAA,QAAA,GAAWA,aAAaC,EAAK,GAAAD,QAAA,EAAUO,SAASN,EAAE,CAAA;IAExEF,OAAS,EAAAA,CAAA,KAAMA,OAAW,IAAAA,OAAA,CAAQE,EAAE,CAAA;IAEnCO,QAAA,EAAAN;EAAA,CAAA,CACH;AAEJ,CAAA;AAEa,MAAAO,gBAAA,GAAmB,SAASA,iBAAiBC,CAAA;EACxDC,KAAA;EACAZ,OAAA;EACAC;AACF,CAAuC,EAAA;EACrC,qCACGY,uBAAAA,CAAAA,gBAAE,EAAF;IACCJ,QAAC,EAAAL,eAAAA,UAAAA,CAAAA,GAAA,CAAAU,+CAAA;MACCL,QAAA,iBAAAL,UAAA,CAAAA,GAAA,CAACW,aAAA,CAAAA,aAAA,EAAA;QACCC,GAAK,EAAA,EAAA;QACLC,cAAe,EAAA,SAAA;QACfC,KAAM,EAAA,QAAA;QACNC,SAAU,EAAA,YAAA;QACVC,cAAe,EAAA,cAAA;QACfR,KAAO,EAAAA,KAAA,CAAMS,GAAI,CAACC,MAAW,IAAA;UACpB,OAAA;YACLpB,EAAA,EAAqB,iBAAAoB,MAAA,CAAOpB,EAAE,EAAA;YAC9BqB,MAAA,EAAQ,SAASC,MAASA,CAAA,EAAA;cAEtB,sBAAApB,UAAA,CAAAA,GAAA,CAACN,UAAA,EAAA;gBACCI,IAAIoB,MAAO,CAAApB,EAAA;gBACXF,OAAA;gBACAC,QAAA;gBACAE,OAAOmB,MAAO,CAAAnB;cAAA,CAAA,CAChB;YAEJ;UAAA,CACF;QAAA,CACD;MAAA,CAAA;IAEL,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,38 +1,27 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import '../Container/index.mjs';
|
|
3
2
|
import '../ScrollWrapper/index.mjs';
|
|
4
|
-
import { Button,
|
|
5
|
-
import { Container } from '../Container/Container.mjs';
|
|
3
|
+
import { Button, ButtonGroupBasic as ButtonGroupBasic$1, ButtonGroupBasicInner } from './ButtonGroupBasic.styles.mjs';
|
|
6
4
|
import { ScrollWrapper } from '../ScrollWrapper/ScrollWrapper.mjs';
|
|
7
5
|
"use strict";
|
|
8
6
|
const ButtonItem = function ButtonItem2({
|
|
9
7
|
onClick,
|
|
10
8
|
activeId,
|
|
11
9
|
id,
|
|
12
|
-
title
|
|
13
|
-
variant
|
|
10
|
+
title
|
|
14
11
|
}) {
|
|
15
12
|
return /* @__PURE__ */jsx(Button, {
|
|
16
|
-
$variant: variant,
|
|
17
13
|
$isActive: typeof activeId === "string" ? activeId === id : activeId?.includes(id),
|
|
18
14
|
onClick: () => onClick && onClick(id),
|
|
19
|
-
title,
|
|
20
15
|
children: title
|
|
21
16
|
});
|
|
22
17
|
};
|
|
23
18
|
const ButtonGroupBasic = function ButtonGroupBasic2({
|
|
24
19
|
items,
|
|
25
20
|
onClick,
|
|
26
|
-
activeId
|
|
27
|
-
variant = "basic",
|
|
28
|
-
innerContainerSize = "desktop"
|
|
21
|
+
activeId
|
|
29
22
|
}) {
|
|
30
|
-
const InnerElement = variant === "underline" ? Container : ButtonGroupBasicInner;
|
|
31
23
|
return /* @__PURE__ */jsx(ButtonGroupBasic$1, {
|
|
32
|
-
|
|
33
|
-
children: /* @__PURE__ */jsx(InnerElement, {
|
|
34
|
-
size: innerContainerSize,
|
|
35
|
-
noVerticalMargin: true,
|
|
24
|
+
children: /* @__PURE__ */jsx(ButtonGroupBasicInner, {
|
|
36
25
|
children: /* @__PURE__ */jsx(ScrollWrapper, {
|
|
37
26
|
gap: 10,
|
|
38
27
|
arrowFadeColor: "#ffffff",
|
|
@@ -47,8 +36,7 @@ const ButtonGroupBasic = function ButtonGroupBasic2({
|
|
|
47
36
|
id: button.id,
|
|
48
37
|
onClick,
|
|
49
38
|
activeId,
|
|
50
|
-
title: button.title
|
|
51
|
-
variant
|
|
39
|
+
title: button.title
|
|
52
40
|
});
|
|
53
41
|
}
|
|
54
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroupBasic.mjs","sources":["../../../src/components/ButtonGroupBasic/ButtonGroupBasic.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"ButtonGroupBasic.mjs","sources":["../../../src/components/ButtonGroupBasic/ButtonGroupBasic.tsx"],"sourcesContent":["import { ScrollWrapper } from \"../ScrollWrapper\";\nimport * as S from \"./ButtonGroupBasic.styles\";\nimport type {\n ButtonGroupBasicProps,\n ButtonItemProps,\n} from \"./ButtonGroupBasic.types\";\n\nconst ButtonItem = function ButtonItem({\n onClick,\n activeId,\n id,\n title,\n}: ButtonItemProps) {\n return (\n <S.Button\n $isActive={\n typeof activeId === \"string\" ? activeId === id : activeId?.includes(id)\n }\n onClick={() => onClick && onClick(id)}\n >\n {title}\n </S.Button>\n );\n};\n\nexport const ButtonGroupBasic = function ButtonGroupBasic({\n items,\n onClick,\n activeId,\n}: ButtonGroupBasicProps): JSX.Element {\n return (\n <S.ButtonGroupBasic>\n <S.ButtonGroupBasicInner>\n <ScrollWrapper\n gap={10}\n arrowFadeColor=\"#ffffff\"\n align=\"center\"\n direction=\"horizontal\"\n scrollStepType=\"scrollScreen\"\n items={items.map((button) => {\n return {\n id: `category-item-${button.id}`,\n render: function Render() {\n return (\n <ButtonItem\n id={button.id}\n onClick={onClick}\n activeId={activeId}\n title={button.title}\n />\n );\n },\n };\n })}\n />\n </S.ButtonGroupBasicInner>\n </S.ButtonGroupBasic>\n );\n};\n"],"names":["ButtonItem","ButtonItem2","onClick","activeId","id","title","jsx","S.Button","$isActive","includes","children","ButtonGroupBasic","ButtonGroupBasic2","items","S.ButtonGroupBasic","S.ButtonGroupBasicInner","ScrollWrapper","gap","arrowFadeColor","align","direction","scrollStepType","map","button","render","Render"],"mappings":";;;;;AAOA,MAAMA,UAAA,GAAa,SAASA,WAAWC,CAAA;EACrCC,OAAA;EACAC,QAAA;EACAC,EAAA;EACAC;AACF,CAAoB,EAAA;EAEhB,sBAAAC,GAAA,CAACC,MAAE,EAAF;IACCC,SAAA,EACE,OAAOL,QAAa,KAAA,QAAA,GAAWA,aAAaC,EAAK,GAAAD,QAAA,EAAUM,SAASL,EAAE,CAAA;IAExEF,OAAS,EAAAA,CAAA,KAAMA,OAAW,IAAAA,OAAA,CAAQE,EAAE,CAAA;IAEnCM,QAAA,EAAAL;EAAA,CAAA,CACH;AAEJ,CAAA;AAEa,MAAAM,gBAAA,GAAmB,SAASA,iBAAiBC,CAAA;EACxDC,KAAA;EACAX,OAAA;EACAC;AACF,CAAuC,EAAA;EACrC,0BACGW,kBAAE,EAAF;IACCJ,QAAC,EAAA,eAAAJ,GAAA,CAAAS,uBAAA;MACCL,QAAA,iBAAAJ,GAAA,CAACU,aAAA,EAAA;QACCC,GAAK,EAAA,EAAA;QACLC,cAAe,EAAA,SAAA;QACfC,KAAM,EAAA,QAAA;QACNC,SAAU,EAAA,YAAA;QACVC,cAAe,EAAA,cAAA;QACfR,KAAO,EAAAA,KAAA,CAAMS,GAAI,CAACC,MAAW,IAAA;UACpB,OAAA;YACLnB,EAAA,EAAqB,iBAAAmB,MAAA,CAAOnB,EAAE,EAAA;YAC9BoB,MAAA,EAAQ,SAASC,MAASA,CAAA,EAAA;cAEtB,sBAAAnB,GAAA,CAACN,UAAA,EAAA;gBACCI,IAAImB,MAAO,CAAAnB,EAAA;gBACXF,OAAA;gBACAC,QAAA;gBACAE,OAAOkB,MAAO,CAAAlB;cAAA,CAAA,CAChB;YAEJ;UAAA,CACF;QAAA,CACD;MAAA,CAAA;IAEL,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|