davis-components 0.3.8 → 0.3.10

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.
@@ -230,10 +230,10 @@ function jl() {
230
230
  }
231
231
  var a0 = !1, Oe;
232
232
  {
233
- var n0 = typeof WeakMap == "function" ? WeakMap : Map;
234
- Oe = new n0();
233
+ var i0 = typeof WeakMap == "function" ? WeakMap : Map;
234
+ Oe = new i0();
235
235
  }
236
- function i0(o, f) {
236
+ function n0(o, f) {
237
237
  if (!o || a0)
238
238
  return "";
239
239
  {
@@ -305,7 +305,7 @@ function jl() {
305
305
  return typeof o == "function" && Oe.set(o, p0), p0;
306
306
  }
307
307
  function _0(o, f, j) {
308
- return i0(o, !1);
308
+ return n0(o, !1);
309
309
  }
310
310
  function Je(o) {
311
311
  var f = o.prototype;
@@ -315,7 +315,7 @@ function jl() {
315
315
  if (o == null)
316
316
  return "";
317
317
  if (typeof o == "function")
318
- return i0(o, Je(o));
318
+ return n0(o, Je(o));
319
319
  if (typeof o == "string")
320
320
  return we(o);
321
321
  switch (o) {
@@ -1911,10 +1911,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1911
1911
  return L;
1912
1912
  }
1913
1913
  function V(v, N) {
1914
- var c = v.element, L = v.popper, O = v.position, E = O === void 0 ? "bottom-center" : O, F = v.containerStyle, ee = v.containerClassName, te = ee === void 0 ? "" : ee, K = v.arrow, z = v.arrowStyle, oe = z === void 0 ? {} : z, Ae = v.arrowClassName, Ee = Ae === void 0 ? "" : Ae, Be = v.fixMainPosition, o0 = v.fixRelativePosition, r0 = v.offsetY, Ne = v.offsetX, Xe = v.animations, Re = v.zIndex, Se = Re === void 0 ? 0 : Re, g = v.popperShadow, G = v.onChange, ke = v.active, Ue = ke === void 0 || ke, I = v.portal, ue = v.portalTarget, pe = typeof window < "u", we = pe && ue instanceof HTMLElement, a0 = K === !0, Oe = L && Ue === !0, n0 = l.useRef(), i0 = l.useRef(), _0 = l.useRef(), Je = l.useRef(), l0 = l.useMemo(function() {
1914
+ var c = v.element, L = v.popper, O = v.position, E = O === void 0 ? "bottom-center" : O, F = v.containerStyle, ee = v.containerClassName, te = ee === void 0 ? "" : ee, K = v.arrow, z = v.arrowStyle, oe = z === void 0 ? {} : z, Ae = v.arrowClassName, Ee = Ae === void 0 ? "" : Ae, Be = v.fixMainPosition, o0 = v.fixRelativePosition, r0 = v.offsetY, Ne = v.offsetX, Xe = v.animations, Re = v.zIndex, Se = Re === void 0 ? 0 : Re, g = v.popperShadow, G = v.onChange, ke = v.active, Ue = ke === void 0 || ke, I = v.portal, ue = v.portalTarget, pe = typeof window < "u", we = pe && ue instanceof HTMLElement, a0 = K === !0, Oe = L && Ue === !0, i0 = l.useRef(), n0 = l.useRef(), _0 = l.useRef(), Je = l.useRef(), l0 = l.useMemo(function() {
1915
1915
  return { position: E, fixMainPosition: Be, fixRelativePosition: o0, offsetY: r0, offsetX: Ne, defaultArrow: a0, animations: Xe, zIndex: Se, onChange: G };
1916
1916
  }, [E, Be, o0, r0, Ne, a0, Xe, G, Se]), E0 = l.useCallback(function() {
1917
- _0.current && (_0.current.style.transition = ""), i0.current && (i0.current.parentNode.style.transition = "");
1917
+ _0.current && (_0.current.style.transition = ""), n0.current && (n0.current.parentNode.style.transition = "");
1918
1918
  }, []), A0 = { element: m({ display: "inline-block", height: "max-content" }, F), arrow: m({ visibility: "hidden", left: "0", top: "0", position: "absolute" }, oe), popper: { position: "absolute", left: "0", top: "0", willChange: "transform", visibility: "hidden", zIndex: Se } };
1919
1919
  pe && !Je.current && (Je.current = document.createElement("div"), Je.current.data = { portal: I, isValidPortalTarget: we }), l.useEffect(function() {
1920
1920
  if (I && !we) {
@@ -1924,35 +1924,35 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1924
1924
  };
1925
1925
  }
1926
1926
  }, [I, we]), l.useEffect(function() {
1927
- if (!Oe) return E0(), i0.current.parentNode.style.visibility = "hidden", void (_0.current && (_0.current.style.visibility = "hidden"));
1927
+ if (!Oe) return E0(), n0.current.parentNode.style.visibility = "hidden", void (_0.current && (_0.current.style.visibility = "hidden"));
1928
1928
  function Fe(S0) {
1929
- S0 && S0.type !== "resize" && !S0.target.contains(n0.current) || (S0 && E0(), x(n0, i0, _0, l0, S0));
1929
+ S0 && S0.type !== "resize" && !S0.target.contains(i0.current) || (S0 && E0(), x(i0, n0, _0, l0, S0));
1930
1930
  }
1931
1931
  return Fe(), document.addEventListener("scroll", Fe, !0), window.addEventListener("resize", Fe), function() {
1932
1932
  document.removeEventListener("scroll", Fe, !0), window.removeEventListener("resize", Fe);
1933
1933
  };
1934
1934
  }, [Oe, l0, E0]), l.useEffect(function() {
1935
1935
  var Fe = { portal: I, isValidPortalTarget: we }, S0 = Je.current.data;
1936
- JSON.stringify(Fe) !== JSON.stringify(S0) && (Je.current.data = Fe, n0.current.refreshPosition());
1936
+ JSON.stringify(Fe) !== JSON.stringify(S0) && (Je.current.data = Fe, i0.current.refreshPosition());
1937
1937
  }, [I, we]);
1938
1938
  var K0 = s.default.createElement(s.default.Fragment, null, function() {
1939
1939
  if (!K || !Oe) return null;
1940
1940
  var Fe = s.default.createElement("div", { ref: _0, style: A0.arrow }), S0 = l.isValidElement(K) ? { children: K } : { className: "ep-arrow ".concat(g ? "ep-shadow" : "", " ").concat(Ee) };
1941
1941
  return l.cloneElement(Fe, S0);
1942
- }(), s.default.createElement("div", { className: g ? "ep-popper-shadow" : "", style: A0.popper }, s.default.createElement("div", { ref: i0 }, L)));
1942
+ }(), s.default.createElement("div", { className: g ? "ep-popper-shadow" : "", style: A0.popper }, s.default.createElement("div", { ref: n0 }, L)));
1943
1943
  return s.default.createElement("div", { ref: function(Fe) {
1944
1944
  if (Fe && (Fe.removeTransition = E0, Fe.refreshPosition = function() {
1945
1945
  return setTimeout(function() {
1946
- return x(n0, i0, _0, l0, {});
1946
+ return x(i0, n0, _0, l0, {});
1947
1947
  }, 10);
1948
- }), n0.current = Fe, N instanceof Function) return N(Fe);
1948
+ }), i0.current = Fe, N instanceof Function) return N(Fe);
1949
1949
  N && (N.current = Fe);
1950
1950
  }, className: te, style: A0.element }, c, I && pe ? i.createPortal(K0, we ? ue : Je.current) : K0);
1951
1951
  }
1952
1952
  function x(v, N, c, L, O) {
1953
1953
  var E = L.position, F = L.fixMainPosition, ee = L.fixRelativePosition, te = L.offsetY, K = te === void 0 ? 0 : te, z = L.offsetX, oe = z === void 0 ? 0 : z, Ae = L.defaultArrow, Ee = L.animations, Be = Ee === void 0 ? [] : Ee, o0 = L.zIndex, r0 = L.onChange;
1954
1954
  if (v.current && N.current) {
1955
- var Ne, Xe, Re, Se, g = (Xe = window.pageXOffset !== void 0, Re = (document.compatMode || "") === "CSS1Compat", { scrollLeft: Xe ? window.pageXOffset : Re ? document.documentElement.scrollLeft : document.body.scrollLeft, scrollTop: Xe ? window.pageYOffset : Re ? document.documentElement.scrollTop : document.body.scrollTop }), G = g.scrollLeft, ke = g.scrollTop, Ue = h(v.current, G, ke), I = Ue.top, ue = Ue.left, pe = Ue.height, we = Ue.width, a0 = Ue.right, Oe = Ue.bottom, n0 = h(N.current, G, ke), i0 = n0.top, _0 = n0.left, Je = n0.height, l0 = n0.width, E0 = document.documentElement, A0 = E0.clientHeight, K0 = E0.clientWidth, Fe = N.current.parentNode, S0 = function(fe) {
1955
+ var Ne, Xe, Re, Se, g = (Xe = window.pageXOffset !== void 0, Re = (document.compatMode || "") === "CSS1Compat", { scrollLeft: Xe ? window.pageXOffset : Re ? document.documentElement.scrollLeft : document.body.scrollLeft, scrollTop: Xe ? window.pageYOffset : Re ? document.documentElement.scrollTop : document.body.scrollTop }), G = g.scrollLeft, ke = g.scrollTop, Ue = h(v.current, G, ke), I = Ue.top, ue = Ue.left, pe = Ue.height, we = Ue.width, a0 = Ue.right, Oe = Ue.bottom, i0 = h(N.current, G, ke), n0 = i0.top, _0 = i0.left, Je = i0.height, l0 = i0.width, E0 = document.documentElement, A0 = E0.clientHeight, K0 = E0.clientWidth, Fe = N.current.parentNode, S0 = function(fe) {
1956
1956
  if (!fe) return [0, 0];
1957
1957
  var ne = b((fe.style.transform.match(/translate\((.*?)px,\s(.*?)px\)/) || []).map(function(H) {
1958
1958
  return Number(H);
@@ -1965,7 +1965,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1965
1965
  return be && (H === "start" && (H = "top"), H === "end" && (H = "bottom")), de && (H === "start" && (H = "left"), H === "end" && (H = "right")), [f, H, de, be];
1966
1966
  }(E), r = b(N2, 4), u = r[0], p = r[1], k = r[2], _ = r[3], M = u, W = function(fe, ne) {
1967
1967
  return "translate(".concat(fe, "px, ").concat(ne, "px)");
1968
- }, $ = we - l0, U = pe - Je, X = p === "left" ? 0 : p === "right" ? $ : $ / 2, P = $ - X, q = p === "top" ? 0 : p === "bottom" ? U : U / 2, T = U - q, le = ue - _0 + M2, Le = I - i0 + _2, ie = 0, ce = 0, ye = A(v.current), Pe = [], Ie = c.current, Ye = h(Ie, G, ke) || {}, ze = Ye.height, ve = ze === void 0 ? 0 : ze, Ze = Ye.width, Me = Ze === void 0 ? 0 : Ze, Q = le, J = Le, ae = { top: "bottom", bottom: "top", left: "right", right: "left" };
1968
+ }, $ = we - l0, U = pe - Je, X = p === "left" ? 0 : p === "right" ? $ : $ / 2, P = $ - X, q = p === "top" ? 0 : p === "bottom" ? U : U / 2, T = U - q, le = ue - _0 + M2, Le = I - n0 + _2, ie = 0, ce = 0, ye = A(v.current), Pe = [], Ie = c.current, Ye = h(Ie, G, ke) || {}, ze = Ye.height, ve = ze === void 0 ? 0 : ze, Ze = Ye.width, Me = Ze === void 0 ? 0 : Ze, Q = le, J = Le, ae = { top: "bottom", bottom: "top", left: "right", right: "left" };
1969
1969
  for (k && (le += X, Le += u === "top" ? -Je : pe, Ae && (ve = 11, Me = 20)), _ && (le += u === "left" ? -l0 : we, Le += q, Ae && (ve = 20, Me = 11)); ye; ) Pe.push(ye), Ce(h(ye, G, ke)), ye = A(ye.parentNode);
1970
1970
  Ce({ top: ke, bottom: ke + A0, left: G, right: G + K0, height: A0, width: K0 }), k && (Le += M === "bottom" ? K : -K), _ && (le += M === "right" ? oe : -oe), le -= ie, Le -= ce, Ne = ae[M], Ie && (k && ((Se = we < l0) ? Q += we / 2 : Q = le + l0 / 2, Q -= Me / 2, M === "bottom" && (J = Le, Le += ve), M === "top" && (J = (Le -= ve) + Je), ie < 0 && ie - X < 0 && (Se ? Q += (X - ie) / 2 : we - X + ie < l0 && (Q += (we - X + ie - l0) / 2)), ie > 0 && ie + P > 0 && (Se ? Q -= (ie + P) / 2 : we - ie - P < l0 && (Q -= (we - ie - P - l0) / 2))), _ && ((Se = pe < Je) ? J += pe / 2 : J = Le + Je / 2, J -= ve / 2, M === "left" && (Q = (le -= Me) + l0), M === "right" && (Q = le, le += Me), ce < 0 && ce - q < 0 && (Se ? J += (q - ce) / 2 : pe - q + ce < Je && (J += (pe - q + ce - Je) / 2)), ce > 0 && ce + T > 0 && (Se ? J -= (ce + T) / 2 : pe - ce - T < Je && (J -= (pe - ce - T - Je) / 2))), Ie.setAttribute("direction", Ne), Ie.style.height = ve + "px", Ie.style.width = Me + "px", Ie.style.transform = W(Q, J), Ie.style.visibility = "visible", Ie.style.zIndex = o0 + 1), Fe.style.transform = W(le, Le);
1971
1971
  var re = { popper: { top: Le, bottom: Le + Je, left: le, right: le + l0, height: Je, width: l0 }, element: { top: I, bottom: Oe, left: ue, right: a0, height: pe, width: we }, arrow: { top: J, bottom: J + ve, left: Q, right: Q + Me, height: ve, width: Me, direction: Ne }, position: M + "-" + (ie !== 0 ? "auto" : p), scroll: { scrollLeft: G, scrollTop: ke }, scrollableParents: Pe, event: O };
@@ -3252,16 +3252,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3252
3252
  }
3253
3253
  var pe = new m.default(), we = pe.calendar, a0 = pe.locale;
3254
3254
  function Oe(r, u) {
3255
- return r && r.constructor !== Object && (ue(n0("calendar")), r = void 0), u && u.constructor !== Object && (ue(n0("locale")), u = void 0), [r || we, u || a0];
3255
+ return r && r.constructor !== Object && (ue(i0("calendar")), r = void 0), u && u.constructor !== Object && (ue(i0("locale")), u = void 0), [r || we, u || a0];
3256
3256
  }
3257
- function n0(r) {
3257
+ function i0(r) {
3258
3258
  return ["".concat(r, " must be an object"), "https://shahabyazdi.github.io/react-multi-date-picker/calendars/"];
3259
3259
  }
3260
- function i0(r) {
3260
+ function n0(r) {
3261
3261
  return r && r.name ? r.name.split("_")[1] : "";
3262
3262
  }
3263
3263
  function _0(r) {
3264
- return ["fa", "ar"].includes(i0(r));
3264
+ return ["fa", "ar"].includes(n0(r));
3265
3265
  }
3266
3266
  function Je(r, u) {
3267
3267
  u === void 0 && (u = {});
@@ -3502,7 +3502,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3502
3502
  })))), active: !Z && Y2, position: he, arrow: !Z && h0, fixMainPosition: !fe || L0, zIndex: We, onChange: !Z && g0, containerClassName: "rmdp-container ".concat(de), arrowClassName: ["rmdp-ep-arrow", "rmdp-ep-".concat(f0 ? "shadow" : "border"), ze, Ve].join(" ") }, J2));
