@win2win/shared-ui 0.0.2 → 0.0.4
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 +1 -0
- package/dist/win2win-shared-ui.common.js +120 -0
- package/dist/win2win-shared-ui.common.js.map +1 -0
- package/dist/win2win-shared-ui.umd.js +164 -0
- package/dist/win2win-shared-ui.umd.js.map +1 -0
- package/dist/win2win-shared-ui.umd.min.js +2 -0
- package/dist/win2win-shared-ui.umd.min.js.map +1 -0
- package/package.json +4 -2
- package/babel.config.js +0 -5
- package/jsconfig.json +0 -19
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
- package/shims-quasar-user-options.d.ts +0 -4
- package/shims-vue.d.ts +0 -5
- package/src/App.vue +0 -8
- package/src/assets/logo.png +0 -0
- package/src/components/TestComponent.vue +0 -13
- package/src/index.ts +0 -16
- package/src/main.ts +0 -6
- package/src/quasar-user-options.js +0 -13
- package/src/styles/quasar.scss +0 -3
- package/src/styles/quasar.variables.scss +0 -15
- package/tsconfig.json +0 -29
- package/vue.config.js +0 -15
- /package/{src/assets/logo.svg → dist/img/logo.03709c7d.svg} +0 -0
package/dist/demo.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><meta charset="utf-8"><title>win2win-shared-ui demo</title><script src="./win2win-shared-ui.umd.js"></script><link rel="stylesheet" href="./win2win-shared-ui.css"><script>console.log(win2win-shared-ui)</script>
|
|
@@ -0,0 +1,120 @@
|
|
|
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/publicPath */
|
|
25
|
+
/******/ !function() {
|
|
26
|
+
/******/ __webpack_require__.p = "";
|
|
27
|
+
/******/ }();
|
|
28
|
+
/******/
|
|
29
|
+
/************************************************************************/
|
|
30
|
+
var __webpack_exports__ = {};
|
|
31
|
+
|
|
32
|
+
// EXPORTS
|
|
33
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
34
|
+
"default": function() { return /* binding */ entry_lib; }
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
// UNUSED EXPORTS: TestComponent
|
|
38
|
+
|
|
39
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
40
|
+
/* eslint-disable no-var */
|
|
41
|
+
// This file is imported into lib/wc client bundles.
|
|
42
|
+
|
|
43
|
+
if (typeof window !== 'undefined') {
|
|
44
|
+
var currentScript = window.document.currentScript
|
|
45
|
+
if (false) { var getCurrentScript; }
|
|
46
|
+
|
|
47
|
+
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
48
|
+
if (src) {
|
|
49
|
+
__webpack_require__.p = src[1] // eslint-disable-line
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Indicate to webpack that this file can be concatenated
|
|
54
|
+
/* harmony default export */ var setPublicPath = (null);
|
|
55
|
+
|
|
56
|
+
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
57
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
58
|
+
;// CONCATENATED MODULE: ./src/assets/logo.svg
|
|
59
|
+
var logo_namespaceObject = __webpack_require__.p + "img/logo.03709c7d.svg";
|
|
60
|
+
;// 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
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
const _hoisted_1 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("img", {
|
|
65
|
+
alt: "Quasar logo",
|
|
66
|
+
src: logo_namespaceObject,
|
|
67
|
+
style: {
|
|
68
|
+
"width": "200px",
|
|
69
|
+
"height": "200px"
|
|
70
|
+
}
|
|
71
|
+
}, null, -1);
|
|
72
|
+
|
|
73
|
+
/* harmony default export */ var TestComponentvue_type_script_setup_true_lang_ts = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.defineComponent)({
|
|
74
|
+
__name: 'TestComponent',
|
|
75
|
+
setup(__props) {
|
|
76
|
+
const title = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)('TEST COMPONENT');
|
|
77
|
+
return (_ctx, _cache) => {
|
|
78
|
+
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);
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}));
|
|
82
|
+
;// CONCATENATED MODULE: ./src/components/TestComponent.vue?vue&type=script&setup=true&lang=ts
|
|
83
|
+
|
|
84
|
+
;// CONCATENATED MODULE: ./src/components/TestComponent.vue
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
const __exports__ = TestComponentvue_type_script_setup_true_lang_ts;
|
|
89
|
+
|
|
90
|
+
/* harmony default export */ var TestComponent = (__exports__);
|
|
91
|
+
;// CONCATENATED MODULE: ./src/index.ts
|
|
92
|
+
|
|
93
|
+
// Importar otros componentes aquí
|
|
94
|
+
|
|
95
|
+
// Exportar otros componentes aquí
|
|
96
|
+
const Components = {
|
|
97
|
+
TestComponent: TestComponent
|
|
98
|
+
};
|
|
99
|
+
// Crear un plugin de instalación
|
|
100
|
+
const install = Vue => {
|
|
101
|
+
Vue.component('TestComponent', TestComponent);
|
|
102
|
+
// Registrar otros componentes aquí
|
|
103
|
+
// Object.keys(Components).forEach((name) => {
|
|
104
|
+
// Vue.component(name, Components[name]);
|
|
105
|
+
// });
|
|
106
|
+
};
|
|
107
|
+
// Exportar el plugin de instalación como el valor predeterminado
|
|
108
|
+
/* harmony default export */ var src_0 = ({
|
|
109
|
+
install
|
|
110
|
+
});
|
|
111
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
/* harmony default export */ var entry_lib = (src_0);
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
module.exports = __webpack_exports__["default"];
|
|
118
|
+
/******/ })()
|
|
119
|
+
;
|
|
120
|
+
//# sourceMappingURL=win2win-shared-ui.common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"win2win-shared-ui.common.js","mappings":";;UAAA;UACA;;;;;WCDA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;;;;;;;;;;;;;;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;AAGA,MAAME,UAAU,GAAG;EACjBD,aAAaA,EAAAA,aAAAA;CACd;AAED;AACA,MAAME,OAAO,GAAIC,GAAQ,IAAI;EAC3BA,GAAG,CAACC,SAAS,CAAC,eAAe,EAAEJ,aAAa,CAAC;EAC7C;EACA;EACA;EACA;AACF,CAAC;AAED;AACA,0CAAe;EACbE;CACD;;ACtBuB;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/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); }","__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\nconst Components = {\n TestComponent,\n};\n\n// Crear un plugin de instalación\nconst install = (Vue: any) => {\n Vue.component('TestComponent', TestComponent);\n // Registrar otros componentes aquí\n // Object.keys(Components).forEach((name) => {\n // Vue.component(name, Components[name]);\n // });\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","Components","install","Vue","component"],"sourceRoot":""}
|
|
@@ -0,0 +1,164 @@
|
|
|
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["win2win-shared-ui"] = factory(require("vue"));
|
|
8
|
+
else
|
|
9
|
+
root["win2win-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/publicPath */
|
|
67
|
+
/******/ !function() {
|
|
68
|
+
/******/ __webpack_require__.p = "";
|
|
69
|
+
/******/ }();
|
|
70
|
+
/******/
|
|
71
|
+
/************************************************************************/
|
|
72
|
+
var __webpack_exports__ = {};
|
|
73
|
+
|
|
74
|
+
// EXPORTS
|
|
75
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
76
|
+
"default": function() { return /* binding */ entry_lib; }
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
// UNUSED EXPORTS: TestComponent
|
|
80
|
+
|
|
81
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
82
|
+
/* eslint-disable no-var */
|
|
83
|
+
// This file is imported into lib/wc client bundles.
|
|
84
|
+
|
|
85
|
+
if (typeof window !== 'undefined') {
|
|
86
|
+
var currentScript = window.document.currentScript
|
|
87
|
+
if (false) { var getCurrentScript; }
|
|
88
|
+
|
|
89
|
+
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
90
|
+
if (src) {
|
|
91
|
+
__webpack_require__.p = src[1] // eslint-disable-line
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Indicate to webpack that this file can be concatenated
|
|
96
|
+
/* harmony default export */ var setPublicPath = (null);
|
|
97
|
+
|
|
98
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
99
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(274);
|
|
100
|
+
;// CONCATENATED MODULE: ./src/assets/logo.svg
|
|
101
|
+
var logo_namespaceObject = __webpack_require__.p + "img/logo.03709c7d.svg";
|
|
102
|
+
;// 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
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
const _hoisted_1 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
107
|
+
alt: "Quasar logo",
|
|
108
|
+
src: logo_namespaceObject,
|
|
109
|
+
style: {
|
|
110
|
+
"width": "200px",
|
|
111
|
+
"height": "200px"
|
|
112
|
+
}
|
|
113
|
+
}, null, -1);
|
|
114
|
+
|
|
115
|
+
/* harmony default export */ var TestComponentvue_type_script_setup_true_lang_ts = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
116
|
+
__name: 'TestComponent',
|
|
117
|
+
setup(__props) {
|
|
118
|
+
const title = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)('TEST COMPONENT');
|
|
119
|
+
return (_ctx, _cache) => {
|
|
120
|
+
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);
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}));
|
|
124
|
+
;// CONCATENATED MODULE: ./src/components/TestComponent.vue?vue&type=script&setup=true&lang=ts
|
|
125
|
+
|
|
126
|
+
;// CONCATENATED MODULE: ./src/components/TestComponent.vue
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
const __exports__ = TestComponentvue_type_script_setup_true_lang_ts;
|
|
131
|
+
|
|
132
|
+
/* harmony default export */ var TestComponent = (__exports__);
|
|
133
|
+
;// CONCATENATED MODULE: ./src/index.ts
|
|
134
|
+
|
|
135
|
+
// Importar otros componentes aquí
|
|
136
|
+
|
|
137
|
+
// Exportar otros componentes aquí
|
|
138
|
+
const Components = {
|
|
139
|
+
TestComponent: TestComponent
|
|
140
|
+
};
|
|
141
|
+
// Crear un plugin de instalación
|
|
142
|
+
const install = Vue => {
|
|
143
|
+
Vue.component('TestComponent', TestComponent);
|
|
144
|
+
// Registrar otros componentes aquí
|
|
145
|
+
// Object.keys(Components).forEach((name) => {
|
|
146
|
+
// Vue.component(name, Components[name]);
|
|
147
|
+
// });
|
|
148
|
+
};
|
|
149
|
+
// Exportar el plugin de instalación como el valor predeterminado
|
|
150
|
+
/* harmony default export */ var src_0 = ({
|
|
151
|
+
install
|
|
152
|
+
});
|
|
153
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
/* harmony default export */ var entry_lib = (src_0);
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
__webpack_exports__ = __webpack_exports__["default"];
|
|
160
|
+
/******/ return __webpack_exports__;
|
|
161
|
+
/******/ })()
|
|
162
|
+
;
|
|
163
|
+
});
|
|
164
|
+
//# sourceMappingURL=win2win-shared-ui.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"win2win-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;;;;;;;;;;;;;;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;AAGA,MAAME,UAAU,GAAG;EACjBD,aAAaA,EAAAA,aAAAA;CACd;AAED;AACA,MAAME,OAAO,GAAIC,GAAQ,IAAI;EAC3BA,GAAG,CAACC,SAAS,CAAC,eAAe,EAAEJ,aAAa,CAAC;EAC7C;EACA;EACA;EACA;AACF,CAAC;AAED;AACA,0CAAe;EACbE;CACD;;ACtBuB;AACA;AACxB,8CAAe,KAAG;AACI","sources":["webpack://win2win-shared-ui/webpack/universalModuleDefinition","webpack://win2win-shared-ui/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","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/publicPath","webpack://win2win-shared-ui/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","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?9fa5","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":["(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[\"win2win-shared-ui\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"win2win-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); }","__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\nconst Components = {\n TestComponent,\n};\n\n// Crear un plugin de instalación\nconst install = (Vue: any) => {\n Vue.component('TestComponent', TestComponent);\n // Registrar otros componentes aquí\n // Object.keys(Components).forEach((name) => {\n // Vue.component(name, Components[name]);\n // });\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","Components","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["win2win-shared-ui"]=t(require("vue")):e["win2win-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 i=n[e]={exports:{}};return t[e](i,i.exports,o),i.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.p=""}();var r={};if(o.d(r,{default:function(){return v}}),"undefined"!==typeof window){var i=window.document.currentScript,u=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(o.p=u[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=r["default"],r}()}));
|
|
2
|
+
//# sourceMappingURL=win2win-shared-ui.umd.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"win2win-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,qBAAuBD,EAAQG,QAAQ,QAE/CJ,EAAK,qBAAuBC,EAAQD,EAAK,OAC1C,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,eCAtGd,EAAoBkB,EAAI,E,aCGxB,G,sCAAsB,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,EAAMS,OAAQ,IACrD,IAEL,IEvBA,MAAMC,EAAc,EAEpB,QCCA,MAKMC,EAAWC,IACfA,EAAIC,UAAU,gBAAiBC,EAAc,EAQ/C,OACEH,WCnBF,I","sources":["webpack://win2win-shared-ui/webpack/universalModuleDefinition","webpack://win2win-shared-ui/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","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/publicPath","webpack://win2win-shared-ui/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","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?c2b5","webpack://win2win-shared-ui/./src/index.ts","webpack://win2win-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[\"win2win-shared-ui\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"win2win-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); }","__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\nconst Components = {\n TestComponent,\n};\n\n// Crear un plugin de instalación\nconst install = (Vue: any) => {\n Vue.component('TestComponent', TestComponent);\n // Registrar otros componentes aquí\n // Object.keys(Components).forEach((name) => {\n // Vue.component(name, Components[name]);\n // });\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","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","value","__exports__","install","Vue","component","TestComponent"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@win2win/shared-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"files": [ "dist"
|
|
5
|
+
],
|
|
4
6
|
"scripts": {
|
|
5
7
|
"dev": "vue-cli-service serve",
|
|
6
|
-
"build": "vue-cli-service build --target lib --name
|
|
8
|
+
"build": "vue-cli-service build --target lib --name win2win-shared-ui src/index.ts",
|
|
7
9
|
"lint": "vue-cli-service lint",
|
|
8
10
|
"deploy": "npm publish --access public"
|
|
9
11
|
},
|
package/babel.config.js
DELETED
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
|
-
}
|
package/public/favicon.ico
DELETED
|
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>
|
package/shims-vue.d.ts
DELETED
package/src/App.vue
DELETED
package/src/assets/logo.png
DELETED
|
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,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
|
-
}
|
package/src/styles/quasar.scss
DELETED
|
@@ -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
|
-
})
|
|
File without changes
|