@ozdao/prometheus-framework 0.2.111 → 0.2.113
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common.schema-BFhpUXUt.js +12 -0
- package/dist/common.schema-ChBVARrs.mjs +13 -0
- package/dist/community.server.js +6 -4
- package/dist/community.server.mjs +4 -2
- package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
- package/dist/engagement.schema-fdLNO2_6.js +27 -0
- package/dist/events.server.js +6 -4
- package/dist/events.server.mjs +4 -2
- package/dist/files.server.js +81 -29
- package/dist/files.server.mjs +81 -29
- package/dist/gallery.server.js +66 -39
- package/dist/gallery.server.mjs +66 -39
- package/dist/main-8APITHuW.mjs +14201 -0
- package/dist/main-8N2Jmsuk.js +2 -2
- package/dist/main-BJvlNekm.mjs +5 -5
- package/dist/main-BQisDfLk.js +2 -2
- package/dist/main-BV1Yv9Hy.js +2 -2
- package/dist/main-Bw0PvTs-.mjs +5 -5
- package/dist/main-ByCtZbHD.mjs +5 -5
- package/dist/main-CX2ISR43.mjs +5 -5
- package/dist/main-CXObXjv-.js +2 -2
- package/dist/main-CkeuHuCY.mjs +5 -5
- package/dist/main-CnfcBov2.mjs +5 -5
- package/dist/main-D50VqYhy.js +2 -2
- package/dist/main-D8gNZLSa.js +2 -2
- package/dist/main-DPsHxX0l.mjs +5 -5
- package/dist/main-DTlUA63C.mjs +5 -5
- package/dist/main-DfD5hLQo.mjs +5 -5
- package/dist/main-Dh6Zfei9.js +2 -2
- package/dist/main-DmNP-t33.mjs +5 -5
- package/dist/main-DwyUYWFX.js +2 -2
- package/dist/main-VcxO-jAt.js +92 -0
- package/dist/main-cffh4bbv.js +2 -2
- package/dist/main-pGo7JpSP.js +2 -2
- package/dist/main.css +1 -1
- package/dist/metadata.schema-6slGhpQS.js +40 -0
- package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
- package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/index.js +45 -42
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/version.js +1 -1
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/web3.js +40 -37
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
- package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
- package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +56 -59
- package/dist/organizations.server.mjs +56 -59
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +5 -5
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +121 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +35 -35
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +102 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/users.client.js +8 -6
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +14 -11
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/queryProcessor-BJoJAetd.mjs +162 -0
- package/dist/queryProcessor-DWf9tsis.js +161 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/web-TGdVOTnw.js +1 -0
- package/dist/web-_W9a_nWD.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +1 -1
- package/src/components/AskToLogin/AskToLogin.vue +1 -1
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Checkbox/Checkbox.vue +40 -43
- package/src/components/Chips/Chips.vue +2 -2
- package/src/components/DatePicker/Calendar.vue +29 -31
- package/src/components/Dropdown/Dropdown.vue +5 -11
- package/src/components/Feed/Feed.vue +98 -15
- package/src/components/FieldTags/BlockTags.vue +3 -3
- package/src/components/FieldTags/FieldTags.vue +1 -1
- package/src/components/FieldTags/vue-tags-input.scss +1 -1
- package/src/components/LocationMarker/LocationMarker.vue +1 -1
- package/src/components/LocationSelection/LocationSelection.vue +5 -30
- package/src/components/Map/LoaderGMaps.js +66 -0
- package/src/components/Map/Map.vue +2 -1
- package/src/components/Marquee/Marquee.vue +1 -1
- package/src/components/Radio/Radio.vue +36 -13
- package/src/configurator/components/pages/Styles.vue +1 -1
- package/src/modules/auth/components/layouts/Auth.vue +1 -1
- package/src/modules/auth/components/pages/EnterCode.vue +4 -4
- package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
- package/src/modules/auth/components/pages/Invite.vue +2 -2
- package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
- package/src/modules/auth/components/pages/SignIn.vue +4 -4
- package/src/modules/auth/components/pages/SignUp.vue +3 -3
- package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
- package/src/modules/backoffice/components/admin/Pages.vue +1 -1
- package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/Users.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/community/components/pages/BlogPost.vue +2 -2
- package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
- package/src/modules/community/components/sections/Comments.vue +2 -2
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +1 -1
- package/src/modules/constructor/components/elements/Video.vue +2 -2
- package/src/modules/events/components/blocks/CardEvent.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +32 -32
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Event.vue +3 -3
- package/src/modules/events/components/pages/Events.vue +4 -3
- package/src/modules/events/components/sections/Feed.vue +3 -3
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/files/controllers/files.controller.js +8 -6
- package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
- package/src/modules/files/routes/files.routes.js +11 -9
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
- package/src/modules/gallery/controllers/gallery.controller.js +57 -38
- package/src/modules/gallery/models/photo.model.js +20 -11
- package/src/modules/gallery/routes/gallery.routes.js +3 -3
- package/src/modules/gallery/store/gallery.js +3 -78
- package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
- package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
- package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
- package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
- package/src/modules/globals/components/layouts/Client.vue +273 -0
- package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
- package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
- package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
- package/src/modules/globals/models/common.schema.js +1 -1
- package/src/modules/globals/services/globals.store.js +11 -6
- package/src/modules/globals/store/globals.js +12 -10
- package/src/modules/icons/logos/Logotype.vue +23 -19
- package/src/modules/icons/navigation/IconCalendar.vue +18 -0
- package/src/modules/icons/navigation/IconFilter.vue +18 -0
- package/src/modules/icons/navigation/IconSearch.vue +1 -3
- package/src/modules/icons/navigation/IconSort.vue +21 -0
- package/src/modules/landing/components/pages/Home.vue +4 -4
- package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
- package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
- package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
- package/src/modules/landing/landing.client.js +2 -0
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/legal/components/pages/Legal.vue +2 -2
- package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
- package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
- package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
- package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
- package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
- package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
- package/src/modules/marketplace/components/sections/Filters.vue +63 -115
- package/src/modules/marketplace/store/marketplace.js +22 -167
- package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
- package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
- package/src/modules/orders/components/pages/Order.vue +8 -8
- package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
- package/src/modules/orders/components/pages/Orders.vue +3 -5
- package/src/modules/orders/components/partials/ShopCart.vue +5 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
- package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
- package/src/modules/orders/store/applications.js +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
- package/src/modules/organizations/components/pages/Department.vue +3 -3
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
- package/src/modules/organizations/components/pages/Members.vue +4 -4
- package/src/modules/organizations/components/pages/Organization.vue +3 -3
- package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
- package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
- package/src/modules/organizations/components/sections/Feed.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/components/sections/Publics.vue +1 -1
- package/src/modules/organizations/controllers/organizations.controller.js +103 -93
- package/src/modules/organizations/models/organization.model.js +10 -7
- package/src/modules/organizations/store/organizations.js +3 -34
- package/src/modules/products/components/blocks/CardPosition.vue +2 -2
- package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
- package/src/modules/products/components/pages/Categories.vue +1 -1
- package/src/modules/products/components/pages/EditLeftover.vue +1 -1
- package/src/modules/products/components/pages/Leftovers.vue +4 -4
- package/src/modules/products/components/pages/Product.vue +1 -5
- package/src/modules/products/components/pages/ProductEdit.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +2 -2
- package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
- package/src/modules/products/components/sections/MenuSection.vue +2 -2
- package/src/modules/products/components/sections/PopularProducts.vue +2 -2
- package/src/modules/products/components/sections/SectionProduct.vue +3 -3
- package/src/modules/products/products.client.js +0 -2
- package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
- package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +0 -2
- package/src/modules/spots/components/pages/Spot.vue +4 -4
- package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
- package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
- package/src/modules/spots/components/sections/Places.vue +1 -1
- package/src/modules/users/components/blocks/CardUser.vue +3 -3
- package/src/modules/users/components/pages/Profile.vue +5 -5
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileComments.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
- package/src/modules/users/components/sections/FeaturedUsers.vue +76 -14
- package/src/modules/users/users.client.js +5 -0
- package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
- package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
- package/src/styles/base/borders.scss +4 -0
- package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
- package/src/styles/config.scss +15 -9
- package/src/styles/layout.scss +37 -8
- package/src/styles/typography.scss +24 -24
- package/src/modules/products/components/sections/SortProducts.vue +0 -74
- /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -0,0 +1,165 @@
|
|
1
|
+
import { ref as C, computed as _, openBlock as v, createElementBlock as T, createElementVNode as u, createCommentVNode as $, toDisplayString as m, Fragment as w, renderList as y, normalizeClass as j } from "vue";
|
2
|
+
import "./Calendar.vue.js";
|
3
|
+
import H from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const N = { class: "calendar" }, z = {
|
5
|
+
key: 0,
|
6
|
+
class: "br-b br-solid br-grey gap-thin flex flex-nowrap pd-thin"
|
7
|
+
}, A = { class: "pd-thin flex flex-nowrap flex-v-center flex-justify-between" }, Z = { class: "calendar__body" }, q = { class: "calendar__week" }, G = { class: "gap-micro calendar__dates" }, J = ["onClick"], K = {
|
8
|
+
__name: "Calendar",
|
9
|
+
props: {
|
10
|
+
modelValue: [Date, Object],
|
11
|
+
allowRange: Boolean
|
12
|
+
},
|
13
|
+
emits: ["update:modelValue"],
|
14
|
+
setup(p, { emit: b }) {
|
15
|
+
const h = p, r = b, g = /* @__PURE__ */ new Date(), s = C(g), D = C(null), a = C(null), l = C(null), k = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], c = (e) => new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate())), M = _(() => {
|
16
|
+
const e = s.value.toLocaleString("default", { month: "long", timeZone: "UTC" }), t = s.value.getUTCFullYear();
|
17
|
+
return `${e} ${t}`;
|
18
|
+
}), Y = _(() => {
|
19
|
+
const e = [], t = new Date(Date.UTC(
|
20
|
+
s.value.getUTCFullYear(),
|
21
|
+
s.value.getUTCMonth(),
|
22
|
+
1
|
23
|
+
)), o = new Date(Date.UTC(
|
24
|
+
s.value.getUTCFullYear(),
|
25
|
+
s.value.getUTCMonth() + 1,
|
26
|
+
0
|
27
|
+
)), d = t.getUTCDay();
|
28
|
+
let n = new Date(t);
|
29
|
+
n.setUTCDate(n.getUTCDate() - d);
|
30
|
+
for (let i = 0; i < d; i++)
|
31
|
+
e.push({
|
32
|
+
date: new Date(n),
|
33
|
+
day: n.getUTCDate(),
|
34
|
+
isToday: U(n)
|
35
|
+
}), n.setUTCDate(n.getUTCDate() + 1);
|
36
|
+
let f = 1;
|
37
|
+
for (n = t; n <= o; n.setUTCDate(n.getUTCDate() + 1))
|
38
|
+
e.push({
|
39
|
+
date: new Date(n),
|
40
|
+
day: f,
|
41
|
+
isToday: U(n)
|
42
|
+
}), f++;
|
43
|
+
const I = e[e.length - 1].date.getUTCDay();
|
44
|
+
for (let i = I + 1; i <= 6; i++)
|
45
|
+
e.push({
|
46
|
+
date: new Date(n),
|
47
|
+
day: n.getUTCDate(),
|
48
|
+
isToday: U(n)
|
49
|
+
}), n.setUTCDate(n.getUTCDate() + 1);
|
50
|
+
return e;
|
51
|
+
}), U = (e) => {
|
52
|
+
const t = /* @__PURE__ */ new Date();
|
53
|
+
return e.getUTCDate() === t.getUTCDate() && e.getUTCMonth() === t.getUTCMonth() && e.getUTCFullYear() === t.getUTCFullYear();
|
54
|
+
}, F = (e) => e.getUTCMonth() === s.value.getUTCMonth() && e.getUTCFullYear() === s.value.getUTCFullYear(), x = (e) => {
|
55
|
+
if (h.allowRange) {
|
56
|
+
if (a.value && l.value)
|
57
|
+
return e >= a.value && e <= l.value;
|
58
|
+
if (a.value)
|
59
|
+
return e.getTime() === a.value.getTime();
|
60
|
+
} else
|
61
|
+
return D.value && e.getTime() === D.value.getTime();
|
62
|
+
}, V = (e) => a.value && l.value ? e > a.value && e < l.value : !1, L = (e) => {
|
63
|
+
const t = c(e);
|
64
|
+
if (!h.allowRange)
|
65
|
+
r("update:modelValue", t), D.value = t;
|
66
|
+
else if (!a.value && !l.value)
|
67
|
+
r("update:modelValue", t), a.value = t;
|
68
|
+
else if (l.value)
|
69
|
+
a.value = t, l.value = null, r("update:modelValue", t);
|
70
|
+
else {
|
71
|
+
if (l.value = t, t < a.value) {
|
72
|
+
const o = a.value;
|
73
|
+
a.value = t, l.value = o;
|
74
|
+
}
|
75
|
+
r("update:modelValue", { start: a.value, end: l.value });
|
76
|
+
}
|
77
|
+
s.value = t;
|
78
|
+
}, S = () => {
|
79
|
+
s.value = new Date(Date.UTC(
|
80
|
+
s.value.getUTCFullYear(),
|
81
|
+
s.value.getUTCMonth() - 1,
|
82
|
+
1
|
83
|
+
));
|
84
|
+
}, W = () => {
|
85
|
+
s.value = new Date(Date.UTC(
|
86
|
+
s.value.getUTCFullYear(),
|
87
|
+
s.value.getUTCMonth() + 1,
|
88
|
+
1
|
89
|
+
));
|
90
|
+
}, R = () => {
|
91
|
+
const e = new Date(g);
|
92
|
+
e.setUTCHours(0, 0, 0, 0);
|
93
|
+
const t = new Date(e);
|
94
|
+
t.setUTCHours(24, 0, 0, -1), a.value = c(e), l.value = c(t), r("update:modelValue", { start: a.value, end: l.value });
|
95
|
+
}, O = () => {
|
96
|
+
const e = /* @__PURE__ */ new Date();
|
97
|
+
e.setUTCDate(e.getUTCDate() - 7), a.value = c(e), l.value = c(g), r("update:modelValue", { start: a.value, end: l.value });
|
98
|
+
}, B = () => {
|
99
|
+
const e = /* @__PURE__ */ new Date();
|
100
|
+
e.setUTCMonth(e.getUTCMonth() - 1), a.value = new Date(Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), 1)), l.value = new Date(Date.UTC(
|
101
|
+
e.getUTCFullYear(),
|
102
|
+
e.getUTCMonth() + 1,
|
103
|
+
0
|
104
|
+
)), r("update:modelValue", { start: a.value, end: l.value });
|
105
|
+
}, E = () => {
|
106
|
+
const e = /* @__PURE__ */ new Date();
|
107
|
+
e.setUTCFullYear(e.getUTCFullYear() - 1), a.value = new Date(Date.UTC(e.getUTCFullYear(), 0, 1)), l.value = new Date(Date.UTC(e.getUTCFullYear(), 11, 31)), r("update:modelValue", { start: a.value, end: l.value });
|
108
|
+
};
|
109
|
+
return (e, t) => (v(), T("div", N, [
|
110
|
+
p.allowRange ? (v(), T("div", z, [
|
111
|
+
u("button", {
|
112
|
+
class: "font-second pd-thin bg-main-transp-10 radius-small",
|
113
|
+
onClick: R
|
114
|
+
}, "Today"),
|
115
|
+
u("button", {
|
116
|
+
class: "font-second pd-thin bg-main-transp-10 radius-small",
|
117
|
+
onClick: O
|
118
|
+
}, "Last Week"),
|
119
|
+
u("button", {
|
120
|
+
class: "font-second pd-thin bg-main-transp-10 radius-small",
|
121
|
+
onClick: B
|
122
|
+
}, "Last Month"),
|
123
|
+
u("button", {
|
124
|
+
class: "font-second pd-thin bg-main-transp-10 radius-small",
|
125
|
+
onClick: E
|
126
|
+
}, "All time")
|
127
|
+
])) : $("", !0),
|
128
|
+
u("div", A, [
|
129
|
+
u("button", {
|
130
|
+
class: "aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small",
|
131
|
+
onClick: S
|
132
|
+
}, "<"),
|
133
|
+
u("span", null, m(M.value), 1),
|
134
|
+
u("button", {
|
135
|
+
class: "aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small",
|
136
|
+
onClick: W
|
137
|
+
}, ">")
|
138
|
+
]),
|
139
|
+
u("div", Z, [
|
140
|
+
u("div", q, [
|
141
|
+
(v(), T(w, null, y(k, (o, d) => u("div", {
|
142
|
+
key: d,
|
143
|
+
class: "calendar__weekday"
|
144
|
+
}, m(o), 1)), 64))
|
145
|
+
]),
|
146
|
+
u("div", G, [
|
147
|
+
(v(!0), T(w, null, y(Y.value, (o) => (v(), T("div", {
|
148
|
+
key: o.date,
|
149
|
+
class: j([
|
150
|
+
"flex flex-center cursor-pointer aspect-ratio-1x1 radius-small",
|
151
|
+
{ "bg-main t-white": o.isToday },
|
152
|
+
{ "calendar__date--selected": x(o.date) },
|
153
|
+
{ "calendar__date--range": V(o.date) },
|
154
|
+
{ "calendar__date--disabled": !F(o.date) }
|
155
|
+
]),
|
156
|
+
onClick: (d) => L(o.date)
|
157
|
+
}, m(o.day), 11, J))), 128))
|
158
|
+
])
|
159
|
+
])
|
160
|
+
]));
|
161
|
+
}
|
162
|
+
}, ee = /* @__PURE__ */ H(K, [["__scopeId", "data-v-f695bc9a"]]);
|
163
|
+
export {
|
164
|
+
ee as default
|
165
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../FieldPhone/click-outside.cjs");require("./Dropdown.vue2.cjs");const u=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={key:0},f={key:1},p={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(t){let n=c.default;const i=t,l=e.ref(!1),a=e.computed(()=>typeof i.label=="object");function s(){l.value=!1}return(r,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"dropdown pos-relative",onClick:o[0]||(o[0]=e.withModifiers(m=>l.value=!l.value,["stop"]))},[a.value?(e.openBlock(),e.createElementBlock("div",d,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.label.component),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../FieldPhone/click-outside.cjs");require("./Dropdown.vue2.cjs");const u=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={key:0,class:"w-100 h-100 flex-center flex"},f={key:1},p={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(t){let n=c.default;const i=t,l=e.ref(!1),a=e.computed(()=>typeof i.label=="object");function s(){l.value=!1}return(r,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"dropdown pos-relative",onClick:o[0]||(o[0]=e.withModifiers(m=>l.value=!l.value,["stop"]))},[a.value?(e.openBlock(),e.createElementBlock("div",d,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.label.component),e.mergeProps(t.label.props,{class:t.label.class}),null,16,["class"]))])):(e.openBlock(),e.createElementBlock("div",f,e.toDisplayString(t.label),1)),e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{style:e.normalizeStyle({left:t.align==="left"?"0":"auto",right:t.align==="right"?"0":"auto"}),class:"dropdown-content radius-big"},[e.renderSlot(r.$slots,"default",{},void 0,!0)],4),[[e.vShow,l.value]])]),_:3})])),[[e.unref(n),s]])}},v=u.default(p,[["__scopeId","data-v-96fe1329"]]);exports.default=v;
|
@@ -1,8 +1,11 @@
|
|
1
|
-
import { ref as u, computed as f, withDirectives as
|
2
|
-
import
|
1
|
+
import { ref as u, computed as f, withDirectives as a, openBlock as l, createElementBlock as o, withModifiers as m, createBlock as p, resolveDynamicComponent as v, mergeProps as b, toDisplayString as g, createVNode as k, Transition as w, withCtx as y, createElementVNode as h, normalizeStyle as O, renderSlot as S, vShow as x, unref as C } from "vue";
|
2
|
+
import D from "../FieldPhone/click-outside.js";
|
3
3
|
import "./Dropdown.vue2.js";
|
4
4
|
import B from "../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
-
const T = {
|
5
|
+
const T = {
|
6
|
+
key: 0,
|
7
|
+
class: "w-100 h-100 flex-center flex"
|
8
|
+
}, j = { key: 1 }, E = {
|
6
9
|
__name: "Dropdown",
|
7
10
|
props: {
|
8
11
|
label: {
|
@@ -15,41 +18,41 @@ const T = { key: 0 }, j = { key: 1 }, z = {
|
|
15
18
|
}
|
16
19
|
},
|
17
20
|
setup(e) {
|
18
|
-
let
|
21
|
+
let i = D;
|
19
22
|
const s = e, t = u(!1), r = f(() => typeof s.label == "object");
|
20
23
|
function c() {
|
21
24
|
t.value = !1;
|
22
25
|
}
|
23
|
-
return (d, n) =>
|
26
|
+
return (d, n) => a((l(), o("div", {
|
24
27
|
class: "dropdown pos-relative",
|
25
|
-
onClick: n[0] || (n[0] = m((
|
28
|
+
onClick: n[0] || (n[0] = m((N) => t.value = !t.value, ["stop"]))
|
26
29
|
}, [
|
27
|
-
r.value ? (
|
28
|
-
(
|
29
|
-
class:
|
30
|
-
}, null,
|
31
|
-
])) : (
|
30
|
+
r.value ? (l(), o("div", T, [
|
31
|
+
(l(), p(v(e.label.component), b(e.label.props, {
|
32
|
+
class: e.label.class
|
33
|
+
}), null, 16, ["class"]))
|
34
|
+
])) : (l(), o("div", j, g(e.label), 1)),
|
32
35
|
k(w, {
|
33
36
|
name: "TransitionTranslateY",
|
34
37
|
mode: "out-in"
|
35
38
|
}, {
|
36
39
|
default: y(() => [
|
37
|
-
|
38
|
-
style:
|
39
|
-
class: "dropdown-content
|
40
|
+
a(h("div", {
|
41
|
+
style: O({ left: e.align === "left" ? "0" : "auto", right: e.align === "right" ? "0" : "auto" }),
|
42
|
+
class: "dropdown-content radius-big"
|
40
43
|
}, [
|
41
|
-
|
44
|
+
S(d.$slots, "default", {}, void 0, !0)
|
42
45
|
], 4), [
|
43
|
-
[
|
46
|
+
[x, t.value]
|
44
47
|
])
|
45
48
|
]),
|
46
49
|
_: 3
|
47
50
|
})
|
48
51
|
])), [
|
49
|
-
[
|
52
|
+
[C(i), c]
|
50
53
|
]);
|
51
54
|
}
|
52
|
-
},
|
55
|
+
}, L = /* @__PURE__ */ B(E, [["__scopeId", "data-v-96fe1329"]]);
|
53
56
|
export {
|
54
|
-
|
57
|
+
L as default
|
55
58
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");require("../Loader/Loader.vue.cjs");const S=require("../EmptyState/EmptyState.vue.cjs"),M=require("../Dropdown/Dropdown.vue.cjs"),q=require("../DatePicker/Calendar.vue2.cjs"),O=require("../../modules/globals/components/blocks/BlockSearch.vue.cjs"),E=require("../../modules/globals/components/blocks/BlockSorting.vue.cjs"),L=require("../../modules/globals/components/elements/ButtonSort.vue.cjs"),z=require("../../modules/globals/components/elements/ButtonDate.vue2.cjs"),j=require("../../modules/icons/navigation/IconFilter.vue.cjs");require("./Feed.vue2.cjs");const I={key:0,class:"flex-nowrap flex gap-thin mn-b-thin"},T={class:"flex-center flex pd-thin bg-light radius-extra aspect-1x1 h-100"},v=null,F={__name:"Feed",props:e.mergeModels({showLoadMore:{type:Boolean,default:!0},search:{type:[Boolean,Object],default:!1},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},external:{type:Boolean,default:!1},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},{search:{},searchModifiers:{},sort:{},sortModifiers:{},date:{},dateModifiers:{},items:{},itemsModifiers:{}}),emits:["update:search","update:sort","update:date","update:items"],setup(r){var w,C;const c=e.useModel(r,"search"),s=e.useModel(r,"sort"),g=e.useModel(r,"date"),d=e.useModel(r,"items"),l=r,o=e.ref(d.value||[]),n=e.ref(!1);let m=e.ref(!0),k=e.ref(null),f=e.ref(l.options.skip?l.options.skip:0),i=e.ref(l.options.limit?l.options.limit:10),b=e.ref(((w=s.value)==null?void 0:w.param)||"createdAt"),y=e.ref(((C=s.value)==null?void 0:C.order)||"asc"),h=e.ref("");function N(t){h.value=t,f.value=0,i.value=10,p()}const B=async()=>{if(n.value){f.value+=i.value;const t=await l.store.read({skip:f.value,limit:i.value,search:h.value,sortParam:b.value,sortOrder:y.value,...l.options});t.length===0||t.length<i.value?n.value=!1:n.value=!0,o.value=[...o.value,...t],d.value&&(d.value=o.value)}},p=async()=>{const t=await l.store.read({skip:f.value,limit:i.value,sortParam:b.value,sortOrder:y.value,search:h.value,...l.options});t.length===0||t.length<i.value?n.value=!1:n.value=!0,o.value=t,d.value&&(d.value=o.value),m.value=!1};return e.watch(()=>l.external,(t,a)=>{t!==a&&p()},{deep:!0}),e.watch(()=>l.options,(t,a)=>{(t.organization!==a.organization||t.categories!==a.categories||t.prices!==a.prices||t.delivery!==a.delivery||t.search!==a.search||t.status!==a.status||t.hidden!==a.hidden||t.type!==a.type)&&p()},{deep:!0}),e.onMounted(async()=>{await p(),typeof window<"u"&&!l.showLoadMore&&(v=new IntersectionObserver(t=>{t.some(a=>a.isIntersecting)&&B()}),v.observe(k.value))}),e.onUnmounted(()=>{v&&v.disconnect()}),(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[c.value?(e.openBlock(),e.createElementBlock("div",I,[c.value?(e.openBlock(),e.createBlock(O.default,{key:0,placeholder:c.value.placeholder||"Search...",class:e.normalizeClass(c.value.class||"bg-light"),onSearch:N},null,8,["placeholder","class"])):e.createCommentVNode("",!0),e.createElementVNode("div",T,[e.createVNode(j.default,{class:"w-1r h-auto"})]),e.createVNode(M.default,{label:{component:z.default},class:e.normalizeClass([c.value.class||"bg-light","flex-child flex-child-grow-1 flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-big"]),align:"right"},{default:e.withCtx(()=>[e.createVNode(q.default,{date:g.value,"onUpdate:date":a[0]||(a[0]=u=>g.value=u),locale:t.$i18n.locale,allowRange:!0,class:"radius-semi w-100 o-hidden bg-light"},null,8,["date","locale"])]),_:1},8,["label","class"]),s.value?(e.openBlock(),e.createBlock(M.default,{key:1,label:{component:L.default,props:{order:s.value.order},class:"w-1r"},class:e.normalizeClass([c.value.class||"bg-light","radius-extra aspect-1x1 h-100"]),align:"right"},{default:e.withCtx(()=>[e.createVNode(E.default,{param:s.value.param,"onUpdate:param":a[1]||(a[1]=u=>s.value.param=u),order:s.value.order,"onUpdate:order":a[2]||(a[2]=u=>s.value.order=u),options:s.value.options,class:"h-100 pd-small radius-semi t-white bg-black"},null,8,["param","order","options"])]),_:1},8,["label","class"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createBlock(e.TransitionGroup,{key:1,tag:"ul",name:"scaleTransition",class:e.normalizeClass(["o-hidden bg-light radius-big",t.$attrs.class])},{default:e.withCtx(()=>[e.unref(m)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(i),u=>(e.openBlock(),e.createBlock(x.default,{key:"skeleton-"+u}))),128)):e.createCommentVNode("",!0)]),_:1},8,["class"])):e.createCommentVNode("",!0),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(m)&&o.value.length<1?(e.openBlock(),e.createBlock(S.default,{key:0,title:r.states.empty.title,description:r.states.empty.description,action:r.states.empty.action,callback:r.states.empty.callback,class:"pd-medium mn-b-thin bg-light radius-big"},null,8,["title","description","action","callback"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"feed",class:e.normalizeClass(t.$attrs.class)},{default:e.withCtx(()=>[!e.unref(m)&&o.value.length>0?e.renderSlot(t.$slots,"default",{key:0,items:o.value}):e.createCommentVNode("",!0),r.showLoadMore&&n.value&&o.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:B,class:"col-w-100 w-100 bg-main button"}," Load More ")):e.createCommentVNode("",!0),e.createElementVNode("div",{key:"sentinel",ref_key:"sentinel",ref:k,class:"sentinel"},null,512)]),_:3},8,["class"])],64))}};exports.default=F;
|
@@ -1,12 +1,21 @@
|
|
1
|
-
import { ref as
|
2
|
-
import
|
1
|
+
import { mergeModels as D, useModel as M, ref as i, watch as U, onMounted as A, onUnmounted as G, openBlock as o, createElementBlock as x, Fragment as z, createBlock as h, normalizeClass as g, createCommentVNode as u, createElementVNode as E, createVNode as p, withCtx as b, unref as y, TransitionGroup as F, renderList as R, Transition as q, renderSlot as H } from "vue";
|
2
|
+
import J from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
|
3
3
|
import "../Loader/Loader.vue.js";
|
4
|
-
import
|
5
|
-
import "vue
|
6
|
-
import
|
7
|
-
|
4
|
+
import K from "../EmptyState/EmptyState.vue.js";
|
5
|
+
import N from "../Dropdown/Dropdown.vue.js";
|
6
|
+
import Q from "../DatePicker/Calendar.vue2.js";
|
7
|
+
import W from "../../modules/globals/components/blocks/BlockSearch.vue.js";
|
8
|
+
import X from "../../modules/globals/components/blocks/BlockSorting.vue.js";
|
9
|
+
import Y from "../../modules/globals/components/elements/ButtonSort.vue.js";
|
10
|
+
import Z from "../../modules/globals/components/elements/ButtonDate.vue2.js";
|
11
|
+
import _ from "../../modules/icons/navigation/IconFilter.vue.js";
|
12
|
+
import "./Feed.vue2.js";
|
13
|
+
const V = {
|
14
|
+
key: 0,
|
15
|
+
class: "flex-nowrap flex gap-thin mn-b-thin"
|
16
|
+
}, ee = { class: "flex-center flex pd-thin bg-light radius-extra aspect-1x1 h-100" }, O = null, pe = {
|
8
17
|
__name: "Feed",
|
9
|
-
props: {
|
18
|
+
props: /* @__PURE__ */ D({
|
10
19
|
showLoadMore: {
|
11
20
|
type: Boolean,
|
12
21
|
default: !0
|
@@ -49,96 +58,155 @@ const v = null, J = {
|
|
49
58
|
contain: null
|
50
59
|
})
|
51
60
|
}
|
52
|
-
},
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
61
|
+
}, {
|
62
|
+
search: {},
|
63
|
+
searchModifiers: {},
|
64
|
+
sort: {},
|
65
|
+
sortModifiers: {},
|
66
|
+
date: {},
|
67
|
+
dateModifiers: {},
|
68
|
+
items: {},
|
69
|
+
itemsModifiers: {}
|
70
|
+
}),
|
71
|
+
emits: ["update:search", "update:sort", "update:date", "update:items"],
|
72
|
+
setup(l) {
|
73
|
+
var I, T;
|
74
|
+
const m = M(l, "search"), s = M(l, "sort"), $ = M(l, "date"), f = M(l, "items"), a = l, r = i(f.value || []), n = i(!1);
|
75
|
+
let v = i(!0), L = i(null), k = i(a.options.skip ? a.options.skip : 0), c = i(a.options.limit ? a.options.limit : 10), B = i(((I = s.value) == null ? void 0 : I.param) || "createdAt"), j = i(((T = s.value) == null ? void 0 : T.order) || "asc"), S = i("");
|
76
|
+
function P(e) {
|
77
|
+
S.value = e, k.value = 0, c.value = 10, w();
|
58
78
|
}
|
59
|
-
const
|
60
|
-
if (
|
61
|
-
|
79
|
+
const C = async () => {
|
80
|
+
if (n.value) {
|
81
|
+
k.value += c.value;
|
62
82
|
const e = await a.store.read({
|
63
|
-
skip:
|
64
|
-
limit:
|
65
|
-
search:
|
83
|
+
skip: k.value,
|
84
|
+
limit: c.value,
|
85
|
+
search: S.value,
|
86
|
+
sortParam: B.value,
|
87
|
+
sortOrder: j.value,
|
66
88
|
...a.options
|
67
89
|
});
|
68
|
-
e.length === 0 || e.length <
|
90
|
+
e.length === 0 || e.length < c.value ? n.value = !1 : n.value = !0, r.value = [...r.value, ...e], f.value && (f.value = r.value);
|
69
91
|
}
|
70
|
-
},
|
92
|
+
}, w = async () => {
|
71
93
|
const e = await a.store.read({
|
72
|
-
skip:
|
73
|
-
limit:
|
74
|
-
|
94
|
+
skip: k.value,
|
95
|
+
limit: c.value,
|
96
|
+
sortParam: B.value,
|
97
|
+
sortOrder: j.value,
|
98
|
+
search: S.value,
|
75
99
|
...a.options
|
76
100
|
});
|
77
|
-
e.length === 0 || e.length <
|
101
|
+
e.length === 0 || e.length < c.value ? n.value = !1 : n.value = !0, r.value = e, f.value && (f.value = r.value), v.value = !1;
|
78
102
|
};
|
79
|
-
return
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
103
|
+
return U(() => a.external, (e, t) => {
|
104
|
+
e !== t && w();
|
105
|
+
}, { deep: !0 }), U(() => a.options, (e, t) => {
|
106
|
+
(e.organization !== t.organization || e.categories !== t.categories || e.prices !== t.prices || e.delivery !== t.delivery || e.search !== t.search || e.status !== t.status || e.hidden !== t.hidden || e.type !== t.type) && w();
|
107
|
+
}, { deep: !0 }), A(async () => {
|
108
|
+
await w(), typeof window < "u" && !a.showLoadMore && (O = new IntersectionObserver((e) => {
|
109
|
+
e.some((t) => t.isIntersecting) && C();
|
110
|
+
}), O.observe(L.value));
|
111
|
+
}), G(() => {
|
112
|
+
O && O.disconnect();
|
113
|
+
}), (e, t) => (o(), x(z, null, [
|
114
|
+
m.value ? (o(), x("div", V, [
|
115
|
+
m.value ? (o(), h(W, {
|
116
|
+
key: 0,
|
117
|
+
placeholder: m.value.placeholder || "Search...",
|
118
|
+
class: g(m.value.class || "bg-light"),
|
119
|
+
onSearch: P
|
120
|
+
}, null, 8, ["placeholder", "class"])) : u("", !0),
|
121
|
+
E("div", ee, [
|
122
|
+
p(_, { class: "w-1r h-auto" })
|
123
|
+
]),
|
124
|
+
p(N, {
|
125
|
+
label: {
|
126
|
+
component: Z
|
127
|
+
},
|
128
|
+
class: g([m.value.class || "bg-light", "flex-child flex-child-grow-1 flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-big"]),
|
129
|
+
align: "right"
|
130
|
+
}, {
|
131
|
+
default: b(() => [
|
132
|
+
p(Q, {
|
133
|
+
date: $.value,
|
134
|
+
"onUpdate:date": t[0] || (t[0] = (d) => $.value = d),
|
135
|
+
locale: e.$i18n.locale,
|
136
|
+
allowRange: !0,
|
137
|
+
class: "radius-semi w-100 o-hidden bg-light"
|
138
|
+
}, null, 8, ["date", "locale"])
|
139
|
+
]),
|
140
|
+
_: 1
|
141
|
+
}, 8, ["label", "class"]),
|
142
|
+
s.value ? (o(), h(N, {
|
143
|
+
key: 1,
|
144
|
+
label: {
|
145
|
+
component: Y,
|
146
|
+
props: { order: s.value.order },
|
147
|
+
class: "w-1r"
|
148
|
+
},
|
149
|
+
class: g([m.value.class || "bg-light", "radius-extra aspect-1x1 h-100"]),
|
150
|
+
align: "right"
|
151
|
+
}, {
|
152
|
+
default: b(() => [
|
153
|
+
p(X, {
|
154
|
+
param: s.value.param,
|
155
|
+
"onUpdate:param": t[1] || (t[1] = (d) => s.value.param = d),
|
156
|
+
order: s.value.order,
|
157
|
+
"onUpdate:order": t[2] || (t[2] = (d) => s.value.order = d),
|
158
|
+
options: s.value.options,
|
159
|
+
class: "h-100 pd-small radius-semi t-white bg-black"
|
160
|
+
}, null, 8, ["param", "order", "options"])
|
161
|
+
]),
|
162
|
+
_: 1
|
163
|
+
}, 8, ["label", "class"])) : u("", !0)
|
164
|
+
])) : u("", !0),
|
165
|
+
y(v) ? (o(), h(F, {
|
98
166
|
key: 1,
|
99
167
|
tag: "ul",
|
100
168
|
name: "scaleTransition",
|
101
|
-
class:
|
169
|
+
class: g(["o-hidden bg-light radius-big", e.$attrs.class])
|
102
170
|
}, {
|
103
171
|
default: b(() => [
|
104
|
-
|
105
|
-
key: "skeleton-" +
|
172
|
+
y(v) ? (o(!0), x(z, { key: 0 }, R(y(c), (d) => (o(), h(J, {
|
173
|
+
key: "skeleton-" + d
|
106
174
|
}))), 128)) : u("", !0)
|
107
175
|
]),
|
108
176
|
_: 1
|
109
177
|
}, 8, ["class"])) : u("", !0),
|
110
|
-
|
178
|
+
p(q, { name: "scaleTransition" }, {
|
111
179
|
default: b(() => [
|
112
|
-
!
|
180
|
+
!y(v) && r.value.length < 1 ? (o(), h(K, {
|
113
181
|
key: 0,
|
114
|
-
title:
|
115
|
-
description:
|
116
|
-
action:
|
117
|
-
callback:
|
118
|
-
class: "pd-medium mn-b-thin bg-
|
182
|
+
title: l.states.empty.title,
|
183
|
+
description: l.states.empty.description,
|
184
|
+
action: l.states.empty.action,
|
185
|
+
callback: l.states.empty.callback,
|
186
|
+
class: "pd-medium mn-b-thin bg-light radius-big"
|
119
187
|
}, null, 8, ["title", "description", "action", "callback"])) : u("", !0)
|
120
188
|
]),
|
121
189
|
_: 1
|
122
190
|
}),
|
123
|
-
|
191
|
+
p(F, {
|
124
192
|
tag: "ul",
|
125
|
-
name: "
|
126
|
-
class:
|
193
|
+
name: "feed",
|
194
|
+
class: g(e.$attrs.class)
|
127
195
|
}, {
|
128
196
|
default: b(() => [
|
129
|
-
!
|
197
|
+
!y(v) && r.value.length > 0 ? H(e.$slots, "default", {
|
130
198
|
key: 0,
|
131
|
-
items:
|
199
|
+
items: r.value
|
132
200
|
}) : u("", !0),
|
133
|
-
|
201
|
+
l.showLoadMore && n.value && r.value.length > 0 ? (o(), x("button", {
|
134
202
|
key: 1,
|
135
|
-
onClick:
|
203
|
+
onClick: C,
|
136
204
|
class: "col-w-100 w-100 bg-main button"
|
137
205
|
}, " Load More ")) : u("", !0),
|
138
|
-
|
206
|
+
E("div", {
|
139
207
|
key: "sentinel",
|
140
208
|
ref_key: "sentinel",
|
141
|
-
ref:
|
209
|
+
ref: L,
|
142
210
|
class: "sentinel"
|
143
211
|
}, null, 512)
|
144
212
|
]),
|
@@ -148,5 +216,5 @@ const v = null, J = {
|
|
148
216
|
}
|
149
217
|
};
|
150
218
|
export {
|
151
|
-
|
219
|
+
pe as default
|
152
220
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("./FieldTags.vue.cjs");require("./BlockTags.vue2.cjs");const f=e.createElementVNode("h5",{class:"mn-b-thin"},"Tags (maximum 20):",-1),x={class:"mn-b-medium"},_=e.createElementVNode("p",{class:"p-small mn-b-thin"},"Suggested:",-1),k=["onClick"],B={key:1},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("./FieldTags.vue.cjs");require("./BlockTags.vue2.cjs");const f=e.createElementVNode("h5",{class:"mn-b-thin"},"Tags (maximum 20):",-1),x={class:"mn-b-medium"},_=e.createElementVNode("p",{class:"p-small mn-b-thin"},"Suggested:",-1),k=["onClick"],B={key:1},T={__name:"BlockTags",props:["tags"],emits:["tags-changed"],setup(d,{emit:m}){const r=m,u=d,o=e.ref(""),s=e.ref([]),c=e.ref([{text:"story"},{text:"news"},{text:"guide"},{text:"discussion"},{text:"photos"}]);u.tags&&(s.value=u.tags.map(t=>({text:t})));const i=e.computed(()=>c.value.filter(t=>t.text.toLowerCase().includes(o.value.toLowerCase()))),n=e.computed(()=>c.value.filter(t=>!s.value.some(a=>a.text===t.text)));function g(t){s.value.push(t),r("tags-changed",s.value.map(a=>a.text))}function p(t){s.value=t,r("tags-changed",s.value.map(a=>a.text))}return(t,a)=>(e.openBlock(),e.createElementBlock("div",null,[f,e.createVNode(h.default,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),tags:s.value,"autocomplete-items":i.value,"add-on-key":[13,":",";",","],"save-on-key":[13,":",";",","],separators:[";",","],"max-tags":20,maxlength:20,placeholder:"Please add tags","add-from-paste":!0,"allow-edit-tags":!0,onTagsChanged:p,class:"mn-b-thin bg-light radius-medium pd-small"},null,8,["modelValue","tags","autocomplete-items"]),e.createElementVNode("p",x,[_,n.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.value,(l,v)=>(e.openBlock(),e.createElementBlock("span",{onClick:b=>g(l),class:e.normalizeClass(["cursor-pointer t-medium ti-tag-toDefactor",{"mn-r-micro":v!==n.value.length-1}])},e.toDisplayString(l.text),11,k))),256)):(e.openBlock(),e.createElementBlock("span",B,"You added all suggested tags"))])]))}};exports.default=T;
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { ref as u, computed as g, openBlock as o, createElementBlock as l, createVNode as k, createElementVNode as
|
1
|
+
import { ref as u, computed as g, openBlock as o, createElementBlock as l, createVNode as k, createElementVNode as m, Fragment as C, renderList as T, normalizeClass as y, toDisplayString as b } from "vue";
|
2
2
|
import V from "./FieldTags.vue.js";
|
3
3
|
import "./BlockTags.vue2.js";
|
4
|
-
const w = /* @__PURE__ */
|
4
|
+
const w = /* @__PURE__ */ m("h5", { class: "mn-b-thin" }, "Tags (maximum 20):", -1), B = { class: "mn-b-medium" }, I = /* @__PURE__ */ m("p", { class: "p-small mn-b-thin" }, "Suggested:", -1), L = ["onClick"], S = { key: 1 }, z = {
|
5
5
|
__name: "BlockTags",
|
6
6
|
props: ["tags"],
|
7
7
|
emits: ["tags-changed"],
|
8
8
|
setup(p, { emit: h }) {
|
9
|
-
const
|
9
|
+
const d = h, i = p, n = u(""), a = u([]), c = u([
|
10
10
|
{ text: "story" },
|
11
11
|
{ text: "news" },
|
12
12
|
{ text: "guide" },
|
@@ -16,10 +16,10 @@ const w = /* @__PURE__ */ d("h5", { class: "mn-b-thin" }, "Tags (maximum 20):",
|
|
16
16
|
i.tags && (a.value = i.tags.map((e) => ({ text: e })));
|
17
17
|
const v = g(() => c.value.filter((e) => e.text.toLowerCase().includes(n.value.toLowerCase()))), r = g(() => c.value.filter((e) => !a.value.some((t) => t.text === e.text)));
|
18
18
|
function x(e) {
|
19
|
-
a.value.push(e),
|
19
|
+
a.value.push(e), d("tags-changed", a.value.map((t) => t.text));
|
20
20
|
}
|
21
21
|
function f(e) {
|
22
|
-
a.value = e,
|
22
|
+
a.value = e, d("tags-changed", a.value.map((t) => t.text));
|
23
23
|
}
|
24
24
|
return (e, t) => (o(), l("div", null, [
|
25
25
|
w,
|
@@ -37,13 +37,13 @@ const w = /* @__PURE__ */ d("h5", { class: "mn-b-thin" }, "Tags (maximum 20):",
|
|
37
37
|
"add-from-paste": !0,
|
38
38
|
"allow-edit-tags": !0,
|
39
39
|
onTagsChanged: f,
|
40
|
-
class: "mn-b-thin bg-
|
40
|
+
class: "mn-b-thin bg-light radius-medium pd-small"
|
41
41
|
}, null, 8, ["modelValue", "tags", "autocomplete-items"]),
|
42
|
-
|
42
|
+
m("p", B, [
|
43
43
|
I,
|
44
|
-
r.value.length > 0 ? (o(!0), l(
|
44
|
+
r.value.length > 0 ? (o(!0), l(C, { key: 0 }, T(r.value, (s, _) => (o(), l("span", {
|
45
45
|
onClick: (D) => x(s),
|
46
|
-
class:
|
46
|
+
class: y(["cursor-pointer t-medium ti-tag-toDefactor", { "mn-r-micro": _ !== r.value.length - 1 }])
|
47
47
|
}, b(s.text), 11, L))), 256)) : (o(), l("span", S, "You added all suggested tags"))
|
48
48
|
])
|
49
49
|
]));
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./vue-tags-input.cjs"),t=require("vue");require("./vue-tags-input.scss.cjs");const i=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={class:"ti-input"},m={key:0,class:"ti-tags"},u=["onClick"],p={class:"ti-content"},g={key:0,class:"ti-tag-left"},f=["onClick"],k={key:1,class:"ti-tag-right"},E={class:"ti-actions"},v=["onClick"],c=["onClick"],C={class:"ti-new-tag-input-wrapper"},S=["placeholder","value","maxlength","disabled"],y=["onMouseover"],T=["onClick"];function $(e,r,h,w,N,V){const a=t.resolveComponent("tag-input");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:t.normalizeStyle(e.$attrs.style)},[t.createElementVNode("div",d,[e.tagsCopy?(t.openBlock(),t.createElementBlock("ul",m,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.tagsCopy,(o,l)=>(t.openBlock(),t.createElementBlock("li",{key:l,style:t.normalizeStyle(o.style),class:t.normalizeClass([[{"ti-editing":e.tagsEditStatus[l]},o.tiClasses,o.classes,{"ti-deletion-mark":e.isMarked(l)}],"ti-tag"]),tabindex:"0",onClick:s=>e.$emit("tag-clicked",{tag:o,index:l})},[t.createElementVNode("div",p,[e.$slots["tag-left"]?(t.openBlock(),t.createElementBlock("div",g,[t.renderSlot(e.$slots,"tag-left",{tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass({"ti-hidden":e.tagsEditStatus[l]}),onClick:s=>e.performEditTag(l)},t.toDisplayString(o.text),11,f)),e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:1,scope:{edit:e.tagsEditStatus[l],maxlength:e.maxlength,tag:o,index:l,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}},null,8,["scope"])),t.renderSlot(e.$slots,"tag-center",{tag:o,index:l,maxlength:e.maxlength,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)],512),e.$slots["tag-right"]?(t.openBlock(),t.createElementBlock("div",k,[t.renderSlot(e.$slots,"tag-right",{tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",E,[e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:s=>e.cancelEdit(l)},null,8,v)),[[t.vShow,e.tagsEditStatus[l]]]),e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:s=>e.performDeleteTag(l)},null,8,c)),[[t.vShow,!e.tagsEditStatus[l]]]),e.$slots["tag-actions"]?t.renderSlot(e.$slots,"tag-actions",{key:2,tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0):t.createCommentVNode("",!0)])],14,u))),128)),t.createElementVNode("li",C,[t.createElementVNode("input",t.mergeProps({ref:"newTagInput"},e.$attrs,{class:[[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],"ti-new-tag-input"],placeholder:e.placeholder,value:e.newTag,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1",onKeydown:[r[0]||(r[0]=o=>e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,o)),r[2]||(r[2]=t.withKeys((...o)=>e.invokeDelete&&e.invokeDelete(...o),["delete"])),r[3]||(r[3]=t.withKeys((...o)=>e.performBlur&&e.performBlur(...o),["tab"])),r[4]||(r[4]=t.withKeys(o=>e.selectItem(o,"before"),["up"])),r[5]||(r[5]=t.withKeys(o=>e.selectItem(o,"after"),["down"]))],onPaste:r[1]||(r[1]=(...o)=>e.addTagsFromPaste&&e.addTagsFromPaste(...o)),onInput:r[6]||(r[6]=(...o)=>e.updateNewTag&&e.updateNewTag(...o)),onFocus:r[7]||(r[7]=o=>e.focused=!0),onClick:r[8]||(r[8]=o=>e.addOnlyFromAutocomplete?!1:e.selectedItem=null)}),null,16,S)])])):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"between-elements",{},void 0,!0),e.autocompleteOpen?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:r[9]||(r[9]=o=>e.selectedItem=null)},[t.renderSlot(e.$slots,"autocomplete-header",{},void 0,!0),t.createElementVNode("ul",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filteredAutocompleteItems,(o,l)=>(t.openBlock(),t.createElementBlock("li",{key:l,style:t.normalizeStyle(o.style),class:t.normalizeClass([[o.tiClasses,o.classes,{"ti-selected-item":e.isSelected(l)}],"ti-item"]),onMouseover:s=>e.disabled?!1:e.selectedItem=l},[e.$slots["autocomplete-item"]?t.renderSlot(e.$slots,"autocomplete-item",{key:1,item:o,index:l,performAdd:s=>e.performAddTags(s,void 0,"autocomplete"),selected:e.isSelected(l)},void 0,!0):(t.openBlock(),t.createElementBlock("div",{key:0,onClick:s=>e.performAddTags(o,void 0,"autocomplete")},t.toDisplayString(o.text),9,T))],46,y))),128))]),t.renderSlot(e.$slots,"autocomplete-footer",{},void 0,!0)],34)):t.createCommentVNode("",!0)],6)}const B=i.default(n.default,[["render",$],["__scopeId","data-v-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./vue-tags-input.cjs"),t=require("vue");require("./vue-tags-input.scss.cjs");const i=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={class:"ti-input"},m={key:0,class:"ti-tags"},u=["onClick"],p={class:"ti-content"},g={key:0,class:"ti-tag-left"},f=["onClick"],k={key:1,class:"ti-tag-right"},E={class:"ti-actions"},v=["onClick"],c=["onClick"],C={class:"ti-new-tag-input-wrapper"},S=["placeholder","value","maxlength","disabled"],y=["onMouseover"],T=["onClick"];function $(e,r,h,w,N,V){const a=t.resolveComponent("tag-input");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:t.normalizeStyle(e.$attrs.style)},[t.createElementVNode("div",d,[e.tagsCopy?(t.openBlock(),t.createElementBlock("ul",m,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.tagsCopy,(o,l)=>(t.openBlock(),t.createElementBlock("li",{key:l,style:t.normalizeStyle(o.style),class:t.normalizeClass([[{"ti-editing":e.tagsEditStatus[l]},o.tiClasses,o.classes,{"ti-deletion-mark":e.isMarked(l)}],"ti-tag t-medium"]),tabindex:"0",onClick:s=>e.$emit("tag-clicked",{tag:o,index:l})},[t.createElementVNode("div",p,[e.$slots["tag-left"]?(t.openBlock(),t.createElementBlock("div",g,[t.renderSlot(e.$slots,"tag-left",{tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass({"ti-hidden":e.tagsEditStatus[l]}),onClick:s=>e.performEditTag(l)},t.toDisplayString(o.text),11,f)),e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:1,scope:{edit:e.tagsEditStatus[l],maxlength:e.maxlength,tag:o,index:l,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}},null,8,["scope"])),t.renderSlot(e.$slots,"tag-center",{tag:o,index:l,maxlength:e.maxlength,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)],512),e.$slots["tag-right"]?(t.openBlock(),t.createElementBlock("div",k,[t.renderSlot(e.$slots,"tag-right",{tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",E,[e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:s=>e.cancelEdit(l)},null,8,v)),[[t.vShow,e.tagsEditStatus[l]]]),e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:s=>e.performDeleteTag(l)},null,8,c)),[[t.vShow,!e.tagsEditStatus[l]]]),e.$slots["tag-actions"]?t.renderSlot(e.$slots,"tag-actions",{key:2,tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0):t.createCommentVNode("",!0)])],14,u))),128)),t.createElementVNode("li",C,[t.createElementVNode("input",t.mergeProps({ref:"newTagInput"},e.$attrs,{class:[[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],"ti-new-tag-input"],placeholder:e.placeholder,value:e.newTag,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1",onKeydown:[r[0]||(r[0]=o=>e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,o)),r[2]||(r[2]=t.withKeys((...o)=>e.invokeDelete&&e.invokeDelete(...o),["delete"])),r[3]||(r[3]=t.withKeys((...o)=>e.performBlur&&e.performBlur(...o),["tab"])),r[4]||(r[4]=t.withKeys(o=>e.selectItem(o,"before"),["up"])),r[5]||(r[5]=t.withKeys(o=>e.selectItem(o,"after"),["down"]))],onPaste:r[1]||(r[1]=(...o)=>e.addTagsFromPaste&&e.addTagsFromPaste(...o)),onInput:r[6]||(r[6]=(...o)=>e.updateNewTag&&e.updateNewTag(...o)),onFocus:r[7]||(r[7]=o=>e.focused=!0),onClick:r[8]||(r[8]=o=>e.addOnlyFromAutocomplete?!1:e.selectedItem=null)}),null,16,S)])])):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"between-elements",{},void 0,!0),e.autocompleteOpen?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:r[9]||(r[9]=o=>e.selectedItem=null)},[t.renderSlot(e.$slots,"autocomplete-header",{},void 0,!0),t.createElementVNode("ul",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filteredAutocompleteItems,(o,l)=>(t.openBlock(),t.createElementBlock("li",{key:l,style:t.normalizeStyle(o.style),class:t.normalizeClass([[o.tiClasses,o.classes,{"ti-selected-item":e.isSelected(l)}],"ti-item"]),onMouseover:s=>e.disabled?!1:e.selectedItem=l},[e.$slots["autocomplete-item"]?t.renderSlot(e.$slots,"autocomplete-item",{key:1,item:o,index:l,performAdd:s=>e.performAddTags(s,void 0,"autocomplete"),selected:e.isSelected(l)},void 0,!0):(t.openBlock(),t.createElementBlock("div",{key:0,onClick:s=>e.performAddTags(o,void 0,"autocomplete")},t.toDisplayString(o.text),9,T))],46,y))),128))]),t.renderSlot(e.$slots,"autocomplete-footer",{},void 0,!0)],34)):t.createCommentVNode("",!0)],6)}const B=i.default(n.default,[["render",$],["__scopeId","data-v-7792d8ec"]]);exports.default=B;
|