qy-vue-plugins 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1819,12 +1819,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
1819
1819
  propertyGroup?: string[] | undefined;
1820
1820
  layoutType?: "text" | "input" | "textArea" | "singleSelect" | "multipleSelect" | "number" | "selectGroup" | "selectSecond" | "cascader" | "imageList" | "voiceList" | "divider" | "datePicker" | "dateTimePicker" | "location" | "inputGroup" | "container" | "switch" | "quadratChart" | "select" | "previewImage" | undefined;
1821
1821
  name?: string | undefined;
1822
- value?: any;
1823
1822
  type: "custom" | "system";
1824
1823
  title: string;
1825
1824
  layout?: string | undefined;
1826
1825
  property: string;
1827
1826
  unit?: string | null | undefined;
1827
+ value?: any;
1828
1828
  required: boolean;
1829
1829
  disabled?: boolean | undefined;
1830
1830
  placeholder?: string | undefined;
@@ -1867,12 +1867,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
1867
1867
  propertyGroup?: string[] | undefined;
1868
1868
  layoutType?: "text" | "input" | "textArea" | "singleSelect" | "multipleSelect" | "number" | "selectGroup" | "selectSecond" | "cascader" | "imageList" | "voiceList" | "divider" | "datePicker" | "dateTimePicker" | "location" | "inputGroup" | "container" | "switch" | "quadratChart" | "select" | "previewImage" | undefined;
1869
1869
  name?: string | undefined;
1870
- value?: any;
1871
1870
  type: "custom" | "system";
1872
1871
  title: string;
1873
1872
  layout?: string | undefined;
1874
1873
  property: string;
1875
1874
  unit?: string | null | undefined;
1875
+ value?: any;
1876
1876
  required: boolean;
1877
1877
  disabled?: boolean | undefined;
1878
1878
  placeholder?: string | undefined;
@@ -45,4 +45,3 @@ import "element-plus/es/components/tooltip/style/css";
45
45
  import "element-plus/es/components/tree-select/style/css";
46
46
  import "element-plus/es/components/upload/style/css";
47
47
  import "./css/element-plus-theme.scss";
48
- import "./apply-element-plus-theme";
@@ -1,12 +1,10 @@
1
1
  import "../element-plus-style";
2
- import { applyElementPlusTheme } from "../apply-element-plus-theme";
3
2
 
4
3
  import MangerTable from "./manageTable.vue";
5
4
  import imageReview from "./components/imageReview.vue";
6
5
  import { speciesNameQueryKey } from "./ProvideKeys";
7
6
  import { filterEventBus, sortEventBus } from "./EventKeys";
8
7
 
9
- applyElementPlusTheme();
10
8
  // 命名导出
11
9
  export { MangerTable, imageReview, speciesNameQueryKey, filterEventBus, sortEventBus };
12
10
 
@@ -1,5 +1,4 @@
1
1
  import "../element-plus-style";
2
- import { applyElementPlusTheme } from "../apply-element-plus-theme";
3
2
 
4
3
  import MapView from "./MapView.vue";
5
4
  import MapLayer from "./components/mapLayer.vue";
@@ -12,7 +11,6 @@ import MapTools from "./components/MapTools.vue";
12
11
  import MapLegend from "./components/MapLegend.vue";
13
12
  import { mapStyleChangedBus, locateToLayerCenterKeyBus } from "./EventKeys";
14
13
 
15
- applyElementPlusTheme();
16
14
  // Exporting all components and the mapStyleChangedBus for use in other parts of the application
17
15
  // This allows for easy import of all map-related components and functionality
18
16
  // in other modules or components within the application.
@@ -1,5 +1,4 @@
1
1
  import "../element-plus-style";
2
- import { applyElementPlusTheme } from "../apply-element-plus-theme";
3
2
 
4
3
  import MapView from "./MapView.vue";
5
4
  import MapLayer from "./pages/MapLayer.vue";
@@ -12,7 +11,6 @@ import MapTools from "./components/MapTools.vue";
12
11
  import MapLegend from "./components/MapLegend.vue";
13
12
  import { mapStyleChangedBus, locateToLayerCenterKeyBus } from "./EventKeys";
14
13
 
15
- applyElementPlusTheme();
16
14
  // Exporting all components and the mapStyleChangedBus for use in other parts of the application
17
15
  // This allows for easy import of all map-related components and functionality
18
16
  // in other modules or components within the application.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qy-vue-plugins",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -52,8 +52,6 @@
52
52
  "package/manageTable/*.ts",
53
53
  "package/manageTable/components/*.js",
54
54
  "package/manageTable/components/*.ts",
55
- "package/apply-element-plus-theme.js",
56
- "package/apply-element-plus-theme.ts",
57
55
  "package/element-plus-style.js",
58
56
  "package/element-plus-style.ts",
59
57
  "package/css/*.scss"
