@poni/adjutant-ui 0.0.101 → 0.0.103
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/AdjSvgActive-9kTmj0ZZ.cjs +1 -0
- package/dist/AdjSvgActive-Cg9d-T7U.js +312 -0
- package/dist/components/AdjButton/AdjButton.mock.d.ts +2 -2
- package/dist/components/AdjButton/AdjButton.vue.d.ts +43 -43
- package/dist/components/AdjButtonCheckbox/AdjButtonCheckbox.mock.d.ts +2 -2
- package/dist/components/AdjButtonCheckbox/AdjButtonCheckbox.vue.d.ts +19 -29
- package/dist/components/AdjCheckbox/AdjCheckbox.mock.d.ts +3 -3
- package/dist/components/AdjCheckbox/AdjCheckbox.vue.d.ts +36 -45
- package/dist/components/AdjCheckbox/IAdjCheckboxItem.d.ts +3 -0
- package/dist/components/AdjDownloadLink/AdjDownloadLink.mock.d.ts +2 -2
- package/dist/components/AdjDownloadLink/AdjDownloadLink.vue.d.ts +11 -19
- package/dist/components/AdjDropdownLink/AdjDropdownLink.mock.d.ts +2 -2
- package/dist/components/AdjDropdownLink/AdjDropdownLink.vue.d.ts +17 -19
- package/dist/components/AdjFilterCheckbox/AdjFilterCheckbox.mock.d.ts +2 -2
- package/dist/components/AdjFilterCheckbox/AdjFilterCheckbox.vue.d.ts +15 -27
- package/dist/components/AdjFilterSelect/AdjFilterSelect.mock.d.ts +2 -2
- package/dist/components/AdjFilterSelect/AdjFilterSelect.vue.d.ts +27 -30
- package/dist/components/AdjFilterSelect/IAdjFilterSelectItem.d.ts +1 -1
- package/dist/components/AdjFilters/AdjFilters.mock.d.ts +2 -2
- package/dist/components/AdjFilters/AdjFilters.vue.d.ts +11 -22
- package/dist/components/AdjFilters/IAdjFiltersItem.d.ts +3 -2
- package/dist/components/AdjFiltersMobile/AdjFiltersMobile.mock.d.ts +2 -2
- package/dist/components/AdjFiltersMobile/AdjFiltersMobile.vue.d.ts +28 -27
- package/dist/components/AdjFiltersMobile/IAdjFiltersMobileItem.d.ts +2 -1
- package/dist/components/AdjHint/AdjHint.mock.d.ts +7 -4
- package/dist/components/AdjHint/AdjHint.stories.d.ts +6 -3
- package/dist/components/AdjHint/AdjHint.vue.d.ts +44 -33
- package/dist/components/AdjHintDesktop/AdjHintDesktop.mock.d.ts +4 -0
- package/dist/components/AdjHintDesktop/AdjHintDesktop.stories.d.ts +8 -0
- package/dist/components/AdjHintDesktop/AdjHintDesktop.vue.d.ts +31 -0
- package/dist/components/AdjIcon/AdjIcon.mock.d.ts +2 -2
- package/dist/components/AdjIcon/AdjIcon.vue.d.ts +35 -31
- package/dist/components/AdjIconButton/AdjIconButton.mock.d.ts +5 -5
- package/dist/components/AdjIconButton/AdjIconButton.vue.d.ts +28 -33
- package/dist/components/AdjIconButtonText/AdjIconButtonText.mock.d.ts +2 -2
- package/dist/components/AdjIconButtonText/AdjIconButtonText.vue.d.ts +24 -27
- package/dist/components/AdjImageButton/AdjImageButton.mock.d.ts +2 -2
- package/dist/components/AdjImageButton/AdjImageButton.vue.d.ts +13 -27
- package/dist/components/AdjInput/AdjInput.mock.d.ts +3 -3
- package/dist/components/AdjInput/AdjInput.vue.d.ts +47 -45
- package/dist/components/AdjInputModern/AdjInputModern.mock.d.ts +2 -2
- package/dist/components/AdjInputModern/AdjInputModern.vue.d.ts +23 -33
- package/dist/components/AdjInputNumber/AdjInputNumber.mock.d.ts +2 -2
- package/dist/components/AdjInputNumber/AdjInputNumber.vue.d.ts +27 -35
- package/dist/components/AdjModal/AdjModal.mock.d.ts +3 -3
- package/dist/components/AdjModal/AdjModal.vue.d.ts +25 -30
- package/dist/components/AdjRadio/AdjRadio.mock.d.ts +3 -3
- package/dist/components/AdjRadio/AdjRadio.vue.d.ts +24 -32
- package/dist/components/AdjRadio/IAdjRadioItem.d.ts +2 -2
- package/dist/components/AdjScroll/AdjScroll.mock.d.ts +2 -2
- package/dist/components/AdjScroll/AdjScroll.vue.d.ts +19 -28
- package/dist/components/AdjSelect/AdjSelect.mock.d.ts +3 -3
- package/dist/components/AdjSelect/AdjSelect.vue.d.ts +44 -40
- package/dist/components/AdjSelect/IAdjSelectItem.d.ts +1 -1
- package/dist/components/AdjSelectImage/AdjSelectImage.mock.d.ts +3 -2
- package/dist/components/AdjSelectImage/AdjSelectImage.stories.d.ts +2 -1
- package/dist/components/AdjSelectImage/AdjSelectImage.vue.d.ts +36 -31
- package/dist/components/AdjSelectImage/IAdjSelectImageItem.d.ts +6 -3
- package/dist/components/AdjSelectModern/AdjSelectModern.mock.d.ts +4 -0
- package/dist/components/AdjSelectModern/AdjSelectModern.stories.d.ts +8 -0
- package/dist/components/AdjSelectModern/AdjSelectModern.vue.d.ts +32 -0
- package/dist/components/AdjSelectModern/IAdjSelectModernItem.d.ts +6 -0
- package/dist/components/AdjSkeleton/AdjSkeleton.mock.d.ts +5 -5
- package/dist/components/AdjSkeleton/AdjSkeleton.vue.d.ts +18 -29
- package/dist/components/AdjSkeletonItem/AdjSkeletonItem.mock.d.ts +2 -2
- package/dist/components/AdjSkeletonItem/AdjSkeletonItem.vue.d.ts +20 -30
- package/dist/components/AdjSliderButton/AdjSliderButton.mock.d.ts +2 -2
- package/dist/components/AdjSliderButton/AdjSliderButton.vue.d.ts +15 -27
- package/dist/components/AdjSvg/AdjSvgActive.vue.d.ts +1 -1
- package/dist/components/AdjSvg/AdjSvgEdit.vue.d.ts +1 -1
- package/dist/components/AdjSvg/AdjSvgFly.vue.d.ts +1 -1
- package/dist/components/AdjSvg/AdjSvgYoutube.vue.d.ts +1 -1
- package/dist/components/AdjTabs/AdjTabs.mock.d.ts +2 -2
- package/dist/components/AdjTabs/AdjTabs.vue.d.ts +15 -27
- package/dist/components/AdjTabs/IAdjTabsItem.d.ts +2 -2
- package/dist/components/AdjUploadFile/AdjUploadFile.mock.d.ts +2 -2
- package/dist/components/AdjUploadFile/AdjUploadFile.vue.d.ts +29 -29
- package/dist/components/AdjUploadFile/IAdjUploadFileItem.d.ts +3 -0
- package/dist/components/constructor/AdjBlocks/AdjBlocks.mock.d.ts +2 -2
- package/dist/components/constructor/AdjBlocks/AdjBlocks.vue.d.ts +25 -32
- package/dist/components/constructor/AdjLaminates/AdjLaminates.mock.d.ts +2 -2
- package/dist/components/constructor/AdjLaminates/AdjLaminates.vue.d.ts +21 -28
- package/dist/components/constructor/AdjMaterials/AdjMaterials.mock.d.ts +2 -2
- package/dist/components/constructor/AdjMaterials/AdjMaterials.vue.d.ts +23 -30
- package/dist/components/constructor/AdjModels/AdjModels.mock.d.ts +2 -2
- package/dist/components/constructor/AdjModels/AdjModels.vue.d.ts +25 -30
- package/dist/components/constructor/AdjNavigator/AdjNavigator.mock.d.ts +6 -6
- package/dist/components/constructor/AdjNavigator/AdjNavigator.vue.d.ts +19 -30
- package/dist/components/constructor/AdjNavigator/IAdjNavigatorItem.d.ts +2 -2
- package/dist/components/constructor/AdjPersonalizations/AdjPersonalizations.mock.d.ts +2 -2
- package/dist/components/constructor/AdjPersonalizations/AdjPersonalizations.vue.d.ts +25 -31
- package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.mock.d.ts +2 -0
- package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.stories.d.ts +6 -0
- package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.vue.d.ts +74 -0
- package/dist/components/constructor/AdjPricebar/AdjPricebar.mock.d.ts +2 -2
- package/dist/components/constructor/AdjPricebar/AdjPricebar.vue.d.ts +66 -22
- package/dist/components/constructor/AdjProducts/AdjProducts.mock.d.ts +3 -3
- package/dist/components/constructor/AdjProducts/AdjProducts.vue.d.ts +21 -30
- package/dist/components/constructor/AdjStitchings/AdjStitchings.mock.d.ts +2 -2
- package/dist/components/constructor/AdjStitchings/AdjStitchings.vue.d.ts +22 -28
- package/dist/components/constructor/elements/AdjCoverGroupItem/AdjCoverGroupItem.mock.d.ts +3 -3
- package/dist/components/constructor/elements/AdjCoverGroupItem/AdjCoverGroupItem.vue.d.ts +25 -31
- package/dist/components/constructor/elements/AdjCoverItem/AdjCoverItem.mock.d.ts +3 -3
- package/dist/components/constructor/elements/AdjCoverItem/AdjCoverItem.vue.d.ts +55 -42
- package/dist/components/constructor/{AdjModels/IAdjModelsItem.d.ts → elements/AdjCoverItem/IAdjCoverItem.d.ts} +1 -1
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.mock.d.ts +5 -5
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.vue.d.ts +87 -61
- package/dist/components/constructor/elements/AdjNavigatorItem/AdjNavigatorItem.mock.d.ts +3 -3
- package/dist/components/constructor/elements/AdjNavigatorItem/AdjNavigatorItem.vue.d.ts +6 -37
- package/dist/components/constructor/elements/AdjNavigatorItem/{IAdjNavigatorItemProps.d.ts → IAdjNavigatorPassive.d.ts} +1 -1
- package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.mock.d.ts +6 -6
- package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.vue.d.ts +20 -31
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.mock.d.ts +6 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.stories.d.ts +6 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.vue.d.ts +34 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsItem.d.ts +18 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsModel.d.ts +4 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsNumber.d.ts +5 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsTexture.d.ts +14 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/TAdjPersonalizitionConfiguratorElementsValue.d.ts +9 -0
- package/dist/components/constructor/elements/AdjPricebarWrapper/AdjPricebarWrapper.mock.d.ts +2 -2
- package/dist/components/constructor/elements/AdjPricebarWrapper/AdjPricebarWrapper.vue.d.ts +13 -22
- package/dist/components.cjs +1 -1
- package/dist/components.js +473 -456
- package/dist/constructor.cjs +1 -1
- package/dist/constructor.js +181 -174
- package/dist/misc/types.d.ts +18 -0
- package/dist/plugin/components.d.ts +3 -4
- package/dist/plugin/types.d.ts +7 -2
- package/dist/style.css +1 -1
- package/dist/vars.scss +15 -96
- package/package.json +23 -23
- package/dist/AdjSvgActive-BdMqG9Kf.js +0 -310
- package/dist/AdjSvgActive-nVSqyC5q.cjs +0 -1
- package/dist/components/AdjButton/IAdjButtonEmits.d.ts +0 -4
- package/dist/components/AdjButton/IAdjButtonProps.d.ts +0 -18
- package/dist/components/AdjButtonCheckbox/IAdjButtonCheckboxEmits.d.ts +0 -4
- package/dist/components/AdjButtonCheckbox/IAdjButtonCheckboxProps.d.ts +0 -8
- package/dist/components/AdjCheckbox/IAdjCheckboxEmits.d.ts +0 -6
- package/dist/components/AdjCheckbox/IAdjCheckboxProps.d.ts +0 -19
- package/dist/components/AdjDownloadLink/IAdjDownloadLinkProps.d.ts +0 -6
- package/dist/components/AdjDropdownLink/IAdjDropdownLinkProps.d.ts +0 -9
- package/dist/components/AdjFilterCheckbox/IAdjFilterCheckboxEmits.d.ts +0 -4
- package/dist/components/AdjFilterCheckbox/IAdjFilterCheckboxProps.d.ts +0 -6
- package/dist/components/AdjFilterSelect/IAdjFilterSelectEmits.d.ts +0 -4
- package/dist/components/AdjFilterSelect/IAdjFilterSelectProps.d.ts +0 -11
- package/dist/components/AdjFilters/IAdjFiltersEmits.d.ts +0 -4
- package/dist/components/AdjFilters/IAdjFiltersProps.d.ts +0 -6
- package/dist/components/AdjFiltersMobile/IAdjFiltersMobileEmits.d.ts +0 -4
- package/dist/components/AdjFiltersMobile/IAdjFiltersMobileProps.d.ts +0 -14
- package/dist/components/AdjHint/IAdjHintProps.d.ts +0 -13
- package/dist/components/AdjHintWrapper/AdjHintWrapper.mock.d.ts +0 -7
- package/dist/components/AdjHintWrapper/AdjHintWrapper.stories.d.ts +0 -11
- package/dist/components/AdjHintWrapper/AdjHintWrapper.vue.d.ts +0 -48
- package/dist/components/AdjHintWrapper/IAdjHintWrapperProps.d.ts +0 -13
- package/dist/components/AdjIcon/IAdjIconProps.d.ts +0 -13
- package/dist/components/AdjIconButton/IAdjIconButtonEmits.d.ts +0 -4
- package/dist/components/AdjIconButton/IAdjIconButtonProps.d.ts +0 -12
- package/dist/components/AdjIconButtonText/IAdjIconButtonTextEmits.d.ts +0 -4
- package/dist/components/AdjIconButtonText/IAdjIconButtonTextProps.d.ts +0 -10
- package/dist/components/AdjImageButton/IAdjImageButtonProps.d.ts +0 -6
- package/dist/components/AdjInput/IAdjInputEmits.d.ts +0 -4
- package/dist/components/AdjInput/IAdjInputProps.d.ts +0 -22
- package/dist/components/AdjInputModern/IAdjInputModernEmits.d.ts +0 -4
- package/dist/components/AdjInputModern/IAdjInputModernProps.d.ts +0 -10
- package/dist/components/AdjInputNumber/IAdjInputNumberEmits.d.ts +0 -4
- package/dist/components/AdjInputNumber/IAdjInputNumberProps.d.ts +0 -12
- package/dist/components/AdjModal/IAdjModalEmits.d.ts +0 -4
- package/dist/components/AdjModal/IAdjModalProps.d.ts +0 -6
- package/dist/components/AdjRadio/IAdjRadioEmits.d.ts +0 -5
- package/dist/components/AdjRadio/IAdjRadioProps.d.ts +0 -11
- package/dist/components/AdjScroll/IAdjScrollProps.d.ts +0 -6
- package/dist/components/AdjSelect/IAdjSelectEmits.d.ts +0 -5
- package/dist/components/AdjSelect/IAdjSelectProps.d.ts +0 -21
- package/dist/components/AdjSelectImage/IAdjSelectImageEmits.d.ts +0 -4
- package/dist/components/AdjSelectImage/IAdjSelectImageProps.d.ts +0 -9
- package/dist/components/AdjSelectRound/AdjSelectRound.mock.d.ts +0 -2
- package/dist/components/AdjSelectRound/AdjSelectRound.stories.d.ts +0 -6
- package/dist/components/AdjSelectRound/AdjSelectRound.vue.d.ts +0 -34
- package/dist/components/AdjSelectRound/IAdjSelectRoundEmits.d.ts +0 -4
- package/dist/components/AdjSelectRound/IAdjSelectRoundItem.d.ts +0 -4
- package/dist/components/AdjSelectRound/IAdjSelectRoundProps.d.ts +0 -9
- package/dist/components/AdjSkeleton/IAdjSkeletonProps.d.ts +0 -9
- package/dist/components/AdjSkeletonItem/IAdjSkeletonItemProps.d.ts +0 -10
- package/dist/components/AdjSliderButton/IAdjSliderButtonEmits.d.ts +0 -4
- package/dist/components/AdjSliderButton/IAdjSliderButtonProps.d.ts +0 -6
- package/dist/components/AdjTabs/IAdjTabsEmits.d.ts +0 -5
- package/dist/components/AdjTabs/IAdjTabsProps.d.ts +0 -7
- package/dist/components/AdjUploadFile/IAdjUploadFileEmits.d.ts +0 -4
- package/dist/components/AdjUploadFile/IAdjUploadFileProps.d.ts +0 -4
- package/dist/components/constructor/AdjBlocks/IAdjBlocksEmits.d.ts +0 -9
- package/dist/components/constructor/AdjBlocks/IAdjBlocksProps.d.ts +0 -9
- package/dist/components/constructor/AdjLaminates/IAdjLaminatesEmits.d.ts +0 -5
- package/dist/components/constructor/AdjLaminates/IAdjLaminatesProps.d.ts +0 -9
- package/dist/components/constructor/AdjMaterials/IAdjMaterialsEmits.d.ts +0 -7
- package/dist/components/constructor/AdjMaterials/IAdjMaterialsProps.d.ts +0 -9
- package/dist/components/constructor/AdjModels/IAdjModelsEmits.d.ts +0 -5
- package/dist/components/constructor/AdjModels/IAdjModelsProps.d.ts +0 -11
- package/dist/components/constructor/AdjNavigator/IAdjNavigatorEmits.d.ts +0 -5
- package/dist/components/constructor/AdjNavigator/IAdjNavigatorProps.d.ts +0 -8
- package/dist/components/constructor/AdjPersonalizations/IAdjPersonalizationsEmits.d.ts +0 -9
- package/dist/components/constructor/AdjPersonalizations/IAdjPersonalizationsProps.d.ts +0 -11
- package/dist/components/constructor/AdjPricebar/IAdjPricebarEmits.d.ts +0 -4
- package/dist/components/constructor/AdjPricebar/IAdjPricebarProps.d.ts +0 -32
- package/dist/components/constructor/AdjProducts/IAdjProductsEmits.d.ts +0 -5
- package/dist/components/constructor/AdjProducts/IAdjProductsProps.d.ts +0 -9
- package/dist/components/constructor/AdjStitchings/IAdjStitchingsEmits.d.ts +0 -5
- package/dist/components/constructor/AdjStitchings/IAdjStitchingsProps.d.ts +0 -10
- package/dist/components/constructor/elements/AdjCoverGroupItem/IAdjCoverGroupItemEmits.d.ts +0 -5
- package/dist/components/constructor/elements/AdjCoverGroupItem/IAdjCoverGroupItemProps.d.ts +0 -11
- package/dist/components/constructor/elements/AdjCoverItem/IAdjCoverItemEmits.d.ts +0 -7
- package/dist/components/constructor/elements/AdjCoverItem/IAdjCoverItemProps.d.ts +0 -25
- package/dist/components/constructor/elements/AdjImageItem/IAdjImageItemEmits.d.ts +0 -12
- package/dist/components/constructor/elements/AdjImageItem/IAdjImageItemProps.d.ts +0 -40
- package/dist/components/constructor/elements/AdjNavigatorItem/IAdjNavigatorItemEmits.d.ts +0 -4
- package/dist/components/constructor/elements/AdjNavigatorWrapper/IAdjAdjNavigatorWrapperEmits.d.ts +0 -5
- package/dist/components/constructor/elements/AdjNavigatorWrapper/IAdjNavigatorWrapperProps.d.ts +0 -9
- package/dist/components/constructor/elements/AdjPricebarWrapper/IAdjPricebarWrapperEmits.d.ts +0 -4
- package/dist/components/constructor/elements/AdjPricebarWrapper/IAdjPricebarWrapperProps.d.ts +0 -6
- package/dist/misc/TPosition.d.ts +0 -4
- package/dist/misc/iconNameOptions.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),C=require("@vueuse/core"),L=e.defineComponent({__name:"AdjButton",props:{title:{},flex:{type:Boolean,default:!1},size:{default:"medium"},design:{default:"primary"},disabled:{type:Boolean,default:!1},round:{type:Boolean,default:!1},iconLeft:{default:""},iconRight:{default:""}},emits:["click"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["adj-button",{[`adj-button_${t.size}`]:!0,[`adj-button_${t.design}`]:!0,"adj-button_disabled":t.disabled,"adj-button_flex":t.flex,"adj-button_round":t.round}]),onClick:o[0]||(o[0]=n=>t.disabled?0:t.$emit("click"))},[t.iconLeft?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(t.iconLeft)},null,2)):e.createCommentVNode("",!0),e.createElementVNode("div",null,e.toDisplayString(t.title),1),t.iconRight?(e.openBlock(),e.createElementBlock("i",{key:1,class:e.normalizeClass(t.iconRight)},null,2)):e.createCommentVNode("",!0)],2))}}),s=(a,t)=>{const o=a.__vccOpts||a;for(const[n,l]of t)o[n]=l;return o},I=s(L,[["__scopeId","data-v-602b5e80"]]),R=["innerHTML"],T=e.defineComponent({__name:"AdjHintDesktop",props:{html:{default:""},horizontalPosition:{default:"left"},verticalPosition:{default:"top"},dark:{type:Boolean,default:!1},width:{default:"200px"}},setup(a){return e.useCssVars(t=>({"7aca7e46":t.width})),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["adj-hint-desktop",{"adj-hint-desktop_dark":t.dark},`adj-hint-desktop_${t.verticalPosition}`,`adj-hint-desktop_${t.horizontalPosition}`])},[e.createElementVNode("div",{class:"adj-hint-desktop__text",innerHTML:t.html},null,8,R),o[0]||(o[0]=e.createElementVNode("svg",{class:"adj-hint-desktop__triangle",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{class:"adj-hint-desktop__triangle_inner",d:"M13 13L7 2L1 13H13Z"}),e.createElementVNode("path",{class:"adj-hint-desktop__triangle_border",d:"M13 13L7 2L1 13"})],-1))],2))}}),y=s(T,[["__scopeId","data-v-c37cada5"]]),D={class:"adj-modal"},W={class:"adj-modal_wrapper"},q=e.defineComponent({__name:"AdjModal",props:{show:{type:Boolean},width:{default:"100%"},hideClose:{type:Boolean,default:!1}},emits:["update:show"],setup(a,{emit:t}){e.useCssVars(l=>({65069964:l.width}));const o=t;function n(){o("update:show",!1)}return(l,i)=>(e.openBlock(),e.createElementBlock("div",D,[e.createVNode(e.Transition,{name:"adj-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",W,i[1]||(i[1]=[e.createElementVNode("div",{class:"adj-modal__background"},null,-1)]),512),[[e.vShow,l.show]])]),_:1}),e.createVNode(e.Transition,{name:"adj-popup-bottom"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"adj-modal_wrapper",onClick:e.withModifiers(n,["stop"])},[e.createElementVNode("div",{class:"adj-modal__window",onClick:i[0]||(i[0]=e.withModifiers(()=>{},["stop"]))},[l.hideClose?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"adj-modal__close icon-close",onClick:e.withModifiers(n,["stop"])})),e.renderSlot(l.$slots,"default",{},void 0,!0)])],512),[[e.vShow,l.show]])]),_:3})]))}}),M=s(q,[["__scopeId","data-v-921de616"]]),O={class:"adj-hint"},F=["innerHTML"],k=14,w=14,Z=e.defineComponent({__name:"AdjHint",props:{html:{default:""},horizontalPosition:{default:"left"},verticalPosition:{default:"bottom"},dark:{type:Boolean,default:!0},modalMode:{type:Boolean,default:!1}},setup(a){const t=a,o=e.ref(!1),n=e.ref(!1),{width:l,height:i}=C.useWindowSize(),v=e.useTemplateRef("targetSlot"),B=e.useTemplateRef("targetHint"),c=e.ref(0),f=e.ref(0),{elementWidth:m,elementHeight:b}=C.useMouseInElement(v),h=e.ref(0),j=e.ref(80),{elementWidth:_,elementHeight:g}=C.useMouseInElement(B),r=e.ref(t.horizontalPosition),u=e.ref(t.verticalPosition);let p=10+w/2;function $(){(!t.modalMode||l.value>=1200)&&(z(),H(),P(),o.value=!0)}function A(){(!t.modalMode||l.value>=1200)&&(o.value=!1)}function N(){t.modalMode&&l.value<1200&&(n.value=!0)}function z(){if(v.value!==null){const d=v.value.getBoundingClientRect();c.value=d.left,f.value=d.top}}function H(){t.dark&&(p=15+w/2),r.value=t.horizontalPosition,u.value=t.verticalPosition,t.horizontalPosition==="left"&&c.value+m.value/2+p-_.value<0?r.value="right":t.horizontalPosition==="right"&&c.value+m.value/2-p+_.value>l.value&&(r.value="left"),t.verticalPosition==="top"&&f.value-k-g.value<0?u.value="bottom":t.verticalPosition==="bottom"&&f.value+b.value+k+g.value>i.value&&(u.value="top")}function P(){t.dark&&(p=15+w/2),r.value==="left"?h.value=c.value+m.value/2+p-_.value:r.value==="center"?h.value=c.value+m.value/2-w/2-_.value/2:r.value==="right"&&(h.value=c.value+m.value/2-p),u.value=="top"?j.value=f.value-k-g.value:u.value=="bottom"&&(j.value=f.value+b.value+k)}return(d,E)=>(e.openBlock(),e.createElementBlock("div",O,[e.createElementVNode("div",{class:"adj-hint__slot",onMouseenter:e.withModifiers($,["stop"]),onMouseleave:e.withModifiers(A,["stop"]),onClick:e.withModifiers(N,["stop"]),ref_key:"targetSlot",ref:v},[e.renderSlot(d.$slots,"default",{},void 0,!0)],544),e.createElementVNode("div",{class:"adj-hint__hint",style:e.normalizeStyle({left:h.value+"px",top:j.value+"px",visibility:o.value?"visible":"hidden"}),ref_key:"targetHint",ref:B},[e.withDirectives(e.createVNode(y,{html:d.html,horizontalPosition:r.value,verticalPosition:u.value,dark:d.dark,width:"252px"},null,8,["html","horizontalPosition","verticalPosition","dark"]),[[e.vShow,d.html!==""]])],4),e.createVNode(M,{show:n.value,"onUpdate:show":E[0]||(E[0]=S=>n.value=S),width:"430px"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"adj-hint__modal",innerHTML:d.html},null,8,F)]),_:1},8,["show"])]))}}),U=s(Z,[["__scopeId","data-v-4e4cccc0"]]),G={key:0,class:"adj-icon-button__qty adj-text-12"},J=e.defineComponent({__name:"AdjIconButton",props:{iconName:{},qty:{default:0},size:{default:"medium"},design:{default:"white-back"},disabled:{type:Boolean,default:!1}},emits:["click"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["adj-icon-button",{[`adj-icon-button_${t.size}`]:!0,[`adj-icon-button_${t.design}`]:!0,"adj-icon-button_disabled":t.disabled}]),onClick:o[0]||(o[0]=n=>t.$emit("click"))},[e.createElementVNode("i",{class:e.normalizeClass(["adj-icon-button__icon",t.iconName])},null,2),t.qty>0?(e.openBlock(),e.createElementBlock("div",G,e.toDisplayString(t.qty),1)):e.createCommentVNode("",!0)],2))}}),K=s(J,[["__scopeId","data-v-bd9a4816"]]),Q={class:"adj-skeleton-item"},X=e.defineComponent({__name:"AdjSkeletonItem",props:{width:{default:"100%"},height:{default:"unset"},aspectRatio:{default:"unset"},marginTop:{default:"0px"}},setup(a){e.useCssVars(n=>({"73b36252":n.width,"5f18ed58":n.marginTop,ac595bde:o.value,"3656db94":n.height}));const t=a,o=e.computed(()=>t.height!=="unset"?"unset":t.aspectRatio);return(n,l)=>(e.openBlock(),e.createElementBlock("div",Q))}}),V=s(X,[["__scopeId","data-v-c6820958"]]),Y={class:"adj-skeleton"},x=e.defineComponent({__name:"AdjSkeleton",props:{loaders:{default:()=>[]},width:{default:"100%"},centered:{type:Boolean,default:!1}},setup(a){e.useCssVars(n=>({c2e40cd4:o.value,"019b6ab8":n.width}));const t=a,o=e.computed(()=>t.centered?"center":"unset");return(n,l)=>(e.openBlock(),e.createElementBlock("div",Y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.loaders,i=>(e.openBlock(),e.createBlock(V,{width:i.width,height:i.height,"aspect-ratio":i.aspectRatio,"margin-top":i.marginTop},null,8,["width","height","aspect-ratio","margin-top"]))),256))]))}}),ee=s(x,[["__scopeId","data-v-080d9f14"]]),te={},oe={viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ne(a,t){return e.openBlock(),e.createElementBlock("svg",oe,t[0]||(t[0]=[e.createElementVNode("circle",{cx:"17",cy:"17",r:"16.5"},null,-1),e.createElementVNode("path",{d:"M22.7034 12.9285C22.6244 12.8488 22.5304 12.7856 22.4268 12.7424C22.3232 12.6993 22.2121 12.6771 22.0999 12.6771C21.9877 12.6771 21.8766 12.6993 21.773 12.7424C21.6694 12.7856 21.5754 12.8488 21.4964 12.9285L15.1639 19.2695L12.5034 16.6005C12.4213 16.5212 12.3245 16.4589 12.2184 16.4171C12.1122 16.3753 11.9989 16.3548 11.8849 16.3567C11.7708 16.3587 11.6583 16.3831 11.5536 16.4286C11.449 16.4741 11.3544 16.5397 11.2751 16.6217C11.1959 16.7038 11.1336 16.8006 11.0917 16.9068C11.0499 17.0129 11.0294 17.1262 11.0314 17.2403C11.0334 17.3543 11.0578 17.4669 11.1032 17.5715C11.1487 17.6761 11.2143 17.7707 11.2964 17.85L14.5604 21.114C14.6394 21.1937 14.7334 21.2569 14.837 21.3C14.9406 21.3432 15.0517 21.3654 15.1639 21.3654C15.2761 21.3654 15.3872 21.3432 15.4908 21.3C15.5944 21.2569 15.6884 21.1937 15.7674 21.114L22.7034 14.178C22.7897 14.0984 22.8585 14.0018 22.9056 13.8943C22.9527 13.7867 22.977 13.6706 22.977 13.5532C22.977 13.4359 22.9527 13.3197 22.9056 13.2122C22.8585 13.1047 22.7897 13.0081 22.7034 12.9285Z"},null,-1)]))}const le=s(te,[["render",ne],["__scopeId","data-v-f04662e9"]]);exports.AdjButton=I;exports.AdjHint=U;exports.AdjHintDesktop=y;exports.AdjIconButton=K;exports.AdjModal=M;exports.AdjSkeleton=ee;exports.AdjSkeletonItem=V;exports.AdjSvgActive=le;exports._export_sfc=s;
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { defineComponent as f, openBlock as i, createElementBlock as s, normalizeClass as m, createCommentVNode as P, createElementVNode as n, toDisplayString as D, useCssVars as H, createVNode as B, Transition as W, withCtx as z, withDirectives as A, vShow as I, withModifiers as g, renderSlot as E, ref as r, useTemplateRef as N, normalizeStyle as Q, computed as V, Fragment as X, renderList as Y, createBlock as x } from "vue";
|
|
2
|
+
import { useWindowSize as tt, useMouseInElement as q } from "@vueuse/core";
|
|
3
|
+
const et = /* @__PURE__ */ f({
|
|
4
|
+
__name: "AdjButton",
|
|
5
|
+
props: {
|
|
6
|
+
title: {},
|
|
7
|
+
flex: { type: Boolean, default: !1 },
|
|
8
|
+
size: { default: "medium" },
|
|
9
|
+
design: { default: "primary" },
|
|
10
|
+
disabled: { type: Boolean, default: !1 },
|
|
11
|
+
round: { type: Boolean, default: !1 },
|
|
12
|
+
iconLeft: { default: "" },
|
|
13
|
+
iconRight: { default: "" }
|
|
14
|
+
},
|
|
15
|
+
emits: ["click"],
|
|
16
|
+
setup(l) {
|
|
17
|
+
return (t, e) => (i(), s("button", {
|
|
18
|
+
class: m(["adj-button", {
|
|
19
|
+
[`adj-button_${t.size}`]: !0,
|
|
20
|
+
[`adj-button_${t.design}`]: !0,
|
|
21
|
+
"adj-button_disabled": t.disabled,
|
|
22
|
+
"adj-button_flex": t.flex,
|
|
23
|
+
"adj-button_round": t.round
|
|
24
|
+
}]),
|
|
25
|
+
onClick: e[0] || (e[0] = (o) => t.disabled ? 0 : t.$emit("click"))
|
|
26
|
+
}, [
|
|
27
|
+
t.iconLeft ? (i(), s("i", {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: m(t.iconLeft)
|
|
30
|
+
}, null, 2)) : P("", !0),
|
|
31
|
+
n("div", null, D(t.title), 1),
|
|
32
|
+
t.iconRight ? (i(), s("i", {
|
|
33
|
+
key: 1,
|
|
34
|
+
class: m(t.iconRight)
|
|
35
|
+
}, null, 2)) : P("", !0)
|
|
36
|
+
], 2));
|
|
37
|
+
}
|
|
38
|
+
}), c = (l, t) => {
|
|
39
|
+
const e = l.__vccOpts || l;
|
|
40
|
+
for (const [o, a] of t)
|
|
41
|
+
e[o] = a;
|
|
42
|
+
return e;
|
|
43
|
+
}, yt = /* @__PURE__ */ c(et, [["__scopeId", "data-v-602b5e80"]]), ot = ["innerHTML"], at = /* @__PURE__ */ f({
|
|
44
|
+
__name: "AdjHintDesktop",
|
|
45
|
+
props: {
|
|
46
|
+
html: { default: "" },
|
|
47
|
+
horizontalPosition: { default: "left" },
|
|
48
|
+
verticalPosition: { default: "top" },
|
|
49
|
+
dark: { type: Boolean, default: !1 },
|
|
50
|
+
width: { default: "200px" }
|
|
51
|
+
},
|
|
52
|
+
setup(l) {
|
|
53
|
+
return H((t) => ({
|
|
54
|
+
"7aca7e46": t.width
|
|
55
|
+
})), (t, e) => (i(), s("div", {
|
|
56
|
+
class: m([
|
|
57
|
+
"adj-hint-desktop",
|
|
58
|
+
{ "adj-hint-desktop_dark": t.dark },
|
|
59
|
+
`adj-hint-desktop_${t.verticalPosition}`,
|
|
60
|
+
`adj-hint-desktop_${t.horizontalPosition}`
|
|
61
|
+
])
|
|
62
|
+
}, [
|
|
63
|
+
n("div", {
|
|
64
|
+
class: "adj-hint-desktop__text",
|
|
65
|
+
innerHTML: t.html
|
|
66
|
+
}, null, 8, ot),
|
|
67
|
+
e[0] || (e[0] = n("svg", {
|
|
68
|
+
class: "adj-hint-desktop__triangle",
|
|
69
|
+
width: "14",
|
|
70
|
+
height: "14",
|
|
71
|
+
viewBox: "0 0 14 14",
|
|
72
|
+
fill: "none",
|
|
73
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
74
|
+
}, [
|
|
75
|
+
n("path", {
|
|
76
|
+
class: "adj-hint-desktop__triangle_inner",
|
|
77
|
+
d: "M13 13L7 2L1 13H13Z"
|
|
78
|
+
}),
|
|
79
|
+
n("path", {
|
|
80
|
+
class: "adj-hint-desktop__triangle_border",
|
|
81
|
+
d: "M13 13L7 2L1 13"
|
|
82
|
+
})
|
|
83
|
+
], -1))
|
|
84
|
+
], 2));
|
|
85
|
+
}
|
|
86
|
+
}), nt = /* @__PURE__ */ c(at, [["__scopeId", "data-v-c37cada5"]]), it = { class: "adj-modal" }, lt = { class: "adj-modal_wrapper" }, st = /* @__PURE__ */ f({
|
|
87
|
+
__name: "AdjModal",
|
|
88
|
+
props: {
|
|
89
|
+
show: { type: Boolean },
|
|
90
|
+
width: { default: "100%" },
|
|
91
|
+
hideClose: { type: Boolean, default: !1 }
|
|
92
|
+
},
|
|
93
|
+
emits: ["update:show"],
|
|
94
|
+
setup(l, { emit: t }) {
|
|
95
|
+
H((a) => ({
|
|
96
|
+
65069964: a.width
|
|
97
|
+
}));
|
|
98
|
+
const e = t;
|
|
99
|
+
function o() {
|
|
100
|
+
e("update:show", !1);
|
|
101
|
+
}
|
|
102
|
+
return (a, d) => (i(), s("div", it, [
|
|
103
|
+
B(W, { name: "adj-fade" }, {
|
|
104
|
+
default: z(() => [
|
|
105
|
+
A(n("div", lt, d[1] || (d[1] = [
|
|
106
|
+
n("div", { class: "adj-modal__background" }, null, -1)
|
|
107
|
+
]), 512), [
|
|
108
|
+
[I, a.show]
|
|
109
|
+
])
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}),
|
|
113
|
+
B(W, { name: "adj-popup-bottom" }, {
|
|
114
|
+
default: z(() => [
|
|
115
|
+
A(n("div", {
|
|
116
|
+
class: "adj-modal_wrapper",
|
|
117
|
+
onClick: g(o, ["stop"])
|
|
118
|
+
}, [
|
|
119
|
+
n("div", {
|
|
120
|
+
class: "adj-modal__window",
|
|
121
|
+
onClick: d[0] || (d[0] = g(() => {
|
|
122
|
+
}, ["stop"]))
|
|
123
|
+
}, [
|
|
124
|
+
a.hideClose ? P("", !0) : (i(), s("div", {
|
|
125
|
+
key: 0,
|
|
126
|
+
class: "adj-modal__close icon-close",
|
|
127
|
+
onClick: g(o, ["stop"])
|
|
128
|
+
})),
|
|
129
|
+
E(a.$slots, "default", {}, void 0, !0)
|
|
130
|
+
])
|
|
131
|
+
], 512), [
|
|
132
|
+
[I, a.show]
|
|
133
|
+
])
|
|
134
|
+
]),
|
|
135
|
+
_: 3
|
|
136
|
+
})
|
|
137
|
+
]));
|
|
138
|
+
}
|
|
139
|
+
}), dt = /* @__PURE__ */ c(st, [["__scopeId", "data-v-921de616"]]), ut = { class: "adj-hint" }, rt = ["innerHTML"], y = 14, $ = 14, ct = /* @__PURE__ */ f({
|
|
140
|
+
__name: "AdjHint",
|
|
141
|
+
props: {
|
|
142
|
+
html: { default: "" },
|
|
143
|
+
horizontalPosition: { default: "left" },
|
|
144
|
+
verticalPosition: { default: "bottom" },
|
|
145
|
+
dark: { type: Boolean, default: !0 },
|
|
146
|
+
modalMode: { type: Boolean, default: !1 }
|
|
147
|
+
},
|
|
148
|
+
setup(l) {
|
|
149
|
+
const t = l, e = r(!1), o = r(!1), { width: a, height: d } = tt(), k = N("targetSlot"), S = N("targetHint"), v = r(0), j = r(0), { elementWidth: w, elementHeight: R } = q(k), b = r(0), M = r(80), { elementWidth: C, elementHeight: L } = q(S), p = r(t.horizontalPosition), h = r(t.verticalPosition);
|
|
150
|
+
let _ = 10 + $ / 2;
|
|
151
|
+
function O() {
|
|
152
|
+
(!t.modalMode || a.value >= 1200) && (U(), G(), J(), e.value = !0);
|
|
153
|
+
}
|
|
154
|
+
function F() {
|
|
155
|
+
(!t.modalMode || a.value >= 1200) && (e.value = !1);
|
|
156
|
+
}
|
|
157
|
+
function Z() {
|
|
158
|
+
t.modalMode && a.value < 1200 && (o.value = !0);
|
|
159
|
+
}
|
|
160
|
+
function U() {
|
|
161
|
+
if (k.value !== null) {
|
|
162
|
+
const u = k.value.getBoundingClientRect();
|
|
163
|
+
v.value = u.left, j.value = u.top;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
function G() {
|
|
167
|
+
t.dark && (_ = 15 + $ / 2), p.value = t.horizontalPosition, h.value = t.verticalPosition, t.horizontalPosition === "left" && v.value + w.value / 2 + _ - C.value < 0 ? p.value = "right" : t.horizontalPosition === "right" && v.value + w.value / 2 - _ + C.value > a.value && (p.value = "left"), t.verticalPosition === "top" && j.value - y - L.value < 0 ? h.value = "bottom" : t.verticalPosition === "bottom" && j.value + R.value + y + L.value > d.value && (h.value = "top");
|
|
168
|
+
}
|
|
169
|
+
function J() {
|
|
170
|
+
t.dark && (_ = 15 + $ / 2), p.value === "left" ? b.value = v.value + w.value / 2 + _ - C.value : p.value === "center" ? b.value = v.value + w.value / 2 - $ / 2 - C.value / 2 : p.value === "right" && (b.value = v.value + w.value / 2 - _), h.value == "top" ? M.value = j.value - y - L.value : h.value == "bottom" && (M.value = j.value + R.value + y);
|
|
171
|
+
}
|
|
172
|
+
return (u, T) => (i(), s("div", ut, [
|
|
173
|
+
n("div", {
|
|
174
|
+
class: "adj-hint__slot",
|
|
175
|
+
onMouseenter: g(O, ["stop"]),
|
|
176
|
+
onMouseleave: g(F, ["stop"]),
|
|
177
|
+
onClick: g(Z, ["stop"]),
|
|
178
|
+
ref_key: "targetSlot",
|
|
179
|
+
ref: k
|
|
180
|
+
}, [
|
|
181
|
+
E(u.$slots, "default", {}, void 0, !0)
|
|
182
|
+
], 544),
|
|
183
|
+
n("div", {
|
|
184
|
+
class: "adj-hint__hint",
|
|
185
|
+
style: Q({
|
|
186
|
+
left: b.value + "px",
|
|
187
|
+
top: M.value + "px",
|
|
188
|
+
visibility: e.value ? "visible" : "hidden"
|
|
189
|
+
}),
|
|
190
|
+
ref_key: "targetHint",
|
|
191
|
+
ref: S
|
|
192
|
+
}, [
|
|
193
|
+
A(B(nt, {
|
|
194
|
+
html: u.html,
|
|
195
|
+
horizontalPosition: p.value,
|
|
196
|
+
verticalPosition: h.value,
|
|
197
|
+
dark: u.dark,
|
|
198
|
+
width: "252px"
|
|
199
|
+
}, null, 8, ["html", "horizontalPosition", "verticalPosition", "dark"]), [
|
|
200
|
+
[I, u.html !== ""]
|
|
201
|
+
])
|
|
202
|
+
], 4),
|
|
203
|
+
B(dt, {
|
|
204
|
+
show: o.value,
|
|
205
|
+
"onUpdate:show": T[0] || (T[0] = (K) => o.value = K),
|
|
206
|
+
width: "430px"
|
|
207
|
+
}, {
|
|
208
|
+
default: z(() => [
|
|
209
|
+
n("div", {
|
|
210
|
+
class: "adj-hint__modal",
|
|
211
|
+
innerHTML: u.html
|
|
212
|
+
}, null, 8, rt)
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
}, 8, ["show"])
|
|
216
|
+
]));
|
|
217
|
+
}
|
|
218
|
+
}), $t = /* @__PURE__ */ c(ct, [["__scopeId", "data-v-4e4cccc0"]]), pt = {
|
|
219
|
+
key: 0,
|
|
220
|
+
class: "adj-icon-button__qty adj-text-12"
|
|
221
|
+
}, ft = /* @__PURE__ */ f({
|
|
222
|
+
__name: "AdjIconButton",
|
|
223
|
+
props: {
|
|
224
|
+
iconName: {},
|
|
225
|
+
qty: { default: 0 },
|
|
226
|
+
size: { default: "medium" },
|
|
227
|
+
design: { default: "white-back" },
|
|
228
|
+
disabled: { type: Boolean, default: !1 }
|
|
229
|
+
},
|
|
230
|
+
emits: ["click"],
|
|
231
|
+
setup(l) {
|
|
232
|
+
return (t, e) => (i(), s("div", {
|
|
233
|
+
class: m(["adj-icon-button", {
|
|
234
|
+
[`adj-icon-button_${t.size}`]: !0,
|
|
235
|
+
[`adj-icon-button_${t.design}`]: !0,
|
|
236
|
+
"adj-icon-button_disabled": t.disabled
|
|
237
|
+
}]),
|
|
238
|
+
onClick: e[0] || (e[0] = (o) => t.$emit("click"))
|
|
239
|
+
}, [
|
|
240
|
+
n("i", {
|
|
241
|
+
class: m(["adj-icon-button__icon", t.iconName])
|
|
242
|
+
}, null, 2),
|
|
243
|
+
t.qty > 0 ? (i(), s("div", pt, D(t.qty), 1)) : P("", !0)
|
|
244
|
+
], 2));
|
|
245
|
+
}
|
|
246
|
+
}), Pt = /* @__PURE__ */ c(ft, [["__scopeId", "data-v-bd9a4816"]]), vt = { class: "adj-skeleton-item" }, ht = /* @__PURE__ */ f({
|
|
247
|
+
__name: "AdjSkeletonItem",
|
|
248
|
+
props: {
|
|
249
|
+
width: { default: "100%" },
|
|
250
|
+
height: { default: "unset" },
|
|
251
|
+
aspectRatio: { default: "unset" },
|
|
252
|
+
marginTop: { default: "0px" }
|
|
253
|
+
},
|
|
254
|
+
setup(l) {
|
|
255
|
+
H((o) => ({
|
|
256
|
+
"73b36252": o.width,
|
|
257
|
+
"5f18ed58": o.marginTop,
|
|
258
|
+
ac595bde: e.value,
|
|
259
|
+
"3656db94": o.height
|
|
260
|
+
}));
|
|
261
|
+
const t = l, e = V(() => t.height !== "unset" ? "unset" : t.aspectRatio);
|
|
262
|
+
return (o, a) => (i(), s("div", vt));
|
|
263
|
+
}
|
|
264
|
+
}), _t = /* @__PURE__ */ c(ht, [["__scopeId", "data-v-c6820958"]]), mt = { class: "adj-skeleton" }, gt = /* @__PURE__ */ f({
|
|
265
|
+
__name: "AdjSkeleton",
|
|
266
|
+
props: {
|
|
267
|
+
loaders: { default: () => [] },
|
|
268
|
+
width: { default: "100%" },
|
|
269
|
+
centered: { type: Boolean, default: !1 }
|
|
270
|
+
},
|
|
271
|
+
setup(l) {
|
|
272
|
+
H((o) => ({
|
|
273
|
+
c2e40cd4: e.value,
|
|
274
|
+
"019b6ab8": o.width
|
|
275
|
+
}));
|
|
276
|
+
const t = l, e = V(() => t.centered ? "center" : "unset");
|
|
277
|
+
return (o, a) => (i(), s("div", mt, [
|
|
278
|
+
(i(!0), s(X, null, Y(o.loaders, (d) => (i(), x(_t, {
|
|
279
|
+
width: d.width,
|
|
280
|
+
height: d.height,
|
|
281
|
+
"aspect-ratio": d.aspectRatio,
|
|
282
|
+
"margin-top": d.marginTop
|
|
283
|
+
}, null, 8, ["width", "height", "aspect-ratio", "margin-top"]))), 256))
|
|
284
|
+
]));
|
|
285
|
+
}
|
|
286
|
+
}), Bt = /* @__PURE__ */ c(gt, [["__scopeId", "data-v-080d9f14"]]), jt = {}, wt = {
|
|
287
|
+
viewBox: "0 0 34 34",
|
|
288
|
+
fill: "none",
|
|
289
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
290
|
+
};
|
|
291
|
+
function kt(l, t) {
|
|
292
|
+
return i(), s("svg", wt, t[0] || (t[0] = [
|
|
293
|
+
n("circle", {
|
|
294
|
+
cx: "17",
|
|
295
|
+
cy: "17",
|
|
296
|
+
r: "16.5"
|
|
297
|
+
}, null, -1),
|
|
298
|
+
n("path", { d: "M22.7034 12.9285C22.6244 12.8488 22.5304 12.7856 22.4268 12.7424C22.3232 12.6993 22.2121 12.6771 22.0999 12.6771C21.9877 12.6771 21.8766 12.6993 21.773 12.7424C21.6694 12.7856 21.5754 12.8488 21.4964 12.9285L15.1639 19.2695L12.5034 16.6005C12.4213 16.5212 12.3245 16.4589 12.2184 16.4171C12.1122 16.3753 11.9989 16.3548 11.8849 16.3567C11.7708 16.3587 11.6583 16.3831 11.5536 16.4286C11.449 16.4741 11.3544 16.5397 11.2751 16.6217C11.1959 16.7038 11.1336 16.8006 11.0917 16.9068C11.0499 17.0129 11.0294 17.1262 11.0314 17.2403C11.0334 17.3543 11.0578 17.4669 11.1032 17.5715C11.1487 17.6761 11.2143 17.7707 11.2964 17.85L14.5604 21.114C14.6394 21.1937 14.7334 21.2569 14.837 21.3C14.9406 21.3432 15.0517 21.3654 15.1639 21.3654C15.2761 21.3654 15.3872 21.3432 15.4908 21.3C15.5944 21.2569 15.6884 21.1937 15.7674 21.114L22.7034 14.178C22.7897 14.0984 22.8585 14.0018 22.9056 13.8943C22.9527 13.7867 22.977 13.6706 22.977 13.5532C22.977 13.4359 22.9527 13.3197 22.9056 13.2122C22.8585 13.1047 22.7897 13.0081 22.7034 12.9285Z" }, null, -1)
|
|
299
|
+
]));
|
|
300
|
+
}
|
|
301
|
+
const Ht = /* @__PURE__ */ c(jt, [["render", kt], ["__scopeId", "data-v-f04662e9"]]);
|
|
302
|
+
export {
|
|
303
|
+
Pt as A,
|
|
304
|
+
c as _,
|
|
305
|
+
Ht as a,
|
|
306
|
+
Bt as b,
|
|
307
|
+
$t as c,
|
|
308
|
+
yt as d,
|
|
309
|
+
nt as e,
|
|
310
|
+
dt as f,
|
|
311
|
+
_t as g
|
|
312
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const argsBase:
|
|
1
|
+
import { default as AdjButton } from './AdjButton.vue';
|
|
2
|
+
export declare const argsBase: InstanceType<typeof AdjButton>['$props'];
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { TDesign, TIconName } from '../../misc/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
/** Заголовок */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Во всю ширину */
|
|
6
|
+
flex?: boolean;
|
|
7
|
+
/** Размер */
|
|
8
|
+
size?: "small" | "medium";
|
|
9
|
+
/** Стиль */
|
|
10
|
+
design?: TDesign;
|
|
11
|
+
/** Неактивен */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Круглый дизайн */
|
|
14
|
+
round?: boolean;
|
|
15
|
+
/** Иконка слева */
|
|
16
|
+
iconLeft?: TIconName;
|
|
17
|
+
/** Иконка справа */
|
|
18
|
+
iconRight?: TIconName;
|
|
19
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
|
+
click: () => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
22
|
+
/** Заголовок */
|
|
23
|
+
title: string;
|
|
24
|
+
/** Во всю ширину */
|
|
25
|
+
flex?: boolean;
|
|
26
|
+
/** Размер */
|
|
27
|
+
size?: "small" | "medium";
|
|
28
|
+
/** Стиль */
|
|
29
|
+
design?: TDesign;
|
|
30
|
+
/** Неактивен */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/** Круглый дизайн */
|
|
33
|
+
round?: boolean;
|
|
34
|
+
/** Иконка слева */
|
|
35
|
+
iconLeft?: TIconName;
|
|
36
|
+
/** Иконка справа */
|
|
37
|
+
iconRight?: TIconName;
|
|
38
|
+
}> & Readonly<{
|
|
21
39
|
onClick?: (() => any) | undefined;
|
|
22
|
-
}
|
|
40
|
+
}>, {
|
|
23
41
|
flex: boolean;
|
|
24
42
|
size: "small" | "medium";
|
|
25
|
-
design:
|
|
43
|
+
design: TDesign;
|
|
26
44
|
disabled: boolean;
|
|
27
45
|
round: boolean;
|
|
28
|
-
iconLeft:
|
|
29
|
-
iconRight:
|
|
30
|
-
}, {}>;
|
|
46
|
+
iconLeft: TIconName;
|
|
47
|
+
iconRight: TIconName;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
49
|
export default _default;
|
|
32
|
-
|
|
33
|
-
type __VLS_WithDefaults<P, D> = {
|
|
34
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
-
default: D[K];
|
|
36
|
-
}> : P[K];
|
|
37
|
-
};
|
|
38
|
-
type __VLS_Prettify<T> = {
|
|
39
|
-
[K in keyof T]: T[K];
|
|
40
|
-
} & {};
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToOption<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const argsBase:
|
|
1
|
+
import { default as AdjButtonCheckbox } from './AdjButtonCheckbox.vue';
|
|
2
|
+
export declare const argsBase: InstanceType<typeof AdjButtonCheckbox>['$props'];
|
|
@@ -1,33 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/** Заголовок */
|
|
3
|
+
title: string;
|
|
4
|
+
/** Значение фильтра */
|
|
5
|
+
modelValue?: boolean;
|
|
6
|
+
/** Иконка слева */
|
|
7
|
+
iconLeft?: string;
|
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
"update:modelValue": (value: boolean) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
+
/** Заголовок */
|
|
12
|
+
title: string;
|
|
13
|
+
/** Значение фильтра */
|
|
14
|
+
modelValue?: boolean;
|
|
15
|
+
/** Иконка слева */
|
|
16
|
+
iconLeft?: string;
|
|
17
|
+
}> & Readonly<{
|
|
11
18
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
|
-
}
|
|
19
|
+
}>, {
|
|
13
20
|
iconLeft: string;
|
|
14
21
|
modelValue: boolean;
|
|
15
|
-
}, {}>;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
23
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const argsRight:
|
|
3
|
-
export declare const argsLeft:
|
|
1
|
+
import { default as AdjCheckbox } from './AdjCheckbox.vue';
|
|
2
|
+
export declare const argsRight: InstanceType<typeof AdjCheckbox>['$props'];
|
|
3
|
+
export declare const argsLeft: InstanceType<typeof AdjCheckbox>['$props'];
|
|
@@ -1,49 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
import { IAdjCheckboxItem } from './IAdjCheckboxItem';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
/** Заголовок */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Позиция */
|
|
6
|
+
titlePosition?: "left" | "right";
|
|
7
|
+
/** Список значений
|
|
8
|
+
* { checked: true },
|
|
9
|
+
* { checked: false }
|
|
10
|
+
*/
|
|
11
|
+
items: IAdjCheckboxItem[];
|
|
12
|
+
/** Выбранное состояние */
|
|
13
|
+
modelValue?: IAdjCheckboxItem;
|
|
14
|
+
/** Неактивен */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (value: IAdjCheckboxItem) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
19
|
+
/** Заголовок */
|
|
20
|
+
title?: string;
|
|
21
|
+
/** Позиция */
|
|
22
|
+
titlePosition?: "left" | "right";
|
|
23
|
+
/** Список значений
|
|
24
|
+
* { checked: true },
|
|
25
|
+
* { checked: false }
|
|
26
|
+
*/
|
|
27
|
+
items: IAdjCheckboxItem[];
|
|
28
|
+
/** Выбранное состояние */
|
|
29
|
+
modelValue?: IAdjCheckboxItem;
|
|
30
|
+
/** Неактивен */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
}> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: IAdjCheckboxItem) => any) | undefined;
|
|
34
|
+
}>, {
|
|
3
35
|
title: string;
|
|
4
|
-
titlePosition: string;
|
|
5
|
-
modelValue: () => {
|
|
6
|
-
checked: boolean;
|
|
7
|
-
};
|
|
8
36
|
disabled: boolean;
|
|
9
|
-
|
|
10
|
-
"update:modelValue": (value: {
|
|
11
|
-
checked: boolean;
|
|
12
|
-
}) => void;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IAdjCheckboxProps>, {
|
|
14
|
-
title: string;
|
|
15
|
-
titlePosition: string;
|
|
16
|
-
modelValue: () => {
|
|
17
|
-
checked: boolean;
|
|
18
|
-
};
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
}>>> & {
|
|
21
|
-
"onUpdate:modelValue"?: ((value: {
|
|
22
|
-
checked: boolean;
|
|
23
|
-
}) => any) | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
title: string;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
modelValue: {
|
|
28
|
-
checked: boolean;
|
|
29
|
-
};
|
|
37
|
+
modelValue: IAdjCheckboxItem;
|
|
30
38
|
titlePosition: "left" | "right";
|
|
31
|
-
}, {}>;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
40
|
export default _default;
|
|
33
|
-
type __VLS_WithDefaults<P, D> = {
|
|
34
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
-
default: D[K];
|
|
36
|
-
}> : P[K];
|
|
37
|
-
};
|
|
38
|
-
type __VLS_Prettify<T> = {
|
|
39
|
-
[K in keyof T]: T[K];
|
|
40
|
-
} & {};
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToOption<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const argsBase:
|
|
1
|
+
import { default as AdjDownloadLink } from './AdjDownloadLink.vue';
|
|
2
|
+
export declare const argsBase: InstanceType<typeof AdjDownloadLink>['$props'];
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/** Заголовок */
|
|
3
|
+
title: string;
|
|
4
|
+
/** url ссылки */
|
|
5
|
+
href: string;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
+
/** Заголовок */
|
|
8
|
+
title: string;
|
|
9
|
+
/** url ссылки */
|
|
10
|
+
href: string;
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
12
|
export default _default;
|
|
4
|
-
type __VLS_WithDefaults<P, D> = {
|
|
5
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
6
|
-
default: D[K];
|
|
7
|
-
}> : P[K];
|
|
8
|
-
};
|
|
9
|
-
type __VLS_Prettify<T> = {
|
|
10
|
-
[K in keyof T]: T[K];
|
|
11
|
-
} & {};
|
|
12
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToOption<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const argsBase:
|
|
1
|
+
import { default as AdjDropdownLink } from './AdjDropdownLink.vue';
|
|
2
|
+
export declare const argsBase: InstanceType<typeof AdjDropdownLink>['$props'];
|