fui-material 0.2.60 → 0.2.62

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.
Files changed (282) hide show
  1. package/dist/bundle.css +1980 -0
  2. package/dist/bundle.esm.css +1980 -0
  3. package/dist/bundle.esm.js +1341 -0
  4. package/dist/bundle.js +1398 -0
  5. package/dist/function-elements/fAlert/fAlert.d.ts +8 -0
  6. package/dist/function-elements/fAlert/index.d.ts +1 -0
  7. package/dist/function-elements/fConfirm/fConfirm.d.ts +7 -0
  8. package/dist/function-elements/fConfirm/index.d.ts +1 -0
  9. package/dist/function-elements/fPrompt/fPrompt.d.ts +8 -0
  10. package/dist/function-elements/fPrompt/index.d.ts +1 -0
  11. package/dist/function-elements/index.d.ts +3 -0
  12. package/dist/icons/FArrowIcon/FArrowIcon.d.ts +13 -0
  13. package/dist/icons/FArrowIcon/index.d.ts +1 -0
  14. package/dist/icons/FCheckIcon/FCheckIcon.d.ts +12 -0
  15. package/dist/icons/FCheckIcon/index.d.ts +1 -0
  16. package/dist/icons/FCloseIcon/FCloseIcon.d.ts +12 -0
  17. package/dist/icons/FCloseIcon/index.d.ts +1 -0
  18. package/dist/icons/FCopyAddIcon/FCopyAdd.d.ts +12 -0
  19. package/dist/icons/FDownloadIcon/FDownloadIcon.d.ts +11 -0
  20. package/dist/icons/FDownloadIcon/index.d.ts +1 -0
  21. package/dist/icons/FFilterIcon/FFilterIcon.d.ts +11 -0
  22. package/dist/icons/FFilterIcon/index.d.ts +1 -0
  23. package/dist/icons/FListIcon/FListIcon.d.ts +12 -0
  24. package/dist/icons/FListIcon/index.d.ts +1 -0
  25. package/dist/icons/FLoadIcon/FLoadIcon.d.ts +12 -0
  26. package/dist/icons/FLoadIcon/index.d.ts +1 -0
  27. package/dist/icons/FPenIcon/FPenIcon.d.ts +12 -0
  28. package/dist/icons/FPenIcon/index.d.ts +1 -0
  29. package/dist/icons/FPlusIcon/FPlusIcon.d.ts +12 -0
  30. package/dist/icons/FPlusIcon/index.d.ts +1 -0
  31. package/dist/icons/FTrashIcon/FTrashIcon.d.ts +12 -0
  32. package/dist/icons/FTrashIcon/index.d.ts +1 -0
  33. package/dist/icons/FUnlinkIcon/FUnlinkIcon.d.ts +12 -0
  34. package/dist/icons/index.d.ts +12 -0
  35. package/dist/material/Dialog/FDialog/FDialog.d.ts +14 -0
  36. package/dist/material/Dialog/FDialog/index.d.ts +1 -0
  37. package/dist/material/Dialog/FDialogBody/FDialogBody.d.ts +8 -0
  38. package/dist/material/Dialog/FDialogBody/index.d.ts +1 -0
  39. package/dist/material/Dialog/FDialogFooter/FDialogFooter.d.ts +6 -0
  40. package/dist/material/Dialog/FDialogFooter/index.d.ts +1 -0
  41. package/dist/material/Dialog/FDialogHeader/FDialogHeader.d.ts +7 -0
  42. package/dist/material/Dialog/FDialogHeader/index.d.ts +1 -0
  43. package/dist/material/Dropdown/FDropdown/FDropdown.d.ts +15 -0
  44. package/dist/material/Dropdown/FDropdownItem/FDropdownItem.d.ts +11 -0
  45. package/dist/material/FAccordion/FAccordion.d.ts +13 -0
  46. package/dist/material/FAccordion/index.d.ts +1 -0
  47. package/dist/material/FAlert/FAlert.d.ts +18 -0
  48. package/dist/material/FAlert/index.d.ts +1 -0
  49. package/dist/material/FButton/FButton.d.ts +18 -0
  50. package/dist/material/FButton/index.d.ts +1 -0
  51. package/dist/material/FButtonFile/FButtonFile.d.ts +21 -0
  52. package/dist/material/FButtonFile/index.d.ts +1 -0
  53. package/dist/material/FCheckbox/FCheckbox.d.ts +14 -0
  54. package/dist/material/FCheckbox/index.d.ts +1 -0
  55. package/dist/material/FContainer/FContainer.d.ts +11 -0
  56. package/dist/material/FContainer/index.d.ts +1 -0
  57. package/dist/material/FFile/FFile.d.ts +10 -0
  58. package/dist/material/FFile/index.d.ts +1 -0
  59. package/dist/material/FFullDateField/FFullDateField.d.ts +24 -0
  60. package/dist/material/FFullDateField/index.d.ts +1 -0
  61. package/dist/material/FGrid/FGrid.d.ts +17 -0
  62. package/dist/material/FGrid/index.d.ts +1 -0
  63. package/dist/material/FInputFileForm/FInputFileForm.d.ts +20 -0
  64. package/dist/material/FInputFileForm/index.d.ts +1 -0
  65. package/dist/material/FNative/FNative.d.ts +19 -0
  66. package/dist/material/FNative/index.d.ts +1 -0
  67. package/dist/material/FOpenImgFull/FOpenImgFull.d.ts +14 -0
  68. package/dist/material/FOpenImgFull/index.d.ts +1 -0
  69. package/dist/material/FPagination/FPagination.d.ts +14 -0
  70. package/dist/material/FPagination/hooks/usePagination.d.ts +9 -0
  71. package/dist/material/FPagination/index.d.ts +1 -0
  72. package/dist/material/FPaper/FPaper.d.ts +18 -0
  73. package/dist/material/FPaper/index.d.ts +1 -0
  74. package/dist/material/FPreloader/FPreloader.d.ts +10 -0
  75. package/dist/material/FPreloader/index.d.ts +1 -0
  76. package/dist/material/FProgress/FProgress.d.ts +8 -0
  77. package/dist/material/FProgress/index.d.ts +1 -0
  78. package/dist/material/FRadioButton/FRadioButton.d.ts +13 -0
  79. package/dist/material/FRadioButton/index.d.ts +1 -0
  80. package/dist/material/FSearchBox/FSearchBox.d.ts +32 -0
  81. package/dist/material/FSelectSearchDb/FSelectSearchDb.d.ts +21 -0
  82. package/dist/material/FSelectSearchDb/index.d.ts +1 -0
  83. package/dist/material/FStack/FStack.d.ts +14 -0
  84. package/dist/material/FStack/index.d.ts +1 -0
  85. package/dist/material/FTextArea/FTextArea.d.ts +23 -0
  86. package/dist/material/FTextArea/index.d.ts +1 -0
  87. package/dist/material/FTextField/FTextField.d.ts +26 -0
  88. package/dist/material/FTextField/index.d.ts +1 -0
  89. package/dist/material/FTimelineComponents/FTimeline/FTimeline.d.ts +10 -0
  90. package/dist/material/FTimelineComponents/FTimeline/index.d.ts +1 -0
  91. package/dist/material/FTimelineComponents/FTimelineCard/FTimelineCard.d.ts +10 -0
  92. package/dist/material/FTimelineComponents/FTimelineCard/index.d.ts +1 -0
  93. package/dist/material/SelectComponents/FSelect/FSelect.d.ts +21 -0
  94. package/dist/material/SelectComponents/FSelect/index.d.ts +1 -0
  95. package/dist/material/SelectComponents/FSelectItem/FSelectItem.d.ts +13 -0
  96. package/dist/material/SelectComponents/FSelectItem/index.d.ts +1 -0
  97. package/dist/material/TableComponents/FTable/FTable.d.ts +12 -0
  98. package/dist/material/TableComponents/FTable/index.d.ts +1 -0
  99. package/dist/material/TableComponents/FTableBody/FTableBody.d.ts +10 -0
  100. package/dist/material/TableComponents/FTableBody/index.d.ts +1 -0
  101. package/dist/material/TableComponents/FTableDataCell/FTableDataCell.d.ts +14 -0
  102. package/dist/material/TableComponents/FTableDataCell/index.d.ts +1 -0
  103. package/dist/material/TableComponents/FTableFooter/FTableFooter.d.ts +10 -0
  104. package/dist/material/TableComponents/FTableFooter/index.d.ts +1 -0
  105. package/dist/material/TableComponents/FTableHead/FTableHead.d.ts +10 -0
  106. package/dist/material/TableComponents/FTableHead/index.d.ts +1 -0
  107. package/dist/material/TableComponents/FTableHeaderCell/FTableHeaderCell.d.ts +12 -0
  108. package/dist/material/TableComponents/FTableHeaderCell/index.d.ts +1 -0
  109. package/dist/material/TableComponents/FTableRow/FTableRow.d.ts +10 -0
  110. package/dist/material/TableComponents/FTableRow/index.d.ts +1 -0
  111. package/dist/material/Tabs/FTab/FTab.d.ts +13 -0
  112. package/dist/material/Tabs/FTabs/FTabs.d.ts +10 -0
  113. package/dist/material/index.d.ts +41 -0
  114. package/package.json +10 -3
  115. package/.storybook/main.ts +0 -19
  116. package/.storybook/preview.ts +0 -15
  117. package/bun.lockb +0 -0
  118. package/public/favicon.ico +0 -0
  119. package/public/index.html +0 -43
  120. package/public/logo192.png +0 -0
  121. package/public/logo512.png +0 -0
  122. package/public/manifest.json +0 -25
  123. package/public/robots.txt +0 -3
  124. package/rollup.config.js +0 -33
  125. package/src/function-elements/fAlert/fAlert.css +0 -99
  126. package/src/function-elements/fAlert/fAlert.ts +0 -66
  127. package/src/function-elements/fAlert/index.tsx +0 -1
  128. package/src/function-elements/fConfirm/fConfirm.css +0 -80
  129. package/src/function-elements/fConfirm/fConfirm.ts +0 -66
  130. package/src/function-elements/fConfirm/index.tsx +0 -1
  131. package/src/function-elements/fPrompt/fPrompt.css +0 -85
  132. package/src/function-elements/fPrompt/fPrompt.ts +0 -77
  133. package/src/function-elements/fPrompt/index.tsx +0 -1
  134. package/src/function-elements/index.ts +0 -3
  135. package/src/icons/FArrowIcon/FArrowIcon.tsx +0 -50
  136. package/src/icons/FArrowIcon/index.ts +0 -1
  137. package/src/icons/FCheckIcon/FCheckIcon.tsx +0 -37
  138. package/src/icons/FCheckIcon/index.ts +0 -1
  139. package/src/icons/FCloseIcon/FCloseIcon.tsx +0 -28
  140. package/src/icons/FCloseIcon/index.ts +0 -1
  141. package/src/icons/FCopyAddIcon/FCopyAdd.tsx +0 -30
  142. package/src/icons/FDownloadIcon/FDownloadIcon.tsx +0 -29
  143. package/src/icons/FDownloadIcon/index.ts +0 -1
  144. package/src/icons/FFilterIcon/FFilterIcon.tsx +0 -28
  145. package/src/icons/FFilterIcon/index.ts +0 -1
  146. package/src/icons/FListIcon/FListIcon.tsx +0 -38
  147. package/src/icons/FListIcon/index.ts +0 -1
  148. package/src/icons/FLoadIcon/FLoadIcon.tsx +0 -61
  149. package/src/icons/FLoadIcon/FLoadIconCss.css +0 -48
  150. package/src/icons/FLoadIcon/index.ts +0 -1
  151. package/src/icons/FPenIcon/FPenIcon.tsx +0 -29
  152. package/src/icons/FPenIcon/index.ts +0 -1
  153. package/src/icons/FPlusIcon/FPlusIcon.tsx +0 -39
  154. package/src/icons/FPlusIcon/index.ts +0 -1
  155. package/src/icons/FTrashIcon/FTrashIcon.tsx +0 -40
  156. package/src/icons/FTrashIcon/index.ts +0 -1
  157. package/src/icons/FUnlinkIcon/FUnlinkIcon.tsx +0 -38
  158. package/src/icons/index.ts +0 -12
  159. package/src/material/Dialog/FDialog/FDialog.tsx +0 -61
  160. package/src/material/Dialog/FDialog/index.ts +0 -1
  161. package/src/material/Dialog/FDialogBody/FDialogBody.tsx +0 -43
  162. package/src/material/Dialog/FDialogBody/index.ts +0 -1
  163. package/src/material/Dialog/FDialogFooter/FDialogFooter.tsx +0 -26
  164. package/src/material/Dialog/FDialogFooter/index.ts +0 -1
  165. package/src/material/Dialog/FDialogHeader/FDialogHeader.tsx +0 -40
  166. package/src/material/Dialog/FDialogHeader/index.ts +0 -1
  167. package/src/material/Dialog/style/style.css +0 -73
  168. package/src/material/Dropdown/FDropdown/FDropdown.tsx +0 -60
  169. package/src/material/Dropdown/FDropdownItem/FDropdownItem.tsx +0 -35
  170. package/src/material/Dropdown/statick/FDropdown.css +0 -68
  171. package/src/material/Dropdown/statick/down-arrow.png +0 -0
  172. package/src/material/FAccordion/FAccordion.css +0 -80
  173. package/src/material/FAccordion/FAccordion.tsx +0 -37
  174. package/src/material/FAccordion/index.ts +0 -1
  175. package/src/material/FAlert/FAlert.css +0 -153
  176. package/src/material/FAlert/FAlert.tsx +0 -226
  177. package/src/material/FAlert/index.ts +0 -1
  178. package/src/material/FButton/FButton.css +0 -50
  179. package/src/material/FButton/FButton.tsx +0 -69
  180. package/src/material/FButton/index.ts +0 -1
  181. package/src/material/FButtonFile/FButtonFile.css +0 -180
  182. package/src/material/FButtonFile/FButtonFile.tsx +0 -157
  183. package/src/material/FButtonFile/index.ts +0 -1
  184. package/src/material/FCheckbox/Checkbox.css +0 -57
  185. package/src/material/FCheckbox/FCheckbox.tsx +0 -45
  186. package/src/material/FCheckbox/index.ts +0 -1
  187. package/src/material/FContainer/FContainer.css +0 -165
  188. package/src/material/FContainer/FContainer.tsx +0 -33
  189. package/src/material/FContainer/index.ts +0 -1
  190. package/src/material/FFile/FFile.css +0 -0
  191. package/src/material/FFile/FFile.tsx +0 -46
  192. package/src/material/FFile/index.ts +0 -1
  193. package/src/material/FFullDateField/FFullDateField.tsx +0 -137
  194. package/src/material/FFullDateField/index.ts +0 -1
  195. package/src/material/FGrid/FGrid.css +0 -179
  196. package/src/material/FGrid/FGrid.tsx +0 -76
  197. package/src/material/FGrid/css/bootstrap-theme.css +0 -589
  198. package/src/material/FGrid/css/bootstrap-theme.min.css +0 -7
  199. package/src/material/FGrid/css/bootstrap.css +0 -1020
  200. package/src/material/FGrid/css/bootstrap.min.css +0 -7
  201. package/src/material/FGrid/index.ts +0 -1
  202. package/src/material/FInputFileForm/FInputFileForm.css +0 -95
  203. package/src/material/FInputFileForm/FInputFileForm.tsx +0 -147
  204. package/src/material/FInputFileForm/index.ts +0 -1
  205. package/src/material/FNative/FNative.css +0 -41
  206. package/src/material/FNative/FNative.tsx +0 -97
  207. package/src/material/FNative/index.ts +0 -1
  208. package/src/material/FOpenImgFull/FOpenImgFull.css +0 -10
  209. package/src/material/FOpenImgFull/FOpenImgFull.tsx +0 -109
  210. package/src/material/FOpenImgFull/index.ts +0 -1
  211. package/src/material/FOpenImgFull/statick/1.png +0 -0
  212. package/src/material/FOpenImgFull/statick/3.png +0 -0
  213. package/src/material/FOpenImgFull/statick/OKrG1rmJMps.jpg +0 -0
  214. package/src/material/FPagination/FPagination.css +0 -59
  215. package/src/material/FPagination/FPagination.tsx +0 -90
  216. package/src/material/FPagination/hooks/usePagination.tsx +0 -69
  217. package/src/material/FPagination/index.ts +0 -1
  218. package/src/material/FPaper/FPaper.css +0 -61
  219. package/src/material/FPaper/FPaper.tsx +0 -62
  220. package/src/material/FPaper/index.ts +0 -1
  221. package/src/material/FPreloader/FPreloader.css +0 -21
  222. package/src/material/FPreloader/FPreloader.tsx +0 -49
  223. package/src/material/FPreloader/index.ts +0 -1
  224. package/src/material/FProgress/FProgress.css +0 -9
  225. package/src/material/FProgress/FProgress.tsx +0 -41
  226. package/src/material/FProgress/index.ts +0 -1
  227. package/src/material/FRadioButton/FRadioButton.tsx +0 -43
  228. package/src/material/FRadioButton/RadioButton.css +0 -58
  229. package/src/material/FRadioButton/index.ts +0 -1
  230. package/src/material/FSearchBox/FSearchBox.css +0 -11
  231. package/src/material/FSearchBox/FSearchBox.tsx +0 -184
  232. package/src/material/FSelectSearchDb/FSelectSearchDb.css +0 -83
  233. package/src/material/FSelectSearchDb/FSelectSearchDb.tsx +0 -196
  234. package/src/material/FSelectSearchDb/index.ts +0 -1
  235. package/src/material/FStack/FStack.css +0 -3
  236. package/src/material/FStack/FStack.tsx +0 -55
  237. package/src/material/FStack/index.ts +0 -1
  238. package/src/material/FTextArea/FTextArea.tsx +0 -124
  239. package/src/material/FTextArea/index.ts +0 -1
  240. package/src/material/FTextField/FTextField.css +0 -95
  241. package/src/material/FTextField/FTextField.tsx +0 -163
  242. package/src/material/FTextField/index.ts +0 -1
  243. package/src/material/FTimelineComponents/FTimeline/FTimeline.css +0 -82
  244. package/src/material/FTimelineComponents/FTimeline/FTimeline.tsx +0 -28
  245. package/src/material/FTimelineComponents/FTimeline/index.ts +0 -1
  246. package/src/material/FTimelineComponents/FTimelineCard/FTimelineCard.tsx +0 -31
  247. package/src/material/FTimelineComponents/FTimelineCard/index.ts +0 -1
  248. package/src/material/SelectComponents/FSelect/FSelect.css +0 -0
  249. package/src/material/SelectComponents/FSelect/FSelect.tsx +0 -121
  250. package/src/material/SelectComponents/FSelect/index.ts +0 -1
  251. package/src/material/SelectComponents/FSelectItem/FSelectItem.tsx +0 -42
  252. package/src/material/SelectComponents/FSelectItem/index.ts +0 -1
  253. package/src/material/TableComponents/FTable/FTable.css +0 -62
  254. package/src/material/TableComponents/FTable/FTable.tsx +0 -39
  255. package/src/material/TableComponents/FTable/index.ts +0 -1
  256. package/src/material/TableComponents/FTableBody/FTableBody.tsx +0 -28
  257. package/src/material/TableComponents/FTableBody/index.ts +0 -1
  258. package/src/material/TableComponents/FTableDataCell/FTableDataCell.tsx +0 -45
  259. package/src/material/TableComponents/FTableDataCell/index.ts +0 -1
  260. package/src/material/TableComponents/FTableFooter/FTableFooter.tsx +0 -29
  261. package/src/material/TableComponents/FTableFooter/index.ts +0 -1
  262. package/src/material/TableComponents/FTableHead/FTableHead.tsx +0 -28
  263. package/src/material/TableComponents/FTableHead/index.ts +0 -1
  264. package/src/material/TableComponents/FTableHeaderCell/FTableHeaderCell.tsx +0 -39
  265. package/src/material/TableComponents/FTableHeaderCell/index.ts +0 -1
  266. package/src/material/TableComponents/FTableRow/FTableRow.tsx +0 -28
  267. package/src/material/TableComponents/FTableRow/index.ts +0 -1
  268. package/src/material/Tabs/FTab/FTab.tsx +0 -39
  269. package/src/material/Tabs/FTabs/FTabs.tsx +0 -27
  270. package/src/material/Tabs/styles/FTabs.css +0 -49
  271. package/src/material/index.ts +0 -60
  272. package/src/material/statick/Colors.css +0 -87
  273. package/src/material/statick/index.css +0 -7
  274. package/tsconfig.json +0 -21
  275. /package/{src/icons/FCopyAddIcon/index.ts → dist/icons/FCopyAddIcon/index.d.ts} +0 -0
  276. /package/{src/icons/FUnlinkIcon/index.ts → dist/icons/FUnlinkIcon/index.d.ts} +0 -0
  277. /package/{src/index.ts → dist/index.d.ts} +0 -0
  278. /package/{src/material/Dropdown/FDropdown/index.ts → dist/material/Dropdown/FDropdown/index.d.ts} +0 -0
  279. /package/{src/material/Dropdown/FDropdownItem/index.ts → dist/material/Dropdown/FDropdownItem/index.d.ts} +0 -0
  280. /package/{src/material/FSearchBox/index.ts → dist/material/FSearchBox/index.d.ts} +0 -0
  281. /package/{src/material/Tabs/FTab/index.ts → dist/material/Tabs/FTab/index.d.ts} +0 -0
  282. /package/{src/material/Tabs/FTabs/index.ts → dist/material/Tabs/FTabs/index.d.ts} +0 -0
