@bynder/compact-view 5.2.2 → 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/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/getPrefix.js +35 -0
- package/getPrefix2.js +4 -0
- 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 +1 -1
- 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 -7
- package/index19.js +3 -60
- 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 +25 -2
- 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 +1537 -1536
- package/index9.js +1 -1
- 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 +1 -1
- 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/xhr.js +47 -46
- package/AssetFilterContext.js +0 -161
- package/Middleware.js +0 -49
- package/SelectionContext.js +0 -143
- package/middleware2.js +0 -177
- package/select/SelectionContext.d.ts +0 -30
package/index34.js
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import t from "./index46.js";
|
|
3
|
-
import a from "./index47.js";
|
|
4
|
-
import r from "./index48.js";
|
|
5
|
-
import e from "./index49.js";
|
|
6
|
-
var c = {
|
|
7
|
-
code: "en-US",
|
|
8
|
-
formatDistance: o,
|
|
9
|
-
formatLong: t,
|
|
10
|
-
formatRelative: a,
|
|
11
|
-
localize: r,
|
|
12
|
-
match: e,
|
|
13
|
-
options: {
|
|
14
|
-
weekStartsOn: 0,
|
|
15
|
-
firstWeekContainsDate: 1
|
|
16
|
-
}
|
|
17
|
-
};
|
|
1
|
+
var r = {};
|
|
18
2
|
export {
|
|
19
|
-
|
|
3
|
+
r as __exports
|
|
20
4
|
};
|
package/index35.js
CHANGED
|
@@ -1,8 +1,62 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import P from "./index48.js";
|
|
2
|
+
import L from "./index49.js";
|
|
3
|
+
import T from "./index46.js";
|
|
4
|
+
import I from "./index50.js";
|
|
5
|
+
import M from "./index51.js";
|
|
6
|
+
import Y from "./index52.js";
|
|
7
|
+
import { isProtectedWeekYearToken as j, throwProtectedError as $, isProtectedDayOfYearToken as q } from "./index53.js";
|
|
8
|
+
import D from "./index45.js";
|
|
9
|
+
import y from "./index47.js";
|
|
10
|
+
import { getDefaultOptions as A } from "./index54.js";
|
|
11
|
+
import Q from "./index55.js";
|
|
12
|
+
var F = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, H = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, K = /^'([^]*?)'?$/, V = /''/g, Z = /[a-zA-Z]/;
|
|
13
|
+
function ie(r, t, G) {
|
|
14
|
+
var f, c, m, v, p, s, d, u, g, w, h, k, O, _;
|
|
15
|
+
y(2, arguments);
|
|
16
|
+
var S = String(t), a = A(), n = (f = (c = void 0) !== null && c !== void 0 ? c : a.locale) !== null && f !== void 0 ? f : Q, E = D((m = (v = (p = (s = void 0) !== null && s !== void 0 ? s : void 0) !== null && p !== void 0 ? p : a.firstWeekContainsDate) !== null && v !== void 0 ? v : (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && m !== void 0 ? m : 1);
|
|
17
|
+
if (!(E >= 1 && E <= 7))
|
|
18
|
+
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
19
|
+
var R = D((g = (w = (h = (k = void 0) !== null && k !== void 0 ? k : void 0) !== null && h !== void 0 ? h : a.weekStartsOn) !== null && w !== void 0 ? w : (O = a.locale) === null || O === void 0 || (_ = O.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && g !== void 0 ? g : 0);
|
|
20
|
+
if (!(R >= 0 && R <= 6))
|
|
21
|
+
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
22
|
+
if (!n.localize)
|
|
23
|
+
throw new RangeError("locale must contain localize property");
|
|
24
|
+
if (!n.formatLong)
|
|
25
|
+
throw new RangeError("locale must contain formatLong property");
|
|
26
|
+
var i = T(r);
|
|
27
|
+
if (!P(i))
|
|
28
|
+
throw new RangeError("Invalid time value");
|
|
29
|
+
var C = Y(i), W = L(i, C), x = {
|
|
30
|
+
firstWeekContainsDate: E,
|
|
31
|
+
weekStartsOn: R,
|
|
32
|
+
locale: n,
|
|
33
|
+
_originalDate: i
|
|
34
|
+
}, z = S.match(H).map(function(e) {
|
|
35
|
+
var o = e[0];
|
|
36
|
+
if (o === "p" || o === "P") {
|
|
37
|
+
var l = M[o];
|
|
38
|
+
return l(e, n.formatLong);
|
|
39
|
+
}
|
|
40
|
+
return e;
|
|
41
|
+
}).join("").match(F).map(function(e) {
|
|
42
|
+
if (e === "''")
|
|
43
|
+
return "'";
|
|
44
|
+
var o = e[0];
|
|
45
|
+
if (o === "'")
|
|
46
|
+
return B(e);
|
|
47
|
+
var l = I[o];
|
|
48
|
+
if (l)
|
|
49
|
+
return j(e) && $(e, t, String(r)), q(e) && $(e, t, String(r)), l(W, e, n.localize, x);
|
|
50
|
+
if (o.match(Z))
|
|
51
|
+
throw new RangeError("Format string contains an unescaped latin alphabet character `" + o + "`");
|
|
52
|
+
return e;
|
|
53
|
+
}).join("");
|
|
54
|
+
return z;
|
|
55
|
+
}
|
|
56
|
+
function B(r) {
|
|
57
|
+
var t = r.match(K);
|
|
58
|
+
return t ? t[1].replace(V, "'") : r;
|
|
5
59
|
}
|
|
6
60
|
export {
|
|
7
|
-
|
|
61
|
+
ie as default
|
|
8
62
|
};
|
package/index36.js
CHANGED
package/index37.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import o from "./
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import o from "./URLSearchParams.js";
|
|
2
|
+
import r from "./FormData.js";
|
|
3
|
+
import t from "./Blob.js";
|
|
4
|
+
const l = {
|
|
5
|
+
isBrowser: !0,
|
|
6
|
+
classes: {
|
|
7
|
+
URLSearchParams: o,
|
|
8
|
+
FormData: r,
|
|
9
|
+
Blob: t
|
|
10
|
+
},
|
|
11
|
+
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
12
|
+
};
|
|
11
13
|
export {
|
|
12
|
-
|
|
14
|
+
l as default
|
|
13
15
|
};
|
package/index38.js
CHANGED
|
@@ -1,13 +1,49 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { __require as v } from "./index41.js";
|
|
2
|
+
var s, f;
|
|
3
|
+
function D() {
|
|
4
|
+
if (f) return s;
|
|
5
|
+
f = 1;
|
|
6
|
+
var y = v(), d = {
|
|
7
|
+
"text/plain": "Text",
|
|
8
|
+
"text/html": "Url",
|
|
9
|
+
default: "Text"
|
|
10
|
+
}, m = "Copy to clipboard: #{key}, Enter";
|
|
11
|
+
function g(r) {
|
|
12
|
+
var a = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
|
13
|
+
return r.replace(/#{\s*key\s*}/g, a);
|
|
14
|
+
}
|
|
15
|
+
function b(r, a) {
|
|
16
|
+
var o, u, p, n, l, e, c = !1;
|
|
17
|
+
a || (a = {}), o = a.debug || !1;
|
|
18
|
+
try {
|
|
19
|
+
p = y(), n = document.createRange(), l = document.getSelection(), e = document.createElement("span"), e.textContent = r, e.ariaHidden = "true", e.style.all = "unset", e.style.position = "fixed", e.style.top = 0, e.style.clip = "rect(0, 0, 0, 0)", e.style.whiteSpace = "pre", e.style.webkitUserSelect = "text", e.style.MozUserSelect = "text", e.style.msUserSelect = "text", e.style.userSelect = "text", e.addEventListener("copy", function(t) {
|
|
20
|
+
if (t.stopPropagation(), a.format)
|
|
21
|
+
if (t.preventDefault(), typeof t.clipboardData > "u") {
|
|
22
|
+
o && console.warn("unable to use e.clipboardData"), o && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
|
23
|
+
var i = d[a.format] || d.default;
|
|
24
|
+
window.clipboardData.setData(i, r);
|
|
25
|
+
} else
|
|
26
|
+
t.clipboardData.clearData(), t.clipboardData.setData(a.format, r);
|
|
27
|
+
a.onCopy && (t.preventDefault(), a.onCopy(t.clipboardData));
|
|
28
|
+
}), document.body.appendChild(e), n.selectNodeContents(e), l.addRange(n);
|
|
29
|
+
var C = document.execCommand("copy");
|
|
30
|
+
if (!C)
|
|
31
|
+
throw new Error("copy command was unsuccessful");
|
|
32
|
+
c = !0;
|
|
33
|
+
} catch (t) {
|
|
34
|
+
o && console.error("unable to copy using execCommand: ", t), o && console.warn("trying IE specific stuff");
|
|
35
|
+
try {
|
|
36
|
+
window.clipboardData.setData(a.format || "text", r), a.onCopy && a.onCopy(window.clipboardData), c = !0;
|
|
37
|
+
} catch (i) {
|
|
38
|
+
o && console.error("unable to copy using clipboardData: ", i), o && console.error("falling back to prompt"), u = g("message" in a ? a.message : m), window.prompt(u, r);
|
|
39
|
+
}
|
|
40
|
+
} finally {
|
|
41
|
+
l && (typeof l.removeRange == "function" ? l.removeRange(n) : l.removeAllRanges()), e && document.body.removeChild(e), p();
|
|
42
|
+
}
|
|
43
|
+
return c;
|
|
44
|
+
}
|
|
45
|
+
return s = b, s;
|
|
10
46
|
}
|
|
11
47
|
export {
|
|
12
|
-
|
|
48
|
+
D as __require
|
|
13
49
|
};
|
package/index39.js
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
var r = o(s), e = r.getUTCFullYear(), t = /* @__PURE__ */ new Date(0);
|
|
7
|
-
t.setUTCFullYear(e + 1, 0, 4), t.setUTCHours(0, 0, 0, 0);
|
|
8
|
-
var u = f(t), a = /* @__PURE__ */ new Date(0);
|
|
9
|
-
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
10
|
-
var i = f(a);
|
|
11
|
-
return r.getTime() >= u.getTime() ? e + 1 : r.getTime() >= i.getTime() ? e : e - 1;
|
|
1
|
+
import { __module as r } from "./index42.js";
|
|
2
|
+
import { __require as o } from "./factoryWithThrowingShims.js";
|
|
3
|
+
var e;
|
|
4
|
+
function s() {
|
|
5
|
+
return e ? r.exports : (e = 1, r.exports = /* @__PURE__ */ o()(), r.exports);
|
|
12
6
|
}
|
|
13
7
|
export {
|
|
14
|
-
|
|
8
|
+
s as __require
|
|
15
9
|
};
|