davis-components 0.3.40 → 0.3.42
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/Draft-B2L4N-4G.js +188 -0
- package/dist/Draft-BTevr0dH.cjs +1 -0
- package/dist/convertFromRawToDraftState-BBw28ybi.cjs +24 -0
- package/dist/convertFromRawToDraftState-DxpgORd4.js +9923 -0
- package/dist/{html-to-draftjs-B0RdOvHg.cjs → html-to-draftjs-CvK1PHT0.cjs} +2 -2
- package/dist/{html-to-draftjs-BsUIapeA.js → html-to-draftjs-DRusRfPp.js} +26 -26
- package/dist/{immutable-DYMlx92t.js → immutable-DrMXz_0r.js} +1 -1
- package/dist/{immutable-BfElxW28.cjs → immutable-IgDZayNO.cjs} +1 -1
- package/dist/{main-CL35H9E0.cjs → main-BwhVoohN.cjs} +3 -3
- package/dist/{main-xImGDSmA.js → main-CbAjFLya.js} +18 -16
- package/dist/{main-DZVY_9qc.js → main-CzyywrWb.js} +2 -2
- package/dist/main-DhZ3xg_m.cjs +9 -0
- package/dist/main.cjs.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.es.js +1 -1
- package/dist/{react-draft-wysiwyg-BtDvtr4L.js → react-draft-wysiwyg-Ct2MV072.js} +4 -4
- package/dist/{react-draft-wysiwyg-NaMna_Xk.cjs → react-draft-wysiwyg-DBXpDftU.cjs} +1 -1
- package/package.json +1 -1
- package/dist/Draft-BW352lWj.js +0 -11043
- package/dist/Draft-Bx7QjEim.cjs +0 -24
- package/dist/Draft-Djg1Mcy_.js +0 -26
- package/dist/Draft-xKYhS4we.cjs +0 -1
- package/dist/main-B2v0umS_.cjs +0 -9
|
@@ -1269,11 +1269,20 @@ const Ua = "_truncatedTextEn_ze61f_5", Ga = "_required_ze61f_15", qa = "_enLabel
|
|
|
1269
1269
|
}
|
|
1270
1270
|
)
|
|
1271
1271
|
] }) : /* @__PURE__ */ t.jsxs(m2, { children: [
|
|
1272
|
-
/* @__PURE__ */ t.
|
|
1272
|
+
/* @__PURE__ */ t.jsxs(
|
|
1273
1273
|
"span",
|
|
1274
1274
|
{
|
|
1275
1275
|
className: b ? w2.truncatedTextEn + " text-black text-2xs lg:text-xs xl:text-sm" : "font-700 text-black text-2xs lg:text-xs xl:text-sm",
|
|
1276
|
-
children:
|
|
1276
|
+
children: [
|
|
1277
|
+
e,
|
|
1278
|
+
n && /* @__PURE__ */ t.jsx(
|
|
1279
|
+
"span",
|
|
1280
|
+
{
|
|
1281
|
+
className: w2.required + " " + (b ? "ml-1 md:text-sm lg:text-lg !leading-none flex-shrink-0 self-center inline-block" : "mr-1 md:text-sm lg:text-lg flex-shrink-0 self-center inline-block"),
|
|
1282
|
+
children: "*"
|
|
1283
|
+
}
|
|
1284
|
+
)
|
|
1285
|
+
]
|
|
1277
1286
|
}
|
|
1278
1287
|
),
|
|
1279
1288
|
T && /* @__PURE__ */ t.jsx(
|
|
@@ -1287,13 +1296,6 @@ const Ua = "_truncatedTextEn_ze61f_5", Ga = "_required_ze61f_15", qa = "_enLabel
|
|
|
1287
1296
|
)
|
|
1288
1297
|
] }),
|
|
1289
1298
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-start", children: [
|
|
1290
|
-
n && /* @__PURE__ */ t.jsx(
|
|
1291
|
-
"span",
|
|
1292
|
-
{
|
|
1293
|
-
className: w2.required + " " + (b ? "ml-1 md:text-sm lg:text-lg !leading-none flex-shrink-0 self-center inline-block" : "mr-1 md:text-sm lg:text-lg flex-shrink-0 self-center inline-block"),
|
|
1294
|
-
children: "*"
|
|
1295
|
-
}
|
|
1296
|
-
),
|
|
1297
1299
|
y && /* @__PURE__ */ t.jsx(
|
|
1298
1300
|
"img",
|
|
1299
1301
|
{
|
|
@@ -3866,7 +3868,7 @@ const q1 = /* @__PURE__ */ Dl(G1), X1 = "data:image/svg+xml,%3csvg%20xmlns='http
|
|
|
3866
3868
|
boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.15)"
|
|
3867
3869
|
},
|
|
3868
3870
|
children: [
|
|
3869
|
-
a && /* @__PURE__ */ t.jsxs("div", { className: "grid grid-cols-2
|
|
3871
|
+
a && /* @__PURE__ */ t.jsxs("div", { className: "grid grid-cols-3 md:grid-cols-2 md:gap-1 first:w-fit first:ml-auto md:first:*:col-span-1 first:*:col-span-2 ", children: [
|
|
3870
3872
|
/* @__PURE__ */ t.jsx(
|
|
3871
3873
|
Fe,
|
|
3872
3874
|
{
|
|
@@ -3881,7 +3883,7 @@ const q1 = /* @__PURE__ */ Dl(G1), X1 = "data:image/svg+xml,%3csvg%20xmlns='http
|
|
|
3881
3883
|
disabled: c
|
|
3882
3884
|
}
|
|
3883
3885
|
),
|
|
3884
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[
|
|
3886
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[10px] text-nowrap md:text-xs text-gray-400", children: "(امکان انتخاب چند گزینه)" })
|
|
3885
3887
|
] }),
|
|
3886
3888
|
s && /* @__PURE__ */ t.jsx(s2, { className: O(p), position: s }),
|
|
3887
3889
|
/* @__PURE__ */ t.jsx(
|
|
@@ -3938,7 +3940,7 @@ const q1 = /* @__PURE__ */ Dl(G1), X1 = "data:image/svg+xml,%3csvg%20xmlns='http
|
|
|
3938
3940
|
id: v,
|
|
3939
3941
|
className: O(
|
|
3940
3942
|
i,
|
|
3941
|
-
"text-2xs lg:text-xs rounded border-[0.5px] border-solid border-black hover:border-success font-400 py-1 lg:py-0.5
|
|
3943
|
+
"text-2xs lg:text-xs rounded border-[0.5px] border-solid border-black hover:border-success font-400 py-1 lg:py-0.5 lg:px-1.5 !ring-0 hover:bg-white cursor-pointer outline-none",
|
|
3942
3944
|
M0?.value ? "!bg-white" : "bg-transparent"
|
|
3943
3945
|
),
|
|
3944
3946
|
onChange: (X0) => {
|
|
@@ -4536,10 +4538,10 @@ const Dt = (e, n) => {
|
|
|
4536
4538
|
K0,
|
|
4537
4539
|
{ stateToHTML: W0 }
|
|
4538
4540
|
] = await Promise.all([
|
|
4539
|
-
import("./react-draft-wysiwyg-
|
|
4540
|
-
import("./Draft-
|
|
4541
|
-
import("./html-to-draftjs-
|
|
4542
|
-
import("./main-
|
|
4541
|
+
import("./react-draft-wysiwyg-Ct2MV072.js").then((E) => E.r),
|
|
4542
|
+
import("./Draft-B2L4N-4G.js").then((E) => E.D),
|
|
4543
|
+
import("./html-to-draftjs-DRusRfPp.js").then((E) => E.h),
|
|
4544
|
+
import("./main-CzyywrWb.js")
|
|
4543
4545
|
]);
|
|
4544
4546
|
Y.current = H0;
|
|
4545
4547
|
const I0 = K0.default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Te=require("./immutable-IgDZayNO.cjs");require("./convertFromRawToDraftState-BBw28ybi.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
|
+
`),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
|
+
`);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
|
+
`));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("")+`
|
|
5
|
+
`)}}},{key:"openWrapperTag",value:function(r){this.wrapperTag=r,this.indent(),this.output.push("<".concat(r,`>
|
|
6
|
+
`)),this.indentLevel+=1}},{key:"closeWrapperTag",value:function(){var r=this.wrapperTag;r&&(this.indentLevel-=1,this.indent(),this.output.push("</".concat(r,`>
|
|
7
|
+
`)),this.wrapperTag=null)}},{key:"indent",value:function(){this.output.push(Ge.repeat(this.indentLevel))}},{key:"withCustomInlineStyles",value:function(r,n){if(!this.inlineStyleFn)return r;var l=this.inlineStyleFn(n);if(!l)return r;var a=l.element,i=a===void 0?"span":a,o=l.attributes,u=l.style,s=O(L({},o,{style:u&&R(u)}));return"<".concat(i).concat(s,">").concat(r,"</").concat(i,">")}},{key:"renderBlockContent",value:function(r){var n=this,l=r.getType(),a=r.getText();if(a==="")return se;a=this.preserveWhitespace(a);var i=r.getCharacterList(),o=je(a,i);return o.map(function(u){var s=x(u,2),h=s[0],y=s[1],g=y.map(function(ye){var Y=x(ye,2),ge=Y[0],q=Y[1],_=Qe(ge),B=!0,z=!1,K=void 0;try{for(var N=n.styleOrder[Symbol.iterator](),$;!(B=($=N.next()).done);B=!0){var j=$.value;if(!(j===W&&l===f.CODE)&&q.has(j)){var H=n.inlineStyles[j],A=H.element,T=H.attributes,Q=H.style;if(A==null&&(A="span"),T=M(T),Q!=null){var V=R(Q);T=T==null?{style:V}:L({},T,{style:V})}var Ee=O(T);_="<".concat(A).concat(Ee,">").concat(_,"</").concat(A,">")}}}catch(de){z=!0,K=de}finally{try{!B&&N.return!=null&&N.return()}finally{if(z)throw K}}return n.withCustomInlineStyles(_,q)}).join(""),v=h?n.contentState.getEntity(h):null,p=v==null?null:v.getType().toUpperCase(),b;if(v!=null&&n.options.entityStyleFn&&(b=n.options.entityStyleFn(v))){var w=b,D=w.element,d=w.attributes,F=w.style;if(D==null&&(D="span"),d=M(d),F!=null){var G=R(F);d=d==null?{style:G}:L({},d,{style:G})}var ce=O(d);return"<".concat(D).concat(ce,">").concat(g,"</").concat(D,">")}else if(p!=null&&p===S.LINK){var fe=C.hasOwnProperty(p)?C[p](p,v):null,he=O(fe);return"<a".concat(he,">").concat(g,"</a>")}else if(p!=null&&p===S.IMAGE){var pe=C.hasOwnProperty(p)?C[p](p,v):null,ve=O(pe);return"<img".concat(ve,"/>")}else return g}).join("")}},{key:"preserveWhitespace",value:function(r){for(var n=r.length,l=new Array(n),a=0;a<n;a++)r[a]===" "&&(a===0||a===n-1||r[a-1]===" ")?l[a]=" ":l[a]=r[a];return l.join("")}}]),e}();function O(e){if(e==null)return"";for(var t=[],r=0,n=Object.keys(e);r<n.length;r++){var l=n[r],a=e[l];a!=null&&t.push(" ".concat(l,'="').concat(Ve(a+""),'"'))}return t.join("")}function $e(e){switch(e){case f.UNORDERED_LIST_ITEM:case f.ORDERED_LIST_ITEM:return!0;default:return!1}}function Qe(e){return e.split("&").join("&").split("<").join("<").split(">").join(">").split(" ").join(" ").split(`
|
|
8
|
+
`).join(se+`
|
|
9
|
+
`)}function Ve(e){return e.split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""")}function Xe(e,t){return new Ke(e,t).generate()}exports.stateToHTML=Xe;
|
package/dist/main.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-BwhVoohN.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;
|