@ozdao/prometheus-framework 0.2.110 → 0.2.112

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  3. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -0
  4. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +121 -0
  5. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +1 -0
  6. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +1 -0
  7. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -73
  9. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +73 -1
  11. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -103
  13. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  15. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
  17. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  18. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
  19. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -0
  38. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +13 -0
  39. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +1 -0
  40. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +1 -0
  41. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +1 -4
  43. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/landing/landing.client.js +6 -4
  45. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  49. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  57. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
  59. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  61. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +6 -6
  83. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -0
  84. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +102 -0
  85. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +1 -0
  86. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +1 -0
  87. package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/users/users.client.js +8 -6
  89. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  91. package/dist/style.css +1 -1
  92. package/package.json +1 -1
  93. package/src/components/DatePicker/Calendar.vue +296 -0
  94. package/src/modules/landing/components/elements/AnimatedGrid.vue +31 -0
  95. package/src/modules/landing/components/sections/HeroSection.vue +16 -14
  96. package/src/modules/landing/components/sections/MobileApp.vue +8 -33
  97. package/src/modules/landing/components/sections/SectionHeroToken.vue +18 -45
  98. package/src/modules/landing/landing.client.js +3 -1
  99. package/src/modules/organizations/components/pages/Members.vue +1 -1
  100. package/src/modules/users/components/blocks/CardUser.vue +3 -3
  101. package/src/modules/users/components/sections/FeaturedUsers.vue +76 -14
  102. package/src/modules/users/users.client.js +5 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../Tooltip/Tooltip.vue.cjs"),a={class:"bg-grey pd-medium radius-big"},c={key:0,class:"mn-b-small flex-v-center flex-nowrap flex"},s={key:0,class:"mn-r-thin t-medium p-big"},u=["onClick"],d=e.createElementVNode("p",{class:"bg-main radius-small t-center i-medium"},"i",-1),m={key:1,class:"w-100"},k={__name:"Block",props:{title:{type:String,default:null},tooltip:{type:String,default:null},actions:{type:Array,default:null},placeholder:{type:String,default:"Nothing here"},options:{type:Object,default:{theme:"white"}}},setup(t){e.useSlots();const r=(n,o={})=>n?n(o).some(l=>Array.isArray(l.children)?!!l.children.length:l.type!==e.Comment):!1;return(n,o)=>(e.openBlock(),e.createElementBlock("div",a,[t.title||t.actions?(e.openBlock(),e.createElementBlock("div",c,[t.title?(e.openBlock(),e.createElementBlock("p",s,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,l=>(e.openBlock(),e.createElementBlock("button",{onClick:l.function,class:e.normalizeClass(["pd-thin button-delete button",l.class||"bg-main radius-small t-center i-medium"])},e.toDisplayString(l.label),11,u))),256)),t.tooltip?(e.openBlock(),e.createBlock(i.default,{key:1,text:t.tooltip},{default:e.withCtx(()=>[d]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r(n.$slots.default)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.placeholder),1)),e.renderSlot(n.$slots,"default")]))}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../Tooltip/Tooltip.vue2.cjs"),a={class:"bg-grey pd-medium radius-big"},c={key:0,class:"mn-b-small flex-v-center flex-nowrap flex"},s={key:0,class:"mn-r-thin t-medium p-big"},u=["onClick"],d=e.createElementVNode("p",{class:"bg-main radius-small t-center i-medium"},"i",-1),m={key:1,class:"w-100"},k={__name:"Block",props:{title:{type:String,default:null},tooltip:{type:String,default:null},actions:{type:Array,default:null},placeholder:{type:String,default:"Nothing here"},options:{type:Object,default:{theme:"white"}}},setup(t){e.useSlots();const r=(n,o={})=>n?n(o).some(l=>Array.isArray(l.children)?!!l.children.length:l.type!==e.Comment):!1;return(n,o)=>(e.openBlock(),e.createElementBlock("div",a,[t.title||t.actions?(e.openBlock(),e.createElementBlock("div",c,[t.title?(e.openBlock(),e.createElementBlock("p",s,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,l=>(e.openBlock(),e.createElementBlock("button",{onClick:l.function,class:e.normalizeClass(["pd-thin button-delete button",l.class||"bg-main radius-small t-center i-medium"])},e.toDisplayString(l.label),11,u))),256)),t.tooltip?(e.openBlock(),e.createBlock(i.default,{key:1,text:t.tooltip},{default:e.withCtx(()=>[d]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r(n.$slots.default)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.placeholder),1)),e.renderSlot(n.$slots,"default")]))}};exports.default=k;
@@ -1,5 +1,5 @@
1
1
  import { useSlots as u, openBlock as l, createElementBlock as n, toDisplayString as o, createCommentVNode as r, Fragment as c, renderList as d, normalizeClass as m, createBlock as h, withCtx as f, renderSlot as y, createElementVNode as p, Comment as g } from "vue";
2
- import b from "../Tooltip/Tooltip.vue.js";
2
+ import b from "../Tooltip/Tooltip.vue2.js";
3
3
  const k = { class: "bg-grey pd-medium radius-big" }, C = {
4
4
  key: 0,
5
5
  class: "mn-b-small flex-v-center flex-nowrap flex"
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Marquee.vue2.cjs");const L={class:"marquee","aria-hidden":!0},N={__name:"Marquee",props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:Array,default:()=>[255,255,255]},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume"],setup(i,{emit:M}){const t=i,l=M,c=e.ref(!1),h=e.ref(0),s=e.ref(0),g=e.ref(0),v=e.ref(null),n=e.ref("100%"),d=e.ref(0),f=e.ref(0),o=e.ref("100%"),y=e.ref(0),C=e.ref(0),k=e.ref("200px"),m=e.ref(!1),r=e.ref(null),u=e.ref(null),p=async()=>{await $(),h.value++},$=async()=>{t.vertical&&(m.value=!0),setInterval(()=>{if(n.value="0%",o.value="0%",r.value!==null&&u.value!==null)if(r.value&&u.value)if(t.vertical&&"clientHeight"in r.value&&"clientHeight"in u.value){C.value=r.value.clientHeight,y.value=u.value.clientHeight;const a=Math.ceil(y.value/C.value);return s.value=isFinite(a)?a:0,m.value=!1,s.value}else if(!t.vertical&&"clientWidth"in r.value&&"clientWidth"in u.value){f.value=r.value.clientWidth,d.value=u.value.clientWidth;const a=Math.ceil(d.value/f.value);return s.value=isFinite(a)?a:0,s.value}else return n.value="100%",o.value="100%",0;else return n.value="100%",o.value="100%",0;else return n.value="100%",o.value="100%",0},100)},O=()=>{t.pauseOnHover&&l("onPause")},q=()=>{t.pauseOnHover&&l("onResume")},w=()=>{t.pauseOnClick&&l("onPause")},S=()=>{t.pauseOnClick&&l("onResume")},H=e.computed(()=>({"--loops":`${t.loop===0?"infinite":t.loop}`,"--duration":`${t.duration}s`,"--delay":`${t.delay}s`,"--direction":`${t.direction}`,"--pauseOnHover":`${t.pauseOnHover?"paused":"running"}`,"--pauseOnClick":`${t.pauseOnClick?"paused":"running"}`,"--pauseAnimation":`${t.vertical&&m.value||t.pause?"paused":"running"}`,"--gradient-color":`rgba(${t.gradientColor}, 1), rgba(${t.gradientColor}, 0)`,"--gradient-length":`${k.value}`,"--min-width":`${n.value}`,"--min-height":`${o.value}`,"--orientation":t.vertical?"scrollY":"scrollX"})),b=async()=>{t.vertical?(o.value="100%",n.value="auto"):(o.value="auto",n.value="100%"),t.gradient&&t.gradientLength&&(k.value=t.gradientLength),t.clone&&(await $(),p()),c.value=!0};return e.onMounted(async()=>{b(),v.value=setInterval(()=>{g.value++,t.loop!==0&&g.value===t.loop&&(l("onComplete"),clearInterval(v.value)),l("onLoopComplete")},t.duration*1e3)}),e.onBeforeUnmount(()=>{clearInterval(v.value)}),e.watch(f,async()=>{t.clone&&p()}),e.watch(d,async()=>{t.clone&&p()}),e.watch(()=>t.pause,(a,B)=>{a!==B&&l(a?"onResume":"onPause")}),(a,B)=>c.value?(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["vue3-marquee",{vertical:i.vertical,horizontal:!i.vertical}]),style:e.normalizeStyle(H.value),key:h.value,onMouseenter:O,onMouseleave:q,onMousedown:w,onMouseup:S},[e.createElementVNode("div",{class:e.normalizeClass(["transparent-overlay",{vertical:i.vertical,horizontal:!i.vertical,overlay:i.gradient}]),ref_key:"marqueeOverlayContainer",ref:u,"aria-hidden":!0},null,2),e.createElementVNode("div",{class:"marquee",ref_key:"marqueeContent",ref:r},[e.renderSlot(a.$slots,"default")],512),e.createElementVNode("div",L,[e.renderSlot(a.$slots,"default")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,E=>(e.openBlock(),e.createElementBlock("div",{key:E,"aria-hidden":!0,class:"marquee cloned"},[e.renderSlot(a.$slots,"default")]))),128))],38)):e.createCommentVNode("",!0)}};exports.default=N;
@@ -0,0 +1,121 @@
1
+ import { ref as a, computed as R, onMounted as W, onBeforeUnmount as E, watch as h, openBlock as y, createElementBlock as g, normalizeClass as L, normalizeStyle as U, createElementVNode as C, renderSlot as $, Fragment as D, renderList as K, createCommentVNode as V } from "vue";
2
+ import "./Marquee.vue2.js";
3
+ const X = {
4
+ class: "marquee",
5
+ "aria-hidden": !0
6
+ }, x = {
7
+ __name: "Marquee",
8
+ props: {
9
+ vertical: { type: Boolean, default: !1 },
10
+ direction: { type: String, default: "normal" },
11
+ duration: { type: Number, default: 20 },
12
+ delay: { type: Number, default: 0 },
13
+ loop: { type: Number, default: 0 },
14
+ clone: { type: Boolean, default: !1 },
15
+ gradient: { type: Boolean, default: !1 },
16
+ gradientColor: { type: Array, default: () => [255, 255, 255] },
17
+ gradientLength: { type: String },
18
+ pauseOnHover: { type: Boolean, default: !1 },
19
+ pauseOnClick: { type: Boolean, default: !1 },
20
+ pause: { type: Boolean, default: !1 }
21
+ },
22
+ emits: ["onComplete", "onLoopComplete", "onPause", "onResume"],
23
+ setup(i, { emit: A }) {
24
+ const e = i, n = A, c = a(!1), k = a(0), s = a(0), O = a(0), v = a(null), l = a("100%"), d = a(0), f = a(0), o = a("100%"), M = a(0), q = a(0), B = a("200px"), p = a(!1), u = a(null), r = a(null), m = async () => {
25
+ await H(), k.value++;
26
+ }, H = async () => {
27
+ e.vertical && (p.value = !0), setInterval(() => {
28
+ if (l.value = "0%", o.value = "0%", u.value !== null && r.value !== null)
29
+ if (u.value && r.value)
30
+ if (e.vertical && "clientHeight" in u.value && "clientHeight" in r.value) {
31
+ q.value = u.value.clientHeight, M.value = r.value.clientHeight;
32
+ const t = Math.ceil(M.value / q.value);
33
+ return s.value = isFinite(t) ? t : 0, p.value = !1, s.value;
34
+ } else if (!e.vertical && "clientWidth" in u.value && "clientWidth" in r.value) {
35
+ f.value = u.value.clientWidth, d.value = r.value.clientWidth;
36
+ const t = Math.ceil(d.value / f.value);
37
+ return s.value = isFinite(t) ? t : 0, s.value;
38
+ } else
39
+ return l.value = "100%", o.value = "100%", 0;
40
+ else
41
+ return l.value = "100%", o.value = "100%", 0;
42
+ else
43
+ return l.value = "100%", o.value = "100%", 0;
44
+ }, 100);
45
+ }, S = () => {
46
+ e.pauseOnHover && n("onPause");
47
+ }, b = () => {
48
+ e.pauseOnHover && n("onResume");
49
+ }, F = () => {
50
+ e.pauseOnClick && n("onPause");
51
+ }, I = () => {
52
+ e.pauseOnClick && n("onResume");
53
+ }, N = R(() => ({
54
+ "--loops": `${e.loop === 0 ? "infinite" : e.loop}`,
55
+ "--duration": `${e.duration}s`,
56
+ "--delay": `${e.delay}s`,
57
+ "--direction": `${e.direction}`,
58
+ "--pauseOnHover": `${e.pauseOnHover ? "paused" : "running"}`,
59
+ "--pauseOnClick": `${e.pauseOnClick ? "paused" : "running"}`,
60
+ "--pauseAnimation": `${e.vertical && p.value || e.pause ? "paused" : "running"}`,
61
+ "--gradient-color": `rgba(${e.gradientColor}, 1), rgba(${e.gradientColor}, 0)`,
62
+ "--gradient-length": `${B.value}`,
63
+ "--min-width": `${l.value}`,
64
+ "--min-height": `${o.value}`,
65
+ "--orientation": e.vertical ? "scrollY" : "scrollX"
66
+ })), P = async () => {
67
+ e.vertical ? (o.value = "100%", l.value = "auto") : (o.value = "auto", l.value = "100%"), e.gradient && e.gradientLength && (B.value = e.gradientLength), e.clone && (await H(), m()), c.value = !0;
68
+ };
69
+ return W(async () => {
70
+ P(), v.value = setInterval(() => {
71
+ O.value++, e.loop !== 0 && O.value === e.loop && (n("onComplete"), clearInterval(v.value)), n("onLoopComplete");
72
+ }, e.duration * 1e3);
73
+ }), E(() => {
74
+ clearInterval(v.value);
75
+ }), h(f, async () => {
76
+ e.clone && m();
77
+ }), h(d, async () => {
78
+ e.clone && m();
79
+ }), h(
80
+ () => e.pause,
81
+ (t, w) => {
82
+ t !== w && n(t ? "onResume" : "onPause");
83
+ }
84
+ ), (t, w) => c.value ? (y(), g("div", {
85
+ class: L(["vue3-marquee", { vertical: i.vertical, horizontal: !i.vertical }]),
86
+ style: U(N.value),
87
+ key: k.value,
88
+ onMouseenter: S,
89
+ onMouseleave: b,
90
+ onMousedown: F,
91
+ onMouseup: I
92
+ }, [
93
+ C("div", {
94
+ class: L(["transparent-overlay", { vertical: i.vertical, horizontal: !i.vertical, overlay: i.gradient }]),
95
+ ref_key: "marqueeOverlayContainer",
96
+ ref: r,
97
+ "aria-hidden": !0
98
+ }, null, 2),
99
+ C("div", {
100
+ class: "marquee",
101
+ ref_key: "marqueeContent",
102
+ ref: u
103
+ }, [
104
+ $(t.$slots, "default")
105
+ ], 512),
106
+ C("div", X, [
107
+ $(t.$slots, "default")
108
+ ]),
109
+ (y(!0), g(D, null, K(s.value, (z) => (y(), g("div", {
110
+ key: z,
111
+ "aria-hidden": !0,
112
+ class: "marquee cloned"
113
+ }, [
114
+ $(t.$slots, "default")
115
+ ]))), 128))
116
+ ], 38)) : V("", !0);
117
+ }
118
+ };
119
+ export {
120
+ x as default
121
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),p=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");require("./Popup.vue2.cjs");const m={key:"popup-content",class:"pd-small popup-wrapper"},v={class:"mn-b-small"},f={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String,title:String},emits:["close-popup"],setup(t,{emit:l}){const a=t,i=l;function n(){i("close-popup")}e.watch(()=>a.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const u={messages:{en:{},ru:{}}};return p.useI18n(u),(o,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[t.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.createElementVNode("section",e.mergeProps({class:"pos-relative z-index-4"},o.$attrs,{class:o.$attrs.class}),[e.createElementVNode("h4",v,e.toDisplayString(t.title),1),e.createVNode(d.default,{onClick:s[0]||(s[0]=c=>n()),class:"cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"}),e.renderSlot(o.$slots,"default")],16)]),_:3}),e.createElementVNode("div",{onClick:s[1]||(s[1]=c=>n()),class:e.normalizeClass([{active:t.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:3}))}};exports.default=f;
1
+ "use strict";
@@ -1,73 +1 @@
1
- import { watch as v, openBlock as s, createBlock as l, Transition as a, withCtx as i, Teleport as y, createElementBlock as P, createVNode as p, createElementVNode as n, mergeProps as k, toDisplayString as g, renderSlot as T, normalizeClass as $, createCommentVNode as u } from "vue";
2
- import { useRoute as b, useRouter as x } from "vue-router";
3
- import { useI18n as C } from "vue-i18n";
4
- import O from "../../modules/icons/navigation/IconCross.vue.js";
5
- import "./Popup.vue2.js";
6
- const z = {
7
- key: "popup-content",
8
- class: "pd-small popup-wrapper"
9
- }, B = { class: "mn-b-small" }, L = {
10
- __name: "Popup",
11
- props: {
12
- isPopupOpen: {
13
- type: Boolean,
14
- default: !1
15
- },
16
- style: String,
17
- title: String
18
- },
19
- emits: ["close-popup"],
20
- setup(e, { emit: m }) {
21
- const c = e, d = m;
22
- function r() {
23
- d("close-popup");
24
- }
25
- return v(() => c.isPopupOpen, (t) => {
26
- t ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
27
- }), b(), x(), C({
28
- messages: {
29
- en: {},
30
- ru: {}
31
- }
32
- }), (t, o) => (s(), l(a, {
33
- name: "TransitionTranslateY",
34
- appear: ""
35
- }, {
36
- default: i(() => [
37
- e.isPopupOpen ? (s(), l(y, {
38
- key: 0,
39
- to: "body"
40
- }, [
41
- e.isPopupOpen ? (s(), P("div", z, [
42
- p(a, {
43
- name: "TransitionTranslateY",
44
- mode: "out-in"
45
- }, {
46
- default: i(() => [
47
- n("section", k({ class: "pos-relative z-index-4" }, t.$attrs, {
48
- class: t.$attrs.class
49
- }), [
50
- n("h4", B, g(e.title), 1),
51
- p(O, {
52
- onClick: o[0] || (o[0] = (f) => r()),
53
- class: "cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"
54
- }),
55
- T(t.$slots, "default")
56
- ], 16)
57
- ]),
58
- _: 3
59
- }),
60
- n("div", {
61
- onClick: o[1] || (o[1] = (f) => r()),
62
- class: $([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
63
- }, null, 2)
64
- ])) : u("", !0)
65
- ])) : u("", !0)
66
- ]),
67
- _: 3
68
- }));
69
- }
70
- };
71
- export {
72
- L as default
73
- };
1
+
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),p=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");require("./Popup.vue.cjs");const m={key:"popup-content",class:"pd-small popup-wrapper"},v={class:"mn-b-small"},f={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String,title:String},emits:["close-popup"],setup(t,{emit:l}){const a=t,i=l;function n(){i("close-popup")}e.watch(()=>a.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const u={messages:{en:{},ru:{}}};return p.useI18n(u),(o,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[t.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.createElementVNode("section",e.mergeProps({class:"pos-relative z-index-4"},o.$attrs,{class:o.$attrs.class}),[e.createElementVNode("h4",v,e.toDisplayString(t.title),1),e.createVNode(d.default,{onClick:s[0]||(s[0]=c=>n()),class:"cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"}),e.renderSlot(o.$slots,"default")],16)]),_:3}),e.createElementVNode("div",{onClick:s[1]||(s[1]=c=>n()),class:e.normalizeClass([{active:t.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:3}))}};exports.default=f;
@@ -1 +1,73 @@
1
-
1
+ import { watch as v, openBlock as s, createBlock as l, Transition as a, withCtx as i, Teleport as y, createElementBlock as P, createVNode as p, createElementVNode as n, mergeProps as k, toDisplayString as g, renderSlot as T, normalizeClass as $, createCommentVNode as u } from "vue";
2
+ import { useRoute as b, useRouter as x } from "vue-router";
3
+ import { useI18n as C } from "vue-i18n";
4
+ import O from "../../modules/icons/navigation/IconCross.vue.js";
5
+ import "./Popup.vue.js";
6
+ const z = {
7
+ key: "popup-content",
8
+ class: "pd-small popup-wrapper"
9
+ }, B = { class: "mn-b-small" }, L = {
10
+ __name: "Popup",
11
+ props: {
12
+ isPopupOpen: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ style: String,
17
+ title: String
18
+ },
19
+ emits: ["close-popup"],
20
+ setup(e, { emit: m }) {
21
+ const c = e, d = m;
22
+ function r() {
23
+ d("close-popup");
24
+ }
25
+ return v(() => c.isPopupOpen, (t) => {
26
+ t ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
27
+ }), b(), x(), C({
28
+ messages: {
29
+ en: {},
30
+ ru: {}
31
+ }
32
+ }), (t, o) => (s(), l(a, {
33
+ name: "TransitionTranslateY",
34
+ appear: ""
35
+ }, {
36
+ default: i(() => [
37
+ e.isPopupOpen ? (s(), l(y, {
38
+ key: 0,
39
+ to: "body"
40
+ }, [
41
+ e.isPopupOpen ? (s(), P("div", z, [
42
+ p(a, {
43
+ name: "TransitionTranslateY",
44
+ mode: "out-in"
45
+ }, {
46
+ default: i(() => [
47
+ n("section", k({ class: "pos-relative z-index-4" }, t.$attrs, {
48
+ class: t.$attrs.class
49
+ }), [
50
+ n("h4", B, g(e.title), 1),
51
+ p(O, {
52
+ onClick: o[0] || (o[0] = (f) => r()),
53
+ class: "cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"
54
+ }),
55
+ T(t.$slots, "default")
56
+ ], 16)
57
+ ]),
58
+ _: 3
59
+ }),
60
+ n("div", {
61
+ onClick: o[1] || (o[1] = (f) => r()),
62
+ class: $([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
63
+ }, null, 2)
64
+ ])) : u("", !0)
65
+ ])) : u("", !0)
66
+ ]),
67
+ _: 3
68
+ }));
69
+ }
70
+ };
71
+ export {
72
+ L as default
73
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");require("./Select.vue2.cjs");const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},b={class:"w-100"},w=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,placeholder:{type:String,default:"Please select an item"},select:[String,Object],property:String,options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(n,{emit:m}){let f=y.default;const i=m,t=n,a=e.ref(!1),o=e.ref(t.property?d(t.select,t.property,t.options):t.select),v=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options);e.watch(()=>t.select,l=>{o.value=t.property?d(t.select,t.property,t.options):t.select});const u=()=>{a.value=!a.value,i(a.value?"focus":"blur")};function k(){a.value=!1}const h=l=>{o.value=l,u(),t.property?i("update:select",o.value[t.property]):i("update:select",o.value)};function d(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(u,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[n.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(n.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",b,[e.createElementVNode("span",null,e.toDisplayString((c=o.value)!=null&&c.name?(s=o.value)==null?void 0:s.name:o.value||n.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,w))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),k]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[n.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(n.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-bf25c24d"]]);exports.default=E;
1
+ "use strict";
@@ -1,103 +1 @@
1
- import { ref as y, computed as M, watch as N, openBlock as s, createElementBlock as n, Fragment as b, withDirectives as k, withModifiers as w, normalizeClass as S, createElementVNode as u, toDisplayString as d, createCommentVNode as m, createVNode as _, Transition as g, withCtx as x, renderList as T, vShow as $, unref as z } from "vue";
2
- import D from "../FieldPhone/click-outside.js";
3
- import "./Select.vue2.js";
4
- import E from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const L = {
6
- key: 0,
7
- class: "t-transp mn-r-small"
8
- }, A = { class: "w-100" }, F = ["onClick"], I = {
9
- key: 0,
10
- class: "w-100"
11
- }, P = {
12
- key: 0,
13
- class: "mn-t-thin invalid-feedback"
14
- }, Y = {
15
- __name: "Select",
16
- props: {
17
- label: String,
18
- placeholder: { type: String, default: "Please select an item" },
19
- select: [String, Object],
20
- property: String,
21
- options: { type: Array, default: () => [] },
22
- validation: Boolean
23
- },
24
- emits: [
25
- "update:select",
26
- "focus",
27
- "blur"
28
- ],
29
- setup(o, { emit: C }) {
30
- let O = D;
31
- const p = C, e = o, c = y(!1), l = y(
32
- e.property ? v(e.select, e.property, e.options) : e.select
33
- ), B = M(() => e.select ? e.options.filter((t) => t !== e.select) : e.options);
34
- N(() => e.select, (t) => {
35
- l.value = e.property ? v(e.select, e.property, e.options) : e.select;
36
- });
37
- const f = () => {
38
- c.value = !c.value, p(c.value ? "focus" : "blur");
39
- };
40
- function V() {
41
- c.value = !1;
42
- }
43
- const j = (t) => {
44
- l.value = t, f(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
45
- };
46
- function v(t, h, i) {
47
- for (const a of i)
48
- if (a[h] === t || a === t)
49
- return a;
50
- return null;
51
- }
52
- return (t, h) => {
53
- var i, a;
54
- return s(), n(b, null, [
55
- k((s(), n("div", {
56
- onClick: w(f, ["stop"]),
57
- class: S([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
58
- }, [
59
- o.label ? (s(), n("div", L, [
60
- u("span", null, d(o.label), 1)
61
- ])) : m("", !0),
62
- u("li", A, [
63
- u("span", null, d((i = l.value) != null && i.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
64
- ]),
65
- _(g, {
66
- mode: "out-in",
67
- name: "TransitionTranslateY"
68
- }, {
69
- default: x(() => [
70
- k(u("ul", {
71
- class: S([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
72
- style: { "min-width": "max-content" }
73
- }, [
74
- (s(!0), n(b, null, T(B.value, (r) => (s(), n("li", {
75
- onClick: w((q) => j(r), ["stop"])
76
- }, [
77
- r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
78
- ], 8, F))), 256))
79
- ], 2), [
80
- [$, c.value]
81
- ])
82
- ]),
83
- _: 1
84
- })
85
- ], 2)), [
86
- [z(O), V]
87
- ]),
88
- _(g, {
89
- mode: "out-in",
90
- name: "fade"
91
- }, {
92
- default: x(() => [
93
- o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
94
- ]),
95
- _: 1
96
- })
97
- ], 64);
98
- };
99
- }
100
- }, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-bf25c24d"]]);
101
- export {
102
- Q as default
103
- };
1
+
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");require("./Select.vue.cjs");const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},b={class:"w-100"},w=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,placeholder:{type:String,default:"Please select an item"},select:[String,Object],property:String,options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(n,{emit:m}){let f=y.default;const i=m,t=n,a=e.ref(!1),o=e.ref(t.property?d(t.select,t.property,t.options):t.select),v=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options);e.watch(()=>t.select,l=>{o.value=t.property?d(t.select,t.property,t.options):t.select});const u=()=>{a.value=!a.value,i(a.value?"focus":"blur")};function k(){a.value=!1}const h=l=>{o.value=l,u(),t.property?i("update:select",o.value[t.property]):i("update:select",o.value)};function d(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(u,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[n.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(n.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",b,[e.createElementVNode("span",null,e.toDisplayString((c=o.value)!=null&&c.name?(s=o.value)==null?void 0:s.name:o.value||n.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,w))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),k]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[n.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(n.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-bf25c24d"]]);exports.default=E;
@@ -1 +1,103 @@
1
-
1
+ import { ref as y, computed as M, watch as N, openBlock as s, createElementBlock as n, Fragment as b, withDirectives as k, withModifiers as w, normalizeClass as S, createElementVNode as u, toDisplayString as d, createCommentVNode as m, createVNode as _, Transition as g, withCtx as x, renderList as T, vShow as $, unref as z } from "vue";
2
+ import D from "../FieldPhone/click-outside.js";
3
+ import "./Select.vue.js";
4
+ import E from "../../../../_virtual/_plugin-vue_export-helper.js";
5
+ const L = {
6
+ key: 0,
7
+ class: "t-transp mn-r-small"
8
+ }, A = { class: "w-100" }, F = ["onClick"], I = {
9
+ key: 0,
10
+ class: "w-100"
11
+ }, P = {
12
+ key: 0,
13
+ class: "mn-t-thin invalid-feedback"
14
+ }, Y = {
15
+ __name: "Select",
16
+ props: {
17
+ label: String,
18
+ placeholder: { type: String, default: "Please select an item" },
19
+ select: [String, Object],
20
+ property: String,
21
+ options: { type: Array, default: () => [] },
22
+ validation: Boolean
23
+ },
24
+ emits: [
25
+ "update:select",
26
+ "focus",
27
+ "blur"
28
+ ],
29
+ setup(o, { emit: C }) {
30
+ let O = D;
31
+ const p = C, e = o, c = y(!1), l = y(
32
+ e.property ? v(e.select, e.property, e.options) : e.select
33
+ ), B = M(() => e.select ? e.options.filter((t) => t !== e.select) : e.options);
34
+ N(() => e.select, (t) => {
35
+ l.value = e.property ? v(e.select, e.property, e.options) : e.select;
36
+ });
37
+ const f = () => {
38
+ c.value = !c.value, p(c.value ? "focus" : "blur");
39
+ };
40
+ function V() {
41
+ c.value = !1;
42
+ }
43
+ const j = (t) => {
44
+ l.value = t, f(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
45
+ };
46
+ function v(t, h, i) {
47
+ for (const a of i)
48
+ if (a[h] === t || a === t)
49
+ return a;
50
+ return null;
51
+ }
52
+ return (t, h) => {
53
+ var i, a;
54
+ return s(), n(b, null, [
55
+ k((s(), n("div", {
56
+ onClick: w(f, ["stop"]),
57
+ class: S([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
58
+ }, [
59
+ o.label ? (s(), n("div", L, [
60
+ u("span", null, d(o.label), 1)
61
+ ])) : m("", !0),
62
+ u("li", A, [
63
+ u("span", null, d((i = l.value) != null && i.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
64
+ ]),
65
+ _(g, {
66
+ mode: "out-in",
67
+ name: "TransitionTranslateY"
68
+ }, {
69
+ default: x(() => [
70
+ k(u("ul", {
71
+ class: S([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
72
+ style: { "min-width": "max-content" }
73
+ }, [
74
+ (s(!0), n(b, null, T(B.value, (r) => (s(), n("li", {
75
+ onClick: w((q) => j(r), ["stop"])
76
+ }, [
77
+ r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
78
+ ], 8, F))), 256))
79
+ ], 2), [
80
+ [$, c.value]
81
+ ])
82
+ ]),
83
+ _: 1
84
+ })
85
+ ], 2)), [
86
+ [z(O), V]
87
+ ]),
88
+ _(g, {
89
+ mode: "out-in",
90
+ name: "fade"
91
+ }, {
92
+ default: x(() => [
93
+ o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
94
+ ]),
95
+ _: 1
96
+ })
97
+ ], 64);
98
+ };
99
+ }
100
+ }, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-bf25c24d"]]);
101
+ export {
102
+ Q as default
103
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Tooltip.vue2.cjs");const s=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),a={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(n){const l=e.ref(!1),t=e.reactive({position:"absolute",width:"max-content",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function i(o){l.value=!0,t.left=`${o.clientX/100+10}px`,t.top=`${o.clientY/100+10}px`,t.display="block"}function r(){l.value=!1,t.display="none"}return(o,p)=>(e.openBlock(),e.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:i,onMouseleave:r},[e.renderSlot(o.$slots,"default",{},void 0,!0),e.createElementVNode("div",{class:"tooltip-content",style:e.normalizeStyle(t)},e.toDisplayString(n.text),5)],32))}},u=s.default(a,[["__scopeId","data-v-f89d5a93"]]);exports.default=u;
1
+ "use strict";
@@ -1,45 +1 @@
1
- import { ref as r, reactive as p, openBlock as s, createElementBlock as a, renderSlot as c, createElementVNode as d, normalizeStyle as u, toDisplayString as f } from "vue";
2
- import "./Tooltip.vue2.js";
3
- import x from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = {
5
- __name: "Tooltip",
6
- props: {
7
- text: {
8
- type: String,
9
- required: !0
10
- }
11
- },
12
- setup(n) {
13
- const o = r(!1), e = p({
14
- position: "absolute",
15
- width: "max-content",
16
- zIndex: 1e3,
17
- background: "#333",
18
- color: "#fff",
19
- padding: "5px 10px",
20
- borderRadius: "3px",
21
- fontSize: "14px",
22
- display: "none"
23
- });
24
- function i(t) {
25
- o.value = !0, e.left = `${t.clientX / 100 + 10}px`, e.top = `${t.clientY / 100 + 10}px`, e.display = "block";
26
- }
27
- function l() {
28
- o.value = !1, e.display = "none";
29
- }
30
- return (t, _) => (s(), a("div", {
31
- class: "cursor-pointer tooltip-container",
32
- onMouseover: i,
33
- onMouseleave: l
34
- }, [
35
- c(t.$slots, "default", {}, void 0, !0),
36
- d("div", {
37
- class: "tooltip-content",
38
- style: u(e)
39
- }, f(n.text), 5)
40
- ], 32));
41
- }
42
- }, b = /* @__PURE__ */ x(m, [["__scopeId", "data-v-f89d5a93"]]);
43
- export {
44
- b as default
45
- };
1
+
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Tooltip.vue.cjs");const s=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),a={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(n){const l=e.ref(!1),t=e.reactive({position:"absolute",width:"max-content",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function i(o){l.value=!0,t.left=`${o.clientX/100+10}px`,t.top=`${o.clientY/100+10}px`,t.display="block"}function r(){l.value=!1,t.display="none"}return(o,p)=>(e.openBlock(),e.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:i,onMouseleave:r},[e.renderSlot(o.$slots,"default",{},void 0,!0),e.createElementVNode("div",{class:"tooltip-content",style:e.normalizeStyle(t)},e.toDisplayString(n.text),5)],32))}},u=s.default(a,[["__scopeId","data-v-f89d5a93"]]);exports.default=u;
@@ -1 +1,45 @@
1
-
1
+ import { ref as r, reactive as p, openBlock as s, createElementBlock as a, renderSlot as c, createElementVNode as d, normalizeStyle as u, toDisplayString as f } from "vue";
2
+ import "./Tooltip.vue.js";
3
+ import x from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = {
5
+ __name: "Tooltip",
6
+ props: {
7
+ text: {
8
+ type: String,
9
+ required: !0
10
+ }
11
+ },
12
+ setup(n) {
13
+ const o = r(!1), e = p({
14
+ position: "absolute",
15
+ width: "max-content",
16
+ zIndex: 1e3,
17
+ background: "#333",
18
+ color: "#fff",
19
+ padding: "5px 10px",
20
+ borderRadius: "3px",
21
+ fontSize: "14px",
22
+ display: "none"
23
+ });
24
+ function i(t) {
25
+ o.value = !0, e.left = `${t.clientX / 100 + 10}px`, e.top = `${t.clientY / 100 + 10}px`, e.display = "block";
26
+ }
27
+ function l() {
28
+ o.value = !1, e.display = "none";
29
+ }
30
+ return (t, _) => (s(), a("div", {
31
+ class: "cursor-pointer tooltip-container",
32
+ onMouseover: i,
33
+ onMouseleave: l
34
+ }, [
35
+ c(t.$slots, "default", {}, void 0, !0),
36
+ d("div", {
37
+ class: "tooltip-content",
38
+ style: u(e)
39
+ }, f(n.text), 5)
40
+ ], 32));
41
+ }
42
+ }, b = /* @__PURE__ */ x(m, [["__scopeId", "data-v-f89d5a93"]]);
43
+ export {
44
+ b as default
45
+ };