@@ -80,8 +78,6 @@
80
78
  "sideEffects": [
81
79
  "**/*.css",
82
80
  "**/*.scss",
83
- "./dist/apply-element-plus-theme.mjs",
84
- "./dist/apply-element-plus-theme.cjs",
85
81
  "./dist/element-plus-style.mjs",
86
82
  "./dist/element-plus-style.cjs"
87
83
  ],
@@ -338,12 +334,6 @@
338
334
  "require": "./dist/element-plus-style.cjs",
339
335
  "default": "./dist/element-plus-style.mjs"
340
336
  },
341
- "./apply-element-plus-theme": {
342
- "types": "./dist/types/apply-element-plus-theme.d.ts",
343
- "import": "./dist/apply-element-plus-theme.mjs",
344
- "require": "./dist/apply-element-plus-theme.cjs",
345
- "default": "./dist/apply-element-plus-theme.mjs"
346
- },
347
337
  "./dist/types/*": {
348
338
  "types": "./dist/types/*"
349
339
  },
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={"--el-color-primary":"#34c28a","--el-color-primary-rgb":"52, 194, 138","--el-color-primary-light-3":"#71d4ad","--el-color-primary-light-5":"#9ae1c5","--el-color-primary-light-7":"#c2eddc","--el-color-primary-light-8":"#d6f3e8","--el-color-primary-light-9":"#ebf9f3","--el-color-primary-dark-2":"#2a9b6e"};function e(){if(typeof document>"u")return;const r=document.documentElement.style;Object.entries(t).forEach(([l,o])=>{r.setProperty(l,o)})}e();exports.applyElementPlusTheme=e;
@@ -1,22 +0,0 @@
1
- const o = {
2
- "--el-color-primary": "#34c28a",
3
- "--el-color-primary-rgb": "52, 194, 138",
4
- "--el-color-primary-light-3": "#71d4ad",
5
- "--el-color-primary-light-5": "#9ae1c5",
6
- "--el-color-primary-light-7": "#c2eddc",
7
- "--el-color-primary-light-8": "#d6f3e8",
8
- "--el-color-primary-light-9": "#ebf9f3",
9
- "--el-color-primary-dark-2": "#2a9b6e"
10
- };
11
- function t() {
12
- if (typeof document > "u")
13
- return;
14
- const e = document.documentElement.style;
15
- Object.entries(o).forEach(([r, l]) => {
16
- e.setProperty(r, l);
17
- });
18
- }
19
- t();
20
- export {
21
- t as applyElementPlusTheme
22
- };
@@ -1 +0,0 @@
1
- "use strict";const t={"--el-color-primary":"#34c28a","--el-color-primary-rgb":"52, 194, 138","--el-color-primary-light-3":"#71d4ad","--el-color-primary-light-5":"#9ae1c5","--el-color-primary-light-7":"#c2eddc","--el-color-primary-light-8":"#d6f3e8","--el-color-primary-light-9":"#ebf9f3","--el-color-primary-dark-2":"#2a9b6e"};function e(){if(typeof document>"u")return;const r=document.documentElement.style;Object.entries(t).forEach(([l,o])=>{r.setProperty(l,o)})}e();exports.applyElementPlusTheme=e;
@@ -1,22 +0,0 @@
1
- const o = {
2
- "--el-color-primary": "#34c28a",
3
- "--el-color-primary-rgb": "52, 194, 138",
4
- "--el-color-primary-light-3": "#71d4ad",
5
- "--el-color-primary-light-5": "#9ae1c5",
6
- "--el-color-primary-light-7": "#c2eddc",
7
- "--el-color-primary-light-8": "#d6f3e8",
8
- "--el-color-primary-light-9": "#ebf9f3",
9
- "--el-color-primary-dark-2": "#2a9b6e"
10
- };
11
- function t() {
12
- if (typeof document > "u")
13
- return;
14
- const e = document.documentElement.style;
15
- Object.entries(o).forEach(([r, l]) => {
16
- e.setProperty(r, l);
17
- });
18
- }
19
- t();
20
- export {
21
- t as a
22
- };
@@ -1 +0,0 @@
1
- export declare function applyElementPlusTheme(): void;
@@ -1,23 +0,0 @@
1
- const elementPlusThemeVars = {
2
- "--el-color-primary": "#34c28a",
3
- "--el-color-primary-rgb": "52, 194, 138",
4
- "--el-color-primary-light-3": "#71d4ad",
5
- "--el-color-primary-light-5": "#9ae1c5",
6
- "--el-color-primary-light-7": "#c2eddc",
7
- "--el-color-primary-light-8": "#d6f3e8",
8
- "--el-color-primary-light-9": "#ebf9f3",
9
- "--el-color-primary-dark-2": "#2a9b6e",
10
- };
11
-
12
- export function applyElementPlusTheme() {
13
- if (typeof document === "undefined") {
14
- return;
15
- }
16
-
17
- const rootStyle = document.documentElement.style;
18
- Object.entries(elementPlusThemeVars).forEach(([name, value]) => {
19
- rootStyle.setProperty(name, value);
20
- });
21
- }
22
-
23
- applyElementPlusTheme();