forstok-ui-lib 5.2.27 → 5.2.28
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/index.d.ts +5 -1
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +1 -0
- package/src/components/textarea/ref.tsx +6 -0
package/dist/index.mjs
CHANGED
|
@@ -779,14 +779,14 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
779
779
|
${({$isError:e})=>{if(e)return f`
|
|
780
780
|
border:1px solid var(--err-clr-ln);
|
|
781
781
|
`}}
|
|
782
|
-
`,Yd=e=>{var t,{$isError:i,reset:o,setReset:a,isForceUpdate:s,setForceUpdate:l,evChange:c,evBlur:u,isField:d,evChangeCustom:p}=e,g=b(e,["$isError","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom"]);const{name:h,defaultValue:f}=g,[m,C]=n(null!==(t=null==f?void 0:f.toString())&&void 0!==t?t:"");r((()=>{var e;s&&(C(null!==(e=null==f?void 0:f.toString())&&void 0!==e?e:""),l&&l(!1)),o&&(C(""),a&&a(!1))}),[s,l,o,a,f]);const A=e=>{const t=e.target.value;C(t)};let v=Object.assign({},g);return delete v.defaultValue,w.jsx(zd,Object.assign({$isError:i,value:m,onChange:e=>{A(e),c&&c(e)},onBlur:e=>{A(e),(e=>{u&&u(e),d&&h&&p&&p(h,e.target.value)})(e)}},v))},Zd=f`
|
|
782
|
+
`,Yd=e=>{var t,{$isError:i,reset:o,setReset:a,isForceUpdate:s,setForceUpdate:l,evChange:c,evBlur:u,isField:d,evChangeCustom:p}=e,g=b(e,["$isError","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom"]);const{name:h,defaultValue:f}=g,[m,C]=n(null!==(t=null==f?void 0:f.toString())&&void 0!==t?t:"");r((()=>{var e;s&&(C(null!==(e=null==f?void 0:f.toString())&&void 0!==e?e:""),l&&l(!1)),o&&(C(""),a&&a(!1))}),[s,l,o,a,f]);const A=e=>{const t=e.target.value;C(t)};let v=Object.assign({},g);return delete v.defaultValue,w.jsx(zd,Object.assign({$isError:i,value:m,onChange:e=>{A(e),c&&c(e)},onBlur:e=>{A(e),(e=>{u&&u(e),d&&h&&p&&p(h,e.target.value)})(e)}},v))},Zd=i(((e,t)=>{var{$isError:n}=e,r=b(e,["$isError"]);return w.jsx(zd,Object.assign({ref:t,$isError:n},r))})),Jd=f`
|
|
783
783
|
display: grid;
|
|
784
784
|
grid-row-gap: 12px;
|
|
785
785
|
grid-column-gap: 16px;
|
|
786
786
|
width: 100%;
|
|
787
787
|
margin-bottom: 12px;
|
|
788
788
|
align-items: start;
|
|
789
|
-
`,
|
|
789
|
+
`,Qd=h.form.attrs((e=>({name:e.name||"form",autoComplete:e.autoComplete||"off"})))`
|
|
790
790
|
display: inline-grid;
|
|
791
791
|
grid-auto-flow: row;
|
|
792
792
|
grid-gap: 25px;
|
|
@@ -801,10 +801,10 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
801
801
|
}
|
|
802
802
|
}
|
|
803
803
|
${({name:e})=>{let t="";return"invoiceForm"===e&&(t+="\n grid-gap: 15px;\n "),t}}
|
|
804
|
-
`,Qd=h.section`
|
|
805
|
-
${Zd}
|
|
806
|
-
${({$width:e})=>{let t="";return e&&(t+=` \n @media (min-width: 768px) {\n width: ${e}; \n }\n `),t}}
|
|
807
804
|
`,Ud=h.section`
|
|
805
|
+
${Jd}
|
|
806
|
+
${({$width:e})=>{let t="";return e&&(t+=` \n @media (min-width: 768px) {\n width: ${e}; \n }\n `),t}}
|
|
807
|
+
`,qd=h.section`
|
|
808
808
|
position: relative;
|
|
809
809
|
height: 100%;
|
|
810
810
|
padding-top: 20px;
|
|
@@ -819,12 +819,12 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
819
819
|
padding: 20px 2em 0;
|
|
820
820
|
height: 100%;
|
|
821
821
|
}
|
|
822
|
-
`,
|
|
822
|
+
`,Kd=h.section`
|
|
823
823
|
position: relative;
|
|
824
824
|
&:first-child {
|
|
825
825
|
margin-top: -4px;
|
|
826
826
|
}
|
|
827
|
-
|
|
827
|
+
`,$d=h.section`
|
|
828
828
|
${L}
|
|
829
829
|
position: relative;
|
|
830
830
|
min-height: 1px;
|
|
@@ -837,7 +837,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
837
837
|
${({$mode:e})=>{if("full"===e)return f`
|
|
838
838
|
width: 100%;
|
|
839
839
|
`}}
|
|
840
|
-
|
|
840
|
+
`,_d=h.h1`
|
|
841
841
|
font-family: PT Sans;
|
|
842
842
|
font-size: 22px;
|
|
843
843
|
color: var(--ter-clr);
|
|
@@ -854,7 +854,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
854
854
|
display: inline !important;
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
`,
|
|
857
|
+
`,ep=h.aside`
|
|
858
858
|
display: grid;
|
|
859
859
|
grid-auto-flow: column;
|
|
860
860
|
grid-gap: 8px;
|
|
@@ -871,7 +871,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
871
871
|
@media only screen and (min-width: 1366px) {
|
|
872
872
|
right: 20px;
|
|
873
873
|
}
|
|
874
|
-
`,
|
|
874
|
+
`,tp=h.section`
|
|
875
875
|
width: 100%;
|
|
876
876
|
${({$mode:e})=>"master-listing"===e?f`
|
|
877
877
|
padding: 0 16px;
|
|
@@ -883,7 +883,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
883
883
|
padding-top: 12px;
|
|
884
884
|
}
|
|
885
885
|
`:void 0}
|
|
886
|
-
`,
|
|
886
|
+
`,np=h.div`
|
|
887
887
|
padding-top: 16px;
|
|
888
888
|
&._refNoTab {
|
|
889
889
|
padding-top: 9px;
|
|
@@ -895,7 +895,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
895
895
|
padding-top: 24px;
|
|
896
896
|
}
|
|
897
897
|
${({$mode:e})=>{let t="";return"list"===e?t+=" \n min-height: 750px;\n @media only screen and (min-width: 1280px) {\n min-height: 600px;\n }\n ":"clear"===e&&(t+="\n padding-top: 9px;\n @media only screen and (min-width: 768px) {\n padding-top: 11px;\n }\n "),t}}
|
|
898
|
-
`,
|
|
898
|
+
`,rp=h.section`
|
|
899
899
|
position: relative;
|
|
900
900
|
> section,
|
|
901
901
|
> article {
|
|
@@ -909,7 +909,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
909
909
|
> article {
|
|
910
910
|
height: calc(100vh - 50px);
|
|
911
911
|
}
|
|
912
|
-
`,
|
|
912
|
+
`,ip=h.div`
|
|
913
913
|
display: inline-grid;
|
|
914
914
|
grid-auto-flow: column;
|
|
915
915
|
grid-template-columns: minmax(140px, 150px) minmax(140px, 1fr);
|
|
@@ -929,7 +929,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
929
929
|
overflow-wrap: break-word;
|
|
930
930
|
word-break: break-word;
|
|
931
931
|
}
|
|
932
|
-
`,
|
|
932
|
+
`,op=h.span`
|
|
933
933
|
color: var(--mt-clr);
|
|
934
934
|
font-size: 12px;
|
|
935
935
|
word-break: break-all;
|
|
@@ -949,7 +949,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
949
949
|
margin-right: 4px;
|
|
950
950
|
}
|
|
951
951
|
`}}
|
|
952
|
-
`,
|
|
952
|
+
`,ap=h.article`
|
|
953
953
|
> label,
|
|
954
954
|
> aside {
|
|
955
955
|
${V}
|
|
@@ -961,6 +961,6 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
961
961
|
> div {
|
|
962
962
|
display: grid;
|
|
963
963
|
}
|
|
964
|
-
${({$mode:e,$required:t})=>{let n="";return"column"===e?n+=" \n display: grid;\n grid-auto-flow: column;\n grid-template-columns: 1.1fr 2fr;\n align-items: baseline;\n grid-gap: 10px;\n > label, > aside {\n padding: 0;\n margin: 0;\n }\n ":"column-product"===e&&(n+=` \n > div {\n display: grid;\n grid-auto-flow: column;\n grid-template-columns: max-content auto;\n grid-gap: 10px;\n ${
|
|
965
|
-
`;export{fe as ButtonComponent,de as CheckboxComponent,Pe as DropdownComponent,Ed as ErrorComponent,
|
|
964
|
+
${({$mode:e,$required:t})=>{let n="";return"column"===e?n+=" \n display: grid;\n grid-auto-flow: column;\n grid-template-columns: 1.1fr 2fr;\n align-items: baseline;\n grid-gap: 10px;\n > label, > aside {\n padding: 0;\n margin: 0;\n }\n ":"column-product"===e&&(n+=` \n > div {\n display: grid;\n grid-auto-flow: column;\n grid-template-columns: max-content auto;\n grid-gap: 10px;\n ${op} {\n display: grid;\n align-items: center;\n }\n }\n `),t&&(n+=" \n > label, > aside {\n &:after {\n content: '*';\n color: red;\n }\n }\n "),n}}
|
|
965
|
+
`;export{fe as ButtonComponent,de as CheckboxComponent,Pe as DropdownComponent,Ed as ErrorComponent,rp as FoContainer,Qd as FormContainer,ep as HeaderContainer,ye as IconComponent,Co as ImageComponent,ip as InfoGroup,oe as InputComponent,ap as InputGroup,ae as InputRefComponent,Ae as LabelComponent,Y as LinkComponent,Kd as ListContainer,xe as LoadingComponent,yd as MenuList,Ue as MessageComponent,to as MessageQuestionComponent,op as MuteLabel,qd as PanelContainer,$d as PanelWrapper,ho as PopupComponent,we as ReactPortalComponent,Fd as SelectComponent,Ud as SingleFormContainer,tp as TabsContainer,np as TabsContent,Yd as TextAreaComponent,Zd as TextAreaRefComponent,D as TextComponent,_d as Title,jd as UploadComponent,Hd as UploadDragDropComponent,T as boxBase,q as capitalize,G as clearList,ee as currencyNumber,U as debounce,O as dropBase,N as elipsis,V as formLabel,K as formatNumber,$ as generateMessage,_ as generateMessageQuestion,Z as getStorage,P as headTable,S as multiElipsis,Q as removeStorage,L as responseWidth,J as setStorage,X as thirdElipsis};
|
|
966
966
|
//# sourceMappingURL=index.mjs.map
|