@validol4ik/uikit 0.7.0 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/{AppButtonCopy-BAsaHaa4.js → AppButtonCopy-BiINPcGV.js} +1 -1
  2. package/dist/{AppButtonCopy-Dyb9GEq2.cjs → AppButtonCopy-CF4gM6Vq.cjs} +1 -1
  3. package/dist/AppSelect-BTYfDOxZ.js +2302 -0
  4. package/dist/AppSelect-Cqe1_ktM.cjs +1 -0
  5. package/dist/DropdownButton-6Hdgx4O7.js +285 -0
  6. package/dist/DropdownButton-rQuDxHty.cjs +1 -0
  7. package/dist/QMenu-BMHBzPuP.cjs +1 -0
  8. package/dist/{QMenu-CFrDqWMF.js → QMenu-CHfaaKhO.js} +234 -247
  9. package/dist/index-DLgdVg4z.js +1670 -0
  10. package/dist/index-DgJr5_Pb.cjs +1 -0
  11. package/dist/kl.woff +0 -0
  12. package/dist/style.css +1 -1
  13. package/dist/types/components/buttons/AppButton/types.d.ts +1 -0
  14. package/dist/types/components/buttons/DropdownButton/types.d.ts +2 -1
  15. package/dist/types/components/constants.d.ts +3 -0
  16. package/dist/types/components/form/AppSelect/AppSelect.vue.d.ts +4 -0
  17. package/dist/types/components/form/AppSelect/types.d.ts +1 -0
  18. package/dist/types/components/menu/PopupItem/PopupItem.vue.d.ts +22 -0
  19. package/dist/types/components/menu/PopupItem/types.d.ts +23 -0
  20. package/dist/types/components/types.d.ts +1 -1
  21. package/dist/types/index.d.ts +7 -2
  22. package/dist/types/types/types.d.ts +1 -0
  23. package/dist/uikit.cjs +1 -1
  24. package/dist/uikit.es.js +11 -10
  25. package/package.json +7 -1
  26. package/dist/AppSelect-5p3euh6R.cjs +0 -1
  27. package/dist/AppSelect-WIENN4a-.js +0 -2524
  28. package/dist/DropdownButton-BL00UPY1.cjs +0 -1
  29. package/dist/DropdownButton-DUUK14vz.js +0 -313
  30. package/dist/QMenu-DtmHqodr.cjs +0 -1
  31. package/dist/index-CheOtzui.js +0 -1319
  32. package/dist/index-d12F-Rqz.cjs +0 -1
  33. /package/dist/types/{components/AppIcon/quasarBoot.d.ts → bootFiles/iconSet.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { ref as d, onMounted as s, h as c, defineComponent as u, createBlock as p, openBlock as f, unref as m, withCtx as h, createVNode as y, mergeProps as v, withModifiers as C } from "vue";
2
2
  import { r as g, a as b, i as B } from "./focusout-DjvPXP_b.js";
3
- import { c as O, h as i, C as S, A as _ } from "./index-CheOtzui.js";
3
+ import { c as O, h as i, C as S, A as _ } from "./index-DLgdVg4z.js";
4
4
  function x(e) {
5
5
  const t = document.createElement("textarea");
6
6
  t.value = e, t.contentEditable = "true", t.style.position = "fixed";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),u=require("./focusout-DzWGke-4.cjs"),l=require("./index-d12F-Rqz.cjs");function d(e){const t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";const n=()=>{};u.addFocusout(n),document.body.appendChild(t),t.focus(),t.select();const r=document.execCommand("copy");return t.remove(),u.removeFocusout(n),r}function s(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,n)=>{const r=d(e);r?t(!0):n(r)})}function p(){const e=o.ref(!u.isRuntimeSsrPreHydration.value);return e.value===!1&&o.onMounted(()=>{e.value=!0}),{isHydrated:e}}const f=l.createComponent({name:"QNoSsr",props:{tag:{type:String,default:"div"},placeholder:String},setup(e,{slots:t}){const{isHydrated:n}=p();return()=>{if(n.value===!0){const a=l.hSlot(t.default);return a===void 0?a:a.length>1?o.h(e.tag,{},a):a[0]}const r={class:"q-no-ssr-placeholder"},c=l.hSlot(t.placeholder);if(c!==void 0)return c.length>1?o.h(e.tag,r,c):c[0];if(e.placeholder!==void 0)return o.h(e.tag,r,e.placeholder)}}}),i={COPY:"copy_o",COPIED:"copied_o"},h=o.defineComponent({__name:"AppButtonCopy",props:{text:{},size:{},transparent:{type:Boolean,default:!0},flat:{type:Boolean},rounded:{type:Boolean},color:{default:l.COLORS.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{},download:{}},setup(e){const t=e,n=o.ref(i.COPY),r=()=>{n.value=i.COPIED,setTimeout(()=>{n.value=i.COPY},2e3)},c=()=>{s(t.text).then(r).catch(a=>{console.log(a)})};return(a,m)=>(o.openBlock(),o.createBlock(o.unref(f),null,{default:o.withCtx(()=>[o.createVNode(l.AppButton,o.mergeProps(t,{"icon-middle":n.value,onClick:o.withModifiers(c,["prevent"])}),null,16,["icon-middle"])]),_:1}))}});exports.default=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),u=require("./focusout-DzWGke-4.cjs"),l=require("./index-DgJr5_Pb.cjs");function d(e){const t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";const n=()=>{};u.addFocusout(n),document.body.appendChild(t),t.focus(),t.select();const r=document.execCommand("copy");return t.remove(),u.removeFocusout(n),r}function s(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,n)=>{const r=d(e);r?t(!0):n(r)})}function p(){const e=o.ref(!u.isRuntimeSsrPreHydration.value);return e.value===!1&&o.onMounted(()=>{e.value=!0}),{isHydrated:e}}const f=l.createComponent({name:"QNoSsr",props:{tag:{type:String,default:"div"},placeholder:String},setup(e,{slots:t}){const{isHydrated:n}=p();return()=>{if(n.value===!0){const a=l.hSlot(t.default);return a===void 0?a:a.length>1?o.h(e.tag,{},a):a[0]}const r={class:"q-no-ssr-placeholder"},c=l.hSlot(t.placeholder);if(c!==void 0)return c.length>1?o.h(e.tag,r,c):c[0];if(e.placeholder!==void 0)return o.h(e.tag,r,e.placeholder)}}}),i={COPY:"copy_o",COPIED:"copied_o"},h=o.defineComponent({__name:"AppButtonCopy",props:{text:{},size:{},transparent:{type:Boolean,default:!0},flat:{type:Boolean},rounded:{type:Boolean},color:{default:l.COLORS.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{},download:{}},setup(e){const t=e,n=o.ref(i.COPY),r=()=>{n.value=i.COPIED,setTimeout(()=>{n.value=i.COPY},2e3)},c=()=>{s(t.text).then(r).catch(a=>{console.log(a)})};return(a,m)=>(o.openBlock(),o.createBlock(o.unref(f),null,{default:o.withCtx(()=>[o.createVNode(l.AppButton,o.mergeProps(t,{"icon-middle":n.value,onClick:o.withModifiers(c,["prevent"])}),null,16,["icon-middle"])]),_:1}))}});exports.default=h;