inl-ui 0.1.17 → 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 +15 -8
- package/dist/components/index.d.ts +20 -1
- package/dist/components/index.js +16 -9
- package/dist/index.cjs +16 -9
- package/dist/index.d.ts +21 -2
- package/dist/index.js +17 -10
- package/package.json +2 -2
|
@@ -6035,6 +6035,8 @@ const Layout = vue.defineComponent({
|
|
|
6035
6035
|
siderMenu.value = [refMenu];
|
|
6036
6036
|
}
|
|
6037
6037
|
}
|
|
6038
|
+
}, {
|
|
6039
|
+
immediate: true
|
|
6038
6040
|
});
|
|
6039
6041
|
const showHeader = vue.computed(() => props.withMenu && !menuRef && !isOnlyPage);
|
|
6040
6042
|
const showSide = vue.computed(() => showSideMenu.value && !isOnlyPage);
|
|
@@ -11006,12 +11008,6 @@ const getMenuDetail = () => vue.defineComponent({
|
|
|
11006
11008
|
});
|
|
11007
11009
|
|
|
11008
11010
|
const fonts = [{
|
|
11009
|
-
label: "\u9ED8\u8BA4",
|
|
11010
|
-
value: ""
|
|
11011
|
-
}, {
|
|
11012
|
-
label: "Arial",
|
|
11013
|
-
value: "Arial"
|
|
11014
|
-
}, {
|
|
11015
11011
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11016
11012
|
value: "Microsoft YaHei"
|
|
11017
11013
|
}, {
|
|
@@ -11077,14 +11073,25 @@ const FontSelect = vue.defineComponent({
|
|
|
11077
11073
|
emits: ["update:value", "change"],
|
|
11078
11074
|
props: {
|
|
11079
11075
|
value: String,
|
|
11080
|
-
selectOptions: Object
|
|
11076
|
+
selectOptions: Object,
|
|
11077
|
+
suffix: {
|
|
11078
|
+
type: Array,
|
|
11079
|
+
default: () => []
|
|
11080
|
+
},
|
|
11081
|
+
prefix: {
|
|
11082
|
+
type: Array,
|
|
11083
|
+
default: () => []
|
|
11084
|
+
}
|
|
11081
11085
|
},
|
|
11082
11086
|
setup(props, {
|
|
11083
11087
|
emit
|
|
11084
11088
|
}) {
|
|
11085
11089
|
const modelValue = core.useVModel(props, "value", emit);
|
|
11090
|
+
const options = vue.computed(() => {
|
|
11091
|
+
return _.concat(props.prefix, fonts, props.suffix);
|
|
11092
|
+
});
|
|
11086
11093
|
return () => vue.createVNode(vue.resolveComponent("a-select"), vue.mergeProps({
|
|
11087
|
-
"options":
|
|
11094
|
+
"options": options.value,
|
|
11088
11095
|
"onChange": e => emit("change", e)
|
|
11089
11096
|
}, props.selectOptions, {
|
|
11090
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';
|
|
@@ -6025,6 +6025,8 @@ const Layout = defineComponent({
|
|
|
6025
6025
|
siderMenu.value = [refMenu];
|
|
6026
6026
|
}
|
|
6027
6027
|
}
|
|
6028
|
+
}, {
|
|
6029
|
+
immediate: true
|
|
6028
6030
|
});
|
|
6029
6031
|
const showHeader = computed(() => props.withMenu && !menuRef && !isOnlyPage);
|
|
6030
6032
|
const showSide = computed(() => showSideMenu.value && !isOnlyPage);
|
|
@@ -10996,12 +10998,6 @@ const getMenuDetail = () => defineComponent({
|
|
|
10996
10998
|
});
|
|
10997
10999
|
|
|
10998
11000
|
const fonts = [{
|
|
10999
|
-
label: "\u9ED8\u8BA4",
|
|
11000
|
-
value: ""
|
|
11001
|
-
}, {
|
|
11002
|
-
label: "Arial",
|
|
11003
|
-
value: "Arial"
|
|
11004
|
-
}, {
|
|
11005
11001
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11006
11002
|
value: "Microsoft YaHei"
|
|
11007
11003
|
}, {
|
|
@@ -11067,14 +11063,25 @@ const FontSelect = defineComponent({
|
|
|
11067
11063
|
emits: ["update:value", "change"],
|
|
11068
11064
|
props: {
|
|
11069
11065
|
value: String,
|
|
11070
|
-
selectOptions: Object
|
|
11066
|
+
selectOptions: Object,
|
|
11067
|
+
suffix: {
|
|
11068
|
+
type: Array,
|
|
11069
|
+
default: () => []
|
|
11070
|
+
},
|
|
11071
|
+
prefix: {
|
|
11072
|
+
type: Array,
|
|
11073
|
+
default: () => []
|
|
11074
|
+
}
|
|
11071
11075
|
},
|
|
11072
11076
|
setup(props, {
|
|
11073
11077
|
emit
|
|
11074
11078
|
}) {
|
|
11075
11079
|
const modelValue = useVModel(props, "value", emit);
|
|
11080
|
+
const options = computed(() => {
|
|
11081
|
+
return concat(props.prefix, fonts, props.suffix);
|
|
11082
|
+
});
|
|
11076
11083
|
return () => createVNode(resolveComponent("a-select"), mergeProps({
|
|
11077
|
-
"options":
|
|
11084
|
+
"options": options.value,
|
|
11078
11085
|
"onChange": e => emit("change", e)
|
|
11079
11086
|
}, props.selectOptions, {
|
|
11080
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") {
|
|
@@ -7209,6 +7209,8 @@ const Layout = vue.defineComponent({
|
|
|
7209
7209
|
siderMenu.value = [refMenu];
|
|
7210
7210
|
}
|
|
7211
7211
|
}
|
|
7212
|
+
}, {
|
|
7213
|
+
immediate: true
|
|
7212
7214
|
});
|
|
7213
7215
|
const showHeader = vue.computed(() => props.withMenu && !menuRef && !isOnlyPage);
|
|
7214
7216
|
const showSide = vue.computed(() => showSideMenu.value && !isOnlyPage);
|
|
@@ -12011,12 +12013,6 @@ const getMenuDetail = () => vue.defineComponent({
|
|
|
12011
12013
|
});
|
|
12012
12014
|
|
|
12013
12015
|
const fonts = [{
|
|
12014
|
-
label: "\u9ED8\u8BA4",
|
|
12015
|
-
value: ""
|
|
12016
|
-
}, {
|
|
12017
|
-
label: "Arial",
|
|
12018
|
-
value: "Arial"
|
|
12019
|
-
}, {
|
|
12020
12016
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
12021
12017
|
value: "Microsoft YaHei"
|
|
12022
12018
|
}, {
|
|
@@ -12082,14 +12078,25 @@ const FontSelect = vue.defineComponent({
|
|
|
12082
12078
|
emits: ["update:value", "change"],
|
|
12083
12079
|
props: {
|
|
12084
12080
|
value: String,
|
|
12085
|
-
selectOptions: Object
|
|
12081
|
+
selectOptions: Object,
|
|
12082
|
+
suffix: {
|
|
12083
|
+
type: Array,
|
|
12084
|
+
default: () => []
|
|
12085
|
+
},
|
|
12086
|
+
prefix: {
|
|
12087
|
+
type: Array,
|
|
12088
|
+
default: () => []
|
|
12089
|
+
}
|
|
12086
12090
|
},
|
|
12087
12091
|
setup(props, {
|
|
12088
12092
|
emit
|
|
12089
12093
|
}) {
|
|
12090
12094
|
const modelValue = core.useVModel(props, "value", emit);
|
|
12095
|
+
const options = vue.computed(() => {
|
|
12096
|
+
return _.concat(props.prefix, fonts, props.suffix);
|
|
12097
|
+
});
|
|
12091
12098
|
return () => vue.createVNode(vue.resolveComponent("a-select"), vue.mergeProps({
|
|
12092
|
-
"options":
|
|
12099
|
+
"options": options.value,
|
|
12093
12100
|
"onChange": e => emit("change", e)
|
|
12094
12101
|
}, props.selectOptions, {
|
|
12095
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") {
|
|
@@ -7179,6 +7179,8 @@ const Layout = defineComponent({
|
|
|
7179
7179
|
siderMenu.value = [refMenu];
|
|
7180
7180
|
}
|
|
7181
7181
|
}
|
|
7182
|
+
}, {
|
|
7183
|
+
immediate: true
|
|
7182
7184
|
});
|
|
7183
7185
|
const showHeader = computed(() => props.withMenu && !menuRef && !isOnlyPage);
|
|
7184
7186
|
const showSide = computed(() => showSideMenu.value && !isOnlyPage);
|
|
@@ -11981,12 +11983,6 @@ const getMenuDetail = () => defineComponent({
|
|
|
11981
11983
|
});
|
|
11982
11984
|
|
|
11983
11985
|
const fonts = [{
|
|
11984
|
-
label: "\u9ED8\u8BA4",
|
|
11985
|
-
value: ""
|
|
11986
|
-
}, {
|
|
11987
|
-
label: "Arial",
|
|
11988
|
-
value: "Arial"
|
|
11989
|
-
}, {
|
|
11990
11986
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11991
11987
|
value: "Microsoft YaHei"
|
|
11992
11988
|
}, {
|
|
@@ -12052,14 +12048,25 @@ const FontSelect = defineComponent({
|
|
|
12052
12048
|
emits: ["update:value", "change"],
|
|
12053
12049
|
props: {
|
|
12054
12050
|
value: String,
|
|
12055
|
-
selectOptions: Object
|
|
12051
|
+
selectOptions: Object,
|
|
12052
|
+
suffix: {
|
|
12053
|
+
type: Array,
|
|
12054
|
+
default: () => []
|
|
12055
|
+
},
|
|
12056
|
+
prefix: {
|
|
12057
|
+
type: Array,
|
|
12058
|
+
default: () => []
|
|
12059
|
+
}
|
|
12056
12060
|
},
|
|
12057
12061
|
setup(props, {
|
|
12058
12062
|
emit
|
|
12059
12063
|
}) {
|
|
12060
12064
|
const modelValue = useVModel(props, "value", emit);
|
|
12065
|
+
const options = computed(() => {
|
|
12066
|
+
return concat(props.prefix, fonts, props.suffix);
|
|
12067
|
+
});
|
|
12061
12068
|
return () => createVNode(resolveComponent("a-select"), mergeProps({
|
|
12062
|
-
"options":
|
|
12069
|
+
"options": options.value,
|
|
12063
12070
|
"onChange": e => emit("change", e)
|
|
12064
12071
|
}, props.selectOptions, {
|
|
12065
12072
|
"value": modelValue.value,
|
package/package.json
CHANGED