shared-ritm 1.0.4 → 1.0.5

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.
@@ -0,0 +1,24 @@
1
+ import { AxiosRequestConfig, AxiosResponse } from 'axios';
2
+ export declare enum ApiServiceType {
3
+ SERVICE_AUTH = "SERVICE_AUTH"
4
+ }
5
+ export type ResponseApi<T> = {
6
+ count: number;
7
+ current_page: number;
8
+ data: T;
9
+ per_page: number;
10
+ total: number;
11
+ total_pages: number;
12
+ };
13
+ export default class ApiService {
14
+ private axiosInstance;
15
+ constructor();
16
+ private getToken;
17
+ private removeToken;
18
+ private logout;
19
+ private handleError;
20
+ protected get<T>(url: string, options?: AxiosRequestConfig): Promise<T>;
21
+ protected delete<T>(url: string, options?: AxiosRequestConfig): Promise<AxiosResponse<T, any>>;
22
+ protected post<T1, T2>(url: string, payload: T1, options?: AxiosRequestConfig): Promise<T2>;
23
+ protected put<T1, T2>(url: string, payload: T1, options?: AxiosRequestConfig): Promise<T2>;
24
+ }
@@ -0,0 +1,7 @@
1
+ import { default as ApiService } from './ApiService';
2
+ declare class GanttService extends ApiService {
3
+ fetchCriticalPathTasks(params: string): Promise<any>;
4
+ fetchGanttList(params: string): Promise<any>;
5
+ }
6
+ export default function useGanttService(): GanttService;
7
+ export {};
@@ -0,0 +1,21 @@
1
+ import { default as ApiService, ResponseApi } from './ApiService';
2
+ declare class MetricsService extends ApiService {
3
+ fetchPieProjects(queryString: string): Promise<ResponseApi<any>>;
4
+ fetchPieTasks(queryString: string): Promise<ResponseApi<any>>;
5
+ fetchPiePersonnel(queryString: string): Promise<ResponseApi<any>>;
6
+ fetchPiePersonnelInfo(params: string): Promise<any>;
7
+ fetchPieWorkZone(queryString: string): Promise<ResponseApi<any>>;
8
+ fetchPieCriticalPath(queryString: string): Promise<any[]>;
9
+ fetchPieCriticalPathInfo(params: string): Promise<any>;
10
+ fetchPieTmc(queryString: string): Promise<ResponseApi<any>>;
11
+ fetchPieTmcInfo(params: string): Promise<any>;
12
+ fetchPieUntimelyClosedTask(queryString: string): Promise<any[]>;
13
+ fetchPieUntimelyClosedTaskInfo(params: string): Promise<any>;
14
+ fetchPieAdditionalTasks(queryString: string): Promise<any[]>;
15
+ fetchPieAdditionalTasksInfo(params: string): Promise<any>;
16
+ fetchPersonnel(queryString: string): Promise<any[]>;
17
+ fetchPieExpired(queryString: string): Promise<any[]>;
18
+ fetchPieExpiredInfo(params: string): Promise<any>;
19
+ }
20
+ export default function useMetricsService(): MetricsService;
21
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as ApiService, ResponseApi } from './ApiService';
2
+ import { Api_Tasks_Task_Dto } from './types/Api_Tasks';
3
+ declare class ProjectsService extends ApiService {
4
+ fetchProjectById(id: string): Promise<ResponseApi<Api_Tasks_Task_Dto>>;
5
+ }
6
+ export default function useProjectsService(): ProjectsService;
7
+ export {};
@@ -0,0 +1,15 @@
1
+ import { default as ApiService, ResponseApi } from './ApiService';
2
+ import { Api_Create_Repair_With_Equipments, Api_Equipment_Full_Dto, Api_Repair_Dto, Api_Update_Repair, OptionFilters } from './types/Api_Repairs';
3
+ declare class RepairsService extends ApiService {
4
+ fetchFilters(fullParams: string): Promise<OptionFilters>;
5
+ fetchRepairs(isQuery: boolean, queries?: string, hasTeams?: boolean | string, teamsFilter?: string): Promise<ResponseApi<Api_Repair_Dto[]>>;
6
+ fetchEquipment(): Promise<ResponseApi<Api_Equipment_Full_Dto[]>>;
7
+ createRepair(payload: Api_Create_Repair_With_Equipments): Promise<any>;
8
+ startRepair(id: string): Promise<void>;
9
+ finishRepair(id: string): Promise<void>;
10
+ finishPreparationProject(id: string): Promise<void>;
11
+ updateRepair(payload: Api_Update_Repair, id: string): Promise<void>;
12
+ deleteRepair(id: string): Promise<import('axios').AxiosResponse<any, any>>;
13
+ }
14
+ export default function useRepairsService(): RepairsService;
15
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as ApiService, ResponseApi } from './ApiService';
2
+ import { Api_Tasks_Task_Dto } from './types/Api_Tasks';
3
+ declare class TasksService extends ApiService {
4
+ fetchTaskById(id: string): Promise<ResponseApi<Api_Tasks_Task_Dto>>;
5
+ }
6
+ export default function useTasksService(): TasksService;
7
+ export {};
File without changes
@@ -0,0 +1,49 @@
1
+ export type Api_Team = {
2
+ id: string;
3
+ display_name: string;
4
+ };
5
+ export type Api_Equipment_Short_Dto = {
6
+ id: string;
7
+ name: string;
8
+ };
9
+ export type Api_Repairs = {
10
+ id: string;
11
+ name: string;
12
+ };
13
+ export type Api_Projects = {
14
+ id: string;
15
+ name: string;
16
+ };
17
+ export type OptionFilters = {
18
+ teams?: Api_Team[];
19
+ equipments?: Api_Equipment_Short_Dto[];
20
+ };
21
+ export type Api_Equipment_Full_Dto = {
22
+ id: string;
23
+ model: null | string;
24
+ name: string;
25
+ registration_number: string;
26
+ repair_frequency: number;
27
+ repair_range: number;
28
+ };
29
+ export type Api_Create_Repair_With_Equipments = {
30
+ name: string;
31
+ display_name: string;
32
+ description: string;
33
+ equipment_id: string;
34
+ };
35
+ export type Api_Update_Repair = {
36
+ name?: string;
37
+ display_name?: string;
38
+ description: string;
39
+ };
40
+ export type Api_Repair_Dto = {
41
+ id: string;
42
+ name: string;
43
+ display_name: string;
44
+ description: string;
45
+ start_date: string;
46
+ end_date: string;
47
+ projects: Api_Projects[];
48
+ equipments: Api_Equipment_Full_Dto[];
49
+ };
@@ -0,0 +1,93 @@
1
+ export type Api_Tasks_Responsible_Dto = {
2
+ id: string;
3
+ first_name: string;
4
+ last_name: string;
5
+ patronymic: string;
6
+ full_name: string;
7
+ };
8
+ export type Api_Tasks_Assigned_Dto = {
9
+ id: string;
10
+ first_name: string;
11
+ last_name: string;
12
+ patronymic: null | string;
13
+ full_name: string;
14
+ };
15
+ export type Api_Tasks_Status_Dto = {
16
+ id: string;
17
+ name: string;
18
+ title: string;
19
+ };
20
+ export type Api_Tasks_Project_Dto = {
21
+ id: string;
22
+ name: string;
23
+ teams: string[];
24
+ };
25
+ export type Api_Tasks_Position_Dto = {
26
+ id: string;
27
+ name: string;
28
+ display_name: string;
29
+ };
30
+ export type Api_Tasks_Position_Assigned_Dto = {
31
+ id: number;
32
+ user: {
33
+ id: string;
34
+ full_name: string;
35
+ };
36
+ position: Api_Tasks_Position_Dto;
37
+ };
38
+ export type Api_Tasks_Teams_Dto = {
39
+ id: string;
40
+ name: string;
41
+ display_name: string;
42
+ };
43
+ export type Api_Tasks_Equipment_Dto = {
44
+ id: string;
45
+ name: string;
46
+ model: string;
47
+ registration_number: string;
48
+ created_at: string;
49
+ updated_at: string;
50
+ repair_frequency: number;
51
+ repair_range: number;
52
+ };
53
+ export type Api_Tasks_Task_Dto = {
54
+ id: string;
55
+ name: string;
56
+ type: string;
57
+ project_id: string;
58
+ description: string;
59
+ subtask_counter: number;
60
+ subtasks: Api_Tasks_Task_Dto[];
61
+ state_id: null | string;
62
+ start_date: string;
63
+ end_date: string;
64
+ deadline: string;
65
+ plan_date: string;
66
+ time_to_complete: null | string | number;
67
+ time_to_complete_sec: number;
68
+ priority: number;
69
+ work_zone_id: null | string;
70
+ location_id: null | string;
71
+ target: any;
72
+ status: Api_Tasks_Status_Dto;
73
+ project: Api_Tasks_Project_Dto;
74
+ position: Api_Tasks_Position_Dto[];
75
+ assigned: Api_Tasks_Assigned_Dto[];
76
+ instruments: any[];
77
+ warehouse: any[];
78
+ responsible: Api_Tasks_Responsible_Dto[];
79
+ position_assigned: Api_Tasks_Position_Assigned_Dto[];
80
+ comments: any[];
81
+ files: any[];
82
+ teams: Api_Tasks_Teams_Dto[];
83
+ work_zone: string;
84
+ planned_start: null | string;
85
+ planned_end: null | string;
86
+ fact_start_date: string;
87
+ fact_end_date: null | string;
88
+ work_sec: number;
89
+ pause_sec: number;
90
+ repair_object: null | string;
91
+ isPause: boolean;
92
+ equipment: Api_Tasks_Equipment_Dto[];
93
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,73 @@
1
+ interface QBtnProps {
2
+ size?: string | undefined;
3
+ type?: string | undefined;
4
+ to?: string | any | undefined;
5
+ replace?: boolean | undefined;
6
+ href?: string | undefined;
7
+ target?: string | undefined;
8
+ label?: string | number | undefined;
9
+ icon?: string | undefined;
10
+ iconRight?: string | undefined;
11
+ outline?: boolean | undefined;
12
+ flat?: boolean | undefined;
13
+ unelevated?: boolean | undefined;
14
+ rounded?: boolean | undefined;
15
+ push?: boolean | undefined;
16
+ square?: boolean | undefined;
17
+ glossy?: boolean | undefined;
18
+ fab?: boolean | undefined;
19
+ fabMini?: boolean | undefined;
20
+ padding?: string | undefined;
21
+ color?: string | undefined;
22
+ textColor?: string | undefined;
23
+ noCaps?: boolean | undefined;
24
+ noWrap?: boolean | undefined;
25
+ dense?: boolean | undefined;
26
+ ripple?: boolean | any | undefined;
27
+ tabindex?: number | string | undefined;
28
+ align?: 'left' | 'right' | 'center' | 'around' | 'between' | 'evenly' | undefined;
29
+ stack?: boolean | undefined;
30
+ stretch?: boolean | undefined;
31
+ loading?: boolean | undefined;
32
+ round?: boolean | undefined;
33
+ percentage?: number | undefined;
34
+ darkPercentage?: boolean | undefined;
35
+ }
36
+ interface Props extends QBtnProps {
37
+ disable?: boolean | ((...args: any[]) => boolean);
38
+ tooltip?: string;
39
+ uppercase?: boolean;
40
+ xSmall?: boolean;
41
+ small?: boolean;
42
+ large?: boolean;
43
+ fullWidth?: boolean;
44
+ wrap?: boolean;
45
+ largeIcon?: boolean;
46
+ modelValue?: boolean;
47
+ badge?: string | boolean | number;
48
+ badgeColor?: string;
49
+ badgeInline?: boolean;
50
+ link?: boolean;
51
+ }
52
+ declare function __VLS_template(): {
53
+ slots: {
54
+ default?(_: {}): any;
55
+ };
56
+ refs: {};
57
+ attrs: Partial<{}>;
58
+ };
59
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
60
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
61
+ click: (...args: any[]) => void;
62
+ "update:modelValue": (...args: any[]) => void;
63
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
64
+ onClick?: ((...args: any[]) => any) | undefined;
65
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
67
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
68
+ export default _default;
69
+ type __VLS_WithTemplateSlots<T, S> = T & {
70
+ new (): {
71
+ $slots: S;
72
+ };
73
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { default as AppTestButton } from './common/app-test-button/AppTestButton.vue';
2
+ declare const useAppButton: {
3
+ install: (app: {
4
+ component: (a: string, b: unknown) => void;
5
+ }) => void;
6
+ };
7
+ export { useAppButton, AppTestButton };
package/dist/main.d.ts ADDED
File without changes
@@ -0,0 +1,21 @@
1
+ import { openBlock as c, createElementBlock as r, createElementVNode as p } from "vue";
2
+ const l = (t, s) => {
3
+ const n = t.__vccOpts || t;
4
+ for (const [o, e] of s)
5
+ n[o] = e;
6
+ return n;
7
+ }, u = {};
8
+ function _(t, s) {
9
+ return c(), r("div", null, s[0] || (s[0] = [
10
+ p("button", null, "sssssssssssssssss", -1)
11
+ ]));
12
+ }
13
+ const f = /* @__PURE__ */ l(u, [["render", _]]), m = {
14
+ install: function(t) {
15
+ t.component("AppTestButton", f);
16
+ }
17
+ };
18
+ export {
19
+ f as AppTestButton,
20
+ m as useAppButton
21
+ };
@@ -0,0 +1 @@
1
+ (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.MyVueLibrary={},e.Vue))})(this,function(e,t){"use strict";const i=(n,s)=>{const u=n.__vccOpts||n;for(const[f,d]of s)u[f]=d;return u},c={};function p(n,s){return t.openBlock(),t.createElementBlock("div",null,s[0]||(s[0]=[t.createElementVNode("button",null,"sssssssssssssssss",-1)]))}const o=i(c,[["render",p]]),r={install:function(n){n.component("AppTestButton",o)}};e.AppTestButton=o,e.useAppButton=r,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,12 @@
1
+ import { Quasar, Notify, Loading, Dialog } from 'quasar';
2
+ declare const quasarUserOptions: {
3
+ config: {
4
+ dark: boolean;
5
+ };
6
+ plugins: {
7
+ Notify: Notify;
8
+ Loading: Loading;
9
+ Dialog: Dialog;
10
+ };
11
+ };
12
+ export { Quasar, quasarUserOptions };
@@ -0,0 +1,21 @@
1
+ import { openBlock as c, createElementBlock as r, createElementVNode as p } from "vue";
2
+ const l = (t, s) => {
3
+ const n = t.__vccOpts || t;
4
+ for (const [o, e] of s)
5
+ n[o] = e;
6
+ return n;
7
+ }, u = {};
8
+ function _(t, s) {
9
+ return c(), r("div", null, s[0] || (s[0] = [
10
+ p("button", null, "sssssssssssssssss", -1)
11
+ ]));
12
+ }
13
+ const f = /* @__PURE__ */ l(u, [["render", _]]), m = {
14
+ install: function(t) {
15
+ t.component("AppTestButton", f);
16
+ }
17
+ };
18
+ export {
19
+ f as AppTestButton,
20
+ m as useAppButton
21
+ };
@@ -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(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.SharedRitm={},e.Vue))})(this,function(e,t){"use strict";const i=(n,s)=>{const u=n.__vccOpts||n;for(const[f,d]of s)u[f]=d;return u},c={};function p(n,s){return t.openBlock(),t.createElementBlock("div",null,s[0]||(s[0]=[t.createElementVNode("button",null,"sssssssssssssssss",-1)]))}const o=i(c,[["render",p]]),r={install:function(n){n.component("AppTestButton",o)}};e.AppTestButton=o,e.useAppButton=r,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,17 +1,27 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
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
27
  "@quasar/extras": "^1.0.0",
@@ -21,13 +31,13 @@
21
31
  "vue": "^3.3.8"
22
32
  },
23
33
  "devDependencies": {
34
+ "@quasar/vite-plugin": "^1.8.0",
24
35
  "@types/node": "^22.7.4",
25
36
  "@typescript-eslint/eslint-plugin": "^5.4.0",
37
+ "vite-plugin-dts": "^4.3.0",
26
38
  "@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",
39
+ "@vitejs/plugin-vue": "^5.1.4",
40
+ "@vue/compiler-sfc": "^3.2.6",
31
41
  "@vue/eslint-config-typescript": "^11.0.3",
32
42
  "eslint": "^8.57.0",
33
43
  "eslint-config-prettier": "^8.3.0",
@@ -36,7 +46,9 @@
36
46
  "prettier": "^2.8.4",
37
47
  "sass": "^1.32.7",
38
48
  "sass-loader": "^12.0.0",
49
+ "ts-node": "^10.9.2",
39
50
  "typescript": "^5.6.2",
40
- "vue-cli-plugin-quasar": "~5.1.0"
51
+ "vite": "^5.4.9",
52
+ "vue-tsc": "^2.1.6"
41
53
  }
42
54
  }
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":""}