@eightshift/ui-components 5.6.0 → 5.6.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/{Button-BhEIfWLY.js → Button-CQ5ZZJ2w.js} +1 -1
- package/dist/{Dialog-B8p4Ymh7.js → Dialog-BMgMUQuN.js} +7 -7
- package/dist/{List-Bll1lQEW.js → List-BiAnh5G5.js} +1 -1
- package/dist/{ListBox-CEpKw7yC.js → ListBox-DggfiuO_.js} +5 -5
- package/dist/{OverlayArrow-DDfa8khI.js → OverlayArrow-DraDOoRn.js} +1 -1
- package/dist/{SearchField-D6mPli0i.js → SearchField-DWGdCvnn.js} +2 -2
- package/dist/{Select-CHzjZxXy.js → Select-BvggcFOX.js} +7 -7
- package/dist/{Select-ef7c0426.esm-BJmjGGzK.js → Select-ef7c0426.esm-CmTkSxDx.js} +1 -1
- package/dist/{SelectionManager-D77bfEbg.js → SelectionManager-B6-b5NM2.js} +2 -2
- package/dist/{Separator-DcqCdD4k.js → Separator-B-xeqOkC.js} +1 -1
- package/dist/{SharedElementTransition-BjRNHsjx.js → SharedElementTransition-fML-zIv6.js} +1 -1
- package/dist/components/breakpoint-preview/breakpoint-preview.js +0 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +2 -2
- package/dist/components/color-pickers/solid-color-picker.js +1 -1
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +1 -1
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/link-input/link-input.js +10 -10
- package/dist/components/matrix-align/matrix-align.js +0 -1
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/modal/modal.js +3 -3
- package/dist/components/number-picker/number-picker.js +2 -2
- package/dist/components/placeholders/file-picker-shell.js +0 -1
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/repeater/repeater.js +1 -1
- package/dist/components/responsive/mini-responsive.js +0 -1
- package/dist/components/responsive/responsive-legacy.js +0 -1
- package/dist/components/responsive/responsive.js +0 -1
- package/dist/components/responsive-preview/responsive-preview.js +0 -1
- package/dist/components/select/async-multi-select.js +3 -3
- package/dist/components/select/async-single-select.js +2 -2
- package/dist/components/select/custom-select-default-components.js +1 -1
- package/dist/components/select/multi-select-components.js +1 -1
- package/dist/components/select/multi-select.js +3 -3
- package/dist/components/select/react-select-component-wrappers.js +1 -1
- package/dist/components/select/single-select.js +2 -2
- package/dist/components/select/v2/async-multi-select.js +5 -6
- package/dist/components/select/v2/async-select.js +5 -6
- package/dist/components/select/v2/multi-select.js +6 -7
- package/dist/components/select/v2/shared.js +1 -1
- package/dist/components/select/v2/single-select.js +6 -6
- package/dist/components/smart-image/smart-image.js +2 -2
- package/dist/components/smart-image/worker-inline.js +1 -1
- package/dist/components/tabs/tabs.js +5 -5
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/{general-6STKQIrk.js → general-Ck8IV7xJ.js} +2 -2
- package/dist/{index-641ee5b8.esm-DiwvO-RP.js → index-641ee5b8.esm-DVp0njHa.js} +1 -1
- package/dist/{index-DjyEH0Gg.js → index-D8-Zjpbd.js} +3 -1
- package/dist/{multi-select-components-B3KuDyYd.js → multi-select-components-CT_W0Cy9.js} +1 -1
- package/dist/{react-select-async.esm-_4pk-41v.js → react-select-async.esm-Zl1LPaPb.js} +3 -3
- package/dist/{react-select.esm-BeuAkAyY.js → react-select.esm-Bu36HujU.js} +3 -3
- package/dist/{useButton-B2EaQJT_.js → useButton-v9ngEj50.js} +1 -1
- package/dist/{useDragAndDrop-DUXKDS0N.js → useDragAndDrop-C08ZXv4F.js} +5 -5
- package/dist/{useFilter-BPcJ-Jzv.js → useFilter-BlkUH1Ma.js} +1 -1
- package/dist/{useListState-DZycqxCn.js → useListState-RdLrYsMP.js} +1 -1
- package/dist/{useNumberField-CEA9Q4w_.js → useNumberField-D16dDfYF.js} +1 -1
- package/dist/{usePress-BCEPS3hl.js → usePress-DJskZBH9.js} +1 -1
- package/dist/{useSingleSelectListState-BFZEfeqI.js → useSingleSelectListState-n0AVMr3Y.js} +1 -1
- package/dist/{useToggle-DNoP2bvV.js → useToggle-DSBDAfdw.js} +1 -1
- package/dist/utilities/general.js +2 -2
- package/dist/utilities/hash.js +30 -0
- package/dist/utilities/index.js +4 -6
- package/dist/workers/image-analysis.worker.js +1 -1
- package/package.json +7 -8
- package/dist/_commonjsHelpers-BhWcALO8.js +0 -38
- package/dist/sha256-C56UDWfQ.js +0 -533
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-cvK1vxO7.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-D2C6R0DK.js";
|
|
3
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
3
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-DJskZBH9.js";
|
|
4
4
|
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-BRDW3y7-.js";
|
|
5
5
|
function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
|
|
6
6
|
let { elementType = "button", isDisabled, onPress, onPressStart, onPressEnd, onPressUp, onPressChange, preventFocusOnPress, allowFocusWhenDisabled, onClick, href, target, rel, type = "button" } = props;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { L as $507fabe10e71c6fb$export$98e20ec92f614cfe, u as $507fabe10e71c6fb$export$630ff653c5ada6a9, H as $6a7db85432448f7f$export$60278871457622de, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, B as $c87311424ea30a05$export$9ac100e40613ea10, E as $c87311424ea30a05$export$7bef049ce92e4224, C as $c87311424ea30a05$export$78551043582a6a98, b as $c87311424ea30a05$export$fedb369cb70207f1, v as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-BRDW3y7-.js";
|
|
2
|
-
import { c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-
|
|
3
|
-
import { k as $5e3802645cc19319$export$1c3ebcada18427bf } from "./Dialog-
|
|
2
|
+
import { c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-CQ5ZZJ2w.js";
|
|
3
|
+
import { k as $5e3802645cc19319$export$1c3ebcada18427bf } from "./Dialog-BMgMUQuN.js";
|
|
4
4
|
import React__default, { useState, useEffect, useRef, version, useCallback, useImperativeHandle, useMemo } from "react";
|
|
5
|
-
import { v as $ef06256079686ba0$export$f8aeda7b10753fa1, r as $c5a24bc478652b5f$export$1005530eda016c13, d as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./SelectionManager-
|
|
6
|
-
import { c as $62d8ded9296f3872$export$cfa2225e87938781 } from "./Separator-
|
|
5
|
+
import { v as $ef06256079686ba0$export$f8aeda7b10753fa1, r as $c5a24bc478652b5f$export$1005530eda016c13, d as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./SelectionManager-B6-b5NM2.js";
|
|
6
|
+
import { c as $62d8ded9296f3872$export$cfa2225e87938781 } from "./Separator-B-xeqOkC.js";
|
|
7
7
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-eaZiN2tE.js";
|
|
8
8
|
import { e as $8ae05eaa5c114e9c$export$7f54fc3180508a52, k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, d as $bdb11010cef70236$export$f680877a34711e37, b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-cvK1vxO7.js";
|
|
9
9
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DMOmz986.js";
|
|
10
|
-
import { r as reactDomExports } from "./index-
|
|
10
|
+
import { r as reactDomExports } from "./index-D8-Zjpbd.js";
|
|
11
11
|
var $103790afe9474d1c$export$60b7b4bcf3903d8e = /* @__PURE__ */ (function(DROP_OPERATION) {
|
|
12
12
|
DROP_OPERATION[DROP_OPERATION["none"] = 0] = "none";
|
|
13
13
|
DROP_OPERATION[DROP_OPERATION["cancel"] = 0] = "cancel";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as $325a3faab7a68acd$export$a16aca283550c30d } from "./Separator-
|
|
1
|
+
import { b as $325a3faab7a68acd$export$a16aca283550c30d } from "./Separator-B-xeqOkC.js";
|
|
2
2
|
import { useCallback, useMemo } from "react";
|
|
3
3
|
function $bb77f239b46e8c72$export$3274cf84b703fff(options) {
|
|
4
4
|
let collator = $325a3faab7a68acd$export$a16aca283550c30d({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { version, useMemo, useCallback, useRef, useEffect } from "react";
|
|
2
|
-
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-
|
|
2
|
+
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-B6-b5NM2.js";
|
|
3
3
|
function $cdc5a6778b766db2$export$a9d04c5684123369(value) {
|
|
4
4
|
const pieces = version.split(".");
|
|
5
5
|
const major = parseInt(pieces[0], 10);
|
|
@@ -11,7 +11,7 @@ import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-BifIG
|
|
|
11
11
|
import { d as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-8yja_IHC.js";
|
|
12
12
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-eaZiN2tE.js";
|
|
13
13
|
import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-BCmkV-7c.js";
|
|
14
|
-
import { d as $319e236875307eab$export$d10ae4f68404609a, c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-
|
|
14
|
+
import { d as $319e236875307eab$export$d10ae4f68404609a, c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-CQ5ZZJ2w.js";
|
|
15
15
|
const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX = new RegExp("^.*\\(.*\\).*$");
|
|
16
16
|
const $6c7bd7858deea686$var$NUMBERING_SYSTEMS = [
|
|
17
17
|
"latn",
|
|
@@ -2,7 +2,7 @@ import { D as $c87311424ea30a05$export$b7d78993b74f766d, C as $c87311424ea30a05$
|
|
|
2
2
|
import { $ as $14c0b72509d70225$export$b0d6fa1ab32e3295, a as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-DbCKqaw8.js";
|
|
3
3
|
import React__default, { useContext, createContext, useState, useRef, useMemo, useEffect } from "react";
|
|
4
4
|
import { e as $8ae05eaa5c114e9c$export$7f54fc3180508a52, b as $3ef42575df84b30b$export$9d1611c77c2fe928, p as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-cvK1vxO7.js";
|
|
5
|
-
import { r as reactDomExports } from "./index-
|
|
5
|
+
import { r as reactDomExports } from "./index-D8-Zjpbd.js";
|
|
6
6
|
const $ea8dcbcb9ea1b556$var$RouterContext = /* @__PURE__ */ createContext({
|
|
7
7
|
isNative: true,
|
|
8
8
|
open: $ea8dcbcb9ea1b556$var$openSyntheticLink,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-
|
|
1
|
+
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-RdLrYsMP.js";
|
|
2
2
|
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-BRDW3y7-.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-cvK1vxO7.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-D2C6R0DK.js";
|
|
3
3
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-yV9VVy9R.js";
|
|
4
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
4
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-DJskZBH9.js";
|
|
5
5
|
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-BRDW3y7-.js";
|
|
6
6
|
function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
7
7
|
let { isDisabled = false, isReadOnly = false, value, name, form, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid, onPressStart, onPressEnd, onPressChange, onPress, onPressUp, onClick } = props;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const simpleHash = (str) => {
|
|
2
|
+
let hash = 0;
|
|
3
|
+
for (let i = 0; i < str.length; i++) {
|
|
4
|
+
const char = str.charCodeAt(i);
|
|
5
|
+
hash = (hash << 5) - hash + char;
|
|
6
|
+
}
|
|
7
|
+
return (hash >>> 0).toString(36).padStart(7, "0");
|
|
8
|
+
};
|
|
9
|
+
const cyrb64 = (str, seed = 0) => {
|
|
10
|
+
let h1 = 3735928559 ^ seed;
|
|
11
|
+
let h2 = 1103547991 ^ seed;
|
|
12
|
+
for (let i = 0, ch; i < str.length; i++) {
|
|
13
|
+
ch = str.charCodeAt(i);
|
|
14
|
+
h1 = Math.imul(h1 ^ ch, 2654435761);
|
|
15
|
+
h2 = Math.imul(h2 ^ ch, 1597334677);
|
|
16
|
+
}
|
|
17
|
+
h1 = Math.imul(h1 ^ h1 >>> 16, 2246822507);
|
|
18
|
+
h1 ^= Math.imul(h2 ^ h2 >>> 13, 3266489909);
|
|
19
|
+
h2 = Math.imul(h2 ^ h2 >>> 16, 2246822507);
|
|
20
|
+
h2 ^= Math.imul(h1 ^ h1 >>> 13, 3266489909);
|
|
21
|
+
return [h2 >>> 0, h1 >>> 0];
|
|
22
|
+
};
|
|
23
|
+
const cyrb64Hash = (str, seed = 0) => {
|
|
24
|
+
const [h2, h1] = cyrb64(str, seed);
|
|
25
|
+
return h2.toString(36).padStart(7, "0") + h1.toString(36).padStart(7, "0");
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
cyrb64Hash,
|
|
29
|
+
simpleHash
|
|
30
|
+
};
|
package/dist/utilities/index.js
CHANGED
|
@@ -2,11 +2,9 @@ import { arrayMoveMultiple, fixIds } from "./array-helpers.js";
|
|
|
2
2
|
import { camelCase, has, isEmpty, isEqual, isObject, isPlainObject, isString, kebabCase, lowerFirst, pascalCase, snakeCase, upperFirst } from "./es-dash.js";
|
|
3
3
|
import { truncate, truncateEnd, truncateMiddle, unescapeHTML } from "./text-helpers.js";
|
|
4
4
|
import { debounce, throttle } from "./debounce-throttle.js";
|
|
5
|
-
import { a, b, d, c, g, i } from "../general-
|
|
5
|
+
import { a, b, d, c, g, i } from "../general-Ck8IV7xJ.js";
|
|
6
6
|
import { c as c2 } from "../lite-DVmmD_-j.js";
|
|
7
|
-
import {
|
|
8
|
-
const sha224 = sha256Exports.sha224;
|
|
9
|
-
const sha256 = sha256Exports.sha256;
|
|
7
|
+
import { cyrb64Hash, simpleHash } from "./hash.js";
|
|
10
8
|
export {
|
|
11
9
|
a as analyzeImage,
|
|
12
10
|
b as analyzeImageAsync,
|
|
@@ -15,6 +13,7 @@ export {
|
|
|
15
13
|
camelCase,
|
|
16
14
|
c as checkTransparency,
|
|
17
15
|
c2 as clsx,
|
|
16
|
+
cyrb64Hash,
|
|
18
17
|
debounce,
|
|
19
18
|
fixIds,
|
|
20
19
|
g as getFileExtension,
|
|
@@ -28,8 +27,7 @@ export {
|
|
|
28
27
|
kebabCase,
|
|
29
28
|
lowerFirst,
|
|
30
29
|
pascalCase,
|
|
31
|
-
|
|
32
|
-
sha256,
|
|
30
|
+
simpleHash,
|
|
33
31
|
snakeCase,
|
|
34
32
|
throttle,
|
|
35
33
|
truncate,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as floatBufferFromCanvas, d as analyzeImageData, F as FLOAT_RGBA } from "../general-
|
|
1
|
+
import { f as floatBufferFromCanvas, d as analyzeImageData, F as FLOAT_RGBA } from "../general-Ck8IV7xJ.js";
|
|
2
2
|
self.onmessage = async (event) => {
|
|
3
3
|
const { imageBitmap, settings } = event.data;
|
|
4
4
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eightshift/ui-components",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@adobe/react-spectrum": "^3.45.0",
|
|
48
|
+
"@atom-universe/use-web-worker": "^2.2.1",
|
|
48
49
|
"@dnd-kit/abstract": "^0.1.21",
|
|
49
50
|
"@dnd-kit/core": "^6.3.1",
|
|
50
51
|
"@dnd-kit/dom": "^0.1.21",
|
|
@@ -57,6 +58,10 @@
|
|
|
57
58
|
"@react-stately/collections": "^3.12.8",
|
|
58
59
|
"@stylistic/eslint-plugin-js": "^4.4.1",
|
|
59
60
|
"@tailwindcss/vite": "^4.1.15",
|
|
61
|
+
"@thi.ng/color": "^5.7.62",
|
|
62
|
+
"@thi.ng/pixel": "^7.5.10",
|
|
63
|
+
"@thi.ng/pixel-analysis": "^2.0.9",
|
|
64
|
+
"@thi.ng/pixel-dominant-colors": "^2.0.14",
|
|
60
65
|
"@types/react": "^18.3.26",
|
|
61
66
|
"@types/react-dom": "^18.3.7",
|
|
62
67
|
"@vitejs/plugin-react-swc": "^4.1.0",
|
|
@@ -97,13 +102,7 @@
|
|
|
97
102
|
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
98
103
|
},
|
|
99
104
|
"dependencies": {
|
|
100
|
-
"@atom-universe/use-web-worker": "^2.2.1",
|
|
101
105
|
"@fontsource-variable/geist": "^5.2.8",
|
|
102
|
-
"@fontsource-variable/geist-mono": "^5.2.7"
|
|
103
|
-
"@thi.ng/color": "^5.7.62",
|
|
104
|
-
"@thi.ng/pixel": "^7.5.10",
|
|
105
|
-
"@thi.ng/pixel-analysis": "^2.0.9",
|
|
106
|
-
"@thi.ng/pixel-dominant-colors": "^2.0.14",
|
|
107
|
-
"js-sha256": "^0.11.1"
|
|
106
|
+
"@fontsource-variable/geist-mono": "^5.2.7"
|
|
108
107
|
}
|
|
109
108
|
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
2
|
-
function getDefaultExportFromCjs(x) {
|
|
3
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
4
|
-
}
|
|
5
|
-
function getAugmentedNamespace(n) {
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(n, "__esModule")) return n;
|
|
7
|
-
var f = n.default;
|
|
8
|
-
if (typeof f == "function") {
|
|
9
|
-
var a = function a2() {
|
|
10
|
-
var isInstance = false;
|
|
11
|
-
try {
|
|
12
|
-
isInstance = this instanceof a2;
|
|
13
|
-
} catch {
|
|
14
|
-
}
|
|
15
|
-
if (isInstance) {
|
|
16
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
17
|
-
}
|
|
18
|
-
return f.apply(this, arguments);
|
|
19
|
-
};
|
|
20
|
-
a.prototype = f.prototype;
|
|
21
|
-
} else a = {};
|
|
22
|
-
Object.defineProperty(a, "__esModule", { value: true });
|
|
23
|
-
Object.keys(n).forEach(function(k) {
|
|
24
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
25
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function() {
|
|
28
|
-
return n[k];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
return a;
|
|
33
|
-
}
|
|
34
|
-
export {
|
|
35
|
-
getDefaultExportFromCjs as a,
|
|
36
|
-
commonjsGlobal as c,
|
|
37
|
-
getAugmentedNamespace as g
|
|
38
|
-
};
|