@ozdao/prometheus-framework 0.2.156 → 0.2.157
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_virtual/_commonjsHelpers.cjs +1 -1
- package/dist/_virtual/_commonjsHelpers.js +5 -3
- package/dist/_virtual/purify.cjs +1 -0
- package/dist/_virtual/purify.js +4 -0
- package/dist/builder.js +822 -0
- package/dist/builder.mjs +801 -0
- package/dist/{main-D_RRsfEH.mjs → main-Ba3SEUWZ.mjs} +1812 -1774
- package/dist/main-ldzk-jIP.js +92 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/dompurify/dist/purify.cjs +2 -0
- package/dist/node_modules/dompurify/dist/purify.js +531 -0
- package/dist/node_modules/isomorphic-dompurify/browser.cjs +1 -0
- package/dist/node_modules/isomorphic-dompurify/browser.js +7 -0
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/regex.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/regex.js +4 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/rng.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/rng.js +9 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/stringify.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/stringify.js +13 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/v4.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/v4.js +10 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/validate.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +47 -30
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +9 -9
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +10 -10
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +34 -34
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +27 -27
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +58 -0
- 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 -180
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +190 -0
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +9 -7
- 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 +48 -43
- 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 +1 -1
- 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 +41 -63
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- 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 +37 -36
- 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 +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 +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js +3 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +105 -53
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +92 -98
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.js +39 -0
- 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/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.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 +13 -12
- 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 +19 -19
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +7 -7
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +13 -15
- 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 +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 +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.js +34 -33
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +14 -14
- 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/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +10 -10
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +13 -7
- 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 +18 -18
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +11 -11
- 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 +17 -17
- 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 +30 -30
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +9 -9
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/router/spots.js +4 -0
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +17 -17
- 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 +4 -4
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{web-3rnOWrQO.mjs → web-CT2tGYho.mjs} +1 -1
- package/dist/{web-C04IcLk4.js → web-DWjMBTNi.js} +1 -1
- package/package.json +3 -2
- package/src/builder/builder.js +14 -0
- package/src/builder/modes/spa.dev.js +100 -0
- package/src/builder/modes/spa.prod.js +59 -0
- package/src/builder/modes/ssr.dev.js +184 -0
- package/src/builder/modes/ssr.prod.js +76 -0
- package/src/builder/ssr/ssr-render-html.js +57 -0
- package/src/builder/ssr/ssr-transform-webpack-stats.js +54 -0
- package/src/builder/templates/page.html +37 -0
- package/src/builder/templates/screen.html +33 -0
- package/src/builder/utils/hot-reload.js +5 -0
- package/src/builder/webpack/index.js +13 -0
- package/src/builder/webpack/webpack.config.base.js +127 -0
- package/src/builder/webpack/webpack.config.client.js +78 -0
- package/src/builder/webpack/webpack.config.server.js +31 -0
- package/src/builder/webpack/webpack.config.spa.js +80 -0
- package/src/builder/webpack/webpack.config.ssr.js +57 -0
- package/src/components/Breadcrumbs/Breadcrumbs.vue +39 -16
- package/src/components/Field/Field.vue +21 -2
- package/src/components/Popup/Popup.vue +1 -1
- package/src/modules/auth/store/auth.js +1 -2
- package/src/modules/backoffice/components/layouts/Backoffice.vue +36 -62
- package/src/modules/backoffice/components/pages/Dashboard.vue +2 -125
- package/src/modules/backoffice/components/partials/Sidebar.vue +176 -0
- package/src/modules/backoffice/router/admin.js +0 -15
- package/src/modules/backoffice/router/backoffice.js +5 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +6 -1
- package/src/modules/community/components/pages/BlogPost.vue +30 -67
- package/src/modules/community/components/sections/Comments.vue +1 -1
- package/src/modules/community/router/blogposts.js +4 -0
- package/src/modules/constructor/components/elements/Textarea.vue +197 -79
- package/src/modules/constructor/components/sections/Constructor.vue +19 -32
- package/src/modules/constructor/components/sections/Viewer.vue +53 -0
- package/src/modules/globals/components/layouts/Client.vue +21 -7
- package/src/modules/globals/components/layouts/Empty.vue +1 -6
- package/src/modules/globals/components/pages/404.vue +1 -1
- package/src/modules/globals/components/sections/SectionPageTitle.vue +2 -2
- package/src/modules/globals/mixins/mixins.js +129 -97
- package/src/modules/landing/router/landing.js +3 -0
- package/src/modules/marketplace/components/pages/Catalog.vue +1 -1
- package/src/modules/middlewares/client/auth.validation.js +14 -15
- package/src/modules/orders/orders.client.js +4 -2
- package/src/modules/organizations/router/organizations.js +9 -3
- package/src/modules/pages/controllers/factories/pages.factory.js +106 -0
- package/src/modules/pages/controllers/routes/pages.routes.js +24 -0
- package/src/modules/pages/models/page.model.js +18 -11
- package/src/modules/pages/pages.client.js +40 -0
- package/src/modules/pages/pages.server.js +32 -0
- package/src/modules/pages/views/components/blocks/CardPage.vue +123 -0
- package/src/modules/pages/views/components/pages/Page.vue +173 -0
- package/src/modules/pages/views/components/pages/PageEdit.vue +121 -0
- package/src/modules/pages/views/components/pages/Pages.vue +60 -0
- package/src/modules/pages/views/components/partials/SidebarPages.vue +112 -0
- package/src/modules/pages/views/router/pages.backoffice.router.js +46 -0
- package/src/modules/pages/views/router/pages.router.js +25 -0
- package/src/modules/pages/views/store/pages.js +78 -0
- package/src/modules/pages/views/store/pages.store.js +5 -0
- package/src/modules/products/controllers/leftovers.controller.js +1 -1
- package/src/modules/spots/router/spots.js +4 -0
- package/src/styles/base/all.scss +66 -53
- package/dist/index-BshfsiQG.js +0 -220
- package/dist/index-C-8xOJnM.mjs +0 -244
- package/dist/index-C-DW6ra2.js +0 -260
- package/dist/index-CDbtWkBj.js +0 -243
- package/dist/index-D4j29ivg.mjs +0 -261
- package/dist/index-DKtnWDNC.mjs +0 -221
- package/dist/index-DNI4aUP2.js +0 -259
- package/dist/index-Tcyehi73.mjs +0 -260
- package/dist/main-3Vn8SU2y.mjs +0 -14509
- package/dist/main-5IrI2IOV.js +0 -92
- package/dist/main-BFKp44Ze.mjs +0 -14509
- package/dist/main-BF_nMkug.js +0 -92
- package/dist/main-BHr0-Z3t.mjs +0 -14510
- package/dist/main-BY2OvGB9.mjs +0 -14509
- package/dist/main-Bcj0J6tP.mjs +0 -14509
- package/dist/main-Bq5YvSWe.mjs +0 -14509
- package/dist/main-BxHxhrZ_.js +0 -92
- package/dist/main-By5Tbyui.js +0 -92
- package/dist/main-CEoQQpJV.js +0 -92
- package/dist/main-CI9l9xMs.js +0 -92
- package/dist/main-Ckn0Sslr.js +0 -92
- package/dist/main-DBv451oC.js +0 -92
- package/dist/main-DPg58GOU.mjs +0 -14509
- package/dist/main-DTHFR7H_.mjs +0 -14510
- package/dist/main-DxyAONrm.mjs +0 -14438
- package/dist/main-gY_284gJ.js +0 -92
- package/dist/main-wXdocsbd.js +0 -92
- package/dist/middlewares.server.js +0 -19
- package/dist/middlewares.server.mjs +0 -20
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -89
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -95
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -26
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -57
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -83
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -127
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +0 -13
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +0 -77
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -103
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -36
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -44
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +0 -125
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +0 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +0 -47
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +0 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +0 -46
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +0 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +0 -65
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -67
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +0 -30
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +0 -42
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +0 -26
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +0 -42
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +0 -26
- package/dist/queryProcessor-g8208K6g.mjs +0 -178
- package/dist/queryProcessor-haY_gPGg.js +0 -177
- package/dist/web-5eyiz9L7.mjs +0 -54
- package/dist/web-BPUCAST-.mjs +0 -54
- package/dist/web-Be96Xqd4.mjs +0 -54
- package/dist/web-BmdKi_fZ.js +0 -1
- package/dist/web-Bqpk8Mpk.js +0 -1
- package/dist/web-BwHcRwYc.mjs +0 -54
- package/dist/web-BzUFKqzw.js +0 -1
- package/dist/web-CcFPvlkl.js +0 -1
- package/dist/web-CgjTW1bL.js +0 -1
- package/dist/web-Cw0ijzjY.js +0 -1
- package/dist/web-CwTWV4ca.mjs +0 -54
- package/dist/web-DHeZE1jJ.js +0 -1
- package/dist/web-DZUec7pP.js +0 -1
- package/dist/web-Dh669DqQ.mjs +0 -54
- package/dist/web-DkWpHYrh.mjs +0 -54
- package/dist/web-Dt2RCU54.js +0 -1
- package/dist/web-krQQeSb6.mjs +0 -54
- package/dist/web-nqFW_Sd1.mjs +0 -54
- package/src/modules/community/controllers/comments.controller.aggr.js +0 -280
- package/src/modules/community/controllers/comments.controller.populate.js +0 -180
- package/src/modules/constructor/components/elements/H2.vue +0 -102
- package/src/modules/pages/components/pages/Page.vue +0 -174
- package/src/modules/pages/components/pages/PageEdit.vue +0 -159
- package/src/modules/pages/components/pages/Pages.vue +0 -108
- package/src/modules/pages/controllers/pages.controller.js +0 -71
- package/src/modules/pages/router/pages.router.js +0 -15
- package/src/modules/pages/routes/pages.routes.js +0 -30
- package/src/modules/pages/store/pages.js +0 -94
@@ -1,99 +1,217 @@
|
|
1
1
|
<template>
|
2
2
|
<div>
|
3
|
-
<
|
4
|
-
v-
|
5
|
-
|
6
|
-
|
7
|
-
@
|
8
|
-
@
|
9
|
-
|
10
|
-
tabindex="
|
11
|
-
|
3
|
+
<div
|
4
|
+
v-once
|
5
|
+
ref="editableDiv"
|
6
|
+
:contenteditable="true"
|
7
|
+
@input="handleInput"
|
8
|
+
@keydown="handleKeyDown"
|
9
|
+
@mouseup="checkTextSelection"
|
10
|
+
tabindex="0"
|
11
|
+
v-html="props.prop[props.content]"
|
12
|
+
class="editable-div mn-b-thin"
|
12
13
|
:class="{
|
13
|
-
't-main t-semi': prop.type === 'Link'
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
't-main t-semi': prop.type === 'Link',
|
15
|
+
'h3': prop.type === 'H2'
|
16
|
+
}"
|
17
|
+
/>
|
18
|
+
<div v-if="isTextSelected" class="formatting-bar">
|
19
|
+
<button @click="applyFormat('bold')">B</button>
|
20
|
+
<button @click="applyFormat('italic')">I</button>
|
21
|
+
<button @click="createLink">Link</button>
|
22
|
+
</div>
|
18
23
|
</div>
|
19
24
|
</template>
|
20
25
|
|
21
|
-
<script setup
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
26
|
+
<script setup>
|
27
|
+
import { ref, onMounted, nextTick, onUpdated, watchEffect, watch } from 'vue'
|
28
|
+
|
29
|
+
import DOMPurify from 'isomorphic-dompurify';
|
30
|
+
|
31
|
+
const sanitizeConfig = {
|
32
|
+
ALLOWED_TAGS: ['b', 'i', 'a', 'img'],
|
33
|
+
ALLOWED_ATTR: ['href', 'target', 'src']
|
34
|
+
};
|
35
|
+
|
36
|
+
const props = defineProps({
|
37
|
+
prop: Object,
|
38
|
+
content: String,
|
39
|
+
placeholder: String,
|
40
|
+
index: Number,
|
41
|
+
setFocus: Boolean
|
42
|
+
})
|
43
|
+
|
44
|
+
const emit = defineEmits(['deleteBlock', 'updateBlock', 'addBlock', 'focus'])
|
45
|
+
|
46
|
+
const editableDiv = ref(null)
|
47
|
+
const isTextSelected = ref(false)
|
48
|
+
const savedSelection = ref(null)
|
49
|
+
|
50
|
+
function handleInput(event) {
|
51
|
+
const sanitizedContent = sanitizeHTML(event.target.innerHTML)
|
52
|
+
emit('updateBlock', props.prop, { content: sanitizedContent })
|
53
|
+
}
|
54
|
+
|
55
|
+
function handleKeyDown(event) {
|
56
|
+
if (event.key === 'Enter' && !event.shiftKey) {
|
57
|
+
event.preventDefault()
|
58
|
+
const selection = window.getSelection()
|
59
|
+
const range = selection.getRangeAt(0)
|
60
|
+
const newBlockContent = extractContentAfterCursor(range)
|
61
|
+
|
62
|
+
// Update current block content
|
63
|
+
const sanitizedContent = sanitizeHTML(editableDiv.value.innerHTML)
|
64
|
+
emit('updateBlock', props.prop, { content: sanitizedContent })
|
65
|
+
|
66
|
+
// Create new block
|
67
|
+
emit('addBlock', 'Textarea', sanitizeHTML(newBlockContent), props.index)
|
68
|
+
} else if (event.key === 'Backspace' && editableDiv.value.innerHTML.trim() === "") {
|
69
|
+
event.preventDefault()
|
70
|
+
emit('deleteBlock', props.prop, { setCaretToEnd: true })
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
function extractContentAfterCursor(range) {
|
75
|
+
const container = range.startContainer
|
76
|
+
const cursorOffset = range.startOffset
|
77
|
+
|
78
|
+
// Если курсор находится в текстовом узле
|
79
|
+
if (container.nodeType === Node.TEXT_NODE) {
|
80
|
+
const textAfterCursor = container.textContent.slice(cursorOffset)
|
81
|
+
container.textContent = container.textContent.slice(0, cursorOffset)
|
82
|
+
return textAfterCursor
|
83
|
+
}
|
84
|
+
// Если курсор находится между элементами
|
85
|
+
else if (container.nodeType === Node.ELEMENT_NODE) {
|
86
|
+
const tempDiv = document.createElement('div')
|
87
|
+
const childNodes = Array.from(container.childNodes)
|
88
|
+
let foundCursor = false
|
89
|
+
|
90
|
+
childNodes.forEach((node, index) => {
|
91
|
+
if (index === cursorOffset) {
|
92
|
+
foundCursor = true
|
93
|
+
}
|
94
|
+
if (foundCursor) {
|
95
|
+
tempDiv.appendChild(node.cloneNode(true))
|
51
96
|
}
|
52
|
-
|
97
|
+
})
|
98
|
+
|
99
|
+
// Удаляем перенесенные узлы из исходного контейнера
|
100
|
+
while (container.childNodes[cursorOffset]) {
|
101
|
+
container.removeChild(container.childNodes[cursorOffset])
|
53
102
|
}
|
103
|
+
|
104
|
+
return tempDiv.innerHTML
|
54
105
|
}
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
106
|
+
|
107
|
+
return ''
|
108
|
+
}
|
109
|
+
|
110
|
+
function focus(options = {}) {
|
111
|
+
nextTick(() => {
|
112
|
+
editableDiv.value.focus()
|
113
|
+
|
114
|
+
let shouldSetCaretToEnd = options.setCaretToEnd || props.prop.setCaretToEnd
|
115
|
+
|
116
|
+
if (props.prop.setFocus === true && !shouldSetCaretToEnd) {
|
117
|
+
// Для нового блока ставим курсор в начало
|
118
|
+
const range = document.createRange()
|
119
|
+
range.setStart(editableDiv.value, 0)
|
120
|
+
range.collapse(true)
|
121
|
+
const selection = window.getSelection()
|
122
|
+
selection.removeAllRanges()
|
123
|
+
selection.addRange(range)
|
124
|
+
} else {
|
125
|
+
// Для существующего блока или после удаления ставим курсор в конец
|
126
|
+
setCaretToEnd(editableDiv.value)
|
60
127
|
}
|
61
|
-
}
|
62
|
-
|
63
128
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
129
|
+
// Сбрасываем флаги
|
130
|
+
emit('updateBlock', props.prop, { setFocus: false, setCaretToEnd: false })
|
131
|
+
})
|
132
|
+
}
|
133
|
+
onMounted(() => {
|
134
|
+
if (props.setFocus) {
|
135
|
+
nextTick(() => {
|
136
|
+
focus()
|
137
|
+
})
|
70
138
|
}
|
139
|
+
})
|
71
140
|
|
72
|
-
|
73
|
-
|
74
|
-
|
141
|
+
onUpdated(() => {
|
142
|
+
if (props.setFocus) {
|
143
|
+
nextTick(() => {
|
144
|
+
focus()
|
145
|
+
})
|
75
146
|
}
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
147
|
+
})
|
148
|
+
|
149
|
+
function sanitizeHTML(html) {
|
150
|
+
const sanitize = DOMPurify.sanitize(html, sanitizeConfig);
|
151
|
+
return sanitize;
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
function setCaretToEnd(element) {
|
156
|
+
const range = document.createRange()
|
157
|
+
const selection = window.getSelection()
|
158
|
+
range.selectNodeContents(element)
|
159
|
+
range.collapse(false)
|
160
|
+
selection.removeAllRanges()
|
161
|
+
selection.addRange(range)
|
162
|
+
}
|
163
|
+
|
164
|
+
function checkTextSelection() {
|
165
|
+
isTextSelected.value = window.getSelection().toString().length > 0
|
166
|
+
}
|
167
|
+
|
168
|
+
function applyFormat(format) {
|
169
|
+
document.execCommand(format, false, null)
|
170
|
+
}
|
171
|
+
|
172
|
+
function createLink() {
|
173
|
+
const url = prompt('Enter the URL:')
|
174
|
+
if (url) {
|
175
|
+
document.execCommand('createLink', false, url)
|
176
|
+
}
|
177
|
+
}
|
86
178
|
</script>
|
87
179
|
|
88
180
|
|
89
181
|
<style lang="scss">
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
182
|
+
.editable-div {
|
183
|
+
width: 100%;
|
184
|
+
min-height: 1rem;
|
185
|
+
background-color: transparent;
|
186
|
+
outline: none;
|
187
|
+
white-space: pre-wrap;
|
188
|
+
word-wrap: break-word;
|
189
|
+
|
190
|
+
&:empty::before {
|
191
|
+
content: attr(placeholder);
|
192
|
+
color: #999;
|
193
|
+
}
|
194
|
+
|
195
|
+
&:focus {
|
196
|
+
border: 0;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
.formatting-bar {
|
201
|
+
display: flex;
|
202
|
+
gap: 5px;
|
203
|
+
margin-top: 5px;
|
204
|
+
|
205
|
+
button {
|
206
|
+
padding: 2px 5px;
|
207
|
+
background-color: #f0f0f0;
|
208
|
+
border: 1px solid #ccc;
|
209
|
+
border-radius: 3px;
|
210
|
+
cursor: pointer;
|
211
|
+
|
212
|
+
&:hover {
|
213
|
+
background-color: #e0e0e0;
|
97
214
|
}
|
98
215
|
}
|
99
|
-
|
216
|
+
}
|
217
|
+
</style>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
>
|
11
11
|
<div
|
12
12
|
v-for="(block, index) in post.content"
|
13
|
-
:key="
|
13
|
+
:key="block.id"
|
14
14
|
:data-index="index"
|
15
15
|
draggable="true"
|
16
16
|
class="draggable-item pos-relative"
|
@@ -108,9 +108,6 @@
|
|
108
108
|
|
109
109
|
<script setup>
|
110
110
|
import Textarea from '../elements/Textarea.vue';
|
111
|
-
import H2 from '../elements/H2.vue';
|
112
|
-
import Caption from '../elements/Caption.vue';
|
113
|
-
import Bullets from '../elements/Bullets.vue';
|
114
111
|
import ImageUpload from '../elements/ImageUpload.vue';
|
115
112
|
import Embed from '../elements/Embed.vue';
|
116
113
|
import Audio from '../elements/Audio.vue';
|
@@ -119,6 +116,7 @@ import Video from '../elements/Video.vue';
|
|
119
116
|
import Draggable from '@pf/src/components/Draggable/Draggable.vue';
|
120
117
|
|
121
118
|
import { ref, onMounted, watchEffect, computed } from 'vue';
|
119
|
+
import { v4 as uuidv4 } from 'uuid'
|
122
120
|
|
123
121
|
const props = defineProps({
|
124
122
|
content: {
|
@@ -136,10 +134,8 @@ const showMenu = ref(false)
|
|
136
134
|
|
137
135
|
const ComponentMap = {
|
138
136
|
'Textarea': Textarea,
|
139
|
-
'H2':
|
137
|
+
'H2': Textarea,
|
140
138
|
'Link': Textarea,
|
141
|
-
'Bullets': Bullets,
|
142
|
-
'Caption': Caption,
|
143
139
|
'ImageUpload': ImageUpload,
|
144
140
|
'Embed': Embed,
|
145
141
|
'Audio': Audio,
|
@@ -166,9 +162,9 @@ const handleDragEnd = (startIndex, endIndex) => {
|
|
166
162
|
console.log('Drag ended. Start index:', startIndex, 'End index:', endIndex);
|
167
163
|
};
|
168
164
|
|
169
|
-
function handleAddBlock(type = 'Textarea', content = '', index, data, classBlock = '', placeholder = '') {
|
170
|
-
|
165
|
+
function handleAddBlock(type = 'Textarea', content = '', index, data, classBlock = '', placeholder = '', id = uuidv4()) {
|
171
166
|
let blockNew = {
|
167
|
+
id: id,
|
172
168
|
type: type,
|
173
169
|
style: '',
|
174
170
|
class: classBlock,
|
@@ -178,23 +174,12 @@ function handleAddBlock(type = 'Textarea', content = '', index, data, classBlock
|
|
178
174
|
setFocus: true,
|
179
175
|
};
|
180
176
|
|
181
|
-
if (
|
182
|
-
let newBlocks = data.blocks.map(block => ({
|
183
|
-
...blockNew,
|
184
|
-
content: block.content,
|
185
|
-
}));
|
186
|
-
|
187
|
-
let args = [(data.index || index) + 1, 0].concat(newBlocks);
|
188
|
-
|
189
|
-
post.value.content.splice.apply(post.value.content, args);
|
190
|
-
|
191
|
-
const lastBlock = newBlocks[newBlocks.length - 1];
|
192
|
-
} else if (index !== undefined) {
|
177
|
+
if (index !== undefined) {
|
193
178
|
post.value.content.splice(index + 1, 0, blockNew);
|
194
179
|
} else {
|
195
180
|
post.value.content.push(blockNew);
|
196
181
|
}
|
197
|
-
|
182
|
+
|
198
183
|
showControls.value = null
|
199
184
|
emits('update', post.value.content);
|
200
185
|
}
|
@@ -203,23 +188,25 @@ function handleUpdateBlock(block, update) {
|
|
203
188
|
const index = post.value.content.findIndex(item => item === block);
|
204
189
|
|
205
190
|
if (index !== -1) {
|
206
|
-
|
191
|
+
post.value.content[index] = { ...post.value.content[index], ...update };
|
207
192
|
}
|
208
|
-
|
209
193
|
emits('update', post.value.content);
|
210
194
|
}
|
211
195
|
|
196
|
+
function handleDeleteBlock(blockToDelete, options = {}) {
|
197
|
+
const index = post.value.content.findIndex(block => block.id === blockToDelete.id)
|
212
198
|
|
213
|
-
function handleDeleteBlock(block) {
|
214
|
-
let index = post.value.content.findIndex(b => b === block);
|
215
|
-
|
216
|
-
// Не даем удалить первый (нулевой) элемент в конструкторе
|
217
199
|
if (index !== -1 && index !== 0) {
|
218
|
-
post.value.content.splice(index, 1)
|
219
|
-
|
200
|
+
post.value.content.splice(index, 1)
|
201
|
+
|
202
|
+
if (index > 0) {
|
203
|
+
const previousBlock = post.value.content[index - 1]
|
204
|
+
previousBlock.setFocus = true
|
205
|
+
previousBlock.setCaretToEnd = true
|
206
|
+
}
|
220
207
|
}
|
221
|
-
|
222
|
-
emits('update', post.value.content)
|
208
|
+
|
209
|
+
emits('update', post.value.content)
|
223
210
|
}
|
224
211
|
</script>
|
225
212
|
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<template>
|
2
|
+
<section>
|
3
|
+
<component
|
4
|
+
v-for="(block, index) in content"
|
5
|
+
:is="ComponentMap[block.type]"
|
6
|
+
:key="index"
|
7
|
+
:index="index"
|
8
|
+
:component="block"
|
9
|
+
:prop="block"
|
10
|
+
:class="block.class"
|
11
|
+
content="content"
|
12
|
+
v-bind="getBlockProps(block, index)"
|
13
|
+
class="mn-b-regular"
|
14
|
+
/>
|
15
|
+
</section>
|
16
|
+
</template>
|
17
|
+
|
18
|
+
<script setup>
|
19
|
+
import Image from '@pf/src/modules/constructor/components/elements/Image.vue';
|
20
|
+
import VideoPlayer from '@pf/src/modules/constructor/components/elements/VideoPlayer.vue';
|
21
|
+
import Embed from '@pf/src/modules/constructor/components/elements/Embed.vue';
|
22
|
+
|
23
|
+
const props = defineProps([
|
24
|
+
'content'
|
25
|
+
])
|
26
|
+
|
27
|
+
const ComponentMap = {
|
28
|
+
'Textarea': 'p',
|
29
|
+
'H2': 'h2',
|
30
|
+
'Bullets': 'p',
|
31
|
+
'Caption': 'p',
|
32
|
+
'ImageUpload': Image,
|
33
|
+
'Video': VideoPlayer,
|
34
|
+
'Link': 'a',
|
35
|
+
'Embed': Embed
|
36
|
+
};
|
37
|
+
|
38
|
+
function getBlockProps(block, index) {
|
39
|
+
if (block.type === 'Textarea' && index !== 0) {
|
40
|
+
return { innerHTML: block.content, class: "p-big" };
|
41
|
+
} else if (block.type === 'Textarea' && index === 0) {
|
42
|
+
return { innerHTML: block.content, class: "h2" };
|
43
|
+
}
|
44
|
+
else if (block.type === 'H2') {
|
45
|
+
return { innerHTML: block.content, class: "h3" };
|
46
|
+
} else if (block.type === 'Caption') {
|
47
|
+
return { innerHTML: block.content };
|
48
|
+
} else if (block.type === 'ImageUpload') {
|
49
|
+
return { src: block.content };
|
50
|
+
}
|
51
|
+
return {};
|
52
|
+
}
|
53
|
+
</script>
|
@@ -23,6 +23,7 @@
|
|
23
23
|
|
24
24
|
<transition name="moveFromTop" mode="out-in" appear>
|
25
25
|
<Header
|
26
|
+
v-if="!MOBILE_APP"
|
26
27
|
ref="header"
|
27
28
|
class="transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0"
|
28
29
|
:theme="headerTheme"
|
@@ -67,7 +68,7 @@
|
|
67
68
|
</Popup>
|
68
69
|
|
69
70
|
<section
|
70
|
-
v-if="((!FirstUse && MOBILE_APP) || !MOBILE_APP)
|
71
|
+
v-if="((!FirstUse && MOBILE_APP) || !MOBILE_APP)"
|
71
72
|
id="screen"
|
72
73
|
ref="screen"
|
73
74
|
@scroll="handleScroll"
|
@@ -89,8 +90,15 @@
|
|
89
90
|
:data="store.globals.state.error"
|
90
91
|
class="z-index-7"
|
91
92
|
/>
|
92
|
-
|
93
|
-
<!-- <
|
93
|
+
|
94
|
+
<!-- <section v-if="!route.meta?.breadcrumbs?.hide" class="pd-thin pd-b-zero">
|
95
|
+
<Breadcrumbs
|
96
|
+
v-if="!MOBILE_APP"
|
97
|
+
class="bg-light pd-small radius-big"
|
98
|
+
/>
|
99
|
+
</section> -->
|
100
|
+
|
101
|
+
<!-- <Suspense> -->
|
94
102
|
<router-view v-slot="{ Component, route }">
|
95
103
|
<transition @before-enter="scrollTop" name="scaleIn" mode="out-in" appear>
|
96
104
|
<component
|
@@ -100,9 +108,8 @@
|
|
100
108
|
/>
|
101
109
|
</transition>
|
102
110
|
</router-view>
|
103
|
-
<!-- </
|
104
|
-
|
105
|
-
<Footer />
|
111
|
+
<!-- </Suspense> -->
|
112
|
+
<!-- <Footer /> -->
|
106
113
|
</section>
|
107
114
|
|
108
115
|
<BottomNavigation
|
@@ -114,7 +121,7 @@
|
|
114
121
|
|
115
122
|
|
116
123
|
<script setup>
|
117
|
-
import { computed, ref, onMounted, provide, inject, onUnmounted, defineAsyncComponent } from 'vue'
|
124
|
+
import { computed, ref, onMounted, provide, inject, onUnmounted, defineAsyncComponent, onServerPrefetch, onBeforeMount } from 'vue'
|
118
125
|
// Router
|
119
126
|
import { useRoute, useRouter } from 'vue-router'
|
120
127
|
// Store
|
@@ -124,6 +131,7 @@
|
|
124
131
|
import Status from '@pf/src/components/Status/Status.vue'
|
125
132
|
import Sidebar from '@pf/src/components/Sidebar/Sidebar.vue'
|
126
133
|
import Popup from '@pf/src/components/Popup/Popup.vue'
|
134
|
+
import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'
|
127
135
|
import LocationSelection from '@pf/src/components/LocationSelection/LocationSelection.vue'
|
128
136
|
|
129
137
|
import Header from '@pf/src/modules/globals/components/partials/Header.vue'
|
@@ -227,6 +235,12 @@
|
|
227
235
|
/////////////////////////////
|
228
236
|
// MOUNTED
|
229
237
|
/////////////////////////////
|
238
|
+
// if (typeof window === 'undefined') {
|
239
|
+
// show.value = true
|
240
|
+
// } else {
|
241
|
+
// show.value = false
|
242
|
+
// }
|
243
|
+
|
230
244
|
onMounted(async () => {
|
231
245
|
await getFirstUse()
|
232
246
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<div>
|
3
|
-
<header class="
|
3
|
+
<header class="pd-medium flex-v-center flex-nowrap flex">
|
4
4
|
<h1 class="mn-r-auto">{{ title }}</h1>
|
5
5
|
|
6
6
|
<template
|
@@ -31,7 +31,7 @@
|
|
31
31
|
:selected="tabs_current"
|
32
32
|
@update:selected="updateTabsCurrent"
|
33
33
|
:tabs="tabs"
|
34
|
-
class="w-100 t-nowrap o-scroll h5"
|
34
|
+
class="br-t br-solid br-black-transp-10 w-100 t-nowrap o-scroll h5"
|
35
35
|
/>
|
36
36
|
</div>
|
37
37
|
</template>
|