@fmdevui/fm-dev 1.0.7 → 1.0.9

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.7 */
1
+ /*! fm-dev v1.0.9 */
2
2
  import { defineComponent, ref, createElementBlock, openBlock, createElementVNode, effectScope, shallowRef, computed, watch, isRef as isRef$1, getCurrentInstance, h, Fragment, inject, onMounted, onUnmounted, createVNode, Text, markRaw, toRaw as toRaw$1, hasInjectionContext, unref, reactive, isReactive as isReactive$1, toRef, nextTick, getCurrentScope, onScopeDispose, toRefs, withDirectives, resolveDirective } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
@@ -44913,7 +44913,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
44913
44913
  baseMerge(object, source, srcIndex);
44914
44914
  });
44915
44915
 
44916
- const vxeSize = useThemeConfig().themeConfig.globalComponentSize == "small" ? "mini" : useThemeConfig().themeConfig.globalComponentSize == "default" ? "small" : "medium";
44916
+ const vxeSize = useThemeConfig(pinia).themeConfig.globalComponentSize == "small" ? "mini" : useThemeConfig(pinia).themeConfig.globalComponentSize == "default" ? "small" : "medium";
44917
44917
  const useVxeTable = (opt, extras) => {
44918
44918
  opt.id = opt.id ? opt.id : String((/* @__PURE__ */ new Date()).getTime());
44919
44919
  const options = reactive({
@@ -5,8 +5,9 @@ var elementPlus = require('element-plus');
5
5
  require('../stores/index.js');
6
6
  var lodashEs = require('lodash-es');
7
7
  var themeConfig = require('../stores/themeConfig.js');
8
+ var inpinia = require('../stores/inpinia.js');
8
9
 
9
- const vxeSize = themeConfig.useThemeConfig().themeConfig.globalComponentSize == "small" ? "mini" : themeConfig.useThemeConfig().themeConfig.globalComponentSize == "default" ? "small" : "medium";
10
+ const vxeSize = themeConfig.useThemeConfig(inpinia.pinia).themeConfig.globalComponentSize == "small" ? "mini" : themeConfig.useThemeConfig(inpinia.pinia).themeConfig.globalComponentSize == "default" ? "small" : "medium";
10
11
  const useVxeTable = (opt, extras) => {
11
12
  opt.id = opt.id ? opt.id : String((/* @__PURE__ */ new Date()).getTime());
12
13
  const options = vue.reactive({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [