shared-ritm 1.0.4 → 1.0.6

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.
@@ -1,126 +1 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("vue"));
4
- else if(typeof define === 'function' && define.amd)
5
- define([], factory);
6
- else if(typeof exports === 'object')
7
- exports["SharedRitm"] = factory(require("vue"));
8
- else
9
- root["SharedRitm"] = factory(root["Vue"]);
10
- })((typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__274__) => {
11
- return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ({
14
-
15
- /***/ 317:
16
- /***/ ((__unused_webpack_module, exports) => {
17
-
18
- var __webpack_unused_export__;
19
-
20
- __webpack_unused_export__ = ({ value: true });
21
- // runtime helper for setting properties on components
22
- // in a tree-shakable way
23
- exports.A = (sfc, props) => {
24
- const target = sfc.__vccOpts || sfc;
25
- for (const [key, val] of props) {
26
- target[key] = val;
27
- }
28
- return target;
29
- };
30
-
31
-
32
- /***/ }),
33
-
34
- /***/ 274:
35
- /***/ ((module) => {
36
-
37
- module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
38
-
39
- /***/ })
40
-
41
- /******/ });
42
- /************************************************************************/
43
- /******/ // The module cache
44
- /******/ var __webpack_module_cache__ = {};
45
- /******/
46
- /******/ // The require function
47
- /******/ function __webpack_require__(moduleId) {
48
- /******/ // Check if module is in cache
49
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
50
- /******/ if (cachedModule !== undefined) {
51
- /******/ return cachedModule.exports;
52
- /******/ }
53
- /******/ // Create a new module (and put it into the cache)
54
- /******/ var module = __webpack_module_cache__[moduleId] = {
55
- /******/ // no module.id needed
56
- /******/ // no module.loaded needed
57
- /******/ exports: {}
58
- /******/ };
59
- /******/
60
- /******/ // Execute the module function
61
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
62
- /******/
63
- /******/ // Return the exports of the module
64
- /******/ return module.exports;
65
- /******/ }
66
- /******/
67
- /************************************************************************/
68
- /******/ /* webpack/runtime/publicPath */
69
- /******/ (() => {
70
- /******/ __webpack_require__.p = "";
71
- /******/ })();
72
- /******/
73
- /************************************************************************/
74
- var __webpack_exports__ = {};
75
-
76
- // UNUSED EXPORTS: AppTestButton
77
-
78
- ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
79
- /* eslint-disable no-var */
80
- // This file is imported into lib/wc client bundles.
81
-
82
- if (typeof window !== 'undefined') {
83
- var currentScript = window.document.currentScript
84
- if (false) { var getCurrentScript; }
85
-
86
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
87
- if (src) {
88
- __webpack_require__.p = src[1] // eslint-disable-line
89
- }
90
- }
91
-
92
- // Indicate to webpack that this file can be concatenated
93
- /* harmony default export */ const setPublicPath = (null);
94
-
95
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
96
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(274);
97
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-87.use[1]!./node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[5]!./node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ruleSet[0].use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[1]!./src/common/app-test-button/AppTestButton.vue?vue&type=template&id=1a0121d4
98
-
99
- function render(_ctx, _cache) {
100
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", null, _cache[0] || (_cache[0] = [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("button", null, "sssssssssssssssss", -1)]));
101
- }
102
- ;// ./src/common/app-test-button/AppTestButton.vue?vue&type=template&id=1a0121d4
103
-
104
- // EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js
105
- var exportHelper = __webpack_require__(317);
106
- ;// ./src/common/app-test-button/AppTestButton.vue
107
-
108
- const script = {}
109
-
110
- ;
111
- const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.A)(script, [['render',render]])
112
-
113
- /* harmony default export */ const AppTestButton = ((/* unused pure expression or super */ null && (__exports__)));
114
- ;// ./src/index.ts
115
-
116
-
117
- ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
118
-
119
-
120
-
121
- __webpack_exports__ = __webpack_exports__["default"];
122
- /******/ return __webpack_exports__;
123
- /******/ })()
124
- ;
125
- });
126
- //# sourceMappingURL=shared-ritm.umd.js.map
1
+ (function(L,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],l):(L=typeof globalThis<"u"?globalThis:L||self,l(L.SharedRitm={},L.Vue))})(this,function(L,l){"use strict";function he(e,t,i,o){return Object.defineProperty(e,t,{get:i,set:o,enumerable:!0}),e}function A(e){return l.markRaw(l.defineComponent(e))}function Xe(e){return l.markRaw(e)}function pe(e,t){return e!==void 0&&e()||t}function N(e,t){return e!==void 0?t.concat(e()):t}const Ye=["top","middle","bottom"],Ge=A({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>Ye.includes(e)}},setup(e,{slots:t}){const i=l.computed(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=l.computed(()=>{const n=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(n!==void 0?` text-${n}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>l.h("div",{class:o.value,style:i.value,role:"status","aria-label":e.label},N(t.default,e.label!==void 0?[e.label]:[]))}}),Q=l.ref(!1);let oe;function Je(e,t){const i=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:i[5]||i[3]||i[1]||"",version:i[4]||i[2]||"0",platform:t[0]||""}}function Ze(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const ge="ontouchstart"in window||window.navigator.maxTouchPoints>0;function et(e){const t=e.toLowerCase(),i=Ze(t),o=Je(t,i),n={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(n[o.browser]=!0,n.version=o.version,n.versionNumber=parseInt(o.version,10)),o.platform&&(n[o.platform]=!0);const s=n.android||n.ios||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"];if(s===!0||t.indexOf("mobile")!==-1?n.mobile=!0:n.desktop=!0,n["windows phone"]&&(n.winphone=!0,delete n["windows phone"]),n.edga||n.edgios||n.edg?(n.edge=!0,o.browser="edge"):n.crios?(n.chrome=!0,o.browser="chrome"):n.fxios&&(n.firefox=!0,o.browser="firefox"),(n.ipod||n.ipad||n.iphone)&&(n.ios=!0),n.vivaldi&&(o.browser="vivaldi",n.vivaldi=!0),(n.chrome||n.opr||n.safari||n.vivaldi||n.mobile===!0&&n.ios!==!0&&s!==!0)&&(n.webkit=!0),n.opr&&(o.browser="opera",n.opera=!0),n.safari&&(n.blackberry||n.bb?(o.browser="blackberry",n.blackberry=!0):n.playbook?(o.browser="playbook",n.playbook=!0):n.android?(o.browser="android",n.android=!0):n.kindle?(o.browser="kindle",n.kindle=!0):n.silk&&(o.browser="silk",n.silk=!0)),n.name=o.browser,n.platform=o.platform,t.indexOf("electron")!==-1)n.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)n.bex=!0;else{if(window.Capacitor!==void 0?(n.capacitor=!0,n.nativeMobile=!0,n.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(n.cordova=!0,n.nativeMobile=!0,n.nativeMobileWrapper="cordova"),Q.value===!0&&(oe={is:{...n}}),ge===!0&&n.mac===!0&&(n.desktop===!0&&n.safari===!0||n.nativeMobile===!0&&n.android!==!0&&n.ios!==!0&&n.ipad!==!0)){delete n.mac,delete n.desktop;const r=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(n,{mobile:!0,ios:!0,platform:r,[r]:!0})}n.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete n.desktop,n.mobile=!0)}return n}const ve=navigator.userAgent||navigator.vendor||window.opera,tt={has:{touch:!1,webStorage:!1},within:{iframe:!1}},X={userAgent:ve,is:et(ve),has:{touch:ge},within:{iframe:window.self!==window.top}},ie={install(e){const{$q:t}=e;Q.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,X),Q.value=!1}),t.platform=l.reactive(this)):t.platform=this}};{let e;he(X.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(ie,X),Q.value===!0&&(Object.assign(ie,oe,tt),oe=null)}function le(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),ie.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const R={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(R,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function nt(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function be(e){e.stopPropagation()}function ae(e){e.cancelable!==!1&&e.preventDefault()}function H(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function K(e,t,i){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(i):i,i.forEach(n=>{n[0].addEventListener(n[1],e[n[2]],R[n[3]])})}function Y(e,t){const i=`__q_${t}_evt`;e[i]!==void 0&&(e[i].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],R[o[3]])}),e[i]=void 0)}function ot(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function G(e,t){return ot(e)===!0?!1:[].concat(t).includes(e.keyCode)}const it={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean};function lt({showing:e,avoidEmit:t,configureAnchorEl:i}){const{props:o,proxy:n,emit:s}=l.getCurrentInstance(),r=l.ref(null);let a=null;function p(c){return r.value===null?!1:c===void 0||c.touches===void 0||c.touches.length<=1}const f={};i===void 0&&(Object.assign(f,{hide(c){n.hide(c)},toggle(c){n.toggle(c),c.qAnchorHandled=!0},toggleKey(c){G(c,13)===!0&&f.toggle(c)},contextClick(c){n.hide(c),ae(c),l.nextTick(()=>{n.show(c),c.qAnchorHandled=!0})},prevent:ae,mobileTouch(c){if(f.mobileCleanup(c),p(c)!==!0)return;n.hide(c),r.value.classList.add("non-selectable");const m=c.target;K(f,"anchor",[[m,"touchmove","mobileCleanup","passive"],[m,"touchend","mobileCleanup","passive"],[m,"touchcancel","mobileCleanup","passive"],[r.value,"contextmenu","prevent","notPassive"]]),a=setTimeout(()=>{a=null,n.show(c),c.qAnchorHandled=!0},300)},mobileCleanup(c){r.value.classList.remove("non-selectable"),a!==null&&(clearTimeout(a),a=null),e.value===!0&&c!==void 0&&le()}}),i=function(c=o.contextMenu){if(o.noParentEvent===!0||r.value===null)return;let m;c===!0?n.$q.platform.is.mobile===!0?m=[[r.value,"touchstart","mobileTouch","passive"]]:m=[[r.value,"mousedown","hide","passive"],[r.value,"contextmenu","contextClick","notPassive"]]:m=[[r.value,"click","toggle","passive"],[r.value,"keyup","toggleKey","passive"]],K(f,"anchor",m)});function u(){Y(f,"anchor")}function w(c){for(r.value=c;r.value.classList.contains("q-anchor--skip");)r.value=r.value.parentNode;i()}function d(){if(o.target===!1||o.target===""||n.$el.parentNode===null)r.value=null;else if(o.target===!0)w(n.$el.parentNode);else{let c=o.target;if(typeof o.target=="string")try{c=document.querySelector(o.target)}catch{c=void 0}c!=null?(r.value=c.$el||c,i()):(r.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return l.watch(()=>o.contextMenu,c=>{r.value!==null&&(u(),i(c))}),l.watch(()=>o.target,()=>{r.value!==null&&u(),d()}),l.watch(()=>o.noParentEvent,c=>{r.value!==null&&(c===!0?u():i())}),l.onMounted(()=>{d(),t!==!0&&o.modelValue===!0&&r.value===null&&s("update:modelValue",!1)}),l.onBeforeUnmount(()=>{a!==null&&clearTimeout(a),u()}),{anchorEl:r,canShow:p,anchorEvents:f}}function at(e,t){const i=l.ref(null);let o;function n(a,p){const f=`${p!==void 0?"add":"remove"}EventListener`,u=p!==void 0?p:o;a!==window&&a[f]("scroll",u,R.passive),window[f]("scroll",u,R.passive),o=p}function s(){i.value!==null&&(n(i.value),i.value=null)}const r=l.watch(()=>e.noParentEvent,()=>{i.value!==null&&(s(),t())});return l.onBeforeUnmount(r),{localScrollTarget:i,unconfigureScrollTarget:s,changeScrollEvent:n}}function ye(e){return e.appContext.config.globalProperties.$router!==void 0}function we(e){return e.isUnmounted===!0||e.isDeactivated===!0}const rt={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},st=["beforeShow","show","beforeHide","hide"];function ut({showing:e,canShow:t,hideOnRouteChange:i,handleShow:o,handleHide:n,processOnMount:s}){const r=l.getCurrentInstance(),{props:a,emit:p,proxy:f}=r;let u;function w(b){e.value===!0?m(b):d(b)}function d(b){if(a.disable===!0||b!==void 0&&b.qAnchorHandled===!0||t!==void 0&&t(b)!==!0)return;const y=a["onUpdate:modelValue"]!==void 0;y===!0&&(p("update:modelValue",!0),u=b,l.nextTick(()=>{u===b&&(u=void 0)})),(a.modelValue===null||y===!1)&&c(b)}function c(b){e.value!==!0&&(e.value=!0,p("beforeShow",b),o!==void 0?o(b):p("show",b))}function m(b){if(a.disable===!0)return;const y=a["onUpdate:modelValue"]!==void 0;y===!0&&(p("update:modelValue",!1),u=b,l.nextTick(()=>{u===b&&(u=void 0)})),(a.modelValue===null||y===!1)&&x(b)}function x(b){e.value!==!1&&(e.value=!1,p("beforeHide",b),n!==void 0?n(b):p("hide",b))}function v(b){a.disable===!0&&b===!0?a["onUpdate:modelValue"]!==void 0&&p("update:modelValue",!1):b===!0!==e.value&&(b===!0?c:x)(u)}l.watch(()=>a.modelValue,v),i!==void 0&&ye(r)===!0&&l.watch(()=>f.$route.fullPath,()=>{i.value===!0&&e.value===!0&&m()}),s===!0&&l.onMounted(()=>{v(a.modelValue)});const C={show:d,hide:m,toggle:w};return Object.assign(f,C),C}let J=[],Z=[];function xe(e){Z=Z.filter(t=>t!==e)}function ct(e){xe(e),Z.push(e)}function ke(e){xe(e),Z.length===0&&J.length!==0&&(J[J.length-1](),J=[])}const Be={};let dt=1,ft=document.body;function mt(e,t){const i=document.createElement("div");if(i.id=`q-portal--${t}--${dt++}`,Be.globalNodes!==void 0){const o=Be.globalNodes.class;o!==void 0&&(i.className=o)}return ft.appendChild(i),i}function ht(e){e.remove()}const U=[],pt=A({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function gt(e,t,i,o){const n=l.ref(!1),s=l.ref(!1);let r=null;const a={};function p(u){if(u===!0){ke(a),s.value=!0;return}s.value=!1,n.value===!1&&(r===null&&(r=mt(!1,o)),n.value=!0,U.push(e.proxy),ct(a))}function f(u){if(s.value=!1,u!==!0)return;ke(a),n.value=!1;const w=U.indexOf(e.proxy);w!==-1&&U.splice(w,1),r!==null&&(ht(r),r=null)}return l.onUnmounted(()=>{f(!0)}),e.proxy.__qPortal=!0,he(e.proxy,"contentEl",()=>t.value),{showPortal:p,hidePortal:f,portalIsActive:n,portalIsAccessible:s,renderPortal:()=>n.value===!0?[l.h(l.Teleport,{to:r},l.h(pt,i))]:void 0}}const re={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function vt(e,t=()=>{},i=()=>{}){return{transitionProps:l.computed(()=>{const o=`q-transition--${e.transitionShow||t()}`,n=`q-transition--${e.transitionHide||i()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${n}-leave-from`,leaveActiveClass:`${n}-leave-active`,leaveToClass:`${n}-leave-to`}}),transitionStyle:l.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function bt(){let e;const t=l.getCurrentInstance();function i(){e=void 0}return l.onDeactivated(i),l.onBeforeUnmount(i),{removeTick:i,registerTick(o){e=o,l.nextTick(()=>{e===o&&(we(t)===!1&&e(),e=void 0)})}}}function yt(){let e=null;const t=l.getCurrentInstance();function i(){e!==null&&(clearTimeout(e),e=null)}return l.onDeactivated(i),l.onBeforeUnmount(i),{removeTimeout:i,registerTimeout(o,n){i(),we(t)===!1&&(e=setTimeout(()=>{e=null,o()},n))}}}function se(e,t){const i=e.style;for(const o in t)i[o]=t[o]}function wt(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=l.unref(e);if(t)return t.$el||t}const xt=[Element,String],kt=[null,document,document.body,document.scrollingElement,document.documentElement];function Bt(e,t){let i=wt(t);if(i===void 0){if(e==null)return window;i=e.closest(".scroll,.scroll-y,.overflow-auto")}return kt.includes(i)?window:i}let ee;function Ct(){if(ee!==void 0)return ee;const e=document.createElement("p"),t=document.createElement("div");se(e,{width:"100%",height:"200px"}),se(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const i=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return i===o&&(o=t.clientWidth),t.remove(),ee=i-o,ee}const{notPassiveCapture:te}=R,O=[];function ne(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let i=U.length-1;for(;i>=0;){const o=U[i].$;if(o.type.name==="QTooltip"){i--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;i--}for(let o=O.length-1;o>=0;o--){const n=O[o];if((n.anchorEl.value===null||n.anchorEl.value.contains(t)===!1)&&(t===document.body||n.innerRef.value!==null&&n.innerRef.value.contains(t)===!1))e.qClickOutside=!0,n.onClickOutside(e);else return}}function St(e){O.push(e),O.length===1&&(document.addEventListener("mousedown",ne,te),document.addEventListener("touchstart",ne,te))}function Ce(e){const t=O.findIndex(i=>i===e);t!==-1&&(O.splice(t,1),O.length===0&&(document.removeEventListener("mousedown",ne,te),document.removeEventListener("touchstart",ne,te)))}let Se,Te;function Ee(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Tt(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const ue={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{ue[`${e}#ltr`]=e,ue[`${e}#rtl`]=e});function qe(e,t){const i=e.split(" ");return{vertical:i[0],horizontal:ue[`${i[1]}#${t===!0?"rtl":"ltr"}`]}}function Et(e,t){let{top:i,left:o,right:n,bottom:s,width:r,height:a}=e.getBoundingClientRect();return t!==void 0&&(i-=t[1],o-=t[0],s+=t[1],n+=t[0],r+=t[0],a+=t[1]),{top:i,bottom:s,height:a,left:o,right:n,width:r,middle:o+(n-o)/2,center:i+(s-i)/2}}function qt(e,t,i){let{top:o,left:n}=e.getBoundingClientRect();return o+=t.top,n+=t.left,i!==void 0&&(o+=i[1],n+=i[0]),{top:o,bottom:o+1,height:1,left:n,right:n+1,width:1,middle:n,center:o}}function $t(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function $e(e,t,i,o){return{top:e[i.vertical]-t[o.vertical],left:e[i.horizontal]-t[o.horizontal]}}function _e(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{_e(e,t+1)},10);return}const{targetEl:i,offset:o,anchorEl:n,anchorOrigin:s,selfOrigin:r,absoluteOffset:a,fit:p,cover:f,maxHeight:u,maxWidth:w}=e;if(X.is.ios===!0&&window.visualViewport!==void 0){const S=document.body.style,{offsetLeft:B,offsetTop:T}=window.visualViewport;B!==Se&&(S.setProperty("--q-pe-left",B+"px"),Se=B),T!==Te&&(S.setProperty("--q-pe-top",T+"px"),Te=T)}const{scrollLeft:d,scrollTop:c}=i,m=a===void 0?Et(n,f===!0?[0,0]:o):qt(n,a,o);Object.assign(i.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:w,maxHeight:u,visibility:"visible"});const{offsetWidth:x,offsetHeight:v}=i,{elWidth:C,elHeight:b}=p===!0||f===!0?{elWidth:Math.max(m.width,x),elHeight:f===!0?Math.max(m.height,v):v}:{elWidth:x,elHeight:v};let y={maxWidth:w,maxHeight:u};(p===!0||f===!0)&&(y.minWidth=m.width+"px",f===!0&&(y.minHeight=m.height+"px")),Object.assign(i.style,y);const q=$t(C,b);let g=$e(m,q,s,r);if(a===void 0||o===void 0)ce(g,m,q,s,r);else{const{top:S,left:B}=g;ce(g,m,q,s,r);let T=!1;if(g.top!==S){T=!0;const E=2*o[1];m.center=m.top-=E,m.bottom-=E+2}if(g.left!==B){T=!0;const E=2*o[0];m.middle=m.left-=E,m.right-=E+2}T===!0&&(g=$e(m,q,s,r),ce(g,m,q,s,r))}y={top:g.top+"px",left:g.left+"px"},g.maxHeight!==void 0&&(y.maxHeight=g.maxHeight+"px",m.height>g.maxHeight&&(y.minHeight=y.maxHeight)),g.maxWidth!==void 0&&(y.maxWidth=g.maxWidth+"px",m.width>g.maxWidth&&(y.minWidth=y.maxWidth)),Object.assign(i.style,y),i.scrollTop!==c&&(i.scrollTop=c),i.scrollLeft!==d&&(i.scrollLeft=d)}function ce(e,t,i,o,n){const s=i.bottom,r=i.right,a=Ct(),p=window.innerHeight-a,f=document.body.clientWidth;if(e.top<0||e.top+s>p)if(n.vertical==="center")e.top=t[o.vertical]>p/2?Math.max(0,p-s):0,e.maxHeight=Math.min(s,p);else if(t[o.vertical]>p/2){const u=Math.min(p,o.vertical==="center"?t.center:o.vertical===n.vertical?t.bottom:t.top);e.maxHeight=Math.min(s,u),e.top=Math.max(0,u-s)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===n.vertical?t.top:t.bottom),e.maxHeight=Math.min(s,p-e.top);if(e.left<0||e.left+r>f)if(e.maxWidth=Math.min(r,f),n.horizontal==="middle")e.left=t[o.horizontal]>f/2?Math.max(0,f-r):0;else if(t[o.horizontal]>f/2){const u=Math.min(f,o.horizontal==="middle"?t.middle:o.horizontal===n.horizontal?t.right:t.left);e.maxWidth=Math.min(r,u),e.left=Math.max(0,u-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===n.horizontal?t.left:t.right),e.maxWidth=Math.min(r,f-e.left)}const _t=A({name:"QTooltip",inheritAttrs:!1,props:{...it,...rt,...re,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...re.transitionShow,default:"jump-down"},transitionHide:{...re.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Ee},self:{type:String,default:"top middle",validator:Ee},offset:{type:Array,default:()=>[14,14],validator:Tt},scrollTarget:xt,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...st],setup(e,{slots:t,emit:i,attrs:o}){let n,s;const r=l.getCurrentInstance(),{proxy:{$q:a}}=r,p=l.ref(null),f=l.ref(!1),u=l.computed(()=>qe(e.anchor,a.lang.rtl)),w=l.computed(()=>qe(e.self,a.lang.rtl)),d=l.computed(()=>e.persistent!==!0),{registerTick:c,removeTick:m}=bt(),{registerTimeout:x}=yt(),{transitionProps:v,transitionStyle:C}=vt(e),{localScrollTarget:b,changeScrollEvent:y,unconfigureScrollTarget:q}=at(e,Ue),{anchorEl:g,canShow:S,anchorEvents:B}=lt({showing:f,configureAnchorEl:dn}),{show:T,hide:E}=ut({showing:f,canShow:S,handleShow:z,handleHide:h,hideOnRouteChange:d,processOnMount:!0});Object.assign(B,{delayShow:un,delayHide:cn});const{showPortal:j,hidePortal:_,renderPortal:W}=gt(r,p,mn,"tooltip");if(a.platform.is.mobile===!0){const $={anchorEl:g,innerRef:p,onClickOutside(V){return E(V),V.target.classList.contains("q-dialog__backdrop")&&H(V),!0}},me=l.computed(()=>e.modelValue===null&&e.persistent!==!0&&f.value===!0);l.watch(me,V=>{(V===!0?St:Ce)($)}),l.onBeforeUnmount(()=>{Ce($)})}function z($){j(),c(()=>{s=new MutationObserver(()=>M()),s.observe(p.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),M(),Ue()}),n===void 0&&(n=l.watch(()=>a.screen.width+"|"+a.screen.height+"|"+e.self+"|"+e.anchor+"|"+a.lang.rtl,M)),x(()=>{j(!0),i("show",$)},e.transitionDuration)}function h($){m(),_(),k(),x(()=>{_(!0),i("hide",$)},e.transitionDuration)}function k(){s!==void 0&&(s.disconnect(),s=void 0),n!==void 0&&(n(),n=void 0),q(),Y(B,"tooltipTemp")}function M(){_e({targetEl:p.value,offset:e.offset,anchorEl:g.value,anchorOrigin:u.value,selfOrigin:w.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function un($){if(a.platform.is.mobile===!0){le(),document.body.classList.add("non-selectable");const me=g.value,V=["touchmove","touchcancel","touchend","click"].map(Qe=>[me,Qe,"delayHide","passiveCapture"]);K(B,"tooltipTemp",V)}x(()=>{T($)},e.delay)}function cn($){a.platform.is.mobile===!0&&(Y(B,"tooltipTemp"),le(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),x(()=>{E($)},e.hideDelay)}function dn(){if(e.noParentEvent===!0||g.value===null)return;const $=a.platform.is.mobile===!0?[[g.value,"touchstart","delayShow","passive"]]:[[g.value,"mouseenter","delayShow","passive"],[g.value,"mouseleave","delayHide","passive"]];K(B,"anchor",$)}function Ue(){if(g.value!==null||e.scrollTarget!==void 0){b.value=Bt(g.value,e.scrollTarget);const $=e.noParentEvent===!0?M:E;y(b.value,$)}}function fn(){return f.value===!0?l.h("div",{...o,ref:p,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",o.class],style:[o.style,C.value],role:"tooltip"},pe(t.default)):null}function mn(){return l.h(l.Transition,v.value,fn)}return l.onBeforeUnmount(k),Object.assign(r.proxy,{updatePosition:M}),W}}),de={xs:18,sm:24,md:32,lg:38,xl:46},Pe={size:String};function Me(e,t=de){return l.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}const Le="0 0 24 24",Re=e=>e,fe=e=>`ionicons ${e}`,He={"mdi-":e=>`mdi ${e}`,"icon-":Re,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":fe,"ion-ios":fe,"ion-logo":fe,"iconfont ":Re,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},Oe={o_:"-outlined",r_:"-round",s_:"-sharp"},je={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Pt=new RegExp("^("+Object.keys(He).join("|")+")"),Mt=new RegExp("^("+Object.keys(Oe).join("|")+")"),We=new RegExp("^("+Object.keys(je).join("|")+")"),Lt=/^[Mm]\s?[-+]?\.?\d/,Rt=/^img:/,Ht=/^svguse:/,Ot=/^ion-/,jt=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,ze=A({name:"QIcon",props:{...Pe,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:i}}=l.getCurrentInstance(),o=Me(e),n=l.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),s=l.computed(()=>{let r,a=e.name;if(a==="none"||!a)return{none:!0};if(i.iconMapFn!==null){const u=i.iconMapFn(a);if(u!==void 0)if(u.icon!==void 0){if(a=u.icon,a==="none"||!a)return{none:!0}}else return{cls:u.cls,content:u.content!==void 0?u.content:" "}}if(Lt.test(a)===!0){const[u,w=Le]=a.split("|");return{svg:!0,viewBox:w,nodes:u.split("&&").map(d=>{const[c,m,x]=d.split("@@");return l.h("path",{style:m,d:c,transform:x})})}}if(Rt.test(a)===!0)return{img:!0,src:a.substring(4)};if(Ht.test(a)===!0){const[u,w=Le]=a.split("|");return{svguse:!0,src:u.substring(7),viewBox:w}}let p=" ";const f=a.match(Pt);if(f!==null)r=He[f[1]](a);else if(jt.test(a)===!0)r=a;else if(Ot.test(a)===!0)r=`ionicons ion-${i.platform.is.ios===!0?"ios":"md"}${a.substring(3)}`;else if(We.test(a)===!0){r="notranslate material-symbols";const u=a.match(We);u!==null&&(a=a.substring(6),r+=je[u[1]]),p=a}else{r="notranslate material-icons";const u=a.match(Mt);u!==null&&(a=a.substring(2),r+=Oe[u[1]]),p=a}return{cls:r,content:p}});return()=>{const r={class:n.value,style:o.value,"aria-hidden":"true",role:"presentation"};return s.value.none===!0?l.h(e.tag,r,pe(t.default)):s.value.img===!0?l.h(e.tag,r,N(t.default,[l.h("img",{src:s.value.src})])):s.value.svg===!0?l.h(e.tag,r,N(t.default,[l.h("svg",{viewBox:s.value.viewBox||"0 0 24 24"},s.value.nodes)])):s.value.svguse===!0?l.h(e.tag,r,N(t.default,[l.h("svg",{viewBox:s.value.viewBox},[l.h("use",{"xlink:href":s.value.src})])])):(s.value.cls!==void 0&&(r.class+=" "+s.value.cls),l.h(e.tag,r,N(t.default,[s.value.content])))}}}),Wt={size:{type:[String,Number],default:"1em"},color:String};function zt(e){return{cSize:l.computed(()=>e.size in de?`${de[e.size]}px`:e.size),classes:l.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const Vt=A({name:"QSpinner",props:{...Wt,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:i}=zt(e);return()=>l.h("svg",{class:i.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[l.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function At(e,t=250){let i=!1,o;return function(){return i===!1&&(i=!0,setTimeout(()=>{i=!1},t),o=e.apply(this,arguments)),o}}function Ve(e,t,i,o){i.modifiers.stop===!0&&be(e);const n=i.modifiers.color;let s=i.modifiers.center;s=s===!0||o===!0;const r=document.createElement("span"),a=document.createElement("span"),p=nt(e),{left:f,top:u,width:w,height:d}=t.getBoundingClientRect(),c=Math.sqrt(w*w+d*d),m=c/2,x=`${(w-c)/2}px`,v=s?x:`${p.left-f-m}px`,C=`${(d-c)/2}px`,b=s?C:`${p.top-u-m}px`;a.className="q-ripple__inner",se(a,{height:`${c}px`,width:`${c}px`,transform:`translate3d(${v},${b},0) scale3d(.2,.2,1)`,opacity:0}),r.className=`q-ripple${n?" text-"+n:""}`,r.setAttribute("dir","ltr"),r.appendChild(a),t.appendChild(r);const y=()=>{r.remove(),clearTimeout(q)};i.abort.push(y);let q=setTimeout(()=>{a.classList.add("q-ripple__inner--enter"),a.style.transform=`translate3d(${x},${C},0) scale3d(1,1,1)`,a.style.opacity=.2,q=setTimeout(()=>{a.classList.remove("q-ripple__inner--enter"),a.classList.add("q-ripple__inner--leave"),a.style.opacity=0,q=setTimeout(()=>{r.remove(),i.abort.splice(i.abort.indexOf(y),1)},275)},250)},50)}function Ae(e,{modifiers:t,value:i,arg:o}){const n=Object.assign({},e.cfg.ripple,t,i);e.modifiers={early:n.early===!0,stop:n.stop===!0,center:n.center===!0,color:n.color||o,keyCodes:[].concat(n.keyCodes||13)}}const Nt=Xe({name:"ripple",beforeMount(e,t){const i=t.instance.$.appContext.config.globalProperties.$q.config||{};if(i.ripple===!1)return;const o={cfg:i,enabled:t.value!==!1,modifiers:{},abort:[],start(n){o.enabled===!0&&n.qSkipRipple!==!0&&n.type===(o.modifiers.early===!0?"pointerdown":"click")&&Ve(n,e,o,n.qKeyEvent===!0)},keystart:At(n=>{o.enabled===!0&&n.qSkipRipple!==!0&&G(n,o.modifiers.keyCodes)===!0&&n.type===`key${o.modifiers.early===!0?"down":"up"}`&&Ve(n,e,o,!0)},300)};Ae(o,t),e.__qripple=o,K(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const i=e.__qripple;i!==void 0&&(i.enabled=t.value!==!1,i.enabled===!0&&Object(t.value)===t.value&&Ae(i,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(i=>{i()}),Y(t,"main"),delete e._qripple)}}),Ne={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},It=Object.keys(Ne),Dt={align:{type:String,validator:e=>It.includes(e)}};function Ft(e){return l.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Ne[t]}`})}function Ie(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function De(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Kt(e,t){for(const i in t){const o=t[i],n=e[i];if(typeof o=="string"){if(o!==n)return!1}else if(Array.isArray(n)===!1||n.length!==o.length||o.some((s,r)=>s!==n[r]))return!1}return!0}function Fe(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((i,o)=>i===t[o]):e.length===1&&e[0]===t}function Ut(e,t){return Array.isArray(e)===!0?Fe(e,t):Array.isArray(t)===!0?Fe(t,e):e===t}function Qt(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const i in e)if(Ut(e[i],t[i])===!1)return!1;return!0}const Xt={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean};function Yt({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const i=l.getCurrentInstance(),{props:o,proxy:n,emit:s}=i,r=ye(i),a=l.computed(()=>o.disable!==!0&&o.href!==void 0),p=t===!0?l.computed(()=>r===!0&&o.disable!==!0&&a.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):l.computed(()=>r===!0&&a.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),f=l.computed(()=>p.value===!0?b(o.to):null),u=l.computed(()=>f.value!==null),w=l.computed(()=>a.value===!0||u.value===!0),d=l.computed(()=>o.type==="a"||w.value===!0?"a":o.tag||e||"div"),c=l.computed(()=>a.value===!0?{href:o.href,target:o.target}:u.value===!0?{href:f.value.href,target:o.target}:{}),m=l.computed(()=>{if(u.value===!1)return-1;const{matched:g}=f.value,{length:S}=g,B=g[S-1];if(B===void 0)return-1;const T=n.$route.matched;if(T.length===0)return-1;const E=T.findIndex(De.bind(null,B));if(E!==-1)return E;const j=Ie(g[S-2]);return S>1&&Ie(B)===j&&T[T.length-1].path!==j?T.findIndex(De.bind(null,g[S-2])):E}),x=l.computed(()=>u.value===!0&&m.value!==-1&&Kt(n.$route.params,f.value.params)),v=l.computed(()=>x.value===!0&&m.value===n.$route.matched.length-1&&Qt(n.$route.params,f.value.params)),C=l.computed(()=>u.value===!0?v.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":x.value===!0?` ${o.activeClass}`:"":"");function b(g){try{return n.$router.resolve(g)}catch{}return null}function y(g,{returnRouterError:S,to:B=o.to,replace:T=o.replace}={}){if(o.disable===!0)return g.preventDefault(),Promise.resolve(!1);if(g.metaKey||g.altKey||g.ctrlKey||g.shiftKey||g.button!==void 0&&g.button!==0||o.target==="_blank")return Promise.resolve(!1);g.preventDefault();const E=n.$router[T===!0?"replace":"push"](B);return S===!0?E:E.then(()=>{}).catch(()=>{})}function q(g){if(u.value===!0){const S=B=>y(g,B);s("click",g,S),g.defaultPrevented!==!0&&S()}else s("click",g)}return{hasRouterLink:u,hasHrefLink:a,hasLink:w,linkTag:d,resolvedLink:f,linkIsActive:x,linkIsExactActive:v,linkClass:C,linkAttrs:c,getLink:b,navigateToRouterLink:y,navigateOnClick:q}}const Ke={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Gt={xs:8,sm:10,md:14,lg:20,xl:24},Jt=["button","submit","reset"],Zt=/[^\s]\/[^\s]/,en=["flat","outline","push","unelevated"];function tn(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const nn={...{...Pe,...Xt,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...en.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Dt.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},round:Boolean};function on(e){const t=Me(e,Gt),i=Ft(e),{hasRouterLink:o,hasLink:n,linkTag:s,linkAttrs:r,navigateOnClick:a}=Yt({fallbackTag:"button"}),p=l.computed(()=>{const v=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},v,{padding:e.padding.split(/\s+/).map(C=>C in Ke?Ke[C]+"px":C).join(" "),minWidth:"0",minHeight:"0"}):v}),f=l.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=l.computed(()=>e.disable!==!0&&e.loading!==!0),w=l.computed(()=>u.value===!0?e.tabindex||0:-1),d=l.computed(()=>tn(e,"standard")),c=l.computed(()=>{const v={tabindex:w.value};return n.value===!0?Object.assign(v,r.value):Jt.includes(e.type)===!0&&(v.type=e.type),s.value==="a"?(e.disable===!0?v["aria-disabled"]="true":v.href===void 0&&(v.role="button"),o.value!==!0&&Zt.test(e.type)===!0&&(v.type=e.type)):e.disable===!0&&(v.disabled="",v["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(v,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),v}),m=l.computed(()=>{let v;e.color!==void 0?e.flat===!0||e.outline===!0?v=`text-${e.textColor||e.color}`:v=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(v=`text-${e.textColor}`);const C=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${d.value} q-btn--${C}`+(v!==void 0?" "+v:"")+(u.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),x=l.computed(()=>i.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:m,style:p,innerClasses:x,attributes:c,hasLink:n,linkTag:s,navigateOnClick:a,isActionable:u}}const{passiveCapture:P}=R;let I=null,D=null,F=null;const ln=A({name:"QBtn",props:{...nn,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:i}){const{proxy:o}=l.getCurrentInstance(),{classes:n,style:s,innerClasses:r,attributes:a,hasLink:p,linkTag:f,navigateOnClick:u,isActionable:w}=on(e),d=l.ref(null),c=l.ref(null);let m=null,x,v=null;const C=l.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),b=l.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:p.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),y=l.computed(()=>({center:e.round})),q=l.computed(()=>{const h=Math.max(0,Math.min(100,e.percentage));return h>0?{transition:"transform 0.6s",transform:`translateX(${h-100}%)`}:{}}),g=l.computed(()=>{if(e.loading===!0)return{onMousedown:z,onTouchstart:z,onClick:z,onKeydown:z,onKeyup:z};if(w.value===!0){const h={onClick:B,onKeydown:T,onMousedown:j};if(o.$q.platform.has.touch===!0){const k=e.onTouchstart!==void 0?"":"Passive";h[`onTouchstart${k}`]=E}return h}return{onClick:H}}),S=l.computed(()=>({ref:d,class:"q-btn q-btn-item non-selectable no-outline "+n.value,style:s.value,...a.value,...g.value}));function B(h){if(d.value!==null){if(h!==void 0){if(h.defaultPrevented===!0)return;const k=document.activeElement;if(e.type==="submit"&&k!==document.body&&d.value.contains(k)===!1&&k.contains(d.value)===!1){d.value.focus();const M=()=>{document.removeEventListener("keydown",H,!0),document.removeEventListener("keyup",M,P),d.value!==null&&d.value.removeEventListener("blur",M,P)};document.addEventListener("keydown",H,!0),document.addEventListener("keyup",M,P),d.value.addEventListener("blur",M,P)}}u(h)}}function T(h){d.value!==null&&(i("keydown",h),G(h,[13,32])===!0&&D!==d.value&&(D!==null&&W(),h.defaultPrevented!==!0&&(d.value.focus(),D=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("keyup",_,!0),d.value.addEventListener("blur",_,P)),H(h)))}function E(h){d.value!==null&&(i("touchstart",h),h.defaultPrevented!==!0&&(I!==d.value&&(I!==null&&W(),I=d.value,m=h.target,m.addEventListener("touchcancel",_,P),m.addEventListener("touchend",_,P)),x=!0,v!==null&&clearTimeout(v),v=setTimeout(()=>{v=null,x=!1},200)))}function j(h){d.value!==null&&(h.qSkipRipple=x===!0,i("mousedown",h),h.defaultPrevented!==!0&&F!==d.value&&(F!==null&&W(),F=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("mouseup",_,P)))}function _(h){if(d.value!==null&&!(h!==void 0&&h.type==="blur"&&document.activeElement===d.value)){if(h!==void 0&&h.type==="keyup"){if(D===d.value&&G(h,[13,32])===!0){const k=new MouseEvent("click",h);k.qKeyEvent=!0,h.defaultPrevented===!0&&ae(k),h.cancelBubble===!0&&be(k),d.value.dispatchEvent(k),H(h),h.qKeyEvent=!0}i("keyup",h)}W()}}function W(h){const k=c.value;h!==!0&&(I===d.value||F===d.value)&&k!==null&&k!==document.activeElement&&(k.setAttribute("tabindex",-1),k.focus()),I===d.value&&(m!==null&&(m.removeEventListener("touchcancel",_,P),m.removeEventListener("touchend",_,P)),I=m=null),F===d.value&&(document.removeEventListener("mouseup",_,P),F=null),D===d.value&&(document.removeEventListener("keyup",_,!0),d.value!==null&&d.value.removeEventListener("blur",_,P),D=null),d.value!==null&&d.value.classList.remove("q-btn--active")}function z(h){H(h),h.qSkipRipple=!0}return l.onBeforeUnmount(()=>{W(!0)}),Object.assign(o,{click:h=>{w.value===!0&&B(h)}}),()=>{let h=[];e.icon!==void 0&&h.push(l.h(ze,{name:e.icon,left:e.stack!==!0&&C.value===!0,role:"img"})),C.value===!0&&h.push(l.h("span",{class:"block"},[e.label])),h=N(t.default,h),e.iconRight!==void 0&&e.round===!1&&h.push(l.h(ze,{name:e.iconRight,right:e.stack!==!0&&C.value===!0,role:"img"}));const k=[l.h("span",{class:"q-focus-helper",ref:c})];return e.loading===!0&&e.percentage!==void 0&&k.push(l.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[l.h("span",{class:"q-btn__progress-indicator fit block",style:q.value})])),k.push(l.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+r.value},h)),e.loading!==null&&k.push(l.h(l.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[l.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[l.h(Vt)])]:null)),l.withDirectives(l.h(f.value,S.value,k),[[Nt,b.value,void 0,y.value]])}}}),an=((e,t)=>{const i=e.__vccOpts||e;for(const[o,n]of t)i[o]=n;return i})(l.defineComponent({__name:"AppButton",props:{disable:{type:[Boolean,Function]},tooltip:{},uppercase:{type:Boolean},xSmall:{type:Boolean},small:{type:Boolean},large:{type:Boolean},fullWidth:{type:Boolean},wrap:{type:Boolean},largeIcon:{type:Boolean},modelValue:{type:Boolean},badge:{type:[String,Boolean,Number]},badgeColor:{},badgeInline:{type:Boolean},link:{type:Boolean},size:{},type:{},to:{},replace:{type:Boolean},href:{},target:{},label:{},icon:{},iconRight:{},outline:{type:Boolean},flat:{type:Boolean},unelevated:{type:Boolean},rounded:{type:Boolean},push:{type:Boolean},square:{type:Boolean},glossy:{type:Boolean},fab:{type:Boolean},fabMini:{type:Boolean},padding:{},color:{},textColor:{},noCaps:{type:Boolean},noWrap:{type:Boolean},dense:{type:Boolean},ripple:{type:Boolean},tabindex:{},align:{},stack:{type:Boolean},stretch:{type:Boolean},loading:{type:Boolean},round:{type:Boolean},percentage:{},darkPercentage:{type:Boolean}},emits:["update:modelValue","click"],setup(e,{emit:t}){const i=e,o=t;function n(a){o("click",a),o("update:modelValue",!i.modelValue)}const s=l.computed(()=>i.badge===void 0||i.badge===!1||i.badge===!0||i.badge===""?"":i.badge),r=l.computed(()=>typeof i.disable=="function"?i.disable():i.disable);return(a,p)=>(l.openBlock(),l.createBlock(ln,l.mergeProps(a.$props,{class:[[a.$style.wrapper],"hover-bg-secondary hover-text-black"],disable:r.value,"no-caps":!a.uppercase,"no-wrap":!a.wrap,onClick:n}),{default:l.withCtx(()=>[l.renderSlot(a.$slots,"default"),a.badge?(l.openBlock(),l.createBlock(Ge,{key:0,style:{padding:"6px",top:"-10px",right:"-10px","font-size":"12px"},color:a.badgeColor,floating:!a.badgeInline,rounded:!0},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(s.value),1)]),_:1},8,["color","floating"])):l.createCommentVNode("",!0),a.tooltip?(l.openBlock(),l.createBlock(_t,{key:1,class:"text-body2",delay:400},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(a.tooltip),1)]),_:1})):l.createCommentVNode("",!0)]),_:3},16,["class","disable","no-caps","no-wrap"]))}}),[["__cssModules",{$style:{wrapper:"_wrapper_1g76t_1"}}]]),rn=l.defineComponent({__name:"App",setup(e){return(t,i)=>(l.openBlock(),l.createBlock(an,{label:"asad",color:"primary"}))}}),sn=l.defineComponent({__name:"AppTestButton",setup(e){return(t,i)=>(l.openBlock(),l.createElementBlock("div",null,[l.createVNode(rn)]))}});L.AppTestButton=sn,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})});
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ ._wrapper_1g76t_1{flex:0 0 auto}._wrapper_1g76t_1.q-btn--rounded{border-radius:14px}._wrapper_1g76t_1.q-btn{color:#0a1629;font-size:16px;font-style:normal;font-weight:700}._wrapper_1g76t_1.--loading span:has(>svg){overflow:hidden}._wrapper_1g76t_1 .q-icon{font-size:1.2em}._wrapper_1g76t_1.--large-icon .q-icon{font-size:1.715em}._wrapper_1g76t_1.--full-width{width:100%}._wrapper_1g76t_1.--link{padding:0 8px;display:inline;min-height:unset;font-size:inherit;text-decoration:underline}
package/package.json CHANGED
@@ -1,42 +1,52 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "private": false,
5
- "types": "src/index.d.ts",
6
- "main": "dist/shared-ritm.umd.js",
7
5
  "files": [
8
6
  "dist"
9
7
  ],
8
+ "main": "dist/shared-ritm.umd.js",
9
+ "type": "module",
10
+ "module": "./dist/shared-ritm.es.js",
11
+ "types": "./dist/types/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/shared-ritm.es.js",
15
+ "require": "./dist/shared-ritm.umd.js"
16
+ },
17
+ "./styles.css": "./dist/styles.css",
18
+ "./styles.scss": "./dist/styles.scss"
19
+ },
10
20
  "scripts": {
11
- "serve": "vue-cli-service serve",
12
- "build": "vue-cli-service build",
13
- "build-lib": "vue-cli-service build --target lib --name shared-ritm src/index.ts",
14
- "lint": "vue-cli-service lint"
21
+ "dev": "vite",
22
+ "build": "vite build",
23
+ "typecheck": "vue-tsc --noEmit",
24
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix"
15
25
  },
16
26
  "dependencies": {
17
- "@quasar/extras": "^1.0.0",
27
+ "@quasar/extras": "^1.16.12",
18
28
  "@vueuse/core": "^10.1.2",
19
29
  "axios": "^1.7.7",
20
- "quasar": "^2.16.0",
21
- "vue": "^3.3.8"
30
+ "quasar": "^2.17.1",
31
+ "vue": "^3.5.12"
22
32
  },
23
33
  "devDependencies": {
24
- "@types/node": "^22.7.4",
34
+ "@quasar/vite-plugin": "^1.8.0",
35
+ "@types/node": "^22.7.9",
25
36
  "@typescript-eslint/eslint-plugin": "^5.4.0",
26
37
  "@typescript-eslint/parser": "^5.62.0",
27
- "@vue/cli-plugin-babel": "^5.0.8",
28
- "@vue/cli-plugin-eslint": "^5.0.8",
29
- "@vue/cli-plugin-typescript": "^5.0.8",
30
- "@vue/cli-service": "^5.0.8",
38
+ "@vitejs/plugin-vue": "^5.1.4",
39
+ "@vue/compiler-sfc": "^3.2.6",
31
40
  "@vue/eslint-config-typescript": "^11.0.3",
32
41
  "eslint": "^8.57.0",
33
42
  "eslint-config-prettier": "^8.3.0",
34
43
  "eslint-plugin-prettier": "^4.0.0",
35
44
  "eslint-plugin-vue": "^9.8.0",
36
45
  "prettier": "^2.8.4",
37
- "sass": "^1.32.7",
38
- "sass-loader": "^12.0.0",
46
+ "sass": "^1.80.4",
47
+ "sass-embedded": "^1.80.4",
39
48
  "typescript": "^5.6.2",
40
- "vue-cli-plugin-quasar": "~5.1.0"
49
+ "vite": "^5.4.9",
50
+ "vue-tsc": "^2.1.6"
41
51
  }
42
52
  }
package/dist/demo.html DELETED
@@ -1 +0,0 @@
1
- <!doctype html><meta charset="utf-8"><title>shared-ritm demo</title><script src="./shared-ritm.umd.js"></script><script>console.log(shared-ritm)</script>
@@ -1,126 +0,0 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("vue"));
4
- else if(typeof define === 'function' && define.amd)
5
- define([], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("vue")) : factory(root["Vue"]);
8
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
10
- })((typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__274__) => {
11
- return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ({
14
-
15
- /***/ 317:
16
- /***/ ((__unused_webpack_module, exports) => {
17
-
18
- var __webpack_unused_export__;
19
-
20
- __webpack_unused_export__ = ({ value: true });
21
- // runtime helper for setting properties on components
22
- // in a tree-shakable way
23
- exports.A = (sfc, props) => {
24
- const target = sfc.__vccOpts || sfc;
25
- for (const [key, val] of props) {
26
- target[key] = val;
27
- }
28
- return target;
29
- };
30
-
31
-
32
- /***/ }),
33
-
34
- /***/ 274:
35
- /***/ ((module) => {
36
-
37
- module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
38
-
39
- /***/ })
40
-
41
- /******/ });
42
- /************************************************************************/
43
- /******/ // The module cache
44
- /******/ var __webpack_module_cache__ = {};
45
- /******/
46
- /******/ // The require function
47
- /******/ function __webpack_require__(moduleId) {
48
- /******/ // Check if module is in cache
49
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
50
- /******/ if (cachedModule !== undefined) {
51
- /******/ return cachedModule.exports;
52
- /******/ }
53
- /******/ // Create a new module (and put it into the cache)
54
- /******/ var module = __webpack_module_cache__[moduleId] = {
55
- /******/ // no module.id needed
56
- /******/ // no module.loaded needed
57
- /******/ exports: {}
58
- /******/ };
59
- /******/
60
- /******/ // Execute the module function
61
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
62
- /******/
63
- /******/ // Return the exports of the module
64
- /******/ return module.exports;
65
- /******/ }
66
- /******/
67
- /************************************************************************/
68
- /******/ /* webpack/runtime/publicPath */
69
- /******/ (() => {
70
- /******/ __webpack_require__.p = "";
71
- /******/ })();
72
- /******/
73
- /************************************************************************/
74
- var __webpack_exports__ = {};
75
-
76
- // UNUSED EXPORTS: AppTestButton
77
-
78
- ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
79
- /* eslint-disable no-var */
80
- // This file is imported into lib/wc client bundles.
81
-
82
- if (typeof window !== 'undefined') {
83
- var currentScript = window.document.currentScript
84
- if (false) { var getCurrentScript; }
85
-
86
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
87
- if (src) {
88
- __webpack_require__.p = src[1] // eslint-disable-line
89
- }
90
- }
91
-
92
- // Indicate to webpack that this file can be concatenated
93
- /* harmony default export */ const setPublicPath = (null);
94
-
95
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
96
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(274);
97
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[5]!./node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ruleSet[0].use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[1]!./src/common/app-test-button/AppTestButton.vue?vue&type=template&id=1a0121d4
98
-
99
- function render(_ctx, _cache) {
100
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", null, _cache[0] || (_cache[0] = [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("button", null, "sssssssssssssssss", -1)]));
101
- }
102
- ;// ./src/common/app-test-button/AppTestButton.vue?vue&type=template&id=1a0121d4
103
-
104
- // EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js
105
- var exportHelper = __webpack_require__(317);
106
- ;// ./src/common/app-test-button/AppTestButton.vue
107
-
108
- const script = {}
109
-
110
- ;
111
- const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.A)(script, [['render',render]])
112
-
113
- /* harmony default export */ const AppTestButton = ((/* unused pure expression or super */ null && (__exports__)));
114
- ;// ./src/index.ts
115
-
116
-
117
- ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
118
-
119
-
120
-
121
- __webpack_exports__ = __webpack_exports__["default"];
122
- /******/ return __webpack_exports__;
123
- /******/ })()
124
- ;
125
- });
126
- //# sourceMappingURL=shared-ritm.common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared-ritm.common.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;ACVa;AACb,6BAA6C,EAAE,aAAa,CAAC;AAC7D;AACA;AACA,SAAe;AACf;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,oDAAe,IAAI;;;;;;;wECnBjBA,oEAAA,CAEM,aAAAC,MAAA,QAAAA,MAAA,OADJC,oEAAA,CAAkC,gBAA1B,mBAAiB;;;;;;;AEJ6C;AAC1E;;AAEA,CAAmF;AACnF,iCAAiC,+BAAe,oBAAoB,MAAM;;AAE1E,oDAAe;;ACNuD;;;ACA9C;AACF","sources":["webpack://shared-ritm/webpack/universalModuleDefinition","webpack://shared-ritm/./node_modules/vue-loader/dist/exportHelper.js","webpack://shared-ritm/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://shared-ritm/webpack/bootstrap","webpack://shared-ritm/webpack/runtime/publicPath","webpack://shared-ritm/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://shared-ritm/./src/common/app-test-button/AppTestButton.vue","webpack://shared-ritm/./src/common/app-test-button/AppTestButton.vue?623c","webpack://shared-ritm/./src/common/app-test-button/AppTestButton.vue?9d8b","webpack://shared-ritm/./src/index.ts","webpack://shared-ritm/./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse {\n\t\tvar a = typeof exports === 'object' ? factory(require(\"vue\")) : factory(root[\"Vue\"]);\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})((typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__274__) => {\nreturn ","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__274__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","<script setup lang=\"ts\"></script>\r\n\r\n<template>\r\n <div>\r\n <button>sssssssssssssssss</button>\r\n </div>\r\n</template>\r\n\r\n<style scoped lang=\"scss\"></style>\r\n","export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[5]!../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ruleSet[0].use[0]!../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[1]!./AppTestButton.vue?vue&type=template&id=1a0121d4\"","import { render } from \"./AppTestButton.vue?vue&type=template&id=1a0121d4\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import AppTestButton from './common/app-test-button/AppTestButton.vue'\r\n\r\nexport { AppTestButton }\r\n","import './setPublicPath'\nexport * from '~entry'\n"],"names":["_createElementBlock","_cache","_createElementVNode","AppTestButton"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared-ritm.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;ACVa;AACb,6BAA6C,EAAE,aAAa,CAAC;AAC7D;AACA;AACA,SAAe;AACf;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,oDAAe,IAAI;;;;;;;wECnBjBA,oEAAA,CAEM,aAAAC,MAAA,QAAAA,MAAA,OADJC,oEAAA,CAAkC,gBAA1B,mBAAiB;;;;;;;AEJ6C;AAC1E;;AAEA,CAAmF;AACnF,iCAAiC,+BAAe,oBAAoB,MAAM;;AAE1E,oDAAe;;ACNuD;;;ACA9C;AACF","sources":["webpack://SharedRitm/webpack/universalModuleDefinition","webpack://SharedRitm/./node_modules/vue-loader/dist/exportHelper.js","webpack://SharedRitm/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://SharedRitm/webpack/bootstrap","webpack://SharedRitm/webpack/runtime/publicPath","webpack://SharedRitm/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://SharedRitm/./src/common/app-test-button/AppTestButton.vue","webpack://SharedRitm/./src/common/app-test-button/AppTestButton.vue?cad9","webpack://SharedRitm/./src/common/app-test-button/AppTestButton.vue?9d8b","webpack://SharedRitm/./src/index.ts","webpack://SharedRitm/./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"SharedRitm\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"SharedRitm\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__274__) => {\nreturn ","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__274__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","<script setup lang=\"ts\"></script>\r\n\r\n<template>\r\n <div>\r\n <button>sssssssssssssssss</button>\r\n </div>\r\n</template>\r\n\r\n<style scoped lang=\"scss\"></style>\r\n","export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-87.use[1]!../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[5]!../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ruleSet[0].use[0]!../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[1]!./AppTestButton.vue?vue&type=template&id=1a0121d4\"","import { render } from \"./AppTestButton.vue?vue&type=template&id=1a0121d4\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import AppTestButton from './common/app-test-button/AppTestButton.vue'\r\n\r\nexport { AppTestButton }\r\n","import './setPublicPath'\nexport * from '~entry'\n"],"names":["_createElementBlock","_cache","_createElementVNode","AppTestButton"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["SharedRitm"]=t(require("vue")):e["SharedRitm"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(e=>(()=>{"use strict";var t={317:(e,t)=>{t.A=(e,t)=>{const r=e.__vccOpts||e;for(const[o,n]of t)r[o]=n;return r}},274:t=>{t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var f=r[e]={exports:{}};return t[e](f,f.exports,o),f.exports}(()=>{o.p=""})();var n={};if("undefined"!==typeof window){var f=window.document.currentScript,i=f&&f.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(o.p=i[1])}o(274);o(317);return n=n["default"],n})()));
2
- //# sourceMappingURL=shared-ritm.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared-ritm.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,QACR,oBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIJ,GACe,kBAAZC,QACdA,QAAQ,cAAgBD,EAAQG,QAAQ,QAExCJ,EAAK,cAAgBC,EAAQD,EAAK,OACnC,EATD,CASoB,qBAATO,KAAuBA,KAAOC,MAAQC,G,sCCLjDP,EAAQ,EAAU,CAACQ,EAAKC,KACpB,MAAMC,EAASF,EAAIG,WAAaH,EAChC,IAAK,MAAOI,EAAKC,KAAQJ,EACrBC,EAAOE,GAAOC,EAElB,OAAOH,CAAM,C,UCTjBT,EAAOD,QAAUO,C,GCCbO,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAajB,QAGrB,IAAIC,EAASa,EAAyBE,GAAY,CAGjDhB,QAAS,CAAC,GAOX,OAHAmB,EAAoBH,GAAUf,EAAQA,EAAOD,QAASe,GAG/Cd,EAAOD,OACf,C,MCtBAe,EAAoBK,EAAI,E,cCGxB,GAAsB,qBAAXC,OAAwB,CACjC,IAAIC,EAAgBD,OAAOE,SAASD,cAWhCE,EAAMF,GAAiBA,EAAcE,IAAIC,MAAM,2BAC/CD,IACF,IAA0BA,EAAI,GAElC,C","sources":["webpack://SharedRitm/webpack/universalModuleDefinition","webpack://SharedRitm/./node_modules/vue-loader/dist/exportHelper.js","webpack://SharedRitm/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://SharedRitm/webpack/bootstrap","webpack://SharedRitm/webpack/runtime/publicPath","webpack://SharedRitm/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"SharedRitm\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"SharedRitm\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__274__) => {\nreturn ","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__274__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n"],"names":["root","factory","exports","module","require","define","amd","self","this","__WEBPACK_EXTERNAL_MODULE__274__","sfc","props","target","__vccOpts","key","val","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","p","window","currentScript","document","src","match"],"sourceRoot":""}