@win2win/shared-ui 0.0.2 → 0.0.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.
package/dist/demo.html ADDED
@@ -0,0 +1 @@
1
+ <!doctype html><meta charset="utf-8"><title>w2w-shared-ui demo</title><script src="./w2w-shared-ui.umd.js"></script><link rel="stylesheet" href="./w2w-shared-ui.css"><script>console.log(w2w-shared-ui)</script>
@@ -0,0 +1,127 @@
1
+ /******/ (function() { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ // The require scope
4
+ /******/ var __webpack_require__ = {};
5
+ /******/
6
+ /************************************************************************/
7
+ /******/ /* webpack/runtime/define property getters */
8
+ /******/ !function() {
9
+ /******/ // define getter functions for harmony exports
10
+ /******/ __webpack_require__.d = function(exports, definition) {
11
+ /******/ for(var key in definition) {
12
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14
+ /******/ }
15
+ /******/ }
16
+ /******/ };
17
+ /******/ }();
18
+ /******/
19
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
20
+ /******/ !function() {
21
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
22
+ /******/ }();
23
+ /******/
24
+ /******/ /* webpack/runtime/make namespace object */
25
+ /******/ !function() {
26
+ /******/ // define __esModule on exports
27
+ /******/ __webpack_require__.r = function(exports) {
28
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
29
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
30
+ /******/ }
31
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
32
+ /******/ };
33
+ /******/ }();
34
+ /******/
35
+ /******/ /* webpack/runtime/publicPath */
36
+ /******/ !function() {
37
+ /******/ __webpack_require__.p = "";
38
+ /******/ }();
39
+ /******/
40
+ /************************************************************************/
41
+ var __webpack_exports__ = {};
42
+ // ESM COMPAT FLAG
43
+ __webpack_require__.r(__webpack_exports__);
44
+
45
+ // EXPORTS
46
+ __webpack_require__.d(__webpack_exports__, {
47
+ TestComponent: function() { return /* reexport */ TestComponent; },
48
+ "default": function() { return /* binding */ entry_lib; }
49
+ });
50
+
51
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
52
+ /* eslint-disable no-var */
53
+ // This file is imported into lib/wc client bundles.
54
+
55
+ if (typeof window !== 'undefined') {
56
+ var currentScript = window.document.currentScript
57
+ if (false) { var getCurrentScript; }
58
+
59
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
60
+ if (src) {
61
+ __webpack_require__.p = src[1] // eslint-disable-line
62
+ }
63
+ }
64
+
65
+ // Indicate to webpack that this file can be concatenated
66
+ /* harmony default export */ var setPublicPath = (null);
67
+
68
+ ;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
69
+ var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
70
+ ;// CONCATENATED MODULE: ./src/assets/logo.svg
71
+ var logo_namespaceObject = __webpack_require__.p + "img/logo.03709c7d.svg";
72
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!./node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!./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/components/TestComponent.vue?vue&type=script&setup=true&lang=ts
73
+
74
+
75
+
76
+ const _hoisted_1 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("img", {
77
+ alt: "Quasar logo",
78
+ src: logo_namespaceObject,
79
+ style: {
80
+ "width": "200px",
81
+ "height": "200px"
82
+ }
83
+ }, null, -1);
84
+
85
+ /* harmony default export */ var TestComponentvue_type_script_setup_true_lang_ts = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.defineComponent)({
86
+ __name: 'TestComponent',
87
+ setup(__props) {
88
+ const title = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)('TEST COMPONENT');
89
+ return (_ctx, _cache) => {
90
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, [_hoisted_1, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(title.value), 1)], 64);
91
+ };
92
+ }
93
+ }));
94
+ ;// CONCATENATED MODULE: ./src/components/TestComponent.vue?vue&type=script&setup=true&lang=ts
95
+
96
+ ;// CONCATENATED MODULE: ./src/components/TestComponent.vue
97
+
98
+
99
+
100
+ const __exports__ = TestComponentvue_type_script_setup_true_lang_ts;
101
+
102
+ /* harmony default export */ var TestComponent = (__exports__);
103
+ ;// CONCATENATED MODULE: ./src/index.ts
104
+
105
+ // Importar otros componentes aquí
106
+
107
+ // Exportar otros componentes aquí
108
+ // Crear un plugin de instalación
109
+ const install = Vue => {
110
+ Vue.component('TestComponent', TestComponent);
111
+ // Registrar otros componentes aquí
112
+ // Vue.component('AnotherComponent', AnotherComponent);
113
+ };
114
+ // Exportar el plugin de instalación como el valor predeterminado
115
+ /* harmony default export */ var src_0 = ({
116
+ install
117
+ });
118
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
119
+
120
+
121
+ /* harmony default export */ var entry_lib = (src_0);
122
+
123
+
124
+ module.exports = __webpack_exports__;
125
+ /******/ })()
126
+ ;
127
+ //# sourceMappingURL=w2w-shared-ui.common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"w2w-shared-ui.common.js","mappings":";;UAAA;UACA;;;;;WCDA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,kDAAe,IAAI;;;ACtBnB,IAAI,4DAA4B;;;;ACAyB;AAC2K;AACzL;AAG3C,MAAMe,UAAU,GAAG,aAAaZ,mFAAmB,CAAC,KAAK,EAAE;EACzDa,GAAG,EAAE,aAAa;EAClBC,GAAG,EAAEH,oBAAU;EACfI,KAAK,EAAE;IAAC,OAAO,EAAC,OAAO;IAAC,QAAQ,EAAC;EAAO;CACzC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;ACAc;ADK1B,iGAA4BjB,gFAAgB,CAAC;EAC3CmB,MAAM,EAAE,eAAe;EACvBC,KAAKA,CAACC,OAAO;ICLb,MAAMC,KAAK,GAAGJ,oEAAG,CAAC,gBAAgB,CAAC;IDSrC,OAAO,CAACK,IAAS,EAACC,MAAW,KAAI;MAC/B,OAAQd,0EAAU,EAAE,EAAEE,mFAAmB,CAACJ,qEAAS,EAAE,IAAI,EAAE,CACzDM,UAAU,EACVR,gFAAgB,CAAC,GAAG,GAAGF,gFAAgB,CAACkB,KAAK,CAACG,KAAK,CAAC,EAAE,CAAC,CAAC,CACzD,EAAE,EAAE,CAAC;IACR,CAAC;EACD;CAEC,CAAC;;AE5B6d;;ACApZ;AACL;;AAEtE,oBAAoB,+CAAM;;AAE1B,kDAAe;;ACL4C;AAC3D;AACyB;AACzB;AAEA;AACA,MAAME,OAAO,GAAIC,GAAQ,IAAI;EAC3BA,GAAG,CAACC,SAAS,CAAC,eAAe,EAAEH,aAAa,CAAC;EAC7C;EACA;AACF,CAAC;AAED;AACA,0CAAe;EACbC;CACD;;ACfuB;AACA;AACxB,8CAAe,KAAG;AACI","sources":["webpack://@win2win/shared-ui/webpack/bootstrap","webpack://@win2win/shared-ui/webpack/runtime/define property getters","webpack://@win2win/shared-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@win2win/shared-ui/webpack/runtime/make namespace object","webpack://@win2win/shared-ui/webpack/runtime/publicPath","webpack://@win2win/shared-ui/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://@win2win/shared-ui/external commonjs2 {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://@win2win/shared-ui/./src/components/TestComponent.vue?9529","webpack://@win2win/shared-ui/./src/components/TestComponent.vue","webpack://@win2win/shared-ui/./src/components/TestComponent.vue?17fb","webpack://@win2win/shared-ui/./src/components/TestComponent.vue?c2b5","webpack://@win2win/shared-ui/./src/index.ts","webpack://@win2win/shared-ui/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\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","var __WEBPACK_NAMESPACE_OBJECT__ = require(\"vue\");","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '../assets/logo.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"img\", {\n alt: \"Quasar logo\",\n src: _imports_0,\n style: {\"width\":\"200px\",\"height\":\"200px\"}\n}, null, -1)\n\nimport { ref } from 'vue';\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TestComponent',\n setup(__props) {\n\nconst title = ref('TEST COMPONENT')\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createTextVNode(\" \" + _toDisplayString(title.value), 1)\n ], 64))\n}\n}\n\n})","<template>\n <img alt=\"Quasar logo\" src=\"../assets/logo.svg\" style=\"width: 200px; height: 200px\">\n {{title}}\n</template>\n\n<style>\n</style>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\n\n const title = ref('TEST COMPONENT')\n</script>\n","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../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]!./TestComponent.vue?vue&type=script&setup=true&lang=ts\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../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]!./TestComponent.vue?vue&type=script&setup=true&lang=ts\"","import script from \"./TestComponent.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TestComponent.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import TestComponent from './components/TestComponent.vue';\n// Importar otros componentes aquí\nexport { TestComponent };\n// Exportar otros componentes aquí\n\n// Crear un plugin de instalación\nconst install = (Vue: any) => {\n Vue.component('TestComponent', TestComponent);\n // Registrar otros componentes aquí\n // Vue.component('AnotherComponent', AnotherComponent);\n};\n\n// Exportar el plugin de instalación como el valor predeterminado\nexport default {\n install,\n};","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["defineComponent","_defineComponent","createElementVNode","_createElementVNode","toDisplayString","_toDisplayString","createTextVNode","_createTextVNode","Fragment","_Fragment","openBlock","_openBlock","createElementBlock","_createElementBlock","_imports_0","_hoisted_1","alt","src","style","ref","__name","setup","__props","title","_ctx","_cache","value","TestComponent","install","Vue","component"],"sourceRoot":""}
@@ -0,0 +1,170 @@
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["w2w-shared-ui"] = factory(require("vue"));
8
+ else
9
+ root["w2w-shared-ui"] = factory(root["Vue"]);
10
+ })((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__274__) {
11
+ return /******/ (function() { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 274:
16
+ /***/ (function(module) {
17
+
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
19
+
20
+ /***/ })
21
+
22
+ /******/ });
23
+ /************************************************************************/
24
+ /******/ // The module cache
25
+ /******/ var __webpack_module_cache__ = {};
26
+ /******/
27
+ /******/ // The require function
28
+ /******/ function __webpack_require__(moduleId) {
29
+ /******/ // Check if module is in cache
30
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
31
+ /******/ if (cachedModule !== undefined) {
32
+ /******/ return cachedModule.exports;
33
+ /******/ }
34
+ /******/ // Create a new module (and put it into the cache)
35
+ /******/ var module = __webpack_module_cache__[moduleId] = {
36
+ /******/ // no module.id needed
37
+ /******/ // no module.loaded needed
38
+ /******/ exports: {}
39
+ /******/ };
40
+ /******/
41
+ /******/ // Execute the module function
42
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
43
+ /******/
44
+ /******/ // Return the exports of the module
45
+ /******/ return module.exports;
46
+ /******/ }
47
+ /******/
48
+ /************************************************************************/
49
+ /******/ /* webpack/runtime/define property getters */
50
+ /******/ !function() {
51
+ /******/ // define getter functions for harmony exports
52
+ /******/ __webpack_require__.d = function(exports, definition) {
53
+ /******/ for(var key in definition) {
54
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
55
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
56
+ /******/ }
57
+ /******/ }
58
+ /******/ };
59
+ /******/ }();
60
+ /******/
61
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
62
+ /******/ !function() {
63
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
64
+ /******/ }();
65
+ /******/
66
+ /******/ /* webpack/runtime/make namespace object */
67
+ /******/ !function() {
68
+ /******/ // define __esModule on exports
69
+ /******/ __webpack_require__.r = function(exports) {
70
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
71
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
72
+ /******/ }
73
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
74
+ /******/ };
75
+ /******/ }();
76
+ /******/
77
+ /******/ /* webpack/runtime/publicPath */
78
+ /******/ !function() {
79
+ /******/ __webpack_require__.p = "";
80
+ /******/ }();
81
+ /******/
82
+ /************************************************************************/
83
+ var __webpack_exports__ = {};
84
+ // ESM COMPAT FLAG
85
+ __webpack_require__.r(__webpack_exports__);
86
+
87
+ // EXPORTS
88
+ __webpack_require__.d(__webpack_exports__, {
89
+ TestComponent: function() { return /* reexport */ TestComponent; },
90
+ "default": function() { return /* binding */ entry_lib; }
91
+ });
92
+
93
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
94
+ /* eslint-disable no-var */
95
+ // This file is imported into lib/wc client bundles.
96
+
97
+ if (typeof window !== 'undefined') {
98
+ var currentScript = window.document.currentScript
99
+ if (false) { var getCurrentScript; }
100
+
101
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
102
+ if (src) {
103
+ __webpack_require__.p = src[1] // eslint-disable-line
104
+ }
105
+ }
106
+
107
+ // Indicate to webpack that this file can be concatenated
108
+ /* harmony default export */ var setPublicPath = (null);
109
+
110
+ // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
111
+ var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(274);
112
+ ;// CONCATENATED MODULE: ./src/assets/logo.svg
113
+ var logo_namespaceObject = __webpack_require__.p + "img/logo.03709c7d.svg";
114
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-88.use[2]!./node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!./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/components/TestComponent.vue?vue&type=script&setup=true&lang=ts
115
+
116
+
117
+
118
+ const _hoisted_1 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
119
+ alt: "Quasar logo",
120
+ src: logo_namespaceObject,
121
+ style: {
122
+ "width": "200px",
123
+ "height": "200px"
124
+ }
125
+ }, null, -1);
126
+
127
+ /* harmony default export */ var TestComponentvue_type_script_setup_true_lang_ts = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
128
+ __name: 'TestComponent',
129
+ setup(__props) {
130
+ const title = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)('TEST COMPONENT');
131
+ return (_ctx, _cache) => {
132
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, [_hoisted_1, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(title.value), 1)], 64);
133
+ };
134
+ }
135
+ }));
136
+ ;// CONCATENATED MODULE: ./src/components/TestComponent.vue?vue&type=script&setup=true&lang=ts
137
+
138
+ ;// CONCATENATED MODULE: ./src/components/TestComponent.vue
139
+
140
+
141
+
142
+ const __exports__ = TestComponentvue_type_script_setup_true_lang_ts;
143
+
144
+ /* harmony default export */ var TestComponent = (__exports__);
145
+ ;// CONCATENATED MODULE: ./src/index.ts
146
+
147
+ // Importar otros componentes aquí
148
+
149
+ // Exportar otros componentes aquí
150
+ // Crear un plugin de instalación
151
+ const install = Vue => {
152
+ Vue.component('TestComponent', TestComponent);
153
+ // Registrar otros componentes aquí
154
+ // Vue.component('AnotherComponent', AnotherComponent);
155
+ };
156
+ // Exportar el plugin de instalación como el valor predeterminado
157
+ /* harmony default export */ var src_0 = ({
158
+ install
159
+ });
160
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
161
+
162
+
163
+ /* harmony default export */ var entry_lib = (src_0);
164
+
165
+
166
+ /******/ return __webpack_exports__;
167
+ /******/ })()
168
+ ;
169
+ });
170
+ //# sourceMappingURL=w2w-shared-ui.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"w2w-shared-ui.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;ACVA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,kDAAe,IAAI;;;;;;;ACtBsC;AAC2K;AACzL;AAG3C,MAAMe,UAAU,GAAG,aAAaZ,oEAAmB,CAAC,KAAK,EAAE;EACzDa,GAAG,EAAE,aAAa;EAClBC,GAAG,EAAEH,oBAAU;EACfI,KAAK,EAAE;IAAC,OAAO,EAAC,OAAO;IAAC,QAAQ,EAAC;EAAO;CACzC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;ACAc;ADK1B,iGAA4BjB,iEAAgB,CAAC;EAC3CmB,MAAM,EAAE,eAAe;EACvBC,KAAKA,CAACC,OAAO;ICLb,MAAMC,KAAK,GAAGJ,qDAAG,CAAC,gBAAgB,CAAC;IDSrC,OAAO,CAACK,IAAS,EAACC,MAAW,KAAI;MAC/B,OAAQd,2DAAU,EAAE,EAAEE,oEAAmB,CAACJ,sDAAS,EAAE,IAAI,EAAE,CACzDM,UAAU,EACVR,iEAAgB,CAAC,GAAG,GAAGF,iEAAgB,CAACkB,KAAK,CAACG,KAAK,CAAC,EAAE,CAAC,CAAC,CACzD,EAAE,EAAE,CAAC;IACR,CAAC;EACD;CAEC,CAAC;;AE5B6d;;ACApZ;AACL;;AAEtE,oBAAoB,+CAAM;;AAE1B,kDAAe;;ACL4C;AAC3D;AACyB;AACzB;AAEA;AACA,MAAME,OAAO,GAAIC,GAAQ,IAAI;EAC3BA,GAAG,CAACC,SAAS,CAAC,eAAe,EAAEH,aAAa,CAAC;EAC7C;EACA;AACF,CAAC;AAED;AACA,0CAAe;EACbC;CACD;;ACfuB;AACA;AACxB,8CAAe,KAAG;AACI","sources":["webpack://w2w-shared-ui/webpack/universalModuleDefinition","webpack://w2w-shared-ui/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://w2w-shared-ui/webpack/bootstrap","webpack://w2w-shared-ui/webpack/runtime/define property getters","webpack://w2w-shared-ui/webpack/runtime/hasOwnProperty shorthand","webpack://w2w-shared-ui/webpack/runtime/make namespace object","webpack://w2w-shared-ui/webpack/runtime/publicPath","webpack://w2w-shared-ui/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://w2w-shared-ui/./src/components/TestComponent.vue?9529","webpack://w2w-shared-ui/./src/components/TestComponent.vue","webpack://w2w-shared-ui/./src/components/TestComponent.vue?9fa5","webpack://w2w-shared-ui/./src/components/TestComponent.vue?c2b5","webpack://w2w-shared-ui/./src/index.ts","webpack://w2w-shared-ui/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.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[\"w2w-shared-ui\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"w2w-shared-ui\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__274__) {\nreturn ","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","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\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","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '../assets/logo.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"img\", {\n alt: \"Quasar logo\",\n src: _imports_0,\n style: {\"width\":\"200px\",\"height\":\"200px\"}\n}, null, -1)\n\nimport { ref } from 'vue';\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TestComponent',\n setup(__props) {\n\nconst title = ref('TEST COMPONENT')\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createTextVNode(\" \" + _toDisplayString(title.value), 1)\n ], 64))\n}\n}\n\n})","<template>\n <img alt=\"Quasar logo\" src=\"../assets/logo.svg\" style=\"width: 200px; height: 200px\">\n {{title}}\n</template>\n\n<style>\n</style>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\n\n const title = ref('TEST COMPONENT')\n</script>\n","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-88.use[2]!../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../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]!./TestComponent.vue?vue&type=script&setup=true&lang=ts\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-88.use[2]!../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../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]!./TestComponent.vue?vue&type=script&setup=true&lang=ts\"","import script from \"./TestComponent.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TestComponent.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import TestComponent from './components/TestComponent.vue';\n// Importar otros componentes aquí\nexport { TestComponent };\n// Exportar otros componentes aquí\n\n// Crear un plugin de instalación\nconst install = (Vue: any) => {\n Vue.component('TestComponent', TestComponent);\n // Registrar otros componentes aquí\n // Vue.component('AnotherComponent', AnotherComponent);\n};\n\n// Exportar el plugin de instalación como el valor predeterminado\nexport default {\n install,\n};","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["defineComponent","_defineComponent","createElementVNode","_createElementVNode","toDisplayString","_toDisplayString","createTextVNode","_createTextVNode","Fragment","_Fragment","openBlock","_openBlock","createElementBlock","_createElementBlock","_imports_0","_hoisted_1","alt","src","style","ref","__name","setup","__props","title","_ctx","_cache","value","TestComponent","install","Vue","component"],"sourceRoot":""}
@@ -0,0 +1,2 @@
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["w2w-shared-ui"]=t(require("vue")):e["w2w-shared-ui"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(){"use strict";var t={274:function(t){t.exports=e}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var u=n[e]={exports:{}};return t[e](u,u.exports,o),u.exports}!function(){o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){o.p=""}();var r={};if(o.r(r),o.d(r,{TestComponent:function(){return d},default:function(){return v}}),"undefined"!==typeof window){var u=window.document.currentScript,i=u&&u.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(o.p=i[1])}var c=o(274),f=o.p+"img/logo.03709c7d.svg";const p=(0,c.createElementVNode)("img",{alt:"Quasar logo",src:f,style:{width:"200px",height:"200px"}},null,-1);var s=(0,c.defineComponent)({__name:"TestComponent",setup(e){const t=(0,c.ref)("TEST COMPONENT");return(e,n)=>((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,null,[p,(0,c.createTextVNode)(" "+(0,c.toDisplayString)(t.value),1)],64))}});const a=s;var d=a;const l=e=>{e.component("TestComponent",d)};var m={install:l},v=m;return r}()}));
2
+ //# sourceMappingURL=w2w-shared-ui.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"w2w-shared-ui.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,iBAAmBD,EAAQG,QAAQ,QAE3CJ,EAAK,iBAAmBC,EAAQD,EAAK,OACtC,EATD,CASoB,qBAATO,KAAuBA,KAAOC,MAAO,SAASC,GACzD,O,+CCVAN,EAAOD,QAAUO,C,GCCbC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaX,QAGrB,IAAIC,EAASO,EAAyBE,GAAY,CAGjDV,QAAS,CAAC,GAOX,OAHAa,EAAoBH,GAAUT,EAAQA,EAAOD,QAASS,GAG/CR,EAAOD,OACf,E,WCrBAS,EAAoBK,EAAI,SAASd,EAASe,GACzC,IAAI,IAAIC,KAAOD,EACXN,EAAoBQ,EAAEF,EAAYC,KAASP,EAAoBQ,EAAEjB,EAASgB,IAC5EE,OAAOC,eAAenB,EAASgB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAG3E,C,eCPAP,EAAoBQ,EAAI,SAASK,EAAKC,GAAQ,OAAOL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,EAAO,C,eCCtGd,EAAoBkB,EAAI,SAAS3B,GACX,qBAAX4B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAenB,EAAS4B,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAenB,EAAS,aAAc,CAAE8B,OAAO,GACvD,C,eCNArB,EAAoBsB,EAAI,E,aCGxB,G,gFAAsB,qBAAXC,OAAwB,CACjC,IAAIC,EAAgBD,OAAOE,SAASD,cAWhCE,EAAMF,GAAiBA,EAAcE,IAAIC,MAAM,2BAC/CD,IACF,IAA0BA,EAAI,GAElC,CAGA,I,uCCjBA,MAAME,GAA0BC,EAAAA,EAAAA,oBAAoB,MAAO,CACzDC,IAAK,cACLJ,IAAKK,EACLC,MAAO,CAAC,MAAQ,QAAQ,OAAS,UAChC,MAAO,GAKV,OAA4BC,EAAAA,EAAAA,iBAAiB,CAC3CC,OAAQ,gBACRC,KAAAA,CAAMC,GCLN,MAAMC,GAAQC,EAAAA,EAAAA,KAAI,kBDSpB,MAAO,CAACC,EAAUC,MACRC,EAAAA,EAAAA,cAAcC,EAAAA,EAAAA,oBAAoBC,EAAAA,SAAW,KAAM,CACzDf,GACAgB,EAAAA,EAAAA,iBAAiB,KAAMC,EAAAA,EAAAA,iBAAiBR,EAAMhB,OAAQ,IACrD,IAEL,IEvBA,MAAMyB,EAAc,EAEpB,QCCA,MAAMC,EAAWC,IACfA,EAAIC,UAAU,gBAAiBC,EAAc,EAM/C,OACEH,WCZF,I","sources":["webpack://w2w-shared-ui/webpack/universalModuleDefinition","webpack://w2w-shared-ui/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://w2w-shared-ui/webpack/bootstrap","webpack://w2w-shared-ui/webpack/runtime/define property getters","webpack://w2w-shared-ui/webpack/runtime/hasOwnProperty shorthand","webpack://w2w-shared-ui/webpack/runtime/make namespace object","webpack://w2w-shared-ui/webpack/runtime/publicPath","webpack://w2w-shared-ui/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://w2w-shared-ui/./src/components/TestComponent.vue?9529","webpack://w2w-shared-ui/./src/components/TestComponent.vue","webpack://w2w-shared-ui/./src/components/TestComponent.vue?c2b5","webpack://w2w-shared-ui/./src/index.ts","webpack://w2w-shared-ui/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.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[\"w2w-shared-ui\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"w2w-shared-ui\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__274__) {\nreturn ","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","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\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","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '../assets/logo.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"img\", {\n alt: \"Quasar logo\",\n src: _imports_0,\n style: {\"width\":\"200px\",\"height\":\"200px\"}\n}, null, -1)\n\nimport { ref } from 'vue';\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TestComponent',\n setup(__props) {\n\nconst title = ref('TEST COMPONENT')\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createTextVNode(\" \" + _toDisplayString(title.value), 1)\n ], 64))\n}\n}\n\n})","<template>\n <img alt=\"Quasar logo\" src=\"../assets/logo.svg\" style=\"width: 200px; height: 200px\">\n {{title}}\n</template>\n\n<style>\n</style>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\n\n const title = ref('TEST COMPONENT')\n</script>\n","import script from \"./TestComponent.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TestComponent.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import TestComponent from './components/TestComponent.vue';\n// Importar otros componentes aquí\nexport { TestComponent };\n// Exportar otros componentes aquí\n\n// Crear un plugin de instalación\nconst install = (Vue: any) => {\n Vue.component('TestComponent', TestComponent);\n // Registrar otros componentes aquí\n // Vue.component('AnotherComponent', AnotherComponent);\n};\n\n// Exportar el plugin de instalación como el valor predeterminado\nexport default {\n install,\n};","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","require","define","amd","self","this","__WEBPACK_EXTERNAL_MODULE__274__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","p","window","currentScript","document","src","match","_hoisted_1","_createElementVNode","alt","_imports_0","style","_defineComponent","__name","setup","__props","title","ref","_ctx","_cache","_openBlock","_createElementBlock","_Fragment","_createTextVNode","_toDisplayString","__exports__","install","Vue","component","TestComponent"],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "@win2win/shared-ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
+ "files": [ "dist"
5
+ ],
4
6
  "scripts": {
5
7
  "dev": "vue-cli-service serve",
6
8
  "build": "vue-cli-service build --target lib --name w2w-shared-ui src/index.ts",
package/babel.config.js DELETED
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- presets: [
3
- '@vue/cli-plugin-babel/preset'
4
- ]
5
- }
package/jsconfig.json DELETED
@@ -1,19 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es5",
4
- "module": "esnext",
5
- "baseUrl": "./",
6
- "moduleResolution": "node",
7
- "paths": {
8
- "@/*": [
9
- "src/*"
10
- ]
11
- },
12
- "lib": [
13
- "esnext",
14
- "dom",
15
- "dom.iterable",
16
- "scripthost"
17
- ]
18
- }
19
- }
Binary file
package/public/index.html DELETED
@@ -1,17 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
8
- <title><%= htmlWebpackPlugin.options.title %></title>
9
- </head>
10
- <body>
11
- <noscript>
12
- <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
- </noscript>
14
- <div id="app"></div>
15
- <!-- built files will be auto injected -->
16
- </body>
17
- </html>
@@ -1,4 +0,0 @@
1
- declare module '@/quasar-user-options' {
2
- const quasarUserOptions: any;
3
- export default quasarUserOptions;
4
- }
package/shims-vue.d.ts DELETED
@@ -1,5 +0,0 @@
1
- declare module '*.vue' {
2
- import { DefineComponent } from 'vue';
3
- const component: DefineComponent<{}, {}, any>;
4
- export default component;
5
- }
package/src/App.vue DELETED
@@ -1,8 +0,0 @@
1
- <template>
2
- <TestComponent />
3
- </template>
4
-
5
- <script setup lang="ts">
6
- import TestComponent from './components/TestComponent.vue';
7
-
8
- </script>
Binary file
@@ -1,13 +0,0 @@
1
- <template>
2
- <img alt="Quasar logo" src="../assets/logo.svg" style="width: 200px; height: 200px">
3
- {{title}}
4
- </template>
5
-
6
- <style>
7
- </style>
8
-
9
- <script setup lang="ts">
10
- import { ref } from 'vue';
11
-
12
- const title = ref('TEST COMPONENT')
13
- </script>
package/src/index.ts DELETED
@@ -1,16 +0,0 @@
1
- import TestComponent from './components/TestComponent.vue';
2
- // Importar otros componentes aquí
3
- export { TestComponent };
4
- // Exportar otros componentes aquí
5
-
6
- // Crear un plugin de instalación
7
- const install = (Vue: any) => {
8
- Vue.component('TestComponent', TestComponent);
9
- // Registrar otros componentes aquí
10
- // Vue.component('AnotherComponent', AnotherComponent);
11
- };
12
-
13
- // Exportar el plugin de instalación como el valor predeterminado
14
- export default {
15
- install,
16
- };
package/src/main.ts DELETED
@@ -1,6 +0,0 @@
1
- import quasarUserOptions from '@/quasar-user-options'
2
- import { Quasar } from 'quasar'
3
- import { createApp } from 'vue'
4
- import App from './App.vue'
5
-
6
- createApp(App).use(Quasar, quasarUserOptions).mount('#app')
@@ -1,13 +0,0 @@
1
-
2
- import '@quasar/extras/fontawesome-v5/fontawesome-v5.css'
3
- import '@quasar/extras/material-icons-outlined/material-icons-outlined.css'
4
- import '@quasar/extras/material-icons/material-icons.css'
5
- import '@quasar/extras/mdi-v4/mdi-v4.css'
6
- import '@quasar/extras/roboto-font/roboto-font.css'
7
- import './styles/quasar.scss'
8
-
9
- export default {
10
- config: {},
11
- plugins: {
12
- }
13
- }
@@ -1,3 +0,0 @@
1
- @import './quasar.variables.scss';
2
- @import '~quasar-styl';
3
- // @import '~quasar-addon-styl';
@@ -1,15 +0,0 @@
1
- // It's highly recommended to change the default colors
2
- // to match your app's branding.
3
-
4
- $primary : #027BE3;
5
- $secondary : #26A69A;
6
- $accent : #9C27B0;
7
-
8
- $dark : #1D1D1D;
9
-
10
- $positive : #21BA45;
11
- $negative : #C10015;
12
- $info : #31CCEC;
13
- $warning : #F2C037;
14
-
15
- @import '~quasar-variables-styl'
package/tsconfig.json DELETED
@@ -1,29 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "esnext",
4
- "module": "esnext",
5
- "strict": true,
6
- "jsx": "preserve",
7
- "importHelpers": true,
8
- "moduleResolution": "node",
9
- "experimentalDecorators": true,
10
- "esModuleInterop": true,
11
- "allowSyntheticDefaultImports": true,
12
- "sourceMap": true,
13
- "baseUrl": ".",
14
- "paths": {
15
- "@/*": ["src/*"]
16
- },
17
- "lib": ["esnext", "dom"],
18
- "types": ["quasar", "node"]
19
- },
20
- "include": [
21
- "src/**/*.ts",
22
- "src/**/*.d.ts",
23
- "src/**/*.tsx",
24
- "src/**/*.vue",
25
- "shims-vue.d.ts",
26
- "shims-quasar-user-options.d.ts"
27
- ],
28
- "exclude": ["node_modules"]
29
- }
package/vue.config.js DELETED
@@ -1,15 +0,0 @@
1
- const { defineConfig } = require('@vue/cli-service')
2
- module.exports = defineConfig({
3
- lintOnSave: false,
4
-
5
- transpileDependencies: [
6
- 'quasar'
7
- ],
8
-
9
- pluginOptions: {
10
- quasar: {
11
- importStrategy: 'kebab',
12
- rtlSupport: false
13
- }
14
- }
15
- })