fangguo-component 1.1.4 → 1.2.0
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/README.md +57 -0
- package/dist/{ErrorImage-Ao9kEEUg.js → ErrorImage-CFVt1ht_.js} +2 -2
- package/dist/FgCascader.css +24 -0
- package/dist/{FgCascader.vue_vue_type_style_index_0_lang-CM8FxFLJ.js → FgCascader.vue_vue_type_style_index_0_lang-Bm4HR37D.js} +45 -4
- package/dist/{HSelect-BFkWiCFi.js → HSelect-DgFjd08Y.js} +3 -3
- package/dist/{HSelectAll.vue_vue_type_script_setup_true_lang-BZX7ch2I.js → HSelectAll.vue_vue_type_script_setup_true_lang-C6qzdQT-.js} +1 -1
- package/dist/{HSelectSJ-DZmtdyjF.js → HSelectSJ-DOFUzTZV.js} +3 -3
- package/dist/ImgViewerHost.vue_vue_type_script_setup_true_lang-CMoh7eWo.js +52 -0
- package/dist/LazyPopover-7ebuh-QG.js +188 -0
- package/dist/LazyPopover.css +5 -0
- package/dist/{SelectTree-DHbWogEU.js → SelectTree-DUH92Iwr.js} +2 -2
- package/dist/{TextCopy-th0FAxwl.js → TextCopy-lpbeqOUI.js} +1 -1
- package/dist/ViewImg-Bg1AQ0T6.js +247 -0
- package/dist/ViewImg.css +56 -0
- package/dist/ViewImgPopover-b9PDEYbP.js +275 -0
- package/dist/ViewImgPopover.css +33 -0
- package/dist/ViewImgPreview.css +100 -0
- package/dist/ViewImgPreview.vue_vue_type_style_index_0_lang-CYuLovBR.js +306 -0
- package/dist/{common-B1nSpTGn.js → common-D0EYVGB2.js} +1 -1
- package/dist/components/cascader/index.js +1 -1
- package/dist/components/errorImage/index.js +2 -2
- package/dist/components/hSelect/index.js +1 -1
- package/dist/components/hSelectAll/index.js +1 -1
- package/dist/components/hSelectSJ/index.js +1 -1
- package/dist/components/imgViewerHost/ImgViewerHost.vue.d.ts +2 -0
- package/dist/components/imgViewerHost/imgViewerStore.d.ts +195 -0
- package/dist/components/imgViewerHost/index.d.ts +4 -0
- package/dist/components/imgViewerHost/index.js +10 -0
- package/dist/components/imgViewerHost/utils.d.ts +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +45 -18
- package/dist/components/lazyPopover/LazyPopover.vue.d.ts +12 -15
- package/dist/components/lazyPopover/index.js +2 -2
- package/dist/components/selectTree/index.js +1 -1
- package/dist/components/textCopy/index.js +1 -1
- package/dist/components/viewImg/ViewImg.vue.d.ts +141 -0
- package/dist/components/viewImg/index.d.ts +1 -0
- package/dist/components/viewImg/index.js +4 -0
- package/dist/components/viewImgPopover/ViewImgPopover.vue.d.ts +705 -0
- package/dist/components/viewImgPopover/index.d.ts +1 -0
- package/dist/components/viewImgPopover/index.js +4 -0
- package/dist/components/viewImgPreview/ViewImgPreview.vue.d.ts +50 -0
- package/dist/components/viewImgPreview/index.d.ts +3 -0
- package/dist/components/viewImgPreview/index.js +17 -0
- package/dist/components/viewImgPreview/types.d.ts +78 -0
- package/dist/imgViewerStore-C5n16uYa.js +241 -0
- package/dist/{index-DzdLpetc.js → index-BtQgIf7F.js} +1414 -1402
- package/dist/{index-uQXqC9BF.js → index-CckJZ8N-.js} +40 -13
- package/dist/{index-BPnixsfc.js → index-Qkq7I01c.js} +15 -1
- package/dist/index.d.ts +17 -3
- package/dist/index.js +103 -60
- package/dist/montageImgUrl-CwgYnB2h.js +204 -0
- package/dist/tools/ImageParserUtils/index.js +346 -346
- package/dist/tools/common/index.js +1 -1
- package/dist/tools/imgUrl/config.d.ts +10 -0
- package/dist/tools/imgUrl/index.d.ts +4 -0
- package/dist/tools/imgUrl/index.js +16 -0
- package/dist/tools/imgUrl/montageImgUrl.d.ts +15 -0
- package/dist/tools/imgUrl/networkAdaptive.d.ts +7 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +29 -15
- package/dist/types-BNFeGRer.js +32 -0
- package/package.json +92 -92
- package/dist/LazyPopover.vue_vue_type_script_setup_true_lang-B2vtU4f4.js +0 -34
|
@@ -1,36 +1,54 @@
|
|
|
1
1
|
import { _ as _sfc_main } from "./ArgHover.vue_vue_type_style_index_0_lang-CSymSDRl.js";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./FgCascader.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./FgCascader.vue_vue_type_style_index_0_lang-Bm4HR37D.js";
|
|
3
3
|
import { _ as _sfc_main$2 } from "./CitySelect.vue_vue_type_script_setup_true_lang-DZp6834K.js";
|
|
4
4
|
import { _ as _sfc_main$3 } from "./DragResizable.vue_vue_type_style_index_0_lang-BePpQHve.js";
|
|
5
|
-
import { _ as _sfc_main$4 } from "./HSelectAll.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as _sfc_main$4 } from "./HSelectAll.vue_vue_type_script_setup_true_lang-C6qzdQT-.js";
|
|
6
6
|
import { _ as _sfc_main$5 } from "./IdentifyAddress.vue_vue_type_script_setup_true_lang-BCIOF-Oy.js";
|
|
7
7
|
import { _ as _sfc_main$6 } from "./ImageLoupe.vue_vue_type_script_setup_true_lang-BaXHYlDu.js";
|
|
8
|
-
import { _ as _sfc_main$7 } from "./
|
|
9
|
-
import { _ as _sfc_main$8 } from "./
|
|
8
|
+
import { _ as _sfc_main$7 } from "./ImgViewerHost.vue_vue_type_script_setup_true_lang-CMoh7eWo.js";
|
|
9
|
+
import { _ as _sfc_main$8 } from "./LazyComponent.vue_vue_type_script_setup_true_lang-D5KGqlj4.js";
|
|
10
10
|
import { _ as _sfc_main$9 } from "./NoRender.vue_vue_type_script_setup_true_lang-B0G6jxPg.js";
|
|
11
11
|
import { _ as _sfc_main$a } from "./SelectAll.vue_vue_type_script_setup_true_lang-CyzY8ams.js";
|
|
12
12
|
import { _ as _sfc_main$b } from "./SelectAll2.vue_vue_type_script_setup_true_lang-CrsaohxU.js";
|
|
13
13
|
import { _ as _sfc_main$c } from "./SelectCustomAll.vue_vue_type_style_index_0_lang-BEZwlGXa.js";
|
|
14
14
|
import { _ as _sfc_main$d } from "./SelectTimePicker.vue_vue_type_script_setup_true_lang-Dk4TpTBN.js";
|
|
15
15
|
import { _ as _sfc_main$e } from "./TextEllipsisTooltip.vue_vue_type_script_setup_true_lang-DVE1CxPm.js";
|
|
16
|
+
import { _ as _sfc_main$f } from "./ViewImgPreview.vue_vue_type_style_index_0_lang-CYuLovBR.js";
|
|
17
|
+
import { D as DEFAULT_ORIGINAL_TOOLBAR, a as DEFAULT_PREVIEW_CLOSE_ON_PRESS_ESCAPE, b as DEFAULT_PREVIEW_HIDE_ON_CLICK_MODAL, c as DEFAULT_PREVIEW_INFINITE, d as DEFAULT_PREVIEW_MAX_SCALE, e as DEFAULT_PREVIEW_MIN_SCALE, f as DEFAULT_PREVIEW_SCALE, g as DEFAULT_PREVIEW_SHOW_PROGRESS, h as DEFAULT_PREVIEW_TELEPORTED, i as DEFAULT_PREVIEW_ZOOM_RATE, j as DEFAULT_TOOLBAR_BG_COLOR, k as DEFAULT_TOOLBAR_ICON_COLOR } from "./types-BNFeGRer.js";
|
|
16
18
|
import { B as ButtonGroup } from "./ButtonGroup-DqViorHX.js";
|
|
17
19
|
import { C as ContentTitle } from "./ContentTitle-By0Zk1u7.js";
|
|
18
20
|
import { C as CustomInputV2 } from "./CustomInputV2-BqhBSO53.js";
|
|
19
21
|
import { C as CustomMultipleInput } from "./CustomMultipleInput-DRMTUtkE.js";
|
|
20
22
|
import { D as DragSort } from "./DragSort-5WetnkmW.js";
|
|
21
|
-
import {
|
|
22
|
-
import { H as HSelect } from "./HSelect-
|
|
23
|
-
import { H as HSelectSJ } from "./HSelectSJ-
|
|
23
|
+
import { F as FgErrorImage } from "./ErrorImage-CFVt1ht_.js";
|
|
24
|
+
import { H as HSelect } from "./HSelect-DgFjd08Y.js";
|
|
25
|
+
import { H as HSelectSJ } from "./HSelectSJ-DOFUzTZV.js";
|
|
26
|
+
import { L as LazyPopover } from "./LazyPopover-7ebuh-QG.js";
|
|
24
27
|
import { L as LoadingBtn } from "./LoadingBtn-DWm2cY9k.js";
|
|
25
28
|
import { M as MInput } from "./MInput-s_P63myh.js";
|
|
26
29
|
import { M as MyTable } from "./MyTable-CHvxPYgk.js";
|
|
27
30
|
import { S as SelectAddress } from "./SelectAddress-CCepDxu8.js";
|
|
28
|
-
import { S as SelectTree } from "./SelectTree-
|
|
31
|
+
import { S as SelectTree } from "./SelectTree-DUH92Iwr.js";
|
|
29
32
|
import { S as SvgIcon } from "./SvgIcon-DIg0upEk.js";
|
|
30
|
-
import { T as TextCopy } from "./TextCopy-
|
|
33
|
+
import { T as TextCopy } from "./TextCopy-lpbeqOUI.js";
|
|
34
|
+
import { F as FgViewImg } from "./ViewImg-Bg1AQ0T6.js";
|
|
35
|
+
import { V as ViewImgPopover } from "./ViewImgPopover-b9PDEYbP.js";
|
|
36
|
+
import { I as ImgViewerStore, P as PREVIEW_BASE_Z_INDEX, g as getDialogZindex, u as useImgViewerState, a as useImgViewerStore } from "./imgViewerStore-C5n16uYa.js";
|
|
31
37
|
import { V as VirtualTable } from "./VirtualTable-Cm_L7q9W.js";
|
|
32
38
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33
39
|
__proto__: null,
|
|
40
|
+
DEFAULT_ORIGINAL_TOOLBAR,
|
|
41
|
+
DEFAULT_PREVIEW_CLOSE_ON_PRESS_ESCAPE,
|
|
42
|
+
DEFAULT_PREVIEW_HIDE_ON_CLICK_MODAL,
|
|
43
|
+
DEFAULT_PREVIEW_INFINITE,
|
|
44
|
+
DEFAULT_PREVIEW_MAX_SCALE,
|
|
45
|
+
DEFAULT_PREVIEW_MIN_SCALE,
|
|
46
|
+
DEFAULT_PREVIEW_SCALE,
|
|
47
|
+
DEFAULT_PREVIEW_SHOW_PROGRESS,
|
|
48
|
+
DEFAULT_PREVIEW_TELEPORTED,
|
|
49
|
+
DEFAULT_PREVIEW_ZOOM_RATE,
|
|
50
|
+
DEFAULT_TOOLBAR_BG_COLOR,
|
|
51
|
+
DEFAULT_TOOLBAR_ICON_COLOR,
|
|
34
52
|
FgArgHover: _sfc_main,
|
|
35
53
|
FgButtonGroup: ButtonGroup,
|
|
36
54
|
FgCascader: _sfc_main$1,
|
|
@@ -40,14 +58,15 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
40
58
|
FgCustomMultipleInput: CustomMultipleInput,
|
|
41
59
|
FgDragResizable: _sfc_main$3,
|
|
42
60
|
FgDragSort: DragSort,
|
|
43
|
-
FgErrorImage
|
|
61
|
+
FgErrorImage,
|
|
44
62
|
FgHSelect: HSelect,
|
|
45
63
|
FgHSelectAll: _sfc_main$4,
|
|
46
64
|
FgHSelectSJ: HSelectSJ,
|
|
47
65
|
FgIdentifyAddress: _sfc_main$5,
|
|
48
66
|
FgImageLoupe: _sfc_main$6,
|
|
49
|
-
|
|
50
|
-
|
|
67
|
+
FgImgViewerHost: _sfc_main$7,
|
|
68
|
+
FgLazyComponent: _sfc_main$8,
|
|
69
|
+
FgLazyPopover: LazyPopover,
|
|
51
70
|
FgLoadingBtn: LoadingBtn,
|
|
52
71
|
FgMInput: MInput,
|
|
53
72
|
FgMyTable: MyTable,
|
|
@@ -61,7 +80,15 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
61
80
|
FgSvgIcon: SvgIcon,
|
|
62
81
|
FgTextCopy: TextCopy,
|
|
63
82
|
FgTextEllipsisTooltip: _sfc_main$e,
|
|
64
|
-
|
|
83
|
+
FgViewImg,
|
|
84
|
+
FgViewImgPopover: ViewImgPopover,
|
|
85
|
+
FgViewImgPreview: _sfc_main$f,
|
|
86
|
+
ImgViewerStore,
|
|
87
|
+
PREVIEW_BASE_Z_INDEX,
|
|
88
|
+
VirtualTable,
|
|
89
|
+
getDialogZindex,
|
|
90
|
+
useImgViewerState,
|
|
91
|
+
useImgViewerStore
|
|
65
92
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
66
93
|
export {
|
|
67
94
|
components as c
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as DEFAULT_IMG_FASTEN, c as configureImgUrl, g as getImgFasten, a as getNetworkAdaptiveOptions, b as getOssLinks, i as imgUrlConfigKey, d as initNetworkListener, e as isUnsupportedImg, m as montageImgUrl, n as networkKey, f as notSupportedImgTypes, r as replaceUnsupportedImg, t as temuThumbUrl } from "./montageImgUrl-CwgYnB2h.js";
|
|
2
|
+
import { a as aesDecrypt, b as aesEncrypt, c as allPhoneReq, d as analyzeFileformat, e as argFormate, f as base64ToBlob, g as base64ToFile, h as boldPoint, i as checkGoodValue, j as cleanEmptyFields, k as convertImageFormat, l as copyText, m as copyWord, n as createFileLocalUrl, o as createUuid, p as currentDaysLessFivedays, q as debounce, r as dropperColor, s as fileUrlToBase64, t as filterCountryAreaCodeList, u as filterMethodLowerCase, v as filterSearch, w as findNodePath, x as flattenTreeWithPath, y as formatBytes, z as formatDateArray, A as formatTimestamp, B as formatXmlText, C as formateDate, D as formateOperateLogWord, E as formateTaskTableData, F as generateFpid, G as generatePassword, H as getAddressCode, I as getAddressNameByCode, J as getAppType, K as getArrayBufferFromInput, L as getFileFolderToEnums, M as getFilenameAndExtension, N as getImageSizeByFile, O as getMobileSubmitParams, P as getQueryParams, Q as getUUID, R as getUrlSuffix, S as getXmlKeyValue, T as hasInvalidFileNameChars, U as isCmykPsd, V as isFuction, W as isMobileDevice, X as isPdfUrl, Y as isSameDay, Z as localUrlToFile, _ as longestContinuousMatch, $ as mergeColumns, a0 as mergeItem, a1 as mergeTaskTableData, a2 as modelCodeReg, a3 as modelListFilter, a4 as nameReg, a5 as numberFilter, a6 as numberToChinese, a7 as numberToRatio, a8 as opneNewTab, a9 as orderBy, aa as overseasPhoneReg, ab as pasteTextTrim, ac as pdfImg, ad as phoneReg, ae as picFilter, af as preventDefaultHandler, ag as pwdReg, ah as ratioToNumber, ai as sleep, aj as splitArray, ak as strPasteJson, al as stringArrayDiff, am as stringToUnicodeEscape, an as trimAndReduceSpaces, ao as truncateText, ap as unicodeEscapeToChars, aq as updateOringin, ar as validateMobileByCountry, as as webpToPng } from "./common-D0EYVGB2.js";
|
|
2
3
|
import { detectFileType, formatFileSize, parseFile, parseFiles, parseImage, parseImageFile, parsePSD, parsePSDFile, parseTIFF, parseTIFFFile } from "./tools/ImageParserUtils/index.js";
|
|
3
4
|
import { s as shortcuts } from "./dateShortcuts-DjFC_Txu.js";
|
|
4
5
|
const tools = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
6
|
__proto__: null,
|
|
7
|
+
DEFAULT_IMG_FASTEN,
|
|
6
8
|
aesDecrypt,
|
|
7
9
|
aesEncrypt,
|
|
8
10
|
allPhoneReq,
|
|
@@ -13,6 +15,7 @@ const tools = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
13
15
|
boldPoint,
|
|
14
16
|
checkGoodValue,
|
|
15
17
|
cleanEmptyFields,
|
|
18
|
+
configureImgUrl,
|
|
16
19
|
convertImageFormat,
|
|
17
20
|
copyText,
|
|
18
21
|
copyWord,
|
|
@@ -45,17 +48,23 @@ const tools = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
45
48
|
getFileFolderToEnums,
|
|
46
49
|
getFilenameAndExtension,
|
|
47
50
|
getImageSizeByFile,
|
|
51
|
+
getImgFasten,
|
|
48
52
|
getMobileSubmitParams,
|
|
53
|
+
getNetworkAdaptiveOptions,
|
|
54
|
+
getOssLinks,
|
|
49
55
|
getQueryParams,
|
|
50
56
|
getUUID,
|
|
51
57
|
getUrlSuffix,
|
|
52
58
|
getXmlKeyValue,
|
|
53
59
|
hasInvalidFileNameChars,
|
|
60
|
+
imgUrlConfigKey,
|
|
61
|
+
initNetworkListener,
|
|
54
62
|
isCmykPsd,
|
|
55
63
|
isFuction,
|
|
56
64
|
isMobileDevice,
|
|
57
65
|
isPdfUrl,
|
|
58
66
|
isSameDay,
|
|
67
|
+
isUnsupportedImg,
|
|
59
68
|
localUrlToFile,
|
|
60
69
|
longestContinuousMatch,
|
|
61
70
|
mergeColumns,
|
|
@@ -63,7 +72,10 @@ const tools = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
63
72
|
mergeTaskTableData,
|
|
64
73
|
modelCodeReg,
|
|
65
74
|
modelListFilter,
|
|
75
|
+
montageImgUrl,
|
|
66
76
|
nameReg,
|
|
77
|
+
networkKey,
|
|
78
|
+
notSupportedImgTypes,
|
|
67
79
|
numberFilter,
|
|
68
80
|
numberToChinese,
|
|
69
81
|
numberToRatio,
|
|
@@ -85,12 +97,14 @@ const tools = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
85
97
|
preventDefaultHandler,
|
|
86
98
|
pwdReg,
|
|
87
99
|
ratioToNumber,
|
|
100
|
+
replaceUnsupportedImg,
|
|
88
101
|
shortcuts,
|
|
89
102
|
sleep,
|
|
90
103
|
splitArray,
|
|
91
104
|
strPasteJson,
|
|
92
105
|
stringArrayDiff,
|
|
93
106
|
stringToUnicodeEscape,
|
|
107
|
+
temuThumbUrl,
|
|
94
108
|
trimAndReduceSpaces,
|
|
95
109
|
truncateText,
|
|
96
110
|
unicodeEscapeToChars,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { ImgUrlConfig } from './tools/imgUrl';
|
|
2
3
|
import * as tools from "./tools";
|
|
3
4
|
export * from './components';
|
|
4
5
|
export * from './tools';
|
|
@@ -10,6 +11,8 @@ export interface FangguoInstallOptions {
|
|
|
10
11
|
components?: boolean;
|
|
11
12
|
/** 是否 `app.directive` 注册全部导出指令,默认 `true` */
|
|
12
13
|
directives?: boolean;
|
|
14
|
+
/** 图片 OSS 域名与占位图配置,等同 `configureImgUrl` */
|
|
15
|
+
imgUrl?: ImgUrlConfig;
|
|
13
16
|
}
|
|
14
17
|
/** 仅全局注册组件 */
|
|
15
18
|
export declare function installComponents(app: App): void;
|
|
@@ -144,9 +147,7 @@ declare const _default: {
|
|
|
144
147
|
errMsg: string;
|
|
145
148
|
dataUrl?: string;
|
|
146
149
|
width?: number;
|
|
147
|
-
height
|
|
148
|
-
/** 判断是否是指令定义 */
|
|
149
|
-
?: number;
|
|
150
|
+
height?: number;
|
|
150
151
|
sizeLimitWidth?: number;
|
|
151
152
|
sizeLimitHeight?: number;
|
|
152
153
|
psdData?: any;
|
|
@@ -191,6 +192,19 @@ declare const _default: {
|
|
|
191
192
|
results: tools.ParsedImageInfo[];
|
|
192
193
|
failedCount: number;
|
|
193
194
|
}>;
|
|
195
|
+
configureImgUrl: typeof tools.configureImgUrl;
|
|
196
|
+
DEFAULT_IMG_FASTEN: tools.ImgFastenConfig;
|
|
197
|
+
getImgFasten: typeof tools.getImgFasten;
|
|
198
|
+
getOssLinks: typeof tools.getOssLinks;
|
|
199
|
+
imgUrlConfigKey: import('vue').Ref<number, number>;
|
|
200
|
+
getNetworkAdaptiveOptions: typeof tools.getNetworkAdaptiveOptions;
|
|
201
|
+
initNetworkListener: typeof tools.initNetworkListener;
|
|
202
|
+
networkKey: import('vue').Ref<number, number>;
|
|
203
|
+
isUnsupportedImg: typeof tools.isUnsupportedImg;
|
|
204
|
+
montageImgUrl: typeof tools.montageImgUrl;
|
|
205
|
+
notSupportedImgTypes: string[];
|
|
206
|
+
replaceUnsupportedImg: typeof tools.replaceUnsupportedImg;
|
|
207
|
+
temuThumbUrl: typeof tools.temuThumbUrl;
|
|
194
208
|
install: (app: App, options?: FangguoInstallOptions) => void;
|
|
195
209
|
};
|
|
196
210
|
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -3,61 +3,69 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
|
3
3
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
4
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __spreadValues = (a10,
|
|
7
|
-
for (var prop in
|
|
8
|
-
if (__hasOwnProp.call(
|
|
9
|
-
__defNormalProp(a10, prop,
|
|
6
|
+
var __spreadValues = (a10, b4) => {
|
|
7
|
+
for (var prop in b4 || (b4 = {}))
|
|
8
|
+
if (__hasOwnProp.call(b4, prop))
|
|
9
|
+
__defNormalProp(a10, prop, b4[prop]);
|
|
10
10
|
if (__getOwnPropSymbols)
|
|
11
|
-
for (var prop of __getOwnPropSymbols(
|
|
12
|
-
if (__propIsEnum.call(
|
|
13
|
-
__defNormalProp(a10, prop,
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b4)) {
|
|
12
|
+
if (__propIsEnum.call(b4, prop))
|
|
13
|
+
__defNormalProp(a10, prop, b4[prop]);
|
|
14
14
|
}
|
|
15
15
|
return a10;
|
|
16
16
|
};
|
|
17
|
-
import { c as components } from "./index-
|
|
18
|
-
import { t as tools } from "./index-
|
|
17
|
+
import { c as components } from "./index-CckJZ8N-.js";
|
|
18
|
+
import { t as tools } from "./index-Qkq7I01c.js";
|
|
19
19
|
import { d as directives } from "./index-CSMWzzp0.js";
|
|
20
20
|
import { h as hooks } from "./index-DfQiknXJ.js";
|
|
21
|
+
import { c as configureImgUrl } from "./montageImgUrl-CwgYnB2h.js";
|
|
22
|
+
import { D, g, a, b, i, d, e, m, n, f, r, t } from "./montageImgUrl-CwgYnB2h.js";
|
|
21
23
|
import { _ } from "./ArgHover.vue_vue_type_style_index_0_lang-CSymSDRl.js";
|
|
22
|
-
import { _ as _2 } from "./FgCascader.vue_vue_type_style_index_0_lang-
|
|
24
|
+
import { _ as _2 } from "./FgCascader.vue_vue_type_style_index_0_lang-Bm4HR37D.js";
|
|
23
25
|
import { _ as _3 } from "./CitySelect.vue_vue_type_script_setup_true_lang-DZp6834K.js";
|
|
24
26
|
import { _ as _4 } from "./DragResizable.vue_vue_type_style_index_0_lang-BePpQHve.js";
|
|
25
|
-
import { _ as _5 } from "./HSelectAll.vue_vue_type_script_setup_true_lang-
|
|
27
|
+
import { _ as _5 } from "./HSelectAll.vue_vue_type_script_setup_true_lang-C6qzdQT-.js";
|
|
26
28
|
import { _ as _6 } from "./IdentifyAddress.vue_vue_type_script_setup_true_lang-BCIOF-Oy.js";
|
|
27
29
|
import { _ as _7 } from "./ImageLoupe.vue_vue_type_script_setup_true_lang-BaXHYlDu.js";
|
|
28
|
-
import { _ as _8 } from "./
|
|
29
|
-
import { _ as _9 } from "./
|
|
30
|
+
import { _ as _8 } from "./ImgViewerHost.vue_vue_type_script_setup_true_lang-CMoh7eWo.js";
|
|
31
|
+
import { _ as _9 } from "./LazyComponent.vue_vue_type_script_setup_true_lang-D5KGqlj4.js";
|
|
30
32
|
import { _ as _10 } from "./NoRender.vue_vue_type_script_setup_true_lang-B0G6jxPg.js";
|
|
31
33
|
import { _ as _11 } from "./SelectAll.vue_vue_type_script_setup_true_lang-CyzY8ams.js";
|
|
32
34
|
import { _ as _12 } from "./SelectAll2.vue_vue_type_script_setup_true_lang-CrsaohxU.js";
|
|
33
35
|
import { _ as _13 } from "./SelectCustomAll.vue_vue_type_style_index_0_lang-BEZwlGXa.js";
|
|
34
36
|
import { _ as _14 } from "./SelectTimePicker.vue_vue_type_script_setup_true_lang-Dk4TpTBN.js";
|
|
35
37
|
import { _ as _15 } from "./TextEllipsisTooltip.vue_vue_type_script_setup_true_lang-DVE1CxPm.js";
|
|
38
|
+
import { _ as _16 } from "./ViewImgPreview.vue_vue_type_style_index_0_lang-CYuLovBR.js";
|
|
39
|
+
import { D as D2, a as a2, b as b2, c, d as d2, e as e2, f as f2, g as g2, h, i as i2, j, k } from "./types-BNFeGRer.js";
|
|
36
40
|
import { B } from "./ButtonGroup-DqViorHX.js";
|
|
37
41
|
import { C } from "./ContentTitle-By0Zk1u7.js";
|
|
38
42
|
import { C as C2 } from "./CustomInputV2-BqhBSO53.js";
|
|
39
43
|
import { C as C3 } from "./CustomMultipleInput-DRMTUtkE.js";
|
|
40
|
-
import { D } from "./DragSort-5WetnkmW.js";
|
|
41
|
-
import {
|
|
42
|
-
import { H } from "./HSelect-
|
|
43
|
-
import { H as H2 } from "./HSelectSJ-
|
|
44
|
+
import { D as D3 } from "./DragSort-5WetnkmW.js";
|
|
45
|
+
import { F } from "./ErrorImage-CFVt1ht_.js";
|
|
46
|
+
import { H } from "./HSelect-DgFjd08Y.js";
|
|
47
|
+
import { H as H2 } from "./HSelectSJ-DOFUzTZV.js";
|
|
48
|
+
import { L } from "./LazyPopover-7ebuh-QG.js";
|
|
44
49
|
import { l } from "./loading-CGrVcnNl.js";
|
|
45
|
-
import { L } from "./LoadingBtn-DWm2cY9k.js";
|
|
50
|
+
import { L as L2 } from "./LoadingBtn-DWm2cY9k.js";
|
|
46
51
|
import { M } from "./MInput-s_P63myh.js";
|
|
47
52
|
import { M as M2 } from "./MyTable-CHvxPYgk.js";
|
|
48
53
|
import { S } from "./SelectAddress-CCepDxu8.js";
|
|
49
|
-
import { S as S2 } from "./SelectTree-
|
|
54
|
+
import { S as S2 } from "./SelectTree-DUH92Iwr.js";
|
|
50
55
|
import { S as S3 } from "./SvgIcon-DIg0upEk.js";
|
|
51
|
-
import { T } from "./TextCopy-
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
56
|
+
import { T } from "./TextCopy-lpbeqOUI.js";
|
|
57
|
+
import { F as F2 } from "./ViewImg-Bg1AQ0T6.js";
|
|
58
|
+
import { V } from "./ViewImgPopover-b9PDEYbP.js";
|
|
59
|
+
import { I, P, g as g3, u, a as a3 } from "./imgViewerStore-C5n16uYa.js";
|
|
60
|
+
import { V as V2 } from "./VirtualTable-Cm_L7q9W.js";
|
|
61
|
+
import { a as a4, b as b3, c as c2, d as d3, e as e3, f as f3, g as g4, h as h2, i as i3, j as j2, k as k2, l as l2, m as m2, n as n2, o, p, q, r as r2, s, t as t2, u as u2, v, w, x, y, z, A, B as B2, C as C4, D as D4, E, F as F3, G, H as H3, I as I2, J, K, L as L3, M as M3, N, O, P as P2, Q, R, S as S4, T as T2, U, V as V3, W, X, Y, Z, _ as _17, $, a0, a1, a2 as a22, a3 as a32, a4 as a42, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as } from "./common-D0EYVGB2.js";
|
|
54
62
|
import { detectFileType, formatFileSize, parseFile, parseFiles, parseImage, parseImageFile, parsePSD, parsePSDFile, parseTIFF, parseTIFFFile } from "./tools/ImageParserUtils/index.js";
|
|
55
63
|
import { s as s2 } from "./dateShortcuts-DjFC_Txu.js";
|
|
56
|
-
import { u as
|
|
64
|
+
import { u as u3 } from "./usePagination-C63IRXjZ.js";
|
|
57
65
|
function isDirectiveDef(v2) {
|
|
58
66
|
if (!v2 || typeof v2 !== "object") return false;
|
|
59
|
-
const
|
|
60
|
-
return "mounted" in
|
|
67
|
+
const d4 = v2;
|
|
68
|
+
return "mounted" in d4 || "beforeMount" in d4 || "created" in d4 || "beforeUpdate" in d4 || "updated" in d4 || "beforeUnmount" in d4 || "unmounted" in d4;
|
|
61
69
|
}
|
|
62
70
|
function installComponents(app) {
|
|
63
71
|
Object.entries(components).forEach(([name, component]) => {
|
|
@@ -73,12 +81,26 @@ function installDirectives(app) {
|
|
|
73
81
|
});
|
|
74
82
|
}
|
|
75
83
|
const install = (app, options) => {
|
|
76
|
-
const { components: useComponents = true, directives: useDirectives = true } = options != null ? options : {};
|
|
84
|
+
const { components: useComponents = true, directives: useDirectives = true, imgUrl } = options != null ? options : {};
|
|
85
|
+
if (imgUrl) configureImgUrl(imgUrl);
|
|
77
86
|
if (useComponents) installComponents(app);
|
|
78
87
|
if (useDirectives) installDirectives(app);
|
|
79
88
|
};
|
|
80
89
|
const index = __spreadValues(__spreadValues({ install }, tools), hooks);
|
|
81
90
|
export {
|
|
91
|
+
D as DEFAULT_IMG_FASTEN,
|
|
92
|
+
D2 as DEFAULT_ORIGINAL_TOOLBAR,
|
|
93
|
+
a2 as DEFAULT_PREVIEW_CLOSE_ON_PRESS_ESCAPE,
|
|
94
|
+
b2 as DEFAULT_PREVIEW_HIDE_ON_CLICK_MODAL,
|
|
95
|
+
c as DEFAULT_PREVIEW_INFINITE,
|
|
96
|
+
d2 as DEFAULT_PREVIEW_MAX_SCALE,
|
|
97
|
+
e2 as DEFAULT_PREVIEW_MIN_SCALE,
|
|
98
|
+
f2 as DEFAULT_PREVIEW_SCALE,
|
|
99
|
+
g2 as DEFAULT_PREVIEW_SHOW_PROGRESS,
|
|
100
|
+
h as DEFAULT_PREVIEW_TELEPORTED,
|
|
101
|
+
i2 as DEFAULT_PREVIEW_ZOOM_RATE,
|
|
102
|
+
j as DEFAULT_TOOLBAR_BG_COLOR,
|
|
103
|
+
k as DEFAULT_TOOLBAR_ICON_COLOR,
|
|
82
104
|
_ as FgArgHover,
|
|
83
105
|
B as FgButtonGroup,
|
|
84
106
|
_2 as FgCascader,
|
|
@@ -87,17 +109,18 @@ export {
|
|
|
87
109
|
C2 as FgCustomInputV2,
|
|
88
110
|
C3 as FgCustomMultipleInput,
|
|
89
111
|
_4 as FgDragResizable,
|
|
90
|
-
|
|
91
|
-
|
|
112
|
+
D3 as FgDragSort,
|
|
113
|
+
F as FgErrorImage,
|
|
92
114
|
H as FgHSelect,
|
|
93
115
|
_5 as FgHSelectAll,
|
|
94
116
|
H2 as FgHSelectSJ,
|
|
95
117
|
_6 as FgIdentifyAddress,
|
|
96
118
|
_7 as FgImageLoupe,
|
|
97
|
-
_8 as
|
|
98
|
-
_9 as
|
|
119
|
+
_8 as FgImgViewerHost,
|
|
120
|
+
_9 as FgLazyComponent,
|
|
121
|
+
L as FgLazyPopover,
|
|
99
122
|
l as FgLoading,
|
|
100
|
-
|
|
123
|
+
L2 as FgLoadingBtn,
|
|
101
124
|
M as FgMInput,
|
|
102
125
|
M2 as FgMyTable,
|
|
103
126
|
_10 as FgNoRender,
|
|
@@ -110,30 +133,36 @@ export {
|
|
|
110
133
|
S3 as FgSvgIcon,
|
|
111
134
|
T as FgTextCopy,
|
|
112
135
|
_15 as FgTextEllipsisTooltip,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
136
|
+
F2 as FgViewImg,
|
|
137
|
+
V as FgViewImgPopover,
|
|
138
|
+
_16 as FgViewImgPreview,
|
|
139
|
+
I as ImgViewerStore,
|
|
140
|
+
P as PREVIEW_BASE_Z_INDEX,
|
|
141
|
+
V2 as VirtualTable,
|
|
142
|
+
a4 as aesDecrypt,
|
|
143
|
+
b3 as aesEncrypt,
|
|
144
|
+
c2 as allPhoneReq,
|
|
145
|
+
d3 as analyzeFileformat,
|
|
146
|
+
e3 as argFormate,
|
|
147
|
+
f3 as base64ToBlob,
|
|
148
|
+
g4 as base64ToFile,
|
|
149
|
+
h2 as boldPoint,
|
|
150
|
+
i3 as checkGoodValue,
|
|
151
|
+
j2 as cleanEmptyFields,
|
|
152
|
+
configureImgUrl,
|
|
153
|
+
k2 as convertImageFormat,
|
|
125
154
|
l2 as copyText,
|
|
126
|
-
|
|
127
|
-
|
|
155
|
+
m2 as copyWord,
|
|
156
|
+
n2 as createFileLocalUrl,
|
|
128
157
|
o as createUuid,
|
|
129
158
|
p as currentDaysLessFivedays,
|
|
130
159
|
q as debounce,
|
|
131
160
|
index as default,
|
|
132
161
|
detectFileType,
|
|
133
|
-
|
|
162
|
+
r2 as dropperColor,
|
|
134
163
|
s as fileUrlToBase64,
|
|
135
|
-
|
|
136
|
-
|
|
164
|
+
t2 as filterCountryAreaCodeList,
|
|
165
|
+
u2 as filterMethodLowerCase,
|
|
137
166
|
v as filterSearch,
|
|
138
167
|
w as findNodePath,
|
|
139
168
|
x as flattenTreeWithPath,
|
|
@@ -143,38 +172,48 @@ export {
|
|
|
143
172
|
A as formatTimestamp,
|
|
144
173
|
B2 as formatXmlText,
|
|
145
174
|
C4 as formateDate,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
175
|
+
D4 as formateOperateLogWord,
|
|
176
|
+
E as formateTaskTableData,
|
|
177
|
+
F3 as generateFpid,
|
|
149
178
|
G as generatePassword,
|
|
150
179
|
H3 as getAddressCode,
|
|
151
|
-
|
|
180
|
+
I2 as getAddressNameByCode,
|
|
152
181
|
J as getAppType,
|
|
153
182
|
K as getArrayBufferFromInput,
|
|
154
|
-
|
|
183
|
+
g3 as getDialogZindex,
|
|
184
|
+
L3 as getFileFolderToEnums,
|
|
155
185
|
M3 as getFilenameAndExtension,
|
|
156
186
|
N as getImageSizeByFile,
|
|
187
|
+
g as getImgFasten,
|
|
157
188
|
O as getMobileSubmitParams,
|
|
158
|
-
|
|
189
|
+
a as getNetworkAdaptiveOptions,
|
|
190
|
+
b as getOssLinks,
|
|
191
|
+
P2 as getQueryParams,
|
|
159
192
|
Q as getUUID,
|
|
160
193
|
R as getUrlSuffix,
|
|
161
194
|
S4 as getXmlKeyValue,
|
|
162
195
|
T2 as hasInvalidFileNameChars,
|
|
196
|
+
i as imgUrlConfigKey,
|
|
197
|
+
d as initNetworkListener,
|
|
163
198
|
installComponents,
|
|
164
199
|
installDirectives,
|
|
165
200
|
U as isCmykPsd,
|
|
166
|
-
|
|
201
|
+
V3 as isFuction,
|
|
167
202
|
W as isMobileDevice,
|
|
168
203
|
X as isPdfUrl,
|
|
169
204
|
Y as isSameDay,
|
|
205
|
+
e as isUnsupportedImg,
|
|
170
206
|
Z as localUrlToFile,
|
|
171
|
-
|
|
207
|
+
_17 as longestContinuousMatch,
|
|
172
208
|
$ as mergeColumns,
|
|
173
209
|
a0 as mergeItem,
|
|
174
210
|
a1 as mergeTaskTableData,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
211
|
+
a22 as modelCodeReg,
|
|
212
|
+
a32 as modelListFilter,
|
|
213
|
+
m as montageImgUrl,
|
|
214
|
+
a42 as nameReg,
|
|
215
|
+
n as networkKey,
|
|
216
|
+
f as notSupportedImgTypes,
|
|
178
217
|
a5 as numberFilter,
|
|
179
218
|
a6 as numberToChinese,
|
|
180
219
|
a7 as numberToRatio,
|
|
@@ -196,17 +235,21 @@ export {
|
|
|
196
235
|
af as preventDefaultHandler,
|
|
197
236
|
ag as pwdReg,
|
|
198
237
|
ah as ratioToNumber,
|
|
238
|
+
r as replaceUnsupportedImg,
|
|
199
239
|
s2 as shortcuts,
|
|
200
240
|
ai as sleep,
|
|
201
241
|
aj as splitArray,
|
|
202
242
|
ak as strPasteJson,
|
|
203
243
|
al as stringArrayDiff,
|
|
204
244
|
am as stringToUnicodeEscape,
|
|
245
|
+
t as temuThumbUrl,
|
|
205
246
|
an as trimAndReduceSpaces,
|
|
206
247
|
ao as truncateText,
|
|
207
248
|
ap as unicodeEscapeToChars,
|
|
208
249
|
aq as updateOringin,
|
|
209
|
-
|
|
250
|
+
u as useImgViewerState,
|
|
251
|
+
a3 as useImgViewerStore,
|
|
252
|
+
u3 as usePagination,
|
|
210
253
|
ar as validateMobileByCountry,
|
|
211
254
|
as as webpToPng
|
|
212
255
|
};
|