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/dist/danx.es.js +6251 -6200
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +72 -72
- package/dist/danx.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -2
- package/src/components/ActionTable/Form/Fields/SelectionMenuField.vue +9 -4
- package/src/components/ActionTable/controls.ts +2 -3
- package/src/components/PanelsDrawer/PanelsDrawer.vue +27 -8
- package/src/components/PanelsDrawer/index.ts +0 -1
- package/src/components/Utility/Buttons/ActionButton.vue +66 -57
- package/src/helpers/actionStore.ts +29 -0
- package/src/helpers/compatibility.ts +49 -48
- package/src/helpers/date.ts +2 -1
- package/src/helpers/index.ts +1 -0
- package/src/styles/quasar-reset.scss +0 -4
- package/src/types/actions.d.ts +12 -3
- package/src/types/controls.d.ts +4 -2
- package/src/types/shared.d.ts +0 -9
- package/tsconfig.build.json +48 -0
- package/tsconfig.json +8 -46
- package/vite.config.js +36 -36
- package/src/components/PanelsDrawer/PanelsDrawerPanels.vue +0 -29
package/tsconfig.json
CHANGED
@@ -1,49 +1,11 @@
|
|
1
1
|
{
|
2
|
+
"extends": "./tsconfig.build.json",
|
2
3
|
"compilerOptions": {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
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
|
2
|
-
import { resolve } from
|
3
|
-
import { defineConfig } from
|
4
|
-
import svgLoader from
|
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
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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>
|