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
package/dist/components/molecules/link-sharing/link-sharing.vue_vue_type_script_setup_true_lang.js
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import e from "../../atoms/svg-icon/svg-icon.js";
|
|
2
|
+
import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, openBlock as c, ref as l, toDisplayString as u, withModifiers as d } from "vue";
|
|
3
|
+
//#region src/components/molecules/link-sharing/link-sharing.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var f = { class: "link-sharing" }, p = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "link-sharing__links container"
|
|
7
|
+
}, m = { class: "row" }, h = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "col-12 col-md-6"
|
|
10
|
+
}, g = ["href"], _ = { class: "caption" }, v = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "col-12 col-md-6"
|
|
13
|
+
}, y = ["href"], b = { class: "caption" }, x = {
|
|
14
|
+
key: 2,
|
|
15
|
+
class: "col-12 col-md-6"
|
|
16
|
+
}, S = { class: "caption" }, C = {
|
|
17
|
+
key: 3,
|
|
18
|
+
class: "col-12 col-md-6"
|
|
19
|
+
}, w = ["href"], T = { class: "caption" }, E = {
|
|
20
|
+
key: 4,
|
|
21
|
+
class: "col-12 col-md-6"
|
|
22
|
+
}, D = ["href"], O = { class: "caption" }, k = {
|
|
23
|
+
key: 5,
|
|
24
|
+
class: "col-12 col-md-6"
|
|
25
|
+
}, A = { class: "caption" }, j = {
|
|
26
|
+
key: 6,
|
|
27
|
+
class: "col-12 col-md-6"
|
|
28
|
+
}, M = ["href"], N = { class: "caption" }, P = {
|
|
29
|
+
key: 1,
|
|
30
|
+
class: "link-sharing__instructions pt-5"
|
|
31
|
+
}, F = { class: "row" }, I = { class: "col-12 text-center py-0" }, L = { class: "mb-5" }, R = (e) => e.replace(/<(?:.|\n)*?>/gm, ""), z = /*@__PURE__*/ s({
|
|
32
|
+
__name: "link-sharing",
|
|
33
|
+
props: {
|
|
34
|
+
url: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: ""
|
|
37
|
+
},
|
|
38
|
+
subject: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: ""
|
|
41
|
+
},
|
|
42
|
+
hashtags: Array,
|
|
43
|
+
text: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: ""
|
|
46
|
+
},
|
|
47
|
+
media: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: ""
|
|
50
|
+
},
|
|
51
|
+
services: {
|
|
52
|
+
type: Object,
|
|
53
|
+
default: {
|
|
54
|
+
facebook: !0,
|
|
55
|
+
instagram: !0,
|
|
56
|
+
linkedin: !0,
|
|
57
|
+
whatsapp: !0,
|
|
58
|
+
mailto: !0,
|
|
59
|
+
clipboard: !0,
|
|
60
|
+
bluesky: !0
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
setup(s) {
|
|
65
|
+
let z = s, B = l(!1), V = t(() => encodeURIComponent(z.url));
|
|
66
|
+
t(() => encodeURIComponent(z.media));
|
|
67
|
+
let H = t(() => R(z.text)), U = t(() => !!(navigator && navigator.userAgent && /Mobi|Android/i.test(navigator.userAgent)));
|
|
68
|
+
async function W() {
|
|
69
|
+
let e = document.createElement("textarea");
|
|
70
|
+
document.body.appendChild(e), e.value = z.url, e.select(), e.setSelectionRange(0, 99999), navigator.clipboard.writeText(e.value), document.body.removeChild(e);
|
|
71
|
+
}
|
|
72
|
+
return (t, l) => (c(), r("div", f, [B.value ? (c(), r("div", P, [i("div", F, [i("div", I, [i("div", L, [
|
|
73
|
+
i("p", null, u(t.$t("sharing.instructions", { service: "Instagram" })), 1),
|
|
74
|
+
i("p", null, [i("strong", null, u(Array.isArray(s.hashtags) ? s.hashtags.join(", ") : s.hashtags), 1)]),
|
|
75
|
+
i("button", {
|
|
76
|
+
type: "button",
|
|
77
|
+
class: "btn btn-text",
|
|
78
|
+
onClick: l[1] ||= d((e) => B.value = !B.value, ["prevent"])
|
|
79
|
+
}, [o(e, { symbol: "arrow-left" }), a(" " + u(t.$t("common.back")), 1)])
|
|
80
|
+
])])])])) : (c(), r("div", p, [i("div", m, [
|
|
81
|
+
s.services.facebook ? (c(), r("div", h, [i("a", {
|
|
82
|
+
class: "link-sharing__link btn btn-primary",
|
|
83
|
+
href: `https://www.facebook.com/sharer.php?u=${V.value}`,
|
|
84
|
+
target: "_blank",
|
|
85
|
+
rel: "noopener"
|
|
86
|
+
}, [o(e, { symbol: "facebook" }), i("span", _, u(t.$t("sharing.facebook")), 1)], 8, g)])) : n("", !0),
|
|
87
|
+
s.services.bluesky ? (c(), r("div", v, [i("a", {
|
|
88
|
+
class: "link-sharing__link btn btn-primary",
|
|
89
|
+
href: `https://bsky.app/intent/compose?text=${H.value}${H.value ? "%20" : ""}${s.url}`,
|
|
90
|
+
target: "_blank",
|
|
91
|
+
rel: "noopener"
|
|
92
|
+
}, [o(e, { symbol: "bluesky-logo" }), i("span", b, u(t.$t("sharing.bluesky")), 1)], 8, y)])) : n("", !0),
|
|
93
|
+
s.services.instagram ? (c(), r("div", x, [i("button", {
|
|
94
|
+
type: "button",
|
|
95
|
+
class: "link-sharing__link btn btn-primary",
|
|
96
|
+
onClick: l[0] ||= d((e) => B.value = !B.value, ["prevent"])
|
|
97
|
+
}, [o(e, { symbol: "instagram" }), i("span", S, u(t.$t("sharing.instagram")), 1)])])) : n("", !0),
|
|
98
|
+
s.services.linkedin ? (c(), r("div", C, [i("a", {
|
|
99
|
+
class: "link-sharing__link btn btn-primary",
|
|
100
|
+
href: `https://www.linkedin.com/shareArticle?mini=true&url=${V.value}&title=${s.subject}`,
|
|
101
|
+
target: "_blank",
|
|
102
|
+
rel: "noopener"
|
|
103
|
+
}, [o(e, { symbol: "linkedin" }), i("span", T, u(t.$t("sharing.linkedin")), 1)], 8, w)])) : n("", !0),
|
|
104
|
+
s.services.whatsapp && U.value ? (c(), r("div", E, [i("a", {
|
|
105
|
+
class: "link-sharing__link btn btn-primary",
|
|
106
|
+
href: `whatsapp://send?text=${V.value}`,
|
|
107
|
+
target: "_blank",
|
|
108
|
+
rel: "noopener"
|
|
109
|
+
}, [o(e, { symbol: "whatsapp" }), i("span", O, u(t.$t("sharing.whatsapp")), 1)], 8, D)])) : n("", !0),
|
|
110
|
+
s.services.clipboard ? (c(), r("div", k, [i("button", {
|
|
111
|
+
type: "button",
|
|
112
|
+
class: "link-sharing__link btn btn-primary",
|
|
113
|
+
onClick: d(W, ["prevent", "stop"])
|
|
114
|
+
}, [o(e, { symbol: "copy" }), i("span", A, u(t.$t("sharing.clipboard")), 1)])])) : n("", !0),
|
|
115
|
+
s.services.mailto ? (c(), r("div", j, [i("a", {
|
|
116
|
+
class: "link-sharing__link btn btn-primary",
|
|
117
|
+
href: `mailto:?subject=${s.subject}&body=${H.value}%0D%0A${s.url}`,
|
|
118
|
+
target: "_blank",
|
|
119
|
+
rel: "noopener"
|
|
120
|
+
}, [o(e, { symbol: "mail" }), i("span", N, u(t.$t("sharing.mailto")), 1)], 8, M)])) : n("", !0)
|
|
121
|
+
])]))]));
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
//#endregion
|
|
125
|
+
export { z as default, R as stripHtml };
|
package/dist/components/molecules/location-list/location-list.vue_vue_type_script_setup_true_lang.js
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Fragment as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, renderList as s, toDisplayString as c } from "vue";
|
|
2
|
+
//#region src/components/molecules/location-list/location-list.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var l = {
|
|
4
|
+
class: "location-list",
|
|
5
|
+
"data-testid": "location-list"
|
|
6
|
+
}, u = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "location-list__label"
|
|
9
|
+
}, d = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "location-list__items"
|
|
12
|
+
}, f = ["data-testid", "onClick"], p = { class: "location-list__title" }, m = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "location-list__description"
|
|
15
|
+
}, h = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "location-list__distance"
|
|
18
|
+
}, g = {
|
|
19
|
+
key: 2,
|
|
20
|
+
class: "location-list__empty"
|
|
21
|
+
}, _ = /*@__PURE__*/ i({
|
|
22
|
+
__name: "location-list",
|
|
23
|
+
props: {
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: null,
|
|
26
|
+
default: null
|
|
27
|
+
},
|
|
28
|
+
locations: {
|
|
29
|
+
type: Array,
|
|
30
|
+
default: () => []
|
|
31
|
+
},
|
|
32
|
+
label: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: ""
|
|
35
|
+
},
|
|
36
|
+
titleKey: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "title"
|
|
39
|
+
},
|
|
40
|
+
descriptionKey: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: "address"
|
|
43
|
+
},
|
|
44
|
+
emptyText: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: "No locations found."
|
|
47
|
+
},
|
|
48
|
+
showDistance: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: !0
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
emits: ["update:modelValue", "select"],
|
|
54
|
+
setup(i, { emit: _ }) {
|
|
55
|
+
let v = i, y = _;
|
|
56
|
+
function b(e) {
|
|
57
|
+
return e?.[v.titleKey] || e?.label || e?.name || "Location";
|
|
58
|
+
}
|
|
59
|
+
function x(e) {
|
|
60
|
+
return e?.[v.descriptionKey] || e?.description || e?.subtitle || "";
|
|
61
|
+
}
|
|
62
|
+
function S(e, t = 0) {
|
|
63
|
+
return e ? typeof e == "object" ? e.id ?? e.value ?? b(e) ?? t : e : t;
|
|
64
|
+
}
|
|
65
|
+
function C(e, t = 0) {
|
|
66
|
+
return `${S(e, t)}`.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");
|
|
67
|
+
}
|
|
68
|
+
function w(e, t = 0) {
|
|
69
|
+
return S(v.modelValue) === S(e, t);
|
|
70
|
+
}
|
|
71
|
+
function T(e) {
|
|
72
|
+
return Number.isFinite(e) ? e >= 1e3 ? `${(e / 1e3).toFixed(1)} km` : `${Math.round(e)} m` : "—";
|
|
73
|
+
}
|
|
74
|
+
function E(e) {
|
|
75
|
+
y("update:modelValue", e), y("select", e);
|
|
76
|
+
}
|
|
77
|
+
return (_, v) => (o(), n("div", l, [i.label ? (o(), n("p", u, c(i.label), 1)) : t("", !0), i.locations.length ? (o(), n("div", d, [(o(!0), n(e, null, s(i.locations, (e, s) => (o(), n("button", {
|
|
78
|
+
key: S(e, s),
|
|
79
|
+
type: "button",
|
|
80
|
+
class: a(["location-list__item", { "location-list__item--active": w(e, s) }]),
|
|
81
|
+
"data-testid": `location-option-${C(e, s)}`,
|
|
82
|
+
onClick: (t) => E(e)
|
|
83
|
+
}, [
|
|
84
|
+
r("strong", p, c(b(e)), 1),
|
|
85
|
+
x(e) ? (o(), n("small", m, c(x(e)), 1)) : t("", !0),
|
|
86
|
+
i.showDistance && e?.distance !== void 0 && e?.distance !== null ? (o(), n("small", h, c(T(Number(e.distance))) + " away ", 1)) : t("", !0)
|
|
87
|
+
], 10, f))), 128))])) : (o(), n("p", g, c(i.emptyText), 1))]));
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
//#endregion
|
|
91
|
+
export { _ as default };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import e from "../../atoms/base-image/base-image.js";
|
|
2
|
+
import t from "../../templates/base-carousel/base-carousel.js";
|
|
3
|
+
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, withCtx as m } from "vue";
|
|
4
|
+
//#region src/components/molecules/media-thumbnails/media-thumbnails.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var h = { class: "media-thumbnails" }, g = ["onClick", "title"], _ = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "img-container"
|
|
8
|
+
}, v = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "media-thumbnails__count-badge"
|
|
11
|
+
}, y = {
|
|
12
|
+
key: 2,
|
|
13
|
+
class: "img-container"
|
|
14
|
+
}, b = /*@__PURE__*/ c({
|
|
15
|
+
__name: "media-thumbnails",
|
|
16
|
+
props: {
|
|
17
|
+
modelValue: { default: null },
|
|
18
|
+
config: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: null
|
|
21
|
+
},
|
|
22
|
+
messages: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: {}
|
|
25
|
+
},
|
|
26
|
+
assets: {
|
|
27
|
+
type: Array,
|
|
28
|
+
default: []
|
|
29
|
+
},
|
|
30
|
+
stacked: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
},
|
|
34
|
+
showCount: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: !1
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
emits: ["update:modelValue", "select"],
|
|
40
|
+
setup(c, { emit: b }) {
|
|
41
|
+
let x = b, S = d(-1);
|
|
42
|
+
function C(e) {
|
|
43
|
+
S.value = e, x("update:modelValue", e), x("select", e);
|
|
44
|
+
}
|
|
45
|
+
return (d, b) => (u(), a("div", h, [s(t, { items: c.assets }, {
|
|
46
|
+
"carousel-item": m((t) => [o("button", {
|
|
47
|
+
type: "button",
|
|
48
|
+
class: l(["carousel__item media-thumbnails__thumbnail", t.index === c.modelValue || t.index === S.value ? "is-active" : ""]),
|
|
49
|
+
onClick: (e) => C(t.index),
|
|
50
|
+
title: `${d.$t("thumbnails.thumbnail")} ${t.index + 1}`
|
|
51
|
+
}, [t.item.type === "preset" && t.item.thumbnail ? (u(), a("div", _, [s(e, {
|
|
52
|
+
src: t.item.thumbnail,
|
|
53
|
+
class: "img-fluid"
|
|
54
|
+
}, null, 8, ["src"])])) : t.item.type === "preset" ? (u(), a("div", {
|
|
55
|
+
key: 1,
|
|
56
|
+
class: l(["img-container img-container--multi", { "img-container--stacked": c.stacked }])
|
|
57
|
+
}, [(u(!0), a(n, null, f(t.item.items, (t, n) => (u(), r(e, {
|
|
58
|
+
key: n,
|
|
59
|
+
src: t.thumbnail || t.src,
|
|
60
|
+
class: "img-fluid"
|
|
61
|
+
}, null, 8, ["src"]))), 128)), c.showCount && Object.keys(t.item.items || {}).length ? (u(), a("span", v, p(Object.keys(t.item.items || {}).length), 1)) : i("", !0)], 2)) : (u(), a("div", y, [s(e, {
|
|
62
|
+
src: t.item.thumbnail || t.item.src,
|
|
63
|
+
class: "img-fluid"
|
|
64
|
+
}, null, 8, ["src"])]))], 10, g)]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 8, ["items"])]));
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
//#endregion
|
|
70
|
+
export { b as default };
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { sanitizeHtml as e } from "../../../composables/useSanitize.js";
|
|
2
|
+
import t from "../../templates/popover-dialog/popover-dialog.js";
|
|
3
|
+
import { Fragment as n, computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, renderList as m, renderSlot as h, toDisplayString as g, watch as _, withCtx as v, withModifiers as y } from "vue";
|
|
4
|
+
//#region src/components/molecules/popover-notifications/popover-notifications.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var b = { class: "popover-notification__header d-flex justify-content-between mb-2" }, x = { class: "popover-notification__title" }, S = ["onClick"], C = ["innerHTML"], w = 240, T = /*@__PURE__*/ s({
|
|
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(s, { expose: T }) {
|
|
38
|
+
let E = s, D = p([]), O = p([]), k = p(null), A = /* @__PURE__ */ new Map(), j = r(() => D.value.map((t) => ({
|
|
39
|
+
...t,
|
|
40
|
+
content: e(t.content || "")
|
|
41
|
+
}))), M = p(!1), N = r(() => M.value ? [...j.value].reverse() : j.value);
|
|
42
|
+
function P(e, t) {
|
|
43
|
+
t === !1 && L(e);
|
|
44
|
+
}
|
|
45
|
+
function F(e) {
|
|
46
|
+
let t = A.get(e);
|
|
47
|
+
t && (clearTimeout(t), A.delete(e));
|
|
48
|
+
}
|
|
49
|
+
function I(e) {
|
|
50
|
+
let t = e.closeTimeout ?? E.closeTimeout;
|
|
51
|
+
F(e.id), t && A.set(e.id, window.setTimeout(() => {
|
|
52
|
+
F(e.id), L(e);
|
|
53
|
+
}, t));
|
|
54
|
+
}
|
|
55
|
+
function L(e) {
|
|
56
|
+
e.visible === !1 && A.has(e.id) || (F(e.id), e.visible = !1, A.set(e.id, window.setTimeout(() => {
|
|
57
|
+
D.value = D.value.filter((t) => t.id !== e.id), A.delete(e.id), D.value.length === 0 && (M.value = !1);
|
|
58
|
+
}, w)));
|
|
59
|
+
}
|
|
60
|
+
function R(e) {
|
|
61
|
+
if (E.collapsible && D.value.length >= E.collapseItems) {
|
|
62
|
+
let e = D.value.shift();
|
|
63
|
+
e && F(e.id);
|
|
64
|
+
}
|
|
65
|
+
E.collapsible && D.value.length + 1 >= E.collapseItems && (M.value = !0), D.value.forEach((e) => {
|
|
66
|
+
e.stackIndex = (e.stackIndex ?? 0) + 1;
|
|
67
|
+
});
|
|
68
|
+
let t = {
|
|
69
|
+
...e,
|
|
70
|
+
closeTimeout: e.closeTimeout ?? E.closeTimeout,
|
|
71
|
+
visible: !0,
|
|
72
|
+
stackIndex: 0
|
|
73
|
+
};
|
|
74
|
+
D.value.push(t), I(t);
|
|
75
|
+
}
|
|
76
|
+
_(() => E.items, (e, t) => {
|
|
77
|
+
let n = e.filter((e) => !t.some((t) => t.id === e.id));
|
|
78
|
+
n.length && (O.value = [...O.value, ...n], z());
|
|
79
|
+
});
|
|
80
|
+
function z() {
|
|
81
|
+
k.value !== null || !O.value.length || (k.value = window.setTimeout(() => {
|
|
82
|
+
k.value = null;
|
|
83
|
+
let e = O.value.shift();
|
|
84
|
+
e && R(e), O.value.length > 0 && z();
|
|
85
|
+
}, D.value.length ? E.debounceItem : 0));
|
|
86
|
+
}
|
|
87
|
+
function B(e) {
|
|
88
|
+
O.value.push(e), z();
|
|
89
|
+
}
|
|
90
|
+
return d(() => {
|
|
91
|
+
O.value = [...E.items], E.collapsible && O.value.length >= E.collapseItems && (M.value = !0), z();
|
|
92
|
+
}), u(() => {
|
|
93
|
+
k.value !== null && clearTimeout(k.value);
|
|
94
|
+
for (let e of A.values()) clearTimeout(e);
|
|
95
|
+
A.clear();
|
|
96
|
+
}), T({ addItem: B }), (e, r) => (f(), a("div", { class: c(["popover-notifications", { "popover-notifications--stacked": M.value }]) }, [(f(!0), a(n, null, m(N.value, (n, r) => (f(), i(t, {
|
|
97
|
+
key: n.id,
|
|
98
|
+
id: n.id,
|
|
99
|
+
"close-timeout": 0,
|
|
100
|
+
type: "manual",
|
|
101
|
+
class: "popover-notification",
|
|
102
|
+
modelValue: n.visible,
|
|
103
|
+
"onUpdate:modelValue": [(e) => n.visible = e, (e) => P(n, e)],
|
|
104
|
+
style: l({ "--stack-index": n.stackIndex ?? r })
|
|
105
|
+
}, {
|
|
106
|
+
default: v(() => [h(e.$slots, "item", {
|
|
107
|
+
item: n,
|
|
108
|
+
removeItem: P
|
|
109
|
+
}, () => [o("div", b, [o("span", x, g(n.title), 1), o("button", {
|
|
110
|
+
type: "button",
|
|
111
|
+
class: "btn btn-close p-0",
|
|
112
|
+
onClick: y((e) => P(n, !1), ["stop"]),
|
|
113
|
+
"aria-label": "Close notification"
|
|
114
|
+
}, null, 8, S)]), o("span", { innerHTML: n.content }, null, 8, C)])]),
|
|
115
|
+
_: 2
|
|
116
|
+
}, 1032, [
|
|
117
|
+
"id",
|
|
118
|
+
"modelValue",
|
|
119
|
+
"onUpdate:modelValue",
|
|
120
|
+
"style"
|
|
121
|
+
]))), 128))], 2));
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
//#endregion
|
|
125
|
+
export { T as default };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { useSanitize as e } from "../../../composables/useSanitize.js";
|
|
2
|
+
import t from "../../templates/popover-dialog/popover-dialog.js";
|
|
3
|
+
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, ref as u, renderSlot as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
|
|
4
|
+
//#region src/components/molecules/popover-tooltip/popover-tooltip.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var h = { class: "popover-tooltip" }, g = [
|
|
6
|
+
"popovertarget",
|
|
7
|
+
"disabled",
|
|
8
|
+
"aria-describedby",
|
|
9
|
+
"aria-label"
|
|
10
|
+
], _ = { class: "popover-tooltip__content d-flex flex-column" }, v = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "popover-tooltip__header d-flex p-3 border-bottom"
|
|
13
|
+
}, y = ["innerHTML"], b = { class: "popover-tooltip__body" }, x = ["innerHTML"], S = {
|
|
14
|
+
key: 1,
|
|
15
|
+
class: "popover-tooltip__footer d-flex p-3 border-top"
|
|
16
|
+
}, C = /*@__PURE__*/ s({
|
|
17
|
+
__name: "popover-tooltip",
|
|
18
|
+
props: {
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: !1
|
|
22
|
+
},
|
|
23
|
+
id: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: () => `popover-tooltip-${Math.random().toString(36).substr(2, 9)}`
|
|
26
|
+
},
|
|
27
|
+
size: { type: String },
|
|
28
|
+
exclusive: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
},
|
|
32
|
+
header: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !1
|
|
35
|
+
},
|
|
36
|
+
footer: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !1
|
|
39
|
+
},
|
|
40
|
+
title: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: ""
|
|
43
|
+
},
|
|
44
|
+
content: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: ""
|
|
47
|
+
},
|
|
48
|
+
hover: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: !0
|
|
51
|
+
},
|
|
52
|
+
hoverDelay: {
|
|
53
|
+
type: Number,
|
|
54
|
+
default: 400
|
|
55
|
+
},
|
|
56
|
+
disabled: {
|
|
57
|
+
type: Boolean,
|
|
58
|
+
default: !1
|
|
59
|
+
},
|
|
60
|
+
ariaLabel: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: ""
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
emits: [
|
|
66
|
+
"update:modelValue",
|
|
67
|
+
"confirm",
|
|
68
|
+
"cancel"
|
|
69
|
+
],
|
|
70
|
+
setup(s, { emit: C }) {
|
|
71
|
+
let w = s, T = C, E = e(() => w.title), D = e(() => w.content), O = n({
|
|
72
|
+
get() {
|
|
73
|
+
return w.modelValue;
|
|
74
|
+
},
|
|
75
|
+
set(e) {
|
|
76
|
+
T("update:modelValue", e);
|
|
77
|
+
}
|
|
78
|
+
}), k = u(), A = u();
|
|
79
|
+
return (e, n) => (l(), i("span", h, [a("button", {
|
|
80
|
+
type: "button",
|
|
81
|
+
popovertarget: s.id,
|
|
82
|
+
disabled: s.disabled,
|
|
83
|
+
"aria-describedby": s.id,
|
|
84
|
+
"aria-label": s.ariaLabel || e.$te("common.moreInfo") ? e.$t("common.moreInfo") : void 0,
|
|
85
|
+
ref_key: "trigger",
|
|
86
|
+
ref: k
|
|
87
|
+
}, [d(e.$slots, "button", {}, () => [n[3] ||= a("span", { class: "popover-tooltip__trigger" }, " i ", -1)])], 8, g), o(t, {
|
|
88
|
+
id: s.id,
|
|
89
|
+
modelValue: O.value,
|
|
90
|
+
"onUpdate:modelValue": n[2] ||= (e) => O.value = e,
|
|
91
|
+
hover: s.hover,
|
|
92
|
+
"hover-delay": s.hoverDelay,
|
|
93
|
+
ref_key: "dialog",
|
|
94
|
+
ref: A,
|
|
95
|
+
role: "tooltip",
|
|
96
|
+
class: c(s.size ? `popover-tooltip--${s.size}` : "")
|
|
97
|
+
}, {
|
|
98
|
+
default: m(() => [a("div", _, [
|
|
99
|
+
s.header ? (l(), i("div", v, [s.title ? (l(), i("h5", {
|
|
100
|
+
key: 0,
|
|
101
|
+
class: "popover-tooltip__title",
|
|
102
|
+
innerHTML: p(E)
|
|
103
|
+
}, null, 8, y)) : r("", !0), a("button", {
|
|
104
|
+
type: "button",
|
|
105
|
+
class: "btn-close ms-auto border-radius-none",
|
|
106
|
+
"aria-label": "Close",
|
|
107
|
+
onClick: n[0] ||= (e) => O.value = !1
|
|
108
|
+
})])) : r("", !0),
|
|
109
|
+
a("div", b, [d(e.$slots, "default", {}, () => [a("span", { innerHTML: p(D) }, null, 8, x)])]),
|
|
110
|
+
s.footer ? (l(), i("div", S, [d(e.$slots, "footer"), a("button", {
|
|
111
|
+
type: "button",
|
|
112
|
+
class: "btn ms-auto",
|
|
113
|
+
onClick: n[1] ||= (e) => O.value = !1
|
|
114
|
+
}, f(e.$t("common.close")), 1)])) : r("", !0)
|
|
115
|
+
])]),
|
|
116
|
+
_: 3
|
|
117
|
+
}, 8, [
|
|
118
|
+
"id",
|
|
119
|
+
"modelValue",
|
|
120
|
+
"hover",
|
|
121
|
+
"hover-delay",
|
|
122
|
+
"class"
|
|
123
|
+
])]));
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
//#endregion
|
|
127
|
+
export { C as default };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { sanitizeHtml as e } from "../../../composables/useSanitize.js";
|
|
2
|
+
import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, renderList as s, renderSlot as c, unref as l } from "vue";
|
|
3
|
+
//#region src/components/molecules/progress-steps/progress-steps.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var u = { class: "progress-steps" }, d = { class: "progress-steps__list" }, f = { class: "progress-step" }, p = [
|
|
5
|
+
"checked",
|
|
6
|
+
"id",
|
|
7
|
+
"value",
|
|
8
|
+
"disabled",
|
|
9
|
+
"read-only",
|
|
10
|
+
"required",
|
|
11
|
+
"onChange"
|
|
12
|
+
], m = ["for"], h = ["innerHTML"], g = ["for"], _ = ["innerHTML"], v = /*@__PURE__*/ i({
|
|
13
|
+
__name: "progress-steps",
|
|
14
|
+
props: {
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: 0
|
|
18
|
+
},
|
|
19
|
+
progress: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 0
|
|
22
|
+
},
|
|
23
|
+
steps: { type: Array },
|
|
24
|
+
label: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: ""
|
|
27
|
+
},
|
|
28
|
+
reveal: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !1
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
emits: ["update:modelValue", "update:progress"],
|
|
34
|
+
setup(i, { emit: v }) {
|
|
35
|
+
let y = i, b = v;
|
|
36
|
+
function x(e) {
|
|
37
|
+
b("update:modelValue", e), e >= y.progress && b("update:progress", e);
|
|
38
|
+
}
|
|
39
|
+
return (v, y) => (o(), n("div", u, [r("ul", d, [(o(!0), n(t, null, s(i.steps, (t, s) => (o(), n("li", {
|
|
40
|
+
key: s,
|
|
41
|
+
class: a(["progress-steps__step", {
|
|
42
|
+
"progress-steps__step--disabled": s > i.progress + +!!i.reveal,
|
|
43
|
+
"progress-steps__step--active": s === (i.modelValue || 0)
|
|
44
|
+
}])
|
|
45
|
+
}, [c(v.$slots, "step", {}, () => [r("div", f, [
|
|
46
|
+
r("input", {
|
|
47
|
+
type: "radio",
|
|
48
|
+
checked: s <= (i.progress || 0),
|
|
49
|
+
id: `step-${s}`,
|
|
50
|
+
name: "step",
|
|
51
|
+
class: "form-check-input",
|
|
52
|
+
value: t.value,
|
|
53
|
+
disabled: t.disabled || s > i.progress + +!!i.reveal,
|
|
54
|
+
"read-only": t.readOnly,
|
|
55
|
+
required: t.required,
|
|
56
|
+
onChange: (e) => x(s)
|
|
57
|
+
}, null, 40, p),
|
|
58
|
+
r("label", { for: `step-${s}` }, [c(v.$slots, "button", { step: t }, () => [r("span", {
|
|
59
|
+
class: "btn rounded-circle",
|
|
60
|
+
innerHTML: l(e)(t.text || "")
|
|
61
|
+
}, null, 8, h)])], 8, m),
|
|
62
|
+
r("label", { for: `step-${s}` }, [c(v.$slots, "label", { step: t }, () => [r("span", {
|
|
63
|
+
class: "form-check-label",
|
|
64
|
+
innerHTML: l(e)(t.label || "")
|
|
65
|
+
}, null, 8, _)])], 8, g)
|
|
66
|
+
])])], 2))), 128))])]));
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
//#endregion
|
|
70
|
+
export { v as default };
|