@wizishop/angular-components 18.2.0 → 19.0.0-beta.2

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 (559) hide show
  1. package/README.md +13 -76
  2. package/angular-components.scss +10688 -9422
  3. package/assets/images/upload/upload_images.svg +23 -0
  4. package/fesm2022/wizishop-angular-components.mjs +1294 -559
  5. package/fesm2022/wizishop-angular-components.mjs.map +1 -1
  6. package/index.d.ts +1 -0
  7. package/lib/animations/in-out/in-out-x.animation.d.ts +1 -0
  8. package/lib/animations/in-out/in-out-x.animation.d.ts.map +1 -0
  9. package/lib/animations/in-out/in-out-y.animation.d.ts +1 -0
  10. package/lib/animations/in-out/in-out-y.animation.d.ts.map +1 -0
  11. package/lib/animations/list/animate-list-from-bottom.animation.d.ts +1 -0
  12. package/lib/animations/list/animate-list-from-bottom.animation.d.ts.map +1 -0
  13. package/lib/animations/list/animate-list-from-left.animation.d.ts +1 -0
  14. package/lib/animations/list/animate-list-from-left.animation.d.ts.map +1 -0
  15. package/lib/animations/list/animate-list-from-right.animation.d.ts +1 -0
  16. package/lib/animations/list/animate-list-from-right.animation.d.ts.map +1 -0
  17. package/lib/animations/list/animate-list-from-top.animation.d.ts +1 -0
  18. package/lib/animations/list/animate-list-from-top.animation.d.ts.map +1 -0
  19. package/lib/animations/show/opacity.animation.d.ts +1 -0
  20. package/lib/animations/show/opacity.animation.d.ts.map +1 -0
  21. package/lib/animations/show/show-from-bottom.animation.d.ts +1 -0
  22. package/lib/animations/show/show-from-bottom.animation.d.ts.map +1 -0
  23. package/lib/animations/show/show-from-left.animation.d.ts +1 -0
  24. package/lib/animations/show/show-from-left.animation.d.ts.map +1 -0
  25. package/lib/animations/show/show-from-right.animation.d.ts +1 -0
  26. package/lib/animations/show/show-from-right.animation.d.ts.map +1 -0
  27. package/lib/animations/show/show-from-top.animation.d.ts +1 -0
  28. package/lib/animations/show/show-from-top.animation.d.ts.map +1 -0
  29. package/lib/animations/switch/switch-in-out.animation.d.ts +1 -0
  30. package/lib/animations/switch/switch-in-out.animation.d.ts.map +1 -0
  31. package/lib/components/ai-express/ai-express.component.d.ts +1 -0
  32. package/lib/components/ai-express/ai-express.component.d.ts.map +1 -0
  33. package/lib/components/alert/alert.component.d.ts +1 -0
  34. package/lib/components/alert/alert.component.d.ts.map +1 -0
  35. package/lib/components/alert-popup/alert-popup-module.d.ts +1 -0
  36. package/lib/components/alert-popup/alert-popup-module.d.ts.map +1 -0
  37. package/lib/components/alert-popup/alert-popup.component.d.ts +4 -3
  38. package/lib/components/alert-popup/alert-popup.component.d.ts.map +1 -0
  39. package/lib/components/alert-popup/alert-popup.service.d.ts +1 -0
  40. package/lib/components/alert-popup/alert-popup.service.d.ts.map +1 -0
  41. package/lib/components/back/back.component.d.ts +1 -0
  42. package/lib/components/back/back.component.d.ts.map +1 -0
  43. package/lib/components/block/block-title-legacy/block-title-legacy.component.d.ts +1 -0
  44. package/lib/components/block/block-title-legacy/block-title-legacy.component.d.ts.map +1 -0
  45. package/lib/components/block/block.component.d.ts +1 -0
  46. package/lib/components/block/block.component.d.ts.map +1 -0
  47. package/lib/components/block/separator/block-separator.component.d.ts +1 -0
  48. package/lib/components/block/separator/block-separator.component.d.ts.map +1 -0
  49. package/lib/components/block-with-checkbox/block-with-checkbox.component.d.ts +1 -0
  50. package/lib/components/block-with-checkbox/block-with-checkbox.component.d.ts.map +1 -0
  51. package/lib/components/border-picker/border-picker.component.d.ts +30 -0
  52. package/lib/components/border-picker/border-picker.component.d.ts.map +1 -0
  53. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +1 -0
  54. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts.map +1 -0
  55. package/lib/components/breadcrumbs/breadcrumbs.dto.d.ts +1 -0
  56. package/lib/components/breadcrumbs/breadcrumbs.dto.d.ts.map +1 -0
  57. package/lib/components/button/button.component.d.ts +1 -0
  58. package/lib/components/button/button.component.d.ts.map +1 -0
  59. package/lib/components/calendar/calendar.component.d.ts +6 -1
  60. package/lib/components/calendar/calendar.component.d.ts.map +1 -0
  61. package/lib/components/card-price/card-price.component.d.ts +1 -0
  62. package/lib/components/card-price/card-price.component.d.ts.map +1 -0
  63. package/lib/components/charging-bar/charging-bar.component.d.ts +1 -0
  64. package/lib/components/charging-bar/charging-bar.component.d.ts.map +1 -0
  65. package/lib/components/checkbox/checkbox.component.d.ts +1 -0
  66. package/lib/components/checkbox/checkbox.component.d.ts.map +1 -0
  67. package/lib/components/checkbox/checkbox.module.d.ts +1 -0
  68. package/lib/components/checkbox/checkbox.module.d.ts.map +1 -0
  69. package/lib/components/color-picker/color-picker.component.d.ts +24 -0
  70. package/lib/components/color-picker/color-picker.component.d.ts.map +1 -0
  71. package/lib/components/column/column.component.d.ts +1 -0
  72. package/lib/components/column/column.component.d.ts.map +1 -0
  73. package/lib/components/common/label/label.component.d.ts +1 -0
  74. package/lib/components/common/label/label.component.d.ts.map +1 -0
  75. package/lib/components/common/placeholder/placeholder.component.d.ts +1 -0
  76. package/lib/components/common/placeholder/placeholder.component.d.ts.map +1 -0
  77. package/lib/components/confirm-delete/confirm-delete.component.d.ts +1 -0
  78. package/lib/components/confirm-delete/confirm-delete.component.d.ts.map +1 -0
  79. package/lib/components/content-with-buttons/content-with-buttons.component.d.ts +1 -0
  80. package/lib/components/content-with-buttons/content-with-buttons.component.d.ts.map +1 -0
  81. package/lib/components/delete/delete.component.d.ts +1 -0
  82. package/lib/components/delete/delete.component.d.ts.map +1 -0
  83. package/lib/components/draganddrop-list/draganddrop-list.component.d.ts +1 -0
  84. package/lib/components/draganddrop-list/draganddrop-list.component.d.ts.map +1 -0
  85. package/lib/components/dropdown/dropdown.component.d.ts +1 -0
  86. package/lib/components/dropdown/dropdown.component.d.ts.map +1 -0
  87. package/lib/components/edit-in-place/edit-in-place.component.d.ts +1 -0
  88. package/lib/components/edit-in-place/edit-in-place.component.d.ts.map +1 -0
  89. package/lib/components/expanded-panel/expanded-panel.component.d.ts +1 -0
  90. package/lib/components/expanded-panel/expanded-panel.component.d.ts.map +1 -0
  91. package/lib/components/expansion/accordion/accordion-item.interface.d.ts +1 -0
  92. package/lib/components/expansion/accordion/accordion-item.interface.d.ts.map +1 -0
  93. package/lib/components/expansion/accordion/accordion-item.token.d.ts +1 -0
  94. package/lib/components/expansion/accordion/accordion-item.token.d.ts.map +1 -0
  95. package/lib/components/expansion/accordion/accordion.component.d.ts +1 -0
  96. package/lib/components/expansion/accordion/accordion.component.d.ts.map +1 -0
  97. package/lib/components/expansion/expansion-panel/expansion-panel.component.d.ts +1 -0
  98. package/lib/components/expansion/expansion-panel/expansion-panel.component.d.ts.map +1 -0
  99. package/lib/components/expansion/expansion-panel/expansion-panel.directive.d.ts +1 -0
  100. package/lib/components/expansion/expansion-panel/expansion-panel.directive.d.ts.map +1 -0
  101. package/lib/components/expansion/expansion-panel-header/expansion-panel-header.component.d.ts +1 -0
  102. package/lib/components/expansion/expansion-panel-header/expansion-panel-header.component.d.ts.map +1 -0
  103. package/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.d.ts +1 -0
  104. package/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.d.ts.map +1 -0
  105. package/lib/components/expansion/expansion-panel-header/expansion-panel-header.interface.d.ts +1 -0
  106. package/lib/components/expansion/expansion-panel-header/expansion-panel-header.interface.d.ts.map +1 -0
  107. package/lib/components/expansion/expansion-panel-header/expansion-panel-header.token.d.ts +1 -0
  108. package/lib/components/expansion/expansion-panel-header/expansion-panel-header.token.d.ts.map +1 -0
  109. package/lib/components/expansion/expansion.module.d.ts +1 -0
  110. package/lib/components/expansion/expansion.module.d.ts.map +1 -0
  111. package/lib/components/faq-section/faq-section-content.dto.d.ts +5 -0
  112. package/lib/components/faq-section/faq-section-content.dto.d.ts.map +1 -0
  113. package/lib/components/faq-section/faq-section.component.d.ts +9 -0
  114. package/lib/components/faq-section/faq-section.component.d.ts.map +1 -0
  115. package/lib/components/faq-section/faq-section.dto.d.ts +6 -0
  116. package/lib/components/faq-section/faq-section.dto.d.ts.map +1 -0
  117. package/lib/components/filters/filter-item.dto.d.ts +1 -0
  118. package/lib/components/filters/filter-item.dto.d.ts.map +1 -0
  119. package/lib/components/filters/filters.component.d.ts +1 -0
  120. package/lib/components/filters/filters.component.d.ts.map +1 -0
  121. package/lib/components/free-popin/free-popin.component.d.ts +1 -0
  122. package/lib/components/free-popin/free-popin.component.d.ts.map +1 -0
  123. package/lib/components/google-preview/google-preview.component.d.ts +1 -0
  124. package/lib/components/google-preview/google-preview.component.d.ts.map +1 -0
  125. package/lib/components/grid/grid.component.d.ts +14 -0
  126. package/lib/components/grid/grid.component.d.ts.map +1 -0
  127. package/lib/components/header-page/header-page.component.d.ts +1 -0
  128. package/lib/components/header-page/header-page.component.d.ts.map +1 -0
  129. package/lib/components/hn/h1/h1.component.d.ts +5 -1
  130. package/lib/components/hn/h1/h1.component.d.ts.map +1 -0
  131. package/lib/components/hn/h2/h2.component.d.ts +5 -1
  132. package/lib/components/hn/h2/h2.component.d.ts.map +1 -0
  133. package/lib/components/hn/h3/h3.component.d.ts +5 -1
  134. package/lib/components/hn/h3/h3.component.d.ts.map +1 -0
  135. package/lib/components/hn/h4/h4.component.d.ts +5 -1
  136. package/lib/components/hn/h4/h4.component.d.ts.map +1 -0
  137. package/lib/components/image/image.component.d.ts +1 -0
  138. package/lib/components/image/image.component.d.ts.map +1 -0
  139. package/lib/components/image-text-section/image-text-section.component.d.ts +12 -0
  140. package/lib/components/image-text-section/image-text-section.component.d.ts.map +1 -0
  141. package/lib/components/image-text-section/image-text-section.dto.d.ts +12 -0
  142. package/lib/components/image-text-section/image-text-section.dto.d.ts.map +1 -0
  143. package/lib/components/info/info.component.d.ts +4 -1
  144. package/lib/components/info/info.component.d.ts.map +1 -0
  145. package/lib/components/inputs/input/input.component.d.ts +1 -0
  146. package/lib/components/inputs/input/input.component.d.ts.map +1 -0
  147. package/lib/components/inputs/input-search/input-search.component.d.ts +1 -0
  148. package/lib/components/inputs/input-search/input-search.component.d.ts.map +1 -0
  149. package/lib/components/inputs/input-with-select/input-with-select.component.d.ts +1 -0
  150. package/lib/components/inputs/input-with-select/input-with-select.component.d.ts.map +1 -0
  151. package/lib/components/inputs/input-with-select/option-item.dto.d.ts +1 -0
  152. package/lib/components/inputs/input-with-select/option-item.dto.d.ts.map +1 -0
  153. package/lib/components/link/link.component.d.ts +1 -0
  154. package/lib/components/link/link.component.d.ts.map +1 -0
  155. package/lib/components/loader/loader.component.d.ts +1 -0
  156. package/lib/components/loader/loader.component.d.ts.map +1 -0
  157. package/lib/components/logo/logo.component.d.ts +1 -0
  158. package/lib/components/logo/logo.component.d.ts.map +1 -0
  159. package/lib/components/menu-tile/menu-tile.component.d.ts +24 -0
  160. package/lib/components/menu-tile/menu-tile.component.d.ts.map +1 -0
  161. package/lib/components/mosaic/mosaic.component.d.ts +3 -2
  162. package/lib/components/mosaic/mosaic.component.d.ts.map +1 -0
  163. package/lib/components/multiple-search/multiple-search.component.d.ts +1 -0
  164. package/lib/components/multiple-search/multiple-search.component.d.ts.map +1 -0
  165. package/lib/components/multiple-search-plus/multiple-search-plus.component.d.ts +3 -1
  166. package/lib/components/multiple-search-plus/multiple-search-plus.component.d.ts.map +1 -0
  167. package/lib/components/multiple-search-plus/shared/multiple-search-plus-option.model.d.ts +1 -0
  168. package/lib/components/multiple-search-plus/shared/multiple-search-plus-option.model.d.ts.map +1 -0
  169. package/lib/components/multiple-search-plus/shared/multiple-search-plus-results.model.d.ts +1 -0
  170. package/lib/components/multiple-search-plus/shared/multiple-search-plus-results.model.d.ts.map +1 -0
  171. package/lib/components/optional-disable-container/optional-disable-container.component.d.ts +1 -0
  172. package/lib/components/optional-disable-container/optional-disable-container.component.d.ts.map +1 -0
  173. package/lib/components/pagination/pagination.component.d.ts +1 -0
  174. package/lib/components/pagination/pagination.component.d.ts.map +1 -0
  175. package/lib/components/pagination/pagination.module.d.ts +1 -0
  176. package/lib/components/pagination/pagination.module.d.ts.map +1 -0
  177. package/lib/components/pagination/pipes/array-pages.pipe.d.ts +1 -0
  178. package/lib/components/pagination/pipes/array-pages.pipe.d.ts.map +1 -0
  179. package/lib/components/pagination/pipes/custom-text.pipe.d.ts +1 -0
  180. package/lib/components/pagination/pipes/custom-text.pipe.d.ts.map +1 -0
  181. package/lib/components/pagination/pipes/is-last-page.pipe.d.ts +1 -0
  182. package/lib/components/pagination/pipes/is-last-page.pipe.d.ts.map +1 -0
  183. package/lib/components/popin/popin.component.d.ts +1 -0
  184. package/lib/components/popin/popin.component.d.ts.map +1 -0
  185. package/lib/components/pricing-section/pricing-section-table.dto.d.ts +7 -0
  186. package/lib/components/pricing-section/pricing-section-table.dto.d.ts.map +1 -0
  187. package/lib/components/pricing-section/pricing-section.component.d.ts +9 -0
  188. package/lib/components/pricing-section/pricing-section.component.d.ts.map +1 -0
  189. package/lib/components/pricing-section/pricing-section.dto.d.ts +8 -0
  190. package/lib/components/pricing-section/pricing-section.dto.d.ts.map +1 -0
  191. package/lib/components/progress-bar/progress-bar.component.d.ts +1 -0
  192. package/lib/components/progress-bar/progress-bar.component.d.ts.map +1 -0
  193. package/lib/components/radio/option/option.component.d.ts +1 -0
  194. package/lib/components/radio/option/option.component.d.ts.map +1 -0
  195. package/lib/components/radio/radio-group.directive.d.ts +1 -0
  196. package/lib/components/radio/radio-group.directive.d.ts.map +1 -0
  197. package/lib/components/radio/radio.component.d.ts +1 -0
  198. package/lib/components/radio/radio.component.d.ts.map +1 -0
  199. package/lib/components/radio-legacy/{radio-group.directive.d.ts → radio-group-legacy.directive.d.ts} +4 -3
  200. package/lib/components/radio-legacy/radio-group-legacy.directive.d.ts.map +1 -0
  201. package/lib/components/radio-legacy/radio-legacy-directive.d.ts +11 -0
  202. package/lib/components/radio-legacy/radio-legacy-directive.d.ts.map +1 -0
  203. package/lib/components/radio-legacy/radio.component.d.ts +1 -0
  204. package/lib/components/radio-legacy/radio.component.d.ts.map +1 -0
  205. package/lib/components/reassurance-section/reassurance-section-content.dto.d.ts +5 -0
  206. package/lib/components/reassurance-section/reassurance-section-content.dto.d.ts.map +1 -0
  207. package/lib/components/reassurance-section/reassurance-section.component.d.ts +9 -0
  208. package/lib/components/reassurance-section/reassurance-section.component.d.ts.map +1 -0
  209. package/lib/components/reassurance-section/reassurance-section.dto.d.ts +6 -0
  210. package/lib/components/reassurance-section/reassurance-section.dto.d.ts.map +1 -0
  211. package/lib/components/row/row.component.d.ts +4 -1
  212. package/lib/components/row/row.component.d.ts.map +1 -0
  213. package/lib/components/search/search.component.d.ts +1 -0
  214. package/lib/components/search/search.component.d.ts.map +1 -0
  215. package/lib/components/search/shared/search-option.model.d.ts +1 -0
  216. package/lib/components/search/shared/search-option.model.d.ts.map +1 -0
  217. package/lib/components/select/call-to-action.model.d.ts +1 -0
  218. package/lib/components/select/call-to-action.model.d.ts.map +1 -0
  219. package/lib/components/select/option/option-selection-handler.interface.d.ts +1 -0
  220. package/lib/components/select/option/option-selection-handler.interface.d.ts.map +1 -0
  221. package/lib/components/select/option/option-selection-handler.token.d.ts +1 -0
  222. package/lib/components/select/option/option-selection-handler.token.d.ts.map +1 -0
  223. package/lib/components/select/option/option.component.d.ts +1 -0
  224. package/lib/components/select/option/option.component.d.ts.map +1 -0
  225. package/lib/components/select/option/select-option.directive.d.ts +1 -0
  226. package/lib/components/select/option/select-option.directive.d.ts.map +1 -0
  227. package/lib/components/select/option-call-to-action/option-call-to-action.component.d.ts +1 -0
  228. package/lib/components/select/option-call-to-action/option-call-to-action.component.d.ts.map +1 -0
  229. package/lib/components/select/option-group/option-group.component.d.ts +7 -0
  230. package/lib/components/select/option-group/option-group.component.d.ts.map +1 -0
  231. package/lib/components/select/select/select.component.d.ts +2 -1
  232. package/lib/components/select/select/select.component.d.ts.map +1 -0
  233. package/lib/components/select/select/select.directive.d.ts +1 -0
  234. package/lib/components/select/select/select.directive.d.ts.map +1 -0
  235. package/lib/components/select/select/value-change.service.d.ts +1 -0
  236. package/lib/components/select/select/value-change.service.d.ts.map +1 -0
  237. package/lib/components/select/select-items.dto.d.ts +1 -0
  238. package/lib/components/select/select-items.dto.d.ts.map +1 -0
  239. package/lib/components/select/select-search-trigger/select-search-trigger.component.d.ts +1 -0
  240. package/lib/components/select/select-search-trigger/select-search-trigger.component.d.ts.map +1 -0
  241. package/lib/components/select-in-text/select-in-text.component.d.ts +1 -0
  242. package/lib/components/select-in-text/select-in-text.component.d.ts.map +1 -0
  243. package/lib/components/selected-list/selected-list.component.d.ts +1 -0
  244. package/lib/components/selected-list/selected-list.component.d.ts.map +1 -0
  245. package/lib/components/selected-list/shared/selected-list-option.model.d.ts +1 -0
  246. package/lib/components/selected-list/shared/selected-list-option.model.d.ts.map +1 -0
  247. package/lib/components/separator/separator.component.d.ts +1 -0
  248. package/lib/components/separator/separator.component.d.ts.map +1 -0
  249. package/lib/components/settings/settings.component.d.ts +1 -0
  250. package/lib/components/settings/settings.component.d.ts.map +1 -0
  251. package/lib/components/shared-components.module.d.ts +120 -109
  252. package/lib/components/shared-components.module.d.ts.map +1 -0
  253. package/lib/components/slide-in/slide-in.component.d.ts +33 -0
  254. package/lib/components/slide-in/slide-in.component.d.ts.map +1 -0
  255. package/lib/components/snackbar/snackbar.component.d.ts +1 -0
  256. package/lib/components/snackbar/snackbar.component.d.ts.map +1 -0
  257. package/lib/components/state/state.component.d.ts +1 -0
  258. package/lib/components/state/state.component.d.ts.map +1 -0
  259. package/lib/components/summary/summary.component.d.ts +1 -0
  260. package/lib/components/summary/summary.component.d.ts.map +1 -0
  261. package/lib/components/switch/switch.component.d.ts +1 -0
  262. package/lib/components/switch/switch.component.d.ts.map +1 -0
  263. package/lib/components/table/directives/checkBoxRow.directive.d.ts +1 -0
  264. package/lib/components/table/directives/checkBoxRow.directive.d.ts.map +1 -0
  265. package/lib/components/table/directives/column.directive.d.ts +1 -0
  266. package/lib/components/table/directives/column.directive.d.ts.map +1 -0
  267. package/lib/components/table/directives/columnHeader.directive.d.ts +1 -0
  268. package/lib/components/table/directives/columnHeader.directive.d.ts.map +1 -0
  269. package/lib/components/table/directives/raw.directive.d.ts +1 -0
  270. package/lib/components/table/directives/raw.directive.d.ts.map +1 -0
  271. package/lib/components/table/shared/distinct-until-table-filters-changed.d.ts +1 -0
  272. package/lib/components/table/shared/distinct-until-table-filters-changed.d.ts.map +1 -0
  273. package/lib/components/table/shared/filters-table.service.d.ts +1 -0
  274. package/lib/components/table/shared/filters-table.service.d.ts.map +1 -0
  275. package/lib/components/table/shared/table-checkbox-id.service.d.ts +1 -0
  276. package/lib/components/table/shared/table-checkbox-id.service.d.ts.map +1 -0
  277. package/lib/components/table/shared/table-filters-group.model.d.ts +1 -0
  278. package/lib/components/table/shared/table-filters-group.model.d.ts.map +1 -0
  279. package/lib/components/table/shared/table-filters.model.d.ts +1 -0
  280. package/lib/components/table/shared/table-filters.model.d.ts.map +1 -0
  281. package/lib/components/table/table.component.d.ts +1 -0
  282. package/lib/components/table/table.component.d.ts.map +1 -0
  283. package/lib/components/table/table.module.d.ts +1 -0
  284. package/lib/components/table/table.module.d.ts.map +1 -0
  285. package/lib/components/tabs/tab/tab.component.d.ts +1 -0
  286. package/lib/components/tabs/tab/tab.component.d.ts.map +1 -0
  287. package/lib/components/tabs/tab-body/tab-body.component.d.ts +1 -0
  288. package/lib/components/tabs/tab-body/tab-body.component.d.ts.map +1 -0
  289. package/lib/components/tabs/tab-body/tab-body.directive.d.ts +1 -0
  290. package/lib/components/tabs/tab-body/tab-body.directive.d.ts.map +1 -0
  291. package/lib/components/tabs/tabs.component.d.ts +3 -1
  292. package/lib/components/tabs/tabs.component.d.ts.map +1 -0
  293. package/lib/components/tag/tag.component.d.ts +3 -1
  294. package/lib/components/tag/tag.component.d.ts.map +1 -0
  295. package/lib/components/tag-dropdown/tag-dropdown.component.d.ts +1 -0
  296. package/lib/components/tag-dropdown/tag-dropdown.component.d.ts.map +1 -0
  297. package/lib/components/tag-input/tag-input.component.d.ts +26 -0
  298. package/lib/components/tag-input/tag-input.component.d.ts.map +1 -0
  299. package/lib/components/tag-label/tag-label.component.d.ts +1 -0
  300. package/lib/components/tag-label/tag-label.component.d.ts.map +1 -0
  301. package/lib/components/text/text.component.d.ts +5 -1
  302. package/lib/components/text/text.component.d.ts.map +1 -0
  303. package/lib/components/text-area/text-area.component.d.ts +1 -0
  304. package/lib/components/text-area/text-area.component.d.ts.map +1 -0
  305. package/lib/components/token-check/token-check.component.d.ts +1 -0
  306. package/lib/components/token-check/token-check.component.d.ts.map +1 -0
  307. package/lib/components/tooltip/tooltip.component.d.ts +1 -0
  308. package/lib/components/tooltip/tooltip.component.d.ts.map +1 -0
  309. package/lib/components/tooltip/tooltip.module.d.ts +1 -0
  310. package/lib/components/tooltip/tooltip.module.d.ts.map +1 -0
  311. package/lib/components/tree/tree.component.d.ts +1 -0
  312. package/lib/components/tree/tree.component.d.ts.map +1 -0
  313. package/lib/components/tree/tree.dto.d.ts +1 -0
  314. package/lib/components/tree/tree.dto.d.ts.map +1 -0
  315. package/lib/components/tree/tree.module.d.ts +1 -0
  316. package/lib/components/tree/tree.module.d.ts.map +1 -0
  317. package/lib/components/upload/upload.component.d.ts +9 -1
  318. package/lib/components/upload/upload.component.d.ts.map +1 -0
  319. package/lib/components/wrapper/wrapper.component.d.ts +1 -0
  320. package/lib/components/wrapper/wrapper.component.d.ts.map +1 -0
  321. package/lib/components/wrapper-blocs/wrapper-blocs.component.d.ts +1 -0
  322. package/lib/components/wrapper-blocs/wrapper-blocs.component.d.ts.map +1 -0
  323. package/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.d.ts +1 -0
  324. package/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.d.ts.map +1 -0
  325. package/lib/components/wrapper-sidebar/wrapper-sidebar.component.d.ts +1 -0
  326. package/lib/components/wrapper-sidebar/wrapper-sidebar.component.d.ts.map +1 -0
  327. package/lib/directives/abstract-debounce/abstract-debounce.directive.d.ts +1 -0
  328. package/lib/directives/abstract-debounce/abstract-debounce.directive.d.ts.map +1 -0
  329. package/lib/directives/abstract-debounce/debounce-keyup.directive.d.ts +1 -0
  330. package/lib/directives/abstract-debounce/debounce-keyup.directive.d.ts.map +1 -0
  331. package/lib/directives/auto-hide/auto-hide.directive.d.ts +1 -0
  332. package/lib/directives/auto-hide/auto-hide.directive.d.ts.map +1 -0
  333. package/lib/directives/copy-to-clipboard/copy-to-clipboard.directive.d.ts +1 -0
  334. package/lib/directives/copy-to-clipboard/copy-to-clipboard.directive.d.ts.map +1 -0
  335. package/lib/directives/keyboard-events/keypress-enter.directive.d.ts +1 -0
  336. package/lib/directives/keyboard-events/keypress-enter.directive.d.ts.map +1 -0
  337. package/lib/directives/keyboard-events/only-numbers.directive.d.ts +1 -0
  338. package/lib/directives/keyboard-events/only-numbers.directive.d.ts.map +1 -0
  339. package/lib/directives/keyboard-events/two-digital-decimal-number.directive.d.ts +1 -0
  340. package/lib/directives/keyboard-events/two-digital-decimal-number.directive.d.ts.map +1 -0
  341. package/lib/directives/ng-var.directive.d.ts +1 -0
  342. package/lib/directives/ng-var.directive.d.ts.map +1 -0
  343. package/lib/directives/scroll-to/scroll-to.directive.d.ts +1 -0
  344. package/lib/directives/scroll-to/scroll-to.directive.d.ts.map +1 -0
  345. package/lib/directives/shared-directives.module.d.ts +4 -3
  346. package/lib/directives/shared-directives.module.d.ts.map +1 -0
  347. package/lib/directives/watch-dom-tree/watch-dom-tree.directive.d.ts +1 -0
  348. package/lib/directives/watch-dom-tree/watch-dom-tree.directive.d.ts.map +1 -0
  349. package/lib/directives/zindex-toggle/zindex-toggle.directive.d.ts +1 -0
  350. package/lib/directives/zindex-toggle/zindex-toggle.directive.d.ts.map +1 -0
  351. package/lib/pipes/call-component-function.pipe.d.ts +1 -0
  352. package/lib/pipes/call-component-function.pipe.d.ts.map +1 -0
  353. package/lib/pipes/find-option-selected-field.pipe.d.ts +1 -0
  354. package/lib/pipes/find-option-selected-field.pipe.d.ts.map +1 -0
  355. package/lib/pipes/select/filter-options.pipe.d.ts +1 -0
  356. package/lib/pipes/select/filter-options.pipe.d.ts.map +1 -0
  357. package/lib/pipes/select/select-filters.pipe.d.ts +1 -0
  358. package/lib/pipes/select/select-filters.pipe.d.ts.map +1 -0
  359. package/lib/pipes/selected-list/are-all-options-selected.pipe.d.ts +1 -0
  360. package/lib/pipes/selected-list/are-all-options-selected.pipe.d.ts.map +1 -0
  361. package/lib/pipes/shared-pipes.module.d.ts +1 -0
  362. package/lib/pipes/shared-pipes.module.d.ts.map +1 -0
  363. package/lib/pipes/tree/format-object-to-recursif-tree.pipe.d.ts +1 -0
  364. package/lib/pipes/tree/format-object-to-recursif-tree.pipe.d.ts.map +1 -0
  365. package/lib/pipes/tree/format-object-to-simple-tree.pipe.d.ts +1 -0
  366. package/lib/pipes/tree/format-object-to-simple-tree.pipe.d.ts.map +1 -0
  367. package/lib/services/dom.service.d.ts +1 -0
  368. package/lib/services/dom.service.d.ts.map +1 -0
  369. package/lib/services/history.service.d.ts +1 -0
  370. package/lib/services/history.service.d.ts.map +1 -0
  371. package/lib/services/multiple-selection.service.d.ts +1 -0
  372. package/lib/services/multiple-selection.service.d.ts.map +1 -0
  373. package/lib/utils/array.d.ts +1 -0
  374. package/lib/utils/array.d.ts.map +1 -0
  375. package/lib/utils/html-container.class.d.ts +1 -0
  376. package/lib/utils/html-container.class.d.ts.map +1 -0
  377. package/lib/utils/slection-item.interface.d.ts +1 -0
  378. package/lib/utils/slection-item.interface.d.ts.map +1 -0
  379. package/lib/utils/uuid.d.ts +1 -0
  380. package/lib/utils/uuid.d.ts.map +1 -0
  381. package/lib/wizi-components.module.d.ts +1 -0
  382. package/lib/wizi-components.module.d.ts.map +1 -0
  383. package/package.json +24 -29
  384. package/public-api.d.ts +21 -2
  385. package/public-api.d.ts.map +1 -0
  386. package/wizishop-angular-components.d.ts.map +1 -0
  387. package/esm2022/lib/animations/in-out/in-out-x.animation.mjs +0 -12
  388. package/esm2022/lib/animations/in-out/in-out-y.animation.mjs +0 -12
  389. package/esm2022/lib/animations/list/animate-list-from-bottom.animation.mjs +0 -18
  390. package/esm2022/lib/animations/list/animate-list-from-left.animation.mjs +0 -18
  391. package/esm2022/lib/animations/list/animate-list-from-right.animation.mjs +0 -18
  392. package/esm2022/lib/animations/list/animate-list-from-top.animation.mjs +0 -16
  393. package/esm2022/lib/animations/show/opacity.animation.mjs +0 -5
  394. package/esm2022/lib/animations/show/show-from-bottom.animation.mjs +0 -15
  395. package/esm2022/lib/animations/show/show-from-left.animation.mjs +0 -15
  396. package/esm2022/lib/animations/show/show-from-right.animation.mjs +0 -15
  397. package/esm2022/lib/animations/show/show-from-top.animation.mjs +0 -15
  398. package/esm2022/lib/animations/switch/switch-in-out.animation.mjs +0 -6
  399. package/esm2022/lib/components/ai-express/ai-express.component.mjs +0 -83
  400. package/esm2022/lib/components/alert/alert.component.mjs +0 -42
  401. package/esm2022/lib/components/alert-popup/alert-popup-module.mjs +0 -20
  402. package/esm2022/lib/components/alert-popup/alert-popup.component.mjs +0 -41
  403. package/esm2022/lib/components/alert-popup/alert-popup.service.mjs +0 -33
  404. package/esm2022/lib/components/back/back.component.mjs +0 -12
  405. package/esm2022/lib/components/block/block-title-legacy/block-title-legacy.component.mjs +0 -21
  406. package/esm2022/lib/components/block/block.component.mjs +0 -124
  407. package/esm2022/lib/components/block/separator/block-separator.component.mjs +0 -17
  408. package/esm2022/lib/components/block-with-checkbox/block-with-checkbox.component.mjs +0 -46
  409. package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -27
  410. package/esm2022/lib/components/breadcrumbs/breadcrumbs.dto.mjs +0 -2
  411. package/esm2022/lib/components/button/button.component.mjs +0 -200
  412. package/esm2022/lib/components/calendar/calendar.component.mjs +0 -237
  413. package/esm2022/lib/components/card-price/card-price.component.mjs +0 -76
  414. package/esm2022/lib/components/charging-bar/charging-bar.component.mjs +0 -19
  415. package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -78
  416. package/esm2022/lib/components/checkbox/checkbox.module.mjs +0 -25
  417. package/esm2022/lib/components/column/column.component.mjs +0 -11
  418. package/esm2022/lib/components/common/label/label.component.mjs +0 -16
  419. package/esm2022/lib/components/common/placeholder/placeholder.component.mjs +0 -16
  420. package/esm2022/lib/components/confirm-delete/confirm-delete.component.mjs +0 -64
  421. package/esm2022/lib/components/content-with-buttons/content-with-buttons.component.mjs +0 -72
  422. package/esm2022/lib/components/delete/delete.component.mjs +0 -12
  423. package/esm2022/lib/components/draganddrop-list/draganddrop-list.component.mjs +0 -61
  424. package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -26
  425. package/esm2022/lib/components/edit-in-place/edit-in-place.component.mjs +0 -202
  426. package/esm2022/lib/components/expanded-panel/expanded-panel.component.mjs +0 -24
  427. package/esm2022/lib/components/expansion/accordion/accordion-item.interface.mjs +0 -2
  428. package/esm2022/lib/components/expansion/accordion/accordion-item.token.mjs +0 -3
  429. package/esm2022/lib/components/expansion/accordion/accordion.component.mjs +0 -74
  430. package/esm2022/lib/components/expansion/expansion-panel/expansion-panel.component.mjs +0 -29
  431. package/esm2022/lib/components/expansion/expansion-panel/expansion-panel.directive.mjs +0 -88
  432. package/esm2022/lib/components/expansion/expansion-panel-header/expansion-panel-header.component.mjs +0 -27
  433. package/esm2022/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.mjs +0 -49
  434. package/esm2022/lib/components/expansion/expansion-panel-header/expansion-panel-header.interface.mjs +0 -2
  435. package/esm2022/lib/components/expansion/expansion-panel-header/expansion-panel-header.token.mjs +0 -3
  436. package/esm2022/lib/components/expansion/expansion.module.mjs +0 -48
  437. package/esm2022/lib/components/filters/filter-item.dto.mjs +0 -2
  438. package/esm2022/lib/components/filters/filters.component.mjs +0 -41
  439. package/esm2022/lib/components/free-popin/free-popin.component.mjs +0 -66
  440. package/esm2022/lib/components/google-preview/google-preview.component.mjs +0 -20
  441. package/esm2022/lib/components/header-page/header-page.component.mjs +0 -42
  442. package/esm2022/lib/components/hn/h1/h1.component.mjs +0 -26
  443. package/esm2022/lib/components/hn/h2/h2.component.mjs +0 -13
  444. package/esm2022/lib/components/hn/h3/h3.component.mjs +0 -18
  445. package/esm2022/lib/components/hn/h4/h4.component.mjs +0 -18
  446. package/esm2022/lib/components/image/image.component.mjs +0 -17
  447. package/esm2022/lib/components/info/info.component.mjs +0 -12
  448. package/esm2022/lib/components/inputs/input/input.component.mjs +0 -184
  449. package/esm2022/lib/components/inputs/input-search/input-search.component.mjs +0 -65
  450. package/esm2022/lib/components/inputs/input-with-select/input-with-select.component.mjs +0 -17
  451. package/esm2022/lib/components/inputs/input-with-select/option-item.dto.mjs +0 -2
  452. package/esm2022/lib/components/link/link.component.mjs +0 -57
  453. package/esm2022/lib/components/loader/loader.component.mjs +0 -21
  454. package/esm2022/lib/components/logo/logo.component.mjs +0 -20
  455. package/esm2022/lib/components/mosaic/mosaic.component.mjs +0 -81
  456. package/esm2022/lib/components/multiple-search/multiple-search.component.mjs +0 -115
  457. package/esm2022/lib/components/multiple-search-plus/multiple-search-plus.component.mjs +0 -97
  458. package/esm2022/lib/components/multiple-search-plus/shared/multiple-search-plus-option.model.mjs +0 -2
  459. package/esm2022/lib/components/multiple-search-plus/shared/multiple-search-plus-results.model.mjs +0 -2
  460. package/esm2022/lib/components/optional-disable-container/optional-disable-container.component.mjs +0 -17
  461. package/esm2022/lib/components/pagination/pagination.component.mjs +0 -50
  462. package/esm2022/lib/components/pagination/pagination.module.mjs +0 -33
  463. package/esm2022/lib/components/pagination/pipes/array-pages.pipe.mjs +0 -28
  464. package/esm2022/lib/components/pagination/pipes/custom-text.pipe.mjs +0 -34
  465. package/esm2022/lib/components/pagination/pipes/is-last-page.pipe.mjs +0 -25
  466. package/esm2022/lib/components/popin/popin.component.mjs +0 -73
  467. package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +0 -75
  468. package/esm2022/lib/components/radio/option/option.component.mjs +0 -27
  469. package/esm2022/lib/components/radio/radio-group.directive.mjs +0 -40
  470. package/esm2022/lib/components/radio/radio.component.mjs +0 -38
  471. package/esm2022/lib/components/radio-legacy/radio-directive.mjs +0 -22
  472. package/esm2022/lib/components/radio-legacy/radio-group.directive.mjs +0 -34
  473. package/esm2022/lib/components/radio-legacy/radio.component.mjs +0 -58
  474. package/esm2022/lib/components/row/row.component.mjs +0 -144
  475. package/esm2022/lib/components/search/search.component.mjs +0 -86
  476. package/esm2022/lib/components/search/shared/search-option.model.mjs +0 -2
  477. package/esm2022/lib/components/select/call-to-action.model.mjs +0 -2
  478. package/esm2022/lib/components/select/option/option-selection-handler.interface.mjs +0 -2
  479. package/esm2022/lib/components/select/option/option-selection-handler.token.mjs +0 -3
  480. package/esm2022/lib/components/select/option/option.component.mjs +0 -28
  481. package/esm2022/lib/components/select/option/select-option.directive.mjs +0 -98
  482. package/esm2022/lib/components/select/option-call-to-action/option-call-to-action.component.mjs +0 -12
  483. package/esm2022/lib/components/select/select/select.component.mjs +0 -198
  484. package/esm2022/lib/components/select/select/select.directive.mjs +0 -175
  485. package/esm2022/lib/components/select/select/value-change.service.mjs +0 -190
  486. package/esm2022/lib/components/select/select-items.dto.mjs +0 -2
  487. package/esm2022/lib/components/select/select-search-trigger/select-search-trigger.component.mjs +0 -38
  488. package/esm2022/lib/components/select-in-text/select-in-text.component.mjs +0 -103
  489. package/esm2022/lib/components/selected-list/selected-list.component.mjs +0 -62
  490. package/esm2022/lib/components/selected-list/shared/selected-list-option.model.mjs +0 -2
  491. package/esm2022/lib/components/separator/separator.component.mjs +0 -17
  492. package/esm2022/lib/components/settings/settings.component.mjs +0 -12
  493. package/esm2022/lib/components/shared-components.module.mjs +0 -444
  494. package/esm2022/lib/components/snackbar/snackbar.component.mjs +0 -85
  495. package/esm2022/lib/components/state/state.component.mjs +0 -16
  496. package/esm2022/lib/components/summary/summary.component.mjs +0 -41
  497. package/esm2022/lib/components/switch/switch.component.mjs +0 -89
  498. package/esm2022/lib/components/table/directives/checkBoxRow.directive.mjs +0 -92
  499. package/esm2022/lib/components/table/directives/column.directive.mjs +0 -42
  500. package/esm2022/lib/components/table/directives/columnHeader.directive.mjs +0 -199
  501. package/esm2022/lib/components/table/directives/raw.directive.mjs +0 -30
  502. package/esm2022/lib/components/table/shared/distinct-until-table-filters-changed.mjs +0 -21
  503. package/esm2022/lib/components/table/shared/filters-table.service.mjs +0 -68
  504. package/esm2022/lib/components/table/shared/table-checkbox-id.service.mjs +0 -20
  505. package/esm2022/lib/components/table/shared/table-filters-group.model.mjs +0 -10
  506. package/esm2022/lib/components/table/shared/table-filters.model.mjs +0 -2
  507. package/esm2022/lib/components/table/table.component.mjs +0 -146
  508. package/esm2022/lib/components/table/table.module.mjs +0 -46
  509. package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -43
  510. package/esm2022/lib/components/tabs/tab-body/tab-body.component.mjs +0 -23
  511. package/esm2022/lib/components/tabs/tab-body/tab-body.directive.mjs +0 -36
  512. package/esm2022/lib/components/tabs/tabs.component.mjs +0 -99
  513. package/esm2022/lib/components/tag/tag.component.mjs +0 -38
  514. package/esm2022/lib/components/tag-dropdown/tag-dropdown.component.mjs +0 -45
  515. package/esm2022/lib/components/tag-label/tag-label.component.mjs +0 -34
  516. package/esm2022/lib/components/text/text.component.mjs +0 -13
  517. package/esm2022/lib/components/text-area/text-area.component.mjs +0 -99
  518. package/esm2022/lib/components/token-check/token-check.component.mjs +0 -21
  519. package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -30
  520. package/esm2022/lib/components/tooltip/tooltip.module.mjs +0 -25
  521. package/esm2022/lib/components/tree/tree.component.mjs +0 -25
  522. package/esm2022/lib/components/tree/tree.dto.mjs +0 -2
  523. package/esm2022/lib/components/tree/tree.module.mjs +0 -29
  524. package/esm2022/lib/components/upload/upload.component.mjs +0 -36
  525. package/esm2022/lib/components/wrapper/wrapper.component.mjs +0 -18
  526. package/esm2022/lib/components/wrapper-blocs/wrapper-blocs.component.mjs +0 -19
  527. package/esm2022/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.mjs +0 -12
  528. package/esm2022/lib/components/wrapper-sidebar/wrapper-sidebar.component.mjs +0 -30
  529. package/esm2022/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +0 -37
  530. package/esm2022/lib/directives/abstract-debounce/debounce-keyup.directive.mjs +0 -24
  531. package/esm2022/lib/directives/auto-hide/auto-hide.directive.mjs +0 -50
  532. package/esm2022/lib/directives/copy-to-clipboard/copy-to-clipboard.directive.mjs +0 -32
  533. package/esm2022/lib/directives/keyboard-events/keypress-enter.directive.mjs +0 -25
  534. package/esm2022/lib/directives/keyboard-events/only-numbers.directive.mjs +0 -45
  535. package/esm2022/lib/directives/keyboard-events/two-digital-decimal-number.directive.mjs +0 -36
  536. package/esm2022/lib/directives/ng-var.directive.mjs +0 -32
  537. package/esm2022/lib/directives/scroll-to/scroll-to.directive.mjs +0 -32
  538. package/esm2022/lib/directives/shared-directives.module.mjs +0 -72
  539. package/esm2022/lib/directives/watch-dom-tree/watch-dom-tree.directive.mjs +0 -30
  540. package/esm2022/lib/directives/zindex-toggle/zindex-toggle.directive.mjs +0 -44
  541. package/esm2022/lib/pipes/call-component-function.pipe.mjs +0 -24
  542. package/esm2022/lib/pipes/find-option-selected-field.pipe.mjs +0 -29
  543. package/esm2022/lib/pipes/select/filter-options.pipe.mjs +0 -19
  544. package/esm2022/lib/pipes/select/select-filters.pipe.mjs +0 -19
  545. package/esm2022/lib/pipes/selected-list/are-all-options-selected.pipe.mjs +0 -17
  546. package/esm2022/lib/pipes/shared-pipes.module.mjs +0 -43
  547. package/esm2022/lib/pipes/tree/format-object-to-recursif-tree.pipe.mjs +0 -41
  548. package/esm2022/lib/pipes/tree/format-object-to-simple-tree.pipe.mjs +0 -49
  549. package/esm2022/lib/services/dom.service.mjs +0 -59
  550. package/esm2022/lib/services/history.service.mjs +0 -53
  551. package/esm2022/lib/services/multiple-selection.service.mjs +0 -62
  552. package/esm2022/lib/utils/array.mjs +0 -2
  553. package/esm2022/lib/utils/html-container.class.mjs +0 -30
  554. package/esm2022/lib/utils/slection-item.interface.mjs +0 -2
  555. package/esm2022/lib/utils/uuid.mjs +0 -8
  556. package/esm2022/lib/wizi-components.module.mjs +0 -34
  557. package/esm2022/public-api.mjs +0 -156
  558. package/esm2022/wizishop-angular-components.mjs +0 -5
  559. package/lib/components/radio-legacy/radio-directive.d.ts +0 -10