3503
3503
  function d0(D) {
3504
3504
  var me, $e = _ || new m.default().locale;
3505
- return typeof $e.name != "string" ? D : z0?.[D] || ((me = { en: { OK: "OK", CANCEL: "CANCEL" }, fa: { OK: "تأیید", CANCEL: "لغو" }, ar: { OK: "تأكيد", CANCEL: "الغاء" }, hi: { OK: "पुष्टि", CANCEL: "रद्द करें" } }[i0($e)]) === null || me === void 0 ? void 0 : me[D]) || D;
3505
+ return typeof $e.name != "string" ? D : z0?.[D] || ((me = { en: { OK: "OK", CANCEL: "CANCEL" }, fa: { OK: "تأیید", CANCEL: "لغو" }, ar: { OK: "تأكيد", CANCEL: "الغاء" }, hi: { OK: "पुष्टि", CANCEL: "रद्द करें" } }[n0($e)]) === null || me === void 0 ? void 0 : me[D]) || D;
3506
3506
  }
3507
3507
  function Qe() {
3508
3508
  if (!Ze && !v0 && je?.() !== !1) {
@@ -4544,10 +4544,10 @@ const Et = (e, n) => {
4544
4544
  ue,
4545
4545
  { stateToHTML: pe }
4546
4546
  ] = await Promise.all([
4547
- import("./react-draft-wysiwyg-D4iWeIBX.js").then((Oe) => Oe.r),
4548
- import("./Draft-B8avqbBS.js").then((Oe) => Oe.D),
4549
- import("./html-to-draftjs-DCPGmLHv.js").then((Oe) => Oe.h),
4550
- import("./main-B--EX-WM.js")
4547
+ import("./react-draft-wysiwyg-CYmW_tVZ.js").then((Oe) => Oe.r),
4548
+ import("./Draft-DL2vgqx9.js").then((Oe) => Oe.D),
4549
+ import("./html-to-draftjs-zczK3VR-.js").then((Oe) => Oe.h),
4550
+ import("./main-W8p8iQE0.js")
4551
4551
  ]);
4552
4552
  z.current = Se;
4553
4553
  const we = ue.default;
@@ -4556,22 +4556,22 @@ const Et = (e, n) => {
4556
4556
  if (!Oe) return g.createEmpty();
4557
4557
  try {
4558
4558
  if (typeof Oe == "string") {
4559
- const i0 = JSON.parse(Oe);
4560
- if (i0.blocks)
4559
+ const n0 = JSON.parse(Oe);
4560
+ if (n0.blocks)
4561
4561
  return g.createWithContent(
4562
- I(i0)
4562
+ I(n0)
4563
4563
  );
4564
4564
  }
4565
4565
  } catch {
4566
4566
  console.warn("Text editor error");
4567
4567
  }
4568
- const n0 = we(Oe);
4569
- if (n0) {
4570
- const i0 = Ue.createFromBlockArray(
4571
- n0.contentBlocks,
4572
- n0.entityMap
4568
+ const i0 = we(Oe);
4569
+ if (i0) {
4570
+ const n0 = Ue.createFromBlockArray(
4571
+ i0.contentBlocks,
4572
+ i0.entityMap
4573
4573
  );
4574
- return g.createWithContent(i0);
4574
+ return g.createWithContent(n0);
4575
4575
  }
4576
4576
  return g.createEmpty();
4577
4577
  })()), K(!1), window.stateToHTML = pe, window.convertToRaw = G, window.Modifier = ke, window.EditorState = g;
@@ -5901,16 +5901,17 @@ const lr = (e, n) => {
5901
5901
  }
5902
5902
  })
