orion-design 0.1.31 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/dist/Throne/hooks/use-throne-context.d.ts +5 -0
- package/dist/Throne/hooks/use-throne-context.js +15 -0
- package/dist/Throne/hooks/use-throne-context.js.map +1 -0
- package/dist/Throne/index.d.ts +1 -1
- package/dist/Throne/index.js +14 -30
- package/dist/Throne/index.js.map +1 -1
- package/dist/components/Button/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/dist/components/Button/index.js +36 -41
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Flex/index.js +89 -122
- package/dist/components/Flex/index.js.map +1 -1
- package/dist/components/Form/FileInput/FileInput.vue.d.ts +4 -4
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/Form.js.map +1 -1
- package/dist/components/Form/LovInput/LovInput.js +2 -2
- package/dist/components/Form/LovInput/LovInput.js.map +1 -1
- package/dist/components/Form/LovInput/LovInput.vue.d.ts +894 -0
- package/dist/components/Form/LovInput/hooks/useLov.js +5 -5
- package/dist/components/Form/LovInput/hooks/useLov.js.map +1 -1
- package/dist/components/Form/LovInput/index.js +4 -4
- package/dist/components/Form/MultiTableSelect/MultiTableSelect.d.ts +26 -0
- package/dist/components/Form/MultiTableSelect/MultiTableSelect.js +5 -0
- package/dist/components/Form/MultiTableSelect/MultiTableSelect.js.map +1 -0
- package/dist/components/Form/MultiTableSelect/MultiTableSelect.vue.d.ts +6249 -0
- package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.d.ts +1 -0
- package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js +9 -0
- package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js.map +1 -0
- package/dist/components/Form/MultiTableSelect/index.d.ts +2 -0
- package/dist/components/Form/MultiTableSelect/index.js +7 -0
- package/dist/components/Form/MultiTableSelect/index.js.map +1 -0
- package/dist/components/Form/hooks/FormItemValidateTrigger.js +2 -2
- package/dist/components/Form/hooks/FormItemValidateTrigger.js.map +1 -1
- package/dist/components/Form/hooks/index.js +69 -127
- package/dist/components/Form/hooks/index.js.map +1 -1
- package/dist/components/Form/index.d.ts +3 -0
- package/dist/components/Form/index.js +790 -829
- package/dist/components/Form/index.js.map +1 -1
- package/dist/components/Form/utils/index.js +18 -30
- package/dist/components/Form/utils/index.js.map +1 -1
- package/dist/components/LovTable/LovPagetable.vue.d.ts +510 -6
- package/dist/components/LovTable/LovQuerytable.vue.d.ts +468 -4
- package/dist/components/LovTable/index.d.ts +489 -5
- package/dist/components/LovTable/index.js +104 -179
- package/dist/components/LovTable/index.js.map +1 -1
- package/dist/components/Modal/index.js +56 -111
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Modal/types.d.ts +1 -1
- package/dist/components/Modal/types.js +3 -4
- package/dist/components/Modal/types.js.map +1 -1
- package/dist/components/Modal/useModal.js +5 -5
- package/dist/components/Modal/useModal.js.map +1 -1
- package/dist/components/MultiTableSelectPagetable/MultiTableSelectPagetable.vue.d.ts +880 -0
- package/dist/components/MultiTableSelectPagetable/index.d.ts +462 -0
- package/dist/components/MultiTableSelectPagetable/index.js +164 -0
- package/dist/components/MultiTableSelectPagetable/index.js.map +1 -0
- package/dist/components/Pagetable/Pagetable.d.ts +96 -3
- package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnDate.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnDiy.d.ts +1 -1
- package/dist/components/Pagetable/columns/PagetableColumnLink.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnString.d.ts +14 -1
- package/dist/components/Pagetable/hooks/useCode.d.ts +2 -0
- package/dist/components/Pagetable/hooks/useCode.js +24 -0
- package/dist/components/Pagetable/hooks/useCode.js.map +1 -0
- package/dist/components/Pagetable/hooks/useColumns.js +85 -88
- package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
- package/dist/components/Pagetable/index.d.ts +159 -2
- package/dist/components/Pagetable/index.js +601 -684
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Pagetable/utils/index.js +54 -92
- package/dist/components/Pagetable/utils/index.js.map +1 -1
- package/dist/components/Querytable/Querytable.d.ts +80 -2
- package/dist/components/Querytable/columns/QuerytableColumnButtongroup.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnDate.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnDiy.d.ts +1 -1
- package/dist/components/Querytable/columns/QuerytableColumnLink.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnMultiselect.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnNumber.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnSingleselect.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnString.d.ts +14 -1
- package/dist/components/Querytable/hooks/useColumns.js +79 -82
- package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
- package/dist/components/Querytable/index.d.ts +147 -1
- package/dist/components/Querytable/index.js +526 -579
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components/Querytable/utils/index.js +54 -92
- package/dist/components/Querytable/utils/index.js.map +1 -1
- package/dist/components/RichTextEditor/index.js +74 -100
- package/dist/components/RichTextEditor/index.js.map +1 -1
- package/dist/components/Tabs/constants.js +2 -2
- package/dist/components/Tabs/constants.js.map +1 -1
- package/dist/components/Tabs/index.js +358 -603
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Tabs/tab-bar.js +6 -6
- package/dist/components/Tabs/tab-bar.js.map +1 -1
- package/dist/components/Tabs/tab-pane.js +3 -3
- package/dist/components/Tabs/tab-pane.js.map +1 -1
- package/dist/components/Throne/ThroneContextProvider.d.ts +25 -0
- package/dist/components/_constants/aria.js +2 -2
- package/dist/components/_constants/aria.js.map +1 -1
- package/dist/components/_constants/event.js +4 -6
- package/dist/components/_constants/event.js.map +1 -1
- package/dist/components/_constants/index.js +6 -6
- package/dist/components/_hooks/index.js +7 -7
- package/dist/components/_hooks/use-namespace/index.js +39 -74
- package/dist/components/_hooks/use-namespace/index.js.map +1 -1
- package/dist/components/_hooks/use-ordered-children/index.js +19 -29
- package/dist/components/_hooks/use-ordered-children/index.js.map +1 -1
- package/dist/components/_util/arrays.js +5 -9
- package/dist/components/_util/arrays.js.map +1 -1
- package/dist/components/_util/browser.js +6 -6
- package/dist/components/_util/browser.js.map +1 -1
- package/dist/components/_util/classNames.js +17 -22
- package/dist/components/_util/classNames.js.map +1 -1
- package/dist/components/_util/dom/aria.js +39 -74
- package/dist/components/_util/dom/aria.js.map +1 -1
- package/dist/components/_util/dom/element.js +8 -9
- package/dist/components/_util/dom/element.js.map +1 -1
- package/dist/components/_util/dom/event.js +7 -14
- package/dist/components/_util/dom/event.js.map +1 -1
- package/dist/components/_util/dom/index.js +36 -36
- package/dist/components/_util/dom/position.js +25 -49
- package/dist/components/_util/dom/position.js.map +1 -1
- package/dist/components/_util/dom/scroll.js +61 -103
- package/dist/components/_util/dom/scroll.js.map +1 -1
- package/dist/components/_util/dom/style.js +50 -65
- package/dist/components/_util/dom/style.js.map +1 -1
- package/dist/components/_util/easings.js +4 -8
- package/dist/components/_util/easings.js.map +1 -1
- package/dist/components/_util/error.js +11 -12
- package/dist/components/_util/error.js.map +1 -1
- package/dist/components/_util/functions.js +3 -3
- package/dist/components/_util/i18n.js +2 -2
- package/dist/components/_util/i18n.js.map +1 -1
- package/dist/components/_util/index.js +137 -137
- package/dist/components/_util/isValid.js +2 -4
- package/dist/components/_util/isValid.js.map +1 -1
- package/dist/components/_util/objects.js +14 -18
- package/dist/components/_util/objects.js.map +1 -1
- package/dist/components/_util/props-util/index.js +20 -46
- package/dist/components/_util/props-util/index.js.map +1 -1
- package/dist/components/_util/props-util/initDefaultProps.js +10 -18
- package/dist/components/_util/props-util/initDefaultProps.js.map +1 -1
- package/dist/components/_util/raf.js +4 -5
- package/dist/components/_util/raf.js.map +1 -1
- package/dist/components/_util/rand.js +3 -4
- package/dist/components/_util/rand.js.map +1 -1
- package/dist/components/_util/strings.js +8 -9
- package/dist/components/_util/strings.js.map +1 -1
- package/dist/components/_util/throttleByRaf.js +10 -16
- package/dist/components/_util/throttleByRaf.js.map +1 -1
- package/dist/components/_util/type.js +38 -41
- package/dist/components/_util/type.js.map +1 -1
- package/dist/components/_util/types.js +22 -41
- package/dist/components/_util/types.js.map +1 -1
- package/dist/components/_util/typescript.js +2 -2
- package/dist/components/_util/typescript.js.map +1 -1
- package/dist/components/_util/util.js +43 -85
- package/dist/components/_util/util.js.map +1 -1
- package/dist/components/_util/vue/global-node.js +15 -27
- package/dist/components/_util/vue/global-node.js.map +1 -1
- package/dist/components/_util/vue/icon.js +25 -29
- package/dist/components/_util/vue/icon.js.map +1 -1
- package/dist/components/_util/vue/index.js +41 -41
- package/dist/components/_util/vue/install.js +18 -35
- package/dist/components/_util/vue/install.js.map +1 -1
- package/dist/components/_util/vue/props/index.js +6 -6
- package/dist/components/_util/vue/props/runtime.js +30 -46
- package/dist/components/_util/vue/props/runtime.js.map +1 -1
- package/dist/components/_util/vue/refs.js +6 -12
- package/dist/components/_util/vue/refs.js.map +1 -1
- package/dist/components/_util/vue/size.js +3 -5
- package/dist/components/_util/vue/size.js.map +1 -1
- package/dist/components/_util/vue/validator.js +4 -5
- package/dist/components/_util/vue/validator.js.map +1 -1
- package/dist/components/_util/vue/vnode.js +54 -100
- package/dist/components/_util/vue/vnode.js.map +1 -1
- package/dist/components/_util/vue-types/index.js +220 -231
- package/dist/components/_util/vue-types/index.js.map +1 -1
- package/dist/components/components.d.ts +2 -0
- package/dist/components/components.js +24 -20
- package/dist/components/components.js.map +1 -1
- package/dist/components/index.js +43 -38
- package/dist/components/index.js.map +1 -1
- package/dist/components-DP9bnDLm.js +48 -0
- package/dist/components-DP9bnDLm.js.map +1 -0
- package/dist/error/OrionError.js +4 -8
- package/dist/error/OrionError.js.map +1 -1
- package/dist/{index-C6P_0wAy.js → index-ChkLOmNK.js} +76 -46
- package/dist/{index-C6P_0wAy.js.map → index-ChkLOmNK.js.map} +1 -1
- package/dist/index.css +1 -797
- package/dist/index.d.ts +1 -0
- package/dist/index.js +46 -36
- package/dist/index.js.map +1 -1
- package/dist/print/LodopFuncs.js +43 -101
- package/dist/print/LodopFuncs.js.map +1 -1
- package/dist/print/index.js +108 -200
- package/dist/print/index.js.map +1 -1
- package/dist/request/ErrorHandlerChain.js +14 -17
- package/dist/request/ErrorHandlerChain.js.map +1 -1
- package/dist/request/RequestFilterChain.js +13 -16
- package/dist/request/RequestFilterChain.js.map +1 -1
- package/dist/request/ResponseParserChain.js +14 -17
- package/dist/request/ResponseParserChain.js.map +1 -1
- package/dist/request/disivion/DateSerializer.js +22 -47
- package/dist/request/disivion/DateSerializer.js.map +1 -1
- package/dist/request/disivion/DivisionErrorHandler.js +25 -40
- package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
- package/dist/request/disivion/DivisionResponseParser.js +10 -16
- package/dist/request/disivion/DivisionResponseParser.js.map +1 -1
- package/dist/request/disivion/index.js +201 -305
- package/dist/request/disivion/index.js.map +1 -1
- package/dist/request/error/BizExceptionResponseError.js +5 -11
- package/dist/request/error/BizExceptionResponseError.js.map +1 -1
- package/dist/request/error/ExceptionResponseError.js +5 -11
- package/dist/request/error/ExceptionResponseError.js.map +1 -1
- package/dist/request/error/ResponseError.js +4 -9
- package/dist/request/error/ResponseError.js.map +1 -1
- package/dist/request/error/SessionExceptionResponseError.js +5 -11
- package/dist/request/error/SessionExceptionResponseError.js.map +1 -1
- package/dist/request/index.js +11 -11
- package/dist/utils/DateUtil.js +33 -48
- package/dist/utils/DateUtil.js.map +1 -1
- package/dist/utils/NumberUtil.js +6 -6
- package/dist/utils/NumberUtil.js.map +1 -1
- package/dist/utils/cloneDeep.js +2 -2
- package/dist/utils/delay.js +3 -3
- package/dist/utils/delay.js.map +1 -1
- package/dist/utils/functions.js +3 -3
- package/dist/utils/index.js +12 -12
- package/dist/utils/md5.js +93 -191
- package/dist/utils/md5.js.map +1 -1
- package/dist/utils/uuid.js +25 -35
- package/dist/utils/uuid.js.map +1 -1
- package/dist/version/index.js +2 -2
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +2 -2
- package/dist/version/version.js.map +1 -1
- package/package.json +1 -1
- package/dist/_commonjsHelpers-DWwsNxpa.js +0 -9
- package/dist/_commonjsHelpers-DWwsNxpa.js.map +0 -1
- package/dist/components-8oZ2kpUC.js +0 -27
- package/dist/components-8oZ2kpUC.js.map +0 -1
- package/dist/components-B3d9m_tn.js +0 -27
- package/dist/components-B3d9m_tn.js.map +0 -1
- package/dist/functions-BeMkokbY.js +0 -63
- package/dist/functions-BeMkokbY.js.map +0 -1
- package/dist/index-BOKLZnqH.js +0 -54
- package/dist/index-BOKLZnqH.js.map +0 -1
- package/dist/index-D1m0KTpK.js +0 -69
- package/dist/index-D1m0KTpK.js.map +0 -1
- package/dist/index-DR5ZP7mD.js +0 -160
- package/dist/index-DR5ZP7mD.js.map +0 -1
- package/dist/index-DkwIULcN.js +0 -200
- package/dist/index-DkwIULcN.js.map +0 -1
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { default as version } from './version';
|
2
2
|
export { default as OrionError } from './error/OrionError';
|
3
3
|
export { default as Throne } from './Throne';
|
4
|
+
export { useThroneContext } from './Throne/hooks/use-throne-context';
|
4
5
|
export * from './components';
|
5
6
|
export { version };
|
package/dist/index.js
CHANGED
@@ -1,39 +1,49 @@
|
|
1
|
-
import { default as
|
2
|
-
import { default as
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import { default as
|
6
|
-
import { default as
|
7
|
-
import { default as
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
import { default as
|
14
|
-
import { default as
|
15
|
-
import { default as
|
16
|
-
import {
|
17
|
-
import {
|
1
|
+
import { default as t } from "./error/OrionError.js";
|
2
|
+
import { default as a } from "./Throne/index.js";
|
3
|
+
import { useThroneContext as l } from "./Throne/hooks/use-throne-context.js";
|
4
|
+
import { install as m } from "./components/index.js";
|
5
|
+
import { default as p } from "./version/version.js";
|
6
|
+
import { default as d } from "./components/Modal/useModal.js";
|
7
|
+
import { default as T } from "./components/Form/LovInput/hooks/useLov.js";
|
8
|
+
import { default as i } from "./components/Form/MultiTableSelect/hooks/useMultiTableSelect.js";
|
9
|
+
import { default as v } from "./components/Button/index.js";
|
10
|
+
import { T as S } from "./components-DP9bnDLm.js";
|
11
|
+
import { S as y } from "./index-BbsXWo7C.js";
|
12
|
+
import { Colflex as P, Flexitem as g, Rowflex as F } from "./components/Flex/index.js";
|
13
|
+
import { default as L } from "./components/Tabs/index.js";
|
14
|
+
import { default as w } from "./components/Pagetable/index.js";
|
15
|
+
import { default as E } from "./components/Querytable/index.js";
|
16
|
+
import { default as R } from "./components/Modal/index.js";
|
17
|
+
import { default as k } from "./components/Form/index.js";
|
18
|
+
import { default as z } from "./components/LovTable/index.js";
|
19
|
+
import { default as D } from "./components/MultiTableSelectPagetable/index.js";
|
20
|
+
import { formContextKey as H } from "./components/Form/Form.js";
|
21
|
+
import { lovContextKey as J } from "./components/Form/LovInput/LovInput.js";
|
22
|
+
import { multiTableSelectContext as U } from "./components/Form/MultiTableSelect/MultiTableSelect.js";
|
18
23
|
export {
|
19
|
-
|
20
|
-
Colflex,
|
21
|
-
Flexitem,
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
24
|
+
v as Button,
|
25
|
+
P as Colflex,
|
26
|
+
g as Flexitem,
|
27
|
+
k as Form,
|
28
|
+
z as LovTable,
|
29
|
+
R as Modal,
|
30
|
+
D as MultiTableSelectPagetable,
|
31
|
+
t as OrionError,
|
32
|
+
w as Pagetable,
|
33
|
+
E as Querytable,
|
34
|
+
F as Rowflex,
|
35
|
+
y as Space,
|
36
|
+
L as Tabs,
|
37
|
+
a as Throne,
|
38
|
+
S as ThroneContextProvider,
|
39
|
+
H as formContextKey,
|
40
|
+
m as install,
|
41
|
+
J as lovContextKey,
|
42
|
+
U as multiTableSelectContext,
|
43
|
+
T as useLov,
|
44
|
+
d as useOModal,
|
45
|
+
i as useTableselect,
|
46
|
+
l as useThroneContext,
|
47
|
+
p as version
|
38
48
|
};
|
39
49
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/print/LodopFuncs.js
CHANGED
@@ -1,123 +1,65 @@
|
|
1
|
-
var
|
2
|
-
function
|
1
|
+
var u, y;
|
2
|
+
function p() {
|
3
3
|
try {
|
4
|
-
var
|
5
|
-
if (
|
6
|
-
|
7
|
-
if (
|
8
|
-
if (
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
verFF = verFF[0].match(/\d+/);
|
17
|
-
if (verFF[0] >= 41 || x64) return true;
|
18
|
-
} else if (verOPR) {
|
19
|
-
verOPR = verOPR[0].match(/\d+/);
|
20
|
-
if (verOPR[0] >= 32) return true;
|
21
|
-
} else if (!verTrident && !verIE) {
|
22
|
-
var verChrome = ua.match(/Chrome\D?\d+/i);
|
23
|
-
if (verChrome) {
|
24
|
-
verChrome = verChrome[0].match(/\d+/);
|
25
|
-
if (verChrome[0] >= 41) return true;
|
26
|
-
}
|
4
|
+
var e = navigator.userAgent;
|
5
|
+
if (e.match(/Windows\sPhone/i) || e.match(/iPhone|iPod|iPad/i) || e.match(/Android/i) || e.match(/Edge\D?\d+/i)) return !0;
|
6
|
+
var r = e.match(/Trident\D?\d+/i), f = e.match(/MSIE\D?\d+/i), n = e.match(/OPR\D?\d+/i), i = e.match(/Firefox\D?\d+/i), s = e.match(/x64/i);
|
7
|
+
if (!r && !f && s) return !0;
|
8
|
+
if (i) {
|
9
|
+
if (i = i[0].match(/\d+/), i[0] >= 41 || s) return !0;
|
10
|
+
} else if (n) {
|
11
|
+
if (n = n[0].match(/\d+/), n[0] >= 32) return !0;
|
12
|
+
} else if (!r && !f) {
|
13
|
+
var d = e.match(/Chrome\D?\d+/i);
|
14
|
+
if (d && (d = d[0].match(/\d+/), d[0] >= 41))
|
15
|
+
return !0;
|
27
16
|
}
|
28
|
-
return
|
29
|
-
} catch
|
30
|
-
return
|
17
|
+
return !1;
|
18
|
+
} catch {
|
19
|
+
return !0;
|
31
20
|
}
|
32
21
|
}
|
33
|
-
if (
|
34
|
-
var
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
var JS2 = document.createElement("script");
|
41
|
-
JS2.async = true;
|
42
|
-
JS2.defer = true;
|
43
|
-
JS2.src = "http://localhost:18000/CLodopfuncs.js?priority=0";
|
44
|
-
head.insertBefore(JS2, head.firstChild);
|
45
|
-
CLodopIsLocal = !!(JS1.src + JS2.src).match(/\/\/localho|\/\/127.0.0./i);
|
46
|
-
if (JS1.attachEvent) {
|
47
|
-
var onChange = function() {
|
48
|
-
if (window.event.srcElement.readyState == "loaded") ;
|
22
|
+
if (p()) {
|
23
|
+
var l = document.head || document.getElementsByTagName("head")[0] || document.documentElement, o = document.createElement("script");
|
24
|
+
o.src = "http://localhost:8000/CLodopfuncs.js?priority=1", o.async = !0, o.defer = !0, l.insertBefore(o, l.firstChild);
|
25
|
+
var a = document.createElement("script");
|
26
|
+
if (a.async = !0, a.defer = !0, a.src = "http://localhost:18000/CLodopfuncs.js?priority=0", l.insertBefore(a, l.firstChild), y = !!(o.src + a.src).match(/\/\/localho|\/\/127.0.0./i), o.attachEvent) {
|
27
|
+
var b = function() {
|
28
|
+
window.event.srcElement.readyState == "loaded";
|
49
29
|
};
|
50
|
-
|
51
|
-
JS2.attachEvent("onreadystatechange", onChange);
|
30
|
+
o.attachEvent("onreadystatechange", b), a.attachEvent("onreadystatechange", b);
|
52
31
|
}
|
53
32
|
}
|
54
|
-
function
|
55
|
-
var
|
56
|
-
var strHtmUpdate = "<br><font color='#FF00FF'>打印控件需要升级!升级后请重新进入。</font>";
|
57
|
-
var strHtm64_Install = "<br><font color='#FF00FF'>打印控件未安装!安装后请刷新页面或重新进入。</font>";
|
58
|
-
var strHtm64_Update = "<br><font color='#FF00FF'>打印控件需要升级!升级后请重新进入。</font>";
|
59
|
-
var strHtmFireFox = "<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>";
|
60
|
-
var strHtmChrome = "<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>";
|
61
|
-
var strCLodopInstall_1 = "<br><font color='#FF00FF'>Web打印服务CLodop未安装启动";
|
62
|
-
var strCLodopInstall_2 = "<br>(若此前已安装过,请确认是否打开)";
|
63
|
-
var strCLodopInstall_3 = ",成功后请刷新本页面。</font>";
|
64
|
-
var strCLodopUpdate = "<br><font color='#FF00FF'>Web打印服务CLodop需升级!升级后请刷新页面。</font>";
|
65
|
-
var LODOP;
|
33
|
+
function g(e, r) {
|
34
|
+
var f = "<br><font color='#FF00FF'>打印控件未安装!安装后请刷新页面或重新进入。</font>", n = "<br><font color='#FF00FF'>打印控件需要升级!升级后请重新进入。</font>", i = "<br><font color='#FF00FF'>打印控件未安装!安装后请刷新页面或重新进入。</font>", s = "<br><font color='#FF00FF'>打印控件需要升级!升级后请重新进入。</font>", d = "<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>", h = "<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>", C = "<br><font color='#FF00FF'>Web打印服务CLodop未安装启动", v = "<br>(若此前已安装过,请确认是否打开)", H = ",成功后请刷新本页面。</font>", A = "<br><font color='#FF00FF'>Web打印服务CLodop需升级!升级后请刷新页面。</font>", t;
|
66
35
|
try {
|
67
|
-
var
|
68
|
-
|
69
|
-
if (needCLodop()) {
|
36
|
+
var c = navigator.userAgent, m = !!c.match(/MSIE/i) || !!c.match(/Trident/i);
|
37
|
+
if (p()) {
|
70
38
|
try {
|
71
|
-
|
72
|
-
} catch
|
39
|
+
t = getCLodop();
|
40
|
+
} catch {
|
73
41
|
}
|
74
|
-
if (!
|
42
|
+
if (!t) {
|
75
43
|
console.log("lodop控件加载失败,请检查lodop控件是否已经安装并启动,如未启动可以在系统托盘中【右键->启动智慧医院打印服务】手动启动。");
|
76
44
|
return;
|
77
45
|
}
|
78
|
-
if (
|
79
|
-
document.body.innerHTML =
|
46
|
+
if (t)
|
47
|
+
CLODOP.CVERSION < "4.0.8.8" && (document.body.innerHTML = A + document.body.innerHTML), r && r.parentNode && r.parentNode.removeChild(r), e && e.parentNode && e.parentNode.removeChild(e);
|
48
|
+
else {
|
49
|
+
document.body.innerHTML = C + (y ? v : "") + H + document.body.innerHTML;
|
80
50
|
return;
|
81
|
-
} else {
|
82
|
-
if (CLODOP.CVERSION < "4.0.8.8") {
|
83
|
-
document.body.innerHTML = strCLodopUpdate + document.body.innerHTML;
|
84
|
-
}
|
85
|
-
if (oEMBED && oEMBED.parentNode) oEMBED.parentNode.removeChild(oEMBED);
|
86
|
-
if (oOBJECT && oOBJECT.parentNode) oOBJECT.parentNode.removeChild(oOBJECT);
|
87
51
|
}
|
88
52
|
} else {
|
89
|
-
var
|
90
|
-
if (
|
91
|
-
|
92
|
-
else LODOP = oEMBED;
|
93
|
-
} else if (!CreatedOKLodopObject) {
|
94
|
-
LODOP = document.createElement("object");
|
95
|
-
LODOP.setAttribute("width", 0);
|
96
|
-
LODOP.setAttribute("height", 0);
|
97
|
-
LODOP.setAttribute("style", "position:absolute;left:0px;top:-100px;width:0px;height:0px;");
|
98
|
-
if (isIE) LODOP.setAttribute("classid", "clsid:2105C259-1E0C-4534-8141-A753534CB4CA");
|
99
|
-
else LODOP.setAttribute("type", "application/x-print-lodop");
|
100
|
-
document.documentElement.appendChild(LODOP);
|
101
|
-
CreatedOKLodopObject = LODOP;
|
102
|
-
} else LODOP = CreatedOKLodopObject;
|
103
|
-
if (!LODOP || !LODOP.VERSION) {
|
104
|
-
if (ua.indexOf("Chrome") >= 0) document.body.innerHTML = strHtmChrome + document.body.innerHTML;
|
105
|
-
if (ua.indexOf("Firefox") >= 0) document.body.innerHTML = strHtmFireFox + document.body.innerHTML;
|
106
|
-
document.body.innerHTML = (is64IE ? strHtm64_Install : strHtmInstall) + document.body.innerHTML;
|
107
|
-
return LODOP;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
if (LODOP.VERSION < "6.2.2.6") {
|
111
|
-
if (!needCLodop()) document.body.innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate) + document.body.innerHTML;
|
53
|
+
var F = m && !!c.match(/x64/i);
|
54
|
+
if (e || r ? m ? t = e : t = r : u ? t = u : (t = document.createElement("object"), t.setAttribute("width", 0), t.setAttribute("height", 0), t.setAttribute("style", "position:absolute;left:0px;top:-100px;width:0px;height:0px;"), m ? t.setAttribute("classid", "clsid:2105C259-1E0C-4534-8141-A753534CB4CA") : t.setAttribute("type", "application/x-print-lodop"), document.documentElement.appendChild(t), u = t), !t || !t.VERSION)
|
55
|
+
return c.indexOf("Chrome") >= 0 && (document.body.innerHTML = h + document.body.innerHTML), c.indexOf("Firefox") >= 0 && (document.body.innerHTML = d + document.body.innerHTML), document.body.innerHTML = (F ? i : f) + document.body.innerHTML, t;
|
112
56
|
}
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
} catch (err) {
|
117
|
-
alert("getLodop出错:" + err);
|
57
|
+
return t.VERSION < "6.2.2.6" && (p() || (document.body.innerHTML = (F ? s : n) + document.body.innerHTML)), t.SET_LICENSES("山大地纬软件股份有限公司", "CC9365E1BB34FA000175B357CD91F188454", "山大地緯軟件股份有限公司", "82F5D8E72ECF427F20ADD7E937E13D817E1"), t.SET_LICENSES("THIRD LICENSE", "", "Shanda DareWay Software Co., Ltd", "1485033B74404D944BEA7FFAFB213175AF4"), t;
|
58
|
+
} catch (L) {
|
59
|
+
alert("getLodop出错:" + L);
|
118
60
|
}
|
119
61
|
}
|
120
62
|
export {
|
121
|
-
getLodop
|
63
|
+
g as getLodop
|
122
64
|
};
|
123
65
|
//# sourceMappingURL=LodopFuncs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LodopFuncs.js","sources":["../../src/print/LodopFuncs.ts"],"sourcesContent":["//@ts-nocheck\r\n//==本JS是加载Lodop插件及CLodop服务的综合示例,可直接使用,建议看懂后融进自己页面程序==\r\nvar CreatedOKLodopObject, CLodopIsLocal, CLodopJsState\r\n\r\n//==判断是否需要CLodop(那些不支持插件的浏览器):==\r\nfunction needCLodop() {\r\n try {\r\n var ua = navigator.userAgent\r\n if (ua.match(/Windows\\sPhone/i)) return true\r\n if (ua.match(/iPhone|iPod|iPad/i)) return true\r\n if (ua.match(/Android/i)) return true\r\n if (ua.match(/Edge\\D?\\d+/i)) return true\r\n\r\n var verTrident = ua.match(/Trident\\D?\\d+/i)\r\n var verIE = ua.match(/MSIE\\D?\\d+/i)\r\n var verOPR = ua.match(/OPR\\D?\\d+/i)\r\n var verFF = ua.match(/Firefox\\D?\\d+/i)\r\n var x64 = ua.match(/x64/i)\r\n if (!verTrident && !verIE && x64) return true\r\n else if (verFF) {\r\n verFF = verFF[0].match(/\\d+/)\r\n if (verFF[0] >= 41 || x64) return true\r\n } else if (verOPR) {\r\n verOPR = verOPR[0].match(/\\d+/)\r\n if (verOPR[0] >= 32) return true\r\n } else if (!verTrident && !verIE) {\r\n var verChrome = ua.match(/Chrome\\D?\\d+/i)\r\n if (verChrome) {\r\n verChrome = verChrome[0].match(/\\d+/)\r\n if (verChrome[0] >= 41) return true\r\n }\r\n }\r\n return false\r\n } catch (err) {\r\n return true\r\n }\r\n}\r\n\r\n//==引用CLodop的主JS,用双端口8000和18000(以防其中一个被占):==\r\nif (needCLodop()) {\r\n var head = document.head || document.getElementsByTagName('head')[0] || document.documentElement\r\n\r\n var JS1 = document.createElement('script')\r\n JS1.src = 'http://localhost:8000/CLodopfuncs.js?priority=1'\r\n JS1.async = true\r\n JS1.defer = true\r\n head.insertBefore(JS1, head.firstChild)\r\n\r\n var JS2 = document.createElement('script')\r\n JS2.async = true\r\n JS2.defer = true\r\n JS2.src = 'http://localhost:18000/CLodopfuncs.js?priority=0'\r\n head.insertBefore(JS2, head.firstChild)\r\n\r\n CLodopIsLocal = !!(JS1.src + JS2.src).match(/\\/\\/localho|\\/\\/127.0.0./i)\r\n\r\n if (JS1.attachEvent) {\r\n CLodopJsState = 'loading'\r\n var onChange = function () {\r\n if (window.event.srcElement.readyState == 'loaded') CLodopJsState = 'complete'\r\n }\r\n JS1.attachEvent('onreadystatechange', onChange)\r\n JS2.attachEvent('onreadystatechange', onChange)\r\n }\r\n}\r\n\r\n//==获取LODOP对象主过程,判断是否安装、需否升级:==\r\nexport function getLodop(oOBJECT, oEMBED) {\r\n // dareway\r\n var strHtmInstall = \"<br><font color='#FF00FF'>打印控件未安装!安装后请刷新页面或重新进入。</font>\"\r\n var strHtmUpdate = \"<br><font color='#FF00FF'>打印控件需要升级!升级后请重新进入。</font>\"\r\n var strHtm64_Install = \"<br><font color='#FF00FF'>打印控件未安装!安装后请刷新页面或重新进入。</font>\"\r\n var strHtm64_Update = \"<br><font color='#FF00FF'>打印控件需要升级!升级后请重新进入。</font>\"\r\n var strHtmFireFox = \"<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>\"\r\n var strHtmChrome = \"<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>\"\r\n var strCLodopInstall_1 = \"<br><font color='#FF00FF'>Web打印服务CLodop未安装启动\"\r\n var strCLodopInstall_2 = '<br>(若此前已安装过,请确认是否打开)'\r\n var strCLodopInstall_3 = ',成功后请刷新本页面。</font>'\r\n var strCLodopUpdate = \"<br><font color='#FF00FF'>Web打印服务CLodop需升级!升级后请刷新页面。</font>\"\r\n // dareway\r\n\r\n var LODOP\r\n try {\r\n var ua = navigator.userAgent\r\n var isIE = !!ua.match(/MSIE/i) || !!ua.match(/Trident/i)\r\n if (needCLodop()) {\r\n try {\r\n LODOP = getCLodop()\r\n } catch (err) {}\r\n if (!LODOP /* && (document.readyState !== \"complete\" || (isIE && CLodopJsState == \"loading\"))*/) {\r\n console.log('lodop控件加载失败,请检查lodop控件是否已经安装并启动,如未启动可以在系统托盘中【右键->启动智慧医院打印服务】手动启动。')\r\n return\r\n }\r\n if (!LODOP) {\r\n document.body.innerHTML = strCLodopInstall_1 + (CLodopIsLocal ? strCLodopInstall_2 : '') + strCLodopInstall_3 + document.body.innerHTML\r\n return\r\n } else {\r\n if (CLODOP.CVERSION < '4.0.8.8') {\r\n document.body.innerHTML = strCLodopUpdate + document.body.innerHTML\r\n }\r\n if (oEMBED && oEMBED.parentNode) oEMBED.parentNode.removeChild(oEMBED)\r\n if (oOBJECT && oOBJECT.parentNode) oOBJECT.parentNode.removeChild(oOBJECT)\r\n }\r\n } else {\r\n var is64IE = isIE && !!ua.match(/x64/i)\r\n //==如果页面有Lodop就直接使用,否则新建:==\r\n if (oOBJECT || oEMBED) {\r\n if (isIE) LODOP = oOBJECT\r\n else LODOP = oEMBED\r\n } else if (!CreatedOKLodopObject) {\r\n LODOP = document.createElement('object')\r\n LODOP.setAttribute('width', 0)\r\n LODOP.setAttribute('height', 0)\r\n LODOP.setAttribute('style', 'position:absolute;left:0px;top:-100px;width:0px;height:0px;')\r\n if (isIE) LODOP.setAttribute('classid', 'clsid:2105C259-1E0C-4534-8141-A753534CB4CA')\r\n else LODOP.setAttribute('type', 'application/x-print-lodop')\r\n document.documentElement.appendChild(LODOP)\r\n CreatedOKLodopObject = LODOP\r\n } else LODOP = CreatedOKLodopObject\r\n //==Lodop插件未安装时提示下载地址:==\r\n if (!LODOP || !LODOP.VERSION) {\r\n if (ua.indexOf('Chrome') >= 0) document.body.innerHTML = strHtmChrome + document.body.innerHTML\r\n if (ua.indexOf('Firefox') >= 0) document.body.innerHTML = strHtmFireFox + document.body.innerHTML\r\n document.body.innerHTML = (is64IE ? strHtm64_Install : strHtmInstall) + document.body.innerHTML\r\n return LODOP\r\n }\r\n }\r\n if (LODOP.VERSION < '6.2.2.6') {\r\n if (!needCLodop()) document.body.innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate) + document.body.innerHTML\r\n }\r\n //===如下空白位置适合调用统一功能(如注册语句、语言选择等):==\r\n\r\n LODOP.SET_LICENSES('山大地纬软件股份有限公司', 'CC9365E1BB34FA000175B357CD91F188454', '山大地緯軟件股份有限公司', '82F5D8E72ECF427F20ADD7E937E13D817E1')\r\n LODOP.SET_LICENSES('THIRD LICENSE', '', 'Shanda DareWay Software Co., Ltd', '1485033B74404D944BEA7FFAFB213175AF4')\r\n\r\n //=======================================================\r\n return LODOP\r\n } catch (err) {\r\n alert('getLodop出错:' + err)\r\n }\r\n}\r\n"],"names":[],"mappings":"AAEA,
|
1
|
+
{"version":3,"file":"LodopFuncs.js","sources":["../../src/print/LodopFuncs.ts"],"sourcesContent":["//@ts-nocheck\r\n//==本JS是加载Lodop插件及CLodop服务的综合示例,可直接使用,建议看懂后融进自己页面程序==\r\nvar CreatedOKLodopObject, CLodopIsLocal, CLodopJsState\r\n\r\n//==判断是否需要CLodop(那些不支持插件的浏览器):==\r\nfunction needCLodop() {\r\n try {\r\n var ua = navigator.userAgent\r\n if (ua.match(/Windows\\sPhone/i)) return true\r\n if (ua.match(/iPhone|iPod|iPad/i)) return true\r\n if (ua.match(/Android/i)) return true\r\n if (ua.match(/Edge\\D?\\d+/i)) return true\r\n\r\n var verTrident = ua.match(/Trident\\D?\\d+/i)\r\n var verIE = ua.match(/MSIE\\D?\\d+/i)\r\n var verOPR = ua.match(/OPR\\D?\\d+/i)\r\n var verFF = ua.match(/Firefox\\D?\\d+/i)\r\n var x64 = ua.match(/x64/i)\r\n if (!verTrident && !verIE && x64) return true\r\n else if (verFF) {\r\n verFF = verFF[0].match(/\\d+/)\r\n if (verFF[0] >= 41 || x64) return true\r\n } else if (verOPR) {\r\n verOPR = verOPR[0].match(/\\d+/)\r\n if (verOPR[0] >= 32) return true\r\n } else if (!verTrident && !verIE) {\r\n var verChrome = ua.match(/Chrome\\D?\\d+/i)\r\n if (verChrome) {\r\n verChrome = verChrome[0].match(/\\d+/)\r\n if (verChrome[0] >= 41) return true\r\n }\r\n }\r\n return false\r\n } catch (err) {\r\n return true\r\n }\r\n}\r\n\r\n//==引用CLodop的主JS,用双端口8000和18000(以防其中一个被占):==\r\nif (needCLodop()) {\r\n var head = document.head || document.getElementsByTagName('head')[0] || document.documentElement\r\n\r\n var JS1 = document.createElement('script')\r\n JS1.src = 'http://localhost:8000/CLodopfuncs.js?priority=1'\r\n JS1.async = true\r\n JS1.defer = true\r\n head.insertBefore(JS1, head.firstChild)\r\n\r\n var JS2 = document.createElement('script')\r\n JS2.async = true\r\n JS2.defer = true\r\n JS2.src = 'http://localhost:18000/CLodopfuncs.js?priority=0'\r\n head.insertBefore(JS2, head.firstChild)\r\n\r\n CLodopIsLocal = !!(JS1.src + JS2.src).match(/\\/\\/localho|\\/\\/127.0.0./i)\r\n\r\n if (JS1.attachEvent) {\r\n CLodopJsState = 'loading'\r\n var onChange = function () {\r\n if (window.event.srcElement.readyState == 'loaded') CLodopJsState = 'complete'\r\n }\r\n JS1.attachEvent('onreadystatechange', onChange)\r\n JS2.attachEvent('onreadystatechange', onChange)\r\n }\r\n}\r\n\r\n//==获取LODOP对象主过程,判断是否安装、需否升级:==\r\nexport function getLodop(oOBJECT, oEMBED) {\r\n // dareway\r\n var strHtmInstall = \"<br><font color='#FF00FF'>打印控件未安装!安装后请刷新页面或重新进入。</font>\"\r\n var strHtmUpdate = \"<br><font color='#FF00FF'>打印控件需要升级!升级后请重新进入。</font>\"\r\n var strHtm64_Install = \"<br><font color='#FF00FF'>打印控件未安装!安装后请刷新页面或重新进入。</font>\"\r\n var strHtm64_Update = \"<br><font color='#FF00FF'>打印控件需要升级!升级后请重新进入。</font>\"\r\n var strHtmFireFox = \"<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>\"\r\n var strHtmChrome = \"<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>\"\r\n var strCLodopInstall_1 = \"<br><font color='#FF00FF'>Web打印服务CLodop未安装启动\"\r\n var strCLodopInstall_2 = '<br>(若此前已安装过,请确认是否打开)'\r\n var strCLodopInstall_3 = ',成功后请刷新本页面。</font>'\r\n var strCLodopUpdate = \"<br><font color='#FF00FF'>Web打印服务CLodop需升级!升级后请刷新页面。</font>\"\r\n // dareway\r\n\r\n var LODOP\r\n try {\r\n var ua = navigator.userAgent\r\n var isIE = !!ua.match(/MSIE/i) || !!ua.match(/Trident/i)\r\n if (needCLodop()) {\r\n try {\r\n LODOP = getCLodop()\r\n } catch (err) {}\r\n if (!LODOP /* && (document.readyState !== \"complete\" || (isIE && CLodopJsState == \"loading\"))*/) {\r\n console.log('lodop控件加载失败,请检查lodop控件是否已经安装并启动,如未启动可以在系统托盘中【右键->启动智慧医院打印服务】手动启动。')\r\n return\r\n }\r\n if (!LODOP) {\r\n document.body.innerHTML = strCLodopInstall_1 + (CLodopIsLocal ? strCLodopInstall_2 : '') + strCLodopInstall_3 + document.body.innerHTML\r\n return\r\n } else {\r\n if (CLODOP.CVERSION < '4.0.8.8') {\r\n document.body.innerHTML = strCLodopUpdate + document.body.innerHTML\r\n }\r\n if (oEMBED && oEMBED.parentNode) oEMBED.parentNode.removeChild(oEMBED)\r\n if (oOBJECT && oOBJECT.parentNode) oOBJECT.parentNode.removeChild(oOBJECT)\r\n }\r\n } else {\r\n var is64IE = isIE && !!ua.match(/x64/i)\r\n //==如果页面有Lodop就直接使用,否则新建:==\r\n if (oOBJECT || oEMBED) {\r\n if (isIE) LODOP = oOBJECT\r\n else LODOP = oEMBED\r\n } else if (!CreatedOKLodopObject) {\r\n LODOP = document.createElement('object')\r\n LODOP.setAttribute('width', 0)\r\n LODOP.setAttribute('height', 0)\r\n LODOP.setAttribute('style', 'position:absolute;left:0px;top:-100px;width:0px;height:0px;')\r\n if (isIE) LODOP.setAttribute('classid', 'clsid:2105C259-1E0C-4534-8141-A753534CB4CA')\r\n else LODOP.setAttribute('type', 'application/x-print-lodop')\r\n document.documentElement.appendChild(LODOP)\r\n CreatedOKLodopObject = LODOP\r\n } else LODOP = CreatedOKLodopObject\r\n //==Lodop插件未安装时提示下载地址:==\r\n if (!LODOP || !LODOP.VERSION) {\r\n if (ua.indexOf('Chrome') >= 0) document.body.innerHTML = strHtmChrome + document.body.innerHTML\r\n if (ua.indexOf('Firefox') >= 0) document.body.innerHTML = strHtmFireFox + document.body.innerHTML\r\n document.body.innerHTML = (is64IE ? strHtm64_Install : strHtmInstall) + document.body.innerHTML\r\n return LODOP\r\n }\r\n }\r\n if (LODOP.VERSION < '6.2.2.6') {\r\n if (!needCLodop()) document.body.innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate) + document.body.innerHTML\r\n }\r\n //===如下空白位置适合调用统一功能(如注册语句、语言选择等):==\r\n\r\n LODOP.SET_LICENSES('山大地纬软件股份有限公司', 'CC9365E1BB34FA000175B357CD91F188454', '山大地緯軟件股份有限公司', '82F5D8E72ECF427F20ADD7E937E13D817E1')\r\n LODOP.SET_LICENSES('THIRD LICENSE', '', 'Shanda DareWay Software Co., Ltd', '1485033B74404D944BEA7FFAFB213175AF4')\r\n\r\n //=======================================================\r\n return LODOP\r\n } catch (err) {\r\n alert('getLodop出错:' + err)\r\n }\r\n}\r\n"],"names":["CreatedOKLodopObject","CLodopIsLocal","needCLodop","ua","verTrident","verIE","verOPR","verFF","x64","verChrome","head","JS1","JS2","onChange","getLodop","oOBJECT","oEMBED","strHtmInstall","strHtmUpdate","strHtm64_Install","strHtm64_Update","strHtmFireFox","strHtmChrome","strCLodopInstall_1","strCLodopInstall_2","strCLodopInstall_3","strCLodopUpdate","LODOP","isIE","is64IE","err"],"mappings":"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"}
|