@f1falcha/stimulus 1.0.0

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 (576) hide show
  1. package/accordion/accordion-config.scss +18 -0
  2. package/accordion/accordion-item/accordion-item.component.d.ts +11 -0
  3. package/accordion/accordion-item-body/accordion-item-body.component.d.ts +10 -0
  4. package/accordion/accordion-item-header/accordion-item-header.component.d.ts +15 -0
  5. package/accordion/accordion.d.ts +12 -0
  6. package/accordion/accordion.icon.d.ts +3 -0
  7. package/accordion/accordion.scss +41 -0
  8. package/account-card/account-card-config.scss +36 -0
  9. package/account-card/account-card-header/account-card-header-config.scss +9 -0
  10. package/account-card/account-card-header/account-card-header.component.d.ts +12 -0
  11. package/account-card/account-card-header/account-card-header.scss +11 -0
  12. package/account-card/account-card.component.d.ts +16 -0
  13. package/account-card/account-card.scss +19 -0
  14. package/alert/alert-animation.d.ts +6 -0
  15. package/alert/alert-config.d.ts +26 -0
  16. package/alert/alert-config.scss +43 -0
  17. package/alert/alert-icon.d.ts +3 -0
  18. package/alert/alert-ref.d.ts +11 -0
  19. package/alert/alert.d.ts +23 -0
  20. package/alert/alert.scss +91 -0
  21. package/alert/alert.service.d.ts +31 -0
  22. package/avatar/avatar-config.scss +12 -0
  23. package/avatar/avatar.d.ts +21 -0
  24. package/avatar/avatar.scss +2 -0
  25. package/badge/badge-config.scss +68 -0
  26. package/badge/badge.d.ts +17 -0
  27. package/badge/badge.scss +21 -0
  28. package/bank-logo.provider.d.ts +7 -0
  29. package/bordered-section/bordered-section-config.scss +24 -0
  30. package/bordered-section/bordered-section.d.ts +15 -0
  31. package/bordered-section/bordered-section.scss +22 -0
  32. package/box-shadow/box-shadow-config.scss +18 -0
  33. package/button/button-config.scss +342 -0
  34. package/button/button.d.ts +10 -0
  35. package/button/button.scss +62 -0
  36. package/button-group/button-group-config.scss +12 -0
  37. package/button-group/button-group-header/button-group-header-config.scss +9 -0
  38. package/button-group/button-group-header/button-group-header.d.ts +8 -0
  39. package/button-group/button-group-header/button-group-header.scss +5 -0
  40. package/button-group/button-group.d.ts +11 -0
  41. package/button-group/buttton-group.scss +19 -0
  42. package/button-spinner/button-spinner-config.scss +15 -0
  43. package/button-spinner/button-spinner.scss +30 -0
  44. package/card/card-config.scss +15 -0
  45. package/card/card.component.d.ts +8 -0
  46. package/card/card.scss +14 -0
  47. package/chart/chart-config.scss +21 -0
  48. package/chart/chart.component.d.ts +21 -0
  49. package/chart/chart.component.scss +34 -0
  50. package/checkbox/checkbox-config.scss +62 -0
  51. package/checkbox/checkbox.scss +45 -0
  52. package/checkbox-dropdown/checkbox-dropdown.component.d.ts +139 -0
  53. package/checkbox-dropdown/checkbox-dropdown.component.scss +11 -0
  54. package/checkbox-dropdown/checkbox-dropdown.icon.d.ts +3 -0
  55. package/clipboard/clipboard-config.scss +23 -0
  56. package/clipboard/clipboard.component.d.ts +15 -0
  57. package/clipboard/clipboard.component.scss +37 -0
  58. package/clipboard/clipboard.icon.d.ts +3 -0
  59. package/color/cherry.scss +19 -0
  60. package/color/chilli.scss +19 -0
  61. package/color/comet.scss +19 -0
  62. package/color/cotton-candy.scss +19 -0
  63. package/color/default.scss +154 -0
  64. package/color/emerald.scss +19 -0
  65. package/color/goblin.scss +19 -0
  66. package/color/jacaranda.scss +19 -0
  67. package/color/mars.scss +19 -0
  68. package/color/orchid.scss +19 -0
  69. package/color/spaceship.scss +19 -0
  70. package/color/summer.scss +19 -0
  71. package/color/tiger-lily.scss +19 -0
  72. package/color-wrapper/color-wrapper-config.scss +37 -0
  73. package/color-wrapper/color-wrapper.d.ts +17 -0
  74. package/color-wrapper/color-wrapper.scss +23 -0
  75. package/column-seperator/column-separator-config.scss +16 -0
  76. package/column-seperator/column-separator.d.ts +14 -0
  77. package/column-seperator/column-separator.scss +25 -0
  78. package/column-text/column-text.config.scss +12 -0
  79. package/column-text/column-text.d.ts +11 -0
  80. package/column-text/column-text.scss +22 -0
  81. package/container/container-config.scss +12 -0
  82. package/container/container.component.d.ts +12 -0
  83. package/container/container.scss +19 -0
  84. package/custom-datepicker/custom-datepicker-config.scss +50 -0
  85. package/custom-datepicker/custom-datepicker.component.d.ts +80 -0
  86. package/custom-datepicker/custom-datepicker.component.scss +127 -0
  87. package/custom-datepicker/custom-datepicker.model.d.ts +18 -0
  88. package/custom-datepicker/datepicker.icon.d.ts +3 -0
  89. package/custom-datepicker/timepicker/timepicker.component.d.ts +37 -0
  90. package/custom-datepicker/timepicker/timepicker.component.scss +79 -0
  91. package/data-list/data-list.config.scss +35 -0
  92. package/data-list/data-list.d.ts +13 -0
  93. package/data-list/data-list.scss +67 -0
  94. package/date-range-picker/date-range-picker.d.ts +40 -0
  95. package/datepicker/datepicker.config.scss +0 -0
  96. package/datepicker/datepicker.d.ts +45 -0
  97. package/datepicker/datepicker.scss +0 -0
  98. package/datepicker-icon/datepicker-icon-config.scss +10 -0
  99. package/datepicker-icon/datepicker-icon.d.ts +6 -0
  100. package/datepicker-icon/datepicker-icon.scss +7 -0
  101. package/datepicker.provider.d.ts +2 -0
  102. package/detail-panel/detail-panel-config.scss +16 -0
  103. package/detail-panel/detail-panel-row/detail-panel-column/detail-panel-column-config.scss +11 -0
  104. package/detail-panel/detail-panel-row/detail-panel-column/detail-panel-column.d.ts +6 -0
  105. package/detail-panel/detail-panel-row/detail-panel-column/detail-panel-column.scss +15 -0
  106. package/detail-panel/detail-panel-row/detail-panel-row.d.ts +6 -0
  107. package/detail-panel/detail-panel-row/detail-panel-row.scss +5 -0
  108. package/detail-panel/detail-panel-title/detail-panel-title-config.scss +14 -0
  109. package/detail-panel/detail-panel-title/detail-panel-title.d.ts +7 -0
  110. package/detail-panel/detail-panel-title/detail-panel-title.scss +16 -0
  111. package/detail-panel/detail-panel.d.ts +11 -0
  112. package/detail-panel/detail-panel.scss +50 -0
  113. package/dialog/dialog-body/dialog-body.component.d.ts +6 -0
  114. package/dialog/dialog-config.scss +24 -0
  115. package/dialog/dialog-container/dialog-container-config.scss +9 -0
  116. package/dialog/dialog-container/dialog-container.component.d.ts +6 -0
  117. package/dialog/dialog-container/dialog-container.scss +6 -0
  118. package/dialog/dialog-footer/dialog-footer.component.d.ts +6 -0
  119. package/dialog/dialog-footer/dialog-footer.scss +6 -0
  120. package/dialog/dialog-header/dialog-header-config.scss +14 -0
  121. package/dialog/dialog-header/dialog-header.component.d.ts +10 -0
  122. package/dialog/dialog-header/dialog-header.scss +16 -0
  123. package/dialog/dialog-icon.d.ts +3 -0
  124. package/dialog/dialog.component.d.ts +12 -0
  125. package/dialog/dialog.scss +27 -0
  126. package/dialog.provider.d.ts +3 -0
  127. package/dialog.ref.d.ts +4 -0
  128. package/dialog.service.d.ts +7 -0
  129. package/dropdown/context-menu-config.scss +23 -0
  130. package/dropdown/context-menu-content/context-menu-content.d.ts +9 -0
  131. package/dropdown/context-menu-item.d.ts +10 -0
  132. package/dropdown/context-menu-list/context-menu-list.d.ts +9 -0
  133. package/dropdown/context-menu.d.ts +19 -0
  134. package/dropdown/context-menu.scss +41 -0
  135. package/error-page-container/error-content/error-content-config.scss +29 -0
  136. package/error-page-container/error-content/error-content.d.ts +24 -0
  137. package/error-page-container/error-content/error-content.scss +58 -0
  138. package/error-page-container/error-page-container.d.ts +6 -0
  139. package/error-page-container/error-page-container.scss +15 -0
  140. package/esm2022/accordion/accordion-item/accordion-item.component.mjs +23 -0
  141. package/esm2022/accordion/accordion-item-body/accordion-item-body.component.mjs +18 -0
  142. package/esm2022/accordion/accordion-item-header/accordion-item-header.component.mjs +41 -0
  143. package/esm2022/accordion/accordion.icon.mjs +25 -0
  144. package/esm2022/accordion/accordion.mjs +14 -0
  145. package/esm2022/account-card/account-card-header/account-card-header.component.mjs +30 -0
  146. package/esm2022/account-card/account-card.component.mjs +64 -0
  147. package/esm2022/alert/alert-animation.mjs +9 -0
  148. package/esm2022/alert/alert-config.mjs +13 -0
  149. package/esm2022/alert/alert-icon.mjs +33 -0
  150. package/esm2022/alert/alert-ref.mjs +23 -0
  151. package/esm2022/alert/alert.mjs +50 -0
  152. package/esm2022/alert/alert.service.mjs +112 -0
  153. package/esm2022/avatar/avatar.mjs +91 -0
  154. package/esm2022/badge/badge.mjs +77 -0
  155. package/esm2022/bank-logo.provider.mjs +12 -0
  156. package/esm2022/bordered-section/bordered-section.mjs +70 -0
  157. package/esm2022/button/button.mjs +26 -0
  158. package/esm2022/button-group/button-group-header/button-group-header.mjs +24 -0
  159. package/esm2022/button-group/button-group.mjs +41 -0
  160. package/esm2022/card/card.component.mjs +28 -0
  161. package/esm2022/chart/chart.component.mjs +70 -0
  162. package/esm2022/checkbox-dropdown/checkbox-dropdown.component.mjs +232 -0
  163. package/esm2022/checkbox-dropdown/checkbox-dropdown.icon.mjs +14 -0
  164. package/esm2022/clipboard/clipboard.component.mjs +36 -0
  165. package/esm2022/clipboard/clipboard.icon.mjs +6 -0
  166. package/esm2022/color-wrapper/color-wrapper.mjs +82 -0
  167. package/esm2022/column-seperator/column-separator.mjs +62 -0
  168. package/esm2022/column-text/column-text.mjs +38 -0
  169. package/esm2022/container/container.component.mjs +46 -0
  170. package/esm2022/custom-datepicker/custom-datepicker.component.mjs +364 -0
  171. package/esm2022/custom-datepicker/custom-datepicker.model.mjs +12 -0
  172. package/esm2022/custom-datepicker/datepicker.icon.mjs +7 -0
  173. package/esm2022/custom-datepicker/timepicker/timepicker.component.mjs +195 -0
  174. package/esm2022/data-list/data-list.mjs +46 -0
  175. package/esm2022/date-range-picker/date-range-picker.mjs +207 -0
  176. package/esm2022/datepicker/datepicker.mjs +153 -0
  177. package/esm2022/datepicker-icon/datepicker-icon.mjs +18 -0
  178. package/esm2022/datepicker.provider.mjs +6 -0
  179. package/esm2022/detail-panel/detail-panel-row/detail-panel-column/detail-panel-column.mjs +15 -0
  180. package/esm2022/detail-panel/detail-panel-row/detail-panel-row.mjs +15 -0
  181. package/esm2022/detail-panel/detail-panel-title/detail-panel-title.mjs +19 -0
  182. package/esm2022/detail-panel/detail-panel.mjs +36 -0
  183. package/esm2022/dialog/dialog-body/dialog-body.component.mjs +16 -0
  184. package/esm2022/dialog/dialog-container/dialog-container.component.mjs +16 -0
  185. package/esm2022/dialog/dialog-footer/dialog-footer.component.mjs +16 -0
  186. package/esm2022/dialog/dialog-header/dialog-header.component.mjs +25 -0
  187. package/esm2022/dialog/dialog-icon.mjs +8 -0
  188. package/esm2022/dialog/dialog.component.mjs +36 -0
  189. package/esm2022/dialog.provider.mjs +5 -0
  190. package/esm2022/dialog.ref.mjs +4 -0
  191. package/esm2022/dialog.service.mjs +15 -0
  192. package/esm2022/dropdown/context-menu-content/context-menu-content.mjs +18 -0
  193. package/esm2022/dropdown/context-menu-item.mjs +28 -0
  194. package/esm2022/dropdown/context-menu-list/context-menu-list.mjs +18 -0
  195. package/esm2022/dropdown/context-menu.mjs +61 -0
  196. package/esm2022/error-page-container/error-content/error-content.mjs +49 -0
  197. package/esm2022/error-page-container/error-page-container.mjs +18 -0
  198. package/esm2022/extract-inital/extract-initial.mjs +21 -0
  199. package/esm2022/f1softinternational-stimulus.mjs +5 -0
  200. package/esm2022/file-uploader/file-uploader-icon.mjs +13 -0
  201. package/esm2022/file-uploader/file-uploader.mjs +274 -0
  202. package/esm2022/file-uploader/file-uploader.ref.mjs +3 -0
  203. package/esm2022/file-uploader/file-uploader.service.mjs +26 -0
  204. package/esm2022/filter/filter.mjs +173 -0
  205. package/esm2022/form/form-control/form-control-action.mjs +18 -0
  206. package/esm2022/form/form-control/form-control-icon.mjs +18 -0
  207. package/esm2022/form/form-control/form-field.mjs +86 -0
  208. package/esm2022/form/form-control-wrapper/form-control-wrapper.component.mjs +22 -0
  209. package/esm2022/form/form-error-messages.mjs +43 -0
  210. package/esm2022/form/form-message/form-message.mjs +30 -0
  211. package/esm2022/form/select-input-field/select-input-field.mjs +14 -0
  212. package/esm2022/form/validate-and-submit.mjs +54 -0
  213. package/esm2022/full-container/full-container.component.mjs +30 -0
  214. package/esm2022/grid/grid-item.component.mjs +24 -0
  215. package/esm2022/grid/grid.component.mjs +56 -0
  216. package/esm2022/grid-row/grid-row.mjs +18 -0
  217. package/esm2022/icon/icons.mjs +619 -0
  218. package/esm2022/image-card/illustration.pipe.mjs +57 -0
  219. package/esm2022/image-card/image-card.component.mjs +22 -0
  220. package/esm2022/image-panel/image-panel.component.mjs +88 -0
  221. package/esm2022/info-column/info-column.mjs +18 -0
  222. package/esm2022/info-slider/info-slider.component.mjs +50 -0
  223. package/esm2022/inline-alert/inline-alert.mjs +51 -0
  224. package/esm2022/inline-group/inline-group.component.mjs +32 -0
  225. package/esm2022/input/input.mjs +25 -0
  226. package/esm2022/label/label.mjs +18 -0
  227. package/esm2022/layout/layout.component.mjs +23 -0
  228. package/esm2022/link/link.mjs +79 -0
  229. package/esm2022/media-preview/media-preview-icon.mjs +41 -0
  230. package/esm2022/media-preview/media-preview-modal/media-preview-modal.mjs +128 -0
  231. package/esm2022/media-preview/media-preview.mjs +131 -0
  232. package/esm2022/media-preview/media_preview.service.mjs +31 -0
  233. package/esm2022/menu/menu-icon.mjs +29 -0
  234. package/esm2022/menu/menu.component.mjs +151 -0
  235. package/esm2022/nebular-icon.mjs +179 -0
  236. package/esm2022/otp-input/otp-input.component.mjs +106 -0
  237. package/esm2022/otp-input/otp-input.icon.mjs +13 -0
  238. package/esm2022/page-container/page-container-info/page-container-info.component.mjs +28 -0
  239. package/esm2022/page-container/page-container.component.mjs +63 -0
  240. package/esm2022/page-header/page-header.component.mjs +47 -0
  241. package/esm2022/page-header/page-header.icons.mjs +8 -0
  242. package/esm2022/page-header/page-sub-heading/page-sub-heading.component.mjs +12 -0
  243. package/esm2022/page-loader/page-loader.component.mjs +47 -0
  244. package/esm2022/pagination/pagination.icon.mjs +11 -0
  245. package/esm2022/pagination/pagination.mjs +170 -0
  246. package/esm2022/popover-content/popover-content-item/popover-content-item.component.mjs +15 -0
  247. package/esm2022/popover-content/popover-content.component.mjs +23 -0
  248. package/esm2022/preview-box/preview-box.component.mjs +73 -0
  249. package/esm2022/progress-bar/progress-bar.component.mjs +31 -0
  250. package/esm2022/progress-chart/progress-chart.component.mjs +87 -0
  251. package/esm2022/public-api.mjs +141 -0
  252. package/esm2022/radio-card-group/radio-card/radio-card.component.mjs +86 -0
  253. package/esm2022/radio-card-group/radio-card-group.component.mjs +61 -0
  254. package/esm2022/regex-checker/regex-checker-icon.mjs +18 -0
  255. package/esm2022/regex-checker/regex-checker.mjs +77 -0
  256. package/esm2022/regex-checker/regex-validity-icon.pipe.mjs +25 -0
  257. package/esm2022/ribbon/ribbon-icon.mjs +8 -0
  258. package/esm2022/ribbon/ribbon.mjs +37 -0
  259. package/esm2022/round-checkbox/round-checkbox.component.mjs +43 -0
  260. package/esm2022/row/column/column.component.mjs +19 -0
  261. package/esm2022/row/row.component.mjs +32 -0
  262. package/esm2022/scrollable-content/scrollable-content.component.mjs +22 -0
  263. package/esm2022/section-header/section-header.component.mjs +29 -0
  264. package/esm2022/section-row/section-row.mjs +35 -0
  265. package/esm2022/section-separator/section-separator.mjs +69 -0
  266. package/esm2022/section-shell/section-shell.component.mjs +45 -0
  267. package/esm2022/select/select.component.mjs +137 -0
  268. package/esm2022/select-card/select-card-icon.mjs +24 -0
  269. package/esm2022/select-card/select-card.component.mjs +117 -0
  270. package/esm2022/select-country/select-country.component.mjs +86 -0
  271. package/esm2022/shell/checker-sidebar/checker-sidebar.component.mjs +19 -0
  272. package/esm2022/shell/maker-sidebar/maker-sidebar.component.mjs +19 -0
  273. package/esm2022/shell/nebular-icons.mjs +180 -0
  274. package/esm2022/shell/shell-icons.mjs +474 -0
  275. package/esm2022/shell/shell-sidebar/shell-sidebar.component.mjs +38 -0
  276. package/esm2022/shell/shell.component.mjs +77 -0
  277. package/esm2022/side-drawer/side-drawer.mjs +15 -0
  278. package/esm2022/side-drawer/side-drawer.service.mjs +71 -0
  279. package/esm2022/size/component-size.mjs +2 -0
  280. package/esm2022/spinner/spinner.mjs +32 -0
  281. package/esm2022/stepper/step/step.mjs +20 -0
  282. package/esm2022/stepper/step/step.pipe.mjs +21 -0
  283. package/esm2022/stepper/step-header/step-header.mjs +29 -0
  284. package/esm2022/stepper/stepper-button/stepper-next.mjs +21 -0
  285. package/esm2022/stepper/stepper-button/stepper-previous.mjs +21 -0
  286. package/esm2022/stepper/stepper.mjs +56 -0
  287. package/esm2022/stimulus.module.mjs +891 -0
  288. package/esm2022/table/table-column/scl-table-column.mjs +54 -0
  289. package/esm2022/table/table-icon.mjs +13 -0
  290. package/esm2022/table/table-text/scl-table-text.mjs +51 -0
  291. package/esm2022/table/table.config.mjs +15 -0
  292. package/esm2022/table/table.mjs +186 -0
  293. package/esm2022/table-action-control/table-action-control.component.mjs +20 -0
  294. package/esm2022/tabset/tab/tab.component.mjs +29 -0
  295. package/esm2022/tabset/tab-directive/tabset.directive.mjs +22 -0
  296. package/esm2022/tabset/tabset.component.mjs +40 -0
  297. package/esm2022/taglist/tag/tag.component.mjs +51 -0
  298. package/esm2022/taglist/tag/tag.directive.mjs +30 -0
  299. package/esm2022/taglist/taglist.component.mjs +39 -0
  300. package/esm2022/text-decoration/text-decoration.component.mjs +26 -0
  301. package/esm2022/text-editor/text-editor.mjs +263 -0
  302. package/esm2022/theme.provider.mjs +9 -0
  303. package/esm2022/timeline/timeline.component.mjs +66 -0
  304. package/esm2022/timepicker/timepicker.component.mjs +377 -0
  305. package/esm2022/timepicker/timepicker.icon.mjs +7 -0
  306. package/esm2022/timepicker/timepicker.model.mjs +6 -0
  307. package/esm2022/toggle/toggle-description/toggle-description.mjs +18 -0
  308. package/esm2022/toggle/toggle.mjs +75 -0
  309. package/esm2022/toggle-password/toggle-password.component.mjs +54 -0
  310. package/esm2022/toggle-password/toggle-password.directive.mjs +26 -0
  311. package/esm2022/toggle-password/toggle-password.icon.mjs +13 -0
  312. package/esm2022/treeview/treeview-header/treeview-header.mjs +26 -0
  313. package/esm2022/treeview/treeview.icon.mjs +53 -0
  314. package/esm2022/treeview/treeview.mjs +319 -0
  315. package/esm2022/truncate/truncate.component.mjs +53 -0
  316. package/esm2022/typography/typography.mjs +168 -0
  317. package/extract-inital/extract-initial.d.ts +8 -0
  318. package/f1softinternational-stimulus-1.0.0.tgz +0 -0
  319. package/fesm2022/f1softinternational-stimulus.mjs +10275 -0
  320. package/file-uploader/file-upload-config.scss +48 -0
  321. package/file-uploader/file-upload.scss +77 -0
  322. package/file-uploader/file-uploader-icon.d.ts +3 -0
  323. package/file-uploader/file-uploader.d.ts +84 -0
  324. package/file-uploader/file-uploader.ref.d.ts +6 -0
  325. package/file-uploader/file-uploader.service.d.ts +11 -0
  326. package/filter/filter.d.ts +48 -0
  327. package/flag/_flags.scss +9 -0
  328. package/form/form-config.scss +14 -0
  329. package/form/form-control/form-control-action.d.ts +6 -0
  330. package/form/form-control/form-control-config.scss +9 -0
  331. package/form/form-control/form-control-icon.d.ts +6 -0
  332. package/form/form-control/form-control.scss +17 -0
  333. package/form/form-control/form-field.d.ts +26 -0
  334. package/form/form-control-wrapper/form-control-wrapper-config.scss +11 -0
  335. package/form/form-control-wrapper/form-control-wrapper.component.d.ts +8 -0
  336. package/form/form-control-wrapper/form-control-wrapper.scss +17 -0
  337. package/form/form-error-messages.d.ts +8 -0
  338. package/form/form-message/form-message-config.scss +7 -0
  339. package/form/form-message/form-message.d.ts +15 -0
  340. package/form/form-message/form-message.scss +6 -0
  341. package/form/form.scss +22 -0
  342. package/form/select-input-field/select-input-field-config.scss +13 -0
  343. package/form/select-input-field/select-input-field.d.ts +6 -0
  344. package/form/select-input-field/select-input-field.scss +43 -0
  345. package/form/validate-and-submit.d.ts +14 -0
  346. package/full-container/full-container-config.scss +16 -0
  347. package/full-container/full-container.component.d.ts +11 -0
  348. package/full-container/full-container.component.scss +54 -0
  349. package/grid/grid-config.scss +14 -0
  350. package/grid/grid-item.component.d.ts +8 -0
  351. package/grid/grid.component.d.ts +10 -0
  352. package/grid/grid.component.scss +26 -0
  353. package/grid-row/grid-row.config.scss +9 -0
  354. package/grid-row/grid-row.d.ts +6 -0
  355. package/grid-row/grid-row.scss +7 -0
  356. package/icon/icon.config.scss +9 -0
  357. package/icon/icon.scss +9 -0
  358. package/icon/icons.d.ts +3 -0
  359. package/image-card/illustration.pipe.d.ts +8 -0
  360. package/image-card/image-card-config.scss +29 -0
  361. package/image-card/image-card.component.d.ts +8 -0
  362. package/image-card/image-card.scss +37 -0
  363. package/image-panel/image-panel-config.scss +30 -0
  364. package/image-panel/image-panel.component.d.ts +26 -0
  365. package/image-panel/image-panel.component.scss +80 -0
  366. package/index.d.ts +6 -0
  367. package/info-column/info-column-config.scss +14 -0
  368. package/info-column/info-column.d.ts +7 -0
  369. package/info-column/info-column.scss +17 -0
  370. package/info-slider/info-slider-config.scss +10 -0
  371. package/info-slider/info-slider.component.d.ts +16 -0
  372. package/info-slider/info-slider.component.scss +21 -0
  373. package/inline-alert/inline-alert-config.scss +12 -0
  374. package/inline-alert/inline-alert.d.ts +20 -0
  375. package/inline-alert/inline-alert.scss +16 -0
  376. package/inline-group/inline-group.component.d.ts +10 -0
  377. package/inline-group/inline-group.component.scss +15 -0
  378. package/input/input-config.scss +57 -0
  379. package/input/input.d.ts +10 -0
  380. package/input/input.scss +68 -0
  381. package/label/label-config.scss +13 -0
  382. package/label/label.d.ts +6 -0
  383. package/label/label.scss +10 -0
  384. package/layout/layout.component.d.ts +9 -0
  385. package/link/link-config.scss +89 -0
  386. package/link/link.d.ts +19 -0
  387. package/link/link.scss +157 -0
  388. package/media-preview/media-preview-config.scss +15 -0
  389. package/media-preview/media-preview-icon.d.ts +3 -0
  390. package/media-preview/media-preview-modal/media-preview-modal.d.ts +31 -0
  391. package/media-preview/media-preview-modal/media-preview-modal.scss +148 -0
  392. package/media-preview/media-preview-modal/media-previw-modal-config.scss +44 -0
  393. package/media-preview/media-preview.d.ts +48 -0
  394. package/media-preview/media-preview.scss +59 -0
  395. package/media-preview/media_preview.service.d.ts +16 -0
  396. package/menu/menu-config.scss +33 -0
  397. package/menu/menu-icon.d.ts +3 -0
  398. package/menu/menu.component.d.ts +47 -0
  399. package/menu/menu.component.scss +80 -0
  400. package/nebular-icon.d.ts +3 -0
  401. package/otp-input/otp-input-config.scss +22 -0
  402. package/otp-input/otp-input.component.d.ts +33 -0
  403. package/otp-input/otp-input.component.scss +52 -0
  404. package/otp-input/otp-input.icon.d.ts +3 -0
  405. package/package.json +57 -0
  406. package/page-container/page-container-config.scss +9 -0
  407. package/page-container/page-container-info/page-container-info-config.scss +9 -0
  408. package/page-container/page-container-info/page-container-info.component.d.ts +10 -0
  409. package/page-container/page-container-info/page-container-info.scss +6 -0
  410. package/page-container/page-container.component.d.ts +14 -0
  411. package/page-container/page-container.component.scss +11 -0
  412. package/page-header/page-header-config.scss +28 -0
  413. package/page-header/page-header.component.d.ts +18 -0
  414. package/page-header/page-header.component.scss +37 -0
  415. package/page-header/page-header.icons.d.ts +3 -0
  416. package/page-header/page-sub-heading/page-sub-heading.component.d.ts +6 -0
  417. package/page-loader/page-loader-config.scss +23 -0
  418. package/page-loader/page-loader.component.d.ts +13 -0
  419. package/page-loader/page-loader.component.scss +44 -0
  420. package/pagination/pagination-config.scss +24 -0
  421. package/pagination/pagination.d.ts +47 -0
  422. package/pagination/pagination.icon.d.ts +3 -0
  423. package/pagination/pagination.scss +67 -0
  424. package/popover-content/popover-content-item/popover-content-item-config.scss +22 -0
  425. package/popover-content/popover-content-item/popover-content-item.component.d.ts +6 -0
  426. package/popover-content/popover-content-item/popover-content-item.scss +36 -0
  427. package/popover-content/popover-content.component.d.ts +14 -0
  428. package/preview-box/preview-box-config.scss +52 -0
  429. package/preview-box/preview-box.component.d.ts +31 -0
  430. package/preview-box/preview-box.component.scss +101 -0
  431. package/progress-bar/progress-bar-config.scss +14 -0
  432. package/progress-bar/progress-bar.component.d.ts +10 -0
  433. package/progress-bar/progress-bar.component.scss +13 -0
  434. package/progress-chart/progress-chart-config.scss +15 -0
  435. package/progress-chart/progress-chart.component.d.ts +21 -0
  436. package/progress-chart/progress-chart.component.scss +41 -0
  437. package/public-api.d.ts +135 -0
  438. package/radio-button/radio-button-config.scss +47 -0
  439. package/radio-button/radio-button.scss +89 -0
  440. package/radio-card-group/radio-card/radio-card-config.scss +31 -0
  441. package/radio-card-group/radio-card/radio-card.component.d.ts +30 -0
  442. package/radio-card-group/radio-card/radio-card.component.scss +88 -0
  443. package/radio-card-group/radio-card-group-config.scss +9 -0
  444. package/radio-card-group/radio-card-group.component.d.ts +20 -0
  445. package/radio-card-group/radio-card-group.scss +7 -0
  446. package/regex-checker/regex-checker-config.scss +24 -0
  447. package/regex-checker/regex-checker-icon.d.ts +3 -0
  448. package/regex-checker/regex-checker.d.ts +29 -0
  449. package/regex-checker/regex-checker.scss +38 -0
  450. package/regex-checker/regex-validity-icon.pipe.d.ts +8 -0
  451. package/ribbon/ribbon-config.scss +21 -0
  452. package/ribbon/ribbon-icon.d.ts +3 -0
  453. package/ribbon/ribbon.d.ts +14 -0
  454. package/ribbon/ribbon.scss +29 -0
  455. package/round-checkbox/round-checkbox-config.scss +15 -0
  456. package/round-checkbox/round-checkbox.component.d.ts +16 -0
  457. package/round-checkbox/round-checkbox.component.scss +23 -0
  458. package/row/column/column.component.d.ts +9 -0
  459. package/row/row-config.scss +10 -0
  460. package/row/row.component.d.ts +9 -0
  461. package/row/row.scss +22 -0
  462. package/scrollable-content/scrollable-content-config.scss +11 -0
  463. package/scrollable-content/scrollable-content.component.d.ts +8 -0
  464. package/scrollable-content/scrollable-content.component.scss +28 -0
  465. package/section-header/section-header-config.scss +18 -0
  466. package/section-header/section-header.component.d.ts +9 -0
  467. package/section-header/section-header.component.scss +32 -0
  468. package/section-row/section-row-config.scss +9 -0
  469. package/section-row/section-row.d.ts +9 -0
  470. package/section-row/section-row.scss +23 -0
  471. package/section-separator/section-separator-config.scss +19 -0
  472. package/section-separator/section-separator.d.ts +15 -0
  473. package/section-separator/section-separator.scss +28 -0
  474. package/section-shell/section-shell-config.scss +23 -0
  475. package/section-shell/section-shell.component.d.ts +12 -0
  476. package/section-shell/section-shell.component.scss +30 -0
  477. package/select/select-config.scss +78 -0
  478. package/select/select.component.d.ts +44 -0
  479. package/select/select.scss +174 -0
  480. package/select-card/select-card-config.scss +32 -0
  481. package/select-card/select-card-icon.d.ts +3 -0
  482. package/select-card/select-card.component.d.ts +38 -0
  483. package/select-card/select-card.component.scss +66 -0
  484. package/select-country/select-country-config.scss +10 -0
  485. package/select-country/select-country.component.d.ts +33 -0
  486. package/select-country/select-country.component.scss +34 -0
  487. package/shell/checker-sidebar/checker-sidebar-config.scss +21 -0
  488. package/shell/checker-sidebar/checker-sidebar.component.d.ts +8 -0
  489. package/shell/checker-sidebar/checker-sidebar.component.scss +34 -0
  490. package/shell/maker-sidebar/maker-sidebar-config.scss +21 -0
  491. package/shell/maker-sidebar/maker-sidebar.component.d.ts +8 -0
  492. package/shell/maker-sidebar/maker-sidebar.component.scss +34 -0
  493. package/shell/nebular-icons.d.ts +3 -0
  494. package/shell/shell-config.component.scss +25 -0
  495. package/shell/shell-icons.d.ts +3 -0
  496. package/shell/shell-sidebar/shell-sidebar-config.scss +43 -0
  497. package/shell/shell-sidebar/shell-sidebar.component.d.ts +14 -0
  498. package/shell/shell-sidebar/shell-sidebar.component.scss +106 -0
  499. package/shell/shell-sidebar-menu/shell-sidebar-menu-config.scss +56 -0
  500. package/shell/shell-sidebar-menu/shell-sidebar-menu.scss +76 -0
  501. package/shell/shell.component.d.ts +21 -0
  502. package/shell/shell.component.scss +55 -0
  503. package/side-drawer/side-drawer-config.scss +20 -0
  504. package/side-drawer/side-drawer.d.ts +8 -0
  505. package/side-drawer/side-drawer.scss +52 -0
  506. package/side-drawer/side-drawer.service.d.ts +20 -0
  507. package/size/component-size.d.ts +2 -0
  508. package/spinner/spinner.d.ts +11 -0
  509. package/stepper/step/step.d.ts +8 -0
  510. package/stepper/step/step.pipe.d.ts +8 -0
  511. package/stepper/step-header/step-header.d.ts +12 -0
  512. package/stepper/stepper-button/stepper-next.d.ts +7 -0
  513. package/stepper/stepper-button/stepper-previous.d.ts +7 -0
  514. package/stepper/stepper.config.scss +37 -0
  515. package/stepper/stepper.d.ts +19 -0
  516. package/stepper/stepper.scss +149 -0
  517. package/stimulus-config.scss +98 -0
  518. package/stimulus.module.d.ts +136 -0
  519. package/stimulus.scss +107 -0
  520. package/table/table-column/scl-table-column.d.ts +26 -0
  521. package/table/table-config.scss +63 -0
  522. package/table/table-icon.d.ts +3 -0
  523. package/table/table-text/scl-table-text.d.ts +13 -0
  524. package/table/table.config.d.ts +19 -0
  525. package/table/table.d.ts +58 -0
  526. package/table/table.scss +232 -0
  527. package/table-action-control/table-action-control-config.scss +12 -0
  528. package/table-action-control/table-action-control.component.d.ts +8 -0
  529. package/table-action-control/table-action-control.component.scss +14 -0
  530. package/tabset/route-tab/route-tab-config.scss +30 -0
  531. package/tabset/route-tab/route-tab.scss +44 -0
  532. package/tabset/tab/tab.component.d.ts +9 -0
  533. package/tabset/tab-directive/tabset-config.scss +49 -0
  534. package/tabset/tab-directive/tabset.directive.d.ts +7 -0
  535. package/tabset/tab-directive/tabset.scss +154 -0
  536. package/tabset/tabset.component.d.ts +14 -0
  537. package/tabset/tabset.component.scss +79 -0
  538. package/taglist/tag/tag-config.scss +30 -0
  539. package/taglist/tag/tag.component.d.ts +17 -0
  540. package/taglist/tag/tag.directive.d.ts +16 -0
  541. package/taglist/tag/tag.scss +43 -0
  542. package/taglist/taglist.component.d.ts +12 -0
  543. package/text-decoration/text-decoration.component.d.ts +9 -0
  544. package/text-decoration/text-decoration.scss +7 -0
  545. package/text-editor/text-editor.config.scss +23 -0
  546. package/text-editor/text-editor.d.ts +60 -0
  547. package/text-editor/text-editor.scss +74 -0
  548. package/theme.provider.d.ts +2 -0
  549. package/timeline/timeline-config.scss +49 -0
  550. package/timeline/timeline.component.d.ts +26 -0
  551. package/timeline/timeline.component.scss +126 -0
  552. package/timepicker/timepicker-config.scss +41 -0
  553. package/timepicker/timepicker.component.d.ts +74 -0
  554. package/timepicker/timepicker.component.scss +111 -0
  555. package/timepicker/timepicker.icon.d.ts +3 -0
  556. package/timepicker/timepicker.model.d.ts +13 -0
  557. package/toggle/toggle-config.scss +51 -0
  558. package/toggle/toggle-description/toggle-description.d.ts +6 -0
  559. package/toggle/toggle.d.ts +19 -0
  560. package/toggle/toggle.scss +31 -0
  561. package/toggle-password/toggle-password-config.scss +12 -0
  562. package/toggle-password/toggle-password.component.d.ts +21 -0
  563. package/toggle-password/toggle-password.directive.d.ts +13 -0
  564. package/toggle-password/toggle-password.icon.d.ts +3 -0
  565. package/toggle-password/toggle-password.scss +16 -0
  566. package/treeview/treeview-config.scss +86 -0
  567. package/treeview/treeview-header/treeview-header.d.ts +12 -0
  568. package/treeview/treeview.d.ts +66 -0
  569. package/treeview/treeview.icon.d.ts +3 -0
  570. package/treeview/treeview.scss +278 -0
  571. package/truncate/truncate.component.d.ts +16 -0
  572. package/truncate/truncate.scss +18 -0
  573. package/typography/font.scss +28 -0
  574. package/typography/typography-config.scss +73 -0
  575. package/typography/typography.d.ts +37 -0
  576. package/typography/typography.scss +47 -0
