@firestitch/filter 13.4.1 → 14.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 (272) hide show
  1. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/16/25/214635fa124a83a4fe3a52bde70e7124d9d011a5d176790a9c607bf1f5ed27cadefc4a1b5a225c0bda11250a180ca5798773e0c108e8d5e2d8559d2f9eed +1 -0
  2. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/44/f9/ee834587d4ac4a429d8c4af2e1562028c7432ac179f9699f2990ab3dadc8e4f66ae45bf22625aedf47fad137e2de39a9b99141784e56d5123544f90c922a +1 -0
  3. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/4d/89/993c2eaff9e0cfca023676bf3f2d3d446f6b6cc90eec839075529d155102b2808a8b44e259d357704acd43143c12af5a5916b4e291a799164b722142ee8e +1 -0
  4. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/52/cb/71f80b48163c432fcb05ac0f736ae7cae10318713c98c74739b3eb5d83ebce635b1a7c77d357b1a4b13a9ae9cfe43348538e4336c25c234551f1e80f0567 +1 -0
  5. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/54/f6/73f0d8ea64a18aa71d80a2cf99d6eb4a2cd345e943127e018913d0f76e9575fabe3aee5002ee4da996e661662d474ad31e9a77f2858c68eed532c2d45d47 +1 -0
  6. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/61/84/7f56389ef39faf5c5b6ad292f668ec6cc5cb6e476d94b1740bdadb9832e3de22a0032b90811f02c80d3d56be5f5e32d8bb900e17ebcb09db379befddc221 +1 -0
  7. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/69/d3/d48ad36dd0a576c4d6f8af3a2ee671037639b0a8d91679992dcbd9dabc284bf316c3126201837e931a162f23cdc4a505608bb64df8e87f59a17364890873 +1 -0
  8. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/70/92/ac80dcd48732b949f163abf36c48b0912598d2bb66e5c1f2056fef872f59fb1b591abbf3bfdbf461a46cbd507eea05a6bd0f14ba3d573f1684cbc78bd094 +1 -0
  9. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/73/10/12664696206dcdab6b084331532b234c439acef8a6428af667a2e1bb1c15e2055b3ac70f44fd8bf508396d3e11a798b40849fd66dbdbd0ff9d9d7e780edd +1 -0
  10. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/74/f6/4c2db73499d08279895e1ab6e2fb65baa613d31218b6968f74143ba03819c72a2720b927ca5a708dd484c0bc6763124e62ce9c2e652f71b740cb2d29ae03 +1 -0
  11. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/78/30/8eedd8d752a08df898806b01abde5b4c1809f6edcba95fcf112c006833b34986c295b62a7e47cd73297c3da78ca6072ef18ba502b6efdd6048dbdbbcd257 +1 -0
  12. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/8c/f8/d9f30e3e898c99e8c3157d4c9157dead1b1115ea4db50aced0c33713cd394bb770b182d1d5087c821d22b2abb99e288191ba9e30954ea4ed9ab6ff70d391 +1 -0
  13. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/8d/53/ad58764bc240411378ae1c47c0c20525da378a3b143795a11bc3fdbf6c9cde6fb2de6c3947d673d5872b9ce205d6274114b3b4dfd27609a636df7fd0b600 +1 -0
  14. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/8f/74/3ed29367f32f9c909f5898704561eb1ebe5cdabba507ba08cbeeaeecd274d020b1401ba871938be899025a265299f8be66c59d59b574a996a74b2987d98e +1 -0
  15. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/a1/ac/1dbcf215585477c3f70180cb40186b5119d9ad1d27b2e0dcde66034c950e334ce0577409535c29bb15d2e6c9238eb9e841177fc62d3949a58bbbb397238d +1 -0
  16. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/a3/08/068a7a29e9cc2385b62d4b0fc14b04a7f09ed469d9b79bb754e37d4933b0ab8aa171b286080e20a11e67f42b8558a4bda64aa03ca097001ecda5c25a9015 +1 -0
  17. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/ae/6c/352ab77e603fa53f25ab95cd6fd19a230095b212464689ab76c89db8d97bd0f221c27fbd84d0767fb5ce7e33f5feb175a9256ab35cf216d30dd3263b6b14 +1 -0
  18. package/.angular/cache/14.2.13/ng-packagr/content-v2/sha512/b6/38/eb8a1b6bd6265968335935cbc2763fbcbb9cd4e32dd58a5234bfd87379ee840044338eeae5f126da9936d21ed423071cfbca6748ee153235addf874824f7 +1 -0
  19. package/.angular/cache/14.2.13/ng-packagr/index-v5/01/3c/d4dca899e5bd80c43ed2e78ec79687adc272ff835d03f0ae48cb881ddd83 +2 -0
  20. package/.angular/cache/14.2.13/ng-packagr/index-v5/05/a7/da2d9625c1bc294409dbf750062e363a1abbe39b51177bfb7e5a9aa9ae81 +2 -0
  21. package/.angular/cache/14.2.13/ng-packagr/index-v5/08/f1/b2e705e45544df7c77f4238b558d569a1215422c2086df9140963f960eef +2 -0
  22. package/.angular/cache/14.2.13/ng-packagr/index-v5/21/1d/398c87beb2402502d4e706beedd98ea707f31b441d6aa7711eef62a0439b +2 -0
  23. package/.angular/cache/14.2.13/ng-packagr/index-v5/26/0b/ee2b1cad7f114e99f8d4da848bd6ceb4e849178b50723d9dcd10f39fb05c +2 -0
  24. package/.angular/cache/14.2.13/ng-packagr/index-v5/26/98/b8614f38ea6fefe80f96f06adb98d925eccfae9eec0937c645a42034614c +2 -0
  25. package/.angular/cache/14.2.13/ng-packagr/index-v5/64/4d/18a7b240783e7b3de33ad33724d2b43e8f3349e840ccab571ca3c6c51c00 +2 -0
  26. package/.angular/cache/14.2.13/ng-packagr/index-v5/64/70/77036e049a76cab5a64caa9cba4b603631c7e9e2f47e6c5fbc7f39d67a2f +2 -0
  27. package/.angular/cache/14.2.13/ng-packagr/index-v5/6c/5d/700bf777ddebfd9b8f15e2709674069747b6fcd37376049712828252ca92 +3 -0
  28. package/.angular/cache/14.2.13/ng-packagr/index-v5/71/89/4e4e3808e28a4a95a98391ab38f87f165ae234aefd4231092d1f531f56b3 +2 -0
  29. package/.angular/cache/14.2.13/ng-packagr/index-v5/7c/c2/bd7b21a07f8b1da7797f40df86dc4289416305c26464c6b965a336fd3975 +2 -0
  30. package/.angular/cache/14.2.13/ng-packagr/index-v5/85/64/cb2f22b4df13a70eb519564e382de3d7dd3747bc0cab1109017f8934cff8 +2 -0
  31. package/.angular/cache/14.2.13/ng-packagr/index-v5/96/b1/2730596477eee53fc70082999f48e373f6795e68d21e04234a45131added +2 -0
  32. package/.angular/cache/14.2.13/ng-packagr/index-v5/af/e4/165326aa8daa8e07ac9e02bde3d64a31b00d1b2b59a797a51a89456d2ad6 +2 -0
  33. package/.angular/cache/14.2.13/ng-packagr/index-v5/cd/96/32e83b96bce723e8ad58fdb7c43cf0002b3e0561309899e8b2a75204cbff +2 -0
  34. package/.angular/cache/14.2.13/ng-packagr/index-v5/dd/38/1f423a0e17cf4e99ef3c880daeb533cdce9275226cb2f617aed52e881e59 +2 -0
  35. package/.angular/cache/14.2.13/ng-packagr/index-v5/e4/e8/f48bdfbec024c932fd928e4db790b6454d090d4db31e9d69201a5e1ea466 +2 -0
  36. package/.angular/cache/14.2.13/ng-packagr/index-v5/ee/59/16a63690de125da5067876d4ccf122230175174f3489e48893448bcbdcd3 +2 -0
  37. package/.angular/cache/14.2.13/ng-packagr/index-v5/fd/46/71e9d6d1a123ed68ce03aa617dcaaad4ad9c5a9193f1281166766c453621 +3 -0
  38. package/.angulardoc.json +4 -0
  39. package/.editorconfig +15 -0
  40. package/.eslintrc.json +9 -0
  41. package/.gitmodules +3 -0
  42. package/angular.json +163 -0
  43. package/babel.config.js +11 -0
  44. package/jest.config.js +24 -0
  45. package/{app → package/app}/classes/actions-controller.d.ts +41 -41
  46. package/{app → package/app}/components/action-button/action-button.component.d.ts +9 -9
  47. package/{app → package/app}/components/action-kebab-actions/action-kebab-actions.component.d.ts +7 -7
  48. package/{app → package/app}/components/actions/actions.component.d.ts +13 -13
  49. package/{app → package/app}/components/filter/filter.component.d.ts +204 -204
  50. package/{app → package/app}/components/filter-chip/filter-chip.component.d.ts +26 -26
  51. package/{app → package/app}/components/filter-chip-content/filter-chip-content.component.d.ts +18 -18
  52. package/{app → package/app}/components/filter-chips/filter-chips.component.d.ts +9 -9
  53. package/{app → package/app}/components/filter-drawer/filter-drawer.component.d.ts +30 -30
  54. package/{app → package/app}/components/filter-drawer-actions/filter-drawer-actions.component.d.ts +15 -15
  55. package/{app → package/app}/components/filters-item/autocomplete/autocomplete.component.d.ts +14 -14
  56. package/{app → package/app}/components/filters-item/autocompletechips/autocompletechips.component.d.ts +16 -16
  57. package/{app → package/app}/components/filters-item/base-item/base-item.component.d.ts +25 -25
  58. package/{app → package/app}/components/filters-item/checkbox/checkbox.component.d.ts +11 -11
  59. package/{app → package/app}/components/filters-item/chips/chips.component.d.ts +13 -13
  60. package/{app → package/app}/components/filters-item/date/date.component.d.ts +20 -20
  61. package/{app → package/app}/components/filters-item/date-range/date-range.component.d.ts +15 -15
  62. package/{app → package/app}/components/filters-item/filter-item.component.d.ts +39 -39
  63. package/{app → package/app}/components/filters-item/range/range.component.d.ts +15 -15
  64. package/{app → package/app}/components/filters-item/select/backdrop/backdrop.component.d.ts +6 -6
  65. package/{app → package/app}/components/filters-item/select/groups/groups.component.d.ts +12 -12
  66. package/{app → package/app}/components/filters-item/select/multiple/multiple.component.d.ts +15 -15
  67. package/{app → package/app}/components/filters-item/select/select.component.d.ts +23 -23
  68. package/{app → package/app}/components/filters-item/select/simple/simple.component.d.ts +14 -14
  69. package/{app → package/app}/components/filters-item/text/text.component.d.ts +19 -19
  70. package/{app → package/app}/components/filters-item/week/week.component.d.ts +12 -12
  71. package/{app → package/app}/components/saved-filter/index.d.ts +3 -3
  72. package/{app → package/app}/components/saved-filter/saved-filter-edit/index.d.ts +1 -1
  73. package/{app → package/app}/components/saved-filter/saved-filter-edit/saved-filter-edit.component.d.ts +18 -18
  74. package/{app → package/app}/components/saved-filter/saved-filter-manage/index.d.ts +1 -1
  75. package/{app → package/app}/components/saved-filter/saved-filter-manage/saved-filter-manage.component.d.ts +16 -16
  76. package/{app → package/app}/components/saved-filter/saved-filters-menu/index.d.ts +1 -1
  77. package/{app → package/app}/components/saved-filter/saved-filters-menu/saved-filters-menu.component.d.ts +23 -23
  78. package/{app → package/app}/consts/query-param-delimiter.d.ts +1 -1
  79. package/{app → package/app}/directives/focus-to-item/focus-to-item.directive.d.ts +27 -27
  80. package/{app → package/app}/directives/status-bar/status-bar.directive.d.ts +8 -8
  81. package/{app → package/app}/enums/action-mode.enum.d.ts +6 -6
  82. package/{app → package/app}/enums/action-type.enum.d.ts +9 -9
  83. package/{app → package/app}/enums/button-style.d.ts +9 -9
  84. package/{app → package/app}/enums/index.d.ts +6 -6
  85. package/{app → package/app}/enums/item-date-mode.enum.d.ts +5 -5
  86. package/{app → package/app}/enums/item-type.enum.d.ts +15 -15
  87. package/{app → package/app}/enums/picker-view-type.enum.d.ts +7 -7
  88. package/{app → package/app}/fs-filter.module.d.ts +70 -70
  89. package/{app → package/app}/helpers/build-query-params.d.ts +3 -3
  90. package/{app → package/app}/helpers/compare.d.ts +2 -2
  91. package/{app → package/app}/helpers/create-filter-item.d.ts +14 -14
  92. package/{app → package/app}/helpers/find-value.d.ts +1 -1
  93. package/{app → package/app}/helpers/get-range-name.d.ts +1 -1
  94. package/{app → package/app}/helpers/parse-date.d.ts +1 -1
  95. package/{app → package/app}/helpers/parse-item-value-from-stored.d.ts +1 -1
  96. package/{app → package/app}/helpers/query-param-transformers.d.ts +2 -2
  97. package/{app → package/app}/helpers/restore-items.d.ts +12 -12
  98. package/{app → package/app}/injectors/filter-config.d.ts +2 -2
  99. package/{app → package/app}/injectors/filter-drawer-data.d.ts +2 -2
  100. package/{app → package/app}/injectors/filter-drawer-overlay.d.ts +2 -2
  101. package/{app → package/app}/interfaces/action.interface.d.ts +81 -81
  102. package/{app → package/app}/interfaces/config.interface.d.ts +66 -66
  103. package/{app → package/app}/interfaces/external-params.interface.d.ts +3 -3
  104. package/{app → package/app}/interfaces/filter.interface.d.ts +4 -4
  105. package/{app → package/app}/interfaces/index.d.ts +6 -6
  106. package/{app → package/app}/interfaces/items/autocomplete-chips.interface.d.ts +15 -15
  107. package/{app → package/app}/interfaces/items/autocomplete.interface.d.ts +9 -9
  108. package/{app → package/app}/interfaces/items/base.interface.d.ts +29 -29
  109. package/{app → package/app}/interfaces/items/checkbox.interface.d.ts +7 -7
  110. package/{app → package/app}/interfaces/items/chips.interface.d.ts +6 -6
  111. package/{app → package/app}/interfaces/items/date-range.interface.d.ts +8 -8
  112. package/{app → package/app}/interfaces/items/date.interface.d.ts +7 -7
  113. package/{app → package/app}/interfaces/items/range.interface.d.ts +13 -13
  114. package/{app → package/app}/interfaces/items/select.interface.d.ts +20 -20
  115. package/{app → package/app}/interfaces/items/text.interface.d.ts +9 -9
  116. package/{app → package/app}/interfaces/items/week.interface.d.ts +7 -7
  117. package/{app → package/app}/interfaces/saved-filters.interface.d.ts +18 -18
  118. package/{app → package/app}/interfaces/update-filter-item.interface.d.ts +4 -4
  119. package/{app → package/app}/models/action-menu-item.model.d.ts +23 -23
  120. package/{app → package/app}/models/action.model.d.ts +54 -54
  121. package/{app → package/app}/models/filter-config.d.ts +31 -31
  122. package/{app → package/app}/models/items/autocomplete/base-autocomplete-item.d.ts +12 -12
  123. package/{app → package/app}/models/items/autocomplete-chips-item.d.ts +20 -20
  124. package/{app → package/app}/models/items/autocomplete-item.d.ts +11 -11
  125. package/{app → package/app}/models/items/base-item.d.ts +80 -80
  126. package/{app → package/app}/models/items/checkbox-item.d.ts +17 -17
  127. package/{app → package/app}/models/items/chips-item.d.ts +18 -18
  128. package/{app → package/app}/models/items/date/base-date-item.d.ts +14 -14
  129. package/{app → package/app}/models/items/date-item.d.ts +8 -8
  130. package/{app → package/app}/models/items/date-range/base-date-range-item.d.ts +21 -21
  131. package/{app → package/app}/models/items/date-range-item.d.ts +6 -6
  132. package/{app → package/app}/models/items/date-time-item.d.ts +7 -7
  133. package/{app → package/app}/models/items/date-time-range-item.d.ts +6 -6
  134. package/{app → package/app}/models/items/range-item.d.ts +23 -23
  135. package/{app → package/app}/models/items/select/base-select-item.d.ts +13 -13
  136. package/{app → package/app}/models/items/select/multiple-select-item.d.ts +14 -14
  137. package/{app → package/app}/models/items/select/simple-select-item.d.ts +14 -14
  138. package/{app → package/app}/models/items/select-item.d.ts +8 -8
  139. package/{app → package/app}/models/items/text-item.d.ts +15 -15
  140. package/{app → package/app}/models/items/week-item.d.ts +18 -18
  141. package/{app → package/app}/pipes/remove-isolate-value.pipe.d.ts +8 -8
  142. package/{app → package/app}/providers/filter-meta.d.ts +5 -5
  143. package/{app → package/app}/services/external-params/persistance-params-controller.service.d.ts +22 -22
  144. package/{app → package/app}/services/external-params/query-params-controller.service.d.ts +22 -22
  145. package/{app → package/app}/services/external-params/saved-filters-controller.service.d.ts +40 -40
  146. package/{app → package/app}/services/external-params-controller.service.d.ts +42 -42
  147. package/{app → package/app}/services/filter-overlay.service.d.ts +36 -36
  148. package/{app → package/app}/services/focus-controller.service.d.ts +18 -18
  149. package/{app → package/app}/services/items-store.service.d.ts +69 -69
  150. package/{esm2020 → package/esm2020}/app/classes/actions-controller.mjs +126 -126
  151. package/{esm2020 → package/esm2020}/app/components/action-button/action-button.component.mjs +21 -21
  152. package/{esm2020 → package/esm2020}/app/components/action-kebab-actions/action-kebab-actions.component.mjs +16 -16
  153. package/{esm2020 → package/esm2020}/app/components/actions/actions.component.mjs +41 -41
  154. package/{esm2020 → package/esm2020}/app/components/filter/filter.component.mjs +613 -613
  155. package/{esm2020 → package/esm2020}/app/components/filter-chip/filter-chip.component.mjs +85 -85
  156. package/{esm2020 → package/esm2020}/app/components/filter-chip-content/filter-chip-content.component.mjs +78 -78
  157. package/{esm2020 → package/esm2020}/app/components/filter-chips/filter-chips.component.mjs +18 -18
  158. package/{esm2020 → package/esm2020}/app/components/filter-drawer/filter-drawer.component.mjs +70 -70
  159. package/{esm2020 → package/esm2020}/app/components/filter-drawer-actions/filter-drawer-actions.component.mjs +40 -40
  160. package/{esm2020 → package/esm2020}/app/components/filters-item/autocomplete/autocomplete.component.mjs +26 -26
  161. package/{esm2020 → package/esm2020}/app/components/filters-item/autocompletechips/autocompletechips.component.mjs +41 -41
  162. package/{esm2020 → package/esm2020}/app/components/filters-item/base-item/base-item.component.mjs +62 -62
  163. package/{esm2020 → package/esm2020}/app/components/filters-item/checkbox/checkbox.component.mjs +20 -20
  164. package/{esm2020 → package/esm2020}/app/components/filters-item/chips/chips.component.mjs +27 -27
  165. package/{esm2020 → package/esm2020}/app/components/filters-item/date/date.component.mjs +42 -42
  166. package/{esm2020 → package/esm2020}/app/components/filters-item/date-range/date-range.component.mjs +33 -33
  167. package/{esm2020 → package/esm2020}/app/components/filters-item/filter-item.component.mjs +79 -79
  168. package/{esm2020 → package/esm2020}/app/components/filters-item/range/range.component.mjs +44 -44
  169. package/{esm2020 → package/esm2020}/app/components/filters-item/select/backdrop/backdrop.component.mjs +11 -11
  170. package/{esm2020 → package/esm2020}/app/components/filters-item/select/groups/groups.component.mjs +29 -29
  171. package/{esm2020 → package/esm2020}/app/components/filters-item/select/multiple/multiple.component.mjs +56 -56
  172. package/{esm2020 → package/esm2020}/app/components/filters-item/select/select.component.mjs +50 -50
  173. package/{esm2020 → package/esm2020}/app/components/filters-item/select/simple/simple.component.mjs +42 -42
  174. package/package/esm2020/app/components/filters-item/text/text.component.mjs +49 -0
  175. package/{esm2020 → package/esm2020}/app/components/filters-item/week/week.component.mjs +24 -24
  176. package/{esm2020 → package/esm2020}/app/components/saved-filter/index.mjs +3 -3
  177. package/{esm2020 → package/esm2020}/app/components/saved-filter/saved-filter-edit/index.mjs +1 -1
  178. package/{esm2020 → package/esm2020}/app/components/saved-filter/saved-filter-edit/saved-filter-edit.component.mjs +49 -49
  179. package/{esm2020 → package/esm2020}/app/components/saved-filter/saved-filter-manage/index.mjs +1 -1
  180. package/{esm2020 → package/esm2020}/app/components/saved-filter/saved-filter-manage/saved-filter-manage.component.mjs +39 -39
  181. package/{esm2020 → package/esm2020}/app/components/saved-filter/saved-filters-menu/index.mjs +1 -1
  182. package/{esm2020 → package/esm2020}/app/components/saved-filter/saved-filters-menu/saved-filters-menu.component.mjs +51 -51
  183. package/{esm2020 → package/esm2020}/app/consts/query-param-delimiter.mjs +1 -1
  184. package/{esm2020 → package/esm2020}/app/directives/focus-to-item/focus-to-item.directive.mjs +129 -129
  185. package/{esm2020 → package/esm2020}/app/directives/status-bar/status-bar.directive.mjs +15 -15
  186. package/{esm2020 → package/esm2020}/app/enums/action-mode.enum.mjs +7 -7
  187. package/{esm2020 → package/esm2020}/app/enums/action-type.enum.mjs +11 -11
  188. package/{esm2020 → package/esm2020}/app/enums/button-style.mjs +10 -10
  189. package/{esm2020 → package/esm2020}/app/enums/index.mjs +6 -6
  190. package/{esm2020 → package/esm2020}/app/enums/item-date-mode.enum.mjs +6 -6
  191. package/{esm2020 → package/esm2020}/app/enums/item-type.enum.mjs +16 -16
  192. package/{esm2020 → package/esm2020}/app/enums/picker-view-type.enum.mjs +8 -8
  193. package/{esm2020 → package/esm2020}/app/fs-filter.module.mjs +261 -263
  194. package/{esm2020 → package/esm2020}/app/helpers/build-query-params.mjs +32 -32
  195. package/{esm2020 → package/esm2020}/app/helpers/compare.mjs +37 -37
  196. package/{esm2020 → package/esm2020}/app/helpers/create-filter-item.mjs +54 -54
  197. package/{esm2020 → package/esm2020}/app/helpers/find-value.mjs +12 -12
  198. package/{esm2020 → package/esm2020}/app/helpers/get-range-name.mjs +8 -8
  199. package/{esm2020 → package/esm2020}/app/helpers/parse-date.mjs +7 -7
  200. package/{esm2020 → package/esm2020}/app/helpers/parse-item-value-from-stored.mjs +80 -80
  201. package/{esm2020 → package/esm2020}/app/helpers/query-param-transformers.mjs +8 -8
  202. package/{esm2020 → package/esm2020}/app/helpers/restore-items.mjs +48 -48
  203. package/{esm2020 → package/esm2020}/app/injectors/filter-config.mjs +2 -2
  204. package/{esm2020 → package/esm2020}/app/injectors/filter-drawer-data.mjs +2 -2
  205. package/{esm2020 → package/esm2020}/app/injectors/filter-drawer-overlay.mjs +2 -2
  206. package/{esm2020 → package/esm2020}/app/interfaces/action.interface.mjs +1 -1
  207. package/{esm2020 → package/esm2020}/app/interfaces/config.interface.mjs +1 -1
  208. package/{esm2020 → package/esm2020}/app/interfaces/external-params.interface.mjs +1 -1
  209. package/{esm2020 → package/esm2020}/app/interfaces/filter.interface.mjs +1 -1
  210. package/{esm2020 → package/esm2020}/app/interfaces/index.mjs +6 -6
  211. package/{esm2020 → package/esm2020}/app/interfaces/items/autocomplete-chips.interface.mjs +1 -1
  212. package/{esm2020 → package/esm2020}/app/interfaces/items/autocomplete.interface.mjs +1 -1
  213. package/{esm2020 → package/esm2020}/app/interfaces/items/base.interface.mjs +1 -1
  214. package/{esm2020 → package/esm2020}/app/interfaces/items/checkbox.interface.mjs +1 -1
  215. package/{esm2020 → package/esm2020}/app/interfaces/items/chips.interface.mjs +1 -1
  216. package/{esm2020 → package/esm2020}/app/interfaces/items/date-range.interface.mjs +1 -1
  217. package/{esm2020 → package/esm2020}/app/interfaces/items/date.interface.mjs +1 -1
  218. package/{esm2020 → package/esm2020}/app/interfaces/items/range.interface.mjs +1 -1
  219. package/{esm2020 → package/esm2020}/app/interfaces/items/select.interface.mjs +1 -1
  220. package/{esm2020 → package/esm2020}/app/interfaces/items/text.interface.mjs +1 -1
  221. package/{esm2020 → package/esm2020}/app/interfaces/items/week.interface.mjs +1 -1
  222. package/{esm2020 → package/esm2020}/app/interfaces/saved-filters.interface.mjs +1 -1
  223. package/{esm2020 → package/esm2020}/app/interfaces/update-filter-item.interface.mjs +1 -1
  224. package/{esm2020 → package/esm2020}/app/models/action-menu-item.model.mjs +66 -66
  225. package/{esm2020 → package/esm2020}/app/models/action.model.mjs +129 -129
  226. package/{esm2020 → package/esm2020}/app/models/filter-config.mjs +66 -66
  227. package/{esm2020 → package/esm2020}/app/models/items/autocomplete/base-autocomplete-item.mjs +13 -13
  228. package/{esm2020 → package/esm2020}/app/models/items/autocomplete-chips-item.mjs +60 -60
  229. package/{esm2020 → package/esm2020}/app/models/items/autocomplete-item.mjs +32 -32
  230. package/{esm2020 → package/esm2020}/app/models/items/base-item.mjs +233 -233
  231. package/{esm2020 → package/esm2020}/app/models/items/checkbox-item.mjs +49 -49
  232. package/{esm2020 → package/esm2020}/app/models/items/chips-item.mjs +88 -88
  233. package/{esm2020 → package/esm2020}/app/models/items/date/base-date-item.mjs +47 -47
  234. package/{esm2020 → package/esm2020}/app/models/items/date-item.mjs +18 -18
  235. package/{esm2020 → package/esm2020}/app/models/items/date-range/base-date-range-item.mjs +134 -134
  236. package/{esm2020 → package/esm2020}/app/models/items/date-range-item.mjs +6 -6
  237. package/{esm2020 → package/esm2020}/app/models/items/date-time-item.mjs +9 -9
  238. package/{esm2020 → package/esm2020}/app/models/items/date-time-range-item.mjs +6 -6
  239. package/{esm2020 → package/esm2020}/app/models/items/range-item.mjs +82 -82
  240. package/{esm2020 → package/esm2020}/app/models/items/select/base-select-item.mjs +36 -36
  241. package/{esm2020 → package/esm2020}/app/models/items/select/multiple-select-item.mjs +87 -87
  242. package/{esm2020 → package/esm2020}/app/models/items/select/simple-select-item.mjs +65 -65
  243. package/{esm2020 → package/esm2020}/app/models/items/select-item.mjs +10 -10
  244. package/{esm2020 → package/esm2020}/app/models/items/text-item.mjs +33 -33
  245. package/{esm2020 → package/esm2020}/app/models/items/week-item.mjs +93 -93
  246. package/{esm2020 → package/esm2020}/app/pipes/remove-isolate-value.pipe.mjs +20 -20
  247. package/{esm2020 → package/esm2020}/app/providers/filter-meta.mjs +9 -9
  248. package/{esm2020 → package/esm2020}/app/services/external-params/persistance-params-controller.service.mjs +57 -57
  249. package/{esm2020 → package/esm2020}/app/services/external-params/query-params-controller.service.mjs +61 -61
  250. package/{esm2020 → package/esm2020}/app/services/external-params/saved-filters-controller.service.mjs +162 -162
  251. package/{esm2020 → package/esm2020}/app/services/external-params-controller.service.mjs +178 -178
  252. package/{esm2020 → package/esm2020}/app/services/filter-overlay.service.mjs +121 -121
  253. package/{esm2020 → package/esm2020}/app/services/focus-controller.service.mjs +29 -29
  254. package/{esm2020 → package/esm2020}/app/services/items-store.service.mjs +344 -344
  255. package/{esm2020 → package/esm2020}/firestitch-filter.mjs +4 -4
  256. package/{esm2020 → package/esm2020}/public_api.mjs +35 -35
  257. package/{fesm2015 → package/fesm2015}/firestitch-filter.mjs +4383 -4385
  258. package/package/fesm2015/firestitch-filter.mjs.map +1 -0
  259. package/{fesm2020 → package/fesm2020}/firestitch-filter.mjs +4372 -4374
  260. package/package/fesm2020/firestitch-filter.mjs.map +1 -0
  261. package/{firestitch-filter.d.ts → package/index.d.ts} +5 -5
  262. package/package/package.json +56 -0
  263. package/{public_api.d.ts → package/public_api.d.ts} +40 -40
  264. package/package/styles.scss +0 -0
  265. package/package.json +79 -22
  266. package/tsconfig.compodoc.json +12 -0
  267. package/tsconfig.json +10 -0
  268. package/tslint.json +8 -0
  269. package/esm2020/app/components/filters-item/text/text.component.mjs +0 -49
  270. package/fesm2015/firestitch-filter.mjs.map +0 -1
  271. package/fesm2020/firestitch-filter.mjs.map +0 -1
  272. /package/{styles.scss → README.MD} +0 -0
