@flozy/editor 3.3.2 → 3.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. package/dist/Editor/Elements/AI/PopoverAIInput.js +8 -4
  2. package/dist/Editor/Elements/Form/Form.js +33 -4
  3. package/dist/Editor/Elements/Form/FormElements/FormCheckbox.js +54 -0
  4. package/dist/Editor/Elements/Form/FormElements/FormDate.js +55 -0
  5. package/dist/Editor/Elements/Form/FormElements/FormNumbers.js +54 -0
  6. package/dist/Editor/Elements/Form/FormElements/FormRadioButton.js +54 -0
  7. package/dist/Editor/Elements/Form/FormElements/index.js +9 -1
  8. package/dist/Editor/Elements/Form/FormElements/validations.js +3 -3
  9. package/dist/Editor/Elements/Form/FormField.js +12 -3
  10. package/dist/Editor/Elements/Form/Workflow/FormWorkflow.js +12 -3
  11. package/dist/Editor/Elements/Link/LinkButton.js +8 -6
  12. package/dist/Editor/Styles/EditorStyles.js +4 -0
  13. package/dist/Editor/Toolbar/Basic/index.js +9 -6
  14. package/dist/Editor/common/Icon.js +31 -1
  15. package/dist/Editor/common/StyleBuilder/fieldStyle.js +2 -10
  16. package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +117 -0
  17. package/dist/Editor/common/StyleBuilder/fieldTypes/index.js +7 -1
  18. package/dist/Editor/common/StyleBuilder/fieldTypes/metaDataMapping.js +41 -0
  19. package/dist/Editor/common/StyleBuilder/fieldTypes/selectSwitch.js +101 -0
  20. package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +44 -17
  21. package/dist/Editor/common/StyleBuilder/formStyle.js +25 -0
  22. package/dist/Editor/common/StyleBuilder/textOptionsStyles.js +43 -0
  23. package/dist/Editor/common/iconslist.js +363 -0
  24. package/dist/Editor/utils/form.js +2 -1
  25. package/package.json +1 -1
@@ -1804,6 +1804,369 @@ export const CalendarIconNew = ({
1804
1804
  strokeLinejoin: "round"
1805
1805
  })]
1806
1806
  });
