mozrest-sdk-react-dev 0.2.71 → 0.2.72
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/mozrest-sdk.es.js +37 -14
- package/package.json +1 -1
- package/style.css +1 -1
package/mozrest-sdk.es.js
CHANGED
|
@@ -6482,6 +6482,8 @@ const ARE_YOU_SURE_DELETE_SPECIAL_DATE = "Are you sure you want to delete this s
|
|
|
6482
6482
|
const RESERVATION_PREFERENCES = "Reservation preferences";
|
|
6483
6483
|
const RESERVATION_PREFERENCES_DESC = "Set your rules in order to maximise and optimise your occupation rate.";
|
|
6484
6484
|
const MAX_RESERVATIONS_ARRIVAL_PER_SLOT = "Max reservations arrival per slot";
|
|
6485
|
+
const CANCELED = "Canceled";
|
|
6486
|
+
const COMPLETED = "Completed";
|
|
6485
6487
|
var en = {
|
|
6486
6488
|
errors,
|
|
6487
6489
|
SPECIALCLOSINGDATES,
|
|
@@ -6850,7 +6852,10 @@ var en = {
|
|
|
6850
6852
|
ARE_YOU_SURE_DELETE_SPECIAL_DATE,
|
|
6851
6853
|
RESERVATION_PREFERENCES,
|
|
6852
6854
|
RESERVATION_PREFERENCES_DESC,
|
|
6853
|
-
MAX_RESERVATIONS_ARRIVAL_PER_SLOT
|
|
6855
|
+
MAX_RESERVATIONS_ARRIVAL_PER_SLOT,
|
|
6856
|
+
CANCELED,
|
|
6857
|
+
COMPLETED,
|
|
6858
|
+
"NO-SHOW": "No-show"
|
|
6854
6859
|
};
|
|
6855
6860
|
instance.use(initReactI18next).init({
|
|
6856
6861
|
resources: {
|
|
@@ -7816,6 +7821,23 @@ var styles$22 = {
|
|
|
7816
7821
|
"btn--danger": "_btn--danger_1wg4v_59",
|
|
7817
7822
|
"btn--success": "_btn--success_1wg4v_67"
|
|
7818
7823
|
};
|
|
7824
|
+
const fileSad = () => /* @__PURE__ */ React__default.createElement("svg", {
|
|
7825
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7826
|
+
viewBox: "0 0 24 24",
|
|
7827
|
+
fill: "none",
|
|
7828
|
+
stroke: "currentColor",
|
|
7829
|
+
strokeLinecap: "round",
|
|
7830
|
+
strokeLinejoin: "round",
|
|
7831
|
+
width: "24",
|
|
7832
|
+
height: "24",
|
|
7833
|
+
strokeWidth: "2"
|
|
7834
|
+
}, /* @__PURE__ */ React__default.createElement("path", {
|
|
7835
|
+
d: "M14 3v4a1 1 0 0 0 1 1h4"
|
|
7836
|
+
}), /* @__PURE__ */ React__default.createElement("path", {
|
|
7837
|
+
d: "M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2zm-7 -7h.01m3.99 0h.01"
|
|
7838
|
+
}), /* @__PURE__ */ React__default.createElement("path", {
|
|
7839
|
+
d: "M10 18a3.5 3.5 0 0 1 4 0"
|
|
7840
|
+
}));
|
|
7819
7841
|
const robot$1 = () => /* @__PURE__ */ React__default.createElement("svg", {
|
|
7820
7842
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7821
7843
|
width: "16",
|
|
@@ -9048,6 +9070,7 @@ const clock$1 = () => {
|
|
|
9048
9070
|
};
|
|
9049
9071
|
var icons$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9050
9072
|
__proto__: null,
|
|
9073
|
+
fileSad,
|
|
9051
9074
|
robot: robot$1,
|
|
9052
9075
|
roundTable: roundTable$1,
|
|
9053
9076
|
download: download$1,
|
|
@@ -9118,9 +9141,9 @@ var icons$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
9118
9141
|
people: people$1,
|
|
9119
9142
|
clock: clock$1
|
|
9120
9143
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9121
|
-
const icon$
|
|
9144
|
+
const icon$7 = "_icon_1i2ej_1";
|
|
9122
9145
|
var styles$21 = {
|
|
9123
|
-
icon: icon$
|
|
9146
|
+
icon: icon$7,
|
|
9124
9147
|
"icon--small": "_icon--small_1i2ej_12",
|
|
9125
9148
|
"icon--medium": "_icon--medium_1i2ej_15",
|
|
9126
9149
|
"icon--large": "_icon--large_1i2ej_18",
|
|
@@ -34957,7 +34980,7 @@ var getBuiltIn$1 = getBuiltIn$5;
|
|
|
34957
34980
|
var inspectSource = inspectSource$2;
|
|
34958
34981
|
var noop$7 = function() {
|
|
34959
34982
|
};
|
|
34960
|
-
var empty$
|
|
34983
|
+
var empty$1 = [];
|
|
34961
34984
|
var construct = getBuiltIn$1("Reflect", "construct");
|
|
34962
34985
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
34963
34986
|
var exec = uncurryThis$1(constructorRegExp.exec);
|
|
@@ -34966,7 +34989,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
34966
34989
|
if (!isCallable(argument))
|
|
34967
34990
|
return false;
|
|
34968
34991
|
try {
|
|
34969
|
-
construct(noop$7, empty$
|
|
34992
|
+
construct(noop$7, empty$1, argument);
|
|
34970
34993
|
return true;
|
|
34971
34994
|
} catch (error3) {
|
|
34972
34995
|
return false;
|
|
@@ -39681,10 +39704,10 @@ const Heading = ({ children, level = "h1", size = "medium", id: id2, ...props })
|
|
|
39681
39704
|
}, children);
|
|
39682
39705
|
};
|
|
39683
39706
|
const header$6 = "_header_190p9_1";
|
|
39684
|
-
const icon$
|
|
39707
|
+
const icon$6 = "_icon_190p9_10";
|
|
39685
39708
|
var styles$1M = {
|
|
39686
39709
|
header: header$6,
|
|
39687
|
-
icon: icon$
|
|
39710
|
+
icon: icon$6
|
|
39688
39711
|
};
|
|
39689
39712
|
const Header$5 = ({ header: header2 }) => {
|
|
39690
39713
|
if (!header2) {
|
|
@@ -39728,20 +39751,20 @@ const Header$4 = ({ title: title2 }) => {
|
|
|
39728
39751
|
className: styles$1K.header
|
|
39729
39752
|
}, /* @__PURE__ */ React__default.createElement(Heading, null, " ", title2));
|
|
39730
39753
|
};
|
|
39731
|
-
|
|
39732
|
-
const
|
|
39733
|
-
const img = "
|
|
39754
|
+
const container$D = "_container_1br9g_1";
|
|
39755
|
+
const icon$5 = "_icon_1br9g_8";
|
|
39756
|
+
const img = "_img_1br9g_14";
|
|
39734
39757
|
var styles$1J = {
|
|
39735
39758
|
container: container$D,
|
|
39759
|
+
icon: icon$5,
|
|
39736
39760
|
img
|
|
39737
39761
|
};
|
|
39738
39762
|
const Empty = ({ children }) => {
|
|
39739
39763
|
return /* @__PURE__ */ React__default.createElement("div", {
|
|
39740
39764
|
className: styles$1J.container
|
|
39741
|
-
}, /* @__PURE__ */ React__default.createElement(
|
|
39742
|
-
|
|
39743
|
-
className: styles$1J.
|
|
39744
|
-
alt: "empty"
|
|
39765
|
+
}, /* @__PURE__ */ React__default.createElement(Icon$2, {
|
|
39766
|
+
icon: "fileSad",
|
|
39767
|
+
className: styles$1J.icon
|
|
39745
39768
|
}), /* @__PURE__ */ React__default.createElement("h2", null, children));
|
|
39746
39769
|
};
|
|
39747
39770
|
const container$C = "_container_ntfln_1";
|