@@ -0,0 +1,13 @@
1
+ @use '@nebular/theme/styles/theming' as *;
2
+
3
+ $nb-themes: nb-register-theme(
4
+ (
5
+ label-text-color: color-basic-600,
6
+ label-text-font-size: 0.875rem,
7
+ label-text-line-height: 1.43,
8
+ label-text-font-weight: 500,
9
+ label-text-margin: 0.375rem,
10
+ ),
11
+ default,
12
+ default
13
+ );
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SclLabel {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<SclLabel, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SclLabel, "[sclLabel]", never, {}, {}, never, never, true, never>;
5
+ }
6
+ //# sourceMappingURL=label.d.ts.map
@@ -0,0 +1,10 @@
1
+ @use '@nebular/theme/styles/theming' as *;
2
+
3
+ .scl-label {
4
+ display: block;
5
+ color: nb-theme(label-text-color);
6
+ font-size: nb-theme(label-text-font-size);
7
+ line-height: nb-theme(label-text-line-height);
8
+ font-weight: nb-theme(label-text-font-weight);
9
+ margin-bottom: nb-theme(label-text-margin);
10
+ }
@@ -0,0 +1,9 @@
1
+ import { NbIconLibraries } from '@nebular/theme';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SclLayoutComponent {
4
+ private iconLibraries;
5
+ constructor(iconLibraries: NbIconLibraries);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SclLayoutComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<SclLayoutComponent, "scl-layout", never, {}, {}, never, ["*"], true, never>;
8
+ }
9
+ //# sourceMappingURL=layout.component.d.ts.map
@@ -0,0 +1,89 @@
1
+ @use '@nebular/theme/styles/theming' as *;
2
+
3
+ $nb-themes: nb-register-theme(
4
+ (
5
+ scl-link-small-font-size: 0.75rem,
6
+ scl-link-small-line-height: 1rem,
7
+
8
+ scl-link-small-icon-width: 1rem,
9
+ scl-link-small-icon-height: 1rem,
10
+
11
+ scl-link-medium-font-size: 0.875rem,
12
+ scl-link-medium-line-height: 1.25rem,
13
+
14
+ scl-link-large-font-size: 1rem,
15
+ scl-link-large-line-height: 1.25rem,
16
+
17
+ // Basic link
18
+ scl-link-basic-text-color: color-basic-600,
19
+
20
+ scl-link-basic-hover-text-color: color-basic-700,
21
+
22
+ scl-link-basic-active-text-color: color-basic-800,
23
+
24
+ scl-link-basic-focus-text-color: color-basic-600,
25
+
26
+ scl-link-basic-disabled-text-color: color-basic-400,
27
+
28
+ // Primary link
29
+ scl-link-primary-text-color: color-primary-600,
30
+
31
+ scl-link-primary-hover-text-color: color-primary-700,
32
+
33
+ scl-link-primary-active-text-color: color-primary-800,
34
+
35
+ scl-link-primary-focus-text-color: color-primary-500,
36
+
37
+ scl-link-primary-disabled-text-color: color-primary-300,
38
+
39
+ // Danger Link
40
+ scl-link-danger-text-color: color-danger-700,
41
+
42
+ scl-link-danger-hover-text-color: color-danger-800,
43
+
44
+ scl-link-danger-active-text-color: color-danger-900,
45
+
46
+ scl-link-danger-focus-text-color: color-danger-700,
47
+
48
+ scl-link-danger-disabled-text-color: color-danger-300,
49
+
50
+ // Info Link
51
+ scl-link-info-text-color: color-info-700,
52
+
53
+ scl-link-info-focus-text-color: color-info-800,
54
+
55
+ scl-link-info-hover-text-color: color-info-900,
56
+
57
+ scl-link-info-active-text-color: color-info-700,
58
+
59
+ scl-link-info-disabled-text-color: color-info-300,
60
+
61
+ // Success Link
62
+ scl-link-success-text-color: color-success-700,
63
+
64
+ scl-link-success-hover-text-color: color-success-800,
65
+
66
+ scl-link-success-active-text-color: color-success-900,
67
+
68
+ scl-link-success-focus-text-color: color-success-700,
69
+
70
+ scl-link-success-disabled-text-color: color-success-300,
71
+
72
+ // Warning Link
73
+ scl-link-warning-text-color: color-warning-700,
74
+
75
+ scl-link-warning-hover-text-color: color-warning-800,
76
+
77
+ scl-link-warning-active-text-color: color-warning-900,
78
+
79
+ scl-link-warning-focus-text-color: color-warning-700,
80
+
81
+ scl-link-warning-disabled-text-color: color-warning-300,
82
+
83
+ scl-link-focus-width: 0.25rem,
84
+ scl-link-focus-style: solid,
85
+ scl-link-focus-border-radius: 0.31rem,
86
+ ),
87
+ default,
88
+ default
89
+ );
package/link/link.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ import { NbComponentOrCustomStatus } from '@nebular/theme';
2
+ import * as i0 from "@angular/core";
3
+ export type Size = 'small' | 'medium' | 'large';
4
+ export declare class SclLink {
5
+ size: Size;
6
+ get small(): boolean;
7
+ get medium(): boolean;
8
+ get large(): boolean;
9
+ status: NbComponentOrCustomStatus;
10
+ get basic(): boolean;
11
+ get primary(): boolean;
12
+ get danger(): boolean;
13
+ get info(): boolean;
14
+ get success(): boolean;
15
+ get warning(): boolean;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SclLink, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SclLink, "[sclLink]", never, { "size": { "alias": "size"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, {}, never, never, true, never>;
18
+ }
19
+ //# sourceMappingURL=link.d.ts.map
package/link/link.scss ADDED
@@ -0,0 +1,157 @@
1
+ @use '@nebular/theme/styles/theming' as *;
2
+
3
+ .scl-link {
4
+ cursor: pointer;
5
+ text-decoration: none;
6
+ padding: 0;
7
+ border-width: 0;
8
+ background-color: transparent;
9
+ display: flex;
10
+ align-items: center;
11
+
12
+ &--small {
13
+ font-size: nb-theme(scl-link-small-font-size);
14
+ line-height: nb-theme(scl-link-small-line-height);
15
+
16
+ nb-icon {
17
+ width: nb-theme(scl-link-small-icon-width);
18
+ height: nb-theme(scl-link-small-icon-height);
19
+ }
20
+ }
21
+ &--medium {
22
+ font-size: nb-theme(scl-link-medium-font-size);
23
+ line-height: nb-theme(scl-link-medium-line-height);
24
+ }
25
+ &--large {
26
+ font-size: nb-theme(scl-link-large-font-size);
27
+ line-height: nb-theme(scl-link-large-line-height);
28
+ }
29
+
30
+ &--basic {
31
+ color: nb-theme(scl-link-basic-text-color);
32
+
33
+ &:hover {
34
+ color: nb-theme(scl-link-basic-hover-text-color);
35
+ }
36
+
37
+ &:active {
38
+ color: nb-theme(scl-link-basic-active-text-color);
39
+ }
40
+
41
+ &:focus {
42
+ color: nb-theme(scl-link-basic-focus-text-color);
43
+ }
44
+
45
+ &[disabled] {
46
+ color: nb-theme(scl-link-basic-disabled-text-color);
47
+ cursor: not-allowed;
48
+ }
49
+ }
50
+
51
+ &--primary {
52
+ color: nb-theme(scl-link-primary-text-color);
53
+
54
+ &:hover {
55
+ color: nb-theme(scl-link-primary-hover-text-color);
56
+ }
57
+
58
+ &:active {
59
+ color: nb-theme(scl-link-primary-active-text-color);
60
+ }
61
+
62
+ &:focus {
63
+ color: nb-theme(scl-link-primary-focus-text-color);
64
+ outline: nb-theme(scl-link-focus-width) nb-theme(scl-link-focus-style) nb-theme(color-primary-100);
65
+ border-radius: nb-theme(scl-link-focus-border-radius);
66
+ }
67
+
68
+ &[disabled] {
69
+ color: nb-theme(scl-link-primary-disabled-text-color);
70
+ cursor: not-allowed;
71
+ }
72
+ }
73
+
74
+ &--danger {
75
+ color: nb-theme(scl-link-danger-text-color);
76
+
77
+ &:hover {
78
+ color: nb-theme(scl-link-danger-hover-text-color);
79
+ }
80
+
81
+ &:active {
82
+ color: nb-theme(scl-link-danger-active-text-color);
83
+ }
84
+
85
+ &:focus {
86
+ color: nb-theme(scl-link-danger-focus-text-color);
87
+ }
88
+
89
+ &[disabled] {
90
+ color: nb-theme(scl-link-danger-disabled-text-color);
91
+ cursor: not-allowed;
92
+ }
93
+ }
94
+
95
+ &--info {
96
+ color: nb-theme(scl-link-info-text-color);
97
+
98
+ &:hover {
99
+ color: nb-theme(scl-link-info-hover-text-color);
100
+ }
101
+
102
+ &:active {
103
+ color: nb-theme(scl-link-info-active-text-color);
104
+ }
105
+
106
+ &:focus {
107
+ color: nb-theme(scl-link-info-focus-text-color);
108
+ }
109
+
110
+ &[disabled] {
111
+ color: nb-theme(scl-link-info-disabled-text-color);
112
+ cursor: not-allowed;
113
+ }
114
+ }
115
+
116
+ &--success {
117
+ color: nb-theme(scl-link-success-text-color);
118
+
119
+ &:hover {
120
+ color: nb-theme(scl-link-success-hover-text-color);
121
+ }
122
+
123
+ &:active {
124
+ color: nb-theme(scl-link-success-active-text-color);
125
+ }
126
+
127
+ &:focus {
128
+ color: nb-theme(scl-link-success-focus-text-color);
129
+ }
130
+
131
+ &[disabled] {
132
+ color: nb-theme(scl-link-success-disabled-text-color);
133
+ cursor: not-allowed;
134
+ }
135
+ }
136
+
137
+ &--warning {
138
+ color: nb-theme(scl-link-warning-text-color);
139
+
140
+ &:hover {
141
+ color: nb-theme(scl-link-warning-hover-text-color);
142
+ }
143
+
144
+ &:active {
145
+ color: nb-theme(scl-link-warning-active-text-color);
146
+ }
147
+
148
+ &:focus {
149
+ color: nb-theme(scl-link-warning-focus-text-color);
150
+ }
151
+
152
+ &[disabled] {
153
+ color: nb-theme(scl-link-warning-disabled-text-color);
154
+ cursor: not-allowed;
155
+ }
156
+ }
157
+ }
@@ -0,0 +1,15 @@
1
+ @use '@nebular/theme/styles/theming' as *;
2
+
3
+ $nb-themes: nb-register-theme(
4
+ (
5
+ scl-media-preview-container-gap: 2rem 1rem,
6
+
7
+ scl-media-preview-item-gap: 0.375rem,
8
+ scl-media-preview-item-margin: 0,
9
+
10
+ scl-media-preview-image-width: 100%,
11
+ scl-media-preview-image-height: 100%,
12
+ ),
13
+ default,
14
+ default
15
+ );
@@ -0,0 +1,3 @@
1
+ import { NbIcons } from '@nebular/theme';
2
+ export declare const MEDIA_PREVIEW_ICON: NbIcons;
3
+ //# sourceMappingURL=media-preview-icon.d.ts.map
@@ -0,0 +1,31 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { SwiperContainer } from 'swiper/element';
4
+ import { SclMedia } from '../media-preview';
5
+ import { MediaPreviewService } from '../media_preview.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SclMediaPreviewModal implements OnInit, AfterViewInit, OnDestroy {
8
+ private mediaService;
9
+ closeModal: EventEmitter<null>;
10
+ medias: SclMedia[];
11
+ activeImageIndex: number;
12
+ showCaption: boolean;
13
+ showThumbnails: boolean;
14
+ swiperPreview: ElementRef<SwiperContainer>;
15
+ swiperThumbs: ElementRef<SwiperContainer>;
16
+ activeMedia: BehaviorSubject<SclMedia>;
17
+ constructor(mediaService: MediaPreviewService);
18
+ ngOnInit(): void;
19
+ ngAfterViewInit(): void;
20
+ get showNavigation(): boolean;
21
+ private initializeSwiper;
22
+ initPreviewSwiper(): void;
23
+ initThumbsSwiper(): void;
24
+ closePreview(): void;
25
+ copyUrl(url: string): void;
26
+ downloadImage(media: any): void;
27
+ ngOnDestroy(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<SclMediaPreviewModal, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<SclMediaPreviewModal, "scl-media-preview-modal", never, { "medias": { "alias": "medias"; "required": false; }; "activeImageIndex": { "alias": "activeImageIndex"; "required": false; }; "showCaption": { "alias": "showCaption"; "required": false; }; "showThumbnails": { "alias": "showThumbnails"; "required": false; }; }, { "closeModal": "closeModal"; }, never, never, true, never>;
30
+ }
31
+ //# sourceMappingURL=media-preview-modal.d.ts.map
@@ -0,0 +1,148 @@
1
+ @use '@nebular/theme/styles/theming' as *;
2
+
3
+ .scl-media-preview-modal {
4
+ display: flex;
5
+ flex-direction: column;
6
+ width: nb-theme(scl-media-preview-modal-width);
7
+ height: nb-theme(scl-media-preview-modal-height);
8
+ position: relative;
9
+ backdrop-filter: blur(6px);
10
+ background-color: nb-theme(scl-media-preview-modal-background-color);
11
+ overflow: hidden auto;
12
+ justify-content: space-between;
13
+
14
+ &__header {
15
+ display: flex;
16
+ justify-content: center;
17
+ width: nb-theme(scl-media-preview-modal-header-width);
18
+ padding: nb-theme(scl-media-preview-modal-header-padding);
19
+ }
20
+
21
+ &__container {
22
+ flex-grow: 1;
23
+ position: relative;
24
+ max-height: 75%;
25
+
26
+ &--with-thumbnail {
27
+ max-height: 60%;
28
+ }
29
+ }
30
+
31
+ &__footer {
32
+ min-height: 150px;
33
+ &--slide-caption {
34
+ color: nb-theme(scl-media-preview-modal-footer-caption-color);
35
+ text-align: center;
36
+ padding: nb-theme(scl-media-preview-modal-footer-caption-padding);
37
+ height: nb-theme(scl-media-preview-modal-footer-caption-height);
38
+ overflow-y: auto;
39
+ display: grid;
40
+ place-items: center;
41
+
42
+ nb-icon {
43
+ cursor: pointer;
44
+ }
45
+ }
46
+ }
47
+ }
48
+
49
+ .scl-swiper-preview {
50
+ height: nb-theme(scl-swiper-preview-height);
51
+ margin: auto;
52
+
53
+ &__slide {
54
+ position: relative;
55
+ text-align: center;
56
+ font-size: nb-theme(scl-swiper-preview-slide-font-size);
57
+ display: flex;
58
+ flex-direction: column;
59
+ justify-content: space-between;
60
+ align-items: center;
61
+ }
62
+
63
+ &__slide-image {
64
+ height: 100%;
65
+ object-fit: contain;
66
+ overflow: hidden;
67
+ }
68
+ }
69
+
70
+ .scl-swiper-thumbs {
71
+ width: nb-theme(scl-swiper-thumbs-width);
72
+ padding: nb-theme(scl-swiper-thumbs-padding);
73
+
74
+ &__slide {
75
+ cursor: pointer;
76
+ filter: brightness(0.6);
77
+
78
+ figure {
79
+ margin: nb-theme(scl-swiper-thumbs-slide-margin);
80
+ }
81
+ }
82
+
83
+ &__slide-image {
84
+ width: nb-theme(scl-swiper-thumbs-slide-image-width);
85
+ height: nb-theme(scl-swiper-thumbs-slide-image-height);
86
+ height: clamp(80px, 10vw, 100px);
87
+ object-fit: cover;
88
+ border-radius: nb-theme(scl-swiper-thumbs-slide-image-border-radius);
89
+ }
90
+ }
91
+
92
+ .scl-swiper-thumbs .swiper-slide-thumb-active {
93
+ filter: brightness(1);
94
+ .scl-swiper-thumbs__slide-image {
95
+ width: nb-theme(scl-swiper-thumbs-slide-image-active-width);
96
+ height: nb-theme(scl-swiper-thumbs-slide-image-active-height);
97
+ height: clamp(100px, 12vw, 132px);
98
+ border: nb-theme(scl-swiper-thumbs-slide-image-active-border);
99
+ }
100
+ }
101
+
102
+ .scl-preview-button {
103
+ position: absolute;
104
+ color: nb-theme(scl-swiper-preview-slide-button-color);
105
+ z-index: 3;
106
+ background: rgba(0, 0, 0, 0.7);
107
+ padding: 14px;
108
+ border-style: nb-theme(button-outline-border-style);
109
+ border-width: nb-theme(button-outline-border-width);
110
+ border-color: nb-theme(button-outline-control-border-color);
111
+ text-transform: nb-theme(button-outline-text-transform);
112
+ border-radius: nb-theme(scl-swiper-preview-slide-button-border-radius);
113
+ cursor: pointer;
114
+ transition: 0.15s ease-in;
115
+ transition-property: background-color, border-color, box-shadow, color;
116
+
117
+ &:hover {
118
+ background-color: nb-theme(button-outline-control-focus-background-color);
119
+ border-color: nb-theme(button-outline-control-hover-border-color);
120
+ color: nb-t heme(button-outline-control-hover-text-color);
121
+ }
122
+ &:focus {
123
+ background-color: nb-theme(button-outline-control-focus-background-color);
124
+ border-color: nb-theme(button-outline-control-focus-border-color);
125
+ color: nb-theme(button-outline-control-focus-text-color);
126
+ }
127
+
128
+ &:active {
129
+ outline: 0.25rem solid nb-theme(scl-swiper-preview-slide-button-color);
130
+ }
131
+
132
+ &[disabled],
133
+ &.btn-disabled {
134
+ background-color: nb-theme(button-outline-control-disabled-background-color);
135
+ border-color: nb-theme(button-outline-control-disabled-border-color);
136
+ color: nb-theme(button-outline-control-disabled-text-color);
137
+ cursor: not-allowed;
138
+ }
139
+ &__previous {
140
+ bottom: nb-theme(scl-swiper-preview-slide-button-bottom);
141
+ left: nb-theme(scl-swiper-preview-slide-previous-button-left);
142
+ }
143
+
144
+ &__next {
145
+ bottom: nb-theme(scl-swiper-preview-slide-button-bottom);
146
+ right: nb-theme(scl-swiper-preview-slide-next-button-right);
147
+ }
148
+ }
@@ -0,0 +1,44 @@
1
+ @use '@nebular/theme/styles/theming' as *;
2
+
3
+ $nb-themes: nb-register-theme(
4
+ (
5
+ scl-media-preview-modal-width: 100vw,
6
+ scl-media-preview-modal-height: 100vh,
7
+ scl-media-preview-modal-background-color: rgba(0, 0, 0, 0.9),
8
+ scl-media-preview-modal-header-width: 100%,
9
+ scl-media-preview-modal-header-padding: 1rem,
10
+
11
+ scl-media-preview-modal-footer-caption-padding: 1rem,
12
+ scl-media-preview-modal-footer-caption-height: 7.5rem,
13
+ scl-media-preview-modal-footer-caption-color: color-base-white,
14
+
15
+ scl-swiper-preview-navigation-size: 1.25rem,
16
+ scl-swiper-preview-theme-color: color-base-white,
17
+ scl-swiper-preview-navigation-offset: 1.563rem,
18
+ scl-swiper-preview-height: 100%,
19
+
20
+ scl-swiper-preview-slide-font-size: 1.125rem,
21
+ scl-swiper-preview-slide-image-height: 100%,
22
+
23
+ scl-swiper-preview-slide-button-bottom: 16.625rem,
24
+ scl-swiper-preview-slide-next-button-right: 2.625rem,
25
+ scl-swiper-preview-slide-previous-button-left: 2.625rem,
26
+ scl-swiper-preview-slide-button-border-radius: 0.375rem,
27
+ scl-swiper-preview-slide-button-color: color-base-white,
28
+
29
+ scl-swiper-thumbs-width: 95%,
30
+ scl-swiper-thumbs-padding: 1rem,
31
+
32
+ scl-swiper-thumbs-slide-margin: 0,
33
+
34
+ scl-swiper-thumbs-slide-image-width: 100%,
35
+ scl-swiper-thumbs-slide-image-height: 100px,
36
+ scl-swiper-thumbs-slide-image-border-radius: 0.5rem,
37
+
38
+ scl-swiper-thumbs-slide-image-active-width: 100%,
39
+ scl-swiper-thumbs-slide-image-active-height: 8.25rem,
40
+ scl-swiper-thumbs-slide-image-active-border: 0.125rem solid color-base-white,
41
+ ),
42
+ default,
43
+ default
44
+ );
@@ -0,0 +1,48 @@
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
2
+ import { NbDialogService, NbIconLibraries } from '@nebular/theme';
3
+ import { MediaPreviewService } from './media_preview.service';
4
+ import * as i0 from "@angular/core";
5
+ export type SclMedia = {
6
+ url: string;
7
+ name?: string;
8
+ alt?: string;
9
+ };
10
+ declare const LAYOUT: {
11
+ readonly LIST: "list";
12
+ readonly GRID: "grid";
13
+ readonly LABELLED_GRID: "labelled-grid";
14
+ };
15
+ export type SclLayout = (typeof LAYOUT)[keyof typeof LAYOUT];
16
+ export declare class SclMediaPreview implements OnDestroy {
17
+ private dialogService;
18
+ private mediaService;
19
+ private iconLibraries;
20
+ download: EventEmitter<SclMedia>;
21
+ layout: SclLayout;
22
+ get media(): SclMedia[];
23
+ set media(value: SclMedia | SclMedia[]);
24
+ get showPreviewCaption(): boolean | string;
25
+ set showPreviewCaption(value: boolean | string);
26
+ get showThumbnails(): boolean | string;
27
+ set showThumbnails(value: boolean | string);
28
+ private mediaServiceSubscription$;
29
+ private _showThumbnails;
30
+ private _showPreviewCaption;
31
+ readonly LAYOUT: {
32
+ readonly LIST: "list";
33
+ readonly GRID: "grid";
34
+ readonly LABELLED_GRID: "labelled-grid";
35
+ };
36
+ mediaList: SclMedia[];
37
+ isPreviewModalOpen: boolean;
38
+ constructor(dialogService: NbDialogService, mediaService: MediaPreviewService, iconLibraries: NbIconLibraries);
39
+ previewImage(index: number): void;
40
+ copyImageUrl(value: string): void;
41
+ downloadImage(media: SclMedia): void;
42
+ handleSpaceKey(event: Event, index: number): void;
43
+ ngOnDestroy(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<SclMediaPreview, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<SclMediaPreview, "scl-media-preview", never, { "layout": { "alias": "layout"; "required": false; }; "media": { "alias": "media"; "required": false; }; "showPreviewCaption": { "alias": "showPreviewCaption"; "required": false; }; "showThumbnails": { "alias": "showThumbnails"; "required": false; }; }, { "download": "download"; }, never, never, true, never>;
46
+ }
47
+ export {};
48
+ //# sourceMappingURL=media-preview.d.ts.map
@@ -0,0 +1,59 @@
1
+ @use '@nebular/theme/styles/theming' as *;
2
+
3
+ .scl-media-preview {
4
+ &__container {
5
+ display: flex;
6
+ flex-wrap: wrap;
7
+ gap: nb-theme(scl-media-preview-container-gap);
8
+
9
+ scl-image-panel {
10
+ cursor: pointer;
11
+ }
12
+ }
13
+ &__list {
14
+ position: relative;
15
+ }
16
+ &__item {
17
+ gap: nb-theme(scl-media-preview-item-gap);
18
+ margin: nb-theme(scl-media-preview-item-margin);
19
+ cursor: pointer;
20
+
21
+ &--list {
22
+ display: flex;
23
+ align-items: flex-end;
24
+
25
+ &:focus {
26
+ outline: 0.25rem solid nb-theme(color-primary-100);
27
+ }
28
+ }
29
+
30
+ &--tiny {
31
+ height: 32px;
32
+ width: 32px;
33
+ }
34
+ &--small {
35
+ height: 64px;
36
+ width: 64px;
37
+ }
38
+ &--medium {
39
+ height: 128px;
40
+ width: 128px;
41
+ }
42
+ &--large {
43
+ height: 256px;
44
+ width: 256px;
45
+ }
46
+ }
47
+ &__image {
48
+ width: nb-theme(scl-media-preview-image-width);
49
+ height: nb-theme(scl-media-preview-image-width);
50
+ object-fit: cover;
51
+ }
52
+
53
+ &__caption {
54
+ white-space: nowrap;
55
+ overflow: hidden;
56
+ text-overflow: ellipsis;
57
+ display: block;
58
+ }
59
+ }
@@ -0,0 +1,16 @@
1
+ import { Clipboard } from '@angular/cdk/clipboard';
2
+ import { SclAlertService } from '../alert/alert.service';
3
+ import { SclMedia } from './media-preview';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MediaPreviewService {
6
+ private clipboard;
7
+ private alertService;
8
+ private dataSubject;
9
+ data$: import("rxjs").Observable<SclMedia>;
10
+ constructor(clipboard: Clipboard, alertService: SclAlertService);
11
+ emitMediaData(media: SclMedia): void;
12
+ copyMediaUrl(url: string): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<MediaPreviewService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<MediaPreviewService>;
15
+ }
16
+ //# sourceMappingURL=media_preview.service.d.ts.map