@owp/core 2.5.0 → 2.5.1
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/_virtual/index10.js +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/package.json +1 -1
- package/vite/owpCoreAssetsPlugin.cjs +0 -3
- package/vite/owpCoreAssetsPlugin.mjs +0 -1
- package/vite/owpCoreFixedImagesPlugin.cjs +0 -2
- package/vite/owpCoreFixedImagesPlugin.mjs +0 -1
- package/vite/staticAssetPlugin.cjs +0 -8
- package/vite/treeGridAssetsPlugin.cjs +0 -6
- package/vite/treeGridAssetsPlugin.mjs +0 -1
- package/treegrid/Defaults.xml_.xml +0 -718
- package/treegrid/Text.xml +0 -176
- package/treegrid/orgDefaults.xml +0 -715
package/dist/_virtual/index10.js
CHANGED
package/dist/_virtual/index12.js
CHANGED
package/dist/_virtual/index13.js
CHANGED
package/dist/_virtual/index14.js
CHANGED
package/dist/_virtual/index15.js
CHANGED
package/dist/_virtual/index5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var q = Object.defineProperty;
|
|
2
2
|
var O = (C, _) => q(C, "name", { value: _, configurable: !0 });
|
|
3
|
-
import { __exports as r } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as r } from "../../../../../../../../_virtual/index6.js";
|
|
4
4
|
import { __require as d } from "./CODE128_AUTO.js";
|
|
5
5
|
import { __require as n } from "./CODE128A.js";
|
|
6
6
|
import { __require as m } from "./CODE128B.js";
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var w = Object.defineProperty;
|
|
2
2
|
var n = (f, a) => w(f, "name", { value: a, configurable: !0 });
|
|
3
|
-
import { __exports as i } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as i } from "../../../../../../../../_virtual/index5.js";
|
|
4
4
|
import { __require as k } from "../Barcode.js";
|
|
5
5
|
var _;
|
|
6
6
|
function P() {
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var D = Object.defineProperty;
|
|
2
2
|
var C = (u, t) => D(u, "name", { value: t, configurable: !0 });
|
|
3
|
-
import { __exports as e } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as e } from "../../../../../../../../_virtual/index12.js";
|
|
4
4
|
import { __require as O } from "./CODE93.js";
|
|
5
5
|
import { __require as E } from "./CODE93FullASCII.js";
|
|
6
6
|
var l;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var n = Object.defineProperty;
|
|
2
2
|
var G = (r, t) => n(r, "name", { value: t, configurable: !0 });
|
|
3
|
-
import { __exports as L } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as L } from "../../../../../../../../_virtual/constants2.js";
|
|
4
4
|
var e;
|
|
5
5
|
function o() {
|
|
6
6
|
return e ? L : (e = 1, Object.defineProperty(L, "__esModule", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var C = Object.defineProperty;
|
|
2
2
|
var i = (u, a) => C(u, "name", { value: a, configurable: !0 });
|
|
3
|
-
import { __exports as r } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as r } from "../../../../../../../../_virtual/index7.js";
|
|
4
4
|
import { __require as U } from "./EAN13.js";
|
|
5
5
|
import { __require as s } from "./EAN8.js";
|
|
6
6
|
import { __require as l } from "./EAN5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var b = Object.defineProperty;
|
|
2
2
|
var r = (a, f) => b(a, "name", { value: f, configurable: !0 });
|
|
3
|
-
import { __exports as u } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as u } from "../../../../../../../../_virtual/index13.js";
|
|
4
4
|
import { __require as p } from "../Barcode.js";
|
|
5
5
|
var c;
|
|
6
6
|
function w() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var o = Object.defineProperty;
|
|
2
2
|
var r = (n, s) => o(n, "name", { value: s, configurable: !0 });
|
|
3
|
-
import { __exports as e } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as e } from "../../../../../../../../_virtual/constants3.js";
|
|
4
4
|
var t;
|
|
5
5
|
function _() {
|
|
6
6
|
return t ? e : (t = 1, Object.defineProperty(e, "__esModule", {
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var T = Object.defineProperty;
|
|
2
2
|
var i = (u, t) => T(u, "name", { value: t, configurable: !0 });
|
|
3
|
-
import { __exports as e } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as e } from "../../../../../../../../_virtual/index8.js";
|
|
4
4
|
import { __require as f } from "./ITF.js";
|
|
5
5
|
import { __require as n } from "./ITF14.js";
|
|
6
6
|
var a;
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
2
|
var I = (M, _) => v(M, "name", { value: _, configurable: !0 });
|
|
3
|
-
import { __exports as r } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as r } from "../../../../../../../../_virtual/index9.js";
|
|
4
4
|
import { __require as n } from "./MSI.js";
|
|
5
5
|
import { __require as s } from "./MSI10.js";
|
|
6
6
|
import { __require as l } from "./MSI11.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
2
|
var a = (f, c) => p(f, "name", { value: c, configurable: !0 });
|
|
3
|
-
import { __exports as i } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as i } from "../../../../../../../../_virtual/index11.js";
|
|
4
4
|
import { __require as g } from "../Barcode.js";
|
|
5
5
|
var h;
|
|
6
6
|
function w() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
2
|
var i = (u, f) => v(u, "name", { value: f, configurable: !0 });
|
|
3
|
-
import { __exports as a } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as a } from "../../../../../../../../_virtual/index10.js";
|
|
4
4
|
import { __require as y } from "../Barcode.js";
|
|
5
5
|
var c;
|
|
6
6
|
function q() {
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
2
|
var _ = (a, t) => v(a, "name", { value: t, configurable: !0 });
|
|
3
|
-
import { __exports as r } from "../../../../../../../_virtual/
|
|
3
|
+
import { __exports as r } from "../../../../../../../_virtual/index14.js";
|
|
4
4
|
import { __require as f } from "./canvas.js";
|
|
5
5
|
import { __require as q } from "./svg.js";
|
|
6
6
|
import { __require as c } from "./object.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var S = Object.defineProperty;
|
|
2
2
|
var e = (r, i) => S(r, "name", { value: i, configurable: !0 });
|
|
3
|
-
import { __exports as n } from "../../../../../../../_virtual/
|
|
3
|
+
import { __exports as n } from "../../../../../../../_virtual/utils.js";
|
|
4
4
|
var u;
|
|
5
5
|
function c() {
|
|
6
6
|
if (u) return n;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
2
|
var a = (l, h) => M(l, "name", { value: h, configurable: !0 });
|
|
3
|
-
import { __exports as s } from "../../../../../../../_virtual/
|
|
3
|
+
import { __exports as s } from "../../../../../../../_virtual/utils2.js";
|
|
4
4
|
var w;
|
|
5
5
|
function _() {
|
|
6
6
|
return w ? s : (w = 1, (function(l) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var i = Object.defineProperty;
|
|
2
2
|
var r = (t, s) => i(t, "name", { value: s, configurable: !0 });
|
|
3
|
-
import { __module as e } from "../../../../../_virtual/
|
|
3
|
+
import { __module as e } from "../../../../../_virtual/index15.js";
|
|
4
4
|
import { __require as u } from "./cjs/react-is.production.min.js";
|
|
5
5
|
import { __require as p } from "./cjs/react-is.development.js";
|
|
6
6
|
var o;
|
package/package.json
CHANGED
|
@@ -23,17 +23,14 @@ const FONT_STYLESHEET_RELATIVE_PATHS = [
|
|
|
23
23
|
'pretendard/pretendard-subset.css',
|
|
24
24
|
];
|
|
25
25
|
|
|
26
|
-
/** 폰트 자산 루트 경로 조회 */
|
|
27
26
|
const resolveOwpFontAssetRoot = (owpCoreRoot) => {
|
|
28
27
|
return resolve(resolveOwpCorePackageRoot(owpCoreRoot), 'assets/fonts');
|
|
29
28
|
};
|
|
30
29
|
|
|
31
|
-
/** 아이콘 자산 루트 경로 조회 */
|
|
32
30
|
const resolveOwpIconAssetRoot = (owpCoreRoot) => {
|
|
33
31
|
return resolve(resolveOwpCorePackageRoot(owpCoreRoot), 'assets/icons');
|
|
34
32
|
};
|
|
35
33
|
|
|
36
|
-
/** OWP Core 공통 자산 플러그인 */
|
|
37
34
|
const owpCoreAssetsPlugin = ({
|
|
38
35
|
fontAssetBasePath = DEFAULT_FONT_ASSET_BASE_PATH,
|
|
39
36
|
fontAssetRoot = resolveOwpFontAssetRoot(),
|
|
@@ -4,12 +4,10 @@ const { resolveOwpCorePackageRoot } = require('./treeGridAssetsPlugin.cjs');
|
|
|
4
4
|
|
|
5
5
|
const DEFAULT_FIXED_IMAGE_ASSET_BASE_PATH = '/assets/images';
|
|
6
6
|
|
|
7
|
-
/** 고정 이미지 자산 루트 경로 조회 */
|
|
8
7
|
const resolveOwpFixedImageAssetRoot = (owpCoreRoot) => {
|
|
9
8
|
return resolve(resolveOwpCorePackageRoot(owpCoreRoot), 'fixed-images');
|
|
10
9
|
};
|
|
11
10
|
|
|
12
|
-
/** OWP Core 고정 이미지 자산 플러그인 */
|
|
13
11
|
const owpCoreFixedImagesPlugin = ({
|
|
14
12
|
assetBasePath = DEFAULT_FIXED_IMAGE_ASSET_BASE_PATH,
|
|
15
13
|
assetRoot = resolveOwpFixedImageAssetRoot(),
|
|
@@ -20,7 +20,6 @@ const MIME_TYPE_BY_EXTENSION = {
|
|
|
20
20
|
'.xml': 'application/xml; charset=utf-8',
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
/** 정적 자산 base path 정규화 */
|
|
24
23
|
const normalizeAssetBasePath = (assetBasePath) => {
|
|
25
24
|
const trimmedPath = assetBasePath.trim();
|
|
26
25
|
const normalizedPath = trimmedPath.startsWith('/') ? trimmedPath : `/${trimmedPath}`;
|
|
@@ -28,7 +27,6 @@ const normalizeAssetBasePath = (assetBasePath) => {
|
|
|
28
27
|
return normalizedPath.replace(/\/+$/, '');
|
|
29
28
|
};
|
|
30
29
|
|
|
31
|
-
/** 정적 자산 파일 목록 수집 */
|
|
32
30
|
const collectAssetFiles = async (rootPath) => {
|
|
33
31
|
let entries;
|
|
34
32
|
|
|
@@ -59,7 +57,6 @@ const collectAssetFiles = async (rootPath) => {
|
|
|
59
57
|
return assetFiles.flat().sort();
|
|
60
58
|
};
|
|
61
59
|
|
|
62
|
-
/** 정적 자산 응답 경로 보호 */
|
|
63
60
|
const resolveSafeAssetFilePath = (assetRootPath, relativePath) => {
|
|
64
61
|
const resolvedPath = resolve(assetRootPath, relativePath);
|
|
65
62
|
|
|
@@ -70,22 +67,18 @@ const resolveSafeAssetFilePath = (assetRootPath, relativePath) => {
|
|
|
70
67
|
return undefined;
|
|
71
68
|
};
|
|
72
69
|
|
|
73
|
-
/** 정적 자산 MIME 타입 조회 */
|
|
74
70
|
const getAssetMimeType = (assetFilePath) => {
|
|
75
71
|
return MIME_TYPE_BY_EXTENSION[extname(assetFilePath).toLowerCase()] ?? 'application/octet-stream';
|
|
76
72
|
};
|
|
77
73
|
|
|
78
|
-
/** 정적 자산 URL 생성 */
|
|
79
74
|
const resolveAssetUrl = (assetBasePath, assetPath) => {
|
|
80
75
|
return `${assetBasePath}/${assetPath.replace(/^\/+/, '')}`;
|
|
81
76
|
};
|
|
82
77
|
|
|
83
|
-
/** 정적 자산 참조 여부 */
|
|
84
78
|
const hasAssetReference = (html, assetPath) => {
|
|
85
79
|
return html.includes(assetPath);
|
|
86
80
|
};
|
|
87
81
|
|
|
88
|
-
/** 정적 스타일시트 링크 태그 */
|
|
89
82
|
const createStylesheetTag = (href) => {
|
|
90
83
|
return {
|
|
91
84
|
attrs: {
|
|
@@ -97,7 +90,6 @@ const createStylesheetTag = (href) => {
|
|
|
97
90
|
};
|
|
98
91
|
};
|
|
99
92
|
|
|
100
|
-
/** 정적 자산 서빙 및 emit 플러그인 */
|
|
101
93
|
const createStaticAssetPlugin = ({ assetDefinitions, name }) => {
|
|
102
94
|
const normalizedAssetDefinitions = assetDefinitions.map(({ assetBasePath, assetRoot }) => ({
|
|
103
95
|
assetBasePath: normalizeAssetBasePath(assetBasePath),
|
|
@@ -8,22 +8,18 @@ const {
|
|
|
8
8
|
const DEFAULT_TREE_GRID_ASSET_BASE_PATH = '/assets/vendors/Grid';
|
|
9
9
|
const TREE_GRID_ASSET_BASE_PATH_GLOBAL_KEY = '__OWP_TREE_GRID_ASSET_BASE_PATH__';
|
|
10
10
|
|
|
11
|
-
/** OWP Core 패키지 루트 경로 조회 */
|
|
12
11
|
const resolveOwpCorePackageRoot = (owpCoreRoot) => {
|
|
13
12
|
return owpCoreRoot ?? resolve(dirname(__dirname));
|
|
14
13
|
};
|
|
15
14
|
|
|
16
|
-
/** TreeGrid 자산 루트 경로 조회 */
|
|
17
15
|
const resolveOwpTreeGridAssetRoot = (owpCoreRoot) => {
|
|
18
16
|
return resolve(resolveOwpCorePackageRoot(owpCoreRoot), 'treegrid');
|
|
19
17
|
};
|
|
20
18
|
|
|
21
|
-
/** TreeGrid 스크립트 참조 여부 */
|
|
22
19
|
const hasTreeGridScriptReference = (html) => {
|
|
23
20
|
return html.includes('GridE.js');
|
|
24
21
|
};
|
|
25
22
|
|
|
26
|
-
/** TreeGrid base path 설정 스크립트 */
|
|
27
23
|
const createTreeGridRuntimeConfigTag = (assetBasePath) => {
|
|
28
24
|
return {
|
|
29
25
|
attrs: {
|
|
@@ -35,7 +31,6 @@ const createTreeGridRuntimeConfigTag = (assetBasePath) => {
|
|
|
35
31
|
};
|
|
36
32
|
};
|
|
37
33
|
|
|
38
|
-
/** TreeGrid 런타임 스크립트 태그 */
|
|
39
34
|
const createTreeGridRuntimeScriptTag = (assetBasePath) => {
|
|
40
35
|
return {
|
|
41
36
|
attrs: {
|
|
@@ -46,7 +41,6 @@ const createTreeGridRuntimeScriptTag = (assetBasePath) => {
|
|
|
46
41
|
};
|
|
47
42
|
};
|
|
48
43
|
|
|
49
|
-
/** TreeGrid 정적 자산 플러그인 */
|
|
50
44
|
const owpTreeGridAssetsPlugin = ({
|
|
51
45
|
assetBasePath = DEFAULT_TREE_GRID_ASSET_BASE_PATH,
|
|
52
46
|
assetRoot = resolveOwpTreeGridAssetRoot(),
|