inl-ui 0.1.18 → 0.1.20
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/components/index.cjs +13 -8
- package/dist/components/index.d.ts +20 -1
- package/dist/components/index.js +14 -9
- package/dist/index.cjs +14 -9
- package/dist/index.d.ts +21 -2
- package/dist/index.js +15 -10
- package/package.json +1 -1
|
@@ -11008,12 +11008,6 @@ const getMenuDetail = () => vue.defineComponent({
|
|
|
11008
11008
|
});
|
|
11009
11009
|
|
|
11010
11010
|
const fonts = [{
|
|
11011
|
-
label: "\u9ED8\u8BA4",
|
|
11012
|
-
value: ""
|
|
11013
|
-
}, {
|
|
11014
|
-
label: "Arial",
|
|
11015
|
-
value: "Arial"
|
|
11016
|
-
}, {
|
|
11017
11011
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11018
11012
|
value: "Microsoft YaHei"
|
|
11019
11013
|
}, {
|
|
@@ -11079,14 +11073,25 @@ const FontSelect = vue.defineComponent({
|
|
|
11079
11073
|
emits: ["update:value", "change"],
|
|
11080
11074
|
props: {
|
|
11081
11075
|
value: String,
|
|
11082
|
-
selectOptions: Object
|
|
11076
|
+
selectOptions: Object,
|
|
11077
|
+
suffix: {
|
|
11078
|
+
type: Array,
|
|
11079
|
+
default: () => []
|
|
11080
|
+
},
|
|
11081
|
+
prefix: {
|
|
11082
|
+
type: Array,
|
|
11083
|
+
default: () => []
|
|
11084
|
+
}
|
|
11083
11085
|
},
|
|
11084
11086
|
setup(props, {
|
|
11085
11087
|
emit
|
|
11086
11088
|
}) {
|
|
11087
11089
|
const modelValue = core.useVModel(props, "value", emit);
|
|
11090
|
+
const options = vue.computed(() => {
|
|
11091
|
+
return _.concat(props.prefix, fonts, props.suffix);
|
|
11092
|
+
});
|
|
11088
11093
|
return () => vue.createVNode(vue.resolveComponent("a-select"), vue.mergeProps({
|
|
11089
|
-
"options":
|
|
11094
|
+
"options": options.value,
|
|
11090
11095
|
"onChange": e => emit("change", e)
|
|
11091
11096
|
}, props.selectOptions, {
|
|
11092
11097
|
"value": modelValue.value,
|
|
@@ -963,13 +963,32 @@ declare const getMenuDetail: () => vue.DefineComponent<{
|
|
|
963
963
|
declare const _default$1: vue.DefineComponent<{
|
|
964
964
|
value: StringConstructor;
|
|
965
965
|
selectOptions: ObjectConstructor;
|
|
966
|
+
suffix: {
|
|
967
|
+
type: ArrayConstructor;
|
|
968
|
+
default: () => never[];
|
|
969
|
+
};
|
|
970
|
+
prefix: {
|
|
971
|
+
type: ArrayConstructor;
|
|
972
|
+
default: () => never[];
|
|
973
|
+
};
|
|
966
974
|
}, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
967
975
|
value: StringConstructor;
|
|
968
976
|
selectOptions: ObjectConstructor;
|
|
977
|
+
suffix: {
|
|
978
|
+
type: ArrayConstructor;
|
|
979
|
+
default: () => never[];
|
|
980
|
+
};
|
|
981
|
+
prefix: {
|
|
982
|
+
type: ArrayConstructor;
|
|
983
|
+
default: () => never[];
|
|
984
|
+
};
|
|
969
985
|
}>> & {
|
|
970
986
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
971
987
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
972
|
-
}, {
|
|
988
|
+
}, {
|
|
989
|
+
suffix: unknown[];
|
|
990
|
+
prefix: unknown[];
|
|
991
|
+
}, {}>;
|
|
973
992
|
|
|
974
993
|
declare const _default: vue.DefineComponent<{
|
|
975
994
|
zxIp: {
|
package/dist/components/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useRoute, useRouter } from 'vue-router';
|
|
|
4
4
|
import { useMounted, resolveRef, useThrottleFn, useVModel, useMagicKeys, whenever, watchArray, useEventListener, useSessionStorage, useFullscreen, useLocalStorage, useToggle, useElementBounding, useMemory, useWindowSize, useClipboard, useBreakpoints, breakpointsAntDesign } from '@vueuse/core';
|
|
5
5
|
import axios from 'axios';
|
|
6
6
|
import { message, Menu, MenuItem, Input, Badge, Avatar, MenuDivider, Modal, SubMenu, Dropdown, Tooltip, Select, Layout as Layout$1, LayoutHeader, LayoutSider, LayoutContent, Form, Row, Col, FormItem, SelectOption, Switch, InputNumber } from 'ant-design-vue';
|
|
7
|
-
import _, { isPlainObject, omit, differenceBy, isObject as isObject$1 } from 'lodash';
|
|
7
|
+
import _, { isPlainObject, omit, differenceBy, isObject as isObject$1, concat } from 'lodash';
|
|
8
8
|
import dayjs from 'dayjs';
|
|
9
9
|
import { loadMicroApp } from 'qiankun';
|
|
10
10
|
import 'vite-plugin-qiankun';
|
|
@@ -10998,12 +10998,6 @@ const getMenuDetail = () => defineComponent({
|
|
|
10998
10998
|
});
|
|
10999
10999
|
|
|
11000
11000
|
const fonts = [{
|
|
11001
|
-
label: "\u9ED8\u8BA4",
|
|
11002
|
-
value: ""
|
|
11003
|
-
}, {
|
|
11004
|
-
label: "Arial",
|
|
11005
|
-
value: "Arial"
|
|
11006
|
-
}, {
|
|
11007
11001
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11008
11002
|
value: "Microsoft YaHei"
|
|
11009
11003
|
}, {
|
|
@@ -11069,14 +11063,25 @@ const FontSelect = defineComponent({
|
|
|
11069
11063
|
emits: ["update:value", "change"],
|
|
11070
11064
|
props: {
|
|
11071
11065
|
value: String,
|
|
11072
|
-
selectOptions: Object
|
|
11066
|
+
selectOptions: Object,
|
|
11067
|
+
suffix: {
|
|
11068
|
+
type: Array,
|
|
11069
|
+
default: () => []
|
|
11070
|
+
},
|
|
11071
|
+
prefix: {
|
|
11072
|
+
type: Array,
|
|
11073
|
+
default: () => []
|
|
11074
|
+
}
|
|
11073
11075
|
},
|
|
11074
11076
|
setup(props, {
|
|
11075
11077
|
emit
|
|
11076
11078
|
}) {
|
|
11077
11079
|
const modelValue = useVModel(props, "value", emit);
|
|
11080
|
+
const options = computed(() => {
|
|
11081
|
+
return concat(props.prefix, fonts, props.suffix);
|
|
11082
|
+
});
|
|
11078
11083
|
return () => createVNode(resolveComponent("a-select"), mergeProps({
|
|
11079
|
-
"options":
|
|
11084
|
+
"options": options.value,
|
|
11080
11085
|
"onChange": e => emit("change", e)
|
|
11081
11086
|
}, props.selectOptions, {
|
|
11082
11087
|
"value": modelValue.value,
|
package/dist/index.cjs
CHANGED
|
@@ -42,7 +42,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
|
42
42
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
43
43
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
44
44
|
|
|
45
|
-
var version = "0.1.
|
|
45
|
+
var version = "0.1.18";
|
|
46
46
|
|
|
47
47
|
const setTheme = theme => {
|
|
48
48
|
if (theme === "dark") {
|
|
@@ -12013,12 +12013,6 @@ const getMenuDetail = () => vue.defineComponent({
|
|
|
12013
12013
|
});
|
|
12014
12014
|
|
|
12015
12015
|
const fonts = [{
|
|
12016
|
-
label: "\u9ED8\u8BA4",
|
|
12017
|
-
value: ""
|
|
12018
|
-
}, {
|
|
12019
|
-
label: "Arial",
|
|
12020
|
-
value: "Arial"
|
|
12021
|
-
}, {
|
|
12022
12016
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
12023
12017
|
value: "Microsoft YaHei"
|
|
12024
12018
|
}, {
|
|
@@ -12084,14 +12078,25 @@ const FontSelect = vue.defineComponent({
|
|
|
12084
12078
|
emits: ["update:value", "change"],
|
|
12085
12079
|
props: {
|
|
12086
12080
|
value: String,
|
|
12087
|
-
selectOptions: Object
|
|
12081
|
+
selectOptions: Object,
|
|
12082
|
+
suffix: {
|
|
12083
|
+
type: Array,
|
|
12084
|
+
default: () => []
|
|
12085
|
+
},
|
|
12086
|
+
prefix: {
|
|
12087
|
+
type: Array,
|
|
12088
|
+
default: () => []
|
|
12089
|
+
}
|
|
12088
12090
|
},
|
|
12089
12091
|
setup(props, {
|
|
12090
12092
|
emit
|
|
12091
12093
|
}) {
|
|
12092
12094
|
const modelValue = core.useVModel(props, "value", emit);
|
|
12095
|
+
const options = vue.computed(() => {
|
|
12096
|
+
return _.concat(props.prefix, fonts, props.suffix);
|
|
12097
|
+
});
|
|
12093
12098
|
return () => vue.createVNode(vue.resolveComponent("a-select"), vue.mergeProps({
|
|
12094
|
-
"options":
|
|
12099
|
+
"options": options.value,
|
|
12095
12100
|
"onChange": e => emit("change", e)
|
|
12096
12101
|
}, props.selectOptions, {
|
|
12097
12102
|
"value": modelValue.value,
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
|
|
|
11
11
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
12
12
|
import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
|
|
13
13
|
|
|
14
|
-
var version = "0.1.
|
|
14
|
+
var version = "0.1.18";
|
|
15
15
|
|
|
16
16
|
declare const _default$o: {
|
|
17
17
|
set(theme: string): void;
|
|
@@ -1725,13 +1725,32 @@ declare const getMenuDetail: () => vue.DefineComponent<{
|
|
|
1725
1725
|
declare const _default$2: vue.DefineComponent<{
|
|
1726
1726
|
value: StringConstructor;
|
|
1727
1727
|
selectOptions: ObjectConstructor;
|
|
1728
|
+
suffix: {
|
|
1729
|
+
type: ArrayConstructor;
|
|
1730
|
+
default: () => never[];
|
|
1731
|
+
};
|
|
1732
|
+
prefix: {
|
|
1733
|
+
type: ArrayConstructor;
|
|
1734
|
+
default: () => never[];
|
|
1735
|
+
};
|
|
1728
1736
|
}, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1729
1737
|
value: StringConstructor;
|
|
1730
1738
|
selectOptions: ObjectConstructor;
|
|
1739
|
+
suffix: {
|
|
1740
|
+
type: ArrayConstructor;
|
|
1741
|
+
default: () => never[];
|
|
1742
|
+
};
|
|
1743
|
+
prefix: {
|
|
1744
|
+
type: ArrayConstructor;
|
|
1745
|
+
default: () => never[];
|
|
1746
|
+
};
|
|
1731
1747
|
}>> & {
|
|
1732
1748
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1733
1749
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1734
|
-
}, {
|
|
1750
|
+
}, {
|
|
1751
|
+
prefix: unknown[];
|
|
1752
|
+
suffix: unknown[];
|
|
1753
|
+
}, {}>;
|
|
1735
1754
|
|
|
1736
1755
|
declare const _default$1: vue.DefineComponent<{
|
|
1737
1756
|
zxIp: {
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import renderWithQiankun, { qiankunWindow } from 'vite-plugin-qiankun/dist/helpe
|
|
|
3
3
|
import { defineComponent, createVNode, createApp, ref, watch, reactive, computed, onBeforeUnmount, inject, watchEffect, onActivated, onDeactivated, resolveComponent, isVNode, nextTick, Fragment, withDirectives, vShow, toRaw, provide, createTextVNode, onMounted, KeepAlive, shallowRef, onBeforeMount, mergeProps, onBeforeUpdate } from 'vue';
|
|
4
4
|
import axios from 'axios';
|
|
5
5
|
import { message, Menu, MenuItem, Input, Badge, Avatar, MenuDivider, Modal, SubMenu, Dropdown, Tooltip, Select, Layout as Layout$1, LayoutHeader, LayoutSider, LayoutContent, Form, Row, Col, FormItem, SelectOption, Switch, InputNumber } from 'ant-design-vue';
|
|
6
|
-
import _, { isPlainObject, omit, cloneDeep, differenceBy, isObject as isObject$1 } from 'lodash';
|
|
6
|
+
import _, { isPlainObject, omit, cloneDeep, differenceBy, isObject as isObject$1, concat } from 'lodash';
|
|
7
7
|
import { useIntervalFn, useEventBus, resolveRef, useEventListener, useMounted, useThrottleFn, useVModel, useMagicKeys, whenever, watchArray, useSessionStorage, useFullscreen, useLocalStorage, useToggle, useElementBounding, useMemory, useWindowSize, useClipboard, useBreakpoints, breakpointsAntDesign } from '@vueuse/core';
|
|
8
8
|
import dayjs from 'dayjs';
|
|
9
9
|
import { useRouter, useRoute } from 'vue-router';
|
|
@@ -12,7 +12,7 @@ import { loadMicroApp } from 'qiankun';
|
|
|
12
12
|
import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
|
|
13
13
|
import '@sszj-temp/mobile/style.css';
|
|
14
14
|
|
|
15
|
-
var version = "0.1.
|
|
15
|
+
var version = "0.1.18";
|
|
16
16
|
|
|
17
17
|
const setTheme = theme => {
|
|
18
18
|
if (theme === "dark") {
|
|
@@ -11983,12 +11983,6 @@ const getMenuDetail = () => defineComponent({
|
|
|
11983
11983
|
});
|
|
11984
11984
|
|
|
11985
11985
|
const fonts = [{
|
|
11986
|
-
label: "\u9ED8\u8BA4",
|
|
11987
|
-
value: ""
|
|
11988
|
-
}, {
|
|
11989
|
-
label: "Arial",
|
|
11990
|
-
value: "Arial"
|
|
11991
|
-
}, {
|
|
11992
11986
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11993
11987
|
value: "Microsoft YaHei"
|
|
11994
11988
|
}, {
|
|
@@ -12054,14 +12048,25 @@ const FontSelect = defineComponent({
|
|
|
12054
12048
|
emits: ["update:value", "change"],
|
|
12055
12049
|
props: {
|
|
12056
12050
|
value: String,
|
|
12057
|
-
selectOptions: Object
|
|
12051
|
+
selectOptions: Object,
|
|
12052
|
+
suffix: {
|
|
12053
|
+
type: Array,
|
|
12054
|
+
default: () => []
|
|
12055
|
+
},
|
|
12056
|
+
prefix: {
|
|
12057
|
+
type: Array,
|
|
12058
|
+
default: () => []
|
|
12059
|
+
}
|
|
12058
12060
|
},
|
|
12059
12061
|
setup(props, {
|
|
12060
12062
|
emit
|
|
12061
12063
|
}) {
|
|
12062
12064
|
const modelValue = useVModel(props, "value", emit);
|
|
12065
|
+
const options = computed(() => {
|
|
12066
|
+
return concat(props.prefix, fonts, props.suffix);
|
|
12067
|
+
});
|
|
12063
12068
|
return () => createVNode(resolveComponent("a-select"), mergeProps({
|
|
12064
|
-
"options":
|
|
12069
|
+
"options": options.value,
|
|
12065
12070
|
"onChange": e => emit("change", e)
|
|
12066
12071
|
}, props.selectOptions, {
|
|
12067
12072
|
"value": modelValue.value,
|