@@ -0,0 +1 @@
1
+ {"css":":host{margin-bottom:20px;display:block}:host.has-keyword .filter-status-container.has-status{margin-top:4px}:host:not(.has-keyword) .filter-status-container:not(.has-status)+fs-filter-chips{margin-top:0}:host:not(.has-keyword) .filter-inner-container{display:flex}:host:not(.has-keyword) .filter-toobar{justify-content:flex-end}.filter-status-container{flex-grow:1;display:flex;justify-content:center;flex-direction:column;align-self:flex-end}.filter-status-container .filter-status{overflow:hidden;text-overflow:ellipsis;line-height:17px}.filter-container{width:100%}.filter-inner-container{flex-direction:row;box-sizing:border-box;display:flex;position:relative;align-items:center}.filter-inner-container .filter-keyword{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;min-width:0}.filter-inner-container .filter-keyword mat-form-field{max-width:100%;min-width:100px;margin-right:6px}.filter-inner-container .filter-keyword mat-form-field .mat-form-field-wrapper{margin-bottom:0}.filter-inner-container .filter-keyword mat-form-field .mat-form-field-prefix .mat-icon{font-size:22px;color:#626262}.filter-inner-container .filter-keyword mat-form-field .mat-form-field-infix{width:250px}.filter-inner-container .filter-keyword mat-form-field .mat-form-field-prefix,.filter-inner-container .filter-keyword mat-form-field .mat-form-field-suffix{top:.45em}.filter-inner-container .filter-keyword .mat-form-field-suffix{display:flex}.filter-inner-container .filter-keyword .mat-form-field-suffix .mat-icon-button{height:24px;width:24px}.filter-actions{display:flex;align-items:center}.filter-toobar{flex:1;white-space:nowrap;display:flex;align-items:center}.filter-toobar .reload{margin-left:-6px}.results{min-height:90px;position:relative;overflow-x:auto;overflow-y:hidden}fs-filter-chips{margin-top:4px;display:block}@media screen and (min-width: 599px){.filter-actions{margin-left:10px}.filters-button+fs-filter-actions:not(:empty){margin-left:5px}}@media screen and (max-width: 600px){.filter-actions{margin-left:5px}.filter-actions .filters-button{font-size:0;padding:0;min-width:unset;width:36px;height:36px;border-radius:50%;box-shadow:unset!important}}@media screen and (min-width: 1200px){html.fs-filter-open body{margin-right:350px}.fs-filter-backdrop{display:none}}html.fs-filter-open{scrollbar-width:none}:host ::ng-deep .auto-reload.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(12px,0,0)}:host ::ng-deep .auto-reload:not(.mat-checked) .mat-slide-toggle-content{color:#ccc}:host ::ng-deep .auto-reload .mat-slide-toggle-thumb,:host ::ng-deep .auto-reload .mat-slide-toggle-thumb-container{height:15px;width:15px}:host ::ng-deep .auto-reload .mat-slide-toggle-content{font-size:90%}:host ::ng-deep .auto-reload .mat-slide-toggle-bar{width:26px;height:10px;border-radius:10px}\n","warnings":[]}
@@ -0,0 +1 @@
1
+ {"css":":host ::ng-deep mat-form-field .mat-form-field-prefix .text-prefix,:host ::ng-deep mat-form-field .mat-form-field-prefix .text-suffix,:host ::ng-deep mat-form-field .mat-form-field-suffix .text-prefix,:host ::ng-deep mat-form-field .mat-form-field-suffix .text-suffix{top:-.25em;position:relative}:host ::ng-deep mat-form-field:not(.mat-form-field-should-float) .mat-form-field-prefix .text-prefix,:host ::ng-deep mat-form-field:not(.mat-form-field-should-float) .mat-form-field-suffix .text-suffix{display:none}\n","warnings":[]}
@@ -0,0 +1 @@
1
+ {"css":"@charset \"UTF-8\";@media (max-width: 599px){h1[class*=\".top\"][fs\\.lt-xs*=fs-heading][fs\\.lt-xs*=\".top-none\"],h2[class*=\".top\"][fs\\.lt-xs*=fs-heading][fs\\.lt-xs*=\".top-none\"],h3[class*=\".top\"][fs\\.lt-xs*=fs-heading][fs\\.lt-xs*=\".top-none\"]{margin-top:0}}@media (max-width: 1023px){h1[class*=\".top\"][fs\\.lt-sm*=fs-heading][fs\\.lt-sm*=\".top-none\"],h2[class*=\".top\"][fs\\.lt-sm*=fs-heading][fs\\.lt-sm*=\".top-none\"],h3[class*=\".top\"][fs\\.lt-sm*=fs-heading][fs\\.lt-sm*=\".top-none\"]{margin-top:0}}@media (max-width: 1439px){h1[class*=\".top\"][fs\\.lt-md*=fs-heading][fs\\.lt-md*=\".top-none\"],h2[class*=\".top\"][fs\\.lt-md*=fs-heading][fs\\.lt-md*=\".top-none\"],h3[class*=\".top\"][fs\\.lt-md*=fs-heading][fs\\.lt-md*=\".top-none\"]{margin-top:0}}.fs-delimit>*:not(:last-child):after{content:\",\\a0\"}:host ::ng-deep mat-form-field{width:100%}.filter-by{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:20px 25px}.filter-by mat-icon{margin-right:8px}.filter-by .text{font-weight:400;font-size:19px}.filter-actions{display:block;box-sizing:border-box;padding:13px}.filter-actions button{margin-right:6px}.filter-actions button:last-child{margin-right:0}.filters{position:fixed;display:block;top:0;right:0;z-index:1002;bottom:0}.filters .filters-wrap{background:#fff;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;width:100vw;max-width:350px;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);box-sizing:border-box;height:100%}.filters .filters-wrap .filter-items{overflow-y:auto;height:auto}.filters .filters-wrap .filter-items .overflow-shadow-content{padding:0 25px;box-sizing:border-box}.filters .filter-group{margin:10px 0 0}.filters .filter-group:first-child{margin:0}.filters .filter label{white-space:nowrap;color:#0000008a}.filters .filter .interface.interface-range input,.filters .filter .interface.interface-range .mat-input-wrapper,.filters .filter .interface.interface-range{text-align:center}.filters .filter .interface.interface-datetime fs-datetime.has-time .md-input{width:100%}.filters .filter .interface fs-datetime-range input{text-align:center}.filters .filter .filter-label{width:1%;white-space:nowrap;vertical-align:middle;padding-right:15px}.filters md-autocomplete-container md-input-container{margin:0}.filters .isolate{margin-top:-12px}.filters .isolate .interface{line-height:20px;padding-bottom:1.25em}.filters .isolate md-checkbox{margin:0 0 0 2px}.backdrop{position:fixed;inset:0;z-index:900;outline:none}@media (max-width: 599px){.filters .filters-wrap{max-width:none}}\n","warnings":[]}
@@ -0,0 +1,2 @@
1
+
2
+ c193d0fe3b4ff57c5af81b64118b4035fb35858f {"key":"0ef6388557603499130fa04be1cde075331d69e1","integrity":"sha512-jVOtWHZLwkBBE3iuHEfAwgUl2jeKOxQ3laEbw/2/bJzeb7LebDlH1nPVhyuc4gXWJ0EUs7Tf0nYJpjbff9C2AA==","time":1727779679614,"size":24}
@@ -0,0 +1,2 @@
1
+
2
+ 129434a72185a20e7d95a91a1672ede99dcc09c0 {"key":"10faaa5427a5e518d8c8369389a4b557c3ee3ea3","integrity":"sha512-jPjZ8w4+iYyZ6MMVfUyRV96tGxEV6k21Cs7QwzcTzTlLt3CxgtHVCHyCHSKyq7meKIGRup4wlU6k7Zq2/3DTkQ==","time":1727779679615,"size":98}
@@ -0,0 +1,2 @@
1
+
2
+ 74f8df09380a0a3b80e829d6a598a6bf4f1777d0 {"key":"d669dc9f682cd738487b1dbffffbe7f9a2fa2498","integrity":"sha512-j3Q+0pNn8y+ckJ9YmHBFYesevlzau6UHugjL7q7s0nTQILFAG6hxk4vomQJaJlKZ+L5mxZ1ZtXSplqdLKYfZjg==","time":1727779687420,"size":5611718}
@@ -0,0 +1,2 @@
1
+
2
+ ca41452350c960634577ed8c1247d5623245728e {"key":"3f34e078b0681ce6f84fba417a431202e13861de","integrity":"sha512-TYmZPC6v+eDPygI2dr8/LT1Eb2tsyQ7sg5B1Up0VUQKygIqLROJZ01dwSs1DFDwSr1pZFrTikaeZFktyIULujg==","time":1727779679617,"size":166}
@@ -0,0 +1,2 @@
1
+
2
+ 9e348b43f16fccc94f042abb4a2ca33aec9b90c2 {"key":"ecc6d9d1a796da04299e47c501a960fc42d531fb","integrity":"sha512-adPUitNt0KV2xNb4rzou5nEDdjmwqNkWeZkty9navChL8xbDEmIBg36TGhYvI83EpQVgi7ZN+Oh/WaFzZIkIcw==","time":1727779679616,"size":149}
@@ -0,0 +1,2 @@
1
+
2
+ c88e67d21036f5cdce6ec2460d9c0f8281872635 {"key":"ae155bf7d81b9dc44a75eca83ddb732c24c15678","integrity":"sha512-YYR/Vjie85+vXFtq0pL2aOxsxctuR22UsXQL2tuYMuPeIqADK5CBHwLIDT1Wvl9eMti7kA4X68sJ2zeb793CIQ==","time":1727779679615,"size":67}
@@ -0,0 +1,2 @@
1
+
2
+ 48f589b715b73bf313ce03e4d66b7e6ba474439b {"key":"07a4de11c4e5dd59c5a9dcd6214bcbec2fc5b6e8","integrity":"sha512-eDCO7djXUqCN+JiAawGr3ltMGAn27cupX88RLABoM7NJhsKVtip+R81zKXw9p4ymBy7xi6UCtu/dYEjb27zSVw==","time":1727779679615,"size":50}
@@ -0,0 +1,2 @@
1
+
2
+ 12ad31c1353cdb4d0411a33c1cd3fdfa484e7d00 {"key":"b1e9218fa41ec9d134062beb4a5644d07e383d9a","integrity":"sha512-cJKsgNzUhzK5SfFjq/NsSLCRJZjSu2blwfIFb++HL1n7G1kau/O/2/RhpGy9UH7qBaa9DxS6PVc/FoTLx4vQlA==","time":1727779689463,"size":1406782}
@@ -0,0 +1,3 @@
1
+
2
+ 48c50e1fe55c23954e64ba5178703f939e42b81a {"key":"8bc3db7bf1f386fd5e635905bf1fb8947315ae77","integrity":"sha512-jVOtWHZLwkBBE3iuHEfAwgUl2jeKOxQ3laEbw/2/bJzeb7LebDlH1nPVhyuc4gXWJ0EUs7Tf0nYJpjbff9C2AA==","time":1727779679618,"size":24}
3
+ 7ecc8de1b59b0b62d231e30ff950717cb014e3aa {"key":"8bc3db7bf1f386fd5e635905bf1fb8947315ae77","integrity":"sha512-jVOtWHZLwkBBE3iuHEfAwgUl2jeKOxQ3laEbw/2/bJzeb7LebDlH1nPVhyuc4gXWJ0EUs7Tf0nYJpjbff9C2AA==","time":1727779679616,"size":24}
@@ -0,0 +1,2 @@
1
+
2
+ 2d24ee2faceb309ecedc8e1e303c1a4ef37989e8 {"key":"c6da8711570431ab89c9488bdc46594672566a3b","integrity":"sha512-rmw1Krd+YD+lPyWrlc1v0ZojAJWyEkZGiat2yJ242XvQ8iHCf72E0HZ/tc5+M/X+sXWpJWqzXPIW0w3TJjtrFA==","time":1727779679615,"size":538}
@@ -0,0 +1,2 @@
1
+
2
+ 3f8bc7c0c3460e33bb4515c930ba41a18b874884 {"key":"f5282005d1c83dc873181b0723a14c14cd7e6bf5","integrity":"sha512-tjjrihtr1iZZaDNZNcvCdj+8u5zU4y3VilI0v9hzee6EAEQzjurl8SbamTbSHtQjBxz7ymdI7hUyNa3fh0gk9w==","time":1727779679617,"size":2639}
@@ -0,0 +1,2 @@
1
+
2
+ 32e8796eec5e483caa86951498f23c194b45b9fc {"key":"0fe7175c9ae5d39ccf2fa7ebd75ec657de81b9b6","integrity":"sha512-RPnug0WH1KxKQp2MSvLhViAox0MqwXn5aZ8pkKs9rcjk9mrkW/ImJa7fR/rRN+LeOam5kUF4TlbVEjVE+QySKg==","time":1727779679615,"size":79}
@@ -0,0 +1,2 @@
1
+
2
+ aa3b293ee8fac1e59bcc216959138f7ee8c79335 {"key":"e11dad4543cc83a51081fb6f600a82dd61c09480","integrity":"sha512-oawdvPIVWFR3w/cBgMtAGGtRGdmtHSey4NzeZgNMlQ4zTOBXdAlTXCm7FdLmySOOuehBF3/GLTlJpYu7s5cjjQ==","time":1727779679615,"size":51}
@@ -0,0 +1,2 @@
1
+
2
+ 1a166fca30b7ce765b22429ed64aaca45537b1d1 {"key":"455b8c7318619e6088f15c9768d76850c474a143","integrity":"sha512-VPZz8NjqZKGKpx2Aos+Z1utKLNNF6UMSfgGJE9D3bpV1+r467lAC7k2pluZhZi1HStMemnfyhYxo7tUywtRdRw==","time":1727779679616,"size":71}
@@ -0,0 +1,2 @@
1
+
2
+ da1ebbe6b50a91663f9ec4c18711bd23081fadc0 {"key":"28bd791d072f70ac96f8cc1f0b6b7a878f20c5f3","integrity":"sha512-Ustx+AtIFjxDL8sFrA9zaufK4QMYcTyYx0c5s+tdg+vOY1safHfTV7GksTqa6c/kM0hTjkM2wlwjRVHx6A8FZw==","time":1727779679617,"size":395}
@@ -0,0 +1,2 @@
1
+
2
+ bf233f6f422bf15f9a9990894c05aa22f1789574 {"key":"930c52f4661c15d41011658306691b2edd2928f1","integrity":"sha512-FiUhRjX6EkqDpP46Ur3nDnEk2dARpdF2eQqcYHvx9e0nyt78ShtaIlwL2hElChgMpXmHc+DBCOjV4thVnS+e7Q==","time":1727779679617,"size":901}
@@ -0,0 +1,2 @@
1
+
2
+ 3cf63cf7b5759e2d6d99f0373ad65c2f5997adc4 {"key":"fbec3905e0ff55c14ab83c8039117a07473c41d9","integrity":"sha512-dPZMLbc0mdCCeYleGrbi+2W6phPTEhi2lo90FDugOBnHKicguSfKWnCN1ITAvGdjEk5izpwuZS9xt0DLLSmuAw==","time":1727779689443,"size":6278337}
@@ -0,0 +1,2 @@
1
+
2
+ 32f7a2606974ae55b47ac9e56cc7a2b3b30a70ef {"key":"b05b02f3c86f054dae709b61f9c84cc90fccd528","integrity":"sha512-owgGinop6cwjhbYtSw/BSwSn8J7Uadm3m7dU431JM7CriqFxsoYIDiChHmf0K4VYpL2mSqA8oJcAHs2lwlqQFQ==","time":1727779679618,"size":2856}
@@ -0,0 +1,3 @@
1
+
2
+ f969e826dfe15c752b71c1ff0d2758ff61a6cdf6 {"key":"a4755b68bcb936ffb6b1098a381f85e7b9e69650","integrity":"sha512-cxASZkaWIG3Nq2sIQzFTKyNMQ5rO+KZCivZnouG7HBXiBVs6xw9E/Yv1CDltPhGnmLQISf1m29vQ/52dfngO3Q==","time":1727779679616,"size":54}
3
+ af72faf485dee78bb5babb183ab36ce549b43232 {"key":"a4755b68bcb936ffb6b1098a381f85e7b9e69650","integrity":"sha512-cxASZkaWIG3Nq2sIQzFTKyNMQ5rO+KZCivZnouG7HBXiBVs6xw9E/Yv1CDltPhGnmLQISf1m29vQ/52dfngO3Q==","time":1727779679618,"size":54}
@@ -0,0 +1,4 @@
1
+ {
2
+ "repoId": "0a3951db-0970-4ed9-95e8-81131dcb58a9",
3
+ "lastSync": 0
4
+ }
package/.editorconfig ADDED
@@ -0,0 +1,15 @@
1
+ # http://editorconfig.org
2
+
3
+ root = true
4
+
5
+ [*]
6
+ charset = utf-8
7
+ indent_style = space
8
+ indent_size = 2
9
+ end_of_line = lf
10
+ insert_final_newline = true
11
+ trim_trailing_whitespace = true
12
+
13
+ [*.md]
14
+ insert_final_newline = false
15
+ trim_trailing_whitespace = false
package/.eslintrc.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "root": true,
3
+ "ignorePatterns": [
4
+ "projects/**/*"
5
+ ],
6
+ "extends": [
7
+ "./node_modules/@firestitch/lint/.eslintrc-component.json"
8
+ ]
9
+ }
package/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule ".vscode"]
2
+ path = .vscode
3
+ url = https://github.com/Firestitch/component-vscode.git
package/angular.json ADDED
@@ -0,0 +1,163 @@
1
+ {
2
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
+ "version": 1,
4
+ "newProjectRoot": "projects",
5
+ "projects": {
6
+ "fs-package-app": {
7
+ "root": "",
8
+ "sourceRoot": "playground",
9
+ "projectType": "application",
10
+ "prefix": "app",
11
+ "schematics": {},
12
+ "architect": {
13
+ "build": {
14
+ "builder": "@angular-devkit/build-angular:browser",
15
+ "options": {
16
+ "aot": true,
17
+ "outputPath": "demo",
18
+ "index": "playground/index.html",
19
+ "main": "playground/main.ts",
20
+ "polyfills": "playground/polyfills.ts",
21
+ "tsConfig": "playground/tsconfig.app.json",
22
+ "assets": [
23
+ "playground/favicon.ico",
24
+ "playground/assets"
25
+ ],
26
+ "styles": [
27
+ "playground/styles.scss"
28
+ ],
29
+ "scripts": [],
30
+ "allowedCommonJsDependencies": [
31
+ "highlight.js"
32
+ ],
33
+ "stylePreprocessorOptions": {
34
+ "includePaths": [
35
+ "node_modules/"
36
+ ]
37
+ }
38
+ },
39
+ "configurations": {
40
+ "production": {
41
+ "budgets": [
42
+ {
43
+ "type": "anyComponentStyle",
44
+ "maximumWarning": "6kb"
45
+ }
46
+ ],
47
+ "fileReplacements": [
48
+ {
49
+ "replace": "playground/environments/environment.ts",
50
+ "with": "playground/environments/environment.prod.ts"
51
+ }
52
+ ],
53
+ "optimization": false,
54
+ "outputHashing": "all",
55
+ "sourceMap": false,
56
+ "namedChunks": false,
57
+ "aot": true,
58
+ "extractLicenses": true,
59
+ "vendorChunk": false,
60
+ "buildOptimizer": true
61
+ },
62
+ "development": {
63
+ "buildOptimizer": false,
64
+ "optimization": false,
65
+ "vendorChunk": true,
66
+ "extractLicenses": false,
67
+ "sourceMap": true,
68
+ "namedChunks": true
69
+ }
70
+ }
71
+ },
72
+ "serve": {
73
+ "builder": "@angular-devkit/build-angular:dev-server",
74
+ "options": {
75
+ "browserTarget": "fs-package-app:build",
76
+ "port": 8000
77
+ },
78
+ "configurations": {
79
+ "production": {
80
+ "browserTarget": "fs-package-app:build:production"
81
+ },
82
+ "development": {
83
+ "browserTarget": "fs-package-app:build:development"
84
+ }
85
+ },
86
+ "defaultConfiguration": "development"
87
+ },
88
+ "extract-i18n": {
89
+ "builder": "@angular-devkit/build-angular:extract-i18n",
90
+ "options": {
91
+ "browserTarget": "fs-package-app:build"
92
+ }
93
+ },
94
+ "test": {
95
+ "builder": "@angular-devkit/build-angular:karma",
96
+ "options": {
97
+ "main": "playground/test.ts",
98
+ "polyfills": "playground/polyfills.ts",
99
+ "tsConfig": "playground/tsconfig.spec.json",
100
+ "karmaConfig": "playground/karma.conf.js",
101
+ "styles": [
102
+ "playground/styles.scss"
103
+ ],
104
+ "scripts": [],
105
+ "assets": [
106
+ "playground/favicon.ico",
107
+ "playground/assets"
108
+ ]
109
+ }
110
+ }
111
+ }
112
+ },
113
+ "fs-package-app-e2e": {
114
+ "root": "e2e/",
115
+ "projectType": "application",
116
+ "architect": {
117
+ "e2e": {
118
+ "builder": "@angular-devkit/build-angular:protractor",
119
+ "options": {
120
+ "protractorConfig": "e2e/protractor.conf.js",
121
+ "devServerTarget": "fs-package-app:serve"
122
+ },
123
+ "configurations": {
124
+ "production": {
125
+ "devServerTarget": "fs-package-app:serve:production"
126
+ }
127
+ }
128
+ }
129
+ }
130
+ },
131
+ "fs-package": {
132
+ "root": "src",
133
+ "sourceRoot": "",
134
+ "projectType": "library",
135
+ "prefix": "fs",
136
+ "architect": {
137
+ "build": {
138
+ "builder": "@angular-devkit/build-angular:ng-packagr",
139
+ "options": {
140
+ "tsConfig": "src/tsconfig.lib.json",
141
+ "project": "src/ng-package.json"
142
+ }
143
+ , "configurations": {
144
+ "production": {
145
+ "tsConfig": "src/tsconfig.lib.prod.json"
146
+ }
147
+ }
148
+ },
149
+ "test": {
150
+ "builder": "@angular-devkit/build-angular:karma",
151
+ "options": {
152
+ "main": "src/test.ts",
153
+ "tsConfig": "src/tsconfig.spec.json",
154
+ "karmaConfig": "src/karma.conf.js"
155
+ }
156
+ }
157
+ }
158
+ }
159
+ },
160
+ "cli": {
161
+ "analytics": false
162
+ }
163
+ }
@@ -0,0 +1,11 @@
1
+ module.exports = {
2
+ presets: [
3
+ [
4
+ '@babel/preset-env',
5
+ {
6
+ targets: { node: 'current' }
7
+ }
8
+ ],
9
+ '@babel/preset-typescript',
10
+ ],
11
+ };
package/jest.config.js ADDED
@@ -0,0 +1,24 @@
1
+ const { pathsToModuleNameMapper } = require('ts-jest/utils');
2
+ const { compilerOptions } = require('./src/tsconfig.spec');
3
+
4
+ module.exports = {
5
+ preset: 'jest-preset-angular',
6
+ roots: ['<rootDir>/src/app/'],
7
+ testMatch: ['**/+(*.)+(spec).+(ts)'],
8
+ setupFilesAfterEnv: ['<rootDir>/src/test.ts'],
9
+ collectCoverage: true,
10
+ coverageReporters: ['html'],
11
+ coverageDirectory: 'coverage/app',
12
+ moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths || {}, {
13
+ prefix: '<rootDir>/'
14
+ }),
15
+ globals: {
16
+ 'ts-jest': {
17
+ tsconfig: '<rootDir>/src/tsconfig.spec.json',
18
+ }
19
+ },
20
+ transformIgnorePatterns: [
21
+ "<rootDir>/node_modules/(?!lodash-es)"
22
+ ],
23
+ transform: { "^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest"}
24
+ };
@@ -1,41 +1,41 @@
1
- import { BreakpointObserver } from '@angular/cdk/layout';
2
- import { OnDestroy } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
- import { FsFilterAction } from '../interfaces/action.interface';
5
- import { Action } from '../models/action.model';
6
- import { FsFilterConfig } from '../models/filter-config';
7
- import * as i0 from "@angular/core";
8
- export declare class ActionsController implements OnDestroy {
9
- private _breakpointObserver;
10
- private _visible$;
11
- private _actions$;
12
- private _menuActions$;
13
- private _destroy$;
14
- private _config;
15
- private readonly _mobileMedia;
16
- private _allActions;
17
- private _reorderAction;
18
- constructor(_breakpointObserver: BreakpointObserver);
19
- get menuActions(): Action[];
20
- get actions(): Action[];
21
- get actions$(): Observable<Action[]>;
22
- get menuActions$(): Observable<Action[]>;
23
- get visible$(): Observable<boolean>;
24
- get mobileMode(): boolean;
25
- ngOnDestroy(): void;
26
- setConfig(config: FsFilterConfig): void;
27
- initActions(rawActions: FsFilterAction[]): void;
28
- show(): void;
29
- hide(): void;
30
- addReorderAction(action: Action): void;
31
- clearActions(): void;
32
- updateActionsVisibility(): void;
33
- updateDisabledState(): void;
34
- private _setKebabActions;
35
- private _setActions;
36
- private _classifyActions;
37
- private _classifyAction;
38
- private _listenMobileMedia;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionsController, never>;
40
- static ɵprov: i0.ɵɵInjectableDeclaration<ActionsController>;
41
- }
1
+ import { BreakpointObserver } from '@angular/cdk/layout';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+ import { FsFilterAction } from '../interfaces/action.interface';
5
+ import { Action } from '../models/action.model';
6
+ import { FsFilterConfig } from '../models/filter-config';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ActionsController implements OnDestroy {
9
+ private _breakpointObserver;
10
+ private _visible$;
11
+ private _actions$;
12
+ private _menuActions$;
13
+ private _destroy$;
14
+ private _config;
15
+ private readonly _mobileMedia;
16
+ private _allActions;
17
+ private _reorderAction;
18
+ constructor(_breakpointObserver: BreakpointObserver);
19
+ get menuActions(): Action[];
20
+ get actions(): Action[];
21
+ get actions$(): Observable<Action[]>;
22
+ get menuActions$(): Observable<Action[]>;
23
+ get visible$(): Observable<boolean>;
24
+ get mobileMode(): boolean;
25
+ ngOnDestroy(): void;
26
+ setConfig(config: FsFilterConfig): void;
27
+ initActions(rawActions: FsFilterAction[]): void;
28
+ show(): void;
29
+ hide(): void;
30
+ addReorderAction(action: Action): void;
31
+ clearActions(): void;
32
+ updateActionsVisibility(): void;
33
+ updateDisabledState(): void;
34
+ private _setKebabActions;
35
+ private _setActions;
36
+ private _classifyActions;
37
+ private _classifyAction;
38
+ private _listenMobileMedia;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionsController, never>;
40
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActionsController>;
41
+ }
@@ -1,9 +1,9 @@
1
- import { ActionType } from '../../enums/action-type.enum';
2
- import { Action } from '../../models/action.model';
3
- import * as i0 from "@angular/core";
4
- export declare class FsFilterActionButtonComponent {
5
- ActionType: typeof ActionType;
6
- action: Action;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFilterActionButtonComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<FsFilterActionButtonComponent, "fs-filter-action-button", never, { "action": "action"; }, {}, never, never>;
9
- }
1
+ import { ActionType } from '../../enums/action-type.enum';
2
+ import { Action } from '../../models/action.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FsFilterActionButtonComponent {
5
+ ActionType: typeof ActionType;
6
+ action: Action;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFilterActionButtonComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsFilterActionButtonComponent, "fs-filter-action-button", never, { "action": "action"; }, {}, never, never, false>;
9
+ }
@@ -1,7 +1,7 @@
1
- import { Action } from '../../models/action.model';
2
- import * as i0 from "@angular/core";
3
- export declare class FsFilterActionKebabActionsComponent {
4
- kebabActions: Action[];
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFilterActionKebabActionsComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<FsFilterActionKebabActionsComponent, "fs-filter-action-kebab-actions", never, { "kebabActions": "kebabActions"; }, {}, never, never>;
7
- }
1
+ import { Action } from '../../models/action.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsFilterActionKebabActionsComponent {
4
+ kebabActions: Action[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFilterActionKebabActionsComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsFilterActionKebabActionsComponent, "fs-filter-action-kebab-actions", never, { "kebabActions": "kebabActions"; }, {}, never, never, false>;
7
+ }
@@ -1,13 +1,13 @@
1
- import { MatSelect } from '@angular/material/select';
2
- import { ActionMode, ActionType } from '../../enums';
3
- import { Action } from '../../models/action.model';
4
- import * as i0 from "@angular/core";
5
- export declare class FsFilterActionsComponent {
6
- kebabActions: Action[];
7
- actions: Action[];
8
- ActionType: typeof ActionType;
9
- ActionMode: typeof ActionMode;
10
- actionChange(action: Action, value: any, selectButton: MatSelect): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFilterActionsComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FsFilterActionsComponent, "fs-filter-actions", never, { "kebabActions": "kebabActions"; "actions": "actions"; }, {}, never, never>;
13
- }
1
+ import { MatSelect } from '@angular/material/select';
2
+ import { ActionMode, ActionType } from '../../enums';
3
+ import { Action } from '../../models/action.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FsFilterActionsComponent {
6
+ kebabActions: Action[];
7
+ actions: Action[];
8
+ ActionType: typeof ActionType;
9
+ ActionMode: typeof ActionMode;
10
+ actionChange(action: Action, value: any, selectButton: MatSelect): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFilterActionsComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsFilterActionsComponent, "fs-filter-actions", never, { "kebabActions": "kebabActions"; "actions": "actions"; }, {}, never, never, false>;
13
+ }