bitboss-ui 0.2.34 → 0.2.36
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/index101.js +1 -1
- package/dist/index111.js +3 -3
- package/dist/index116.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index131.js +2 -2
- package/dist/index15.js +7 -7
- package/dist/index17.js +8 -8
- package/dist/index19.js +3 -3
- package/dist/index199.js +3 -10
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +35 -3
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -3
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -378
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +13 -131
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -5
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +3 -3
- package/dist/index206.js +20 -2
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +29 -2
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +8 -174
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +2 -23
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +2 -2
- package/dist/index210.js +8 -371
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +3 -16
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +3 -16
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +376 -18
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +130 -25
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +2 -8
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +174 -3
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +23 -35
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +373 -6
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +1 -1
- package/dist/index222.js +4 -4
- package/dist/index224.js +76 -25
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +27 -16
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +17 -79
- package/dist/index226.js.map +1 -1
- package/dist/index228.js +435 -2
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +83 -218
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +200 -258
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +224 -2
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +257 -294
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +295 -2
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +6 -2
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -117
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +2 -106
- package/dist/index237.js.map +1 -1
- package/dist/index242.js +2 -435
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +115 -87
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +104 -198
- package/dist/index244.js.map +1 -1
- package/dist/index29.js +1 -1
- package/dist/index31.js +4 -4
- package/dist/index31.js.map +1 -1
- package/dist/index53.js +10 -10
- package/dist/index53.js.map +1 -1
- package/dist/index65.js +3 -3
- package/dist/index69.js +2 -2
- package/dist/index72.js +1 -1
- package/dist/index75.js +1 -1
- package/dist/index77.js +1 -1
- package/dist/index79.js +3 -3
- package/dist/index9.js +10 -10
- package/dist/index9.js.map +1 -1
- package/dist/src/components/BaseButton/BaseButton.vue.d.ts +67 -11
- package/dist/src/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +33 -33
- package/dist/src/components/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
- package/dist/src/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +1 -1
- package/dist/src/components/BaseDialog/BaseDialog.vue.d.ts +6 -6
- package/dist/src/components/BaseInputContainer/BaseInputContainer.vue.d.ts +2 -2
- package/dist/src/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +33 -33
- package/dist/src/components/BaseSelect/BaseSelect.vue.d.ts +45 -45
- package/dist/src/components/BaseSlider/BaseSlider.vue.d.ts +2 -2
- package/dist/src/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +33 -33
- package/dist/src/components/BbCheckbox/BbCheckbox.vue.d.ts +1 -1
- package/dist/src/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +45 -45
- package/dist/src/components/BbDialog/BbDialog.vue.d.ts +2 -2
- package/dist/src/components/BbDropdown/BbDropdown.vue.d.ts +2 -2
- package/dist/src/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
- package/dist/src/components/BbIntersection/BbIntersection.vue.d.ts +2 -2
- package/dist/src/components/BbOffCanvas/BbOffCanvas.vue.d.ts +7 -7
- package/dist/src/components/BbPopover/BbPopover.vue.d.ts +2 -2
- package/dist/src/components/BbRadio/BbRadio.vue.d.ts +1 -1
- package/dist/src/components/BbRadioGroup/BbRadioGroup.vue.d.ts +45 -45
- package/dist/src/components/BbRatio/BbRatio.vue.d.ts +1 -1
- package/dist/src/components/BbSelect/BbSelect.vue.d.ts +60 -60
- package/dist/src/components/BbSlider/BbSlider.vue.d.ts +1 -1
- package/dist/src/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +2 -2
- package/dist/src/components/BbSwitch/BbSwitch.vue.d.ts +1 -1
- package/dist/src/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +45 -45
- package/dist/src/components/BbTab/BbTab.vue.d.ts +5 -5
- package/dist/src/components/BbTable/BbTable.vue.d.ts +3 -3
- package/dist/src/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/index9.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index9.js","sources":["../src/components/BaseButton/BaseButton.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport type { CommonProps, NonVoidElementTag } from '@/types/CommonProps';\nimport { computed, getCurrentInstance, resolveComponent } from 'vue';\nimport type { InertiaLinkProps } from '@inertiajs/vue3';\nimport type { RouterLinkProps } from 'vue-router';\n\nexport type BaseButtonProps = Pick<CommonProps, 'block' | 'disabled' | 'text'> &\n\tNonVoidElementTag &\n\tPartial<\n\t\tPick<\n\t\t\tRouterLinkProps,\n\t\t\t'activeClass' | 'ariaCurrentValue' | 'exactActiveClass' | 'replace' | 'to'\n\t\t>\n\t> &\n\tPartial<\n\t\tPick<\n\t\t\tInertiaLinkProps,\n\t\t\t| 'data'\n\t\t\t| 'headers'\n\t\t\t| 'method'\n\t\t\t| 'onBefore'\n\t\t\t| 'onCancel'\n\t\t\t| 'onCancelToken'\n\t\t\t| 'onFinish'\n\t\t\t| 'only'\n\t\t\t| 'onProgress'\n\t\t\t| 'onStart'\n\t\t\t| 'onSuccess'\n\t\t\t| 'preserveScroll'\n\t\t\t| 'preserveState'\n\t\t\t| 'queryStringArrayFormat'\n\t\t>\n\t> &\n\tPartial<{\n\t\t/**\n\t\t * Gets the classification and default behavior of the button.\n\t\t */\n\t\ttype: HTMLButtonElement['type'];\n\t\t/**\n\t\t * Returns the hyperlink's URL.\n\t\t *\n\t\t * Can be set, to change the URL.\n\t\t */\n\t\thref: HTMLAnchorElement['href'];\n\t\t/**\n\t\t * Sets or retrieves the window or frame at which to target content.\n\t\t */\n\t\ttarget: HTMLAnchorElement['target'];\n\t}>;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseButton',\n props: {\n block: { type: Boolean },\n disabled: { type: Boolean },\n text: {},\n tag: { default: 'button' },\n activeClass: {},\n ariaCurrentValue: {},\n exactActiveClass: {},\n replace: { type: Boolean },\n to: {},\n data: {},\n headers: {},\n method: {},\n onBefore: {},\n onCancel: {},\n onCancelToken: {},\n onFinish: {},\n only: {},\n onProgress: {},\n onStart: {},\n onSuccess: {},\n preserveScroll: { type: [Boolean, Function] },\n preserveState: { type: [Boolean, Function, null] },\n queryStringArrayFormat: {},\n type: { default: 'button' },\n href: {},\n target: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\n/* Ignore because possibly undefined */\n// @ts-ignore\nconst isInertia = !!getCurrentInstance()?.proxy?.$inertia;\n\n// @ts-ignore\nconst isNuxt = !!getCurrentInstance()?.proxy?.$nuxt;\n\nconst tag = computed(() => {\n\t// For disabled links always render a\n\tif (props.href || (props.to && props.disabled)) {\n\t\tif (isInertia && !props.disabled) return resolveComponent('Link');\n\t\treturn 'a';\n\t}\n\tif (props.to) {\n\t\tif (isNuxt) return resolveComponent('NuxtLink');\n\t\treturn 'router-link';\n\t}\n\treturn props.tag;\n});\n\nconst classes = computed(() => ({\n\t'base-btn': true,\n\t'base-btn--block': props.block,\n\t'base-btn--disabled': props.disabled,\n}));\n\nconst attributes = computed(() => {\n\ttype PossibleAttributes = {\n\t\t'aria-disabled': boolean;\n\t\tactiveClass: BaseButtonProps['activeClass'];\n\t\tariaCurrentValue: BaseButtonProps['ariaCurrentValue'];\n\t\tdata: BaseButtonProps['data'];\n\t\tdisabled: boolean;\n\t\texactActiveClass: BaseButtonProps['exactActiveClass'];\n\t\theaders: BaseButtonProps['headers'];\n\t\thref: string;\n\t\tmethod: BaseButtonProps['method'];\n\t\tonBefore: BaseButtonProps['onBefore'];\n\t\tonCancel: BaseButtonProps['onCancel'];\n\t\tonCancelToken: BaseButtonProps['onCancelToken'];\n\t\tonFinish: BaseButtonProps['onFinish'];\n\t\tonly: BaseButtonProps['only'];\n\t\tonProgress: BaseButtonProps['onProgress'];\n\t\tonStart: BaseButtonProps['onStart'];\n\t\tonSuccess: BaseButtonProps['onSuccess'];\n\t\tpreserveScroll: BaseButtonProps['preserveScroll'];\n\t\tpreserveState: BaseButtonProps['preserveState'];\n\t\tqueryStringArrayFormat: BaseButtonProps['queryStringArrayFormat'];\n\t\treplace: BaseButtonProps['replace'];\n\t\trole: string;\n\t\tstyle: { [rule: string]: string };\n\t\ttarget: string;\n\t\tto: BaseButtonProps['to'];\n\t\ttype: string;\n\t};\n\tconst initial: Partial<PossibleAttributes> = {};\n\n\tif (tag.value === 'button') {\n\t\tinitial.disabled = props.disabled;\n\t\tinitial.type = props.type;\n\t} else if (\n\t\ttag.value === 'a' ||\n\t\t(isInertia && typeof tag.value !== 'string' && tag.value.name === 'Link')\n\t) {\n\t\t// When rendering as anchor prevent navigation if disabled\n\t\t// https://getbootstrap.com/docs/4.0/components/buttons/#disabled-state\n\t\tif (props.disabled) {\n\t\t\tinitial['aria-disabled'] = true;\n\t\t\tinitial.role = 'link';\n\t\t} else {\n\t\t\t// Only attach the href to active links\n\t\t\t// https://www.scottohara.me/blog/2021/05/28/disabled-links.html\n\t\t\tinitial.href = props.href;\n\t\t\tinitial.target = props.target;\n\n\t\t\tif (isInertia) {\n\t\t\t\tinitial.data = props.data;\n\t\t\t\tinitial.headers = props.headers;\n\t\t\t\tinitial.method = props.method;\n\t\t\t\tinitial.onBefore = props.onBefore;\n\t\t\t\tinitial.onCancel = props.onCancel;\n\t\t\t\tinitial.onCancelToken = props.onCancelToken;\n\t\t\t\tinitial.onFinish = props.onFinish;\n\t\t\t\tinitial.only = props.only;\n\t\t\t\tinitial.onProgress = props.onProgress;\n\t\t\t\tinitial.onStart = props.onStart;\n\t\t\t\tinitial.onSuccess = props.onSuccess;\n\t\t\t\tinitial.preserveScroll = props.preserveScroll;\n\t\t\t\tinitial.preserveState = props.preserveState;\n\t\t\t\tinitial.queryStringArrayFormat = props.queryStringArrayFormat;\n\t\t\t\tinitial.replace = props.replace;\n\t\t\t}\n\t\t}\n\t} else if (\n\t\ttag.value === 'router-link' ||\n\t\t(typeof tag.value !== 'string' && tag.value.name === 'NuxtLink')\n\t) {\n\t\tinitial.activeClass = props.activeClass;\n\t\tinitial.ariaCurrentValue = props.ariaCurrentValue;\n\t\tinitial.exactActiveClass = props.exactActiveClass;\n\t\tinitial.replace = props.replace;\n\t\tinitial.target = props.target;\n\t\tinitial.to = props.to;\n\t}\n\n\tswitch (tag.value) {\n\t\tcase 'button':\n\t\t\tinitial.disabled = props.disabled;\n\t\t\tinitial.type = props.type;\n\t\t\tbreak;\n\t\tcase 'a':\n\t\t\t// When rendering as anchor prevent navigation if disabled\n\t\t\t// https://getbootstrap.com/docs/4.0/components/buttons/#disabled-state\n\t\t\tif (props.disabled) {\n\t\t\t\tinitial['aria-disabled'] = true;\n\t\t\t\tinitial.role = 'link';\n\t\t\t} else {\n\t\t\t\t// Only attach the href to active links\n\t\t\t\t// https://www.scottohara.me/blog/2021/05/28/disabled-links.html\n\t\t\t\tinitial.href = props.href;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 'router-link':\n\t\t\tinitial.to = props.to;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t}\n\treturn initial;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(tag.value), _mergeProps({ class: classes.value }, attributes.value), {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.text), 1)\n ])\n ]),\n _: 3\n }, 16, [\"class\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","props","isInertia","_b","_a","getCurrentInstance","isNuxt","_d","_c","tag","computed","resolveComponent","classes","attributes","initial","_ctx","_cache","_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot","_createTextVNode","_toDisplayString"],"mappings":";AAqDA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,MAAM,CAAC;AAAA,IACP,KAAK,EAAE,SAAS,SAAS;AAAA,IACzB,aAAa,CAAC;AAAA,IACd,kBAAkB,CAAC;AAAA,IACnB,kBAAkB,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,EAAW,GAAGC,EAAaC,EAAyBV,EAAI,KAAK,GAAGW,EAAY,EAAE,OAAOR,EAAQ,MAAS,GAAAC,EAAW,KAAK,GAAG;AAAA,MAC/H,SAASQ,EAAS,MAAM;AAAA,QACtBC,EAAYP,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,UAC5CQ,EAAiBC,EAAiBT,EAAK,IAAI,GAAG,CAAC;AAAA,QAAA,CAChD;AAAA,MAAA,CACF;AAAA,MACD,GAAG;AAAA,IAAA,GACF,IAAI,CAAC,OAAO,CAAC;AAAA,EAElB;AAEA,CAAC;"}
|
|
1
|
+
{"version":3,"file":"index9.js","sources":["../src/components/BaseButton/BaseButton.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { computed, getCurrentInstance, resolveComponent } from 'vue';\nimport type { RouteLocationRaw } from 'vue-router';\n\nexport type BaseButtonProps = {\n\t/**\n\t * Class to apply when the link is active\n\t */\n\tactiveClass?: string;\n\n\t/**\n\t * Value passed to the attribute `aria-current` when the link is exact active.\n\t *\n\t * @defaultValue `'page'`\n\t */\n\tariaCurrentValue?:\n\t\t| 'page'\n\t\t| 'step'\n\t\t| 'location'\n\t\t| 'date'\n\t\t| 'time'\n\t\t| 'true'\n\t\t| 'false';\n\n\t/**\n\t * Displays the component as full width.\n\t */\n\tblock?: boolean;\n\n\tdata?: object;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * Class to apply when the link is exact active\n\t */\n\texactActiveClass?: string;\n\n\theaders?: object;\n\n\t/**\n\t * Returns the hyperlink's URL.\n\t *\n\t * Can be set, to change the URL.\n\t */\n\thref?: HTMLAnchorElement['href'];\n\n\tmethod?: 'get' | 'post' | 'put' | 'patch' | 'delete';\n\n\tonBefore?: () => void;\n\n\tonCancel?: () => void;\n\n\tonCancelToken?: (cancelToken: import('axios').CancelTokenSource) => void;\n\n\tonFinish?: () => void;\n\n\tonly?: string[];\n\n\tonProgress?: (progress: { percentage: number | undefined }) => void;\n\n\tonStart?: () => void;\n\n\tonSuccess?: () => void;\n\n\tpreserveScroll?: boolean | ((props: { [key: string]: unknown }) => boolean);\n\n\tpreserveState?:\n\t\t| boolean\n\t\t| ((props: { [key: string]: unknown }) => boolean)\n\t\t| null;\n\n\tqueryStringArrayFormat?: 'brackets' | 'indices';\n\n\t/**\n\t * Calls `router.replace` instead of `router.push`.\n\t */\n\treplace?: boolean;\n\n\t/**\n\t * Any HTML tag corresponding to a non-void HTMl element.\n\t */\n\ttag?: string;\n\n\t/**\n\t * Sets or retrieves the window or frame at which to target content.\n\t */\n\ttarget?: HTMLAnchorElement['target'];\n\n\t/**\n\t * Text content of the component.\n\t */\n\ttext?: string;\n\n\t/**\n\t * Route Location the link should navigate to when clicked on.\n\t */\n\tto?: RouteLocationRaw;\n\n\t/**\n\t * Gets the classification and default behavior of the button.\n\t */\n\ttype?: HTMLButtonElement['type'];\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseButton',\n props: {\n activeClass: {},\n ariaCurrentValue: {},\n block: { type: Boolean },\n data: {},\n disabled: { type: Boolean },\n exactActiveClass: {},\n headers: {},\n href: {},\n method: {},\n onBefore: {},\n onCancel: {},\n onCancelToken: {},\n onFinish: {},\n only: {},\n onProgress: {},\n onStart: {},\n onSuccess: {},\n preserveScroll: { type: [Boolean, Function] },\n preserveState: { type: [Boolean, Function, null] },\n queryStringArrayFormat: {},\n replace: { type: Boolean },\n tag: { default: 'button' },\n target: {},\n text: {},\n to: {},\n type: { default: 'button' }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\n/* Ignore because possibly undefined */\n// @ts-ignore\nconst isInertia = !!getCurrentInstance()?.proxy?.$inertia;\n\n// @ts-ignore\nconst isNuxt = !!getCurrentInstance()?.proxy?.$nuxt;\n\nconst tag = computed(() => {\n\t// For disabled links always render a\n\tif (props.href || (props.to && props.disabled)) {\n\t\tif (isInertia && !props.disabled) return resolveComponent('Link');\n\t\treturn 'a';\n\t}\n\tif (props.to) {\n\t\tif (isNuxt) return resolveComponent('NuxtLink');\n\t\treturn 'router-link';\n\t}\n\treturn props.tag;\n});\n\nconst classes = computed(() => ({\n\t'base-btn': true,\n\t'base-btn--block': props.block,\n\t'base-btn--disabled': props.disabled,\n}));\n\nconst attributes = computed(() => {\n\ttype PossibleAttributes = {\n\t\tactiveClass: BaseButtonProps['activeClass'];\n\n\t\t'aria-disabled': boolean;\n\n\t\tariaCurrentValue: BaseButtonProps['ariaCurrentValue'];\n\n\t\tdata: BaseButtonProps['data'];\n\n\t\tdisabled: boolean;\n\n\t\texactActiveClass: BaseButtonProps['exactActiveClass'];\n\n\t\theaders: BaseButtonProps['headers'];\n\n\t\thref: string;\n\n\t\tmethod: BaseButtonProps['method'];\n\n\t\tonBefore: BaseButtonProps['onBefore'];\n\n\t\tonCancel: BaseButtonProps['onCancel'];\n\n\t\tonCancelToken: BaseButtonProps['onCancelToken'];\n\n\t\tonFinish: BaseButtonProps['onFinish'];\n\n\t\tonly: BaseButtonProps['only'];\n\n\t\tonProgress: BaseButtonProps['onProgress'];\n\n\t\tonStart: BaseButtonProps['onStart'];\n\n\t\tonSuccess: BaseButtonProps['onSuccess'];\n\n\t\tpreserveScroll: BaseButtonProps['preserveScroll'];\n\n\t\tpreserveState: BaseButtonProps['preserveState'];\n\n\t\tqueryStringArrayFormat: BaseButtonProps['queryStringArrayFormat'];\n\n\t\treplace: BaseButtonProps['replace'];\n\n\t\trole: string;\n\n\t\tstyle: { [rule: string]: string };\n\n\t\ttarget: string;\n\n\t\tto: BaseButtonProps['to'];\n\n\t\ttype: string;\n\t};\n\tconst initial: Partial<PossibleAttributes> = {};\n\n\tif (tag.value === 'button') {\n\t\tinitial.disabled = props.disabled;\n\t\tinitial.type = props.type;\n\t} else if (\n\t\ttag.value === 'a' ||\n\t\t(isInertia && typeof tag.value !== 'string' && tag.value.name === 'Link')\n\t) {\n\t\t// When rendering as anchor prevent navigation if disabled\n\t\t// https://getbootstrap.com/docs/4.0/components/buttons/#disabled-state\n\t\tif (props.disabled) {\n\t\t\tinitial['aria-disabled'] = true;\n\t\t\tinitial.role = 'link';\n\t\t} else {\n\t\t\t// Only attach the href to active links\n\t\t\t// https://www.scottohara.me/blog/2021/05/28/disabled-links.html\n\t\t\tinitial.href = props.href;\n\t\t\tinitial.target = props.target;\n\n\t\t\tif (isInertia) {\n\t\t\t\tinitial.data = props.data;\n\t\t\t\tinitial.headers = props.headers;\n\t\t\t\tinitial.method = props.method;\n\t\t\t\tinitial.onBefore = props.onBefore;\n\t\t\t\tinitial.onCancel = props.onCancel;\n\t\t\t\tinitial.onCancelToken = props.onCancelToken;\n\t\t\t\tinitial.onFinish = props.onFinish;\n\t\t\t\tinitial.only = props.only;\n\t\t\t\tinitial.onProgress = props.onProgress;\n\t\t\t\tinitial.onStart = props.onStart;\n\t\t\t\tinitial.onSuccess = props.onSuccess;\n\t\t\t\tinitial.preserveScroll = props.preserveScroll;\n\t\t\t\tinitial.preserveState = props.preserveState;\n\t\t\t\tinitial.queryStringArrayFormat = props.queryStringArrayFormat;\n\t\t\t\tinitial.replace = props.replace;\n\t\t\t}\n\t\t}\n\t} else if (\n\t\ttag.value === 'router-link' ||\n\t\t(typeof tag.value !== 'string' && tag.value.name === 'NuxtLink')\n\t) {\n\t\tinitial.activeClass = props.activeClass;\n\t\tinitial.ariaCurrentValue = props.ariaCurrentValue;\n\t\tinitial.exactActiveClass = props.exactActiveClass;\n\t\tinitial.replace = props.replace;\n\t\tinitial.target = props.target;\n\t\tinitial.to = props.to;\n\t}\n\n\tswitch (tag.value) {\n\t\tcase 'button':\n\t\t\tinitial.disabled = props.disabled;\n\t\t\tinitial.type = props.type;\n\t\t\tbreak;\n\t\tcase 'a':\n\t\t\t// When rendering as anchor prevent navigation if disabled\n\t\t\t// https://getbootstrap.com/docs/4.0/components/buttons/#disabled-state\n\t\t\tif (props.disabled) {\n\t\t\t\tinitial['aria-disabled'] = true;\n\t\t\t\tinitial.role = 'link';\n\t\t\t} else {\n\t\t\t\t// Only attach the href to active links\n\t\t\t\t// https://www.scottohara.me/blog/2021/05/28/disabled-links.html\n\t\t\t\tinitial.href = props.href;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 'router-link':\n\t\t\tinitial.to = props.to;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t}\n\treturn initial;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(tag.value), _mergeProps({ class: classes.value }, attributes.value), {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.text), 1)\n ])\n ]),\n _: 3\n }, 16, [\"class\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","props","isInertia","_b","_a","getCurrentInstance","isNuxt","_d","_c","tag","computed","resolveComponent","classes","attributes","initial","_ctx","_cache","_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot","_createTextVNode","_toDisplayString"],"mappings":";AA+GA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,aAAa,CAAC;AAAA,IACd,kBAAkB,CAAC;AAAA,IACnB,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,MAAM,CAAC;AAAA,IACP,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,CAAC;AAAA,IACnB,SAAS,CAAC;AAAA,IACV,MAAM,CAAC;AAAA,IACP,QAAQ,CAAC;AAAA,IACT,UAAU,CAAC;AAAA,IACX,UAAU,CAAC;AAAA,IACX,eAAe,CAAC;AAAA,IAChB,UAAU,CAAC;AAAA,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AAAA,QACtBC,EAAYP,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,UAC5CQ,EAAiBC,EAAiBT,EAAK,IAAI,GAAG,CAAC;AAAA,QAAA,CAChD;AAAA,MAAA,CACF;AAAA,MACD,GAAG;AAAA,IAAA,GACF,IAAI,CAAC,OAAO,CAAC;AAAA,EAElB;AAEA,CAAC;"}
|
|
@@ -1,22 +1,78 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
import type { RouterLinkProps } from 'vue-router';
|
|
4
|
-
export type BaseButtonProps = Pick<CommonProps, 'block' | 'disabled' | 'text'> & NonVoidElementTag & Partial<Pick<RouterLinkProps, 'activeClass' | 'ariaCurrentValue' | 'exactActiveClass' | 'replace' | 'to'>> & Partial<Pick<InertiaLinkProps, 'data' | 'headers' | 'method' | 'onBefore' | 'onCancel' | 'onCancelToken' | 'onFinish' | 'only' | 'onProgress' | 'onStart' | 'onSuccess' | 'preserveScroll' | 'preserveState' | 'queryStringArrayFormat'>> & Partial<{
|
|
1
|
+
import type { RouteLocationRaw } from 'vue-router';
|
|
2
|
+
export type BaseButtonProps = {
|
|
5
3
|
/**
|
|
6
|
-
*
|
|
4
|
+
* Class to apply when the link is active
|
|
5
|
+
*/
|
|
6
|
+
activeClass?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Value passed to the attribute `aria-current` when the link is exact active.
|
|
9
|
+
*
|
|
10
|
+
* @defaultValue `'page'`
|
|
11
|
+
*/
|
|
12
|
+
ariaCurrentValue?: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false';
|
|
13
|
+
/**
|
|
14
|
+
* Displays the component as full width.
|
|
7
15
|
*/
|
|
8
|
-
|
|
16
|
+
block?: boolean;
|
|
17
|
+
data?: object;
|
|
18
|
+
/**
|
|
19
|
+
* Disables the component
|
|
20
|
+
*/
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Class to apply when the link is exact active
|
|
24
|
+
*/
|
|
25
|
+
exactActiveClass?: string;
|
|
26
|
+
headers?: object;
|
|
9
27
|
/**
|
|
10
28
|
* Returns the hyperlink's URL.
|
|
11
29
|
*
|
|
12
30
|
* Can be set, to change the URL.
|
|
13
31
|
*/
|
|
14
|
-
href
|
|
32
|
+
href?: HTMLAnchorElement['href'];
|
|
33
|
+
method?: 'get' | 'post' | 'put' | 'patch' | 'delete';
|
|
34
|
+
onBefore?: () => void;
|
|
35
|
+
onCancel?: () => void;
|
|
36
|
+
onCancelToken?: (cancelToken: import('axios').CancelTokenSource) => void;
|
|
37
|
+
onFinish?: () => void;
|
|
38
|
+
only?: string[];
|
|
39
|
+
onProgress?: (progress: {
|
|
40
|
+
percentage: number | undefined;
|
|
41
|
+
}) => void;
|
|
42
|
+
onStart?: () => void;
|
|
43
|
+
onSuccess?: () => void;
|
|
44
|
+
preserveScroll?: boolean | ((props: {
|
|
45
|
+
[key: string]: unknown;
|
|
46
|
+
}) => boolean);
|
|
47
|
+
preserveState?: boolean | ((props: {
|
|
48
|
+
[key: string]: unknown;
|
|
49
|
+
}) => boolean) | null;
|
|
50
|
+
queryStringArrayFormat?: 'brackets' | 'indices';
|
|
51
|
+
/**
|
|
52
|
+
* Calls `router.replace` instead of `router.push`.
|
|
53
|
+
*/
|
|
54
|
+
replace?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Any HTML tag corresponding to a non-void HTMl element.
|
|
57
|
+
*/
|
|
58
|
+
tag?: string;
|
|
15
59
|
/**
|
|
16
60
|
* Sets or retrieves the window or frame at which to target content.
|
|
17
61
|
*/
|
|
18
|
-
target
|
|
19
|
-
|
|
62
|
+
target?: HTMLAnchorElement['target'];
|
|
63
|
+
/**
|
|
64
|
+
* Text content of the component.
|
|
65
|
+
*/
|
|
66
|
+
text?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Route Location the link should navigate to when clicked on.
|
|
69
|
+
*/
|
|
70
|
+
to?: RouteLocationRaw;
|
|
71
|
+
/**
|
|
72
|
+
* Gets the classification and default behavior of the button.
|
|
73
|
+
*/
|
|
74
|
+
type?: HTMLButtonElement['type'];
|
|
75
|
+
};
|
|
20
76
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseButtonProps>, {
|
|
21
77
|
tag: string;
|
|
22
78
|
type: string;
|
|
@@ -24,8 +80,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
80
|
tag: string;
|
|
25
81
|
type: string;
|
|
26
82
|
}>>>, {
|
|
27
|
-
type: "
|
|
28
|
-
tag:
|
|
83
|
+
type: "submit" | "reset" | "button";
|
|
84
|
+
tag: string;
|
|
29
85
|
}, {}>, Readonly<{
|
|
30
86
|
default?: ((props: {}) => any) | undefined;
|
|
31
87
|
}> & {
|
|
@@ -105,6 +105,9 @@ export type BaseCheckboxGroupEvents = {
|
|
|
105
105
|
(e: 'update:modelValue', value: any): void;
|
|
106
106
|
};
|
|
107
107
|
declare const _default: <T = any>(__VLS_props: {
|
|
108
|
+
disabled?: boolean | undefined;
|
|
109
|
+
name?: string | undefined;
|
|
110
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
108
111
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
109
112
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
110
113
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -113,28 +116,25 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
113
116
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
114
117
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
115
118
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
116
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
117
119
|
id?: string | undefined;
|
|
118
|
-
name?: string | undefined;
|
|
119
120
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
120
|
-
|
|
121
|
+
hasErrors?: boolean | undefined;
|
|
121
122
|
color?: string | undefined;
|
|
123
|
+
modelValue: any[];
|
|
124
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
125
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
122
126
|
dependencies?: any[] | undefined;
|
|
123
127
|
depsDebounceTime?: number | undefined;
|
|
124
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
125
128
|
enforceCoherence?: boolean | undefined;
|
|
126
|
-
hasErrors?: boolean | undefined;
|
|
127
|
-
hideLabel?: boolean | undefined;
|
|
128
129
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
129
130
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
130
|
-
loadingText?: string | undefined;
|
|
131
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
132
131
|
modelValueDebounceTime?: number | undefined;
|
|
133
|
-
noDataText?: string | undefined;
|
|
134
|
-
modelValue: any[];
|
|
135
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
136
132
|
onInactive?: (() => any) | undefined;
|
|
133
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
134
|
+
hideLabel?: boolean | undefined;
|
|
137
135
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
136
|
+
loadingText?: string | undefined;
|
|
137
|
+
noDataText?: string | undefined;
|
|
138
138
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
139
139
|
attrs: any;
|
|
140
140
|
slots: Readonly<{
|
|
@@ -181,6 +181,9 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
181
181
|
emit: BaseCheckboxGroupEvents;
|
|
182
182
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
183
183
|
props: {
|
|
184
|
+
disabled?: boolean | undefined;
|
|
185
|
+
name?: string | undefined;
|
|
186
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
184
187
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
185
188
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
186
189
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -189,28 +192,25 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
189
192
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
190
193
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
191
194
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
192
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
193
195
|
id?: string | undefined;
|
|
194
|
-
name?: string | undefined;
|
|
195
196
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
196
|
-
|
|
197
|
+
hasErrors?: boolean | undefined;
|
|
197
198
|
color?: string | undefined;
|
|
199
|
+
modelValue: any[];
|
|
200
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
201
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
198
202
|
dependencies?: any[] | undefined;
|
|
199
203
|
depsDebounceTime?: number | undefined;
|
|
200
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
201
204
|
enforceCoherence?: boolean | undefined;
|
|
202
|
-
hasErrors?: boolean | undefined;
|
|
203
|
-
hideLabel?: boolean | undefined;
|
|
204
205
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
205
206
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
206
|
-
loadingText?: string | undefined;
|
|
207
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
208
207
|
modelValueDebounceTime?: number | undefined;
|
|
209
|
-
noDataText?: string | undefined;
|
|
210
|
-
modelValue: any[];
|
|
211
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
212
208
|
onInactive?: (() => any) | undefined;
|
|
209
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
210
|
+
hideLabel?: boolean | undefined;
|
|
213
211
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
212
|
+
loadingText?: string | undefined;
|
|
213
|
+
noDataText?: string | undefined;
|
|
214
214
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
215
215
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
216
216
|
attrs: any;
|
|
@@ -261,6 +261,9 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
261
261
|
}> & {
|
|
262
262
|
__ctx?: {
|
|
263
263
|
props: {
|
|
264
|
+
disabled?: boolean | undefined;
|
|
265
|
+
name?: string | undefined;
|
|
266
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
264
267
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
265
268
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
266
269
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -269,28 +272,25 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
269
272
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
270
273
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
271
274
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
272
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
273
275
|
id?: string | undefined;
|
|
274
|
-
name?: string | undefined;
|
|
275
276
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
276
|
-
|
|
277
|
+
hasErrors?: boolean | undefined;
|
|
277
278
|
color?: string | undefined;
|
|
279
|
+
modelValue: any[];
|
|
280
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
281
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
278
282
|
dependencies?: any[] | undefined;
|
|
279
283
|
depsDebounceTime?: number | undefined;
|
|
280
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
281
284
|
enforceCoherence?: boolean | undefined;
|
|
282
|
-
hasErrors?: boolean | undefined;
|
|
283
|
-
hideLabel?: boolean | undefined;
|
|
284
285
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
285
286
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
286
|
-
loadingText?: string | undefined;
|
|
287
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
288
287
|
modelValueDebounceTime?: number | undefined;
|
|
289
|
-
noDataText?: string | undefined;
|
|
290
|
-
modelValue: any[];
|
|
291
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
292
288
|
onInactive?: (() => any) | undefined;
|
|
289
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
290
|
+
hideLabel?: boolean | undefined;
|
|
293
291
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
292
|
+
loadingText?: string | undefined;
|
|
293
|
+
noDataText?: string | undefined;
|
|
294
294
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
295
295
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
296
296
|
attrs: any;
|
|
@@ -94,8 +94,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
94
94
|
}>>> & {
|
|
95
95
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
}, {
|
|
97
|
-
width: string | number;
|
|
98
97
|
firstDayOfWeek: number;
|
|
98
|
+
width: string | number;
|
|
99
99
|
}, {}>, Readonly<{
|
|
100
100
|
day?: ((props: {
|
|
101
101
|
first: boolean;
|
|
@@ -92,8 +92,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
92
92
|
onInactive?: (() => any) | undefined;
|
|
93
93
|
}, {
|
|
94
94
|
autocomplete: string;
|
|
95
|
-
allowWriting: boolean;
|
|
96
95
|
width: string | number;
|
|
96
|
+
allowWriting: boolean;
|
|
97
97
|
}, {}>, Readonly<{
|
|
98
98
|
'prepend-outer'?: ((props: object) => any) | undefined;
|
|
99
99
|
prepend?: ((props: object) => any) | undefined;
|
|
@@ -69,19 +69,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
69
69
|
panelClasses: () => never[];
|
|
70
70
|
overlayClasses: () => never[];
|
|
71
71
|
}>>> & {
|
|
72
|
-
onShown?: (() => any) | undefined;
|
|
73
|
-
onHidden?: (() => any) | undefined;
|
|
74
72
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
73
|
+
onHidden?: (() => any) | undefined;
|
|
74
|
+
onShown?: (() => any) | undefined;
|
|
75
75
|
}, {
|
|
76
|
+
size: number | ({
|
|
77
|
+
size?: any;
|
|
78
|
+
} & string) | keyof Sizes;
|
|
79
|
+
transition: string;
|
|
76
80
|
closeLabel: string;
|
|
77
81
|
panelClasses: import("../../types/Classes").Classes;
|
|
78
82
|
overlayClasses: import("../../types/Classes").Classes;
|
|
79
83
|
showClose: boolean;
|
|
80
|
-
transition: string;
|
|
81
84
|
transitionDuration: number;
|
|
82
|
-
size: number | ({
|
|
83
|
-
size?: any;
|
|
84
|
-
} & string) | keyof Sizes;
|
|
85
85
|
}, {}>, Readonly<BaseDialogSlots> & BaseDialogSlots>;
|
|
86
86
|
export default _default;
|
|
87
87
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -84,11 +84,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
84
84
|
reverse: boolean;
|
|
85
85
|
tag: string;
|
|
86
86
|
}>>>, {
|
|
87
|
+
tag: string;
|
|
88
|
+
reverse: boolean;
|
|
87
89
|
direction: string;
|
|
88
90
|
inputPosition: "left" | "center" | "right";
|
|
89
91
|
labelPosition: "left" | "center" | "right";
|
|
90
|
-
reverse: boolean;
|
|
91
|
-
tag: string;
|
|
92
92
|
labelTag: string;
|
|
93
93
|
}, {}>, Readonly<BaseInputContainerSlots> & BaseInputContainerSlots>;
|
|
94
94
|
export default _default;
|
|
@@ -105,6 +105,9 @@ export type BaseRadioGroupEvents = {
|
|
|
105
105
|
(e: 'inactive'): void;
|
|
106
106
|
};
|
|
107
107
|
declare const _default: <T = any>(__VLS_props: {
|
|
108
|
+
disabled?: boolean | undefined;
|
|
109
|
+
name: string | undefined;
|
|
110
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
108
111
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
109
112
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
110
113
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -113,28 +116,25 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
113
116
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
114
117
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
115
118
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
116
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
117
119
|
id?: string | undefined;
|
|
118
|
-
name: string | undefined;
|
|
119
120
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
120
|
-
|
|
121
|
+
hasErrors?: boolean | undefined;
|
|
121
122
|
color?: string | undefined;
|
|
123
|
+
modelValue: any;
|
|
124
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
125
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
122
126
|
dependencies?: any[] | undefined;
|
|
123
127
|
depsDebounceTime?: number | undefined;
|
|
124
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
125
128
|
enforceCoherence?: boolean | undefined;
|
|
126
|
-
hasErrors?: boolean | undefined;
|
|
127
|
-
hideLabel?: boolean | undefined;
|
|
128
129
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
129
130
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
130
|
-
loadingText?: string | undefined;
|
|
131
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
132
131
|
modelValueDebounceTime?: number | undefined;
|
|
133
|
-
noDataText?: string | undefined;
|
|
134
|
-
modelValue: any;
|
|
135
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
136
132
|
onInactive?: (() => any) | undefined;
|
|
133
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
134
|
+
hideLabel?: boolean | undefined;
|
|
137
135
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
136
|
+
loadingText?: string | undefined;
|
|
137
|
+
noDataText?: string | undefined;
|
|
138
138
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
139
139
|
attrs: any;
|
|
140
140
|
slots: Readonly<{
|
|
@@ -181,6 +181,9 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
181
181
|
emit: BaseRadioGroupEvents;
|
|
182
182
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
183
183
|
props: {
|
|
184
|
+
disabled?: boolean | undefined;
|
|
185
|
+
name: string | undefined;
|
|
186
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
184
187
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
185
188
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
186
189
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -189,28 +192,25 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
189
192
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
190
193
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
191
194
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
192
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
193
195
|
id?: string | undefined;
|
|
194
|
-
name: string | undefined;
|
|
195
196
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
196
|
-
|
|
197
|
+
hasErrors?: boolean | undefined;
|
|
197
198
|
color?: string | undefined;
|
|
199
|
+
modelValue: any;
|
|
200
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
201
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
198
202
|
dependencies?: any[] | undefined;
|
|
199
203
|
depsDebounceTime?: number | undefined;
|
|
200
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
201
204
|
enforceCoherence?: boolean | undefined;
|
|
202
|
-
hasErrors?: boolean | undefined;
|
|
203
|
-
hideLabel?: boolean | undefined;
|
|
204
205
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
205
206
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
206
|
-
loadingText?: string | undefined;
|
|
207
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
208
207
|
modelValueDebounceTime?: number | undefined;
|
|
209
|
-
noDataText?: string | undefined;
|
|
210
|
-
modelValue: any;
|
|
211
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
212
208
|
onInactive?: (() => any) | undefined;
|
|
209
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
210
|
+
hideLabel?: boolean | undefined;
|
|
213
211
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
212
|
+
loadingText?: string | undefined;
|
|
213
|
+
noDataText?: string | undefined;
|
|
214
214
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
215
215
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
216
216
|
attrs: any;
|
|
@@ -261,6 +261,9 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
261
261
|
}> & {
|
|
262
262
|
__ctx?: {
|
|
263
263
|
props: {
|
|
264
|
+
disabled?: boolean | undefined;
|
|
265
|
+
name: string | undefined;
|
|
266
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
264
267
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
265
268
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
266
269
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -269,28 +272,25 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
269
272
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
270
273
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
271
274
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
272
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
273
275
|
id?: string | undefined;
|
|
274
|
-
name: string | undefined;
|
|
275
276
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
276
|
-
|
|
277
|
+
hasErrors?: boolean | undefined;
|
|
277
278
|
color?: string | undefined;
|
|
279
|
+
modelValue: any;
|
|
280
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
281
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
278
282
|
dependencies?: any[] | undefined;
|
|
279
283
|
depsDebounceTime?: number | undefined;
|
|
280
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
281
284
|
enforceCoherence?: boolean | undefined;
|
|
282
|
-
hasErrors?: boolean | undefined;
|
|
283
|
-
hideLabel?: boolean | undefined;
|
|
284
285
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
285
286
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
286
|
-
loadingText?: string | undefined;
|
|
287
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
288
287
|
modelValueDebounceTime?: number | undefined;
|
|
289
|
-
noDataText?: string | undefined;
|
|
290
|
-
modelValue: any;
|
|
291
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
292
288
|
onInactive?: (() => any) | undefined;
|
|
289
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
290
|
+
hideLabel?: boolean | undefined;
|
|
293
291
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
292
|
+
loadingText?: string | undefined;
|
|
293
|
+
noDataText?: string | undefined;
|
|
294
294
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
295
295
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
296
296
|
attrs: any;
|