inl-ui 0.1.14 → 0.1.16
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
|
@@ -11007,12 +11007,6 @@ const getMenuDetail = () => vue.defineComponent({
|
|
|
11007
11007
|
});
|
|
11008
11008
|
|
|
11009
11009
|
const fonts = [{
|
|
11010
|
-
label: "\u9ED8\u8BA4",
|
|
11011
|
-
value: ""
|
|
11012
|
-
}, {
|
|
11013
|
-
label: "Arial",
|
|
11014
|
-
value: "Arial"
|
|
11015
|
-
}, {
|
|
11016
11010
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11017
11011
|
value: "Microsoft YaHei"
|
|
11018
11012
|
}, {
|
|
@@ -11078,14 +11072,25 @@ const FontSelect = vue.defineComponent({
|
|
|
11078
11072
|
emits: ["update:value", "change"],
|
|
11079
11073
|
props: {
|
|
11080
11074
|
value: String,
|
|
11081
|
-
selectOptions: Object
|
|
11075
|
+
selectOptions: Object,
|
|
11076
|
+
suffix: {
|
|
11077
|
+
type: Array,
|
|
11078
|
+
default: () => []
|
|
11079
|
+
},
|
|
11080
|
+
prefix: {
|
|
11081
|
+
type: Array,
|
|
11082
|
+
default: () => []
|
|
11083
|
+
}
|
|
11082
11084
|
},
|
|
11083
11085
|
setup(props, {
|
|
11084
11086
|
emit
|
|
11085
11087
|
}) {
|
|
11086
11088
|
const modelValue = core.useVModel(props, "value", emit);
|
|
11089
|
+
const options = vue.computed(() => {
|
|
11090
|
+
return _.concat(props.prefix, fonts, props.suffix);
|
|
11091
|
+
});
|
|
11087
11092
|
return () => vue.createVNode(vue.resolveComponent("a-select"), vue.mergeProps({
|
|
11088
|
-
"options":
|
|
11093
|
+
"options": options.value,
|
|
11089
11094
|
"onChange": e => emit("change", e)
|
|
11090
11095
|
}, props.selectOptions, {
|
|
11091
11096
|
"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 as Input$1, Badge, Avatar as Avatar$1, 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';
|
|
@@ -10997,12 +10997,6 @@ const getMenuDetail = () => defineComponent({
|
|
|
10997
10997
|
});
|
|
10998
10998
|
|
|
10999
10999
|
const fonts = [{
|
|
11000
|
-
label: "\u9ED8\u8BA4",
|
|
11001
|
-
value: ""
|
|
11002
|
-
}, {
|
|
11003
|
-
label: "Arial",
|
|
11004
|
-
value: "Arial"
|
|
11005
|
-
}, {
|
|
11006
11000
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11007
11001
|
value: "Microsoft YaHei"
|
|
11008
11002
|
}, {
|
|
@@ -11068,14 +11062,25 @@ const FontSelect = defineComponent({
|
|
|
11068
11062
|
emits: ["update:value", "change"],
|
|
11069
11063
|
props: {
|
|
11070
11064
|
value: String,
|
|
11071
|
-
selectOptions: Object
|
|
11065
|
+
selectOptions: Object,
|
|
11066
|
+
suffix: {
|
|
11067
|
+
type: Array,
|
|
11068
|
+
default: () => []
|
|
11069
|
+
},
|
|
11070
|
+
prefix: {
|
|
11071
|
+
type: Array,
|
|
11072
|
+
default: () => []
|
|
11073
|
+
}
|
|
11072
11074
|
},
|
|
11073
11075
|
setup(props, {
|
|
11074
11076
|
emit
|
|
11075
11077
|
}) {
|
|
11076
11078
|
const modelValue = useVModel(props, "value", emit);
|
|
11079
|
+
const options = computed(() => {
|
|
11080
|
+
return concat(props.prefix, fonts, props.suffix);
|
|
11081
|
+
});
|
|
11077
11082
|
return () => createVNode(resolveComponent("a-select"), mergeProps({
|
|
11078
|
-
"options":
|
|
11083
|
+
"options": options.value,
|
|
11079
11084
|
"onChange": e => emit("change", e)
|
|
11080
11085
|
}, props.selectOptions, {
|
|
11081
11086
|
"value": modelValue.value,
|
package/dist/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
|
43
43
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
44
44
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
45
45
|
|
|
46
|
-
var version = "0.1.
|
|
46
|
+
var version = "0.1.14";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -12012,12 +12012,6 @@ const getMenuDetail = () => vue.defineComponent({
|
|
|
12012
12012
|
});
|
|
12013
12013
|
|
|
12014
12014
|
const fonts = [{
|
|
12015
|
-
label: "\u9ED8\u8BA4",
|
|
12016
|
-
value: ""
|
|
12017
|
-
}, {
|
|
12018
|
-
label: "Arial",
|
|
12019
|
-
value: "Arial"
|
|
12020
|
-
}, {
|
|
12021
12015
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
12022
12016
|
value: "Microsoft YaHei"
|
|
12023
12017
|
}, {
|
|
@@ -12083,14 +12077,25 @@ const FontSelect = vue.defineComponent({
|
|
|
12083
12077
|
emits: ["update:value", "change"],
|
|
12084
12078
|
props: {
|
|
12085
12079
|
value: String,
|
|
12086
|
-
selectOptions: Object
|
|
12080
|
+
selectOptions: Object,
|
|
12081
|
+
suffix: {
|
|
12082
|
+
type: Array,
|
|
12083
|
+
default: () => []
|
|
12084
|
+
},
|
|
12085
|
+
prefix: {
|
|
12086
|
+
type: Array,
|
|
12087
|
+
default: () => []
|
|
12088
|
+
}
|
|
12087
12089
|
},
|
|
12088
12090
|
setup(props, {
|
|
12089
12091
|
emit
|
|
12090
12092
|
}) {
|
|
12091
12093
|
const modelValue = core.useVModel(props, "value", emit);
|
|
12094
|
+
const options = vue.computed(() => {
|
|
12095
|
+
return _.concat(props.prefix, fonts, props.suffix);
|
|
12096
|
+
});
|
|
12092
12097
|
return () => vue.createVNode(vue.resolveComponent("a-select"), vue.mergeProps({
|
|
12093
|
-
"options":
|
|
12098
|
+
"options": options.value,
|
|
12094
12099
|
"onChange": e => emit("change", e)
|
|
12095
12100
|
}, props.selectOptions, {
|
|
12096
12101
|
"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.14";
|
|
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 as Input$1, Badge, Avatar as Avatar$1, 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';
|
|
@@ -13,7 +13,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
|
|
|
13
13
|
import { marked } from 'marked';
|
|
14
14
|
import '@sszj-temp/mobile/style.css';
|
|
15
15
|
|
|
16
|
-
var version = "0.1.
|
|
16
|
+
var version = "0.1.14";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -11982,12 +11982,6 @@ const getMenuDetail = () => defineComponent({
|
|
|
11982
11982
|
});
|
|
11983
11983
|
|
|
11984
11984
|
const fonts = [{
|
|
11985
|
-
label: "\u9ED8\u8BA4",
|
|
11986
|
-
value: ""
|
|
11987
|
-
}, {
|
|
11988
|
-
label: "Arial",
|
|
11989
|
-
value: "Arial"
|
|
11990
|
-
}, {
|
|
11991
11985
|
label: "\u5FAE\u8F6F\u96C5\u9ED1",
|
|
11992
11986
|
value: "Microsoft YaHei"
|
|
11993
11987
|
}, {
|
|
@@ -12053,14 +12047,25 @@ const FontSelect = defineComponent({
|
|
|
12053
12047
|
emits: ["update:value", "change"],
|
|
12054
12048
|
props: {
|
|
12055
12049
|
value: String,
|
|
12056
|
-
selectOptions: Object
|
|
12050
|
+
selectOptions: Object,
|
|
12051
|
+
suffix: {
|
|
12052
|
+
type: Array,
|
|
12053
|
+
default: () => []
|
|
12054
|
+
},
|
|
12055
|
+
prefix: {
|
|
12056
|
+
type: Array,
|
|
12057
|
+
default: () => []
|
|
12058
|
+
}
|
|
12057
12059
|
},
|
|
12058
12060
|
setup(props, {
|
|
12059
12061
|
emit
|
|
12060
12062
|
}) {
|
|
12061
12063
|
const modelValue = useVModel(props, "value", emit);
|
|
12064
|
+
const options = computed(() => {
|
|
12065
|
+
return concat(props.prefix, fonts, props.suffix);
|
|
12066
|
+
});
|
|
12062
12067
|
return () => createVNode(resolveComponent("a-select"), mergeProps({
|
|
12063
|
-
"options":
|
|
12068
|
+
"options": options.value,
|
|
12064
12069
|
"onChange": e => emit("change", e)
|
|
12065
12070
|
}, props.selectOptions, {
|
|
12066
12071
|
"value": modelValue.value,
|