@commercelayer/app-elements 0.0.78 → 0.0.79
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/{Async-163e6f77.js → Async-2e9c3da2.js} +5 -3
- package/dist/{InputDateComponent-6853e317.js → InputDateComponent-fe3ffd00.js} +4 -2
- package/dist/{Select-a7b98c9a.js → Select-be90391b.js} +5 -3
- package/dist/helpers/appsNavigation.d.ts +1 -0
- package/dist/hooks/useOverlayNavigation.d.ts +1 -0
- package/dist/{main-740e7f02.js → main-bd408fbe.js} +12557 -11009
- package/dist/main.d.ts +18 -0
- package/dist/main.js +151 -127
- package/dist/{overrides-f9354b78.js → overrides-684ed062.js} +2 -2
- package/dist/providers/TokenProvider/MockTokenProvider.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/ui/atoms/A.d.ts +1 -0
- package/dist/ui/atoms/Avatar.d.ts +1 -0
- package/dist/ui/atoms/AvatarLetter.d.ts +1 -0
- package/dist/ui/atoms/BlockCode.d.ts +1 -0
- package/dist/ui/atoms/ButtonFilter.d.ts +1 -0
- package/dist/ui/atoms/Card.d.ts +2 -0
- package/dist/ui/atoms/Container.d.ts +1 -0
- package/dist/ui/atoms/CopyToClipboard.d.ts +1 -0
- package/dist/ui/atoms/Hr.d.ts +1 -0
- package/dist/ui/atoms/Icon.d.ts +1 -0
- package/dist/ui/atoms/Pagination.d.ts +1 -0
- package/dist/ui/atoms/Progress.d.ts +1 -0
- package/dist/ui/atoms/StatusDot.d.ts +1 -0
- package/dist/ui/atoms/Steps.d.ts +1 -0
- package/dist/ui/atoms/dropdown/DropdownMenu.d.ts +1 -0
- package/dist/ui/atoms/dropdown/DropdownMenuDivider.d.ts +1 -0
- package/dist/ui/atoms/dropdown/DropdownMenuItem.d.ts +1 -0
- package/dist/ui/atoms/tables/Td.d.ts +1 -0
- package/dist/ui/atoms/tables/Th.d.ts +1 -0
- package/dist/ui/atoms/tables/Tr.d.ts +1 -0
- package/dist/ui/composite/ContextMenu.d.ts +1 -0
- package/dist/ui/composite/PageError.d.ts +1 -0
- package/dist/ui/composite/PageSkeleton.d.ts +1 -0
- package/dist/ui/composite/SearchBar.d.ts +1 -0
- package/dist/ui/forms/Input.d.ts +1 -0
- package/dist/ui/forms/InputCheckbox.d.ts +1 -0
- package/dist/ui/forms/InputCurrency/index.d.ts +1 -0
- package/dist/ui/forms/InputCurrencyRange.d.ts +1 -0
- package/dist/ui/forms/InputDate/InputDateComponent.d.ts +1 -0
- package/dist/ui/forms/InputDate/index.d.ts +1 -0
- package/dist/ui/forms/InputDateRange.d.ts +1 -0
- package/dist/ui/forms/InputFeedback.d.ts +1 -0
- package/dist/ui/forms/InputFile.d.ts +1 -0
- package/dist/ui/forms/InputJson.d.ts +1 -0
- package/dist/ui/forms/InputReadonly.d.ts +1 -0
- package/dist/ui/forms/InputSelect/Async.d.ts +1 -0
- package/dist/ui/forms/InputSelect/Select.d.ts +1 -0
- package/dist/ui/forms/InputSelect/overrides.d.ts +1 -0
- package/dist/ui/forms/InputSpinner.d.ts +1 -0
- package/dist/ui/forms/InputTextArea.d.ts +1 -0
- package/dist/ui/forms/InputToggleBox.d.ts +1 -0
- package/dist/ui/forms/InputToggleListBox.d.ts +1 -0
- package/dist/ui/forms/Label.d.ts +1 -0
- package/dist/ui/forms/ToggleButtons.d.ts +1 -0
- package/dist/ui/hook-form/HookedForm.d.ts +34 -0
- package/dist/ui/hook-form/HookedInput.d.ts +17 -0
- package/dist/ui/hook-form/HookedInputCheckbox.d.ts +17 -0
- package/dist/ui/hook-form/HookedInputCurrency.d.ts +18 -0
- package/dist/ui/hook-form/HookedInputDate.d.ts +18 -0
- package/dist/ui/hook-form/HookedInputDateRange.d.ts +19 -0
- package/dist/ui/hook-form/HookedInputMetadata.d.ts +19 -0
- package/dist/ui/hook-form/HookedInputSelect.d.ts +34 -0
- package/dist/ui/hook-form/HookedInputSpinner.d.ts +17 -0
- package/dist/ui/hook-form/HookedInputToggleBox.d.ts +21 -0
- package/dist/ui/hook-form/HookedInputToggleListBox.d.ts +21 -0
- package/dist/ui/hook-form/HookedRelationshipSelector.d.ts +18 -0
- package/dist/ui/hook-form/HookedToggleButtons.d.ts +18 -0
- package/dist/ui/hook-form/HookedValidationApiError.d.ts +22 -0
- package/dist/ui/hook-form/HookedValidationError.d.ts +12 -0
- package/dist/ui/hook-form/setApiFormErrors.d.ts +19 -0
- package/dist/ui/hook-form/setApiFormErrors.test.d.ts +1 -0
- package/dist/ui/hook-form/useValidationFeedback.d.ts +4 -0
- package/dist/ui/internals/InputWrapper.d.ts +1 -0
- package/dist/ui/resources/Filters/FieldCurrencyRange.d.ts +7 -0
- package/dist/ui/resources/Filters/FieldItem.d.ts +7 -0
- package/dist/ui/resources/Filters/FieldTimeRange.d.ts +7 -0
- package/dist/ui/resources/Filters/FiltersForm.d.ts +17 -0
- package/dist/ui/resources/Filters/FiltersNav.d.ts +25 -0
- package/dist/ui/resources/Filters/FiltersSearchBar.d.ts +28 -0
- package/dist/ui/resources/Filters/adaptFormValuesToSdk.d.ts +19 -0
- package/dist/ui/resources/Filters/adaptFormValuesToSdk.test.d.ts +1 -0
- package/dist/ui/resources/Filters/adaptFormValuesToUrlQuery.d.ts +11 -0
- package/dist/ui/resources/Filters/adaptFormValuesToUrlQuery.test.d.ts +1 -0
- package/dist/ui/resources/Filters/adaptUrlQueryToFormValues.d.ts +11 -0
- package/dist/ui/resources/Filters/adaptUrlQueryToFormValues.test.d.ts +1 -0
- package/dist/ui/resources/Filters/adaptUrlQueryToSdk.d.ts +14 -0
- package/dist/ui/resources/Filters/adaptUrlQueryToSdk.test.d.ts +1 -0
- package/dist/ui/resources/Filters/adaptUrlQueryToUrlQuery.d.ts +11 -0
- package/dist/ui/resources/Filters/adaptUrlQueryToUrlQuery.test.d.ts +1 -0
- package/dist/ui/resources/Filters/adapters.d.ts +2 -0
- package/dist/ui/resources/Filters/adapters.types.d.ts +20 -0
- package/dist/ui/resources/Filters/index.d.ts +5 -0
- package/dist/ui/resources/Filters/mockedInstructions.d.ts +2 -0
- package/dist/ui/resources/Filters/timeUtils.d.ts +36 -0
- package/dist/ui/resources/Filters/timeUtils.test.d.ts +1 -0
- package/dist/ui/resources/Filters/types.d.ts +130 -0
- package/dist/ui/resources/Filters/useFilters.d.ts +59 -0
- package/dist/ui/resources/Filters/utils.d.ts +29 -0
- package/dist/ui/resources/Filters/utils.test.d.ts +1 -0
- package/dist/ui/resources/OrderSummary.d.ts +1 -0
- package/dist/ui/resources/RelationshipSelector/Checkbox.d.ts +1 -0
- package/dist/ui/resources/RelationshipSelector/FullList.d.ts +1 -0
- package/dist/ui/resources/RelationshipSelector/index.d.ts +1 -0
- package/dist/ui/resources/ResourceList/utils.d.ts +1 -0
- package/dist/ui/tables/TableData.d.ts +1 -0
- package/dist/{unsupportedIterableToArray-1a2db0a9.js → unsupportedIterableToArray-a4407b22.js} +1 -1
- package/dist/utils/htmltags.d.ts +1 -0
- package/package.json +8 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { L as de, H as le } from "./main-
|
|
1
|
+
import { L as de, H as le } from "./main-bd408fbe.js";
|
|
2
2
|
import * as ce from "react";
|
|
3
3
|
import { useRef as F, useState as a, useEffect as x, useCallback as D, forwardRef as ve } from "react";
|
|
4
|
-
import { _ as Oe, a as s, h as Se, b as g, u as me, S as _e, c as he, s as ge } from "./overrides-
|
|
5
|
-
import { d as ye } from "./unsupportedIterableToArray-
|
|
4
|
+
import { _ as Oe, a as s, h as Se, b as g, u as me, S as _e, c as he, s as ge } from "./overrides-684ed062.js";
|
|
5
|
+
import { d as ye } from "./unsupportedIterableToArray-a4407b22.js";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "@commercelayer/sdk";
|
|
8
|
+
import "react-hook-form";
|
|
9
|
+
import "query-string";
|
|
8
10
|
var Ce = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
|
|
9
11
|
function Ie(t) {
|
|
10
12
|
var o = t.defaultOptions, n = o === void 0 ? !1 : o, i = t.cacheOptions, u = i === void 0 ? !1 : i, r = t.loadOptions;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { P as Ma, r as E, a as Rn, t as H, b as Mt, c as Ee, d as _, g as Cr, _ as Qt, s as je, e as cr, f as xa, h as ur, i as Ln, j as Sa, k as Oa, l as Ea, m as qr, n as _a, o as Kr, p as Pa, q as Ta, u as Na, v as An, w as ae, x as nt, y as pr, z as Hn, A as Ya, B as lr, C as Zr, D as Ia, E as Ra, F as La, G as At, H as Ke, I as Aa, J as Ha, K as Fa } from "./main-
|
|
1
|
+
import { P as Ma, r as E, a as Rn, t as H, b as Mt, c as Ee, d as _, g as Cr, _ as Qt, s as je, e as cr, f as xa, h as ur, i as Ln, j as Sa, k as Oa, l as Ea, m as qr, n as _a, o as Kr, p as Pa, q as Ta, u as Na, v as An, w as ae, x as nt, y as pr, z as Hn, A as Ya, B as lr, C as Zr, D as Ia, E as Ra, F as La, G as At, H as Ke, I as Aa, J as Ha, K as Fa } from "./main-bd408fbe.js";
|
|
2
2
|
import * as B from "react";
|
|
3
3
|
import h, { forwardRef as Fn, createElement as ja, Component as Ua, createRef as Ba } from "react";
|
|
4
|
-
import { _ as Wa, a as I, b as R, c as N, d as D, e as b, f as Y } from "./unsupportedIterableToArray-
|
|
4
|
+
import { _ as Wa, a as I, b as R, c as N, d as D, e as b, f as Y } from "./unsupportedIterableToArray-a4407b22.js";
|
|
5
5
|
import * as Va from "react-dom";
|
|
6
6
|
import Qa, { findDOMNode as $a } from "react-dom";
|
|
7
7
|
import "@commercelayer/sdk";
|
|
8
|
+
import "react-hook-form";
|
|
9
|
+
import "query-string";
|
|
8
10
|
var qa = Object.defineProperty, Ka = Object.defineProperties, Za = Object.getOwnPropertyDescriptors, zr = Object.getOwnPropertySymbols, za = Object.prototype.hasOwnProperty, Xa = Object.prototype.propertyIsEnumerable, Xr = (a, r, n) => r in a ? qa(a, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[r] = n, Ga = (a, r) => {
|
|
9
11
|
for (var n in r || (r = {}))
|
|
10
12
|
za.call(r, n) && Xr(a, n, r[n]);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { H as n } from "./main-
|
|
2
|
-
import { u as s, S as m, c as p, s as i } from "./overrides-
|
|
1
|
+
import { H as n } from "./main-bd408fbe.js";
|
|
2
|
+
import { u as s, S as m, c as p, s as i } from "./overrides-684ed062.js";
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { forwardRef as S } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "@commercelayer/sdk";
|
|
7
|
-
import "
|
|
7
|
+
import "react-hook-form";
|
|
8
|
+
import "query-string";
|
|
9
|
+
import "./unsupportedIterableToArray-a4407b22.js";
|
|
8
10
|
var f = /* @__PURE__ */ S(function(e, t) {
|
|
9
11
|
var o = s(e);
|
|
10
12
|
return /* @__PURE__ */ c.createElement(m, p({
|