@scbt-ecom/ui 0.65.0 → 0.67.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/dist/hooks.js +40 -44
- package/dist/hooks.js.map +1 -1
- package/dist/{index-BC0CWE5w.js → index-CVI7dOhZ.js} +11412 -10821
- package/dist/index-CVI7dOhZ.js.map +1 -0
- package/dist/index-cm9kMt4X.js +435 -0
- package/dist/index-cm9kMt4X.js.map +1 -0
- package/dist/shared/types/dicriminatedUnion.d.ts +7 -0
- package/dist/shared/types/index.d.ts +2 -0
- package/dist/shared/types/keysOf.d.ts +5 -0
- package/dist/shared/ui/button/model/helpers.d.ts +1 -1
- package/dist/shared/ui/carousel/CarouselBase.d.ts +29 -0
- package/dist/shared/ui/carousel/CarouselNative.d.ts +6 -0
- package/dist/shared/ui/carousel/index.d.ts +3 -0
- package/dist/shared/ui/carousel/model/helpers.d.ts +9 -0
- package/dist/shared/ui/carousel/model/hooks/index.d.ts +3 -0
- package/dist/shared/ui/carousel/model/hooks/useArrowNavigation.d.ts +12 -0
- package/dist/shared/ui/carousel/model/hooks/useCarousel.d.ts +12 -0
- package/dist/shared/ui/carousel/model/hooks/useDotsNavigation.d.ts +15 -0
- package/dist/shared/ui/carousel/model/index.d.ts +3 -0
- package/dist/shared/ui/carousel/model/types.d.ts +27 -0
- package/dist/shared/ui/carousel/ui/ArrowNavigationButton.d.ts +13 -0
- package/dist/shared/ui/carousel/ui/CarouselContent.d.ts +16 -0
- package/dist/shared/ui/carousel/ui/CarouselSlide.d.ts +10 -0
- package/dist/shared/ui/carousel/ui/ContainerWithNavigation.d.ts +16 -0
- package/dist/shared/ui/carousel/ui/DotsNavigations.d.ts +13 -0
- package/dist/shared/ui/carousel/ui/index.d.ts +5 -0
- package/dist/shared/ui/carousel/ui/slideVariants/SlideFullScreen.d.ts +19 -0
- package/dist/shared/ui/carousel/ui/slideVariants/SlideOnlyImage.d.ts +11 -0
- package/dist/shared/ui/carousel/ui/slideVariants/SlideProductCard.d.ts +20 -0
- package/dist/shared/ui/carousel/ui/slideVariants/index.d.ts +3 -0
- package/dist/shared/ui/formElements/controlled/index.d.ts +2 -0
- package/dist/shared/ui/formElements/controlled/radio/RadioGroupCardControl.d.ts +3 -0
- package/dist/shared/ui/formElements/controlled/radio/RadioGroupControl.d.ts +1 -1
- package/dist/shared/ui/formElements/controlled/radio/RadioGroupTabControl.d.ts +3 -0
- package/dist/shared/ui/formElements/controlled/radio/index.d.ts +2 -0
- package/dist/shared/ui/formElements/uncontrolled/dayPicker/DayPicker.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/index.d.ts +7 -6
- package/dist/shared/ui/formElements/uncontrolled/input/Input.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/maskInput/MaskInput.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/radio/RadioGroup.d.ts +12 -0
- package/dist/shared/ui/formElements/uncontrolled/radio/index.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/AdditionalContent.d.ts +12 -0
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/RadioItem.d.ts +3 -0
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/RadioItemCard.d.ts +4 -0
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/RadioItemTab.d.ts +4 -0
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/index.d.ts +3 -1
- package/dist/shared/ui/formElements/uncontrolled/select/Select.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/select/ui/SelectItem.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/textarea/Textarea.d.ts +1 -1
- package/dist/shared/ui/heading/Heading.d.ts +1 -1
- package/dist/shared/ui/hint/Hint.d.ts +1 -0
- package/dist/shared/ui/icon/sprite.gen.d.ts +1 -1
- package/dist/shared/ui/index.d.ts +1 -0
- package/dist/shared/ui/popover/Popover.d.ts +2 -1
- package/dist/shared/validation/base/base.validators.d.ts +2 -0
- package/dist/shared/validation/base/boolean.validators.d.ts +13 -0
- package/dist/shared/validation/base/number.validators.d.ts +1 -0
- package/dist/shared/validation/base/select.validators.d.ts +1 -0
- package/dist/shared/validation/base/string.validators.d.ts +1 -0
- package/dist/shared/validation/index.d.ts +1 -0
- package/dist/sprites/general.svg +1 -1
- package/dist/ui.js +2574 -1038
- package/dist/ui.js.map +1 -1
- package/dist/useDebounce-B-41PFpS.js +1211 -0
- package/dist/useDebounce-B-41PFpS.js.map +1 -0
- package/dist/useFieldsProgress-BQ99Vijl.js +26 -0
- package/dist/useFieldsProgress-BQ99Vijl.js.map +1 -0
- package/dist/validation.js +1 -1
- package/dist/widget.js +1126 -954
- package/dist/widget.js.map +1 -1
- package/dist/widgets/calculator/Calculator.d.ts +7 -0
- package/dist/widgets/calculator/CalculatorRoot.d.ts +8 -0
- package/dist/widgets/calculator/index.d.ts +2 -0
- package/dist/widgets/calculator/model/helpers.d.ts +4 -0
- package/dist/widgets/calculator/model/index.d.ts +3 -0
- package/dist/widgets/calculator/model/types.d.ts +9 -0
- package/dist/widgets/calculator/model/utils.d.ts +11 -0
- package/dist/widgets/calculator/ui/CalculatorTabs.d.ts +12 -0
- package/dist/widgets/calculator/ui/calculatorInfo/CalculatorInfo.d.ts +4 -0
- package/dist/widgets/calculator/ui/calculatorInfo/index.d.ts +2 -0
- package/dist/widgets/calculator/ui/calculatorInfo/ui/AssistHint.d.ts +7 -0
- package/dist/widgets/calculator/ui/calculatorInfo/ui/CalculatedBlock.d.ts +7 -0
- package/dist/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoBody.d.ts +5 -0
- package/dist/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoFooter.d.ts +8 -0
- package/dist/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoHead.d.ts +5 -0
- package/dist/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.d.ts +15 -0
- package/dist/widgets/calculator/ui/calculatorInfo/ui/index.d.ts +6 -0
- package/dist/widgets/calculator/ui/index.d.ts +3 -0
- package/dist/widgets/calculator/ui/rootCalculator/RootCalculator.d.ts +14 -0
- package/dist/widgets/calculator/ui/rootCalculator/index.d.ts +1 -0
- package/dist/widgets/calculator/ui/rootCalculator/ui/CalculatorModal.d.ts +8 -0
- package/dist/widgets/calculator/ui/rootCalculator/ui/CheckboxGroup.d.ts +9 -0
- package/dist/widgets/calculator/ui/rootCalculator/ui/RadioGroup.d.ts +11 -0
- package/dist/widgets/calculator/ui/rootCalculator/ui/SlidersGroup.d.ts +9 -0
- package/dist/widgets/calculator/ui/rootCalculator/ui/SwitchGroup.d.ts +9 -0
- package/dist/widgets/calculator/ui/rootCalculator/ui/index.d.ts +5 -0
- package/dist/widgets/dynamicForm/DynamicForm.d.ts +2 -1
- package/dist/widgets/dynamicForm/model/getDynamicSchema.d.ts +0 -10
- package/dist/widgets/dynamicForm/model/index.d.ts +0 -1
- package/dist/widgets/fieldMapper/index.d.ts +1 -1
- package/dist/widgets/fieldMapper/model/types.d.ts +6 -0
- package/dist/widgets/index.d.ts +1 -0
- package/dist/widgets/model/helpers.d.ts +2 -2
- package/dist/widgets/model/index.d.ts +1 -0
- package/dist/widgets/model/utils.d.ts +10 -0
- package/package.json +6 -2
- package/dist/index-BC0CWE5w.js.map +0 -1
- package/dist/index-BKXpPQ1s.js +0 -426
- package/dist/index-BKXpPQ1s.js.map +0 -1
- package/dist/useDebounce-i1sdXecI.js +0 -1196
- package/dist/useDebounce-i1sdXecI.js.map +0 -1
- package/dist/useFieldsProgress-C3nmU8Vi.js +0 -21
- package/dist/useFieldsProgress-C3nmU8Vi.js.map +0 -1
|
@@ -14,6 +14,7 @@ export declare const zodValidators: {
|
|
|
14
14
|
getDateSchema: typeof import('./base/date.validators').getDateSchema;
|
|
15
15
|
getUnionSchema: typeof import('./base/union.validators').getUnionSchema;
|
|
16
16
|
getUrlSchema: typeof import('./base/url.validators').getUrlSchema;
|
|
17
|
+
getBooleanSchema: typeof import('./base/boolean.validators').getBooleanSchema;
|
|
17
18
|
};
|
|
18
19
|
dadata: {
|
|
19
20
|
getFioSchema: typeof import('./dadata').getFioSchema;
|
package/dist/sprites/general.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="0" height="0"><symbol xmlns="http://www.w3.org/2000/svg" id="calendar" fill="none" viewBox="0 0 19 20"><path fill="currentColor" fill-rule="evenodd" d="M4.56 0a1 1 0 0 1 1 1v.543h8.19V1a1 1 0 1 1 2 0v.604c1.714.317 3 1.834 3 3.639V16.3c0 2.032-1.63 3.7-3.667 3.7H4.417C2.38 20 .75 18.332.75 16.3V5.243a3.696 3.696 0 0 1 2.81-3.599V1a1 1 0 0 1 1-1Zm-.02 3.543h-.123c-.91 0-1.667.75-1.667 1.7v.671h14v-.671c0-.95-.758-1.7-1.667-1.7H4.58a1.066 1.066 0 0 1-.04 0Zm12.21 4.371h-14V16.3c0 .95.758 1.7 1.667 1.7h10.666c.91 0 1.667-.75 1.667-1.7V7.914Z" clip-rule="evenodd"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="check" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="m4.892 13.269 4.274 4.274L18.709 8"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="close" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12 5.293 6.707a1 1 0 0 1 0-1.414Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="edit" fill="none" viewBox="0 0 19 19"><path fill="currentColor" d="M13.293.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-13 13A1 1 0 0 1 5 19H1a1 1 0 0 1-1-1v-4a1 1 0 0 1 .293-.707l13-13ZM14 2.414l-12 12V17h2.586l12-12L14 2.414Z"/><path fill="currentColor" fill-rule="evenodd" d="M9 18a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2h-8a1 1 0 0 1-1-1Z" clip-rule="evenodd"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="hiddenEye" fill="none" viewBox="0 0 20 18"><path fill="currentColor" d="M2.707.293a1 1 0 0 0-1.414 1.414l2.424 2.424C2.287 5.207 1.04 6.685.106 8.553a1 1 0 0 0 0 .894C2.264 13.764 6.096 16 10 16c1.555 0 3.1-.355 4.53-1.055l2.763 2.762a1 1 0 0 0 1.414-1.414l-16-16Zm10.307 13.135c-.98.383-2 .572-3.014.572-2.969 0-6.002-1.62-7.87-5 .817-1.479 1.858-2.62 3.018-3.437l2.144 2.144a3 3 0 0 0 4.001 4.001l1.72 1.72Zm3.538-2.532c.483-.556.926-1.187 1.318-1.896-1.868-3.38-4.9-5-7.87-5-.112 0-.224.002-.336.007L7.879 2.223A10.215 10.215 0 0 1 10 2c3.903 0 7.736 2.236 9.894 6.553a1 1 0 0 1 0 .894 13.107 13.107 0 0 1-1.925 2.865l-1.417-1.416Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="menu" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M2 5.75c0-.69.56-1.25 1.25-1.25h17.5a1.25 1.25 0 1 1 0 2.5H3.25C2.56 7 2 6.44 2 5.75ZM2 12c0-.69.56-1.25 1.25-1.25h17.5a1.25 1.25 0 1 1 0 2.5H3.25C2.56 13.25 2 12.69 2 12Zm0 6.25c0-.69.56-1.25 1.25-1.25h17.5a1.25 1.25 0 1 1 0 2.5H3.25c-.69 0-1.25-.56-1.25-1.25Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="plus" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 1 1 0-2h6V1a1 1 0 0 1 1-1Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="reorder" fill="none" viewBox="0 0 12 18"><path fill="currentColor" d="M2.5 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm2 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm5-12a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm2 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="showEye" fill="none" viewBox="0 0 20 14"><path fill="currentColor" d="M13 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"/><path fill="currentColor" d="M19.894 6.553C17.736 2.236 13.904 0 10 0 6.097 0 2.264 2.236.106 6.553a1 1 0 0 0 0 .894C2.264 11.764 6.096 14 10 14c3.903 0 7.736-2.236 9.894-6.553a1 1 0 0 0 0-.894ZM10 12c-2.969 0-6.002-1.62-7.87-5C3.998 3.62 7.03 2 10 2c2.969 0 6.002 1.62 7.87 5-1.868 3.38-4.901 5-7.87 5Z"/></symbol></svg>
|
|
1
|
+
<svg width="0" height="0"><symbol xmlns="http://www.w3.org/2000/svg" id="calendar" fill="none" viewBox="0 0 19 20"><path fill="currentColor" fill-rule="evenodd" d="M4.56 0a1 1 0 0 1 1 1v.543h8.19V1a1 1 0 1 1 2 0v.604c1.714.317 3 1.834 3 3.639V16.3c0 2.032-1.63 3.7-3.667 3.7H4.417C2.38 20 .75 18.332.75 16.3V5.243a3.696 3.696 0 0 1 2.81-3.599V1a1 1 0 0 1 1-1Zm-.02 3.543h-.123c-.91 0-1.667.75-1.667 1.7v.671h14v-.671c0-.95-.758-1.7-1.667-1.7H4.58a1.066 1.066 0 0 1-.04 0Zm12.21 4.371h-14V16.3c0 .95.758 1.7 1.667 1.7h10.666c.91 0 1.667-.75 1.667-1.7V7.914Z" clip-rule="evenodd"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="check" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="m4.892 13.269 4.274 4.274L18.709 8"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="close" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12 5.293 6.707a1 1 0 0 1 0-1.414Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="edit" fill="none" viewBox="0 0 19 19"><path fill="currentColor" d="M13.293.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-13 13A1 1 0 0 1 5 19H1a1 1 0 0 1-1-1v-4a1 1 0 0 1 .293-.707l13-13ZM14 2.414l-12 12V17h2.586l12-12L14 2.414Z"/><path fill="currentColor" fill-rule="evenodd" d="M9 18a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2h-8a1 1 0 0 1-1-1Z" clip-rule="evenodd"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="hiddenEye" fill="none" viewBox="0 0 20 18"><path fill="currentColor" d="M2.707.293a1 1 0 0 0-1.414 1.414l2.424 2.424C2.287 5.207 1.04 6.685.106 8.553a1 1 0 0 0 0 .894C2.264 13.764 6.096 16 10 16c1.555 0 3.1-.355 4.53-1.055l2.763 2.762a1 1 0 0 0 1.414-1.414l-16-16Zm10.307 13.135c-.98.383-2 .572-3.014.572-2.969 0-6.002-1.62-7.87-5 .817-1.479 1.858-2.62 3.018-3.437l2.144 2.144a3 3 0 0 0 4.001 4.001l1.72 1.72Zm3.538-2.532c.483-.556.926-1.187 1.318-1.896-1.868-3.38-4.9-5-7.87-5-.112 0-.224.002-.336.007L7.879 2.223A10.215 10.215 0 0 1 10 2c3.903 0 7.736 2.236 9.894 6.553a1 1 0 0 1 0 .894 13.107 13.107 0 0 1-1.925 2.865l-1.417-1.416Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="menu" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M2 5.75c0-.69.56-1.25 1.25-1.25h17.5a1.25 1.25 0 1 1 0 2.5H3.25C2.56 7 2 6.44 2 5.75ZM2 12c0-.69.56-1.25 1.25-1.25h17.5a1.25 1.25 0 1 1 0 2.5H3.25C2.56 13.25 2 12.69 2 12Zm0 6.25c0-.69.56-1.25 1.25-1.25h17.5a1.25 1.25 0 1 1 0 2.5H3.25c-.69 0-1.25-.56-1.25-1.25Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="plus" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 1 1 0-2h6V1a1 1 0 0 1 1-1Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="reorder" fill="none" viewBox="0 0 12 18"><path fill="currentColor" d="M2.5 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm2 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm5-12a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm2 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="shield" fill="none" viewBox="0 0 25 24"><path fill="currentColor" d="M12.123 2.034 5.092 5.035a.967.967 0 0 0-.594.906c0 4.38.175 6.34.969 8.597 1.039 2.955 3.079 5.31 6.53 7.283.308.176.694.176 1 0 3.484-1.99 5.533-4.338 6.563-7.283.784-2.24.938-4.105.938-8.597a.973.973 0 0 0-.594-.906l-6.969-3a1.06 1.06 0 0 0-.812 0Zm.375 1.97 5.996 2.602c.087 7.175-1.32 10.32-5.987 13.181-4.79-2.979-6.061-6.158-6.012-13.173 1.363-.582 4.85-2.119 6.003-2.61Z"/><path fill="currentColor" d="M6.495 6.614c-.05 7.015 1.223 10.194 6.012 13.173l-.01-15.784c-1.152.492-4.64 2.03-6.002 2.611Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="showEye" fill="none" viewBox="0 0 20 14"><path fill="currentColor" d="M13 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"/><path fill="currentColor" d="M19.894 6.553C17.736 2.236 13.904 0 10 0 6.097 0 2.264 2.236.106 6.553a1 1 0 0 0 0 .894C2.264 11.764 6.096 14 10 14c3.903 0 7.736-2.236 9.894-6.553a1 1 0 0 0 0-.894ZM10 12c-2.969 0-6.002-1.62-7.87-5C3.998 3.62 7.03 2 10 2c2.969 0 6.002 1.62 7.87 5-1.868 3.38-4.901 5-7.87 5Z"/></symbol></svg>
|