quasar-ui-danx 0.4.56 → 0.4.59

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/tsconfig.json CHANGED
@@ -1,49 +1,11 @@
1
1
  {
2
+ "extends": "./tsconfig.build.json",
2
3
  "compilerOptions": {
3
- // Compile down to ESNext (or choose your target version)
4
- "target": "esnext",
5
- // Use ES modules
6
- "module": "esnext",
7
- // Library files to be included in the compilation
8
- "lib": [
9
- "dom",
10
- "esnext"
11
- ],
12
- // Generate corresponding '.d.ts' file
13
- "declaration": true,
14
- // Output directory for the compiled files
15
- "outDir": "./dist",
16
- // Root directory of your source files
17
- "rootDir": "./src",
18
- // Enable all strict type-checking options
19
- "strict": true,
20
- // Enables compatibility with Babel-style module imports
21
- "esModuleInterop": true,
22
- // Skip type checking of all declaration files (*.d.ts)
23
- "skipLibCheck": true,
24
- // Disallow inconsistently-cased references to the same file
25
- "forceConsistentCasingInFileNames": true,
26
- // Resolve modules using Node.js style
27
- "moduleResolution": "node",
28
- "resolveJsonModule": true,
29
- // Allow default imports from modules with no default export
30
- "allowSyntheticDefaultImports": true,
31
- // Enables experimental support for decorators
32
- "experimentalDecorators": true,
33
- // Enables source map generation for the compiled files (useful for debugging)
34
- "sourceMap": true,
35
- // Base directory to resolve non-relative module names,
36
- "baseUrl": "./",
37
- "paths": {}
38
- },
39
- "include": [
40
- "src/**/*.ts",
41
- "src/**/*.vue",
42
- "src/**/*.svg",
43
- "types/**/*.d.ts"
44
- ],
45
- "exclude": [
46
- "dist",
47
- "**/*.spec.ts"
48
- ]
4
+ "paths": {
5
+ "vue": [
6
+ "../../gpt-manager/spa/node_modules/vue"
7
+ ]
8
+ }
9
+ }
49
10
  }
11
+
package/vite.config.js CHANGED
@@ -1,39 +1,39 @@
1
- import vue from '@vitejs/plugin-vue';
2
- import { resolve } from 'path';
3
- import { defineConfig } from 'vite';
4
- import svgLoader from 'vite-svg-loader';
1
+ import vue from "@vitejs/plugin-vue";
2
+ import { resolve } from "path";
3
+ import { defineConfig } from "vite";
4
+ import svgLoader from "vite-svg-loader";
5
5
 
6
6
  export default defineConfig({
7
- plugins: [vue(), svgLoader()],
8
- resolve: {
9
- extensions: ['.mjs', '.js', '.ts', '.mts', '.jsx', '.tsx', '.json', '.vue', '.svg']
10
- },
11
- build: {
12
- sourcemap: true,
13
- lib: {
14
- entry: resolve(__dirname, './src/index.esm.js'),
15
- name: 'Danx',
16
- // the proper extensions will be added
17
- fileName: (format) => `danx.${format}.js`
18
- },
19
- // Add rollupOptions only if you need to customize the build further
20
- rollupOptions: {
21
- // Externalize deps that shouldn't be bundled into your library
22
- external: ['vue', 'quasar'],
23
- output: {
24
- // Provide globals here
25
- globals: {
26
- vue: 'Vue',
27
- quasar: 'Quasar'
28
- }
29
- }
30
- }
31
- },
32
- css: {
33
- preprocessorOptions: {
34
- scss: {
35
- additionalData: `@import "./src/styles/index.scss";`
36
- }
37
- }
38
- }
7
+ plugins: [vue(), svgLoader()],
8
+ resolve: {
9
+ extensions: [".mjs", ".js", ".ts", ".mts", ".jsx", ".tsx", ".json", ".vue", ".svg"]
10
+ },
11
+ build: {
12
+ sourcemap: true,
13
+ lib: {
14
+ entry: resolve(__dirname, "./src/index.esm.js"),
15
+ name: "Danx",
16
+ // the proper extensions will be added
17
+ fileName: (format) => `danx.${format}.js`
18
+ },
19
+ // Add rollupOptions only if you need to customize the build further
20
+ rollupOptions: {
21
+ // Externalize deps that shouldn't be bundled into your library
22
+ external: ["vue", "quasar"],
23
+ output: {
24
+ // Provide globals here
25
+ globals: {
26
+ vue: "Vue",
27
+ quasar: "Quasar"
28
+ }
29
+ }
30
+ }
31
+ },
32
+ css: {
33
+ preprocessorOptions: {
34
+ scss: {
35
+ additionalData: `@import "./src/styles/index.scss";`
36
+ }
37
+ }
38
+ }
39
39
  });
@@ -1,29 +0,0 @@
1
- <template>
2
- <QTabPanels
3
- :model-value="activePanel"
4
- class="dx-panels-drawer-panels overflow-y-auto h-full transition-all"
5
- >
6
- <QTabPanel
7
- v-for="panel in panels"
8
- :key="panel.name"
9
- :name="panel.name"
10
- >
11
- <RenderVnode
12
- v-if="panel.vnode"
13
- :vnode="panel.vnode"
14
- :props="activeItem"
15
- />
16
- </QTabPanel>
17
- </QTabPanels>
18
- </template>
19
-
20
- <script setup lang="ts">
21
- import { ActionPanel, ActionTargetItem } from "../../types";
22
- import { RenderVnode } from "../Utility";
23
-
24
- defineProps<{
25
- activePanel?: string | number,
26
- activeItem: ActionTargetItem,
27
- panels: ActionPanel[]
28
- }>();
29
- </script>