1807
+ export const Text = props => /*#__PURE__*/_jsxs("svg", {
1808
+ width: "15",
1809
+ height: "14",
1810
+ viewBox: "0 0 15 14",
1811
+ fill: "none",
1812
+ xmlns: "http://www.w3.org/2000/svg",
1813
+ children: [/*#__PURE__*/_jsx("path", {
1814
+ d: "M2.5 4.1825V3.12083C2.5 2.45 3.0425 1.91333 3.7075 1.91333H12.1775C12.8483 1.91333 13.385 2.45583 13.385 3.12083V4.1825",
1815
+ stroke: "#000",
1816
+ strokeWidth: "1.5",
1817
+ strokeLinecap: "round",
1818
+ strokeLinejoin: "round"
1819
+ }), /*#__PURE__*/_jsx("path", {
1820
+ d: "M7.94531 12.0866V2.39746",
1821
+ stroke: "#000",
1822
+ strokeWidth: "1.5",
1823
+ strokeLinecap: "round",
1824
+ strokeLinejoin: "round"
1825
+ }), /*#__PURE__*/_jsx("path", {
1826
+ d: "M5.64844 12.0867H10.2451",
1827
+ stroke: "#000",
1828
+ strokeWidth: "1.5",
1829
+ strokeLinecap: "round",
1830
+ strokeLinejoin: "round"
1831
+ })]
1832
+ });
1833
+ export const Phone = props => /*#__PURE__*/_jsx("svg", {
1834
+ width: "16",
1835
+ height: "16",
1836
+ viewBox: "0 0 16 16",
1837
+ fill: "none",
1838
+ xmlns: "http://www.w3.org/2000/svg",
1839
+ children: /*#__PURE__*/_jsx("path", {
1840
+ d: "M14.6493 12.2199C14.6493 12.4599 14.5959 12.7066 14.4826 12.9466C14.3693 13.1866 14.2226 13.4133 14.0293 13.6266C13.7026 13.9866 13.3426 14.2466 12.9359 14.4133C12.5359 14.5799 12.1026 14.6666 11.6359 14.6666C10.9559 14.6666 10.2293 14.5066 9.4626 14.1799C8.69594 13.8533 7.92927 13.4133 7.16927 12.8599C6.4026 12.2999 5.67594 11.6799 4.9826 10.9933C4.29594 10.2999 3.67594 9.57325 3.1226 8.81325C2.57594 8.05325 2.13594 7.29325 1.81594 6.53992C1.49594 5.77992 1.33594 5.05325 1.33594 4.35992C1.33594 3.90659 1.41594 3.47325 1.57594 3.07325C1.73594 2.66659 1.98927 2.29325 2.3426 1.95992C2.76927 1.53992 3.23594 1.33325 3.72927 1.33325C3.91594 1.33325 4.1026 1.37325 4.26927 1.45325C4.4426 1.53325 4.59594 1.65325 4.71594 1.82659L6.2626 4.00659C6.3826 4.17325 6.46927 4.32659 6.52927 4.47325C6.58927 4.61325 6.6226 4.75325 6.6226 4.87992C6.6226 5.03992 6.57594 5.19992 6.4826 5.35325C6.39594 5.50659 6.26927 5.66659 6.10927 5.82659L5.6026 6.35325C5.52927 6.42659 5.49594 6.51325 5.49594 6.61992C5.49594 6.67325 5.5026 6.71992 5.51594 6.77325C5.53594 6.82659 5.55594 6.86659 5.56927 6.90659C5.68927 7.12659 5.89594 7.41325 6.18927 7.75992C6.48927 8.10659 6.80927 8.45992 7.15594 8.81325C7.51594 9.16659 7.8626 9.49325 8.21594 9.79325C8.5626 10.0866 8.84927 10.2866 9.07594 10.4066C9.10927 10.4199 9.14927 10.4399 9.19594 10.4599C9.24927 10.4799 9.3026 10.4866 9.3626 10.4866C9.47594 10.4866 9.5626 10.4466 9.63594 10.3733L10.1426 9.87325C10.3093 9.70659 10.4693 9.57992 10.6226 9.49992C10.7759 9.40659 10.9293 9.35992 11.0959 9.35992C11.2226 9.35992 11.3559 9.38659 11.5026 9.44659C11.6493 9.50659 11.8026 9.59325 11.9693 9.70659L14.1759 11.2733C14.3493 11.3933 14.4693 11.5333 14.5426 11.6999C14.6093 11.8666 14.6493 12.0333 14.6493 12.2199Z",
1841
+ stroke: "#000",
1842
+ strokeWidth: "1.2",
1843
+ strokeMiterlimit: "10"
1844
+ })
1845
+ });
1846
+ export const BriefCase = props => /*#__PURE__*/_jsxs("svg", {
1847
+ width: "18",
1848
+ height: "18",
1849
+ viewBox: "0 0 18 18",
1850
+ fill: "none",
1851
+ xmlns: "http://www.w3.org/2000/svg",
1852
+ children: [/*#__PURE__*/_jsx("path", {
1853
+ d: "M6.0006 16.5H12.0006C15.0156 16.5 15.5556 15.2925 15.7131 13.8225L16.2756 7.8225C16.4781 5.9925 15.9531 4.5 12.7506 4.5H5.2506C2.0481 4.5 1.5231 5.9925 1.7256 7.8225L2.2881 13.8225C2.4456 15.2925 2.9856 16.5 6.0006 16.5Z",
1854
+ stroke: "#000",
1855
+ strokeWidth: "1.2",
1856
+ strokeMiterlimit: "10",
1857
+ strokeLinecap: "round",
1858
+ strokeLinejoin: "round"
1859
+ }), /*#__PURE__*/_jsx("path", {
1860
+ d: "M6 4.5V3.9C6 2.5725 6 1.5 8.4 1.5H9.6C12 1.5 12 2.5725 12 3.9V4.5",
1861
+ stroke: "#000",
1862
+ strokeWidth: "1.2",
1863
+ strokeMiterlimit: "10",
1864
+ strokeLinecap: "round",
1865
+ strokeLinejoin: "round"
1866
+ }), /*#__PURE__*/_jsx("path", {
1867
+ d: "M10.5 9.75V10.5C10.5 10.5075 10.5 10.5075 10.5 10.515C10.5 11.3325 10.4925 12 9 12C7.515 12 7.5 11.34 7.5 10.5225V9.75C7.5 9 7.5 9 8.25 9H9.75C10.5 9 10.5 9 10.5 9.75Z",
1868
+ stroke: "#000",
1869
+ strokeWidth: "1.2",
1870
+ strokeMiterlimit: "10",
1871
+ strokeLinecap: "round",
1872
+ strokeLinejoin: "round"
1873
+ }), /*#__PURE__*/_jsx("path", {
1874
+ d: "M16.2375 8.25C14.505 9.51 12.525 10.26 10.5 10.515",
1875
+ stroke: "#000",
1876
+ strokeWidth: "1.2",
1877
+ strokeMiterlimit: "10",
1878
+ strokeLinecap: "round",
1879
+ strokeLinejoin: "round"
1880
+ }), /*#__PURE__*/_jsx("path", {
1881
+ d: "M1.96875 8.45215C3.65625 9.60715 5.56125 10.3046 7.50375 10.5221",
1882
+ stroke: "#000",
1883
+ strokeWidth: "1.2",
1884
+ strokeMiterlimit: "10",
1885
+ strokeLinecap: "round",
1886
+ strokeLinejoin: "round"
1887
+ })]
1888
+ });
1889
+ export const Bank = props => /*#__PURE__*/_jsxs("svg", {
1890
+ width: "16",
1891
+ height: "16",
1892
+ viewBox: "0 0 16 16",
1893
+ fill: "none",
1894
+ xmlns: "http://www.w3.org/2000/svg",
1895
+ children: [/*#__PURE__*/_jsx("path", {
1896
+ d: "M8.24927 1.43355L14.2493 3.83354C14.4826 3.92687 14.6693 4.20687 14.6693 4.45353V6.66687C14.6693 7.03354 14.3693 7.33354 14.0026 7.33354H2.0026C1.63594 7.33354 1.33594 7.03354 1.33594 6.66687V4.45353C1.33594 4.20687 1.52261 3.92687 1.75594 3.83354L7.75594 1.43355C7.88927 1.38022 8.11593 1.38022 8.24927 1.43355Z",
1897
+ stroke: "#000",
1898
+ strokeWidth: "1.2",
1899
+ strokeMiterlimit: "10",
1900
+ strokeLinecap: "round",
1901
+ strokeLinejoin: "round"
1902
+ }), /*#__PURE__*/_jsx("path", {
1903
+ d: "M14.6693 14.6667H1.33594V12.6667C1.33594 12.3 1.63594 12 2.0026 12H14.0026C14.3693 12 14.6693 12.3 14.6693 12.6667V14.6667Z",
1904
+ stroke: "#000",
1905
+ strokeWidth: "1.2",
1906
+ strokeMiterlimit: "10",
1907
+ strokeLinecap: "round",
1908
+ strokeLinejoin: "round"
1909
+ }), /*#__PURE__*/_jsx("path", {
1910
+ d: "M2.66406 11.9997V7.33301",
1911
+ stroke: "#000",
1912
+ strokeWidth: "1.2",
1913
+ strokeMiterlimit: "10",
1914
+ strokeLinecap: "round",
1915
+ strokeLinejoin: "round"
1916
+ }), /*#__PURE__*/_jsx("path", {
1917
+ d: "M5.33594 11.9997V7.33301",
1918
+ stroke: "#000",
1919
+ strokeWidth: "1.2",
1920
+ strokeMiterlimit: "10",
1921
+ strokeLinecap: "round",
1922
+ strokeLinejoin: "round"
1923
+ }), /*#__PURE__*/_jsx("path", {
1924
+ d: "M8 11.9997V7.33301",
1925
+ stroke: "#000",
1926
+ strokeWidth: "1.2",
1927
+ strokeMiterlimit: "10",
1928
+ strokeLinecap: "round",
1929
+ strokeLinejoin: "round"
1930
+ }), /*#__PURE__*/_jsx("path", {
1931
+ d: "M10.6641 11.9997V7.33301",
1932
+ stroke: "#000",
1933
+ strokeWidth: "1.2",
1934
+ strokeMiterlimit: "10",
1935
+ strokeLinecap: "round",
1936
+ strokeLinejoin: "round"
1937
+ }), /*#__PURE__*/_jsx("path", {
1938
+ d: "M13.3359 11.9997V7.33301",
1939
+ stroke: "#000",
1940
+ strokeWidth: "1.2",
1941
+ strokeMiterlimit: "10",
1942
+ strokeLinecap: "round",
1943
+ strokeLinejoin: "round"
1944
+ }), /*#__PURE__*/_jsx("path", {
1945
+ d: "M0.664062 14.667H15.3307",
1946
+ stroke: "#000",
1947
+ strokeWidth: "1.2",
1948
+ strokeMiterlimit: "10",
1949
+ strokeLinecap: "round",
1950
+ strokeLinejoin: "round"
1951
+ }), /*#__PURE__*/_jsx("path", {
1952
+ d: "M8 5.66699C8.55228 5.66699 9 5.21928 9 4.66699C9 4.11471 8.55228 3.66699 8 3.66699C7.44772 3.66699 7 4.11471 7 4.66699C7 5.21928 7.44772 5.66699 8 5.66699Z",
1953
+ stroke: "#000",
1954
+ strokeWidth: "1.2",
1955
+ strokeMiterlimit: "10",
1956
+ strokeLinecap: "round",
1957
+ strokeLinejoin: "round"
1958
+ })]
1959
+ });
1960
+ export const CalendarTick = props => /*#__PURE__*/_jsxs("svg", {
1961
+ width: "18",
1962
+ height: "18",
1963
+ viewBox: "0 0 18 18",
1964
+ fill: "none",
1965
+ xmlns: "http://www.w3.org/2000/svg",
1966
+ children: [/*#__PURE__*/_jsx("path", {
1967
+ d: "M6 1.49951V3.74951",
1968
+ stroke: "#000",
1969
+ strokeWidth: "1.2",
1970
+ strokeMiterlimit: "10",
1971
+ strokeLinecap: "round",
1972
+ strokeLinejoin: "round"
1973
+ }), /*#__PURE__*/_jsx("path", {
1974
+ d: "M12 1.49951V3.74951",
1975
+ stroke: "#000",
1976
+ strokeWidth: "1.2",
1977
+ strokeMiterlimit: "10",
1978
+ strokeLinecap: "round",
1979
+ strokeLinejoin: "round"
1980
+ }), /*#__PURE__*/_jsx("path", {
1981
+ d: "M2.625 6.81689H15.375",
1982
+ stroke: "#000",
1983
+ strokeWidth: "1.2",
1984
+ strokeMiterlimit: "10",
1985
+ strokeLinecap: "round",
1986
+ strokeLinejoin: "round"
1987
+ }), /*#__PURE__*/_jsx("path", {
1988
+ d: "M16.5 14.2495C16.5 14.812 16.3425 15.3445 16.065 15.7945C15.5475 16.6645 14.595 17.2495 13.5 17.2495C12.7425 17.2495 12.0525 16.972 11.5275 16.4995C11.295 16.3045 11.0925 16.0645 10.935 15.7945C10.6575 15.3445 10.5 14.812 10.5 14.2495C10.5 12.592 11.8425 11.2495 13.5 11.2495C14.4 11.2495 15.2025 11.647 15.75 12.2695C16.215 12.802 16.5 13.492 16.5 14.2495Z",
1989
+ stroke: "#000",
1990
+ strokeWidth: "1.2",
1991
+ strokeMiterlimit: "10",
1992
+ strokeLinecap: "round",
1993
+ strokeLinejoin: "round"
1994
+ }), /*#__PURE__*/_jsx("path", {
1995
+ d: "M12.3281 14.2492L13.0706 14.9917L14.6681 13.5142",
1996
+ stroke: "#000",
1997
+ strokeWidth: "1.2",
1998
+ strokeLinecap: "round",
1999
+ strokeLinejoin: "round"
2000
+ }), /*#__PURE__*/_jsx("path", {
2001
+ d: "M15.75 6.37451V12.2695C15.2025 11.647 14.4 11.2495 13.5 11.2495C11.8425 11.2495 10.5 12.592 10.5 14.2495C10.5 14.812 10.6575 15.3445 10.935 15.7945C11.0925 16.0645 11.295 16.3045 11.5275 16.4995H6C3.375 16.4995 2.25 14.9995 2.25 12.7495V6.37451C2.25 4.12451 3.375 2.62451 6 2.62451H12C14.625 2.62451 15.75 4.12451 15.75 6.37451Z",
2002
+ stroke: "#000",
2003
+ strokeWidth: "1.2",
2004
+ strokeMiterlimit: "10",
2005
+ strokeLinecap: "round",
2006
+ strokeLinejoin: "round"
2007
+ }), /*#__PURE__*/_jsx("path", {
2008
+ d: "M8.99588 10.2747H9.00262",
2009
+ stroke: "#000",
2010
+ strokeWidth: "1.2",
2011
+ strokeLinecap: "round",
2012
+ strokeLinejoin: "round"
2013
+ }), /*#__PURE__*/_jsx("path", {
2014
+ d: "M6.22244 10.2747H6.22918",
2015
+ stroke: "#000",
2016
+ strokeWidth: "1.2",
2017
+ strokeLinecap: "round",
2018
+ strokeLinejoin: "round"
2019
+ }), /*#__PURE__*/_jsx("path", {
2020
+ d: "M6.22244 12.5247H6.22918",
2021
+ stroke: "#000",
2022
+ strokeWidth: "1.2",
2023
+ strokeLinecap: "round",
2024
+ strokeLinejoin: "round"
2025
+ })]
2026
+ });
2027
+ export const DollarSquare = props => /*#__PURE__*/_jsxs("svg", {
2028
+ width: "16",
2029
+ height: "16",
2030
+ viewBox: "0 0 16 16",
2031
+ fill: "none",
2032
+ xmlns: "http://www.w3.org/2000/svg",
2033
+ children: [/*#__PURE__*/_jsx("path", {
2034
+ d: "M5.78125 9.55282C5.78125 10.4128 6.44125 11.1062 7.26125 11.1062H8.93458C9.64792 11.1062 10.2279 10.4995 10.2279 9.75282C10.2279 8.93949 9.87458 8.65282 9.34792 8.46616L6.66125 7.53282C6.13458 7.34616 5.78125 7.05949 5.78125 6.24616C5.78125 5.49949 6.36125 4.89282 7.07458 4.89282H8.74792C9.56792 4.89282 10.2279 5.58616 10.2279 6.44616",
2035
+ stroke: "#000",
2036
+ strokeLinecap: "round",
2037
+ strokeLinejoin: "round"
2038
+ }), /*#__PURE__*/_jsx("path", {
2039
+ d: "M8 3.99951V11.9995",
2040
+ stroke: "#000",
2041
+ strokeLinecap: "round",
2042
+ strokeLinejoin: "round"
2043
+ }), /*#__PURE__*/_jsx("path", {
2044
+ d: "M10.0026 14.6661H6.0026C2.66927 14.6661 1.33594 13.3328 1.33594 9.99943V5.99943C1.33594 2.6661 2.66927 1.33276 6.0026 1.33276H10.0026C13.3359 1.33276 14.6693 2.6661 14.6693 5.99943V9.99943C14.6693 13.3328 13.3359 14.6661 10.0026 14.6661Z",
2045
+ stroke: "#000",
2046
+ strokeLinecap: "round",
2047
+ strokeLinejoin: "round"
2048
+ })]
2049
+ });
2050
+ export const Description = props => /*#__PURE__*/_jsx("svg", {
2051
+ width: "16",
2052
+ height: "14",
2053
+ viewBox: "0 0 16 14",
2054
+ fill: "none",
2055
+ xmlns: "http://www.w3.org/2000/svg",
2056
+ children: /*#__PURE__*/_jsx("path", {
2057
+ d: "M4.5 1.85665C4.73198 1.85692 4.95439 1.94731 5.11842 2.10799C5.28246 2.26868 5.37473 2.48655 5.375 2.7138V11.2852C5.37473 11.5125 5.28246 11.7303 5.11842 11.891C4.95439 12.0517 4.73198 12.1421 4.5 12.1424H2.75C2.51802 12.1421 2.29561 12.0517 2.13158 11.891C1.96754 11.7303 1.87527 11.5125 1.875 11.2852V2.7138C1.87527 2.48655 1.96754 2.26868 2.13158 2.10799C2.29561 1.94731 2.51802 1.85692 2.75 1.85665H4.5ZM4.5 0.999512H2.75C2.28587 0.999512 1.84075 1.18012 1.51256 1.50161C1.18437 1.82311 1 2.25914 1 2.7138V11.2852C1 11.7399 1.18437 12.1759 1.51256 12.4974C1.84075 12.8189 2.28587 12.9995 2.75 12.9995H4.5C4.96413 12.9995 5.40925 12.8189 5.73744 12.4974C6.06563 12.1759 6.25 11.7399 6.25 11.2852V2.7138C6.25 2.25914 6.06563 1.82311 5.73744 1.50161C5.40925 1.18012 4.96413 0.999512 4.5 0.999512ZM15 3.14237C15 3.08608 14.9887 3.03033 14.9668 2.97832C14.9448 2.92631 14.9126 2.87905 14.8719 2.83925C14.8313 2.79945 14.7831 2.76788 14.73 2.74635C14.6769 2.72483 14.62 2.71376 14.5625 2.7138H8.4375C8.32147 2.7138 8.21019 2.75895 8.12814 2.83932C8.04609 2.9197 8 3.0287 8 3.14237C8 3.25603 8.04609 3.36504 8.12814 3.44541C8.21019 3.52579 8.32147 3.57094 8.4375 3.57094H14.5625C14.62 3.57097 14.6769 3.55991 14.73 3.53838C14.7831 3.51686 14.8313 3.48529 14.8719 3.44549C14.9126 3.40568 14.9448 3.35843 14.9668 3.30641C14.9887 3.2544 15 3.19866 15 3.14237ZM15 5.7138C15 5.65751 14.9887 5.60176 14.9668 5.54975C14.9448 5.49774 14.9126 5.45048 14.8719 5.41068C14.8313 5.37088 14.7831 5.33931 14.73 5.31778C14.6769 5.29626 14.62 5.28519 14.5625 5.28523H8.4375C8.32147 5.28523 8.21019 5.33038 8.12814 5.41075C8.04609 5.49112 8 5.60013 8 5.7138C8 5.82746 8.04609 5.93647 8.12814 6.01684C8.21019 6.09722 8.32147 6.14237 8.4375 6.14237H14.5625C14.62 6.1424 14.6769 6.13134 14.73 6.10981C14.7831 6.08829 14.8313 6.05672 14.8719 6.01692C14.9126 5.97711 14.9448 5.92986 14.9668 5.87784C14.9887 5.82583 15 5.77009 15 5.7138ZM15 8.28523C15 8.22894 14.9887 8.17319 14.9668 8.12118C14.9448 8.06917 14.9126 8.02191 14.8719 7.98211C14.8313 7.9423 14.7831 7.91074 14.73 7.88921C14.6769 7.86768 14.62 7.85662 14.5625 7.85665H8.4375C8.32147 7.85665 8.21019 7.90181 8.12814 7.98218C8.04609 8.06255 8 8.17156 8 8.28523C8 8.39889 8.04609 8.5079 8.12814 8.58827C8.21019 8.66864 8.32147 8.7138 8.4375 8.7138H14.5625C14.62 8.71383 14.6769 8.70277 14.73 8.68124C14.7831 8.65971 14.8313 8.62815 14.8719 8.58834C14.9126 8.54854 14.9448 8.50128 14.9668 8.44927C14.9887 8.39726 15 8.34152 15 8.28523ZM15 10.8567C15 10.8004 14.9887 10.7446 14.9668 10.6926C14.9448 10.6406 14.9126 10.5933 14.8719 10.5535C14.8313 10.5137 14.7831 10.4822 14.73 10.4606C14.6769 10.4391 14.62 10.4281 14.5625 10.4281H8.4375C8.32147 10.4281 8.21019 10.4732 8.12814 10.5536C8.04609 10.634 8 10.743 8 10.8567C8 10.9703 8.04609 11.0793 8.12814 11.1597C8.21019 11.2401 8.32147 11.2852 8.4375 11.2852H14.5625C14.62 11.2853 14.6769 11.2742 14.73 11.2527C14.7831 11.2311 14.8313 11.1996 14.8719 11.1598C14.9126 11.12 14.9448 11.0727 14.9668 11.0207C14.9887 10.9687 15 10.9129 15 10.8567Z",
2058
+ fill: "#000",
2059
+ stroke: "#000",
2060
+ strokeWidth: "0.5"
2061
+ })
2062
+ });
2063
+ export const TextAreaIcon = props => /*#__PURE__*/_jsxs("svg", {
2064
+ width: "19",
2065
+ height: "15",
2066
+ viewBox: "0 0 19 15",
2067
+ fill: "none",
2068
+ xmlns: "http://www.w3.org/2000/svg",
2069
+ children: [/*#__PURE__*/_jsx("path", {
2070
+ d: "M18.2734 7.34951C18.2735 7.30354 18.2622 7.25802 18.2402 7.21554C18.2182 7.17307 18.186 7.13447 18.1454 7.10196C18.1047 7.06946 18.0565 7.04368 18.0034 7.0261C17.9503 7.00852 17.8934 6.99949 17.8359 6.99951H11.7109C11.5949 6.99951 11.4836 7.03639 11.4016 7.10202C11.3195 7.16766 11.2734 7.25669 11.2734 7.34951C11.2734 7.44234 11.3195 7.53136 11.4016 7.597C11.4836 7.66264 11.5949 7.69951 11.7109 7.69951H17.8359C17.8934 7.69954 17.9503 7.6905 18.0034 7.67292C18.0565 7.65534 18.1047 7.62956 18.1454 7.59706C18.186 7.56455 18.2182 7.52596 18.2402 7.48348C18.2622 7.44101 18.2735 7.39548 18.2734 7.34951ZM18.2734 9.44951C18.2735 9.40354 18.2622 9.35802 18.2402 9.31554C18.2182 9.27306 18.186 9.23447 18.1454 9.20196C18.1047 9.16946 18.0565 9.14368 18.0034 9.1261C17.9503 9.10852 17.8934 9.09948 17.8359 9.09951H11.7109C11.5949 9.09951 11.4836 9.13639 11.4016 9.20202C11.3195 9.26766 11.2734 9.35669 11.2734 9.44951C11.2734 9.54234 11.3195 9.63136 11.4016 9.697C11.4836 9.76264 11.5949 9.79951 11.7109 9.79951H17.8359C17.8934 9.79954 17.9503 9.7905 18.0034 9.77292C18.0565 9.75534 18.1047 9.72956 18.1454 9.69706C18.186 9.66455 18.2182 9.62596 18.2402 9.58348C18.2622 9.54101 18.2735 9.49548 18.2734 9.44951ZM18.2734 11.5495C18.2735 11.5035 18.2622 11.458 18.2402 11.4155C18.2182 11.3731 18.186 11.3345 18.1454 11.302C18.1047 11.2695 18.0565 11.2437 18.0034 11.2261C17.9503 11.2085 17.8934 11.1995 17.8359 11.1995H11.7109C11.5949 11.1995 11.4836 11.2364 11.4016 11.302C11.3195 11.3677 11.2734 11.4567 11.2734 11.5495C11.2734 11.6423 11.3195 11.7314 11.4016 11.797C11.4836 11.8626 11.5949 11.8995 11.7109 11.8995H17.8359C17.8934 11.8995 17.9503 11.8905 18.0034 11.8729C18.0565 11.8553 18.1047 11.8296 18.1454 11.7971C18.186 11.7646 18.2182 11.726 18.2402 11.6835C18.2622 11.641 18.2735 11.5955 18.2734 11.5495ZM18.2734 13.6495C18.2735 13.6035 18.2622 13.558 18.2402 13.5155C18.2182 13.4731 18.186 13.4345 18.1454 13.402C18.1047 13.3695 18.0565 13.3437 18.0034 13.3261C17.9503 13.3085 17.8934 13.2995 17.8359 13.2995H11.7109C11.5949 13.2995 11.4836 13.3364 11.4016 13.402C11.3195 13.4677 11.2734 13.5567 11.2734 13.6495C11.2734 13.7423 11.3195 13.8314 11.4016 13.897C11.4836 13.9626 11.5949 13.9995 11.7109 13.9995H17.8359C17.8934 13.9995 17.9503 13.9905 18.0034 13.9729C18.0565 13.9553 18.1047 13.9296 18.1454 13.8971C18.186 13.8646 18.2182 13.826 18.2402 13.7835C18.2622 13.741 18.2735 13.6955 18.2734 13.6495Z",
2071
+ fill: "#000",
2072
+ stroke: "#000",
2073
+ strokeWidth: "0.5"
2074
+ }), /*#__PURE__*/_jsx("path", {
2075
+ d: "M1.82812 4.18201V3.12034C1.82812 2.44951 2.37062 1.91284 3.03562 1.91284H11.5056C12.1765 1.91284 12.7131 2.45534 12.7131 3.12034V4.18201",
2076
+ stroke: "#000",
2077
+ strokeWidth: "1.5",
2078
+ strokeLinecap: "round",
2079
+ strokeLinejoin: "round"
2080
+ }), /*#__PURE__*/_jsx("path", {
2081
+ d: "M7.27344 12.0861V2.39697",
2082
+ stroke: "#000",
2083
+ strokeWidth: "1.5",
2084
+ strokeLinecap: "round",
2085
+ strokeLinejoin: "round"
2086
+ }), /*#__PURE__*/_jsx("path", {
2087
+ d: "M4.97656 12.0862H9.57323",
2088
+ stroke: "#000",
2089
+ strokeWidth: "1.5",
2090
+ strokeLinecap: "round",
2091
+ strokeLinejoin: "round"
2092
+ })]
2093
+ });
2094
+ export const RadioButtonIcon = props => /*#__PURE__*/_jsxs("svg", {
2095
+ width: "16",
2096
+ height: "16",
2097
+ viewBox: "0 0 16 16",
2098
+ fill: "none",
2099
+ xmlns: "http://www.w3.org/2000/svg",
2100
+ children: [/*#__PURE__*/_jsx("path", {
2101
+ d: "M14.95 7.57852C14.95 11.5116 11.7307 14.7071 7.75075 14.7071C3.77077 14.7071 0.551514 11.5116 0.551514 7.57852C0.551514 3.64545 3.77077 0.449952 7.75075 0.449952C11.7307 0.449952 14.95 3.64545 14.95 7.57852Z",
2102
+ fill: "#F1F3F9",
2103
+ stroke: "#000",
2104
+ strokeWidth: "0.899904"
2105
+ }), /*#__PURE__*/_jsx("circle", {
2106
+ cx: "7.75269",
2107
+ cy: "7.64918",
2108
+ r: "3.59962",
2109
+ fill: "#000",
2110
+ stroke: "#000",
2111
+ strokeWidth: "0.899904"
2112
+ })]
2113
+ });
2114
+ export const Checkbox = props => /*#__PURE__*/_jsxs("svg", {
2115
+ width: "14",
2116
+ height: "14",
2117
+ viewBox: "0 0 14 14",
2118
+ fill: "none",
2119
+ xmlns: "http://www.w3.org/2000/svg",
2120
+ children: [/*#__PURE__*/_jsx("rect", {
2121
+ x: "0.5",
2122
+ y: "0.5",
2123
+ width: "13",
2124
+ height: "13",
2125
+ rx: "2.5",
2126
+ stroke: "#000"
2127
+ }), /*#__PURE__*/_jsx("path", {
2128
+ d: "M4.11719 7.05603L6.23026 9.16822L10.4546 4.94385",
2129
+ stroke: "#000",
2130
+ strokeLinecap: "round",
2131
+ strokeLinejoin: "round"
2132
+ })]
2133
+ });
2134
+ export const CheckedIcon = props => /*#__PURE__*/_jsxs("svg", {
2135
+ width: "16",
2136
+ height: "17",
2137
+ viewBox: "0 0 16 17",
2138
+ fill: "none",
2139
+ xmlns: "http://www.w3.org/2000/svg",
2140
+ children: [/*#__PURE__*/_jsx("rect", {
2141
+ y: "0.5",
2142
+ width: "16",
2143
+ height: "16",
2144
+ rx: "2.64706",
2145
+ fill: "#2563EB"
2146
+ }), /*#__PURE__*/_jsx("path", {
2147
+ d: "M4.70312 8.5609L7.11807 10.9748L11.9459 6.14697",
2148
+ stroke: "white",
2149
+ strokeWidth: "1.32353",
2150
+ strokeLinecap: "round",
2151
+ strokeLinejoin: "round"
2152
+ })]
2153
+ });
2154
+ export const UncheckedIcon = props => /*#__PURE__*/_jsx("svg", {
2155
+ width: "17",
2156
+ height: "17",
2157
+ viewBox: "0 0 17 17",
2158
+ fill: "none",
2159
+ xmlns: "http://www.w3.org/2000/svg",
2160
+ children: /*#__PURE__*/_jsx("rect", {
2161
+ x: "0.5",
2162
+ y: "0.5",
2163
+ width: "16",
2164
+ height: "16",
2165
+ rx: "3.5",
2166
+ fill: "#F1F3F9",
2167
+ stroke: "#D1D4DC"
2168
+ })
2169
+ });
1807
2170
  export const InfinityIcon = () => /*#__PURE__*/_jsxs("svg", {
1808
2171
  width: "22",
1809
2172
  height: "14",
@@ -20,7 +20,8 @@ export const insertForm = (editor, item) => {
20
20
  workflow: [],
21
21
  children: [{
22
22
  ...formField()
23
- }]
23
+ }],
24
+ metadatamapping: "mappingToContactBoard"
24
25
  } : item;
25
26
  Transforms.insertNodes(editor, grid);
26
27
  insertNewLine(editor);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"