@@ -1,76 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "../button/button.component";
5
- import * as i3 from "../link/link.component";
6
- export class CardPriceComponent {
7
- constructor() {
8
- this.selected = false;
9
- this.disabled = false;
10
- this.btnTextcolor = '#ffffff';
11
- this.extraClasses = 'is-success';
12
- this.extraClassesSelected = 'is-success is-outlined';
13
- this.hideButton = false;
14
- this.darkMode = false;
15
- this.isEvolup = false;
16
- this.confirm = new EventEmitter();
17
- this.cancel = new EventEmitter();
18
- }
19
- triggerClick() {
20
- this.confirm.emit(true);
21
- }
22
- removePackageTrigger() {
23
- this.cancel.emit(true);
24
- }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CardPriceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: CardPriceComponent, selector: "wac-card-price", inputs: { amount: "amount", promo: "promo", title: "title", selected: "selected", btnLabelSelected: "btnLabelSelected", price: "price", currency: "currency", priceWording: "priceWording", subtitle: "subtitle", btnLabel: "btnLabel", packageSubtitle: "packageSubtitle", linkPackageLabel: "linkPackageLabel", listFeatures: "listFeatures", disabled: "disabled", btnTextcolor: "btnTextcolor", extraClasses: "extraClasses", extraClassesSelected: "extraClassesSelected", hideButton: "hideButton", darkMode: "darkMode", isEvolup: "isEvolup" }, outputs: { confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<div class=\"wac-card-price\" [ngClass]=\"{'selected': selected, 'is-evolup': isEvolup, 'is-dark': darkMode}\">\r\n <div class=\"promo\" *ngIf=\"promo\">\r\n <p [innerHTML]=\"promo\"></p>\r\n </div>\r\n <strong>{{amount}} <span>{{title}}</span></strong>\r\n <div class=\"price\">\r\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\" [innerHTML]=\"priceWording\"></span>\r\n </div>\r\n <div class=\"subtitle\">{{subtitle}}</div>\r\n <div class=\"list-features\" *ngIf=\"listFeatures\">\r\n <div *ngFor=\"let feat of listFeatures;\" class=\"list-features__item\"><span>{{feat}}</span></div>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"!selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\"></wac-button>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\"></wac-button>\r\n </div>\r\n <div class=\"package-subtitle\" *ngIf=\"selected\">{{packageSubtitle}}</div>\r\n <div class=\"link-bottom\" *ngIf=\"linkPackageLabel\">\r\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "wac-button", inputs: ["extraClasses", "label", "icon", "isLoadingSvg", "iconNext", "textcolor", "colorIcon", "widthAuto", "contentHorizontalPosition", "iconFontSize", "hasLoader", "disabled", "whiteSpaceNowrap", "opacity", "animation", "animationRight", "animationText", "confirmDelete", "confirmDeleteText", "coin", "tooltip", "tooltipWidth", "borderColor", "noPadding", "tooltipPosition", "tooltipOneline", "confirmDeletePosition", "isLoading"], outputs: ["click", "isLoadingChange"] }, { kind: "component", type: i3.LinkComponent, selector: "wac-link", inputs: ["href", "tooltip", "tooltipWidth", "target", "id", "class", "fontSize"] }] }); }
27
- }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CardPriceComponent, decorators: [{
29
- type: Component,
30
- args: [{ selector: 'wac-card-price', template: "<div class=\"wac-card-price\" [ngClass]=\"{'selected': selected, 'is-evolup': isEvolup, 'is-dark': darkMode}\">\r\n <div class=\"promo\" *ngIf=\"promo\">\r\n <p [innerHTML]=\"promo\"></p>\r\n </div>\r\n <strong>{{amount}} <span>{{title}}</span></strong>\r\n <div class=\"price\">\r\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\" [innerHTML]=\"priceWording\"></span>\r\n </div>\r\n <div class=\"subtitle\">{{subtitle}}</div>\r\n <div class=\"list-features\" *ngIf=\"listFeatures\">\r\n <div *ngFor=\"let feat of listFeatures;\" class=\"list-features__item\"><span>{{feat}}</span></div>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"!selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\"></wac-button>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\"></wac-button>\r\n </div>\r\n <div class=\"package-subtitle\" *ngIf=\"selected\">{{packageSubtitle}}</div>\r\n <div class=\"link-bottom\" *ngIf=\"linkPackageLabel\">\r\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\r\n </div>\r\n</div>\r\n" }]
31
- }], ctorParameters: () => [], propDecorators: { amount: [{
32
- type: Input
33
- }], promo: [{
34
- type: Input
35
- }], title: [{
36
- type: Input
37
- }], selected: [{
38
- type: Input
39
- }], btnLabelSelected: [{
40
- type: Input
41
- }], price: [{
42
- type: Input
43
- }], currency: [{
44
- type: Input
45
- }], priceWording: [{
46
- type: Input
47
- }], subtitle: [{
48
- type: Input
49
- }], btnLabel: [{
50
- type: Input
51
- }], packageSubtitle: [{
52
- type: Input
53
- }], linkPackageLabel: [{
54
- type: Input
55
- }], listFeatures: [{
56
- type: Input
57
- }], disabled: [{
58
- type: Input
59
- }], btnTextcolor: [{
60
- type: Input
61
- }], extraClasses: [{
62
- type: Input
63
- }], extraClassesSelected: [{
64
- type: Input
65
- }], hideButton: [{
66
- type: Input
67
- }], darkMode: [{
68
- type: Input
69
- }], isEvolup: [{
70
- type: Input
71
- }], confirm: [{
72
- type: Output
73
- }], cancel: [{
74
- type: Output
75
- }] } });
76
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1wcmljZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmQtcHJpY2UvY2FyZC1wcmljZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmQtcHJpY2UvY2FyZC1wcmljZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFL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@@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- export class ChargingBarComponent {
5
- constructor() {
6
- this.value = 0;
7
- }
8
- ngOnInit() {
9
- }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ChargingBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ChargingBarComponent, selector: "wac-charging-bar", inputs: { value: "value" }, ngImport: i0, template: "<div class=\"wac-charging-bar\">\r\n <div class=\"wac-charging-bar__wrapLine\">\r\n <div class=\"wac-charging-bar__wrapLine__line\">\r\n <div class=\"wac-charging-bar__wrapLine__line__width\" [ngClass]=\"{'complete': value === 100}\" [ngStyle]=\"{'max-width': value + '%'}\"></div>\r\n </div>\r\n </div>\r\n <div class=\"wac-charging-bar__number\" [innerHTML]=\"value + '%'\"></div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ChargingBarComponent, decorators: [{
14
- type: Component,
15
- args: [{ selector: 'wac-charging-bar', template: "<div class=\"wac-charging-bar\">\r\n <div class=\"wac-charging-bar__wrapLine\">\r\n <div class=\"wac-charging-bar__wrapLine__line\">\r\n <div class=\"wac-charging-bar__wrapLine__line__width\" [ngClass]=\"{'complete': value === 100}\" [ngStyle]=\"{'max-width': value + '%'}\"></div>\r\n </div>\r\n </div>\r\n <div class=\"wac-charging-bar__number\" [innerHTML]=\"value + '%'\"></div>\r\n</div>\r\n" }]
16
- }], ctorParameters: () => [], propDecorators: { value: [{
17
- type: Input
18
- }] } });
19
- //# sourceMappingUR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bnRzIE9uSW5pdCB7XHJcblxyXG4gIEBJbnB1dCgpXHJcbiAgdmFsdWUgPSAwO1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICB9XHJcblxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJ3YWMtY2hhcmdpbmctYmFyXCI+XHJcbiAgPGRpdiBjbGFzcz1cIndhYy1jaGFyZ2luZy1iYXJfX3dyYXBMaW5lXCI+XHJcbiAgICA8ZGl2IGNsYXNzPVwid2FjLWNoYXJnaW5nLWJhcl9fd3JhcExpbmVfX2xpbmVcIj5cclxuICAgICAgPGRpdiBjbGFzcz1cIndhYy1jaGFyZ2luZy1iYXJfX3dyYXBMaW5lX19saW5lX193aWR0aFwiIFtuZ0NsYXNzXT1cInsnY29tcGxldGUnOiB2YWx1ZSA9PT0gMTAwfVwiIFtuZ1N0eWxlXT1cInsnbWF4LXdpZHRoJzogdmFsdWUgKyAnJSd9XCI+PC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuICA8ZGl2IGNsYXNzPVwid2FjLWNoYXJnaW5nLWJhcl9fbnVtYmVyXCIgW2lubmVySFRNTF09XCJ2YWx1ZSArICclJ1wiPjwvZGl2PlxyXG48L2Rpdj5cclxuIl19
@@ -1,78 +0,0 @@
1
- import { Component, Input, Output, EventEmitter, ViewEncapsulation } from '@angular/core';
2
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import { inOutY } from '../../animations/in-out/in-out-y.animation';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- export class CheckboxComponent {
7
- set value(value) {
8
- this._value = value;
9
- this._onChange(value);
10
- this._onTouched();
11
- }
12
- get value() {
13
- return this._value;
14
- }
15
- constructor() {
16
- this.label = '';
17
- this.type = 'checkbox';
18
- this.alone = false;
19
- this.checked = false;
20
- this.hasInput = false; // todo remove from it ! That is not a part of a checkbox
21
- this.inputPlaceholder = ''; // todo remove from it ! That is not a part of a checkbox
22
- this.id = ''; // todo maybe create a static property for unique id
23
- this.whiteSpace = true;
24
- this.disabled = false;
25
- this.valueChange = new EventEmitter();
26
- this._onChange = (value) => { };
27
- this._onTouched = () => { };
28
- }
29
- registerOnChange(fn) {
30
- this._onChange = fn;
31
- }
32
- registerOnTouched(fn) {
33
- this._onTouched = fn;
34
- }
35
- setDisabledState(isDisabled) {
36
- this.disabled = isDisabled;
37
- }
38
- writeValue(isChecked) {
39
- this._value = isChecked;
40
- }
41
- onChange(value) {
42
- this._onChange(value);
43
- }
44
- inputClick($event) {
45
- $event.stopPropagation();
46
- }
47
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
48
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: CheckboxComponent, selector: "wac-checkbox", inputs: { label: "label", value: "value", type: "type", alone: "alone", checked: "checked", hasInput: "hasInput", inputPlaceholder: "inputPlaceholder", id: "id", name: "name", whiteSpace: "whiteSpace", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }], ngImport: i0, template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'disable-wt' : !whiteSpace, alone: alone }\">\r\n <div class=\"wac-field-checkbox__row\">\r\n <!-- TODO handle radio styles -->\r\n <input\r\n [type]=\"type\"\r\n [id]=\"id\"\r\n [class]=\"'is-checkradio' + (value ? ' checked' : '')\"\r\n [name]=\"name\"\r\n [disabled]=\"disabled\"\r\n [checked]=\"value\"\r\n (change)=\"value = !value\"\r\n />\r\n <label [attr.for]=\"id\"><span [innerHTML]=\"label\"></span></label>\r\n </div>\r\n <input\r\n *ngIf=\"hasInput && checked\"\r\n [@inOutYAnimation]\r\n type=\"text\"\r\n [placeholder]=\"inputPlaceholder\"\r\n (click)=\"inputClick($event)\"\r\n />\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [inOutY], encapsulation: i0.ViewEncapsulation.None }); }
49
- }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxComponent, decorators: [{
51
- type: Component,
52
- args: [{ selector: 'wac-checkbox', providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }], animations: [inOutY], encapsulation: ViewEncapsulation.None, template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'disable-wt' : !whiteSpace, alone: alone }\">\r\n <div class=\"wac-field-checkbox__row\">\r\n <!-- TODO handle radio styles -->\r\n <input\r\n [type]=\"type\"\r\n [id]=\"id\"\r\n [class]=\"'is-checkradio' + (value ? ' checked' : '')\"\r\n [name]=\"name\"\r\n [disabled]=\"disabled\"\r\n [checked]=\"value\"\r\n (change)=\"value = !value\"\r\n />\r\n <label [attr.for]=\"id\"><span [innerHTML]=\"label\"></span></label>\r\n </div>\r\n <input\r\n *ngIf=\"hasInput && checked\"\r\n [@inOutYAnimation]\r\n type=\"text\"\r\n [placeholder]=\"inputPlaceholder\"\r\n (click)=\"inputClick($event)\"\r\n />\r\n</div>\r\n" }]
53
- }], ctorParameters: () => [], propDecorators: { label: [{
54
- type: Input
55
- }], value: [{
56
- type: Input
57
- }], type: [{
58
- type: Input
59
- }], alone: [{
60
- type: Input
61
- }], checked: [{
62
- type: Input
63
- }], hasInput: [{
64
- type: Input
65
- }], inputPlaceholder: [{
66
- type: Input
67
- }], id: [{
68
- type: Input
69
- }], name: [{
70
- type: Input
71
- }], whiteSpace: [{
72
- type: Input
73
- }], disabled: [{
74
- type: Input
75
- }], valueChange: [{
76
- type: Output
77
- }] } });
78
- //# s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JcclxuICAgIFtwbGFjZWhvbGRlcl09XCJpbnB1dFBsYWNlaG9sZGVyXCJcclxuICAgIChjbGljayk9XCJpbnB1dENsaWNrKCRldmVudClcIlxyXG4gIC8+XHJcbjwvZGl2PlxyXG4iXX0=
@@ -1,25 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { FormsModule } from '@angular/forms';
4
- import { CheckboxComponent } from './checkbox.component';
5
- import * as i0 from "@angular/core";
6
- export class CheckboxModule {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: CheckboxModule, declarations: [CheckboxComponent], imports: [CommonModule,
9
- FormsModule], exports: [CheckboxComponent] }); }
10
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxModule, imports: [CommonModule,
11
- FormsModule] }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxModule, decorators: [{
14
- type: NgModule,
15
- args: [{
16
- imports: [
17
- CommonModule,
18
- FormsModule,
19
- ],
20
- exports: [CheckboxComponent],
21
- declarations: [CheckboxComponent],
22
- providers: [],
23
- }]
24
- }] });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jaGVja2JveC9jaGVja2JveC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkF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RlY2xhcmF0aW9uczogW0NoZWNrYm94Q29tcG9uZW50XSxcbiAgICBwcm92aWRlcnM6IFtdLFxufSlcbmV4cG9ydCBjbGFzcyBDaGVja2JveE1vZHVsZSB7IH1cbiJdfQ==
@@ -1,11 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class ColumnComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ColumnComponent, selector: "wac-column", ngImport: i0, template: "<p>column works!</p>\r\n" }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ColumnComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'wac-column', template: "<p>column works!</p>\r\n" }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY29sdW1uL2NvbHVtbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NvbHVtbi9jb2x1bW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNMUMsTUFBTSxPQUFPLGVBQWU7OEdBQWYsZUFBZTtrR0FBZixlQUFlLGtEQ041QiwwQkFDQTs7MkZES2EsZUFBZTtrQkFKM0IsU0FBUzsrQkFDRSxZQUFZIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ3dhYy1jb2x1bW4nLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi9jb2x1bW4uY29tcG9uZW50Lmh0bWwnLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ29sdW1uQ29tcG9uZW50IHtcclxuXHJcbn1cclxuIiwiPHA+Y29sdW1uIHdvcmtzITwvcD5cclxuIl19
@@ -1,16 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class LabelComponent {
4
- constructor() { }
5
- ngOnInit() {
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: LabelComponent, selector: "wac-label", host: { classAttribute: "wac-label" }, ngImport: i0, template: "<ng-content></ng-content>" }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: LabelComponent, decorators: [{
11
- type: Component,
12
- args: [{ selector: 'wac-label', host: {
13
- 'class': 'wac-label'
14
- }, template: "<ng-content></ng-content>" }]
15
- }], ctorParameters: () => [] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24vbGFiZWwvbGFiZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24vbGFiZWwvbGFiZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBUyxNQUFNLGVBQWUsQ0FBQzs7QUFTaEQsTUFBTSxPQUFPLGNBQWM7SUFFekIsZ0JBQWUsQ0FBQztJQUVoQixRQUFRO0lBQ1IsQ0FBQzs4R0FMVSxjQUFjO2tHQUFkLGNBQWMsd0ZDVDNCLDJCQUF5Qjs7MkZEU1osY0FBYztrQkFQMUIsU0FBUzsrQkFDRSxXQUFXLFFBRWY7d0JBQ0osT0FBTyxFQUFFLFdBQVc7cUJBQ3JCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnQsIE9uSW5pdH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ3dhYy1sYWJlbCcsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL2xhYmVsLmNvbXBvbmVudC5odG1sJyxcclxuICBob3N0OiB7XHJcbiAgICAnY2xhc3MnOiAnd2FjLWxhYmVsJ1xyXG4gIH1cclxufSlcclxuZXhwb3J0IGNsYXNzIExhYmVsQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7fVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICB9XHJcblxyXG59XHJcbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
@@ -1,16 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class PlaceholderComponent {
4
- constructor() { }
5
- ngOnInit() {
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: PlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: PlaceholderComponent, selector: "wac-placeholder", host: { classAttribute: "wac-placeholder" }, ngImport: i0, template: "<ng-content></ng-content>" }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: PlaceholderComponent, decorators: [{
11
- type: Component,
12
- args: [{ selector: 'wac-placeholder', host: {
13
- 'class': 'wac-placeholder'
14
- }, template: "<ng-content></ng-content>" }]
15
- }], ctorParameters: () => [] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhY2Vob2xkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24vcGxhY2Vob2xkZXIvcGxhY2Vob2xkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24vcGxhY2Vob2xkZXIvcGxhY2Vob2xkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBaUMsTUFBTSxlQUFlLENBQUM7O0FBU3hFLE1BQU0sT0FBTyxvQkFBb0I7SUFFL0IsZ0JBQWUsQ0FBQztJQUVoQixRQUFRO0lBQ1IsQ0FBQzs4R0FMVSxvQkFBb0I7a0dBQXBCLG9CQUFvQixvR0NUakMsMkJBQXlCOzsyRkRTWixvQkFBb0I7a0JBUGhDLFNBQVM7K0JBQ0UsaUJBQWlCLFFBRXJCO3dCQUNKLE9BQU8sRUFBRSxpQkFBaUI7cUJBQzNCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnQsIE9uSW5pdCwgVGVtcGxhdGVSZWYsIFZpZXdDaGlsZH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ3dhYy1wbGFjZWhvbGRlcicsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL3BsYWNlaG9sZGVyLmNvbXBvbmVudC5odG1sJyxcclxuICBob3N0OiB7XHJcbiAgICAnY2xhc3MnOiAnd2FjLXBsYWNlaG9sZGVyJ1xyXG4gIH1cclxufSlcclxuZXhwb3J0IGNsYXNzIFBsYWNlaG9sZGVyQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7fVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICB9XHJcblxyXG59XHJcbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
@@ -1,64 +0,0 @@
1
- import { Component, EventEmitter, HostListener, Input, Output, ViewChild } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "../button/button.component";
5
- export class ConfirmDeleteComponent {
6
- constructor() {
7
- this.open = false;
8
- this.confirm = new EventEmitter();
9
- this.backgroundColor = '#fff';
10
- this.borderRadius = '0px';
11
- this.hideText = false;
12
- }
13
- eventCancel(event) {
14
- this.confirm.emit(false);
15
- this.open = false;
16
- }
17
- eventConfirm(event) {
18
- this.confirm.emit(true);
19
- this.open = false;
20
- }
21
- responsiveControl(size) {
22
- if (size < 342) {
23
- this.hideText = true;
24
- }
25
- else {
26
- this.hideText = false;
27
- }
28
- }
29
- onResize() {
30
- this.responsiveControl(this.container.nativeElement.offsetWidth);
31
- }
32
- ngAfterViewInit() {
33
- setTimeout(() => {
34
- this.responsiveControl(this.container.nativeElement.offsetWidth);
35
- }, 100);
36
- }
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ConfirmDeleteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ConfirmDeleteComponent, selector: "wac-confirm-delete", inputs: { open: "open", label: "label", labelCancel: "labelCancel", labelConfirm: "labelConfirm", backgroundColor: "backgroundColor", borderRadius: "borderRadius" }, outputs: { confirm: "confirm" }, host: { listeners: { "window:resize": "onResize()" } }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div class=\"wac-confirm-delete\" #container [ngClass]=\"{'is-open': open, 'hide-text': hideText}\" [style.backgroundColor]=\"backgroundColor\" [style.borderRadius]=\"borderRadius\">\r\n <div>\r\n <span [innerHTML]=\"label\"></span>\r\n </div>\r\n <div>\r\n <div><wac-button [label]=\"labelCancel\" [extraClasses]=\"'is-outlined is-grey'\" (click)=\"eventCancel($event)\"></wac-button></div>\r\n <div><wac-button [label]=\"labelConfirm\" [extraClasses]=\"'is-danger'\" (click)=\"eventConfirm($event)\"></wac-button></div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.ButtonComponent, selector: "wac-button", inputs: ["extraClasses", "label", "icon", "isLoadingSvg", "iconNext", "textcolor", "colorIcon", "widthAuto", "contentHorizontalPosition", "iconFontSize", "hasLoader", "disabled", "whiteSpaceNowrap", "opacity", "animation", "animationRight", "animationText", "confirmDelete", "confirmDeleteText", "coin", "tooltip", "tooltipWidth", "borderColor", "noPadding", "tooltipPosition", "tooltipOneline", "confirmDeletePosition", "isLoading"], outputs: ["click", "isLoadingChange"] }] }); }
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ConfirmDeleteComponent, decorators: [{
41
- type: Component,
42
- args: [{ selector: 'wac-confirm-delete', template: "<div class=\"wac-confirm-delete\" #container [ngClass]=\"{'is-open': open, 'hide-text': hideText}\" [style.backgroundColor]=\"backgroundColor\" [style.borderRadius]=\"borderRadius\">\r\n <div>\r\n <span [innerHTML]=\"label\"></span>\r\n </div>\r\n <div>\r\n <div><wac-button [label]=\"labelCancel\" [extraClasses]=\"'is-outlined is-grey'\" (click)=\"eventCancel($event)\"></wac-button></div>\r\n <div><wac-button [label]=\"labelConfirm\" [extraClasses]=\"'is-danger'\" (click)=\"eventConfirm($event)\"></wac-button></div>\r\n </div>\r\n</div>\r\n" }]
43
- }], ctorParameters: () => [], propDecorators: { open: [{
44
- type: Input
45
- }], label: [{
46
- type: Input
47
- }], labelCancel: [{
48
- type: Input
49
- }], labelConfirm: [{
50
- type: Input
51
- }], confirm: [{
52
- type: Output
53
- }], backgroundColor: [{
54
- type: Input
55
- }], borderRadius: [{
56
- type: Input
57
- }], container: [{
58
- type: ViewChild,
59
- args: ['container']
60
- }], onResize: [{
61
- type: HostListener,
62
- args: ['window:resize']
63
- }] } });
64
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS1kZWxldGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb25maXJtLWRlbGV0ZS9jb25maXJtLWRlbGV0ZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NvbmZpcm0t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gkZXZlbnQpXCI+PC93YWMtYnV0dG9uPjwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
@@ -1,72 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "../button/button.component";
5
- import * as i3 from "../link/link.component";
6
- export class ContentWithButtonsComponent {
7
- constructor() {
8
- this.iconCopy = 'fa-duotone fa-copy';
9
- this.iconTranslate = 'fa-regular fa-globe';
10
- this.tooltipCopy = '';
11
- this.tooltipTranslate = '';
12
- this.tooltipLinkReport = '';
13
- this.count = true;
14
- this.countCharacterLabel = 'caractères';
15
- this.countWordsLabel = 'mots';
16
- this.copyAction = new EventEmitter();
17
- this.reportAction = new EventEmitter();
18
- this.translateAction = new EventEmitter();
19
- this.countIsReady = false;
20
- }
21
- ngOnInit() {
22
- this.randomLabelName = 'content-' + Math.random() * (900 - 700) + 700;
23
- }
24
- ngAfterViewInit() {
25
- setTimeout(() => {
26
- const content = document.getElementById(this.randomLabelName).innerHTML.replace(/(<([^>]+)>)/gi, '').replace(/[.,\/#!$%\^&\*;:{}=\-_`~()]/g, '');
27
- this.countCharacter = content.trim().split(' ').join('').length;
28
- this.countWords = content.trim().split(' ').length;
29
- this.countIsReady = true;
30
- });
31
- }
32
- eventCopy() {
33
- this.copyAction.emit(true);
34
- }
35
- eventTranslate() {
36
- this.translateAction.emit(true);
37
- }
38
- eventReport() {
39
- this.reportAction.emit(true);
40
- }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ContentWithButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ContentWithButtonsComponent, selector: "wac-content-with-buttons", inputs: { iconCopy: "iconCopy", iconTranslate: "iconTranslate", tooltipCopy: "tooltipCopy", tooltipTranslate: "tooltipTranslate", tooltipLinkReport: "tooltipLinkReport", count: "count", countCharacterLabel: "countCharacterLabel", countWordsLabel: "countWordsLabel", reportLabel: "reportLabel" }, outputs: { copyAction: "copyAction", reportAction: "reportAction", translateAction: "translateAction" }, ngImport: i0, template: "<div class=\"wac-content-with-buttons\">\r\n <div class=\"wac-content-with-buttons__text\">\r\n <div id=\"{{randomLabelName}}\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"wac-content-with-buttons__text__count\" *ngIf=\"count && countIsReady\">\r\n <span>{{ countWords }} {{ countWordsLabel }} - {{ countCharacter }} {{ countCharacterLabel }}</span>\r\n <span><wac-link [tooltipWidth]=\"600\" [tooltip]=\"tooltipLinkReport\" (click)=\"$event.preventDefault();\" (mousedown)=\"$event.preventDefault();eventReport();\" fontSize=\"12px\">{{ reportLabel }}</wac-link></span>\r\n </div>\r\n </div>\r\n <div class=\"wac-content-with-buttons__cta\">\r\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\" [tooltip]=\"tooltipCopy\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\"></wac-button></div>\r\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconTranslate\" [tooltip]=\"tooltipTranslate\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\" (click)=\"eventTranslate()\"></wac-button></div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "wac-button", inputs: ["extraClasses", "label", "icon", "isLoadingSvg", "iconNext", "textcolor", "colorIcon", "widthAuto", "contentHorizontalPosition", "iconFontSize", "hasLoader", "disabled", "whiteSpaceNowrap", "opacity", "animation", "animationRight", "animationText", "confirmDelete", "confirmDeleteText", "coin", "tooltip", "tooltipWidth", "borderColor", "noPadding", "tooltipPosition", "tooltipOneline", "confirmDeletePosition", "isLoading"], outputs: ["click", "isLoadingChange"] }, { kind: "component", type: i3.LinkComponent, selector: "wac-link", inputs: ["href", "tooltip", "tooltipWidth", "target", "id", "class", "fontSize"] }] }); }
43
- }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ContentWithButtonsComponent, decorators: [{
45
- type: Component,
46
- args: [{ selector: 'wac-content-with-buttons', template: "<div class=\"wac-content-with-buttons\">\r\n <div class=\"wac-content-with-buttons__text\">\r\n <div id=\"{{randomLabelName}}\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"wac-content-with-buttons__text__count\" *ngIf=\"count && countIsReady\">\r\n <span>{{ countWords }} {{ countWordsLabel }} - {{ countCharacter }} {{ countCharacterLabel }}</span>\r\n <span><wac-link [tooltipWidth]=\"600\" [tooltip]=\"tooltipLinkReport\" (click)=\"$event.preventDefault();\" (mousedown)=\"$event.preventDefault();eventReport();\" fontSize=\"12px\">{{ reportLabel }}</wac-link></span>\r\n </div>\r\n </div>\r\n <div class=\"wac-content-with-buttons__cta\">\r\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\" [tooltip]=\"tooltipCopy\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\"></wac-button></div>\r\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconTranslate\" [tooltip]=\"tooltipTranslate\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\" (click)=\"eventTranslate()\"></wac-button></div>\r\n </div>\r\n</div>\r\n" }]
47
- }], propDecorators: { iconCopy: [{
48
- type: Input
49
- }], iconTranslate: [{
50
- type: Input
51
- }], tooltipCopy: [{
52
- type: Input
53
- }], tooltipTranslate: [{
54
- type: Input
55
- }], tooltipLinkReport: [{
56
- type: Input
57
- }], count: [{
58
- type: Input
59
- }], countCharacterLabel: [{
60
- type: Input
61
- }], countWordsLabel: [{
62
- type: Input
63
- }], reportLabel: [{
64
- type: Input
65
- }], copyAction: [{
66
- type: Output
67
- }], reportAction: [{
68
- type: Output
69
- }], translateAction: [{
70
- type: Output
71
- }] } });
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aXRoLWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb250ZW50LXdpdGgtYnV0dG9ucy9jb250ZW50LXdpdGgtYnV0dG9ucy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NvbnRlbnQtd2l0aC1idXR0b25zL2NvbnRlbnQtd2l0aC1idXR0b25zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBa0MsU0FBUyxFQUFnQixZQUFZLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFNNUgsTUFBTSxPQUFPLDJCQUEyQjtJQUp4QztRQU9FLGFBQVEsR0FBRyxvQkFBb0IsQ0FBQztRQUdoQyxrQkFBYSxHQUFHLHFCQUFxQixDQUFDO1FBR3RDLGdCQUFXLEdBQUcsRUFBRSxDQUFDO1FBR2pCLHFCQUFnQixHQUFHLEVBQUUsQ0FBQztRQUd0QixzQkFBaUIsR0FBRyxFQUFFLENBQUM7UUFHdkIsVUFBSyxHQUFHLElBQUksQ0FBQztRQUdiLHdCQUFtQixHQUFHLFlBQVksQ0FBQztRQUduQyxvQkFBZSxH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2x0aXBPbmVsaW5lXT1cInRydWVcIj48L3dhYy1idXR0b24+PC9kaXY+XHJcbiAgICA8ZGl2Pjx3YWMtYnV0dG9uIGV4dHJhQ2xhc3Nlcz1cImlzLWdyZWVuIG9wYWNpdHkgc3RhdGljLXdpZHRoXCIgW2ljb25Gb250U2l6ZV09XCIxOFwiIFtpY29uXT1cImljb25UcmFuc2xhdGVcIiBbdG9vbHRpcF09XCJ0b29sdGlwVHJhbnNsYXRlXCIgW3Rvb2x0aXBQb3NpdGlvbl09XCIndG9wLWNlbnRlcidcIiBbdG9vbHRpcE9uZWxpbmVdPVwidHJ1ZVwiIChjbGljayk9XCJldmVudFRyYW5zbGF0ZSgpXCI+PC93YWMtYnV0dG9uPjwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
@@ -1,12 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class DeleteComponent {
4
- constructor() { }
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DeleteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: DeleteComponent, selector: "wac-delete", ngImport: i0, template: "<div class=\"wac-delete\">\n <div class=\"wac-delete__wrapper\">\n <i class=\"fas fa-trash\"></i>\n </div>\n</div>\n" }); }
7
- }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DeleteComponent, decorators: [{
9
- type: Component,
10
- args: [{ selector: 'wac-delete', template: "<div class=\"wac-delete\">\n <div class=\"wac-delete__wrapper\">\n <i class=\"fas fa-trash\"></i>\n </div>\n</div>\n" }]
11
- }], ctorParameters: () => [] });
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsZXRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZGVsZXRlL2RlbGV0ZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2RlbGV0ZS9kZWxldGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNMUMsTUFBTSxPQUFPLGVBQWU7SUFDMUIsZ0JBQWUsQ0FBQzs4R0FETCxlQUFlO2tHQUFmLGVBQWUsa0RDTjVCLDJIQUtBOzsyRkRDYSxlQUFlO2tCQUozQixTQUFTOytCQUNFLFlBQVkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnd2FjLWRlbGV0ZScsXG4gIHRlbXBsYXRlVXJsOiAnLi9kZWxldGUuY29tcG9uZW50Lmh0bWwnXG59KVxuZXhwb3J0IGNsYXNzIERlbGV0ZUNvbXBvbmVudCB7XG4gIGNvbnN0cnVjdG9yKCkge31cbn1cbiIsIjxkaXYgY2xhc3M9XCJ3YWMtZGVsZXRlXCI+XG4gIDxkaXYgY2xhc3M9XCJ3YWMtZGVsZXRlX193cmFwcGVyXCI+XG4gICAgPGkgY2xhc3M9XCJmYXMgZmEtdHJhc2hcIj48L2k+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,61 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { moveItemInArray } from '@angular/cdk/drag-drop';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/cdk/drag-drop";
6
- import * as i3 from "../inputs/input/input.component";
7
- import * as i4 from "../button/button.component";
8
- export class DraganddropListComponent {
9
- constructor() {
10
- this.label = '';
11
- this.disabled = false;
12
- this.backgroundColor = '#fff';
13
- this.showTriggerSave = false;
14
- this.itemsChange = new EventEmitter();
15
- }
16
- drop(event) {
17
- if (!this.disabled) {
18
- moveItemInArray(this.items, event.previousIndex, event.currentIndex);
19
- this.itemsChange.emit(Object.values(this.items));
20
- }
21
- }
22
- delete(index) {
23
- if (!this.disabled) {
24
- this.items = this.items.filter((value, i) => i !== index);
25
- this.itemsChange.emit(Object.values(this.items));
26
- }
27
- }
28
- saveFieldEnd(index, event) {
29
- this.items[index] = event.target.value;
30
- this.itemsChange.emit(Object.values(this.items));
31
- }
32
- addField() {
33
- this.showTriggerSave = true;
34
- }
35
- saveNewField(event) {
36
- this.items.push(event.target.value);
37
- this.itemsChange.emit(Object.values(this.items));
38
- this.showTriggerSave = false;
39
- }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DraganddropListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
41
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: DraganddropListComponent, selector: "wac-draganddrop-list", inputs: { label: "label", items: "items", disabled: "disabled", max: "max", labelBtnAdd: "labelBtnAdd", backgroundColor: "backgroundColor" }, outputs: { itemsChange: "itemsChange" }, ngImport: i0, template: "<div class=\"wac-draganddrop-list\" *ngIf=\"!disabled\" [style.backgroundColor]=\"backgroundColor\">\r\n <div class=\"wac-draganddrop-list__label\" *ngIf=\"label\"><span [innerHTML]=\"label\"></span></div>\r\n <div class=\"wac-draganddrop-list__wrapper\" [cdkDropListLockAxis]=\"'y'\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"wac-draganddrop-list__wrapper__item\" [style.backgroundColor]=\"backgroundColor\" *ngFor=\"let item of items;let i = index;\" cdkDrag>\r\n <div>\r\n <span class=\"wac-draganddrop-list__wrapper__item__icon\">\r\n <span></span>\r\n </span>\r\n <span (mousedown)=\"$event.stopPropagation()\" class=\"wac-draganddrop-list__wrapper__item__input\">\r\n <wac-input [value]=\"item\" [extraClasses]=\"'transparent'\" (keyup.enter)=\"saveFieldEnd(i, $event)\" (focusout)=\"saveFieldEnd(i, $event)\"></wac-input>\r\n </span>\r\n </div>\r\n <div (mousedown)=\"$event.stopPropagation()\">\r\n <div>\r\n <wac-button [iconFontSize]=\"14\" [opacity]=\"true\" [icon]=\"'fa-regular fa-trash-can'\" [extraClasses]=\"'is-danger'\" (click)=\"delete(i)\"></wac-button>\r\n </div>\r\n <div *ngIf=\"i === (items.length - 1) && max > items.length && !showTriggerSave\">\r\n <wac-button [extraClasses]=\"'is-info'\" [iconFontSize]=\"18\" [opacity]=\"true\" [icon]=\"'fa-regular fa-plus'\" (click)=\"addField()\"></wac-button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wac-draganddrop-list__wrapper__item wac-draganddrop-list__wrapper__item--trigger\" *ngIf=\"showTriggerSave\">\r\n <div>\r\n <span class=\"wac-draganddrop-list__wrapper__item__icon\">\r\n <span></span>\r\n </span>\r\n <span class=\"wac-draganddrop-list__wrapper__item__input\">\r\n <wac-input [extraClasses]=\"'transparent'\" (keyup.enter)=\"saveNewField($event)\" (focusout)=\"saveNewField($event)\"></wac-input>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"wac-draganddrop-list wac-draganddrop-list--disabled\" *ngIf=\"disabled\">\r\n <div class=\"wac-draganddrop-list__label\" *ngIf=\"label\"><span [innerHTML]=\"label\"></span></div>\r\n <div class=\"wac-draganddrop-list__wrapper\">\r\n <div class=\"wac-draganddrop-list__wrapper__item\" *ngFor=\"let item of items;let i = index;\">\r\n <div>\r\n <span class=\"wac-draganddrop-list__wrapper__item__label\" [innerHTML]=\"item\"></span>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i2.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type: i3.InputComponent, selector: "wac-input", inputs: ["label", "value", "type", "placeholder", "textInfo", "textError", "size", "isNumber", "withoutBlock", "icon", "big", "medium", "boldLabel", "min", "max", "disableMargin", "textPrepend", "textAppend", "progressBar", "extraClasses", "keyPreventDefault", "showTooltip", "textTooltip", "iconTooltip", "urlTooltip", "linkTooltip", "padding", "disabled", "indication", "success", "error", "maxlength", "minlength", "indicationLeft"], outputs: ["keypressEnter", "blurred"] }, { kind: "component", type: i4.ButtonComponent, selector: "wac-button", inputs: ["extraClasses", "label", "icon", "isLoadingSvg", "iconNext", "textcolor", "colorIcon", "widthAuto", "contentHorizontalPosition", "iconFontSize", "hasLoader", "disabled", "whiteSpaceNowrap", "opacity", "animation", "animationRight", "animationText", "confirmDelete", "confirmDeleteText", "coin", "tooltip", "tooltipWidth", "borderColor", "noPadding", "tooltipPosition", "tooltipOneline", "confirmDeletePosition", "isLoading"], outputs: ["click", "isLoadingChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
42
- }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DraganddropListComponent, decorators: [{
44
- type: Component,
45
- args: [{ selector: 'wac-draganddrop-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"wac-draganddrop-list\" *ngIf=\"!disabled\" [style.backgroundColor]=\"backgroundColor\">\r\n <div class=\"wac-draganddrop-list__label\" *ngIf=\"label\"><span [innerHTML]=\"label\"></span></div>\r\n <div class=\"wac-draganddrop-list__wrapper\" [cdkDropListLockAxis]=\"'y'\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"wac-draganddrop-list__wrapper__item\" [style.backgroundColor]=\"backgroundColor\" *ngFor=\"let item of items;let i = index;\" cdkDrag>\r\n <div>\r\n <span class=\"wac-draganddrop-list__wrapper__item__icon\">\r\n <span></span>\r\n </span>\r\n <span (mousedown)=\"$event.stopPropagation()\" class=\"wac-draganddrop-list__wrapper__item__input\">\r\n <wac-input [value]=\"item\" [extraClasses]=\"'transparent'\" (keyup.enter)=\"saveFieldEnd(i, $event)\" (focusout)=\"saveFieldEnd(i, $event)\"></wac-input>\r\n </span>\r\n </div>\r\n <div (mousedown)=\"$event.stopPropagation()\">\r\n <div>\r\n <wac-button [iconFontSize]=\"14\" [opacity]=\"true\" [icon]=\"'fa-regular fa-trash-can'\" [extraClasses]=\"'is-danger'\" (click)=\"delete(i)\"></wac-button>\r\n </div>\r\n <div *ngIf=\"i === (items.length - 1) && max > items.length && !showTriggerSave\">\r\n <wac-button [extraClasses]=\"'is-info'\" [iconFontSize]=\"18\" [opacity]=\"true\" [icon]=\"'fa-regular fa-plus'\" (click)=\"addField()\"></wac-button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wac-draganddrop-list__wrapper__item wac-draganddrop-list__wrapper__item--trigger\" *ngIf=\"showTriggerSave\">\r\n <div>\r\n <span class=\"wac-draganddrop-list__wrapper__item__icon\">\r\n <span></span>\r\n </span>\r\n <span class=\"wac-draganddrop-list__wrapper__item__input\">\r\n <wac-input [extraClasses]=\"'transparent'\" (keyup.enter)=\"saveNewField($event)\" (focusout)=\"saveNewField($event)\"></wac-input>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"wac-draganddrop-list wac-draganddrop-list--disabled\" *ngIf=\"disabled\">\r\n <div class=\"wac-draganddrop-list__label\" *ngIf=\"label\"><span [innerHTML]=\"label\"></span></div>\r\n <div class=\"wac-draganddrop-list__wrapper\">\r\n <div class=\"wac-draganddrop-list__wrapper__item\" *ngFor=\"let item of items;let i = index;\">\r\n <div>\r\n <span class=\"wac-draganddrop-list__wrapper__item__label\" [innerHTML]=\"item\"></span>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
46
- }], propDecorators: { label: [{
47
- type: Input
48
- }], items: [{
49
- type: Input
50
- }], disabled: [{
51
- type: Input
52
- }], max: [{
53
- type: Input
54
- }], labelBtnAdd: [{
55
- type: Input
56
- }], backgroundColor: [{
57
- type: Input
58
- }], itemsChange: [{
59
- type: Output
60
- }] } });
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZ2FuZGRyb3AtbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2RyYWdhbmRkc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