@bynder/compact-view 5.2.3 → 5.2.4
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/AccessToken2.js +1 -1
- package/ActiveFilters.js +49 -50
- package/AddMedia.js +19 -18
- package/Advanced.js +13 -13
- package/App.js +60 -59
- package/Arrow.js +1 -1
- package/AssetFilter.js +38 -38
- package/AssetItem.js +10 -17
- package/AssetList.js +5 -5
- package/AssetTypeItem.js +21 -21
- package/AssetsView.js +13 -13
- package/Axios2.js +82 -76
- package/AxiosError.js +36 -35
- package/ButtonAction.js +1 -1
- package/CanceledError.js +15 -8
- package/Card.js +1 -1
- package/Chip.js +1 -1
- package/CollectionCard.js +22 -22
- package/CollectionItem.js +9 -9
- package/CollectionList.js +5 -5
- package/CollectionView.js +11 -11
- package/ColorPicker.js +1 -1
- package/ColorPickerSolid.js +3 -3
- package/ColorPickerWithOpacity.js +3 -3
- package/Component.js +158 -0
- package/Component2.js +4 -0
- package/ConfigContext.js +7 -8
- package/Container.js +1 -1
- package/ContextAction.js +1 -1
- package/ControlGroup.js +6 -6
- package/Dat.js +33 -32
- package/DatDropdownItem.js +1 -1
- package/DesignSystemProvider.js +7 -7
- package/DirectionSelect.js +11 -10
- package/DomainInput.js +19 -11
- package/Draggable.js +337 -0
- package/Draggable2.js +4 -0
- package/DraggableCore.js +312 -0
- package/DraggableCore2.js +4 -0
- package/Dropdown.js +37 -37
- package/Dropdown2.js +1 -1
- package/DropdownListItem.js +1 -1
- package/FieldSelect.js +19 -17
- package/FileSelector.js +38 -37
- package/FontPicker.js +1 -1
- package/Form.js +1 -1
- package/Header.js +5 -4
- package/HttpStatusCode.js +7 -1
- package/InfiniteScroll.js +1 -1
- package/InlineBanner.js +1 -1
- package/Input.js +1 -1
- package/InterceptorManager.js +2 -1
- package/Item.js +8 -8
- package/Item4.js +2 -2
- package/LeftArrow.js +1 -1
- package/ListItem2.js +1 -1
- package/ModalBase.js +15 -15
- package/NoResults.js +1 -1
- package/Option_new.js +36 -29
- package/ReactPropTypesSecret.js +10 -0
- package/RightArrow.js +1 -1
- package/SearchInput.js +1 -1
- package/SearchInput2.js +1 -1
- package/SelectionFooter.js +41 -31
- package/Shield.js +2 -2
- package/Smartfilters_new.js +107 -98
- package/StatefulAssetList.js +50 -50
- package/StoreInitializer.js +32 -16
- package/SwitchNLS.js +1 -1
- package/TagItem.js +15 -15
- package/Tags.js +1 -1
- package/Toolbar.js +23 -20
- package/Tooltip2.js +1 -1
- package/ViewSwitch.js +17 -15
- package/_commonjsHelpers.js +28 -3
- package/adapters.js +54 -42
- package/api/filterAssets.d.ts +1 -1
- package/api/getAssets.d.ts +1 -1
- package/api/getFilters.d.ts +1 -1
- package/api/rest/index.d.ts +1 -1
- package/api/rest/types.d.ts +1 -1
- package/api2.js +1 -1
- package/asset.type.js +1 -1
- package/autocomplete.js +1 -1
- package/axios.js +1 -1
- package/bodyScrollLock.esm.js +68 -0
- package/buildURL.js +13 -15
- package/checkGlobals.js +1 -1
- package/cjs.js +7 -0
- package/cjs2.js +15 -0
- package/cjs3.js +4 -0
- package/clsx.m.js +6 -0
- package/clsx.m2.js +15 -0
- package/combineMetaproperties.js +3 -1
- package/composeSignals.js +1 -1
- package/cookieStore.js +1 -1
- package/cookies.js +13 -11
- package/currentScopes.js +1 -1
- package/data.js +1 -1
- package/devUtils.js +1 -1
- package/dispatchRequest.js +5 -5
- package/domFns.js +151 -0
- package/domFns2.js +4 -0
- package/factoryWithThrowingShims.js +52 -0
- package/fetch2.js +156 -128
- package/filter/AssetFilterContext.d.ts +3 -3
- package/filterAssets.js +1 -1
- package/getAsset.js +1 -1
- package/getAssetCounts.js +1 -1
- package/getAssets.js +1 -1
- package/getCollections.js +1 -1
- package/getFilterOptions.js +1 -1
- package/getFilters.js +1 -1
- package/getFilters_new.js +1 -1
- package/getPrefix.js +35 -0
- package/getPrefix2.js +4 -0
- package/getSimilarityAssets.js +1 -1
- package/goober.modern.js +75 -0
- package/handlers.js +1 -1
- package/iconBase.js +56 -0
- package/iconContext.js +12 -0
- package/iconsManifest.js +222 -0
- package/index-esm.js +1 -4
- package/index.browser.js +1 -1
- package/index.m.js +9 -0
- package/index.m2.js +17 -0
- package/index10.js +18 -2
- package/index11.js +181 -15
- package/index112.js +1 -1
- package/index12.js +313 -36
- package/index13.js +5 -2430
- package/index14.js +3 -557
- package/index15.js +15 -55
- package/index16.js +3 -2
- package/index17.js +3 -87
- package/index18.js +36 -60
- package/index19.js +3 -7
- package/index20.js +2429 -12
- package/index21.js +557 -10
- package/index22.js +1 -1
- package/index23.js +119 -6
- package/index24.js +39 -7
- package/index25.js +2 -5
- package/index26.js +86 -9
- package/index27.js +55 -8
- package/index28.js +6 -636
- package/index29.js +8692 -74
- package/index3.js +1684 -5
- package/index30.js +2 -5
- package/index31.js +4 -20
- package/index310.js +2 -0
- package/index32.js +11 -2
- package/index33.js +5083 -4
- package/index34.js +2 -18
- package/index35.js +59 -5
- package/index36.js +2 -2
- package/index37.js +13 -11
- package/index38.js +46 -10
- package/index39.js +6 -12
- package/index4.js +5 -1684
- package/index40.js +8 -11
- package/index41.js +26 -18
- package/index42.js +2 -64
- package/index43.js +63 -5
- package/index44.js +9 -55
- package/index45.js +7 -67
- package/index46.js +8 -31
- package/index47.js +5 -11
- package/index48.js +10 -121
- package/index49.js +9 -86
- package/index5.js +215 -23
- package/index50.js +636 -7
- package/index51.js +74 -11
- package/index52.js +4 -13
- package/index53.js +19 -13
- package/index54.js +4 -6
- package/index55.js +18 -7
- package/index56.js +5 -14
- package/index57.js +10 -28
- package/index58.js +10 -15
- package/index59.js +15 -0
- package/index6.js +250 -299
- package/index60.js +13 -0
- package/index61.js +21 -0
- package/index62.js +8 -0
- package/index63.js +57 -0
- package/index64.js +4 -0
- package/index65.js +69 -0
- package/index66.js +33 -0
- package/index67.js +13 -0
- package/index68.js +123 -0
- package/index69.js +88 -0
- package/index7.js +22 -5047
- package/index70.js +10 -0
- package/index71.js +13 -0
- package/index72.js +13 -225
- package/index73.js +16 -0
- package/index74.js +9 -0
- package/index75.js +228 -0
- package/index76.js +9 -0
- package/index77.js +17 -0
- package/index78.js +31 -0
- package/index79.js +18 -0
- package/index8.js +5044 -47
- package/index9.js +50 -15
- package/isAbsoluteURL.js +1 -1
- package/isURLSameOrigin.js +1 -1
- package/localization.js +15 -15
- package/log.js +14 -0
- package/log2.js +4 -0
- package/matchRequestUrl.js +1 -1
- package/mergeConfig.js +37 -32
- package/notify.js +2 -2
- package/package.json +1 -1
- package/positionFns.js +101 -0
- package/positionFns2.js +4 -0
- package/react-laag.esm.js +957 -0
- package/react.js +8 -8
- package/react2.js +9 -9
- package/resolveConfig.js +23 -23
- package/select/add-media/AddMedia.d.ts +3 -1
- package/select/current-selection/SelectedItems.d.ts +1 -1
- package/shims.js +29 -0
- package/shims2.js +4 -0
- package/store/StoreInitializer.d.ts +5 -1
- package/store/useAssetFilterStore.d.ts +55 -0
- package/store/useSelectionStore.d.ts +47 -0
- package/styled-components.browser.esm.js +2 -2
- package/throttle.js +1 -1
- package/toURLEncodedForm.js +11 -10
- package/tokenExpirationHelper.js +1 -1
- package/transformData.js +1 -1
- package/transitional.js +4 -3
- package/useAssetFilterStore.js +152 -0
- package/useDatStore.js +1 -1
- package/useEffectEvent.js +7 -7
- package/useFonts.js +2 -2
- package/useOrderingStore.js +1 -1
- package/useRouterStore.js +1 -1
- package/useSearchStore.js +1 -1
- package/useSelectionStore.js +131 -0
- package/useSimilaritySearchStore.js +1 -1
- package/useTranslate.js +1 -1
- package/utils/combineMetaproperties.d.ts +2 -0
- package/utils6.js +160 -118
- package/utils7.js +7 -68
- package/utils8.js +68 -7
- package/xhr.js +47 -46
- package/AssetFilterContext.js +0 -161
- package/SelectionContext.js +0 -143
- package/select/SelectionContext.d.ts +0 -30
- /package/{Middleware.js → Middleware2.js} +0 -0
- /package/{middleware2.js → middleware.js} +0 -0
package/index24.js
CHANGED
|
@@ -1,10 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { __module as s } from "./index25.js";
|
|
2
|
+
/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/
|
|
7
|
+
var u;
|
|
8
|
+
function c() {
|
|
9
|
+
return u ? s.exports : (u = 1, (function(i) {
|
|
10
|
+
(function() {
|
|
11
|
+
var f = {}.hasOwnProperty;
|
|
12
|
+
function n() {
|
|
13
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
14
|
+
var e = arguments[t];
|
|
15
|
+
e && (r = o(r, a(e)));
|
|
16
|
+
}
|
|
17
|
+
return r;
|
|
18
|
+
}
|
|
19
|
+
function a(r) {
|
|
20
|
+
if (typeof r == "string" || typeof r == "number")
|
|
21
|
+
return r;
|
|
22
|
+
if (typeof r != "object")
|
|
23
|
+
return "";
|
|
24
|
+
if (Array.isArray(r))
|
|
25
|
+
return n.apply(null, r);
|
|
26
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
27
|
+
return r.toString();
|
|
28
|
+
var t = "";
|
|
29
|
+
for (var e in r)
|
|
30
|
+
f.call(r, e) && r[e] && (t = o(t, e));
|
|
31
|
+
return t;
|
|
32
|
+
}
|
|
33
|
+
function o(r, t) {
|
|
34
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
35
|
+
}
|
|
36
|
+
i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
|
|
37
|
+
})();
|
|
38
|
+
})(s), s.exports);
|
|
7
39
|
}
|
|
8
40
|
export {
|
|
9
|
-
|
|
41
|
+
c as __require
|
|
10
42
|
};
|
package/index25.js
CHANGED
package/index26.js
CHANGED
|
@@ -1,12 +1,89 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import t from "./utils6.js";
|
|
2
|
+
import c from "./AxiosError.js";
|
|
3
|
+
import u from "./transitional.js";
|
|
4
|
+
import S from "./toFormData.js";
|
|
5
|
+
import h from "./toURLEncodedForm.js";
|
|
6
|
+
import a from "./index28.js";
|
|
7
|
+
import O from "./formDataToJSON.js";
|
|
8
|
+
function y(i, r, e) {
|
|
9
|
+
if (t.isString(i))
|
|
10
|
+
try {
|
|
11
|
+
return (r || JSON.parse)(i), t.trim(i);
|
|
12
|
+
} catch (n) {
|
|
13
|
+
if (n.name !== "SyntaxError")
|
|
14
|
+
throw n;
|
|
15
|
+
}
|
|
16
|
+
return (e || JSON.stringify)(i);
|
|
9
17
|
}
|
|
18
|
+
const l = {
|
|
19
|
+
transitional: u,
|
|
20
|
+
adapter: ["xhr", "http", "fetch"],
|
|
21
|
+
transformRequest: [function(r, e) {
|
|
22
|
+
const n = e.getContentType() || "", s = n.indexOf("application/json") > -1, f = t.isObject(r);
|
|
23
|
+
if (f && t.isHTMLForm(r) && (r = new FormData(r)), t.isFormData(r))
|
|
24
|
+
return s ? JSON.stringify(O(r)) : r;
|
|
25
|
+
if (t.isArrayBuffer(r) || t.isBuffer(r) || t.isStream(r) || t.isFile(r) || t.isBlob(r) || t.isReadableStream(r))
|
|
26
|
+
return r;
|
|
27
|
+
if (t.isArrayBufferView(r))
|
|
28
|
+
return r.buffer;
|
|
29
|
+
if (t.isURLSearchParams(r))
|
|
30
|
+
return e.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), r.toString();
|
|
31
|
+
let o;
|
|
32
|
+
if (f) {
|
|
33
|
+
if (n.indexOf("application/x-www-form-urlencoded") > -1)
|
|
34
|
+
return h(r, this.formSerializer).toString();
|
|
35
|
+
if ((o = t.isFileList(r)) || n.indexOf("multipart/form-data") > -1) {
|
|
36
|
+
const p = this.env && this.env.FormData;
|
|
37
|
+
return S(
|
|
38
|
+
o ? { "files[]": r } : r,
|
|
39
|
+
p && new p(),
|
|
40
|
+
this.formSerializer
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return f || s ? (e.setContentType("application/json", !1), y(r)) : r;
|
|
45
|
+
}],
|
|
46
|
+
transformResponse: [function(r) {
|
|
47
|
+
const e = this.transitional || l.transitional, n = e && e.forcedJSONParsing, s = this.responseType === "json";
|
|
48
|
+
if (t.isResponse(r) || t.isReadableStream(r))
|
|
49
|
+
return r;
|
|
50
|
+
if (r && t.isString(r) && (n && !this.responseType || s)) {
|
|
51
|
+
const m = !(e && e.silentJSONParsing) && s;
|
|
52
|
+
try {
|
|
53
|
+
return JSON.parse(r, this.parseReviver);
|
|
54
|
+
} catch (o) {
|
|
55
|
+
if (m)
|
|
56
|
+
throw o.name === "SyntaxError" ? c.from(o, c.ERR_BAD_RESPONSE, this, null, this.response) : o;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return r;
|
|
60
|
+
}],
|
|
61
|
+
/**
|
|
62
|
+
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
63
|
+
* timeout is not created.
|
|
64
|
+
*/
|
|
65
|
+
timeout: 0,
|
|
66
|
+
xsrfCookieName: "XSRF-TOKEN",
|
|
67
|
+
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
68
|
+
maxContentLength: -1,
|
|
69
|
+
maxBodyLength: -1,
|
|
70
|
+
env: {
|
|
71
|
+
FormData: a.classes.FormData,
|
|
72
|
+
Blob: a.classes.Blob
|
|
73
|
+
},
|
|
74
|
+
validateStatus: function(r) {
|
|
75
|
+
return r >= 200 && r < 300;
|
|
76
|
+
},
|
|
77
|
+
headers: {
|
|
78
|
+
common: {
|
|
79
|
+
Accept: "application/json, text/plain, */*",
|
|
80
|
+
"Content-Type": void 0
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
t.forEach(["delete", "get", "head", "post", "put", "patch"], (i) => {
|
|
85
|
+
l.headers[i] = {};
|
|
86
|
+
});
|
|
10
87
|
export {
|
|
11
|
-
|
|
88
|
+
l as default
|
|
12
89
|
};
|
package/index27.js
CHANGED
|
@@ -1,11 +1,58 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { __exports as n } from "./index36.js";
|
|
2
|
+
var c;
|
|
3
|
+
function f() {
|
|
4
|
+
if (c) return n;
|
|
5
|
+
c = 1, Object.defineProperty(n, "__esModule", { value: !0 }), n.jwtDecode = n.InvalidTokenError = void 0;
|
|
6
|
+
class a extends Error {
|
|
7
|
+
}
|
|
8
|
+
n.InvalidTokenError = a, a.prototype.name = "InvalidTokenError";
|
|
9
|
+
function d(r) {
|
|
10
|
+
return decodeURIComponent(atob(r).replace(/(.)/g, (e, t) => {
|
|
11
|
+
let o = t.charCodeAt(0).toString(16).toUpperCase();
|
|
12
|
+
return o.length < 2 && (o = "0" + o), "%" + o;
|
|
13
|
+
}));
|
|
14
|
+
}
|
|
15
|
+
function l(r) {
|
|
16
|
+
let e = r.replace(/-/g, "+").replace(/_/g, "/");
|
|
17
|
+
switch (e.length % 4) {
|
|
18
|
+
case 0:
|
|
19
|
+
break;
|
|
20
|
+
case 2:
|
|
21
|
+
e += "==";
|
|
22
|
+
break;
|
|
23
|
+
case 3:
|
|
24
|
+
e += "=";
|
|
25
|
+
break;
|
|
26
|
+
default:
|
|
27
|
+
throw new Error("base64 string is not of the correct length");
|
|
28
|
+
}
|
|
29
|
+
try {
|
|
30
|
+
return d(e);
|
|
31
|
+
} catch {
|
|
32
|
+
return atob(e);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function p(r, e) {
|
|
36
|
+
if (typeof r != "string")
|
|
37
|
+
throw new a("Invalid token specified: must be a string");
|
|
38
|
+
e || (e = {});
|
|
39
|
+
const t = e.header === !0 ? 0 : 1, o = r.split(".")[t];
|
|
40
|
+
if (typeof o != "string")
|
|
41
|
+
throw new a(`Invalid token specified: missing part #${t + 1}`);
|
|
42
|
+
let s;
|
|
43
|
+
try {
|
|
44
|
+
s = l(o);
|
|
45
|
+
} catch (i) {
|
|
46
|
+
throw new a(`Invalid token specified: invalid base64 for part #${t + 1} (${i.message})`);
|
|
47
|
+
}
|
|
48
|
+
try {
|
|
49
|
+
return JSON.parse(s);
|
|
50
|
+
} catch (i) {
|
|
51
|
+
throw new a(`Invalid token specified: invalid json for part #${t + 1} (${i.message})`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return n.jwtDecode = p, n;
|
|
8
55
|
}
|
|
9
56
|
export {
|
|
10
|
-
|
|
57
|
+
f as __require
|
|
11
58
|
};
|