package/rollup.config.js DELETED
@@ -1,33 +0,0 @@
1
-
2
- import image from '@rollup/plugin-image';
3
- import json from '@rollup/plugin-json';
4
- import commonjs from '@rollup/plugin-commonjs';
5
- import resolve from '@rollup/plugin-node-resolve';
6
- import postcss from 'rollup-plugin-postcss';
7
- import typescript from "rollup-plugin-typescript2";
8
-
9
- export default {
10
- input: 'src/index.ts',
11
- output: [
12
- {
13
- file: 'dist/bundle.js',
14
- format: 'cjs',
15
- },
16
- {
17
- file: 'dist/bundle.esm.js',
18
- format: 'esm',
19
- },
20
- ],
21
- plugins: [
22
- resolve(),
23
- commonjs(),
24
- typescript(),
25
- image(),
26
- json(),
27
- postcss({
28
- extract: true,
29
- extensions: ['.css'],
30
- }),
31
- ],
32
- external: ['react', 'react-dom'],
33
- };
@@ -1,99 +0,0 @@
1
- .f-function-block-alert {
2
- z-index: 9999999999;
3
- height: 100vh;
4
- width: 100vw;
5
- background-color: rgba(0,0,0,0.4);
6
- position: fixed;
7
- top: 0;
8
- left: 0;
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- pointer-events: all;
13
- transition: 1s;
14
- }
15
-
16
- .f-function-alert {
17
- display: flex;
18
- flex-direction: row;
19
- width: 625px;
20
- min-height: 75px;
21
- background-color: white;
22
- border-radius: 10px;
23
- }
24
-
25
- .f-function-alert-ico {
26
- display: flex;
27
- justify-content: center;
28
- align-items: center;
29
- width: 40px;
30
- border-bottom-left-radius: 10px;
31
- border-top-left-radius: 10px;
32
- }
33
-
34
- .f-function-alert-ico.info-alert {
35
- color: #2164BE !important;
36
- background-color: rgba(149, 191, 255, 0.4) !important;
37
- fill: #2164BE !important;
38
- }
39
-
40
- .f-function-alert-ico.error-alert {
41
- color: #D10000 !important;
42
- background-color: rgba(209, 0, 0, 0.4) !important;
43
- fill: #D10000 !important;
44
- }
45
-
46
- .f-function-alert-ico.success-alert {
47
- color: #0f7a11 !important;
48
- background-color: rgba(72, 159, 73, 0.4) !important;
49
- fill: #0f7a11 !important;
50
- }
51
-
52
- .f-function-alert-ico.warning-alert {
53
- color: #ffc107 !important;
54
- background-color: rgba(255, 193, 7, 0.4) !important;
55
- fill: #ffc107 !important;
56
- }
57
-
58
- .f-function-alert-inside {
59
- display: flex;
60
- flex-direction: column;
61
- margin: 16px;
62
- gap: 16px;
63
- width: 553px;
64
- }
65
-
66
- .f-function-alert-header {
67
- display: flex;
68
- align-items: center;
69
- }
70
-
71
- .f-function-alert-header h4 {
72
- font-family: "SF UI Display", sans-serif;
73
- color: #000;
74
- font-size: 15px;
75
- font-weight: 600;
76
- line-height: 1.2;
77
- }
78
-
79
- .f-function-alert-body {
80
- display: flex;
81
- align-items: center;
82
- }
83
-
84
- .f-function-alert-body span {
85
- font-size: 12px;
86
- font-weight: bold;
87
- color: #656565;
88
- white-space: normal;
89
- -webkit-hyphens: auto;
90
- -ms-hyphens: auto;
91
- hyphens: auto;
92
- word-wrap: anywhere;
93
- }
94
-
95
- .f-function-alert-footer {
96
- display: flex;
97
- align-items: center;
98
- flex-direction: row-reverse;
99
- }
@@ -1,66 +0,0 @@
1
- import './fAlert.css'
2
-
3
- export interface IfAlert {
4
- title?: string,
5
- body: string,
6
- variant: 'info' | 'error' | 'success' | 'warning'
7
- }
8
-
9
- const fAlert = (
10
- {
11
- title,
12
- body,
13
- variant = 'info'
14
- }: IfAlert
15
- ) => {
16
-
17
- let ico = ''
18
-
19
- switch (variant) {
20
- case 'info':
21
- ico = '<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>'
22
- break
23
- case "success":
24
- ico = '<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.235.235 0 0 1 .02-.022z"/>'
25
- break
26
- case 'error':
27
- ico = '<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>'
28
- break
29
- case 'warning':
30
- ico = '<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/><path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z"/>'
31
- break
32
- }
33
-
34
- window.document.body.insertAdjacentHTML(
35
- 'afterbegin',
36
- `
37
- <div class='f-function-block-alert' id='f-function-block-alert'>
38
- <div class='f-function-alert'>
39
- <div class='f-function-alert-ico ${variant}-alert'>
40
- <svg width="28" height="28" viewBox="0 0 16 16">
41
- ${ico}
42
- </svg>
43
- </div>
44
- <div class='f-function-alert-inside'>
45
- <div class='f-function-alert-header'>
46
- <h4>${title !== undefined ? title : ''}</h4>
47
- </div>
48
- <div class='f-function-alert-body'>
49
- <span>${body}</span>
50
- </div>
51
- <div class='f-function-alert-footer'>
52
- <button
53
- class='btn btn-primary btn-sm'
54
- onclick='document.querySelector("#f-function-block-alert").remove()'
55
- >
56
- Закрыть
57
- </button>
58
- </div>
59
- </div>
60
- </div>
61
- </div>
62
- `
63
- );
64
- }
65
-
66
- export default fAlert
@@ -1 +0,0 @@
1
- export { default } from "./fAlert";
@@ -1,80 +0,0 @@
1
- .f-function-block-confirm {
2
- z-index: 9999999999;
3
- height: 100vh;
4
- width: 100vw;
5
- background-color: rgba(0, 0, 0, 0.4);
6
- position: fixed;
7
- top: 0;
8
- left: 0;
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- pointer-events: all;
13
- transition: 1s;
14
- }
15
-
16
- .f-function-confirm {
17
- display: flex;
18
- flex-direction: row;
19
- width: 625px;
20
- min-height: 75px;
21
- background-color: white;
22
- border-radius: 10px;
23
- }
24
-
25
- .f-function-confirm-ico {
26
- display: flex;
27
- justify-content: center;
28
- align-items: center;
29
- width: 40px;
30
- border-bottom-left-radius: 10px;
31
- border-top-left-radius: 10px;
32
- }
33
-
34
- .f-function-confirm-ico.warning {
35
- color: #ffc107 !important;
36
- background-color: rgba(255, 193, 7, 0.4) !important;
37
- fill: #ffc107 !important;
38
- }
39
-
40
- .f-function-confirm-inside {
41
- display: flex;
42
- flex-direction: column;
43
- margin: 16px;
44
- gap: 16px;
45
- width: 553px;
46
- }
47
-
48
- .f-function-confirm-header {
49
- display: flex;
50
- align-items: center;
51
- }
52
-
53
- .f-function-confirm-header h4 {
54
- font-family: "SF UI Display", sans-serif;
55
- color: #000;
56
- font-size: 15px;
57
- }
58
-
59
- .f-function-confirm-body {
60
- display: flex;
61
- align-items: center;
62
- }
63
-
64
- .f-function-confirm-body span {
65
- font-size: 12px;
66
- font-weight: bold;
67
- color: #656565;
68
- white-space: normal;
69
- -webkit-hyphens: auto;
70
- -ms-hyphens: auto;
71
- hyphens: auto;
72
- word-wrap: anywhere;
73
- }
74
-
75
- .f-function-confirm-footer {
76
- display: flex;
77
- align-items: center;
78
- flex-direction: row-reverse;
79
- gap: 8px;
80
- }
@@ -1,66 +0,0 @@
1
- import './fConfirm.css'
2
-
3
- export interface IfConfirm {
4
- title?: string,
5
- body: string,
6
- }
7
-
8
- const fConfirm = ({title, body}: IfConfirm): Promise<boolean> => {
9
- return new Promise((resolve) => {
10
- window.document.body.insertAdjacentHTML(
11
- 'afterbegin',
12
- `
13
- <div class='f-function-block-confirm' id='f-function-block-confirm'>
14
- <div class='f-function-confirm'>
15
- <div class='f-function-confirm-ico warning'>
16
- <svg width="28" height="28" viewBox="0 0 16 16">
17
- <path
18
- d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>
19
- <path
20
- d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>
21
- </svg>
22
- </div>
23
- <div class='f-function-confirm-inside'>
24
- <div class='f-function-confirm-header'>
25
- <h4>${title !== undefined ? title : ''}</h4>
26
- </div>
27
- <div class='f-function-confirm-body'>
28
- <span>${body}</span>
29
- </div>
30
- <div class='f-function-confirm-footer'>
31
- <button
32
- id="f-function-confirm-ok"
33
- class='btn btn-success btn-sm'
34
- onclick='document.querySelector("#f-function-block-confirm").remove()'
35
- >
36
- Ок
37
- </button>
38
- <button
39
- id="f-function-confirm-cancellation"
40
- class='btn btn-danger btn-sm'
41
- onclick='document.querySelector("#f-function-block-confirm").remove()'
42
- >
43
- Отменить
44
- </button>
45
- </div>
46
- </div>
47
- </div>
48
- </div>
49
- `
50
- );
51
-
52
- let ok = document.querySelector('#f-function-confirm-ok')
53
- let cancellation = document.querySelector('#f-function-confirm-cancellation')
54
-
55
-
56
- ok!.addEventListener('click', function () {
57
- resolve(true);
58
- })
59
- cancellation!.addEventListener('click', function () {
60
- resolve(false);
61
- })
62
-
63
- });
64
- };
65
-
66
- export default fConfirm;
@@ -1 +0,0 @@
1
- export { default } from "./fConfirm";
@@ -1,85 +0,0 @@
1
- .f-function-block-prompt {
2
- z-index: 9999999999;
3
- height: 100vh;
4
- width: 100vw;
5
- background-color: rgba(0,0,0,0.4);
6
- position: fixed;
7
- top: 0;
8
- left: 0;
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- pointer-events: all;
13
- transition: 1s;
14
- }
15
-
16
- .f-function-prompt {
17
- display: flex;
18
- flex-direction: row;
19
- width: 625px;
20
- min-height: 75px;
21
- background-color: white;
22
- border-radius: 10px;
23
- }
24
-
25
- .f-function-prompt-ico {
26
- display: flex;
27
- justify-content: center;
28
- align-items: center;
29
- width: 40px;
30
- border-bottom-left-radius: 10px;
31
- border-top-left-radius: 10px;
32
- }
33
-
34
- .f-function-prompt-ico.warning {
35
- color: #0dcaf0 !important;
36
- background-color: rgba(13, 202, 240, 0.4) !important;
37
- fill: #0dcaf0 !important;
38
- }
39
-
40
- .f-function-prompt-inside {
41
- display: flex;
42
- flex-direction: column;
43
- margin: 16px;
44
- gap: 16px;
45
- width: 553px;
46
- }
47
-
48
- .f-function-prompt-header {
49
- display: flex;
50
- align-items: center;
51
- }
52
-
53
- .f-function-prompt-header h4 {
54
- font-family: "SF UI Display", sans-serif;
55
- color: #000;
56
- font-size: 15px;
57
- }
58
-
59
- .f-function-prompt-body {
60
- display: flex;
61
- flex-direction: column;
62
- gap: 16px;
63
- }
64
-
65
- .f-function-prompt-body span {
66
- font-size: 12px;
67
- font-weight: bold;
68
- color: #656565;
69
- white-space: normal;
70
- -webkit-hyphens: auto;
71
- -ms-hyphens: auto;
72
- hyphens: auto;
73
- word-wrap: anywhere;
74
- }
75
-
76
- .f-function-prompt-input {
77
-
78
- }
79
-
80
- .f-function-prompt-footer {
81
- display: flex;
82
- align-items: center;
83
- flex-direction: row-reverse;
84
- gap: 8px;
85
- }
@@ -1,77 +0,0 @@
1
- import './fPrompt.css'
2
-
3
- export interface IfPrompt {
4
- title?: string,
5
- body?: string,
6
- }
7
-
8
- export function getValue(element: HTMLInputElement | null): string | null {
9
- if (element) {
10
- return element.value;
11
- } else {
12
- return null;
13
- }
14
- }
15
-
16
- const fPrompt = ({title, body}: IfPrompt): Promise<string | null> => {
17
- return new Promise((resolve) => {
18
- window.document.body.insertAdjacentHTML(
19
- 'afterbegin',
20
- `
21
- <div class='f-function-block-prompt' id='f-function-block-prompt'>
22
- <div class='f-function-prompt'>
23
- <div class='f-function-prompt-ico warning'>
24
- <svg width="28" height="28" viewBox="0 0 16 16">
25
- <path d="M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-2.5a2 2 0 0 0-1.6.8L8 14.333 6.1 11.8a2 2 0 0 0-1.6-.8H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>
26
- <path d="M5 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
27
- </svg>
28
- </div>
29
- <div class='f-function-prompt-inside'>
30
- <div class='f-function-prompt-header'>
31
- <h4>${title}</h4>
32
- </div>
33
- <div class='f-function-prompt-body'>
34
- <span>${body}</span>
35
- <input
36
- type="text"
37
- id="f-function-prompt-input"
38
- class="form-control f-function-prompt-input"
39
- />
40
- </div>
41
- <div class='f-function-prompt-footer'>
42
- <button
43
- id="f-function-prompt-ok"
44
- class='btn btn-success btn-sm'
45
- onclick='document.querySelector("#f-function-block-prompt").remove()'
46
- >
47
- Ок
48
- </button>
49
- <button
50
- id="f-function-prompt-cancellation"
51
- class='btn btn-danger btn-sm'
52
- onclick='document.querySelector("#f-function-block-prompt").remove()'
53
- >
54
- Отменить
55
- </button>
56
- </div>
57
- </div>
58
- </div>
59
- </div>
60
- `
61
- );
62
-
63
- let ok: HTMLButtonElement | null = document.querySelector('#f-function-prompt-ok')
64
- let cancellation: HTMLButtonElement | null = document.querySelector('#f-function-prompt-cancellation')
65
- let submit: HTMLInputElement | null = document.querySelector('#f-function-prompt-input')
66
-
67
- ok!.addEventListener('click', function () {
68
- resolve(getValue(submit));
69
- })
70
- cancellation!.addEventListener('click', function () {
71
- resolve(null);
72
- })
73
-
74
- });
75
- };
76
-
77
- export default fPrompt;
@@ -1 +0,0 @@
1
- export { default } from "./fPrompt";
@@ -1,3 +0,0 @@
1
- export {default as fAlert} from "./fAlert"
2
- export {default as fConfirm} from "./fConfirm"
3
- export {default as fPrompt} from "./fPrompt"
@@ -1,50 +0,0 @@
1
- import React from 'react';
2
- import "../../material/statick/Colors.css"
3
-
4
- export interface IFArrowIcon {
5
- color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link'
6
- size?: number
7
- st?: React.CSSProperties,
8
- direction?: 'up' | 'down' | 'left' | 'right',
9
- handleClick?: () => void,
10
- id?: string,
11
- className?: string,
12
- }
13
-
14
- const FArrowIcon = ({
15
- color = 'primary',
16
- size = 32,
17
- st,
18
- direction = 'right',
19
- handleClick,
20
- id,
21
- className
22
- }: IFArrowIcon) => {
23
-
24
- const style = {
25
- transform: `rotate(
26
- ${direction === 'down' ? 90 :
27
- direction === 'up' ? -90 :
28
- direction === 'right' ? 0 :
29
- 180}deg)`
30
- }
31
-
32
- st = Object.assign({}, style, st)
33
-
34
- return (
35
- <svg
36
- width={size}
37
- xmlns="http://www.w3.org/2000/svg"
38
- viewBox="0 0 320 512"
39
- className={`arrow-icon ${color} ${className !== undefined ? className : ''}`}
40
- style={st}
41
- onClick={handleClick}
42
- id={id}
43
- >
44
- <path
45
- d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path>
46
- </svg>
47
- );
48
- };
49
-
50
- export default FArrowIcon;
@@ -1 +0,0 @@
1
- export { default } from "./FArrowIcon";
@@ -1,37 +0,0 @@
1
- import React from 'react';
2
- import "../../material/statick/Colors.css"
3
-
4
- export interface IFCheckIcon {
5
- color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link'
6
- size?: number
7
- st?: React.CSSProperties,
8
- id?: string,
9
- className?: string,
10
- handleClick?: () => void,
11
- }
12
-
13
- const FCheckIcon = ({
14
- color = 'success',
15
- size = 30,
16
- st,
17
- id,
18
- className,
19
- handleClick
20
- }: IFCheckIcon) => {
21
- return (
22
- <svg
23
- width={size}
24
- viewBox="0 0 16 16"
25
- className={`${color} ${className !== undefined ? className : ''}`}
26
- id={id}
27
- onClick={handleClick}
28
- style={st}
29
- >
30
- <path clipRule="evenodd"
31
- d="M15.4142 4.41421L6 13.8284L0.585785 8.41421L3.41421 5.58578L6 8.17157L12.5858 1.58578L15.4142 4.41421Z"
32
- fillRule="evenodd"/>
33
- </svg>
34
- );
35
- };
36
-
37
- export default FCheckIcon;
@@ -1 +0,0 @@
1
- export { default } from "./FCheckIcon";
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import "../../material/statick/Colors.css"
3
-
4
- export interface IFCloseIcon {
5
- color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link'
6
- size?: number
7
- st?: React.CSSProperties,
8
- id?: string,
9
- className?: string,
10
- handleClose?: () => void,
11
- }
12
-
13
- const FCloseIcon = ({color = 'primary', size = 70, st, id, className, handleClose}: IFCloseIcon) => {
14
- return (
15
- <svg
16
- width={size}
17
- style={st}
18
- className={`bi bi-x-lg ${color} ${className !== undefined ? className : ''}`}
19
- viewBox="0 0 16 16"
20
- onClick={handleClose}
21
- id={id}
22
- >
23
- <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
24
- </svg>
25
- );
26
- };
27
-
28
- export default FCloseIcon;
@@ -1 +0,0 @@
1
- export { default } from "./FCloseIcon";
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import "../../material/statick/Colors.css"
3
-
4
- export interface IFCopyAddIcon {
5
- color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link'
6
- size?: number
7
- st?: React.CSSProperties,
8
- id?: string,
9
- className?: string,
10
- handleClick?: () => void,
11
- }
12
-
13
- const FCopyAddIcon = ({color = 'dark', size = 30, st, id, className, handleClick}: IFCopyAddIcon) => {
14
- return (
15
- <svg
16
- width={size}
17
- style={st}
18
- className={`bi bi-pencil ${color} ${className !== undefined ? className : ''}`}
19
- viewBox="0 0 32 32"
20
- onClick={handleClick}
21
- id={id}
22
- >
23
- <path d="M27.2,8.22H23.78V5.42A3.42,3.42,0,0,0,20.36,2H5.42A3.42,3.42,0,0,0,2,5.42V20.36a3.42,3.42,0,0,0,3.42,3.42h2.8V27.2A2.81,2.81,0,0,0,11,30H27.2A2.81,2.81,0,0,0,30,27.2V11A2.81,2.81,0,0,0,27.2,8.22ZM5.42,21.91a1.55,1.55,0,0,1-1.55-1.55V5.42A1.54,1.54,0,0,1,5.42,3.87H20.36a1.55,1.55,0,0,1,1.55,1.55v2.8H11A2.81,2.81,0,0,0,8.22,11V21.91ZM28.13,27.2a.93.93,0,0,1-.93.93H11a.93.93,0,0,1-.93-.93V11a.93.93,0,0,1,.93-.93H27.2a.93.93,0,0,1,.93.93Z"/>
24
- <path d="M24.09,18.18H20v-4a.93.93,0,1,0-1.86,0v4h-4a.93.93,0,0,0,0,1.86h4v4.05a.93.93,0,1,0,1.86,0V20h4.05a.93.93,0,1,0,0-1.86Z"/>
25
-
26
- </svg>
27
- );
28
- };
29
-
30
- export default FCopyAddIcon;