ablok-components 0.3.104 → 0.3.106
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/_virtual/_plugin-vue_export-helper.js +7 -8
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/ablok-components.css +2 -1
- package/dist/ablok-components.umd.js +4 -4
- package/dist/assets/img/guide.js +4 -0
- package/dist/components/atoms/base-button/base-button.js +6 -0
- package/dist/components/atoms/base-button/base-button.vue_vue_type_script_setup_true_lang.js +72 -0
- package/dist/components/atoms/base-headline/base-headline.js +5 -0
- package/dist/components/atoms/base-headline/base-headline.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/atoms/base-image/base-image.js +6 -0
- package/dist/components/atoms/base-image/base-image.vue_vue_type_script_setup_true_lang.js +69 -0
- package/dist/components/atoms/base-input/base-input.js +6 -0
- package/dist/components/atoms/base-input/base-input.vue_vue_type_script_setup_true_lang.js +196 -0
- package/dist/components/atoms/base-paragraph/base-paragraph.js +5 -0
- package/dist/components/atoms/base-paragraph/base-paragraph.vue_vue_type_script_setup_true_lang.js +21 -0
- package/dist/components/atoms/canvas-confetti/canvas-confetti.js +6 -0
- package/dist/components/atoms/canvas-confetti/canvas-confetti.vue_vue_type_script_setup_true_lang.js +106 -0
- package/dist/components/atoms/check-group/check-group.js +6 -0
- package/dist/components/atoms/check-group/check-group.vue_vue_type_script_setup_true_lang.js +86 -0
- package/dist/components/atoms/custom-html/custom-html.js +5 -0
- package/dist/components/atoms/custom-html/custom-html.vue_vue_type_script_setup_true_lang.js +20 -0
- package/dist/components/atoms/input-checkbox/input-checkbox.js +6 -0
- package/dist/components/atoms/input-checkbox/input-checkbox.vue_vue_type_script_setup_true_lang.js +73 -0
- package/dist/components/atoms/input-datetime/input-datetime.js +5 -0
- package/dist/components/atoms/input-datetime/input-datetime.vue_vue_type_script_setup_true_lang.js +104 -0
- package/dist/components/atoms/input-file/input-file.js +5 -0
- package/dist/components/atoms/input-file/input-file.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/components/atoms/input-passcode/input-passcode.js +5 -0
- package/dist/components/atoms/input-passcode/input-passcode.vue_vue_type_script_setup_true_lang.js +158 -0
- package/dist/components/atoms/input-password/input-password.js +5 -0
- package/dist/components/atoms/input-password/input-password.vue_vue_type_script_setup_true_lang.js +114 -0
- package/dist/components/atoms/input-textarea/input-textarea.js +5 -0
- package/dist/components/atoms/input-textarea/input-textarea.vue_vue_type_script_setup_true_lang.js +108 -0
- package/dist/components/atoms/loading-spinner/loading-spinner.js +6 -0
- package/dist/components/atoms/loading-spinner/loading-spinner.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/components/atoms/radio-group/radio-group.js +6 -0
- package/dist/components/atoms/radio-group/radio-group.vue_vue_type_script_setup_true_lang.js +93 -0
- package/dist/components/atoms/svg-icon/svg-icon.js +6 -0
- package/dist/components/atoms/svg-icon/svg-icon.vue_vue_type_script_setup_true_lang.js +36 -0
- package/dist/components/atoms/zoom-slider/zoom-slider.js +6 -0
- package/dist/components/atoms/zoom-slider/zoom-slider.vue_vue_type_script_setup_true_lang.js +57 -0
- package/dist/components/molecules/accordion/accordion-item.js +6 -0
- package/dist/components/molecules/accordion/accordion-item.vue_vue_type_script_setup_true_lang.js +63 -0
- package/dist/components/molecules/accordion/accordion.js +10 -0
- package/dist/components/molecules/auto-suggest/auto-suggest.js +6 -0
- package/dist/components/molecules/auto-suggest/auto-suggest.vue_vue_type_script_setup_true_lang.js +106 -0
- package/dist/components/molecules/base-camera/base-camera.js +6 -0
- package/dist/components/molecules/base-camera/base-camera.vue_vue_type_script_async_true_setup_true_lang.js +505 -0
- package/dist/components/molecules/base-map/base-map.js +6 -0
- package/dist/components/molecules/base-map/base-map.vue_vue_type_script_setup_true_lang.js +390 -0
- package/dist/components/molecules/bulk-upload/bulk-upload.js +6 -0
- package/dist/components/molecules/bulk-upload/bulk-upload.vue_vue_type_script_setup_true_lang.js +188 -0
- package/dist/components/molecules/color-palette/color-palette.js +6 -0
- package/dist/components/molecules/color-palette/color-palette.vue_vue_type_script_setup_true_lang.js +73 -0
- package/dist/components/molecules/dom-renderer/dom-renderer.js +5 -0
- package/dist/components/molecules/dom-renderer/dom-renderer.vue_vue_type_script_setup_true_lang.js +98 -0
- package/dist/components/molecules/file-upload/file-upload.js +6 -0
- package/dist/components/molecules/file-upload/file-upload.vue_vue_type_script_setup_true_lang.js +196 -0
- package/dist/components/molecules/hint-system/hint-system.js +6 -0
- package/dist/components/molecules/hint-system/hint-system.vue_vue_type_script_setup_true_lang.js +96 -0
- package/dist/components/molecules/image-crop/image-crop.js +5 -0
- package/dist/components/molecules/image-crop/image-crop.vue_vue_type_script_setup_true_lang.js +91 -0
- package/dist/components/molecules/image-crop-resize/image-crop-resize.js +5 -0
- package/dist/components/molecules/image-crop-resize/image-crop-resize.vue_vue_type_script_setup_true_lang.js +91 -0
- package/dist/components/molecules/image-resize/image-resize.js +5 -0
- package/dist/components/molecules/image-resize/image-resize.vue_vue_type_script_setup_true_lang.js +116 -0
- package/dist/components/molecules/image-upload/image-upload.js +6 -0
- package/dist/components/molecules/image-upload/image-upload.vue_vue_type_script_setup_true_lang.js +264 -0
- package/dist/components/molecules/image-zoom/image-zoom.js +6 -0
- package/dist/components/molecules/image-zoom/image-zoom.vue_vue_type_script_setup_true_lang.js +195 -0
- package/dist/components/molecules/input-color/input-color.js +6 -0
- package/dist/components/molecules/input-color/input-color.vue_vue_type_script_setup_true_lang.js +118 -0
- package/dist/components/molecules/input-datepicker/input-datepicker.js +6 -0
- package/dist/components/molecules/input-datepicker/input-datepicker.vue_vue_type_script_setup_true_lang.js +337 -0
- package/dist/components/molecules/input-dropdown/input-dropdown.js +6 -0
- package/dist/components/molecules/input-dropdown/input-dropdown.vue_vue_type_script_setup_true_lang.js +169 -0
- package/dist/components/molecules/link-sharing/link-sharing.js +6 -0
- package/dist/components/molecules/link-sharing/link-sharing.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/components/molecules/location-list/location-list.js +6 -0
- package/dist/components/molecules/location-list/location-list.vue_vue_type_script_setup_true_lang.js +91 -0
- package/dist/components/molecules/media-thumbnails/media-thumbnails.js +6 -0
- package/dist/components/molecules/media-thumbnails/media-thumbnails.vue_vue_type_script_setup_true_lang.js +70 -0
- package/dist/components/molecules/popover-notifications/popover-notifications.js +6 -0
- package/dist/components/molecules/popover-notifications/popover-notifications.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/components/molecules/popover-tooltip/popover-tooltip.js +6 -0
- package/dist/components/molecules/popover-tooltip/popover-tooltip.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/components/molecules/progress-steps/progress-steps.js +6 -0
- package/dist/components/molecules/progress-steps/progress-steps.vue_vue_type_script_setup_true_lang.js +70 -0
- package/dist/components/molecules/qr-code/qr-code.js +6 -0
- package/dist/components/molecules/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +80 -0
- package/dist/components/molecules/radio-buttons/radio-buttons.js +6 -0
- package/dist/components/molecules/radio-buttons/radio-buttons.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/components/molecules/rte-editor/rte-editor.js +6 -0
- package/dist/components/molecules/rte-editor/rte-editor.vue_vue_type_script_setup_true_lang.js +384 -0
- package/dist/components/molecules/select-media/select-media.js +6 -0
- package/dist/components/molecules/select-media/select-media.vue_vue_type_script_setup_true_lang.js +82 -0
- package/dist/components/molecules/upload-group/upload-group.js +6 -0
- package/dist/components/molecules/upload-group/upload-group.vue_vue_type_script_setup_true_lang.js +184 -0
- package/dist/components/organisms/asset-uploader/asset-uploader.js +5 -0
- package/dist/components/organisms/asset-uploader/asset-uploader.vue_vue_type_script_setup_true_lang.js +167 -0
- package/dist/components/organisms/location-finder/location-finder.js +6 -0
- package/dist/components/organisms/location-finder/location-finder.vue_vue_type_script_setup_true_lang.js +609 -0
- package/dist/components/organisms/preset-uploader/preset-uploader.js +6 -0
- package/dist/components/organisms/preset-uploader/preset-uploader.vue_vue_type_script_setup_true_lang.js +592 -0
- package/dist/components/templates/base-carousel/base-carousel.js +6 -0
- package/dist/components/templates/base-carousel/base-carousel.vue_vue_type_script_setup_true_lang.js +82 -0
- package/dist/components/templates/base-form/base-form.js +6 -0
- package/dist/components/templates/base-form/base-form.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/templates/modal-dialog/modal-dialog.js +6 -0
- package/dist/components/templates/modal-dialog/modal-dialog.vue_vue_type_script_setup_true_lang.js +117 -0
- package/dist/components/templates/popover-dialog/popover-dialog.js +6 -0
- package/dist/components/templates/popover-dialog/popover-dialog.vue_vue_type_script_setup_true_lang.js +91 -0
- package/dist/components/templates/sortable-list/sortable-list.js +6 -0
- package/dist/components/templates/sortable-list/sortable-list.vue_vue_type_script_setup_true_lang.js +190 -0
- package/dist/components/templates/touch-wrapper/touch-wrapper.js +6 -0
- package/dist/components/templates/touch-wrapper/touch-wrapper.vue_vue_type_script_setup_true_lang.js +54 -0
- package/dist/composables/useCameraFilter.js +60 -55
- package/dist/composables/useConfetti.js +9 -11
- package/dist/composables/useDirections.js +54 -59
- package/dist/composables/useDragAndDrop.js +28 -28
- package/dist/composables/useGeocoding.js +81 -83
- package/dist/composables/useGeolocation.js +61 -70
- package/dist/composables/useLocalFileUrl.js +16 -13
- package/dist/composables/useSanitize.js +81 -21
- package/dist/composables/useUploadTransport.js +28 -27
- package/dist/index.js +60 -161
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +8 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +16 -17
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +19 -28
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -14
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatDistance.js +161 -162
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatLong.js +31 -36
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/formatRelative.js +11 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/localize.js +210 -158
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de/_lib/match.js +113 -111
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/de.js +18 -18
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +68 -69
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +200 -153
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -109
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +19 -19
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +68 -69
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +31 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +11 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/localize.js +176 -120
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr/_lib/match.js +122 -108
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/fr.js +18 -18
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js +9 -11
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js +15 -16
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js +13 -14
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js +8 -11
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js +19 -21
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js +12 -13
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js +10 -11
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js +13 -15
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js +55 -60
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js +12 -13
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js +11 -12
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js +14 -15
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js +12 -13
- package/dist/node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js +24 -28
- package/dist/utilities/helpers.js +55 -70
- package/package.json +12 -11
- package/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/_virtual/debounce.js +0 -7
- package/dist/assets/img/guide.png.js +0 -4
- package/dist/components/atoms/base-button/base-button.vue.js +0 -92
- package/dist/components/atoms/base-button/base-button3.vue.js +0 -5
- package/dist/components/atoms/base-headline/base-headline.vue.js +0 -30
- package/dist/components/atoms/base-headline/base-headline2.vue.js +0 -4
- package/dist/components/atoms/base-image/base-image.vue.js +0 -75
- package/dist/components/atoms/base-image/base-image3.vue.js +0 -5
- package/dist/components/atoms/base-input/base-input.vue.js +0 -184
- package/dist/components/atoms/base-input/base-input3.vue.js +0 -5
- package/dist/components/atoms/base-paragraph/base-paragraph.vue.js +0 -21
- package/dist/components/atoms/base-paragraph/base-paragraph2.vue.js +0 -4
- package/dist/components/atoms/canvas-confetti/canvas-confetti.vue.js +0 -113
- package/dist/components/atoms/canvas-confetti/canvas-confetti3.vue.js +0 -5
- package/dist/components/atoms/check-group/check-group.vue.js +0 -86
- package/dist/components/atoms/check-group/check-group3.vue.js +0 -5
- package/dist/components/atoms/custom-html/custom-html.vue.js +0 -26
- package/dist/components/atoms/custom-html/custom-html2.vue.js +0 -4
- package/dist/components/atoms/input-checkbox/input-checkbox.vue.js +0 -84
- package/dist/components/atoms/input-checkbox/input-checkbox3.vue.js +0 -5
- package/dist/components/atoms/input-datetime/input-datetime.vue.js +0 -99
- package/dist/components/atoms/input-datetime/input-datetime2.vue.js +0 -4
- package/dist/components/atoms/input-file/input-file.vue.js +0 -130
- package/dist/components/atoms/input-file/input-file2.vue.js +0 -4
- package/dist/components/atoms/input-passcode/input-passcode.vue.js +0 -149
- package/dist/components/atoms/input-passcode/input-passcode2.vue.js +0 -4
- package/dist/components/atoms/input-password/input-password.vue.js +0 -118
- package/dist/components/atoms/input-password/input-password2.vue.js +0 -4
- package/dist/components/atoms/input-textarea/input-textarea.vue.js +0 -105
- package/dist/components/atoms/input-textarea/input-textarea2.vue.js +0 -4
- package/dist/components/atoms/loading-spinner/loading-spinner.vue.js +0 -38
- package/dist/components/atoms/loading-spinner/loading-spinner3.vue.js +0 -5
- package/dist/components/atoms/radio-group/radio-group.vue.js +0 -99
- package/dist/components/atoms/radio-group/radio-group3.vue.js +0 -5
- package/dist/components/atoms/svg-icon/svg-icon.vue.js +0 -44
- package/dist/components/atoms/svg-icon/svg-icon3.vue.js +0 -5
- package/dist/components/atoms/zoom-slider/zoom-slider.vue.js +0 -59
- package/dist/components/atoms/zoom-slider/zoom-slider3.vue.js +0 -5
- package/dist/components/molecules/accordion/accordion-item.vue.js +0 -84
- package/dist/components/molecules/accordion/accordion-item3.vue.js +0 -5
- package/dist/components/molecules/accordion/accordion.vue.js +0 -12
- package/dist/components/molecules/auto-suggest/auto-suggest.vue.js +0 -132
- package/dist/components/molecules/auto-suggest/auto-suggest3.vue.js +0 -5
- package/dist/components/molecules/base-camera/base-camera.vue.js +0 -530
- package/dist/components/molecules/base-camera/base-camera3.vue.js +0 -5
- package/dist/components/molecules/base-map/base-map.vue.js +0 -386
- package/dist/components/molecules/base-map/base-map3.vue.js +0 -5
- package/dist/components/molecules/bulk-upload/bulk-upload.vue.js +0 -256
- package/dist/components/molecules/bulk-upload/bulk-upload3.vue.js +0 -5
- package/dist/components/molecules/color-palette/color-palette.vue.js +0 -72
- package/dist/components/molecules/color-palette/color-palette3.vue.js +0 -5
- package/dist/components/molecules/dom-renderer/dom-renderer.vue.js +0 -102
- package/dist/components/molecules/dom-renderer/dom-renderer2.vue.js +0 -4
- package/dist/components/molecules/file-upload/file-upload.vue.js +0 -215
- package/dist/components/molecules/file-upload/file-upload3.vue.js +0 -5
- package/dist/components/molecules/hint-system/hint-system.vue.js +0 -111
- package/dist/components/molecules/hint-system/hint-system3.vue.js +0 -5
- package/dist/components/molecules/image-crop/image-crop.vue.js +0 -82
- package/dist/components/molecules/image-crop/image-crop2.vue.js +0 -4
- package/dist/components/molecules/image-crop-resize/image-crop-resize.vue.js +0 -120
- package/dist/components/molecules/image-crop-resize/image-crop-resize2.vue.js +0 -4
- package/dist/components/molecules/image-resize/image-resize.vue.js +0 -143
- package/dist/components/molecules/image-resize/image-resize2.vue.js +0 -4
- package/dist/components/molecules/image-upload/image-upload.vue.js +0 -289
- package/dist/components/molecules/image-upload/image-upload3.vue.js +0 -5
- package/dist/components/molecules/image-zoom/image-zoom.vue.js +0 -209
- package/dist/components/molecules/image-zoom/image-zoom3.vue.js +0 -5
- package/dist/components/molecules/input-color/input-color.vue.js +0 -105
- package/dist/components/molecules/input-color/input-color3.vue.js +0 -5
- package/dist/components/molecules/input-datepicker/input-datepicker.vue.js +0 -291
- package/dist/components/molecules/input-datepicker/input-datepicker3.vue.js +0 -5
- package/dist/components/molecules/input-dropdown/input-dropdown.vue.js +0 -207
- package/dist/components/molecules/input-dropdown/input-dropdown3.vue.js +0 -5
- package/dist/components/molecules/link-sharing/link-sharing.vue.js +0 -177
- package/dist/components/molecules/link-sharing/link-sharing3.vue.js +0 -7
- package/dist/components/molecules/location-list/location-list.vue.js +0 -98
- package/dist/components/molecules/location-list/location-list3.vue.js +0 -5
- package/dist/components/molecules/media-thumbnails/media-thumbnails.vue.js +0 -87
- package/dist/components/molecules/media-thumbnails/media-thumbnails3.vue.js +0 -5
- package/dist/components/molecules/popover-notifications/popover-notifications.vue.js +0 -135
- package/dist/components/molecules/popover-notifications/popover-notifications3.vue.js +0 -5
- package/dist/components/molecules/popover-tooltip/popover-tooltip.vue.js +0 -134
- package/dist/components/molecules/popover-tooltip/popover-tooltip3.vue.js +0 -5
- package/dist/components/molecules/progress-steps/progress-steps.vue.js +0 -84
- package/dist/components/molecules/progress-steps/progress-steps3.vue.js +0 -5
- package/dist/components/molecules/qr-code/qr-code.vue.js +0 -103
- package/dist/components/molecules/qr-code/qr-code3.vue.js +0 -5
- package/dist/components/molecules/radio-buttons/radio-buttons.vue.js +0 -79
- package/dist/components/molecules/radio-buttons/radio-buttons3.vue.js +0 -5
- package/dist/components/molecules/rte-editor/rte-editor.vue.js +0 -478
- package/dist/components/molecules/rte-editor/rte-editor3.vue.js +0 -5
- package/dist/components/molecules/select-media/select-media.vue.js +0 -87
- package/dist/components/molecules/select-media/select-media3.vue.js +0 -5
- package/dist/components/molecules/upload-group/upload-group.vue.js +0 -193
- package/dist/components/molecules/upload-group/upload-group3.vue.js +0 -5
- package/dist/components/organisms/asset-uploader/asset-uploader.vue.js +0 -160
- package/dist/components/organisms/asset-uploader/asset-uploader2.vue.js +0 -4
- package/dist/components/organisms/location-finder/location-finder.vue.js +0 -634
- package/dist/components/organisms/location-finder/location-finder3.vue.js +0 -5
- package/dist/components/organisms/preset-uploader/preset-uploader.vue.js +0 -569
- package/dist/components/organisms/preset-uploader/preset-uploader3.vue.js +0 -5
- package/dist/components/templates/base-carousel/base-carousel.vue.js +0 -93
- package/dist/components/templates/base-carousel/base-carousel3.vue.js +0 -5
- package/dist/components/templates/base-form/base-form.vue.js +0 -35
- package/dist/components/templates/base-form/base-form3.vue.js +0 -5
- package/dist/components/templates/modal-dialog/modal-dialog.vue.js +0 -123
- package/dist/components/templates/modal-dialog/modal-dialog3.vue.js +0 -5
- package/dist/components/templates/popover-dialog/popover-dialog.vue.js +0 -95
- package/dist/components/templates/popover-dialog/popover-dialog3.vue.js +0 -5
- package/dist/components/templates/sortable-list/sortable-list.vue.js +0 -204
- package/dist/components/templates/sortable-list/sortable-list3.vue.js +0 -5
- package/dist/components/templates/touch-wrapper/touch-wrapper.vue.js +0 -76
- package/dist/components/templates/touch-wrapper/touch-wrapper3.vue.js +0 -5
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, ref as f, computed as I, watch as C, onMounted as S, onBeforeUnmount as V, openBlock as h, createElementBlock as T, normalizeClass as q, Fragment as z, renderList as H, createBlock as N, normalizeStyle as $, withCtx as E, renderSlot as L, createElementVNode as p, toDisplayString as U, withModifiers as R } from "vue";
|
|
2
|
-
import j from "../../templates/popover-dialog/popover-dialog.vue.js";
|
|
3
|
-
/* empty css */
|
|
4
|
-
import { sanitizeHtml as A } from "../../../composables/useSanitize.js";
|
|
5
|
-
const D = { class: "popover-notification__header d-flex justify-content-between mb-2" }, F = { class: "popover-notification__title" }, Q = ["onClick"], G = ["innerHTML"], J = 240, X = /* @__PURE__ */ B({
|
|
6
|
-
__name: "popover-notifications",
|
|
7
|
-
props: {
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: Boolean,
|
|
10
|
-
default: !1
|
|
11
|
-
},
|
|
12
|
-
id: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: () => `popover-notifications-${Math.random().toString(36).substr(2, 9)}`
|
|
15
|
-
},
|
|
16
|
-
items: {
|
|
17
|
-
type: Array,
|
|
18
|
-
default: () => []
|
|
19
|
-
},
|
|
20
|
-
debounceItem: {
|
|
21
|
-
type: Number,
|
|
22
|
-
default: 0
|
|
23
|
-
},
|
|
24
|
-
closeTimeout: {
|
|
25
|
-
type: Number,
|
|
26
|
-
default: 8e3
|
|
27
|
-
},
|
|
28
|
-
collapsible: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !0
|
|
31
|
-
},
|
|
32
|
-
collapseItems: {
|
|
33
|
-
type: Number,
|
|
34
|
-
default: 3
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
setup(y, { expose: g }) {
|
|
38
|
-
const l = y, n = f([]), i = f([]), u = f(null), s = /* @__PURE__ */ new Map(), b = I(
|
|
39
|
-
() => n.value.map((e) => ({
|
|
40
|
-
...e,
|
|
41
|
-
content: A(e.content || "")
|
|
42
|
-
}))
|
|
43
|
-
), c = f(!1), k = I(() => c.value ? [...b.value].reverse() : b.value);
|
|
44
|
-
function m(e, o) {
|
|
45
|
-
o === !1 && _(e);
|
|
46
|
-
}
|
|
47
|
-
function r(e) {
|
|
48
|
-
const o = s.get(e);
|
|
49
|
-
o && (clearTimeout(o), s.delete(e));
|
|
50
|
-
}
|
|
51
|
-
function w(e) {
|
|
52
|
-
const o = e.closeTimeout ?? l.closeTimeout;
|
|
53
|
-
r(e.id), o && s.set(e.id, window.setTimeout(() => {
|
|
54
|
-
r(e.id), _(e);
|
|
55
|
-
}, o));
|
|
56
|
-
}
|
|
57
|
-
function _(e) {
|
|
58
|
-
e.visible === !1 && s.has(e.id) || (r(e.id), e.visible = !1, s.set(e.id, window.setTimeout(() => {
|
|
59
|
-
n.value = n.value.filter((o) => o.id !== e.id), s.delete(e.id), n.value.length === 0 && (c.value = !1);
|
|
60
|
-
}, J)));
|
|
61
|
-
}
|
|
62
|
-
function x(e) {
|
|
63
|
-
if (l.collapsible && n.value.length >= l.collapseItems) {
|
|
64
|
-
const t = n.value.shift();
|
|
65
|
-
t && r(t.id);
|
|
66
|
-
}
|
|
67
|
-
l.collapsible && n.value.length + 1 >= l.collapseItems && (c.value = !0), n.value.forEach((t) => {
|
|
68
|
-
t.stackIndex = (t.stackIndex ?? 0) + 1;
|
|
69
|
-
});
|
|
70
|
-
const o = { ...e, closeTimeout: e.closeTimeout ?? l.closeTimeout, visible: !0, stackIndex: 0 };
|
|
71
|
-
n.value.push(o), w(o);
|
|
72
|
-
}
|
|
73
|
-
C(() => l.items, (e, o) => {
|
|
74
|
-
const t = e.filter((v) => !o.some((a) => a.id === v.id));
|
|
75
|
-
t.length && (i.value = [...i.value, ...t], d());
|
|
76
|
-
});
|
|
77
|
-
function d() {
|
|
78
|
-
u.value !== null || !i.value.length || (u.value = window.setTimeout(() => {
|
|
79
|
-
u.value = null;
|
|
80
|
-
const e = i.value.shift();
|
|
81
|
-
e && x(e), i.value.length > 0 && d();
|
|
82
|
-
}, n.value.length ? l.debounceItem : 0));
|
|
83
|
-
}
|
|
84
|
-
function M(e) {
|
|
85
|
-
i.value.push(e), d();
|
|
86
|
-
}
|
|
87
|
-
return S(() => {
|
|
88
|
-
i.value = [...l.items], l.collapsible && i.value.length >= l.collapseItems && (c.value = !0), d();
|
|
89
|
-
}), V(() => {
|
|
90
|
-
u.value !== null && clearTimeout(u.value);
|
|
91
|
-
for (const e of s.values())
|
|
92
|
-
clearTimeout(e);
|
|
93
|
-
s.clear();
|
|
94
|
-
}), g({
|
|
95
|
-
addItem: M
|
|
96
|
-
}), (e, o) => (h(), T("div", {
|
|
97
|
-
class: q(["popover-notifications", { "popover-notifications--stacked": c.value }])
|
|
98
|
-
}, [
|
|
99
|
-
(h(!0), T(z, null, H(k.value, (t, v) => (h(), N(j, {
|
|
100
|
-
key: t.id,
|
|
101
|
-
id: t.id,
|
|
102
|
-
"close-timeout": 0,
|
|
103
|
-
type: "manual",
|
|
104
|
-
class: "popover-notification",
|
|
105
|
-
modelValue: t.visible,
|
|
106
|
-
"onUpdate:modelValue": [(a) => t.visible = a, (a) => m(t, a)],
|
|
107
|
-
style: $({ "--stack-index": t.stackIndex ?? v })
|
|
108
|
-
}, {
|
|
109
|
-
default: E(() => [
|
|
110
|
-
L(e.$slots, "item", {
|
|
111
|
-
item: t,
|
|
112
|
-
removeItem: m
|
|
113
|
-
}, () => [
|
|
114
|
-
p("div", D, [
|
|
115
|
-
p("span", F, U(t.title), 1),
|
|
116
|
-
p("button", {
|
|
117
|
-
type: "button",
|
|
118
|
-
class: "btn btn-close p-0",
|
|
119
|
-
onClick: R((a) => m(t, !1), ["stop"]),
|
|
120
|
-
"aria-label": "Close notification"
|
|
121
|
-
}, null, 8, Q)
|
|
122
|
-
]),
|
|
123
|
-
p("span", {
|
|
124
|
-
innerHTML: t.content
|
|
125
|
-
}, null, 8, G)
|
|
126
|
-
])
|
|
127
|
-
]),
|
|
128
|
-
_: 2
|
|
129
|
-
}, 1032, ["id", "modelValue", "onUpdate:modelValue", "style"]))), 128))
|
|
130
|
-
], 2));
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
export {
|
|
134
|
-
X as default
|
|
135
|
-
};
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, computed as V, ref as p, openBlock as n, createElementBlock as i, createElementVNode as l, renderSlot as d, createVNode as k, normalizeClass as S, withCtx as B, unref as f, createCommentVNode as u, toDisplayString as C } from "vue";
|
|
2
|
-
import z from "../../templates/popover-dialog/popover-dialog.vue.js";
|
|
3
|
-
/* empty css */
|
|
4
|
-
import { useSanitize as m } from "../../../composables/useSanitize.js";
|
|
5
|
-
const L = { class: "popover-tooltip" }, M = ["popovertarget", "disabled", "aria-describedby", "aria-label"], T = { class: "popover-tooltip__content d-flex flex-column" }, H = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "popover-tooltip__header d-flex p-3 border-bottom"
|
|
8
|
-
}, N = ["innerHTML"], D = { class: "popover-tooltip__body" }, x = ["innerHTML"], E = {
|
|
9
|
-
key: 1,
|
|
10
|
-
class: "popover-tooltip__footer d-flex p-3 border-top"
|
|
11
|
-
}, j = /* @__PURE__ */ $({
|
|
12
|
-
__name: "popover-tooltip",
|
|
13
|
-
props: {
|
|
14
|
-
modelValue: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: !1
|
|
17
|
-
},
|
|
18
|
-
id: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: () => `popover-tooltip-${Math.random().toString(36).substr(2, 9)}`
|
|
21
|
-
},
|
|
22
|
-
size: {
|
|
23
|
-
type: String
|
|
24
|
-
},
|
|
25
|
-
exclusive: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: !0
|
|
28
|
-
},
|
|
29
|
-
header: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: !1
|
|
32
|
-
},
|
|
33
|
-
footer: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: !1
|
|
36
|
-
},
|
|
37
|
-
title: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: ""
|
|
40
|
-
},
|
|
41
|
-
content: {
|
|
42
|
-
type: String,
|
|
43
|
-
default: ""
|
|
44
|
-
},
|
|
45
|
-
hover: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: !0
|
|
48
|
-
},
|
|
49
|
-
hoverDelay: {
|
|
50
|
-
type: Number,
|
|
51
|
-
default: 400
|
|
52
|
-
},
|
|
53
|
-
disabled: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: !1
|
|
56
|
-
},
|
|
57
|
-
ariaLabel: {
|
|
58
|
-
type: String,
|
|
59
|
-
default: ""
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
emits: ["update:modelValue", "confirm", "cancel"],
|
|
63
|
-
setup(e, { emit: c }) {
|
|
64
|
-
const r = e, v = c, b = m(() => r.title), y = m(() => r.content), a = V({
|
|
65
|
-
get() {
|
|
66
|
-
return r.modelValue;
|
|
67
|
-
},
|
|
68
|
-
set(t) {
|
|
69
|
-
v("update:modelValue", t);
|
|
70
|
-
}
|
|
71
|
-
}), g = p(), h = p();
|
|
72
|
-
return (t, o) => (n(), i("span", L, [
|
|
73
|
-
l("button", {
|
|
74
|
-
type: "button",
|
|
75
|
-
popovertarget: e.id,
|
|
76
|
-
disabled: e.disabled,
|
|
77
|
-
"aria-describedby": e.id,
|
|
78
|
-
"aria-label": e.ariaLabel || t.$te("common.moreInfo") ? t.$t("common.moreInfo") : void 0,
|
|
79
|
-
ref_key: "trigger",
|
|
80
|
-
ref: g
|
|
81
|
-
}, [
|
|
82
|
-
d(t.$slots, "button", {}, () => [
|
|
83
|
-
o[3] || (o[3] = l("span", { class: "popover-tooltip__trigger" }, " i ", -1))
|
|
84
|
-
])
|
|
85
|
-
], 8, M),
|
|
86
|
-
k(z, {
|
|
87
|
-
id: e.id,
|
|
88
|
-
modelValue: a.value,
|
|
89
|
-
"onUpdate:modelValue": o[2] || (o[2] = (s) => a.value = s),
|
|
90
|
-
hover: e.hover,
|
|
91
|
-
"hover-delay": e.hoverDelay,
|
|
92
|
-
ref_key: "dialog",
|
|
93
|
-
ref: h,
|
|
94
|
-
role: "tooltip",
|
|
95
|
-
class: S(e.size ? `popover-tooltip--${e.size}` : "")
|
|
96
|
-
}, {
|
|
97
|
-
default: B(() => [
|
|
98
|
-
l("div", T, [
|
|
99
|
-
e.header ? (n(), i("div", H, [
|
|
100
|
-
e.title ? (n(), i("h5", {
|
|
101
|
-
key: 0,
|
|
102
|
-
class: "popover-tooltip__title",
|
|
103
|
-
innerHTML: f(b)
|
|
104
|
-
}, null, 8, N)) : u("", !0),
|
|
105
|
-
l("button", {
|
|
106
|
-
type: "button",
|
|
107
|
-
class: "btn-close ms-auto border-radius-none",
|
|
108
|
-
"aria-label": "Close",
|
|
109
|
-
onClick: o[0] || (o[0] = (s) => a.value = !1)
|
|
110
|
-
})
|
|
111
|
-
])) : u("", !0),
|
|
112
|
-
l("div", D, [
|
|
113
|
-
d(t.$slots, "default", {}, () => [
|
|
114
|
-
l("span", { innerHTML: f(y) }, null, 8, x)
|
|
115
|
-
])
|
|
116
|
-
]),
|
|
117
|
-
e.footer ? (n(), i("div", E, [
|
|
118
|
-
d(t.$slots, "footer"),
|
|
119
|
-
l("button", {
|
|
120
|
-
type: "button",
|
|
121
|
-
class: "btn ms-auto",
|
|
122
|
-
onClick: o[1] || (o[1] = (s) => a.value = !1)
|
|
123
|
-
}, C(t.$t("common.close")), 1)
|
|
124
|
-
])) : u("", !0)
|
|
125
|
-
])
|
|
126
|
-
]),
|
|
127
|
-
_: 3
|
|
128
|
-
}, 8, ["id", "modelValue", "hover", "hover-delay", "class"])
|
|
129
|
-
]));
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
export {
|
|
133
|
-
j as default
|
|
134
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, openBlock as o, createElementBlock as a, createElementVNode as l, Fragment as g, renderList as h, normalizeClass as b, renderSlot as n, unref as u } from "vue";
|
|
2
|
-
import { sanitizeHtml as c } from "../../../composables/useSanitize.js";
|
|
3
|
-
const _ = { class: "progress-steps" }, y = { class: "progress-steps__list" }, v = { class: "progress-step" }, k = ["checked", "id", "value", "disabled", "read-only", "required", "onChange"], $ = ["for"], H = ["innerHTML"], L = ["for"], V = ["innerHTML"], B = /* @__PURE__ */ f({
|
|
4
|
-
__name: "progress-steps",
|
|
5
|
-
props: {
|
|
6
|
-
modelValue: {
|
|
7
|
-
type: Number,
|
|
8
|
-
default: 0
|
|
9
|
-
},
|
|
10
|
-
progress: {
|
|
11
|
-
type: Number,
|
|
12
|
-
default: 0
|
|
13
|
-
},
|
|
14
|
-
steps: {
|
|
15
|
-
type: Array
|
|
16
|
-
},
|
|
17
|
-
label: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: ""
|
|
20
|
-
},
|
|
21
|
-
reveal: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: !1
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
emits: ["update:modelValue", "update:progress"],
|
|
27
|
-
setup(s, { emit: p }) {
|
|
28
|
-
const i = s, d = p;
|
|
29
|
-
function m(r) {
|
|
30
|
-
d("update:modelValue", r), r >= i.progress && d("update:progress", r);
|
|
31
|
-
}
|
|
32
|
-
return (r, C) => (o(), a("div", _, [
|
|
33
|
-
l("ul", y, [
|
|
34
|
-
(o(!0), a(g, null, h(s.steps, (t, e) => (o(), a("li", {
|
|
35
|
-
key: e,
|
|
36
|
-
class: b(["progress-steps__step", {
|
|
37
|
-
"progress-steps__step--disabled": e > s.progress + (s.reveal ? 1 : 0),
|
|
38
|
-
"progress-steps__step--active": e === (s.modelValue || 0)
|
|
39
|
-
}])
|
|
40
|
-
}, [
|
|
41
|
-
n(r.$slots, "step", {}, () => [
|
|
42
|
-
l("div", v, [
|
|
43
|
-
l("input", {
|
|
44
|
-
type: "radio",
|
|
45
|
-
checked: e <= (s.progress || 0),
|
|
46
|
-
id: `step-${e}`,
|
|
47
|
-
name: "step",
|
|
48
|
-
class: "form-check-input",
|
|
49
|
-
value: t.value,
|
|
50
|
-
disabled: t.disabled || e > s.progress + (s.reveal ? 1 : 0),
|
|
51
|
-
"read-only": t.readOnly,
|
|
52
|
-
required: t.required,
|
|
53
|
-
onChange: (M) => m(e)
|
|
54
|
-
}, null, 40, k),
|
|
55
|
-
l("label", {
|
|
56
|
-
for: `step-${e}`
|
|
57
|
-
}, [
|
|
58
|
-
n(r.$slots, "button", { step: t }, () => [
|
|
59
|
-
l("span", {
|
|
60
|
-
class: "btn rounded-circle",
|
|
61
|
-
innerHTML: u(c)(t.text || "")
|
|
62
|
-
}, null, 8, H)
|
|
63
|
-
])
|
|
64
|
-
], 8, $),
|
|
65
|
-
l("label", {
|
|
66
|
-
for: `step-${e}`
|
|
67
|
-
}, [
|
|
68
|
-
n(r.$slots, "label", { step: t }, () => [
|
|
69
|
-
l("span", {
|
|
70
|
-
class: "form-check-label",
|
|
71
|
-
innerHTML: u(c)(t.label || "")
|
|
72
|
-
}, null, 8, V)
|
|
73
|
-
])
|
|
74
|
-
], 8, L)
|
|
75
|
-
])
|
|
76
|
-
])
|
|
77
|
-
], 2))), 128))
|
|
78
|
-
])
|
|
79
|
-
]));
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
export {
|
|
83
|
-
B as default
|
|
84
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, ref as f, computed as m, watch as g, onMounted as y, openBlock as a, createElementBlock as i } from "vue";
|
|
2
|
-
import l from "qr-code-styling";
|
|
3
|
-
const w = { class: "qr-code" }, h = ["innerHTML"], C = /* @__PURE__ */ p({
|
|
4
|
-
__name: "qr-code",
|
|
5
|
-
props: {
|
|
6
|
-
data: null,
|
|
7
|
-
image: null,
|
|
8
|
-
download: {
|
|
9
|
-
type: Boolean,
|
|
10
|
-
default: !1
|
|
11
|
-
},
|
|
12
|
-
filename: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "qr-code"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
emits: ["update:dataUrl"],
|
|
18
|
-
setup(s, { expose: c, emit: v }) {
|
|
19
|
-
const e = s, o = f(), t = m(() => ({
|
|
20
|
-
width: 300,
|
|
21
|
-
height: 300,
|
|
22
|
-
type: "canvas",
|
|
23
|
-
data: e.data,
|
|
24
|
-
...e.image ? { image: e.image } : {},
|
|
25
|
-
margin: 10,
|
|
26
|
-
qrOptions: {
|
|
27
|
-
typeNumber: 0,
|
|
28
|
-
mode: "Byte",
|
|
29
|
-
errorCorrectionLevel: "Q"
|
|
30
|
-
},
|
|
31
|
-
imageOptions: {
|
|
32
|
-
hideBackgroundDots: !0,
|
|
33
|
-
imageSize: 0.4,
|
|
34
|
-
margin: 20,
|
|
35
|
-
crossOrigin: "anonymous"
|
|
36
|
-
},
|
|
37
|
-
dotsOptions: {
|
|
38
|
-
// color: '#21C8C8',
|
|
39
|
-
// gradient: {
|
|
40
|
-
// type: 'linear', // 'radial'
|
|
41
|
-
// rotation: 0,
|
|
42
|
-
// colorStops: [{ offset: 0, color: '#8688B2' }, { offset: 1, color: '#77779C' }]
|
|
43
|
-
// },
|
|
44
|
-
type: "rounded"
|
|
45
|
-
},
|
|
46
|
-
backgroundOptions: {
|
|
47
|
-
color: "#ffffff"
|
|
48
|
-
// gradient: {
|
|
49
|
-
// type: 'linear', // 'radial'
|
|
50
|
-
// rotation: 0,
|
|
51
|
-
// colorStops: [{ offset: 0, color: '#ededff' }, { offset: 1, color: '#e6e7ff' }]
|
|
52
|
-
// },
|
|
53
|
-
},
|
|
54
|
-
cornersSquareOptions: {
|
|
55
|
-
color: "#333333",
|
|
56
|
-
type: "extra-rounded"
|
|
57
|
-
// gradient: {
|
|
58
|
-
// type: 'linear', // 'radial'
|
|
59
|
-
// rotation: 180,
|
|
60
|
-
// colorStops: [{ offset: 0, color: '#25456e' }, { offset: 1, color: '#4267b2' }]
|
|
61
|
-
// },
|
|
62
|
-
},
|
|
63
|
-
cornersDotOptions: {
|
|
64
|
-
color: "#333333",
|
|
65
|
-
type: "dot"
|
|
66
|
-
// gradient: {
|
|
67
|
-
// type: 'linear', // 'radial'
|
|
68
|
-
// rotation: 180,
|
|
69
|
-
// colorStops: [{ offset: 0, color: '#00266e' }, { offset: 1, color: '#4060b3' }]
|
|
70
|
-
// },
|
|
71
|
-
}
|
|
72
|
-
}));
|
|
73
|
-
function r(n = null, u = null) {
|
|
74
|
-
typeof window < "u" && (o.value && (o.value.innerHTML = ""), new l(n || t.value).append(o.value));
|
|
75
|
-
}
|
|
76
|
-
function d() {
|
|
77
|
-
new l({
|
|
78
|
-
...t.value,
|
|
79
|
-
width: 1200,
|
|
80
|
-
height: 1200
|
|
81
|
-
}).download({ name: e.filename, extension: "png" });
|
|
82
|
-
}
|
|
83
|
-
return g(() => t.value, r, { deep: !0, immediate: !0 }), y(() => {
|
|
84
|
-
typeof window < "u" && r();
|
|
85
|
-
}), c({
|
|
86
|
-
download: d
|
|
87
|
-
}), (n, u) => (a(), i("div", w, [
|
|
88
|
-
e.download ? (a(), i("button", {
|
|
89
|
-
key: 0,
|
|
90
|
-
class: "btn btn-outline-contrast mb-3",
|
|
91
|
-
onClick: d,
|
|
92
|
-
innerHTML: n.$t("qrlink.download")
|
|
93
|
-
}, null, 8, h)) : (a(), i("div", {
|
|
94
|
-
key: 1,
|
|
95
|
-
ref_key: "canvas",
|
|
96
|
-
ref: o
|
|
97
|
-
}, null, 512))
|
|
98
|
-
]));
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
export {
|
|
102
|
-
C as default
|
|
103
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, computed as m, openBlock as s, createElementBlock as p, createVNode as f, withCtx as c, createElementVNode as b, toDisplayString as y } from "vue";
|
|
2
|
-
import { uniqueId as n } from "../../../utilities/helpers.js";
|
|
3
|
-
import V from "../../atoms/radio-group/radio-group.vue.js";
|
|
4
|
-
/* empty css */
|
|
5
|
-
const g = { class: "radio-buttons" }, x = ["for"], v = /* @__PURE__ */ r({
|
|
6
|
-
__name: "radio-buttons",
|
|
7
|
-
props: {
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: null,
|
|
10
|
-
default: ""
|
|
11
|
-
},
|
|
12
|
-
options: {
|
|
13
|
-
type: Array,
|
|
14
|
-
default: []
|
|
15
|
-
},
|
|
16
|
-
name: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: () => n()
|
|
19
|
-
},
|
|
20
|
-
id: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: () => n()
|
|
23
|
-
},
|
|
24
|
-
label: {
|
|
25
|
-
type: String
|
|
26
|
-
},
|
|
27
|
-
disabled: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: !1
|
|
30
|
-
},
|
|
31
|
-
required: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: !1
|
|
34
|
-
},
|
|
35
|
-
keyOption: {
|
|
36
|
-
// type: String as PropType<'any' | 'all'>,
|
|
37
|
-
type: null
|
|
38
|
-
},
|
|
39
|
-
itemClass: {
|
|
40
|
-
type: String,
|
|
41
|
-
default: ""
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
emits: ["update:modelValue", "update:selection"],
|
|
45
|
-
setup(e, { emit: d }) {
|
|
46
|
-
const i = e, u = d, l = m({
|
|
47
|
-
get() {
|
|
48
|
-
return i.modelValue;
|
|
49
|
-
},
|
|
50
|
-
set(o) {
|
|
51
|
-
u("update:modelValue", o);
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
return (o, a) => (s(), p("div", g, [
|
|
55
|
-
f(V, {
|
|
56
|
-
modelValue: l.value,
|
|
57
|
-
"onUpdate:modelValue": a[0] || (a[0] = (t) => l.value = t),
|
|
58
|
-
options: e.options,
|
|
59
|
-
name: e.name,
|
|
60
|
-
id: e.id,
|
|
61
|
-
disabled: e.disabled,
|
|
62
|
-
required: e.required,
|
|
63
|
-
class: "d-flex flex-column gap-3 justify-content-center"
|
|
64
|
-
}, {
|
|
65
|
-
"option-label": c((t) => [
|
|
66
|
-
b("label", {
|
|
67
|
-
for: `${e.id}-${t.index}`,
|
|
68
|
-
class: "d-block btn btn-outline-primary p-3 fw-bold",
|
|
69
|
-
role: "button"
|
|
70
|
-
}, y(t.option.text), 9, x)
|
|
71
|
-
]),
|
|
72
|
-
_: 1
|
|
73
|
-
}, 8, ["modelValue", "options", "name", "id", "disabled", "required"])
|
|
74
|
-
]));
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
export {
|
|
78
|
-
v as default
|
|
79
|
-
};
|