5903
5903
  );
5904
- const a0 = await Promise.all(we), Oe = a0[0], n0 = a0[1];
5905
- if (Oe.error)
5906
- h.error("خطای دریافت اطلاعات " + Oe.error_code);
5907
- else {
5908
- const i0 = Oe.data || {}, _0 = n0?.error ? {} : n0?.data || {};
5909
- console.log(n0?.data, "aa:", _0), y({
5910
- ...i0 ? 1545718677214 : b[I]["1545718677214"]
5911
- }), G({ ...i0, ..._0 }), Se(i0?.["4942"] || "", "4942");
5904
+ const a0 = await Promise.all(we), Oe = a0[0], i0 = a0[1];
5905
+ if (!Oe.error) {
5906
+ const n0 = Oe.data || {}, _0 = i0?.error ? {} : i0?.data || {};
5907
+ C(_0), y({
5908
+ ...n0,
5909
+ 1545718677214: b[I]["1545718677214"]
5910
+ // afzoodane id user user info
5911
+ // tarikh_paziresh: users[i].date, // afzoodane tarikhe paziresh be user info
5912
+ }), n0 ? (G({ ...n0, ..._0 }), Se(n0?.["4942"] || "", "4942")) : h.error("خطای دریافت اطلاعات " + Oe.error_code);
5912
5913
  }
5913
- n0?.error && h.error("خطای دریافت اطلاعات " + n0.error_code);
5914
+ i0?.error && h.error("خطای دریافت اطلاعات " + i0.error_code);
5914
5915
  } catch (we) {
5915
5916
  h.error(we.message);
5916
5917
  } finally {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Te=require("./immutable-BZb62J4i.cjs");require("./Draft-BJRN6jPO.cjs");function Oe(e){return Ie(e)||we(e)||Se()}function Se(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function we(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function Ie(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function X(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r}function Z(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?X(r,!0).forEach(function(n){be(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function De(e,t){return ke(e)||Re(e,t)||Ae()}function Ae(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Re(e,t){var r=[],n=!0,l=!1,a=void 0;try{for(var i=e[Symbol.iterator](),o;!(n=(o=i.next()).done)&&(r.push(o.value),!(t&&r.length===t));n=!0);}catch(u){l=!0,a=u}finally{try{!n&&i.return!=null&&i.return()}finally{if(l)throw a}}return r}function ke(e){if(Array.isArray(e))return e}function me(e,t){if(e==null)return t;for(var r=De(t,2),n=r[0],l=r[1],a=Z({},n),i=Oe(l),o=0,u=Object.keys(e);o<u.length;o++){var s=u[o];if(n.hasOwnProperty(s)){var h=n[s];a[s]=Z({},h,{},e[s])}else a[s]=e[s],i.push(s)}return[a,i]}var J={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"};function M(e){if(e==null)return e;for(var t={},r=!1,n=0,l=Object.keys(e);n<l.length;n++){var a=l[n],i=a;J.hasOwnProperty(a)&&(i=J[a],r=!0),t[i]=e[a]}return r?t:e}var Le=/^(moz|ms|o|webkit)-/,Pe=/^\d+$/,Ce=/([A-Z])/g,_e={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Be(e){return e.replace(Ce,"-$1").toLowerCase().replace(Le,"-$1-")}function Ne(e,t){var r;return typeof t=="string"?r=Pe.test(t):(r=!0,t=String(t)),!r||t==="0"||_e[e]===!0?t:t+"px"}function R(e){return Object.keys(e).map(function(t){var r=Ne(t,e[t]),n=Be(t);return"".concat(n,": ").concat(r)}).join("; ")}var f={UNSTYLED:"unstyled",HEADER_ONE:"header-one",HEADER_TWO:"header-two",HEADER_THREE:"header-three",HEADER_FOUR:"header-four",HEADER_FIVE:"header-five",HEADER_SIX:"header-six",UNORDERED_LIST_ITEM:"unordered-list-item",ORDERED_LIST_ITEM:"ordered-list-item",BLOCKQUOTE:"blockquote",PULLQUOTE:"pullquote",CODE:"code-block",ATOMIC:"atomic"},S={LINK:"LINK",IMAGE:"IMAGE"},I={BOLD:"BOLD",CODE:"CODE",ITALIC:"ITALIC",STRIKETHROUGH:"STRIKETHROUGH",UNDERLINE:"UNDERLINE"},ae=Te.requireImmutable(),U=new ae.OrderedSet;function je(e,t){for(var r=null,n=null,l=[],a=0,i=0,o=e.length;i<o;i++){n=r;var u=t.get(i);r=u?u.getEntity():null,i>0&&r!==n&&(l.push([n,ee(e.slice(a,i),t.slice(a,i))]),a=i)}return l.push([r,ee(e.slice(a),t.slice(a))]),l}function ee(e,t){for(var r=U,n=U,l=[],a=0,i=0,o=e.length;i<o;i++){n=r;var u=t.get(i);r=u?u.getStyle():U,i>0&&!ae.is(r,n)&&(l.push([e.slice(a,i),n]),a=i)}return l.push([e.slice(a),r]),l}var E,k,m;function re(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r}function L(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(r,!0).forEach(function(n){c(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function x(e,t){return Ue(e)||Me(e,t)||He()}function He(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Me(e,t){var r=[],n=!0,l=!1,a=void 0;try{for(var i=e[Symbol.iterator](),o;!(n=(o=i.next()).done)&&(r.push(o.value),!(t&&r.length===t));n=!0);}catch(u){l=!0,a=u}finally{try{!n&&i.return!=null&&i.return()}finally{if(l)throw a}}return r}function Ue(e){if(Array.isArray(e))return e}function xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fe(e,t,r){return t&&We(e.prototype,t),e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ie=I.BOLD,W=I.CODE,le=I.ITALIC,oe=I.STRIKETHROUGH,ue=I.UNDERLINE,Ge=" ",se="<br>",te=/^data-([a-z0-9-]+)$/,Ye=(E={},c(E,ie,{element:"strong"}),c(E,W,{element:"code"}),c(E,le,{element:"em"}),c(E,oe,{element:"del"}),c(E,ue,{element:"u"}),E),qe=[ie,le,ue,oe,W],P=(k={},c(k,S.LINK,{url:"href",href:"href",rel:"rel",target:"target",title:"title",className:"class"}),c(k,S.IMAGE,{src:"src",height:"height",width:"width",alt:"alt",className:"class"}),k),C=(m={},c(m,S.LINK,function(e,t){for(var r=P.hasOwnProperty(e)?P[e]:{},n=t.getData(),l={},a=0,i=Object.keys(n);a<i.length;a++){var o=i[a],u=n[o];if(r.hasOwnProperty(o)){var s=r[o];l[s]=u}else te.test(o)&&(l[o]=u)}return l}),c(m,S.IMAGE,function(e,t){for(var r=P.hasOwnProperty(e)?P[e]:{},n=t.getData(),l={},a=0,i=Object.keys(n);a<i.length;a++){var o=i[a],u=n[o];if(r.hasOwnProperty(o)){var s=r[o];l[s]=u}else te.test(o)&&(l[o]=u)}return l}),m);function ne(e,t){switch(e){case f.HEADER_ONE:return["h1"];case f.HEADER_TWO:return["h2"];case f.HEADER_THREE:return["h3"];case f.HEADER_FOUR:return["h4"];case f.HEADER_FIVE:return["h5"];case f.HEADER_SIX:return["h6"];case f.UNORDERED_LIST_ITEM:case f.ORDERED_LIST_ITEM:return["li"];case f.BLOCKQUOTE:return["blockquote"];case f.CODE:return["pre","code"];case f.ATOMIC:return["figure"];default:return t===null?[]:[t||"p"]}}function ze(e){switch(e){case f.UNORDERED_LIST_ITEM:return"ul";case f.ORDERED_LIST_ITEM:return"ol";default:return null}}var Ke=function(){function e(t,r){xe(this,e),c(this,"blocks",void 0),c(this,"contentState",void 0),c(this,"currentBlock",void 0),c(this,"indentLevel",void 0),c(this,"output",void 0),c(this,"totalBlocks",void 0),c(this,"wrapperTag",void 0),c(this,"options",void 0),c(this,"inlineStyles",void 0),c(this,"inlineStyleFn",void 0),c(this,"styleOrder",void 0),r==null&&(r={}),this.contentState=t,this.options=r;var n=me(r.inlineStyles,[Ye,qe]),l=x(n,2),a=l[0],i=l[1];this.inlineStyles=a,this.inlineStyleFn=r.inlineStyleFn,this.styleOrder=i}return Fe(e,[{key:"generate",value:function(){for(this.output=[],this.blocks=this.contentState.getBlocksAsArray(),this.totalBlocks=this.blocks.length,this.currentBlock=0,this.indentLevel=0,this.wrapperTag=null;this.currentBlock<this.totalBlocks;)this.processBlock();return this.closeWrapperTag(),this.output.join("").trim()}},{key:"processBlock",value:function(){var r=this.options,n=r.blockRenderers,l=r.defaultBlockTag,a=this.blocks[this.currentBlock],i=a.getType(),o=ze(i);this.wrapperTag!==o&&(this.wrapperTag&&this.closeWrapperTag(),o&&this.openWrapperTag(o)),this.indent();var u=n!=null&&n.hasOwnProperty(i)?n[i]:null,s=u?u(a):null;if(s!=null){this.output.push(s),this.output.push(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Te=require("./immutable-DflUhhph.cjs");require("./Draft-CNIbGzLh.cjs");function Oe(e){return Ie(e)||we(e)||Se()}function Se(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function we(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function Ie(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function X(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r}function Z(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?X(r,!0).forEach(function(n){be(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function De(e,t){return ke(e)||Re(e,t)||Ae()}function Ae(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Re(e,t){var r=[],n=!0,l=!1,a=void 0;try{for(var i=e[Symbol.iterator](),o;!(n=(o=i.next()).done)&&(r.push(o.value),!(t&&r.length===t));n=!0);}catch(u){l=!0,a=u}finally{try{!n&&i.return!=null&&i.return()}finally{if(l)throw a}}return r}function ke(e){if(Array.isArray(e))return e}function me(e,t){if(e==null)return t;for(var r=De(t,2),n=r[0],l=r[1],a=Z({},n),i=Oe(l),o=0,u=Object.keys(e);o<u.length;o++){var s=u[o];if(n.hasOwnProperty(s)){var h=n[s];a[s]=Z({},h,{},e[s])}else a[s]=e[s],i.push(s)}return[a,i]}var J={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"};function M(e){if(e==null)return e;for(var t={},r=!1,n=0,l=Object.keys(e);n<l.length;n++){var a=l[n],i=a;J.hasOwnProperty(a)&&(i=J[a],r=!0),t[i]=e[a]}return r?t:e}var Le=/^(moz|ms|o|webkit)-/,Pe=/^\d+$/,Ce=/([A-Z])/g,_e={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Be(e){return e.replace(Ce,"-$1").toLowerCase().replace(Le,"-$1-")}function Ne(e,t){var r;return typeof t=="string"?r=Pe.test(t):(r=!0,t=String(t)),!r||t==="0"||_e[e]===!0?t:t+"px"}function R(e){return Object.keys(e).map(function(t){var r=Ne(t,e[t]),n=Be(t);return"".concat(n,": ").concat(r)}).join("; ")}var f={UNSTYLED:"unstyled",HEADER_ONE:"header-one",HEADER_TWO:"header-two",HEADER_THREE:"header-three",HEADER_FOUR:"header-four",HEADER_FIVE:"header-five",HEADER_SIX:"header-six",UNORDERED_LIST_ITEM:"unordered-list-item",ORDERED_LIST_ITEM:"ordered-list-item",BLOCKQUOTE:"blockquote",PULLQUOTE:"pullquote",CODE:"code-block",ATOMIC:"atomic"},S={LINK:"LINK",IMAGE:"IMAGE"},I={BOLD:"BOLD",CODE:"CODE",ITALIC:"ITALIC",STRIKETHROUGH:"STRIKETHROUGH",UNDERLINE:"UNDERLINE"},ae=Te.requireImmutable(),U=new ae.OrderedSet;function je(e,t){for(var r=null,n=null,l=[],a=0,i=0,o=e.length;i<o;i++){n=r;var u=t.get(i);r=u?u.getEntity():null,i>0&&r!==n&&(l.push([n,ee(e.slice(a,i),t.slice(a,i))]),a=i)}return l.push([r,ee(e.slice(a),t.slice(a))]),l}function ee(e,t){for(var r=U,n=U,l=[],a=0,i=0,o=e.length;i<o;i++){n=r;var u=t.get(i);r=u?u.getStyle():U,i>0&&!ae.is(r,n)&&(l.push([e.slice(a,i),n]),a=i)}return l.push([e.slice(a),r]),l}var E,k,m;function re(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r}function L(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(r,!0).forEach(function(n){c(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function x(e,t){return Ue(e)||Me(e,t)||He()}function He(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Me(e,t){var r=[],n=!0,l=!1,a=void 0;try{for(var i=e[Symbol.iterator](),o;!(n=(o=i.next()).done)&&(r.push(o.value),!(t&&r.length===t));n=!0);}catch(u){l=!0,a=u}finally{try{!n&&i.return!=null&&i.return()}finally{if(l)throw a}}return r}function Ue(e){if(Array.isArray(e))return e}function xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fe(e,t,r){return t&&We(e.prototype,t),e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ie=I.BOLD,W=I.CODE,le=I.ITALIC,oe=I.STRIKETHROUGH,ue=I.UNDERLINE,Ge=" ",se="<br>",te=/^data-([a-z0-9-]+)$/,Ye=(E={},c(E,ie,{element:"strong"}),c(E,W,{element:"code"}),c(E,le,{element:"em"}),c(E,oe,{element:"del"}),c(E,ue,{element:"u"}),E),qe=[ie,le,ue,oe,W],P=(k={},c(k,S.LINK,{url:"href",href:"href",rel:"rel",target:"target",title:"title",className:"class"}),c(k,S.IMAGE,{src:"src",height:"height",width:"width",alt:"alt",className:"class"}),k),C=(m={},c(m,S.LINK,function(e,t){for(var r=P.hasOwnProperty(e)?P[e]:{},n=t.getData(),l={},a=0,i=Object.keys(n);a<i.length;a++){var o=i[a],u=n[o];if(r.hasOwnProperty(o)){var s=r[o];l[s]=u}else te.test(o)&&(l[o]=u)}return l}),c(m,S.IMAGE,function(e,t){for(var r=P.hasOwnProperty(e)?P[e]:{},n=t.getData(),l={},a=0,i=Object.keys(n);a<i.length;a++){var o=i[a],u=n[o];if(r.hasOwnProperty(o)){var s=r[o];l[s]=u}else te.test(o)&&(l[o]=u)}return l}),m);function ne(e,t){switch(e){case f.HEADER_ONE:return["h1"];case f.HEADER_TWO:return["h2"];case f.HEADER_THREE:return["h3"];case f.HEADER_FOUR:return["h4"];case f.HEADER_FIVE:return["h5"];case f.HEADER_SIX:return["h6"];case f.UNORDERED_LIST_ITEM:case f.ORDERED_LIST_ITEM:return["li"];case f.BLOCKQUOTE:return["blockquote"];case f.CODE:return["pre","code"];case f.ATOMIC:return["figure"];default:return t===null?[]:[t||"p"]}}function ze(e){switch(e){case f.UNORDERED_LIST_ITEM:return"ul";case f.ORDERED_LIST_ITEM:return"ol";default:return null}}var Ke=function(){function e(t,r){xe(this,e),c(this,"blocks",void 0),c(this,"contentState",void 0),c(this,"currentBlock",void 0),c(this,"indentLevel",void 0),c(this,"output",void 0),c(this,"totalBlocks",void 0),c(this,"wrapperTag",void 0),c(this,"options",void 0),c(this,"inlineStyles",void 0),c(this,"inlineStyleFn",void 0),c(this,"styleOrder",void 0),r==null&&(r={}),this.contentState=t,this.options=r;var n=me(r.inlineStyles,[Ye,qe]),l=x(n,2),a=l[0],i=l[1];this.inlineStyles=a,this.inlineStyleFn=r.inlineStyleFn,this.styleOrder=i}return Fe(e,[{key:"generate",value:function(){for(this.output=[],this.blocks=this.contentState.getBlocksAsArray(),this.totalBlocks=this.blocks.length,this.currentBlock=0,this.indentLevel=0,this.wrapperTag=null;this.currentBlock<this.totalBlocks;)this.processBlock();return this.closeWrapperTag(),this.output.join("").trim()}},{key:"processBlock",value:function(){var r=this.options,n=r.blockRenderers,l=r.defaultBlockTag,a=this.blocks[this.currentBlock],i=a.getType(),o=ze(i);this.wrapperTag!==o&&(this.wrapperTag&&this.closeWrapperTag(),o&&this.openWrapperTag(o)),this.indent();var u=n!=null&&n.hasOwnProperty(i)?n[i]:null,s=u?u(a):null;if(s!=null){this.output.push(s),this.output.push(`
2
2
  `),this.currentBlock+=1;return}this.writeStartTag(a,l),this.output.push(this.renderBlockContent(a));var h=this.getNextBlock();if($e(i)&&h&&h.getDepth()===a.getDepth()+1){this.output.push(`
3
3
  `);var y=this.wrapperTag;this.wrapperTag=null,this.indentLevel+=1,this.currentBlock+=1,this.processBlocksAtDepth(h.getDepth()),this.wrapperTag=y,this.indentLevel-=1,this.indent()}else this.currentBlock+=1;this.writeEndTag(a,l)}},{key:"processBlocksAtDepth",value:function(r){for(var n=this.blocks[this.currentBlock];n&&n.getDepth()===r;)this.processBlock(),n=this.blocks[this.currentBlock];this.closeWrapperTag()}},{key:"getNextBlock",value:function(){return this.blocks[this.currentBlock+1]}},{key:"writeStartTag",value:function(r,n){var l=ne(r.getType(),n),a;if(this.options.blockStyleFn){var i=this.options.blockStyleFn(r)||{},o=i.attributes,u=i.style;if(o=M(o),u!=null){var s=R(u);o=o==null?{style:s}:L({},o,{style:s})}a=O(o)}else a="";var h=!0,y=!1,g=void 0;try{for(var v=l[Symbol.iterator](),p;!(h=(p=v.next()).done);h=!0){var b=p.value;this.output.push("<".concat(b).concat(a,">"))}}catch(w){y=!0,g=w}finally{try{!h&&v.return!=null&&v.return()}finally{if(y)throw g}}}},{key:"writeEndTag",value:function(r,n){var l=ne(r.getType(),n);if(l.length===1)this.output.push("</".concat(l[0],`>
4
4
  `));else{var a=[],i=!0,o=!1,u=void 0;try{for(var s=l[Symbol.iterator](),h;!(i=(h=s.next()).done);i=!0){var y=h.value;a.unshift("</".concat(y,">"))}}catch(g){o=!0,u=g}finally{try{!i&&s.return!=null&&s.return()}finally{if(o)throw u}}this.output.push(a.join("")+`
package/dist/main.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-BjWHT1LD.cjs");exports.ArchiveTable=e.ArchiveTable;exports.Button=e.Button;exports.CFCHeader=e.CFCHeader;exports.CheckBox=e.CheckBox;exports.CheckBoxGroup=e.CheckBoxGroup;exports.DateInput=e.DateInput;exports.Divider=e.Divider;exports.Dropdown=e.Dropdown;exports.EmptyForm=e.EmptyForm;exports.FieldSet=e.FieldSet;exports.FileField=e.FileField;exports.FormFields=e.FormFields;exports.HTML=e.HTML;exports.Label=e.Label;exports.Modal=e.Modal;exports.Page=e.Page;exports.PageCard=e.PageCard;exports.Prescription=e.Prescription;exports.ProgressChart=e.ProgressChart;exports.ProjectName=e.ProjectName;exports.Radio=e.Radio;exports.RadioOptions=e.RadioOptions;exports.Select=e.Select;exports.SpecialistDashboardPage=e.SpecialistDashboardPage;exports.SpecialistFormPageHeader=e.Header;exports.SpecialistPrintPage=e.SpecialistPrintPage;exports.Tab=e.Tab;exports.Table=e.Table;exports.TextEditor=e.TextEditor;exports.TextField=e.TextField;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-od8_ZP_f.cjs");exports.ArchiveTable=e.ArchiveTable;exports.Button=e.Button;exports.CFCHeader=e.CFCHeader;exports.CheckBox=e.CheckBox;exports.CheckBoxGroup=e.CheckBoxGroup;exports.DateInput=e.DateInput;exports.Divider=e.Divider;exports.Dropdown=e.Dropdown;exports.EmptyForm=e.EmptyForm;exports.FieldSet=e.FieldSet;exports.FileField=e.FileField;exports.FormFields=e.FormFields;exports.HTML=e.HTML;exports.Label=e.Label;exports.Modal=e.Modal;exports.Page=e.Page;exports.PageCard=e.PageCard;exports.Prescription=e.Prescription;exports.ProgressChart=e.ProgressChart;exports.ProjectName=e.ProjectName;exports.Radio=e.Radio;exports.RadioOptions=e.RadioOptions;exports.Select=e.Select;exports.SpecialistDashboardPage=e.SpecialistDashboardPage;exports.SpecialistFormPageHeader=e.Header;exports.SpecialistPrintPage=e.SpecialistPrintPage;exports.Tab=e.Tab;exports.Table=e.Table;exports.TextEditor=e.TextEditor;exports.TextField=e.TextField;
package/dist/main.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as e, B as i, p as r, C as o, i as t, h as d, D as l, a as p, E as F, F as P, j as c, n as m, H as n, L as C, M as T, P as b, b as g, s as h, k as S, d as x, R as D, f as B, S as H, q as k, o as u, r as E, m as L, T as M, l as R, e as f } from "./main-B7uxTVmE.js";
1
+ import { A as e, B as i, p as r, C as o, i as t, h as d, D as l, a as p, E as F, F as P, j as c, n as m, H as n, L as C, M as T, P as b, b as g, s as h, k as S, d as x, R as D, f as B, S as H, q as k, o as u, r as E, m as L, T as M, l as R, e as f } from "./main-rsdmpRC3.js";
2
2
  export {
3
3
  e as ArchiveTable,
4
4
  i as Button,
@@ -1,4 +1,4 @@
1
- "use strict";const ni=require("./main-BjWHT1LD.cjs"),oi=require("react"),ri=require("./Draft-CoOTO_pX.cjs"),ii=require("./immutable-BZb62J4i.cjs");function ai(Ge,rt){for(var Ze=0;Ze<rt.length;Ze++){const ze=rt[Ze];if(typeof ze!="string"&&!Array.isArray(ze)){for(const Qe in ze)if(Qe!=="default"&&!(Qe in Ge)){const pe=Object.getOwnPropertyDescriptor(ze,Qe);pe&&Object.defineProperty(Ge,Qe,pe.get?pe:{enumerable:!0,get:()=>ze[Qe]})}}}return Object.freeze(Object.defineProperty(Ge,Symbol.toStringTag,{value:"Module"}))}var Mo={exports:{}};(function(Ge,rt){(function(Ze,ze){Ge.exports=ze(oi,ri.requireDraft(),ii.requireImmutable())})(window,function(Ze,ze,Qe){return Je={},pe.m=Rt=[function(S,A,E){S.exports=E(10)()},function(S,A){S.exports=Ze},function(S,A,E){var C;/*!
1
+ "use strict";const ni=require("./main-od8_ZP_f.cjs"),oi=require("react"),ri=require("./Draft-CBry3qTl.cjs"),ii=require("./immutable-DflUhhph.cjs");function ai(Ge,rt){for(var Ze=0;Ze<rt.length;Ze++){const ze=rt[Ze];if(typeof ze!="string"&&!Array.isArray(ze)){for(const Qe in ze)if(Qe!=="default"&&!(Qe in Ge)){const pe=Object.getOwnPropertyDescriptor(ze,Qe);pe&&Object.defineProperty(Ge,Qe,pe.get?pe:{enumerable:!0,get:()=>ze[Qe]})}}}return Object.freeze(Object.defineProperty(Ge,Symbol.toStringTag,{value:"Module"}))}var Mo={exports:{}};(function(Ge,rt){(function(Ze,ze){Ge.exports=ze(oi,ri.requireDraft(),ii.requireImmutable())})(window,function(Ze,ze,Qe){return Je={},pe.m=Rt=[function(S,A,E){S.exports=E(10)()},function(S,A){S.exports=Ze},function(S,A,E){var C;/*!
2
2
  Copyright (c) 2017 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
@@ -1,7 +1,7 @@
1
- import { g as ni } from "./main-B7uxTVmE.js";
1
+ import { g as ni } from "./main-rsdmpRC3.js";
2
2
  import oi from "react";
3
- import { r as ri } from "./Draft-C6n8_UWc.js";
4
- import { r as ii } from "./immutable-DWrnBCB-.js";
3
+ import { r as ri } from "./Draft-5DybVmhH.js";
4
+ import { r as ii } from "./immutable-4JZJlyU1.js";
5
5
  function ai(Ge, rt) {
6
6
  for (var Ze = 0; Ze < rt.length; Ze++) {
7
7
  const ze = rt[Ze];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "dist/main.cjs.js",
4
4
  "module": "dist/main.es.js",
5
5
  "style": "dist/main.css",
6
- "version": "0.3.8",
6
+ "version": "0.3.10",
7
7
  "files": [
8
8
  "dist"
9
9
  ],