@iamproperty/components 7.1.0--beta7 → 7.2.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 (347) hide show
  1. package/assets/css/components/actionbar.component.css +1 -0
  2. package/assets/css/components/actionbar.component.css.map +1 -0
  3. package/assets/css/components/actionbar.global.css +1 -1
  4. package/assets/css/components/actionbar.global.css.map +1 -1
  5. package/assets/css/components/address-lookup.css +1 -1
  6. package/assets/css/components/address-lookup.css.map +1 -1
  7. package/assets/css/components/barchart.component.css +1 -1
  8. package/assets/css/components/barchart.component.css.map +1 -1
  9. package/assets/css/components/bento-grid.component.css +1 -0
  10. package/assets/css/components/bento-grid.component.css.map +1 -0
  11. package/assets/css/components/card.component.css +1 -1
  12. package/assets/css/components/card.component.css.map +1 -1
  13. package/assets/css/components/carousel.component.css +1 -1
  14. package/assets/css/components/carousel.component.css.map +1 -1
  15. package/assets/css/components/carousel.config.css +1 -1
  16. package/assets/css/components/carousel.config.css.map +1 -1
  17. package/assets/css/components/charts.config.css +1 -1
  18. package/assets/css/components/charts.config.css.map +1 -1
  19. package/assets/css/components/charts.css +1 -1
  20. package/assets/css/components/charts.css.map +1 -1
  21. package/assets/css/components/charts.module.css +1 -1
  22. package/assets/css/components/charts.module.css.map +1 -1
  23. package/assets/css/components/collapsible-side.css +1 -1
  24. package/assets/css/components/collapsible-side.css.map +1 -1
  25. package/assets/css/components/doughnutchart.component.css +1 -0
  26. package/assets/css/components/doughnutchart.component.css.map +1 -0
  27. package/assets/css/components/fileupload.css.map +1 -1
  28. package/assets/css/components/header.css.map +1 -1
  29. package/assets/css/components/inline-edit.preload.css +1 -1
  30. package/assets/css/components/inline-edit.preload.css.map +1 -1
  31. package/assets/css/components/marketing.css.map +1 -1
  32. package/assets/css/components/menu.component.css +1 -0
  33. package/assets/css/components/menu.component.css.map +1 -0
  34. package/assets/css/components/menu.css +1 -0
  35. package/assets/css/components/menu.css.map +1 -0
  36. package/assets/css/components/multi-step.component.css.map +1 -1
  37. package/assets/css/components/multiselect.preload.css +1 -1
  38. package/assets/css/components/multiselect.preload.css.map +1 -1
  39. package/assets/css/components/nav.component.css +1 -0
  40. package/assets/css/components/nav.component.css.map +1 -0
  41. package/assets/css/components/nav.docs.css.map +1 -1
  42. package/assets/css/components/nav.global.css.map +1 -1
  43. package/assets/css/components/nav.old.css +1 -1
  44. package/assets/css/components/nav.old.css.map +1 -1
  45. package/assets/css/components/nav.preload.css +1 -1
  46. package/assets/css/components/nav.preload.css.map +1 -1
  47. package/assets/css/components/notification.css +1 -1
  48. package/assets/css/components/notification.css.map +1 -1
  49. package/assets/css/components/pagination.css +1 -1
  50. package/assets/css/components/pagination.css.map +1 -1
  51. package/assets/css/components/property-searchbar.css.map +1 -1
  52. package/assets/css/components/slider.css +1 -1
  53. package/assets/css/components/slider.css.map +1 -1
  54. package/assets/css/components/snapshot.css.map +1 -1
  55. package/assets/css/components/stepper.css.map +1 -1
  56. package/assets/css/components/{table.css → table.component.css} +1 -1
  57. package/assets/css/components/table.component.css.map +1 -0
  58. package/assets/css/components/table.global.css +1 -1
  59. package/assets/css/components/table.global.css.map +1 -1
  60. package/assets/css/components/tabs.component.css +1 -0
  61. package/assets/css/components/tabs.component.css.map +1 -0
  62. package/assets/css/components/tabs.css.map +1 -1
  63. package/assets/css/components/testimonial.css.map +1 -1
  64. package/assets/css/components/timeline.css.map +1 -1
  65. package/assets/css/core.min.css +1 -1
  66. package/assets/css/core.min.css.map +1 -1
  67. package/assets/css/mobile-core.min.css +1 -0
  68. package/assets/css/mobile-core.min.css.map +1 -0
  69. package/assets/css/mobile.min.css +1 -0
  70. package/assets/css/mobile.min.css.map +1 -0
  71. package/assets/css/style.min.css +1 -1
  72. package/assets/css/style.min.css.map +1 -1
  73. package/assets/js/components/_global.js +0 -1
  74. package/assets/js/components/accordion/accordion.component.min.js +1 -1
  75. package/assets/js/components/accordion/accordion.component.min.js.map +1 -1
  76. package/assets/js/components/actionbar/actionbar.component.js +86 -8
  77. package/assets/js/components/actionbar/actionbar.component.min.js +19 -6
  78. package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -1
  79. package/assets/js/components/address-lookup/address-lookup.component.js +17 -18
  80. package/assets/js/components/address-lookup/address-lookup.component.min.js +5 -5
  81. package/assets/js/components/address-lookup/address-lookup.component.min.js.map +1 -1
  82. package/assets/js/components/applied-filters/applied-filters.component.js +0 -1
  83. package/assets/js/components/applied-filters/applied-filters.component.min.js +4 -4
  84. package/assets/js/components/applied-filters/applied-filters.component.min.js.map +1 -1
  85. package/assets/js/components/barchart/barchart.component.js +2 -3
  86. package/assets/js/components/barchart/barchart.component.min.js +8 -4
  87. package/assets/js/components/barchart/barchart.component.min.js.map +1 -1
  88. package/assets/js/components/bento-grid/bento-grid.component.js +50 -0
  89. package/assets/js/components/bento-grid/bento-grid.component.min.js +15 -0
  90. package/assets/js/components/bento-grid/bento-grid.component.min.js.map +1 -0
  91. package/assets/js/components/card/card.component.js +10 -13
  92. package/assets/js/components/card/card.component.min.js +7 -7
  93. package/assets/js/components/card/card.component.min.js.map +1 -1
  94. package/assets/js/components/carousel/carousel.component.js +4 -5
  95. package/assets/js/components/carousel/carousel.component.min.js +4 -4
  96. package/assets/js/components/carousel/carousel.component.min.js.map +1 -1
  97. package/assets/js/components/chart/chart.component.js +1 -5
  98. package/assets/js/components/collapsible-side/collapsible-side.component.js +4 -5
  99. package/assets/js/components/collapsible-side/collapsible-side.component.min.js +4 -4
  100. package/assets/js/components/collapsible-side/collapsible-side.component.min.js.map +1 -1
  101. package/assets/js/components/doughnutchart/doughnutchart.component.js +70 -0
  102. package/assets/js/components/doughnutchart/doughnutchart.component.min.js +25 -0
  103. package/assets/js/components/doughnutchart/doughnutchart.component.min.js.map +1 -0
  104. package/assets/js/components/fileupload/fileupload.component.js +2 -3
  105. package/assets/js/components/fileupload/fileupload.component.min.js +6 -6
  106. package/assets/js/components/fileupload/fileupload.component.min.js.map +1 -1
  107. package/assets/js/components/filter-card/filter-card.component.js +3 -4
  108. package/assets/js/components/filter-card/filter-card.component.min.js +4 -4
  109. package/assets/js/components/filter-card/filter-card.component.min.js.map +1 -1
  110. package/assets/js/components/filterlist/filterlist.component.js +0 -1
  111. package/assets/js/components/filterlist/filterlist.component.min.js +3 -3
  112. package/assets/js/components/filterlist/filterlist.component.min.js.map +1 -1
  113. package/assets/js/components/header/header.component.js +0 -1
  114. package/assets/js/components/header/header.component.min.js +1 -1
  115. package/assets/js/components/header/header.component.min.js.map +1 -1
  116. package/assets/js/components/inline-edit/inline-edit.component.js +7 -8
  117. package/assets/js/components/inline-edit/inline-edit.component.min.js +4 -4
  118. package/assets/js/components/inline-edit/inline-edit.component.min.js.map +1 -1
  119. package/assets/js/components/marketing/marketing.component.js +0 -1
  120. package/assets/js/components/marketing/marketing.component.min.js +1 -1
  121. package/assets/js/components/marketing/marketing.component.min.js.map +1 -1
  122. package/assets/js/components/menu/menu.component.js +200 -0
  123. package/assets/js/components/menu/menu.component.min.js +77 -0
  124. package/assets/js/components/menu/menu.component.min.js.map +1 -0
  125. package/assets/js/components/multi-step/multi-step.component.js +10 -10
  126. package/assets/js/components/multi-step/multi-step.component.min.js +13 -0
  127. package/assets/js/components/multi-step/multi-step.component.min.js.map +1 -0
  128. package/assets/js/components/multiselect/multiselect.component.js +10 -10
  129. package/assets/js/components/multiselect/multiselect.component.min.js +3 -3
  130. package/assets/js/components/multiselect/multiselect.component.min.js.map +1 -1
  131. package/assets/js/components/nav/nav.component.js +7 -7
  132. package/assets/js/components/nav/nav.component.min.js +7 -7
  133. package/assets/js/components/nav/nav.component.min.js.map +1 -1
  134. package/assets/js/components/notification/notification.component.js +3 -3
  135. package/assets/js/components/notification/notification.component.min.js +4 -4
  136. package/assets/js/components/notification/notification.component.min.js.map +1 -1
  137. package/assets/js/components/pagination/pagination.component.js +3 -4
  138. package/assets/js/components/pagination/pagination.component.min.js +4 -4
  139. package/assets/js/components/pagination/pagination.component.min.js.map +1 -1
  140. package/assets/js/components/record-card/record-card.component.js +6 -8
  141. package/assets/js/components/record-card/record-card.component.min.js +4 -4
  142. package/assets/js/components/record-card/record-card.component.min.js.map +1 -1
  143. package/assets/js/components/search/search.component.js +9 -6
  144. package/assets/js/components/search/search.component.min.js +8 -5
  145. package/assets/js/components/search/search.component.min.js.map +1 -1
  146. package/assets/js/components/slider/slider.component.js +8 -8
  147. package/assets/js/components/slider/slider.component.min.js +5 -5
  148. package/assets/js/components/slider/slider.component.min.js.map +1 -1
  149. package/assets/js/components/table/table.component.js +8 -9
  150. package/assets/js/components/table/table.component.min.js +7 -7
  151. package/assets/js/components/table/table.component.min.js.map +1 -1
  152. package/assets/js/components/tabs/tabs.component.js +1 -2
  153. package/assets/js/components/tabs/tabs.component.min.js +3 -3
  154. package/assets/js/components/tabs/tabs.component.min.js.map +1 -1
  155. package/assets/js/components/video-card/video-card.component.js +4 -3
  156. package/assets/js/components/video-card/video-card.component.min.js +3 -3
  157. package/assets/js/components/video-card/video-card.component.min.js.map +1 -1
  158. package/assets/js/modules/applied-filters.js +8 -9
  159. package/assets/js/modules/carousel.js +9 -10
  160. package/assets/js/modules/chart.js +5 -3
  161. package/assets/js/modules/chart.module.js +108 -1
  162. package/assets/js/modules/dialogs.js +6 -7
  163. package/assets/js/modules/drawer.js +1 -2
  164. package/assets/js/modules/dynamicEvents.js +7 -8
  165. package/assets/js/modules/fileupload.js +7 -7
  166. package/assets/js/modules/filterlist.js +3 -4
  167. package/assets/js/modules/form.js +12 -13
  168. package/assets/js/modules/helpers.js +3 -5
  169. package/assets/js/modules/inputs.js +6 -9
  170. package/assets/js/modules/nav.js +3 -4
  171. package/assets/js/modules/notification.js +2 -3
  172. package/assets/js/modules/orderablelist.js +0 -1
  173. package/assets/js/modules/table.js +80 -42
  174. package/assets/js/modules/tabs.js +3 -6
  175. package/assets/js/scripts.bundle.js +3 -3
  176. package/assets/js/scripts.bundle.js.map +1 -1
  177. package/assets/js/scripts.bundle.min.js +2 -2
  178. package/assets/js/scripts.bundle.min.js.map +1 -1
  179. package/assets/js/scripts.js +64 -6
  180. package/assets/js/tests/card.spec.js +14 -0
  181. package/assets/js/tests/carousel.spec.js +60 -0
  182. package/assets/js/tests/chart.spec.js +7 -5
  183. package/assets/js/tests/fileupload.spec.js +22 -0
  184. package/assets/js/tests/multistep.spec.js +68 -0
  185. package/assets/sass/_bs_grid.scss +4 -1
  186. package/assets/sass/_components.scss +323 -100
  187. package/assets/sass/_corefiles.scss +42 -18
  188. package/assets/sass/_elements.scss +98 -18
  189. package/assets/sass/_example.scss +61 -0
  190. package/assets/sass/_func.scss +5 -13
  191. package/assets/sass/_functions/bs_utilities.scss +43 -39
  192. package/assets/sass/_functions/functions.scss +66 -52
  193. package/assets/sass/_functions/mixins.scss +84 -100
  194. package/assets/sass/_functions/utility-mixins.scss +56 -44
  195. package/assets/sass/_functions/variables.scss +90 -1659
  196. package/assets/sass/_functions/variables_old.scss +1701 -0
  197. package/assets/sass/_grid.scss +19 -5
  198. package/assets/sass/_tests/func.spec.scss +1 -37
  199. package/assets/sass/_tests/mixins.spec.scss +1 -77
  200. package/assets/sass/_tests/typography.spec.scss +1 -1
  201. package/assets/sass/_utilities.scss +15 -5
  202. package/assets/sass/_utility-mixins.scss +6 -1
  203. package/assets/sass/components/{actionbar.scss → actionbar.component.scss} +82 -16
  204. package/assets/sass/components/actionbar.global.scss +28 -14
  205. package/assets/sass/components/address-lookup.scss +6 -0
  206. package/assets/sass/components/barchart.component.scss +7 -20
  207. package/assets/sass/components/bento-grid.component.scss +91 -0
  208. package/assets/sass/components/carousel.config.scss +64 -58
  209. package/assets/sass/components/charts.config.scss +73 -67
  210. package/assets/sass/components/charts.module.scss +128 -97
  211. package/assets/sass/components/charts.scss +43 -42
  212. package/assets/sass/components/collapsible-side.scss +29 -27
  213. package/assets/sass/components/doughnutchart.component.scss +205 -0
  214. package/assets/sass/components/fileupload.scss +4 -3
  215. package/assets/sass/components/header.scss +5 -5
  216. package/assets/sass/components/inline-edit.preload.scss +108 -102
  217. package/assets/sass/components/menu.component.scss +101 -0
  218. package/assets/sass/components/menu.scss +21 -0
  219. package/assets/sass/components/multi-step.component.scss +5 -3
  220. package/assets/sass/components/multiselect.preload.scss +36 -30
  221. package/assets/sass/components/{nav.scss → nav.component.scss} +41 -21
  222. package/assets/sass/components/nav.docs.scss +1 -1
  223. package/assets/sass/components/nav.global.scss +13 -11
  224. package/assets/sass/components/nav.old.scss +21 -24
  225. package/assets/sass/components/nav.preload.scss +40 -34
  226. package/assets/sass/components/notification.scss +9 -5
  227. package/assets/sass/components/pagination.scss +6 -0
  228. package/assets/sass/components/property-searchbar.scss +7 -7
  229. package/assets/sass/components/slider.scss +2 -0
  230. package/assets/sass/components/snapshot.scss +2 -2
  231. package/assets/sass/components/stepper.scss +7 -7
  232. package/assets/sass/components/table.global.scss +57 -1
  233. package/assets/sass/components/tabs.component.scss +5 -0
  234. package/assets/sass/components/tabs.scss +7 -3
  235. package/assets/sass/components/testimonial.scss +7 -7
  236. package/assets/sass/components/timeline.scss +1 -1
  237. package/assets/sass/core.scss +13 -4
  238. package/assets/sass/elements/admin-panel.scss +199 -185
  239. package/assets/sass/elements/badge-tag.scss +87 -81
  240. package/assets/sass/elements/brand.scss +67 -61
  241. package/assets/sass/elements/buttons--action.scss +55 -0
  242. package/assets/sass/elements/buttons--compact.scss +135 -0
  243. package/assets/sass/elements/buttons--global.scss +322 -0
  244. package/assets/sass/elements/buttons--secondary.scss +24 -0
  245. package/assets/sass/elements/buttons--tertiary.scss +57 -0
  246. package/assets/sass/elements/buttons.scss +29 -503
  247. package/assets/sass/elements/container.scss +157 -151
  248. package/assets/sass/elements/details.scss +147 -138
  249. package/assets/sass/elements/dialog.scss +36 -30
  250. package/assets/sass/elements/forms.scss +1061 -1047
  251. package/assets/sass/elements/icons.scss +23 -17
  252. package/assets/sass/elements/links.scss +131 -116
  253. package/assets/sass/elements/lists.scss +270 -264
  254. package/assets/sass/elements/media.scss +19 -13
  255. package/assets/sass/elements/modal.scss +336 -330
  256. package/assets/sass/elements/popover.scss +163 -152
  257. package/assets/sass/elements/progress.scss +173 -162
  258. package/assets/sass/elements/table.element.scss +115 -109
  259. package/assets/sass/elements/tooltips.scss +87 -80
  260. package/assets/sass/elements/type.scss +172 -160
  261. package/assets/sass/email.scss +0 -1
  262. package/assets/sass/error.scss +15 -13
  263. package/assets/sass/foundations/reboot.scss +176 -170
  264. package/assets/sass/foundations/root.scss +136 -125
  265. package/assets/sass/helpers/max-height.scss +2 -2
  266. package/assets/sass/main.scss +14 -6
  267. package/assets/sass/mobile-core.scss +14 -0
  268. package/assets/sass/mobile.scss +16 -0
  269. package/assets/sass/templates/auth.scss +88 -83
  270. package/assets/sass/templates/form.scss +68 -59
  271. package/assets/ts/components/_global.ts +2 -3
  272. package/assets/ts/components/actionbar/actionbar.component.ts +94 -2
  273. package/assets/ts/components/address-lookup/address-lookup.component.ts +21 -22
  274. package/assets/ts/components/applied-filters/applied-filters.component.ts +1 -2
  275. package/assets/ts/components/barchart/barchart.component.ts +3 -5
  276. package/assets/ts/components/bento-grid/README.md +31 -0
  277. package/assets/ts/components/bento-grid/bento-grid.component.ts +67 -0
  278. package/assets/ts/components/card/card.component.ts +13 -16
  279. package/assets/ts/components/carousel/carousel.component.ts +5 -7
  280. package/assets/ts/components/chart/chart.component.ts +4 -9
  281. package/assets/ts/components/collapsible-side/collapsible-side.component.ts +5 -6
  282. package/assets/ts/components/doughnutchart/doughnutchart.component.ts +85 -0
  283. package/assets/ts/components/fileupload/fileupload.component.ts +5 -6
  284. package/assets/ts/components/filter-card/filter-card.component.ts +4 -5
  285. package/assets/ts/components/filterlist/filterlist.component.ts +1 -2
  286. package/assets/ts/components/header/header.component.ts +1 -3
  287. package/assets/ts/components/inline-edit/inline-edit.component.ts +8 -11
  288. package/assets/ts/components/marketing/marketing.component.ts +1 -3
  289. package/assets/ts/components/menu/menu.component.ts +222 -0
  290. package/assets/ts/components/multi-step/multi-step.component.ts +19 -23
  291. package/assets/ts/components/multiselect/multiselect.component.ts +13 -14
  292. package/assets/ts/components/nav/nav.component.ts +8 -9
  293. package/assets/ts/components/notification/notification.component.ts +3 -3
  294. package/assets/ts/components/pagination/pagination.component.ts +7 -8
  295. package/assets/ts/components/record-card/record-card.component.ts +9 -11
  296. package/assets/ts/components/search/search.component.ts +12 -9
  297. package/assets/ts/components/slider/slider.component.ts +9 -10
  298. package/assets/ts/components/table/table.component.ts +14 -16
  299. package/assets/ts/components/tabs/tabs.component.ts +2 -3
  300. package/assets/ts/components/video-card/video-card.component.ts +13 -12
  301. package/assets/ts/modules/applied-filters.ts +10 -11
  302. package/assets/ts/modules/card.module.ts +1 -1
  303. package/assets/ts/modules/carousel.ts +13 -15
  304. package/assets/ts/modules/chart.module.ts +152 -19
  305. package/assets/ts/modules/chart.ts +26 -24
  306. package/assets/ts/modules/dialogs.ts +10 -13
  307. package/assets/ts/modules/drawer.ts +1 -2
  308. package/assets/ts/modules/dynamicEvents.ts +12 -14
  309. package/assets/ts/modules/fileupload.ts +10 -10
  310. package/assets/ts/modules/filterlist.ts +6 -7
  311. package/assets/ts/modules/form.ts +16 -17
  312. package/assets/ts/modules/helpers.ts +18 -21
  313. package/assets/ts/modules/inputs.ts +15 -18
  314. package/assets/ts/modules/nav.ts +4 -5
  315. package/assets/ts/modules/notification.ts +7 -8
  316. package/assets/ts/modules/orderablelist.ts +3 -4
  317. package/assets/ts/modules/pagination.ts +1 -1
  318. package/assets/ts/modules/table.ts +103 -60
  319. package/assets/ts/modules/tabs.ts +5 -8
  320. package/assets/ts/scripts.ts +70 -6
  321. package/assets/ts/tests/card.spec.ts +19 -0
  322. package/assets/ts/tests/carousel.spec.ts +66 -0
  323. package/assets/ts/tests/chart.spec.ts +9 -6
  324. package/assets/ts/tests/fileupload.spec.ts +30 -0
  325. package/assets/ts/tests/multistep.spec.ts +78 -0
  326. package/dist/components.es.js +1258 -1063
  327. package/dist/components.umd.js +473 -195
  328. package/package.json +44 -49
  329. package/src/components/BentoGrid/BentoGrid.vue +20 -0
  330. package/src/components/DoughnutChart/DoughnutChart.vue +23 -0
  331. package/src/components/FileUpload/FileUpload.vue +4 -1
  332. package/src/components/Menu/Menu.vue +22 -0
  333. package/src/components/Tabs/Tabs.vue +0 -4
  334. package/src/index.js +25 -19
  335. package/assets/css/components/actionbar.css +0 -1
  336. package/assets/css/components/actionbar.css.map +0 -1
  337. package/assets/css/components/nav.css +0 -1
  338. package/assets/css/components/nav.css.map +0 -1
  339. package/assets/css/components/table.css.map +0 -1
  340. package/assets/js/components.bundle.js +0 -5
  341. package/assets/js/components.bundle.js.map +0 -1
  342. package/assets/js/components.js +0 -57
  343. package/assets/js/modules/file-upload.js +0 -32
  344. package/assets/ts/components.ts +0 -62
  345. package/assets/ts/modules/file-upload.ts +0 -52
  346. package/dist/style.css +0 -1
  347. /package/assets/sass/components/{table.scss → table.component.scss} +0 -0
@@ -1,9 +1,9 @@
1
- import { openBlock as o, createElementBlock as l, normalizeClass as y, createElementVNode as d, toDisplayString as _, createCommentVNode as h, renderSlot as u, Fragment as $, renderList as k, withDirectives as L, mergeProps as w, vModelDynamic as x, vModelText as D, vModelSelect as V, ref as F, onMounted as z, createTextVNode as B, resolveComponent as q, createVNode as g, withModifiers as O } from "vue";
2
- const m = (t, s) => {
3
- const e = t.__vccOpts || t;
4
- for (const [i, r] of s)
5
- e[i] = r;
6
- return e;
1
+ import { createElementBlock as o, openBlock as r, normalizeClass as b, createCommentVNode as p, createElementVNode as c, toDisplayString as y, withDirectives as x, renderSlot as m, mergeProps as v, vModelDynamic as E, vModelText as F, Fragment as w, renderList as $, vModelSelect as z, createTextVNode as B, onMounted as L, ref as N, resolveComponent as q, createVNode as _, withModifiers as O } from "vue";
2
+ const u = (e, i) => {
3
+ const t = e.__vccOpts || e;
4
+ for (const [n, s] of i)
5
+ t[n] = s;
6
+ return t;
7
7
  }, U = {
8
8
  name: "Logo",
9
9
  props: {
@@ -29,86 +29,24 @@ const m = (t, s) => {
29
29
  return "brand brand--" + this.id;
30
30
  }
31
31
  }
32
- }, W = ["xlink:href"], K = ["innerHTML"];
33
- function G(t, s, e, i, r, a) {
34
- return o(), l("div", {
35
- class: y(a.className)
32
+ }, W = ["xlink:href"], G = ["innerHTML"];
33
+ function K(e, i, t, n, s, a) {
34
+ return r(), o("div", {
35
+ class: b(a.className)
36
36
  }, [
37
- (o(), l("svg", null, [
38
- d("title", null, "iam " + _(e.id), 1),
39
- d("use", {
40
- "xlink:href": e.path + a.src
37
+ (r(), o("svg", null, [
38
+ c("title", null, "iam " + y(t.id), 1),
39
+ c("use", {
40
+ "xlink:href": t.path + a.src
41
41
  }, null, 8, W)
42
42
  ])),
43
- e.desc ? (o(), l("span", {
43
+ t.desc ? (r(), o("span", {
44
44
  key: 0,
45
- innerHTML: e.desc
46
- }, null, 8, K)) : h("", !0)
45
+ innerHTML: t.desc
46
+ }, null, 8, G)) : p("", !0)
47
47
  ], 2);
48
48
  }
49
- const qs = /* @__PURE__ */ m(U, [["render", G]]), Q = (t) => t.charAt(0).toUpperCase() + t.slice(1), Y = (t) => t.replace(/_/g, " "), J = (t) => t.replace(/ /g, "_"), X = function(t) {
50
- return t = t.toLowerCase(), t = J(t), t = t.replace(/\W/g, ""), t;
51
- }, Z = {
52
- name: "Table",
53
- props: {
54
- items: {
55
- type: Array,
56
- required: !1
57
- },
58
- fields: {
59
- type: Array,
60
- required: !1
61
- }
62
- },
63
- computed: {
64
- cellHeading() {
65
- return (t) => `${Q(Y(t))}`;
66
- }
67
- },
68
- created() {
69
- this.$nextTick(function() {
70
- import("./table.component.min-627d6042.mjs").then((t) => {
71
- window.customElements.get("iam-table") || window.customElements.define("iam-table", t.default);
72
- }).catch((t) => {
73
- console.log(t.message);
74
- }), Promise.resolve().then(() => gs).then((t) => {
75
- window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", t.default);
76
- }).catch((t) => {
77
- console.log(t.message);
78
- });
79
- });
80
- },
81
- updated() {
82
- }
83
- }, ee = { key: 0 }, te = { key: 0 }, se = ["data-row-id"], ae = ["innerHTML"];
84
- function ie(t, s, e, i, r, a) {
85
- return o(), l("iam-table", null, [
86
- u(t.$slots, "before"),
87
- e.fields ? (o(), l("table", ee, [
88
- d("thead", null, [
89
- d("tr", null, [
90
- (o(!0), l($, null, k(e.fields, (n) => (o(), l("th", {
91
- key: n.key
92
- }, _(a.cellHeading(n.key)), 1))), 128))
93
- ])
94
- ]),
95
- e.items ? (o(), l("tbody", te, [
96
- (o(!0), l($, null, k(e.items, (n, c) => (o(), l("tr", {
97
- key: c,
98
- "data-row-id": n.rowid
99
- }, [
100
- (o(!0), l($, null, k(Object.fromEntries(
101
- Object.entries(n).filter(([p]) => p !== "rowid")
102
- ), (p, f) => (o(), l("td", {
103
- key: f,
104
- innerHTML: p
105
- }, null, 8, ae))), 128))
106
- ], 8, se))), 128))
107
- ])) : h("", !0)
108
- ])) : u(t.$slots, "default", { key: 1 })
109
- ]);
110
- }
111
- const C = /* @__PURE__ */ m(Z, [["render", ie]]), ne = {
49
+ const Gi = /* @__PURE__ */ u(U, [["render", K]]), Q = {
112
50
  name: "Input",
113
51
  props: {
114
52
  value: {
@@ -209,8 +147,7 @@ const C = /* @__PURE__ */ m(Z, [["render", ie]]), ne = {
209
147
  },
210
148
  needPattern() {
211
149
  return () => {
212
- if (this.pattern)
213
- return this.pattern;
150
+ if (this.pattern) return this.pattern;
214
151
  switch (this.type) {
215
152
  case "datetime-local":
216
153
  return "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}";
@@ -264,8 +201,7 @@ const C = /* @__PURE__ */ m(Z, [["render", ie]]), ne = {
264
201
  },
265
202
  hasOptions() {
266
203
  return () => {
267
- if (this.list)
268
- return this.list;
204
+ if (this.list) return this.list;
269
205
  if (this.options)
270
206
  return this.id + "-list";
271
207
  };
@@ -274,231 +210,194 @@ const C = /* @__PURE__ */ m(Z, [["render", ie]]), ne = {
274
210
  get() {
275
211
  return this.value == null && this.options != null && this.type == "select" ? this.$attrs.multiple ? [] : this.options[0].value : this.value;
276
212
  },
277
- set(t) {
278
- this.$emit("input", t);
213
+ set(e) {
214
+ this.$emit("input", e);
279
215
  }
280
216
  }
281
217
  },
282
218
  mounted() {
283
219
  this.$nextTick(function() {
284
- let t = this.$refs.wrapper;
285
- if (t.parentNode && t.parentNode.classList.contains("form-check") || t.classList.length == 0) {
286
- const s = document.createDocumentFragment();
287
- Array.from(t.childNodes).forEach((e) => s.appendChild(e)), t.parentNode.insertBefore(s, t), t.parentNode.removeChild(t);
220
+ let e = this.$refs.wrapper;
221
+ if (e.parentNode && e.parentNode.classList.contains("form-check") || e.classList.length == 0) {
222
+ const i = document.createDocumentFragment();
223
+ Array.from(e.childNodes).forEach((t) => i.appendChild(t)), e.parentNode.insertBefore(i, e), e.parentNode.removeChild(e);
288
224
  }
289
225
  });
290
226
  },
291
227
  methods: {
292
- inputKeyup(t) {
293
- this.$emit("keyupEvent", t);
228
+ inputKeyup(e) {
229
+ this.$emit("keyupEvent", e);
294
230
  },
295
231
  clickEvent() {
296
232
  this.$emit("bus");
297
233
  }
298
234
  }
299
- }, oe = ["for", "innerHTML", "title"], le = ["innerHTML"], re = ["innerHTML"], de = ["type", "name", "id", "pattern", "list"], ce = ["type", "name", "id", "pattern"], ue = {
235
+ }, Y = ["for", "innerHTML", "title"], J = ["innerHTML"], X = ["innerHTML"], Z = ["type", "name", "id", "pattern", "list"], tt = ["type", "name", "id", "pattern"], et = {
300
236
  key: 5,
301
237
  class: "input-group"
302
- }, me = ["type", "name", "id", "pattern", "list"], pe = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, he = {
238
+ }, it = ["type", "name", "id", "pattern", "list"], at = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, nt = {
303
239
  key: 6,
304
240
  class: "input-group"
305
- }, fe = ["type", "name", "id", "pattern", "list"], be = { class: "input-group-text flex-fill" }, ye = ["type", "name", "id", "pattern"], _e = ["value"], ge = ["type", "name", "id"], ve = ["for", "innerHTML"], we = ["type", "name", "id"], $e = ["for", "innerHTML"], ke = ["innerHTML"], Ae = ["id"], Le = ["value"];
306
- function Se(t, s, e, i, r, a) {
307
- return o(), l("div", {
308
- class: y(a.wrapperClass()),
241
+ }, st = ["type", "name", "id", "pattern", "list"], ot = { class: "input-group-text flex-fill" }, rt = ["type", "name", "id", "pattern"], lt = ["value"], ct = ["type", "name", "id"], dt = ["for", "innerHTML"], mt = ["type", "name", "id"], ut = ["for", "innerHTML"], pt = ["innerHTML"], ht = ["id"], ft = ["value"];
242
+ function gt(e, i, t, n, s, a) {
243
+ return r(), o("div", {
244
+ class: b(a.wrapperClass()),
309
245
  ref: "wrapper"
310
246
  }, [
311
- a.needsLabel() ? (o(), l("label", {
247
+ a.needsLabel() ? (r(), o("label", {
312
248
  key: 0,
313
- class: y(`form-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
314
- for: e.id,
249
+ class: b(`form-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
250
+ for: t.id,
315
251
  innerHTML: a.displayLabel(),
316
- title: e.title
317
- }, null, 10, oe)) : h("", !0),
318
- e.prefix ? (o(), l("span", {
252
+ title: t.title
253
+ }, null, 10, Y)) : p("", !0),
254
+ t.prefix ? (r(), o("span", {
319
255
  key: 1,
320
- class: y(`prefix ${this.prefixClass} ${e.size ? `prefix-${e.size}` : ""}`),
321
- innerHTML: e.prefix,
256
+ class: b(`prefix ${this.prefixClass} ${t.size ? `prefix-${t.size}` : ""}`),
257
+ innerHTML: t.prefix,
322
258
  role: "presentation"
323
- }, null, 10, le)) : h("", !0),
324
- e.suffix ? (o(), l("span", {
259
+ }, null, 10, J)) : p("", !0),
260
+ t.suffix ? (r(), o("span", {
325
261
  key: 2,
326
- class: y(`suffix ${this.suffixClass} ${e.size ? `suffix-${e.size}` : ""}`),
327
- innerHTML: e.suffix,
262
+ class: b(`suffix ${this.suffixClass} ${t.size ? `suffix-${t.size}` : ""}`),
263
+ innerHTML: t.suffix,
328
264
  role: "presentation"
329
- }, null, 10, re)) : h("", !0),
330
- a.isInput() ? L((o(), l("input", w({
265
+ }, null, 10, X)) : p("", !0),
266
+ a.isInput() ? x((r(), o("input", v({
331
267
  key: 3,
332
- "onUpdate:modelValue": s[0] || (s[0] = (n) => a.inputVal = n),
333
- class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
334
- type: e.type,
335
- name: e.name ? e.name : e.id,
336
- id: e.id,
268
+ "onUpdate:modelValue": i[0] || (i[0] = (l) => a.inputVal = l),
269
+ class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
270
+ type: t.type,
271
+ name: t.name ? t.name : t.id,
272
+ id: t.id,
337
273
  pattern: a.needPattern(),
338
274
  list: a.hasOptions()
339
- }, t.$attrs, {
340
- onKeyup: s[1] || (s[1] = (...n) => a.inputKeyup && a.inputKeyup(...n))
341
- }), null, 16, de)), [
342
- [x, a.inputVal]
343
- ]) : h("", !0),
344
- e.type == "textarea" ? L((o(), l("textarea", w({
275
+ }, e.$attrs, {
276
+ onKeyup: i[1] || (i[1] = (...l) => a.inputKeyup && a.inputKeyup(...l))
277
+ }), null, 16, Z)), [
278
+ [E, a.inputVal]
279
+ ]) : p("", !0),
280
+ t.type == "textarea" ? x((r(), o("textarea", v({
345
281
  key: 4,
346
- "onUpdate:modelValue": s[2] || (s[2] = (n) => a.inputVal = n),
347
- class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
348
- type: e.type,
349
- name: e.name ? e.name : e.id,
350
- id: e.id,
282
+ "onUpdate:modelValue": i[2] || (i[2] = (l) => a.inputVal = l),
283
+ class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
284
+ type: t.type,
285
+ name: t.name ? t.name : t.id,
286
+ id: t.id,
351
287
  pattern: a.needPattern()
352
- }, t.$attrs), null, 16, ce)), [
353
- [D, a.inputVal]
354
- ]) : h("", !0),
355
- e.type == "range" ? (o(), l("div", ue, [
356
- L(d("input", w({
357
- "onUpdate:modelValue": s[3] || (s[3] = (n) => a.inputVal = n),
358
- class: `form-range${e.inputclass ? ` ${e.inputclass}` : ""}`,
359
- type: e.type,
360
- name: e.name ? e.name : e.id,
361
- id: e.id,
288
+ }, e.$attrs), null, 16, tt)), [
289
+ [F, a.inputVal]
290
+ ]) : p("", !0),
291
+ t.type == "range" ? (r(), o("div", et, [
292
+ x(c("input", v({
293
+ "onUpdate:modelValue": i[3] || (i[3] = (l) => a.inputVal = l),
294
+ class: `form-range${t.inputclass ? ` ${t.inputclass}` : ""}`,
295
+ type: t.type,
296
+ name: t.name ? t.name : t.id,
297
+ id: t.id,
362
298
  pattern: a.needPattern(),
363
299
  list: a.hasOptions()
364
- }, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, me), [
365
- [x, a.inputVal]
300
+ }, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, it), [
301
+ [E, a.inputVal]
366
302
  ]),
367
- d("output", pe, _(e.value), 1)
368
- ])) : h("", !0),
369
- e.type == "color" ? (o(), l("div", he, [
370
- L(d("input", w({
371
- "onUpdate:modelValue": s[4] || (s[4] = (n) => a.inputVal = n),
372
- class: `form-control form-control-color${e.inputclass ? ` ${e.inputclass}` : ""}`,
373
- type: e.type,
374
- name: e.name ? e.name : e.id,
375
- id: e.id,
303
+ c("output", at, y(t.value), 1)
304
+ ])) : p("", !0),
305
+ t.type == "color" ? (r(), o("div", nt, [
306
+ x(c("input", v({
307
+ "onUpdate:modelValue": i[4] || (i[4] = (l) => a.inputVal = l),
308
+ class: `form-control form-control-color${t.inputclass ? ` ${t.inputclass}` : ""}`,
309
+ type: t.type,
310
+ name: t.name ? t.name : t.id,
311
+ id: t.id,
376
312
  pattern: a.needPattern(),
377
313
  list: a.hasOptions()
378
- }, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, fe), [
379
- [x, a.inputVal]
314
+ }, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, st), [
315
+ [E, a.inputVal]
380
316
  ]),
381
- d("output", be, _(e.value ? t.vale : "#000000"), 1)
382
- ])) : h("", !0),
383
- e.type == "select" ? L((o(), l("select", w({
317
+ c("output", ot, y(t.value ? e.vale : "#000000"), 1)
318
+ ])) : p("", !0),
319
+ t.type == "select" ? x((r(), o("select", v({
384
320
  key: 7,
385
- "onUpdate:modelValue": s[5] || (s[5] = (n) => a.inputVal = n),
386
- class: `form-select${e.size ? ` form-select-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
387
- type: e.type,
388
- name: e.id,
389
- id: e.id,
321
+ "onUpdate:modelValue": i[5] || (i[5] = (l) => a.inputVal = l),
322
+ class: `form-select${t.size ? ` form-select-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
323
+ type: t.type,
324
+ name: t.id,
325
+ id: t.id,
390
326
  pattern: a.needPattern()
391
- }, t.$attrs), [
392
- (o(!0), l($, null, k(e.options, (n, c) => (o(), l("option", {
393
- key: c,
394
- value: n.value
395
- }, _(n.display ? n.display : n.value), 9, _e))), 128))
396
- ], 16, ye)), [
397
- [V, a.inputVal]
398
- ]) : h("", !0),
399
- e.type == "checkbox" || e.type == "radio" ? (o(), l("input", w({
327
+ }, e.$attrs), [
328
+ (r(!0), o(w, null, $(t.options, (l, d) => (r(), o("option", {
329
+ key: d,
330
+ value: l.value
331
+ }, y(l.display ? l.display : l.value), 9, lt))), 128))
332
+ ], 16, rt)), [
333
+ [z, a.inputVal]
334
+ ]) : p("", !0),
335
+ t.type == "checkbox" || t.type == "radio" ? (r(), o("input", v({
400
336
  key: 8,
401
337
  class: "form-check-input",
402
- type: e.type,
403
- name: e.name ? e.name : e.id,
404
- id: e.id
405
- }, t.$attrs), null, 16, ge)) : h("", !0),
406
- e.type == "checkbox" || e.type == "radio" ? (o(), l("label", {
338
+ type: t.type,
339
+ name: t.name ? t.name : t.id,
340
+ id: t.id
341
+ }, e.$attrs), null, 16, ct)) : p("", !0),
342
+ t.type == "checkbox" || t.type == "radio" ? (r(), o("label", {
407
343
  key: 9,
408
- class: y(`form-label form-check-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
409
- for: e.id,
410
- innerHTML: e.label
411
- }, null, 10, ve)) : h("", !0),
412
- e.type == "checkbox-btn" || e.type == "radio-btn" ? (o(), l("input", w({
344
+ class: b(`form-label form-check-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
345
+ for: t.id,
346
+ innerHTML: t.label
347
+ }, null, 10, dt)) : p("", !0),
348
+ t.type == "checkbox-btn" || t.type == "radio-btn" ? (r(), o("input", v({
413
349
  key: 10,
414
- class: `btn-check${e.inputclass ? ` ${e.inputclass}` : ""}`,
415
- type: e.type.replace("-btn", ""),
350
+ class: `btn-check${t.inputclass ? ` ${t.inputclass}` : ""}`,
351
+ type: t.type.replace("-btn", ""),
416
352
  autocomplete: "off",
417
- name: e.name ? e.name : e.id,
418
- id: e.id
419
- }, t.$attrs), null, 16, we)) : h("", !0),
420
- e.type == "checkbox-btn" || e.type == "radio-btn" ? (o(), l("label", {
353
+ name: t.name ? t.name : t.id,
354
+ id: t.id
355
+ }, e.$attrs), null, 16, mt)) : p("", !0),
356
+ t.type == "checkbox-btn" || t.type == "radio-btn" ? (r(), o("label", {
421
357
  key: 11,
422
- class: y(`btn${e.labelclass ? ` ${e.labelclass}` : ""}`),
423
- for: e.id,
424
- innerHTML: e.label,
425
- onClick: s[6] || (s[6] = (...n) => a.clickEvent && a.clickEvent(...n))
426
- }, null, 10, $e)) : h("", !0),
427
- u(t.$slots, "default"),
428
- e.errormsg ? (o(), l("span", {
358
+ class: b(`btn${t.labelclass ? ` ${t.labelclass}` : ""}`),
359
+ for: t.id,
360
+ innerHTML: t.label,
361
+ onClick: i[6] || (i[6] = (...l) => a.clickEvent && a.clickEvent(...l))
362
+ }, null, 10, ut)) : p("", !0),
363
+ m(e.$slots, "default"),
364
+ t.errormsg ? (r(), o("span", {
429
365
  key: 12,
430
366
  class: "invalid-feedback mb-0",
431
- innerHTML: e.errormsg
432
- }, null, 8, ke)) : h("", !0),
433
- a.allowDatalist() ? (o(), l("datalist", {
367
+ innerHTML: t.errormsg
368
+ }, null, 8, pt)) : p("", !0),
369
+ a.allowDatalist() ? (r(), o("datalist", {
434
370
  key: 13,
435
- id: e.id + "-list"
371
+ id: t.id + "-list"
436
372
  }, [
437
- (o(!0), l($, null, k(e.options, (n, c) => (o(), l("option", {
438
- key: c,
439
- value: n.value
440
- }, _(n.value), 9, Le))), 128))
441
- ], 8, Ae)) : h("", !0)
373
+ (r(!0), o(w, null, $(t.options, (l, d) => (r(), o("option", {
374
+ key: d,
375
+ value: l.value
376
+ }, y(l.value), 9, ft))), 128))
377
+ ], 8, ht)) : p("", !0)
442
378
  ], 2);
443
379
  }
444
- const N = /* @__PURE__ */ m(ne, [["render", Se]]), xe = {
445
- name: "FileUpload",
446
- props: {
447
- maxfilesize: {
448
- type: Number,
449
- required: !1
450
- },
451
- maxfiles: {
452
- type: Number,
453
- required: !1
454
- }
455
- },
456
- created() {
457
- this.$nextTick(function() {
458
- import("./fileupload.component.min-65045d16.mjs").then((t) => {
459
- window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload", t.default);
460
- }).catch((t) => {
461
- console.log(t.message);
462
- });
463
- });
464
- }
465
- }, Ts = /* @__PURE__ */ Object.assign(xe, {
466
- emits: ["elementChange", "empty"],
467
- setup(t, { emit: s }) {
468
- const e = s, i = F(null);
469
- return z(() => {
470
- i.value.addEventListener("elementChange", function(r) {
471
- e("elementChange", r);
472
- }), i.value.addEventListener("empty", function(r) {
473
- e("empty", r);
474
- });
475
- }), (r, a) => (o(), l("iam-fileupload", {
476
- ref_key: "$component",
477
- ref: i
478
- }, [
479
- u(r.$slots, "default")
480
- ], 512));
481
- }
482
- });
483
- const qe = {
380
+ const R = /* @__PURE__ */ u(Q, [["render", gt]]), bt = {
484
381
  name: "Accordion",
485
382
  props: {},
486
383
  mounted() {
487
384
  this.$nextTick(function() {
488
- import("./accordion.component.min-ea3701c4.mjs").then((t) => {
489
- window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", t.default);
490
- }).catch((t) => {
491
- console.log(t.message);
385
+ import("./accordion.component.min-CRoR6jXt.js").then((e) => {
386
+ window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", e.default);
387
+ }).catch((e) => {
388
+ console.log(e.message);
492
389
  });
493
390
  });
494
391
  }
495
- }, Te = { ref: "wrapper" };
496
- function Ee(t, s, e, i, r, a) {
497
- return o(), l("iam-accordion", Te, [
498
- u(t.$slots, "default")
392
+ }, yt = { ref: "wrapper" };
393
+ function _t(e, i, t, n, s, a) {
394
+ return r(), o("iam-accordion", yt, [
395
+ m(e.$slots, "default")
499
396
  ], 512);
500
397
  }
501
- const Es = /* @__PURE__ */ m(qe, [["render", Ee]]), He = {
398
+ const Ki = /* @__PURE__ */ u(bt, [["render", _t]]), vt = (e) => e.charAt(0).toUpperCase() + e.slice(1), wt = (e) => e.replace(/_/g, " "), $t = (e) => e.replace(/ /g, "_"), kt = function(e) {
399
+ return e = e.toLowerCase(), e = $t(e), e = e.replace(/\W/g, ""), e;
400
+ }, At = {
502
401
  name: "AccordionItem",
503
402
  props: {
504
403
  title: {
@@ -525,7 +424,7 @@ const Es = /* @__PURE__ */ m(qe, [["render", Ee]]), He = {
525
424
  },
526
425
  computed: {
527
426
  createID() {
528
- return (t) => `${X(t)}`;
427
+ return (e) => `${kt(e)}`;
529
428
  }
530
429
  },
531
430
  data() {
@@ -533,22 +432,74 @@ const Es = /* @__PURE__ */ m(qe, [["render", Ee]]), He = {
533
432
  show: !this.lazy
534
433
  };
535
434
  }
536
- }, Me = ["id"];
537
- function Ce(t, s, e, i, r, a) {
538
- return o(), l("details", {
539
- id: a.createID(e.title)
435
+ }, xt = ["id"];
436
+ function Lt(e, i, t, n, s, a) {
437
+ return r(), o("details", {
438
+ id: a.createID(t.title)
540
439
  }, [
541
- d("summary", null, [
542
- B(_(e.title), 1),
543
- e.badge ? (o(), l("span", {
440
+ c("summary", null, [
441
+ B(y(t.title), 1),
442
+ t.badge ? (r(), o("span", {
544
443
  key: 0,
545
- class: y(`badge bg-${e.badgecolour}`)
546
- }, _(e.badge), 3)) : h("", !0)
444
+ class: b(`badge bg-${t.badgecolour}`)
445
+ }, y(t.badge), 3)) : p("", !0)
547
446
  ]),
548
- u(t.$slots, "default")
549
- ], 8, Me);
447
+ m(e.$slots, "default")
448
+ ], 8, xt);
449
+ }
450
+ const Qi = /* @__PURE__ */ u(At, [["render", Lt]]), St = {
451
+ name: "Actionbar",
452
+ props: {},
453
+ mounted() {
454
+ this.$nextTick(function() {
455
+ import("./actionbar.component.min-BQBKQD6x.js").then((e) => {
456
+ window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", e.default);
457
+ }).catch((e) => {
458
+ console.log(e.message);
459
+ });
460
+ });
461
+ }
462
+ };
463
+ function Et(e, i, t, n, s, a) {
464
+ return r(), o("iam-actionbar", null, [
465
+ m(e.$slots, "default")
466
+ ]);
467
+ }
468
+ const Yi = /* @__PURE__ */ u(St, [["render", Et]]), qt = {
469
+ name: "Address Lookup",
470
+ mounted() {
471
+ this.$nextTick(function() {
472
+ import("./address-lookup.component.min-CFK-gdst.js").then((e) => {
473
+ window.customElements.get("iam-address-lookup") || window.customElements.define("iam-address-lookup", e.default);
474
+ }).catch((e) => {
475
+ console.log(e.message);
476
+ });
477
+ });
478
+ }
479
+ };
480
+ function Tt(e, i, t, n, s, a) {
481
+ return r(), o("iam-address-lookup", null, [
482
+ m(e.$slots, "default")
483
+ ]);
484
+ }
485
+ const Ji = /* @__PURE__ */ u(qt, [["render", Tt]]), Mt = {
486
+ name: "Applied Filter",
487
+ mounted() {
488
+ this.$nextTick(function() {
489
+ import("./applied-filters.component-DVJe7PVv.js").then((e) => {
490
+ window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters", e.default);
491
+ }).catch((e) => {
492
+ console.log(e.message);
493
+ });
494
+ });
495
+ }
496
+ };
497
+ function Ht(e, i, t, n, s, a) {
498
+ return r(), o("iam-applied-filters", null, [
499
+ m(e.$slots, "default")
500
+ ]);
550
501
  }
551
- const Hs = /* @__PURE__ */ m(He, [["render", Ce]]), Ne = {
502
+ const Xi = /* @__PURE__ */ u(Mt, [["render", Ht]]), Ct = {
552
503
  name: "Header",
553
504
  props: {
554
505
  title: {
@@ -565,235 +516,777 @@ const Hs = /* @__PURE__ */ m(He, [["render", Ce]]), Ne = {
565
516
  required: !1
566
517
  }
567
518
  }
568
- }, Re = { class: "container" }, Pe = { class: "row" }, je = { class: "col-sm-6" }, Ie = { class: "pt-5 pb-3 px-4" }, De = { class: "col-sm-6 col-md-5 ms-auto" }, Ve = ["src"];
569
- function Fe(t, s, e, i, r, a) {
570
- return o(), l("div", Re, [
571
- d("div", {
572
- class: y("bg-" + e.background + " mb-4")
519
+ }, Nt = { class: "container" }, Rt = { class: "row" }, Pt = { class: "col-sm-6" }, jt = { class: "pt-5 pb-3 px-4" }, It = { class: "col-sm-6 col-md-5 ms-auto" }, Vt = ["src"];
520
+ function Dt(e, i, t, n, s, a) {
521
+ return r(), o("div", Nt, [
522
+ c("div", {
523
+ class: b("bg-" + t.background + " mb-4")
573
524
  }, [
574
- d("div", Pe, [
575
- d("div", je, [
576
- d("div", Ie, [
577
- d("h2", null, _(e.title), 1),
578
- u(t.$slots, "default")
525
+ c("div", Rt, [
526
+ c("div", Pt, [
527
+ c("div", jt, [
528
+ c("h2", null, y(t.title), 1),
529
+ m(e.$slots, "default")
579
530
  ])
580
531
  ]),
581
- d("div", De, [
582
- e.image ? (o(), l("img", {
532
+ c("div", It, [
533
+ t.image ? (r(), o("img", {
583
534
  key: 0,
584
- src: e.image,
535
+ src: t.image,
585
536
  alt: "",
586
537
  class: "h-100 w-100 object-cover"
587
- }, null, 8, Ve)) : h("", !0)
538
+ }, null, 8, Vt)) : p("", !0)
588
539
  ])
589
540
  ])
590
541
  ], 2)
591
542
  ]);
592
543
  }
593
- const Ms = /* @__PURE__ */ m(Ne, [["render", Fe]]), ze = {
544
+ const Zi = /* @__PURE__ */ u(Ct, [["render", Dt]]), Ft = {
545
+ name: "Barchart",
546
+ created() {
547
+ this.$nextTick(function() {
548
+ import("./barchart.component.min-BK3Cl5Ur.js").then((e) => {
549
+ window.customElements.get("iam-barchart") || window.customElements.define("iam-barchart", e.default);
550
+ }).catch((e) => {
551
+ console.log(e.message);
552
+ });
553
+ });
554
+ }
555
+ };
556
+ function zt(e, i, t, n, s, a) {
557
+ return r(), o("iam-barchart", null, [
558
+ m(e.$slots, "default")
559
+ ]);
560
+ }
561
+ const ta = /* @__PURE__ */ u(Ft, [["render", zt]]), Bt = { ref: "wrapper" }, ea = {
562
+ __name: "BentoGrid",
563
+ setup(e) {
564
+ return L(() => {
565
+ import("./bento-grid.component-uY_e-F1U.js").then((i) => {
566
+ window.customElements.get("iam-bento-grid") || window.customElements.define("iam-bento-grid", i.default);
567
+ }).catch((i) => {
568
+ console.log(i.message);
569
+ });
570
+ }), (i, t) => (r(), o("iam-bento-grid", Bt, [
571
+ m(i.$slots, "default")
572
+ ], 512));
573
+ }
574
+ }, Ot = {
594
575
  name: "Card",
595
576
  created() {
596
577
  this.$nextTick(function() {
597
- import("./card.component.min-9fa7f5be.mjs").then((t) => {
598
- window.customElements.get("iam-card") || window.customElements.define("iam-card", t.default);
599
- }).catch((t) => {
600
- console.log(t.message);
578
+ import("./card.component.min-Ba8_TTCi.js").then((e) => {
579
+ window.customElements.get("iam-card") || window.customElements.define("iam-card", e.default);
580
+ }).catch((e) => {
581
+ console.log(e.message);
601
582
  });
602
583
  });
603
584
  }
604
585
  };
605
- function Be(t, s, e, i, r, a) {
606
- return o(), l("iam-card", null, [
607
- u(t.$slots, "default")
586
+ function Ut(e, i, t, n, s, a) {
587
+ return r(), o("iam-card", null, [
588
+ m(e.$slots, "default")
608
589
  ]);
609
590
  }
610
- const Cs = /* @__PURE__ */ m(ze, [["render", Be]]), Oe = {
591
+ const ia = /* @__PURE__ */ u(Ot, [["render", Ut]]), Wt = {
611
592
  name: "Header",
612
593
  mounted() {
613
594
  this.$nextTick(function() {
614
- import("./carousel.component.min-8f0dbeb9.mjs").then((t) => {
615
- window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", t.default);
616
- }).catch((t) => {
617
- console.log(t.message);
595
+ import("./carousel.component.min-BRU1HSMO.js").then((e) => {
596
+ window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", e.default);
597
+ }).catch((e) => {
598
+ console.log(e.message);
618
599
  });
619
600
  });
620
601
  }
621
602
  };
622
- function Ue(t, s, e, i, r, a) {
623
- return o(), l("iam-carousel", null, [
624
- u(t.$slots, "default")
603
+ function Gt(e, i, t, n, s, a) {
604
+ return r(), o("iam-carousel", null, [
605
+ m(e.$slots, "default")
625
606
  ]);
626
607
  }
627
- const Ns = /* @__PURE__ */ m(Oe, [["render", Ue]]), We = {
628
- name: "Header",
608
+ const aa = /* @__PURE__ */ u(Wt, [["render", Gt]]);
609
+ window.dataLayer = window.dataLayer || [];
610
+ window.dataLayer.push({
611
+ event: "customElementRegistered",
612
+ element: "collapsible side menu"
613
+ });
614
+ class Kt extends HTMLElement {
615
+ constructor() {
616
+ super(), this.attachShadow({ mode: "open" });
617
+ const i = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${i}/css/core.min.css`, n = `@import "${i}/css/components/collapsible-side.css";`, s = document.createElement("template");
618
+ s.innerHTML = `
619
+ <style class="styles">
620
+ @import "${t}";
621
+ ${n}
622
+ ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
623
+ </style>
624
+ <link rel="stylesheet" href="https://kit.fontawesome.com/26fdbf0179.css" crossorigin="anonymous">
625
+ <div class="container" part="container">
626
+
627
+ <div class="side-menu" part="side-menu">
628
+ <button class="btn btn-compact fa-chevron-right btn-secondary btn-sm btn-collapse" part="btn">Open or close Collapsible menu</button>
629
+ <div class="side-menu-content closed" part="side-menu-content">
630
+ <slot name="menu"></slot>
631
+ </div>
632
+ </div>
633
+
634
+ <div class="main-content" part="main-content">
635
+ <slot></slot>
636
+ </div>
637
+
638
+ </div>
639
+ `, this.shadowRoot.appendChild(s.content.cloneNode(!0));
640
+ }
641
+ connectedCallback() {
642
+ const i = this.shadowRoot.querySelector(".side-menu"), t = this.shadowRoot.querySelector(".side-menu-content"), n = this.shadowRoot.querySelector(".main-content"), s = this.shadowRoot.querySelector(".side-menu > .btn");
643
+ this.hasAttribute("data-css") && this.shadowRoot.querySelector(".styles").insertAdjacentHTML("beforeend", `@import "${this.getAttribute("data-css")}";`), this.hasAttribute("data-title") || this.setAttribute("data-title", "configuration"), t.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), n.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)") && (this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("h4"), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("main-content__title")), this.hasAttribute("open") && window.innerWidth > 992 && (i.classList.add("open"), s.setAttribute("aria-expanded", !0)), s.addEventListener("click", () => {
644
+ i.classList.contains("open") ? (i.classList.remove("open"), s.removeAttribute("aria-expanded"), setTimeout(function() {
645
+ t.classList.add("closed");
646
+ }, 1e3), i.classList.add("pe-none"), setTimeout(function() {
647
+ i.classList.remove("pe-none");
648
+ }, 1e3)) : (t.classList.remove("closed"), setTimeout(function() {
649
+ i.classList.add("open"), s.setAttribute("aria-expanded", !0);
650
+ }, 100));
651
+ }), i.addEventListener("mouseenter", () => {
652
+ window.innerWidth > 992 && (i.classList.contains("open") || t.classList.remove("closed"), i.classList.add("hover"));
653
+ }), i.addEventListener("mousemove", () => {
654
+ window.innerWidth > 992 && (i.classList.contains("open") || t.classList.remove("closed"));
655
+ }), i.addEventListener("mouseleave", () => {
656
+ window.innerWidth > 992 && (i.classList.remove("hover"), i.classList.contains("open") || setTimeout(function() {
657
+ t.classList.add("closed");
658
+ }, 1e3));
659
+ });
660
+ }
661
+ }
662
+ window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", Kt);
663
+ const Qt = {
664
+ name: "CollapsibleSideMenu",
665
+ props: {},
666
+ mounted() {
667
+ }
668
+ };
669
+ function Yt(e, i, t, n, s, a) {
670
+ return r(), o("iam-collapsible-side", null, [
671
+ m(e.$slots, "default")
672
+ ]);
673
+ }
674
+ const na = /* @__PURE__ */ u(Qt, [["render", Yt]]), Jt = {
675
+ name: "FileUpload",
629
676
  props: {
630
- title: {
631
- type: String,
632
- required: !0
677
+ maxfilesize: {
678
+ type: Number,
679
+ required: !1
633
680
  },
634
- image: {
635
- type: String,
681
+ maxfiles: {
682
+ type: Number,
636
683
  required: !1
637
684
  }
638
685
  },
639
- mounted() {
686
+ created() {
640
687
  this.$nextTick(function() {
641
- import("./header.component.min-a9c35f90.mjs").then((t) => {
642
- window.customElements.get("iam-header") || window.customElements.define("iam-header", t.default);
643
- }).catch((t) => {
644
- console.log(t.message);
688
+ import("./fileupload.component.min-OUzI8W1u.js").then((e) => {
689
+ window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload", e.default);
690
+ }).catch((e) => {
691
+ console.log(e.message);
645
692
  });
646
693
  });
647
694
  }
648
- }, Ke = ["image"], Ge = ["innerHTML"];
649
- function Qe(t, s, e, i, r, a) {
650
- return o(), l("iam-header", { image: e.image }, [
651
- u(t.$slots, "breadcrumb"),
652
- e.title ? (o(), l("h1", {
653
- key: 0,
654
- innerHTML: e.title
655
- }, null, 8, Ge)) : h("", !0),
656
- u(t.$slots, "default")
657
- ], 8, Ke);
695
+ }, sa = /* @__PURE__ */ Object.assign(Jt, {
696
+ emits: ["elementChange", "empty", "fileRemoved"],
697
+ setup(e, { emit: i }) {
698
+ const t = i, n = N(null);
699
+ return L(() => {
700
+ n.value.addEventListener("elementChange", function(s) {
701
+ t("elementChange", s);
702
+ }), n.value.addEventListener("empty", function(s) {
703
+ t("empty", s);
704
+ }), n.value.addEventListener("fileRemoved", function(s) {
705
+ t("fileRemoved", s);
706
+ });
707
+ }), (s, a) => (r(), o("iam-fileupload", {
708
+ ref_key: "$component",
709
+ ref: n
710
+ }, [
711
+ m(s.$slots, "default")
712
+ ], 512));
713
+ }
714
+ }), Xt = {
715
+ name: "Card",
716
+ created() {
717
+ this.$nextTick(function() {
718
+ import("./filter-card.component.min-CE6sNzmO.js").then((e) => {
719
+ window.customElements.get("iam-filter-card") || window.customElements.define("iam-filter-card", e.default);
720
+ }).catch((e) => {
721
+ console.log(e.message);
722
+ });
723
+ });
724
+ }
725
+ };
726
+ function Zt(e, i, t, n, s, a) {
727
+ return r(), o("iam-filter-card", null, [
728
+ m(e.$slots, "default")
729
+ ]);
658
730
  }
659
- const Rs = /* @__PURE__ */ m(We, [["render", Qe]]);
660
- function Ye(t) {
661
- let s;
662
- const e = t.querySelector(".testimonial__images"), i = e.querySelectorAll("img").length;
663
- if (i == 1)
664
- return !1;
665
- t.classList.add("testimonial--multi");
666
- const r = function(a) {
667
- const n = t.querySelector(".btn-next"), c = t.querySelector(".btn-prev");
668
- n.setAttribute("data-go", a + 1), c.setAttribute("data-go", a - 1), n.removeAttribute("disabled"), c.removeAttribute("disabled"), a == 1 ? c.setAttribute("disabled", !0) : a == i && n.setAttribute("disabled", !0);
669
- };
670
- e.addEventListener(
671
- "scroll",
672
- function() {
673
- clearTimeout(s), s = setTimeout(function() {
674
- const a = e.scrollWidth, n = e.scrollHeight, c = e.scrollLeft, p = e.scrollTop;
675
- let f = Math.round(c / a * i) + 1;
676
- c == 0 && p != 0 && (f = Math.round(p / n * i) + 1), t.setAttribute("data-show", f), r(f);
677
- }, 300);
678
- },
679
- !1
680
- ), t.addEventListener(
681
- "click",
682
- function(a) {
683
- for (let n = a.target; n && n != this; n = n.parentNode)
684
- if (n.matches("[data-go]")) {
685
- const c = parseInt(n.getAttribute("data-go"));
686
- let p = 0, f = 0;
687
- const v = e.scrollWidth, b = e.scrollHeight;
688
- v > b ? f = Math.floor(v * ((c - 1) / i)) : p = Math.floor(b * ((c - 1) / i)), e.scroll({
689
- top: p,
690
- left: f,
691
- behavior: "smooth"
692
- });
693
- break;
694
- }
695
- },
696
- !1
697
- );
731
+ const oa = /* @__PURE__ */ u(Xt, [["render", Zt]]);
732
+ /*!
733
+ * iamKey v7.2.0
734
+ * Copyright 2022-2025 iamproperty
735
+ */
736
+ function te(e, i) {
737
+ ee(e, i);
698
738
  }
699
- const Je = {
700
- name: "Testimonial",
739
+ function ee(e, i) {
740
+ let t;
741
+ i.addEventListener("keyup", () => {
742
+ clearTimeout(t), t = setTimeout(function() {
743
+ C(e, i.value);
744
+ }, 500);
745
+ }), i.addEventListener("change", () => {
746
+ clearTimeout(t), C(e, i.value);
747
+ });
748
+ }
749
+ const C = function(e, i) {
750
+ Array.from(e.querySelectorAll(":scope > li")).forEach((t) => {
751
+ const n = t.textContent.toLowerCase();
752
+ t.classList.add("d-none"), n.includes(i.toLowerCase()) && t.classList.remove("d-none");
753
+ }), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: i });
754
+ };
755
+ window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "filterlist" });
756
+ class ie extends HTMLElement {
757
+ constructor() {
758
+ super(), this.attachShadow({ mode: "open" });
759
+ const i = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${i}/css/core.min.css`, n = document.createElement("template");
760
+ n.innerHTML = `
761
+ <style>
762
+ @import "${t}";
763
+ ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
764
+
765
+ :host {
766
+ margin-bottom: 1rem;
767
+ display:block;
768
+ }
769
+ :host(.mh-sm){
770
+ max-height: none!important;
771
+ }
772
+ :host(.mh-md){
773
+ max-height: none!important;
774
+ }
775
+ :host(.mh-lg){
776
+ max-height: none!important;
777
+ }
778
+ </style>
779
+ <div class="form-control__wrapper">
780
+ <label for="search" class="visually-hidden">Search</label>
781
+ <span class="suffix" role="presentation"><slot name="icon"></slot></span>
782
+ <input name="search" id="search" type="text" class="form-control" autocomplete="off" placeholder="Search" part="search-input" />
783
+ </div>
784
+ <div class="list__wrapper" part="wrapper">
785
+ <slot></slot>
786
+ </div>
787
+ `, this.shadowRoot.appendChild(n.content.cloneNode(!0));
788
+ }
789
+ connectedCallback() {
790
+ const i = this.classList.toString();
791
+ this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${i}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), te(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
792
+ }
793
+ }
794
+ window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", ie);
795
+ const ae = {
796
+ name: "Filter list"
797
+ };
798
+ function ne(e, i, t, n, s, a) {
799
+ return r(), o("iam-filterlist", null, [
800
+ m(e.$slots, "default")
801
+ ]);
802
+ }
803
+ const ra = /* @__PURE__ */ u(ae, [["render", ne]]), se = {
804
+ name: "Header",
701
805
  props: {
702
- items: {
703
- type: Array,
806
+ title: {
807
+ type: String,
704
808
  required: !0
705
809
  },
706
- background: {
810
+ image: {
707
811
  type: String,
708
- default: "light",
709
812
  required: !1
710
813
  }
711
814
  },
712
815
  mounted() {
713
- Ye(this.$refs.wrapper);
816
+ this.$nextTick(function() {
817
+ import("./header.component.min-BiZu7F6v.js").then((e) => {
818
+ window.customElements.get("iam-header") || window.customElements.define("iam-header", e.default);
819
+ }).catch((e) => {
820
+ console.log(e.message);
821
+ });
822
+ });
714
823
  }
715
- }, Xe = {
716
- class: "container testimonial mb-5",
717
- "data-show": "1",
718
- ref: "wrapper"
719
- }, Ze = { class: "row" }, et = { class: "col-md-5 position-relative" }, tt = { class: "testimonial__images" }, st = ["src"], at = { class: "col-md-7" }, it = { class: "testimonial__content" }, nt = ["innerHTML"], ot = ["innerHTML"], lt = { class: "testimonial__after" };
720
- function rt(t, s, e, i, r, a) {
721
- return o(), l("div", Xe, [
722
- d("div", {
723
- class: y("bg-" + e.background)
724
- }, [
725
- d("div", Ze, [
726
- d("div", et, [
727
- d("div", tt, [
728
- (o(!0), l($, null, k(e.items, (n, c) => (o(), l("img", {
729
- key: c,
730
- src: n.image ? n.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
731
- alt: "",
732
- class: y("h-100 w-100 object-cover" + (n.image ? "" : " opacity-0"))
733
- }, null, 10, st))), 128))
734
- ]),
735
- s[0] || (s[0] = d("div", { class: "testimonial__controls" }, [
736
- d("button", {
737
- "data-go": "0",
738
- disabled: "",
739
- class: "btn-prev"
740
- }, "Previous"),
741
- d("button", {
742
- "data-go": "2",
743
- class: "btn-next"
744
- }, "Next")
745
- ], -1))
746
- ]),
747
- d("div", at, [
748
- s[1] || (s[1] = d("h2", null, "What our customers think…", -1)),
749
- d("div", it, [
750
- (o(!0), l($, null, k(e.items, (n, c) => (o(), l("blockquote", {
751
- key: c,
752
- class: y(n.class)
753
- }, [
754
- d("div", {
755
- innerHTML: n.quote
756
- }, null, 8, nt),
757
- d("cite", {
758
- innerHTML: n.cite
759
- }, null, 8, ot)
760
- ], 2))), 128))
761
- ]),
762
- d("div", lt, [
763
- u(t.$slots, "default")
764
- ])
765
- ])
766
- ]),
767
- s[2] || (s[2] = d("span", { class: "circle circle--dots d-none d-md-block" }, null, -1))
768
- ], 2)
769
- ], 512);
824
+ }, oe = ["image"], re = ["innerHTML"];
825
+ function le(e, i, t, n, s, a) {
826
+ return r(), o("iam-header", { image: t.image }, [
827
+ m(e.$slots, "breadcrumb"),
828
+ t.title ? (r(), o("h1", {
829
+ key: 0,
830
+ innerHTML: t.title
831
+ }, null, 8, re)) : p("", !0),
832
+ m(e.$slots, "default")
833
+ ], 8, oe);
770
834
  }
771
- const Ps = /* @__PURE__ */ m(Je, [["render", rt]]);
772
- const dt = {
773
- name: "Timeline",
774
- props: {
775
- image: {
776
- type: String,
835
+ const la = /* @__PURE__ */ u(se, [["render", le]]), ce = {
836
+ components: {},
837
+ name: "Inline Edit",
838
+ mounted() {
839
+ this.$nextTick(function() {
840
+ import("./inline-edit.component-CU28Noq8.js").then((e) => {
841
+ window.customElements.get("iam-inline-edit") || window.customElements.define("iam-inline-edit", e.default);
842
+ }).catch((e) => {
843
+ console.log(e.message);
844
+ });
845
+ });
846
+ }
847
+ }, ca = /* @__PURE__ */ Object.assign(ce, {
848
+ emits: ["save", "autosave"],
849
+ setup(e, { emit: i }) {
850
+ const t = i, n = N(null);
851
+ return L(() => {
852
+ n.value.addEventListener("inline-edit-save", function(s) {
853
+ t("save", s);
854
+ }), n.value.addEventListener("inline-edit-autosave", function(s) {
855
+ t("autosave", s);
856
+ });
857
+ }), (s, a) => (r(), o("iam-inline-edit", {
858
+ ref_key: "$component",
859
+ ref: n
860
+ }, [
861
+ m(s.$slots, "default")
862
+ ], 512));
863
+ }
864
+ }), de = {
865
+ name: "Multiselect",
866
+ mounted() {
867
+ this.$nextTick(function() {
868
+ import("./multiselect.component.min-BISqveip.js").then((e) => {
869
+ window.customElements.get("iam-multiselect") || window.customElements.define("iam-multiselect", e.default);
870
+ }).catch((e) => {
871
+ console.log(e.message);
872
+ });
873
+ });
874
+ }
875
+ };
876
+ function me(e, i, t, n, s, a) {
877
+ return r(), o("iam-multiselect", null, [
878
+ m(e.$slots, "default")
879
+ ]);
880
+ }
881
+ const da = /* @__PURE__ */ u(de, [["render", me]]), ma = {
882
+ __name: "MultiStep",
883
+ setup(e) {
884
+ return L(() => {
885
+ import("./multi-step.component-DFBWFGUz.js").then((i) => {
886
+ window.customElements.get("iam-multi-step") || window.customElements.define("iam-multi-step", i.default);
887
+ }).catch((i) => {
888
+ console.log(i.message);
889
+ });
890
+ }), (i, t) => (r(), o("iam-multi-step", null, [
891
+ m(i.$slots, "default")
892
+ ]));
893
+ }
894
+ }, ue = {
895
+ name: "Menu",
896
+ created() {
897
+ this.$nextTick(function() {
898
+ import("./menu.component-C3uSnLQM.js").then((e) => {
899
+ window.customElements.get("iam-menu") || window.customElements.define("iam-menu", e.default);
900
+ }).catch((e) => {
901
+ console.log(e.message);
902
+ });
903
+ });
904
+ }
905
+ }, pe = { ref: "wrapper" };
906
+ function he(e, i, t, n, s, a) {
907
+ return r(), o("iam-menu", pe, [
908
+ m(e.$slots, "default")
909
+ ], 512);
910
+ }
911
+ const ua = /* @__PURE__ */ u(ue, [["render", he]]), fe = {
912
+ components: {},
913
+ name: "Nav",
914
+ mounted() {
915
+ this.$nextTick(function() {
916
+ import("./nav.component.min-Bd0kb41V.js").then((e) => {
917
+ window.customElements.get("iam-nav") || window.customElements.define("iam-nav", e.default);
918
+ }).catch((e) => {
919
+ console.log(e.message);
920
+ });
921
+ });
922
+ },
923
+ methods: {}
924
+ }, ge = { ref: "wrapper" };
925
+ function be(e, i, t, n, s, a) {
926
+ return r(), o("iam-nav", ge, [
927
+ m(e.$slots, "default")
928
+ ], 512);
929
+ }
930
+ const pa = /* @__PURE__ */ u(fe, [["render", be]]), ye = {
931
+ name: "Table",
932
+ props: {
933
+ items: {
934
+ type: Array,
935
+ required: !1
936
+ },
937
+ fields: {
938
+ type: Array,
777
939
  required: !1
778
940
  }
941
+ },
942
+ computed: {
943
+ cellHeading() {
944
+ return (e) => `${vt(wt(e))}`;
945
+ }
946
+ },
947
+ created() {
948
+ this.$nextTick(function() {
949
+ import("./table.component.min-RoKFRxGj.js").then((e) => {
950
+ window.customElements.get("iam-table") || window.customElements.define("iam-table", e.default);
951
+ }).catch((e) => {
952
+ console.log(e.message);
953
+ }), Promise.resolve().then(() => Re).then((e) => {
954
+ window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", e.default);
955
+ }).catch((e) => {
956
+ console.log(e.message);
957
+ });
958
+ });
959
+ },
960
+ updated() {
779
961
  }
780
- }, ct = { class: "timeline" }, ut = { class: "timeline__content" }, mt = ["src"];
781
- function pt(t, s, e, i, r, a) {
782
- return o(), l("div", ct, [
783
- d("div", ut, [
784
- u(t.$slots, "default")
785
- ]),
786
- e.image ? (o(), l("img", {
962
+ }, _e = { key: 0 }, ve = { key: 0 }, we = ["data-row-id"], $e = ["innerHTML"];
963
+ function ke(e, i, t, n, s, a) {
964
+ return r(), o("iam-table", null, [
965
+ m(e.$slots, "before"),
966
+ t.fields ? (r(), o("table", _e, [
967
+ c("thead", null, [
968
+ c("tr", null, [
969
+ (r(!0), o(w, null, $(t.fields, (l) => (r(), o("th", {
970
+ key: l.key
971
+ }, y(a.cellHeading(l.key)), 1))), 128))
972
+ ])
973
+ ]),
974
+ t.items ? (r(), o("tbody", ve, [
975
+ (r(!0), o(w, null, $(t.items, (l, d) => (r(), o("tr", {
976
+ key: d,
977
+ "data-row-id": l.rowid
978
+ }, [
979
+ (r(!0), o(w, null, $(Object.fromEntries(
980
+ Object.entries(l).filter(([h]) => h !== "rowid")
981
+ ), (h, f) => (r(), o("td", {
982
+ key: f,
983
+ innerHTML: h
984
+ }, null, 8, $e))), 128))
985
+ ], 8, we))), 128))
986
+ ])) : p("", !0)
987
+ ])) : m(e.$slots, "default", { key: 1 })
988
+ ]);
989
+ }
990
+ const P = /* @__PURE__ */ u(ye, [["render", ke]]);
991
+ let j = P.props;
992
+ j.fields.required = !1;
993
+ const Ae = {
994
+ components: {
995
+ Table: P,
996
+ Input: R
997
+ },
998
+ data() {
999
+ return {
1000
+ itemsData: [...this.items]
1001
+ // Redefine data to avoid bleeding of data to other components
1002
+ };
1003
+ },
1004
+ methods: {
1005
+ submitForm: function(e) {
1006
+ console.log(this);
1007
+ const i = new FormData(e.target);
1008
+ let t = /* @__PURE__ */ new Date();
1009
+ const n = t.getFullYear();
1010
+ let s = t.getMonth() + 1, a = t.getDate();
1011
+ a < 10 && (a = "0" + a), s < 10 && (s = "0" + s), t = a + "/" + s + "/" + n, this.itemsData.unshift({
1012
+ date_added: t,
1013
+ user: i.get("user"),
1014
+ note: i.get("addNote")
1015
+ }), this.$emit("formSubmitted", e);
1016
+ }
1017
+ },
1018
+ name: "NoteFeed",
1019
+ props: {
1020
+ user: {
1021
+ type: String,
1022
+ required: !0
1023
+ },
1024
+ ...j,
1025
+ title: {
1026
+ type: String,
1027
+ required: !1
1028
+ },
1029
+ method: {
1030
+ type: String,
1031
+ required: !1,
1032
+ default: "post"
1033
+ },
1034
+ action: {
1035
+ type: String,
1036
+ required: !1
1037
+ }
1038
+ }
1039
+ }, xe = { class: "container note-feed mb-2" }, Le = ["innerHTML"], Se = ["action", "method"], Ee = ["value"];
1040
+ function qe(e, i, t, n, s, a) {
1041
+ const l = q("Table"), d = q("Input");
1042
+ return r(), o("div", xe, [
1043
+ t.title ? (r(), o("span", {
787
1044
  key: 0,
788
- src: e.image,
789
- alt: ""
790
- }, null, 8, mt)) : h("", !0)
1045
+ class: "h3",
1046
+ innerHTML: t.title
1047
+ }, null, 8, Le)) : p("", !0),
1048
+ _(l, v({
1049
+ fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
1050
+ items: s.itemsData
1051
+ }, e.$props, { class: "mb-0" }), null, 16, ["items"]),
1052
+ c("form", {
1053
+ action: t.action,
1054
+ method: t.method,
1055
+ onSubmit: i[0] || (i[0] = O((h) => a.submitForm(...arguments), ["prevent"]))
1056
+ }, [
1057
+ c("input", {
1058
+ type: "hidden",
1059
+ value: t.user,
1060
+ name: "user"
1061
+ }, null, 8, Ee),
1062
+ _(d, {
1063
+ id: "addNote",
1064
+ type: "textarea",
1065
+ label: "Add note",
1066
+ required: "",
1067
+ class: "mw-100"
1068
+ }),
1069
+ i[1] || (i[1] = c("button", { class: "btn btn-tertiary" }, "Submit note", -1))
1070
+ ], 40, Se)
1071
+ ]);
1072
+ }
1073
+ const ha = /* @__PURE__ */ u(Ae, [["render", qe]]);
1074
+ function Te(e) {
1075
+ if (e.hasAttribute("data-type") && e.getAttribute("data-type") == "toast") {
1076
+ let i = document.querySelector(".notification__holder");
1077
+ i || (i = document.createElement("div"), i.classList.add("notification__holder"), i.classList.add("container"), document.querySelector("body").appendChild(i)), e.closest(".notification__holder") || i.appendChild(e);
1078
+ }
1079
+ if (e.setAttribute("role", "alert"), e.addEventListener("click", function(i) {
1080
+ event && event.target instanceof HTMLElement && (event.target.closest("[data-dismiss-button]") || event.target.matches("[data-dismiss-button]")) && (i.preventDefault(), T(e));
1081
+ }, !1), e.hasAttribute("data-timeout")) {
1082
+ const i = e.getAttribute("data-timeout"), t = new Me(function() {
1083
+ T(e);
1084
+ }, i);
1085
+ e.addEventListener("mouseenter", () => {
1086
+ t.pause();
1087
+ }), e.addEventListener("mouseleave", () => {
1088
+ t.resume();
1089
+ });
1090
+ }
1091
+ }
1092
+ function Me(e, i) {
1093
+ let t, n, s = i;
1094
+ this.pause = function() {
1095
+ window.clearTimeout(t), s -= /* @__PURE__ */ new Date() - n;
1096
+ }, this.resume = function() {
1097
+ n = /* @__PURE__ */ new Date(), window.clearTimeout(t), t = window.setTimeout(e, s);
1098
+ }, this.resume();
1099
+ }
1100
+ const T = function(e) {
1101
+ e.classList.add("d-none");
1102
+ };
1103
+ window.dataLayer = window.dataLayer || [];
1104
+ window.dataLayer.push({
1105
+ event: "customElementRegistered",
1106
+ element: "Notification"
1107
+ });
1108
+ class He extends HTMLElement {
1109
+ constructor() {
1110
+ super(), this.attachShadow({ mode: "open" });
1111
+ const i = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${i}/css/core.min.css`, n = `@import "${i}/css/components/notification.css";`, s = `@import "${i}/css/components/notification.global.css";`, a = document.createElement("template");
1112
+ a.innerHTML = `
1113
+ <style>
1114
+ @import "${t}";
1115
+ ${n}
1116
+ ${this.hasAttribute("data-css") ? `${this.getAttribute("data-css")}` : ""}
1117
+ </style>
1118
+
1119
+ <div class="notification">
1120
+ <div class="notification__icon"><slot name="icon"></slot></div>
1121
+ <div class="notification__inner"><div class="notification__text"><slot></slot></div><div class="notification__btns"><slot name="btns"></slot></div></div>
1122
+ <div class="notification__dismiss"></div>
1123
+ </div>
1124
+ `, this.shadowRoot.appendChild(a.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${s}</style>`);
1125
+ }
1126
+ connectedCallback() {
1127
+ var i, t, n, s, a;
1128
+ const l = this, d = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
1129
+ if (this.hasAttribute("data-type") ? this.classList.add(`bg-${d}`) : this.classList.add(`colour-${d}`), !this.querySelector("i"))
1130
+ switch (d) {
1131
+ case "danger":
1132
+ this.innerHTML += '<i class="fa-solid fa-circle-exclamation" aria-hidden="true" slot="icon"></i>';
1133
+ break;
1134
+ case "warning":
1135
+ this.innerHTML += '<i class="fa-solid fa-triangle-exclamation" aria-hidden="true" slot="icon"></i>';
1136
+ break;
1137
+ case "success":
1138
+ this.innerHTML += '<i class="fa-solid fa-check-circle" aria-hidden="true" slot="icon"></i>';
1139
+ break;
1140
+ default:
1141
+ this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
1142
+ }
1143
+ const h = this.querySelectorAll("a,button");
1144
+ Array.from(h).forEach((f) => {
1145
+ f.setAttribute("slot", "btns"), f.classList.add("link");
1146
+ }), (h.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable"), h.length ? (s = (n = this.shadowRoot) === null || n === void 0 ? void 0 : n.querySelector(".notification__btns")) === null || s === void 0 || s.classList.remove("empty") : (t = (i = this.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector(".notification__btns")) === null || t === void 0 || t.classList.add("empty"), this.hasAttribute("data-dismiss") && ((a = this.shadowRoot.querySelector(".notification__dismiss")) === null || a === void 0 || (a.innerHTML = '<button data-dismiss-button part="dismiss-btn">Dismiss</button>'), this.shadowRoot.querySelector(".notification__dismiss [data-dismiss-button]").addEventListener("click", function() {
1147
+ T(l);
1148
+ }, !1)), Te(this);
1149
+ }
1150
+ }
1151
+ const Ce = {
1152
+ name: "Notification",
1153
+ props: {},
1154
+ created() {
1155
+ this.$nextTick(function() {
1156
+ window.customElements.get("iam-notification") || window.customElements.define("iam-notification", He);
1157
+ });
1158
+ }
1159
+ };
1160
+ function Ne(e, i, t, n, s, a) {
1161
+ return r(), o("iam-notification", null, [
1162
+ m(e.$slots, "default")
791
1163
  ]);
792
1164
  }
793
- const js = /* @__PURE__ */ m(dt, [["render", pt]]);
794
- const ht = {
1165
+ const fa = /* @__PURE__ */ u(Ce, [["render", Ne]]);
1166
+ /*!
1167
+ * iamKey v7.2.0
1168
+ * Copyright 2022-2025 iamproperty
1169
+ */
1170
+ class I extends HTMLElement {
1171
+ constructor() {
1172
+ super(), this.attachShadow({ mode: "open" });
1173
+ const i = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${i}/css/core.min.css`, n = document.createElement("template");
1174
+ n.innerHTML = `
1175
+ <style>
1176
+ @import "${t}";
1177
+ .m-0{margin:0 !important}.mx-0{margin-left:0 !important;margin-right:0 !important}.my-0{margin-top:0 !important;margin-bottom:0 !important}.mt-0{margin-top:0 !important}.me-0{margin-right:0 !important}.mb-0{margin-bottom:0 !important}.ms-0{margin-left:0 !important}.m-1{margin:0.5rem !important}.mx-1{margin-left:0.5rem !important;margin-right:0.5rem !important}.my-1{margin-top:0.5rem !important;margin-bottom:0.5rem !important}.mt-1{margin-top:0.5rem !important}.me-1{margin-right:0.5rem !important}.mb-1{margin-bottom:0.5rem !important}.ms-1{margin-left:0.5rem !important}.m-2{margin:1rem !important}.mx-2{margin-left:1rem !important;margin-right:1rem !important}.my-2{margin-top:1rem !important;margin-bottom:1rem !important}.mt-2{margin-top:1rem !important}.me-2{margin-right:1rem !important}.mb-2{margin-bottom:1rem !important}.ms-2{margin-left:1rem !important}.m-3{margin:1.5rem !important}.mx-3{margin-left:1.5rem !important;margin-right:1.5rem !important}.my-3{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.mt-3{margin-top:1.5rem !important}.me-3{margin-right:1.5rem !important}.mb-3{margin-bottom:1.5rem !important}.ms-3{margin-left:1.5rem !important}.m-4{margin:2rem !important}.mx-4{margin-left:2rem !important;margin-right:2rem !important}.my-4{margin-top:2rem !important;margin-bottom:2rem !important}.mt-4{margin-top:2rem !important}.me-4{margin-right:2rem !important}.mb-4{margin-bottom:2rem !important}.ms-4{margin-left:2rem !important}.m-5{margin:3rem !important}.mx-5{margin-left:3rem !important;margin-right:3rem !important}.my-5{margin-top:3rem !important;margin-bottom:3rem !important}.mt-5{margin-top:3rem !important}.me-5{margin-right:3rem !important}.mb-5{margin-bottom:3rem !important}.ms-5{margin-left:3rem !important}.m-auto{margin:auto !important}.mx-auto{margin-right:auto !important;margin-left:auto !important}.my-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-auto{margin-top:auto !important}.me-auto{margin-right:auto !important}.mb-auto{margin-bottom:auto !important}.ms-auto{margin-left:auto !important}:host{container-type:inline-size;display:block}.pagination{display:block}@container (width > 23.4375em){.pagination{display:flex;align-items:center;justify-content:space-between !important;padding-top:2rem}}.pagination>div{display:flex;align-items:center}.pagination *:has(.prev:disabled):has(.next:disabled){display:none}.pagination div:is(.page-jump,.per-page){border:1px solid var(--colour-light);height:3.25rem;display:none;align-items:center;padding-inline:1rem}.pagination div:is(.page-jump,.per-page) .select--minimal{height:calc(3.25rem - 1em);line-height:calc(3.25rem - 1em);margin-left:-1rem;font-weight:bold}.pagination div:is(.page-jump,.per-page) div:has(>select){margin-bottom:0}.pagination div:is(.page-jump,.per-page) div:has(>select):after{top:50%}.page-jump{border-right:none !important}.total-pages{white-space:nowrap}:host([data-page-jump][data-minimal]) .page-jump{display:flex !important}@container (width > 23.4375em){:host([data-page-jump]) .page-jump{display:flex !important}}@container (width > 23.4375em){:host([data-per-page]:not([data-page-jump][data-item-count])) .per-page{display:flex !important}}@container (width > 48em){:host([data-per-page][data-page-jump][data-item-count]) .per-page{display:flex !important}}.pagination>.item-count{display:block;text-align:center;margin-bottom:1rem;margin-inline:auto}@container (width > 23.4375em){.pagination>.item-count{display:none}:host([data-item-count]) .pagination>.item-count{display:flex !important;margin:0}}*:where(.prev,.next){border:1px solid var(--colour-light);line-height:3.25rem;height:3.25rem;margin:0;display:none;background:none;padding-inline:1rem;color:var(--colour-body)}@container (width > 23.4375em){*:where(.prev,.next){display:inline-block}}*:where(.prev,.next):after{margin-left:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}*:where(.prev,.next):is(:hover,:focus):not(:disabled){background-color:var(--pagination-link-color);color:var(--colour-hover)}*:where(.prev,.next):is(:active):not(:disabled){background-color:var(--pagination-link-color);color:var(--colour-active)}*:where(.prev,.next):disabled:after,*:where(.prev,.next):disabled:before{color:inherit !important}:host([data-minimal]) .pagination{justify-content:flex-end}@container (width > 23.4375em){:host([data-minimal]) .pagination{justify-content:space-between}}:host([data-minimal]) *:where(.prev,.next){display:inline-block !important}.prev{border-right:none}.prev:after{display:none}.prev:before{margin-right:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}.mobile-controls{display:block}:host([data-minimal]) .pagination{padding-top:1.5rem;display:flex;align-items:center;justify-content:flex-end}:host([data-minimal]) *:is(.mobile-controls,.item-count){display:none}@container (width > 23.4375em){.mobile-controls{display:none !important}:host([data-item-count]) .item-count{display:flex !important}}.fa-spin{display:none !important;font-size:3rem;color:var(--colour-info)}:host([data-loading]) .mobile-controls{padding-top:2rem}:host([data-loading]) .item-count,:host([data-loading]) .mobile-controls>*:not(.fa-spin){display:none !important}:host([data-loading]) .fa-spin{display:block !important;margin:auto}/*# sourceMappingURL=assets/css/components/pagination.css.map */
1178
+
1179
+
1180
+ ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
1181
+ </style>
1182
+ <link rel="stylesheet" href="https://kit.fontawesome.com/26fdbf0179.css" crossorigin="anonymous">
1183
+ <div class="pagination d-none">
1184
+
1185
+ <div class="minimal" part="minimal">
1186
+ <div class="page-jump">
1187
+ <div><select class="select--minimal"></select></div>
1188
+ <span class="total-pages"></span>
1189
+ </div>
1190
+
1191
+ <button class="prev" disabled>Prev</button>
1192
+ <button class="next" disabled>Next</button>
1193
+ </div>
1194
+
1195
+ <div class="item-count" part="item-count"></div>
1196
+ <div class="per-page" part="per-page">
1197
+ <div>
1198
+ <select class="select--minimal">
1199
+ <option value="15">15</option>
1200
+ <option value="25">25</option>
1201
+ <option value="40">40</option>
1202
+ <option value="50">50</option>
1203
+ </select>
1204
+ </div>
1205
+ <span> / page</span>
1206
+ </div>
1207
+ <div class="mobile-controls m-auto text-center">
1208
+ <i class="fa-solid fa-spinner fa-spin"></i>
1209
+ <button class="load-more btn btn-primary m-auto">Load more</a>
1210
+ </div>
1211
+ </div>
1212
+ `, this.shadowRoot.appendChild(n.content.cloneNode(!0));
1213
+ }
1214
+ connectedCallback() {
1215
+ const i = new URLSearchParams(window.location.search);
1216
+ this.hasAttribute("data-total") || this.setAttribute("data-total", 15), this.hasAttribute("data-page") || this.setAttribute("data-page", i.has("page") ? i.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", i.has("show") ? i.get("show") : 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", this.getAttribute("data-show"));
1217
+ const t = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".per-page select"), l = this.shadowRoot.querySelector(".load-more");
1218
+ this.setup(), t.addEventListener("change", (d) => {
1219
+ this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", d.target.value);
1220
+ }), s.addEventListener("click", () => {
1221
+ t.value = parseInt(t.value) + 1, t.dispatchEvent(new Event("change"));
1222
+ }), n.addEventListener("click", () => {
1223
+ t.value = parseInt(t.value) - 1, t.dispatchEvent(new Event("change"));
1224
+ }), a.addEventListener("change", (d) => {
1225
+ this.setAttribute("data-increment", d.target.value);
1226
+ }), l.addEventListener("click", () => {
1227
+ const d = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
1228
+ this.setAttribute("data-show", d), d > parseInt(this.getAttribute("data-total")) && l.remove();
1229
+ });
1230
+ }
1231
+ setup() {
1232
+ const i = this.shadowRoot.querySelector(".pagination"), t = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), l = this.shadowRoot.querySelector(".per-page select"), d = this.shadowRoot.querySelector(".total-pages"), h = parseInt(this.getAttribute("data-page")), f = parseInt(this.getAttribute("data-total")), k = parseInt(this.getAttribute("data-show")), g = parseInt(this.getAttribute("data-increment")), S = Math.ceil(f / g);
1233
+ f > k && i.classList.remove("d-none");
1234
+ let M = "";
1235
+ for (let A = 1; A <= S; A++) M += `<option value="${A}" ${A == h ? "selected" : ""}>${A}</option>`;
1236
+ t.innerHTML = M, d.innerHTML = `of ${S}`, h == S ? s.setAttribute("disabled", "disabled") : s.removeAttribute("disabled"), h == 1 ? n.setAttribute("disabled", "disabled") : n.removeAttribute("disabled");
1237
+ const V = h == 1 ? 1 : (h - 1) * k + 1, H = h == 1 ? k : h * k;
1238
+ a.innerHTML = `${V} - ${H > f ? f : H} of ${f} items`;
1239
+ const D = [15, 25, 40, 50];
1240
+ g && l.value != g && !D.includes(g) && (l.innerHTML = `<option value="${g}">${g}</option>
1241
+ <option value="${g * 2}">${g * 2}</option>
1242
+ <option value="${g * 3}">${g * 3}</option>
1243
+ <option value="${g * 4}">${g * 4}</option>`), l.value = g;
1244
+ }
1245
+ static get observedAttributes() {
1246
+ return ["data-total", "data-increment", "data-page", "data-show"];
1247
+ }
1248
+ attributeChangedCallback(i, t, n) {
1249
+ switch (i) {
1250
+ case "data-total": {
1251
+ t != n && (this.setAttribute("data-page", 1), this.setup());
1252
+ break;
1253
+ }
1254
+ case "data-show": {
1255
+ t != n && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
1256
+ break;
1257
+ }
1258
+ case "data-increment": {
1259
+ t != n && (this.setAttribute("data-show", n), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
1260
+ break;
1261
+ }
1262
+ case "data-page": {
1263
+ t && t != n && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: n } })));
1264
+ break;
1265
+ }
1266
+ }
1267
+ }
1268
+ }
1269
+ const Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1270
+ __proto__: null,
1271
+ default: I
1272
+ }, Symbol.toStringTag, { value: "Module" })), Pe = {
1273
+ name: "Pagination",
1274
+ props: {},
1275
+ computed: {},
1276
+ created() {
1277
+ this.$nextTick(function() {
1278
+ window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", I);
1279
+ });
1280
+ },
1281
+ updated() {
1282
+ }
1283
+ };
1284
+ function je(e, i, t, n, s, a) {
1285
+ return r(), o("iam-pagination");
1286
+ }
1287
+ const ga = /* @__PURE__ */ u(Pe, [["render", je]]), Ie = {
795
1288
  components: {
796
- Input: N
1289
+ Input: R
797
1290
  },
798
1291
  name: "PropertySearchbar",
799
1292
  props: {
@@ -918,8 +1411,8 @@ const ht = {
918
1411
  };
919
1412
  },
920
1413
  methods: {
921
- locationKeyup: function(t) {
922
- this.$emit("locationKeyup", t);
1414
+ locationKeyup: function(e) {
1415
+ this.$emit("locationKeyup", e);
923
1416
  }
924
1417
  },
925
1418
  computed: {
@@ -927,170 +1420,169 @@ const ht = {
927
1420
  get() {
928
1421
  return this.locationSave ? this.locationSave : this.location;
929
1422
  },
930
- set(t) {
931
- this.locationSave = t, this.$emit("input", t);
1423
+ set(e) {
1424
+ this.locationSave = e, this.$emit("input", e);
932
1425
  }
933
1426
  },
934
1427
  locationsList() {
935
1428
  return () => this.locations ? this.locations : [{ value: "Newcastle" }];
936
1429
  }
937
1430
  }
938
- }, ft = {
1431
+ }, Ve = {
939
1432
  class: "container",
940
1433
  ref: "wrapper"
941
- }, bt = { class: "property-searchbar" }, yt = ["action", "method"], _t = { class: "col-12 col-md-3" }, gt = { class: "col-12 col-md" }, vt = {
1434
+ }, De = { class: "property-searchbar" }, Fe = ["action", "method"], ze = { class: "col-12 col-md-3" }, Be = { class: "col-12 col-md" }, Oe = {
942
1435
  class: "row",
943
1436
  "data-input-range": ""
944
- }, wt = { class: "col-12 col-md" }, $t = {
1437
+ }, Ue = { class: "col-12 col-md" }, We = {
945
1438
  class: "row",
946
1439
  "data-input-range": ""
947
- }, kt = { class: "col-12 col-md-2" };
948
- function At(t, s, e, i, r, a) {
949
- const n = q("Input");
950
- return o(), l("div", ft, [
951
- u(t.$slots, "default"),
952
- d("div", bt, [
953
- d("form", {
1440
+ }, Ge = { class: "col-12 col-md-2" };
1441
+ function Ke(e, i, t, n, s, a) {
1442
+ const l = q("Input");
1443
+ return r(), o("div", Ve, [
1444
+ m(e.$slots, "default"),
1445
+ c("div", De, [
1446
+ c("form", {
954
1447
  class: "row",
955
- action: e.formaction,
956
- method: e.formmethod
1448
+ action: t.formaction,
1449
+ method: t.formmethod
957
1450
  }, [
958
- d("fieldset", _t, [
959
- g(n, {
1451
+ c("fieldset", ze, [
1452
+ _(l, {
960
1453
  inputClass: "input--locations",
961
1454
  modelValue: a.locationSet,
962
- "onUpdate:modelValue": s[0] || (s[0] = (c) => a.locationSet = c),
1455
+ "onUpdate:modelValue": i[0] || (i[0] = (d) => a.locationSet = d),
963
1456
  label: "Location",
964
1457
  id: "location",
965
1458
  options: a.locationsList(),
966
1459
  required: "",
967
1460
  placeholder: "i.e. Newcastle or NE1",
968
- onKeyupEvent: s[1] || (s[1] = (c) => a.locationKeyup(...arguments)),
1461
+ onKeyupEvent: i[1] || (i[1] = (d) => a.locationKeyup(...arguments)),
969
1462
  ref: "search"
970
1463
  }, null, 8, ["modelValue", "options"]),
971
- g(n, {
1464
+ _(l, {
972
1465
  class: "select--miles",
973
1466
  label: "Miles",
974
1467
  id: "miles",
975
1468
  type: "select",
976
- options: e.distances
1469
+ options: t.distances
977
1470
  }, null, 8, ["options"])
978
1471
  ]),
979
- d("fieldset", gt, [
980
- s[2] || (s[2] = d("span", { class: "form-label d-none d-md-block" }, "Price range", -1)),
981
- d("div", vt, [
982
- g(n, {
1472
+ c("fieldset", Be, [
1473
+ i[2] || (i[2] = c("span", { class: "form-label d-none d-md-block" }, "Price range", -1)),
1474
+ c("div", Oe, [
1475
+ _(l, {
983
1476
  class: "col-6",
984
1477
  label: "Minimum price",
985
1478
  id: "price-min",
986
1479
  "data-min": "true",
987
1480
  type: "select",
988
- options: e.pricemin
1481
+ options: t.pricemin
989
1482
  }, null, 8, ["options"]),
990
- g(n, {
1483
+ _(l, {
991
1484
  class: "col-6",
992
1485
  label: "Maximum price",
993
1486
  id: "price-max",
994
1487
  "data-max": "true",
995
1488
  type: "select",
996
- options: e.pricemax
1489
+ options: t.pricemax
997
1490
  }, null, 8, ["options"])
998
1491
  ])
999
1492
  ]),
1000
- d("fieldset", wt, [
1001
- s[3] || (s[3] = d("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1)),
1002
- d("div", $t, [
1003
- g(n, {
1493
+ c("fieldset", Ue, [
1494
+ i[3] || (i[3] = c("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1)),
1495
+ c("div", We, [
1496
+ _(l, {
1004
1497
  class: "col-6",
1005
1498
  label: "Minimum beds",
1006
1499
  id: "beds-min",
1007
1500
  "data-min": "true",
1008
1501
  type: "select",
1009
- options: e.bedsmin
1502
+ options: t.bedsmin
1010
1503
  }, null, 8, ["options"]),
1011
- g(n, {
1504
+ _(l, {
1012
1505
  class: "col-6",
1013
1506
  label: "Maximum beds",
1014
1507
  id: "beds-max",
1015
1508
  "data-max": "true",
1016
1509
  type: "select",
1017
- options: e.bedsmax
1510
+ options: t.bedsmax
1018
1511
  }, null, 8, ["options"])
1019
1512
  ])
1020
1513
  ]),
1021
- d("fieldset", kt, [
1022
- g(n, {
1514
+ c("fieldset", Ge, [
1515
+ _(l, {
1023
1516
  label: "Property type",
1024
1517
  id: "property-type",
1025
1518
  type: "select",
1026
- options: e.propertytypes
1519
+ options: t.propertytypes
1027
1520
  }, null, 8, ["options"])
1028
1521
  ]),
1029
- s[4] || (s[4] = d("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
1030
- d("button", {
1522
+ i[4] || (i[4] = c("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
1523
+ c("button", {
1031
1524
  class: "btn w-100 me-0",
1032
1525
  type: "submit",
1033
1526
  value: "submit"
1034
1527
  }, "Search")
1035
1528
  ], -1))
1036
- ], 8, yt)
1529
+ ], 8, Fe)
1037
1530
  ]),
1038
- u(t.$slots, "after")
1531
+ m(e.$slots, "after")
1039
1532
  ], 512);
1040
1533
  }
1041
- const Is = /* @__PURE__ */ m(ht, [["render", At]]), Lt = {
1042
- components: {},
1043
- name: "Nav",
1534
+ const ba = /* @__PURE__ */ u(Ie, [["render", Ke]]), Qe = {
1535
+ name: "Card",
1536
+ created() {
1537
+ this.$nextTick(function() {
1538
+ import("./record-card.component.min-BtPkgEIY.js").then((e) => {
1539
+ window.customElements.get("iam-record-card") || window.customElements.define("iam-record-card", e.default);
1540
+ }).catch((e) => {
1541
+ console.log(e.message);
1542
+ });
1543
+ });
1544
+ }
1545
+ };
1546
+ function Ye(e, i, t, n, s, a) {
1547
+ return r(), o("iam-record-card", null, [
1548
+ m(e.$slots, "default")
1549
+ ]);
1550
+ }
1551
+ const ya = /* @__PURE__ */ u(Qe, [["render", Ye]]), Je = {
1552
+ name: "Search",
1044
1553
  mounted() {
1045
1554
  this.$nextTick(function() {
1046
- import("./nav.component.min-4b5ea00c.mjs").then((t) => {
1047
- window.customElements.get("iam-nav") || window.customElements.define("iam-nav", t.default);
1048
- }).catch((t) => {
1049
- console.log(t.message);
1555
+ import("./search.component.min-CtMgQ1j2.js").then((e) => {
1556
+ window.customElements.get("iam-search") || window.customElements.define("iam-search", e.default);
1557
+ }).catch((e) => {
1558
+ console.log(e.message);
1050
1559
  });
1051
1560
  });
1052
- },
1053
- methods: {}
1054
- }, St = { ref: "wrapper" };
1055
- function xt(t, s, e, i, r, a) {
1056
- return o(), l("iam-nav", St, [
1057
- u(t.$slots, "default")
1058
- ], 512);
1561
+ }
1562
+ };
1563
+ function Xe(e, i, t, n, s, a) {
1564
+ return r(), o("iam-search", null, [
1565
+ m(e.$slots, "default")
1566
+ ]);
1059
1567
  }
1060
- const Ds = /* @__PURE__ */ m(Lt, [["render", xt]]);
1061
- const qt = {
1062
- name: "Stepper",
1063
- props: {
1064
- label: {
1065
- type: String,
1066
- required: !1
1067
- },
1068
- endlabel: {
1069
- type: String,
1070
- required: !1,
1071
- default: "Complete"
1072
- }
1568
+ const _a = /* @__PURE__ */ u(Je, [["render", Xe]]), Ze = {
1569
+ name: "Slider",
1570
+ mounted() {
1571
+ this.$nextTick(function() {
1572
+ import("./slider.component.min-CZEAwgE9.js").then((e) => {
1573
+ window.customElements.get("iam-slider") || window.customElements.define("iam-slider", e.default);
1574
+ }).catch((e) => {
1575
+ console.log(e.message);
1576
+ });
1577
+ });
1073
1578
  }
1074
- }, Tt = { class: "container" }, Et = ["aria-label"], Ht = {
1075
- key: 0,
1076
- class: "h6 stepper__start"
1077
- }, Mt = { class: "list-unstyled" }, Ct = { class: "h6 stepper__end" };
1078
- function Nt(t, s, e, i, r, a) {
1079
- return o(), l("div", Tt, [
1080
- d("nav", {
1081
- class: "stepper",
1082
- "aria-label": e.label ? e.label : "Progress"
1083
- }, [
1084
- e.label ? (o(), l("span", Ht, _(e.label), 1)) : h("", !0),
1085
- d("ol", Mt, [
1086
- u(t.$slots, "default")
1087
- ]),
1088
- d("span", Ct, _(e.endlabel), 1)
1089
- ], 8, Et)
1579
+ };
1580
+ function ti(e, i, t, n, s, a) {
1581
+ return r(), o("iam-slider", null, [
1582
+ m(e.$slots, "default")
1090
1583
  ]);
1091
1584
  }
1092
- const Vs = /* @__PURE__ */ m(qt, [["render", Nt]]);
1093
- const Rt = {
1585
+ const va = /* @__PURE__ */ u(Ze, [["render", ti]]), ei = {
1094
1586
  name: "Snapshot",
1095
1587
  props: {
1096
1588
  items: {
@@ -1098,33 +1590,64 @@ const Rt = {
1098
1590
  required: !0
1099
1591
  }
1100
1592
  }
1101
- }, Pt = {
1593
+ }, ii = {
1102
1594
  class: "container snapshot",
1103
1595
  ref: "wrapper"
1104
- }, jt = { class: "row" }, It = ["href"], Dt = { class: "lead snapshot__title" }, Vt = { class: "stat" };
1105
- function Ft(t, s, e, i, r, a) {
1106
- return o(), l("div", Pt, [
1107
- u(t.$slots, "default"),
1108
- d("div", jt, [
1109
- (o(!0), l($, null, k(e.items, (n, c) => (o(), l("div", {
1596
+ }, ai = { class: "row" }, ni = ["href"], si = { class: "lead snapshot__title" }, oi = { class: "stat" };
1597
+ function ri(e, i, t, n, s, a) {
1598
+ return r(), o("div", ii, [
1599
+ m(e.$slots, "default"),
1600
+ c("div", ai, [
1601
+ (r(!0), o(w, null, $(t.items, (l, d) => (r(), o("div", {
1110
1602
  class: "col",
1111
- key: c
1603
+ key: d
1112
1604
  }, [
1113
- n.link ? (o(), l("a", {
1605
+ l.link ? (r(), o("a", {
1114
1606
  key: 0,
1115
- href: n.link
1116
- }, "View " + _(n.title), 9, It)) : h("", !0),
1117
- d("div", {
1118
- class: y(`snapshot__item ${n.bg ? "bg-" + n.bg : ""}`)
1607
+ href: l.link
1608
+ }, "View " + y(l.title), 9, ni)) : p("", !0),
1609
+ c("div", {
1610
+ class: b(`snapshot__item ${l.bg ? "bg-" + l.bg : ""}`)
1119
1611
  }, [
1120
- d("span", Dt, _(n.title), 1),
1121
- d("span", Vt, _(n.number), 1)
1612
+ c("span", si, y(l.title), 1),
1613
+ c("span", oi, y(l.number), 1)
1122
1614
  ], 2)
1123
1615
  ]))), 128))
1124
1616
  ])
1125
1617
  ], 512);
1126
1618
  }
1127
- const Fs = /* @__PURE__ */ m(Rt, [["render", Ft]]), zt = {
1619
+ const wa = /* @__PURE__ */ u(ei, [["render", ri]]), li = {
1620
+ name: "Stepper",
1621
+ props: {
1622
+ label: {
1623
+ type: String,
1624
+ required: !1
1625
+ },
1626
+ endlabel: {
1627
+ type: String,
1628
+ required: !1,
1629
+ default: "Complete"
1630
+ }
1631
+ }
1632
+ }, ci = { class: "container" }, di = ["aria-label"], mi = {
1633
+ key: 0,
1634
+ class: "h6 stepper__start"
1635
+ }, ui = { class: "list-unstyled" }, pi = { class: "h6 stepper__end" };
1636
+ function hi(e, i, t, n, s, a) {
1637
+ return r(), o("div", ci, [
1638
+ c("nav", {
1639
+ class: "stepper",
1640
+ "aria-label": t.label ? t.label : "Progress"
1641
+ }, [
1642
+ t.label ? (r(), o("span", mi, y(t.label), 1)) : p("", !0),
1643
+ c("ol", ui, [
1644
+ m(e.$slots, "default")
1645
+ ]),
1646
+ c("span", pi, y(t.endlabel), 1)
1647
+ ], 8, di)
1648
+ ]);
1649
+ }
1650
+ const $a = /* @__PURE__ */ u(li, [["render", hi]]), fi = {
1128
1651
  name: "Stepper",
1129
1652
  props: {
1130
1653
  url: {
@@ -1140,43 +1663,42 @@ const Fs = /* @__PURE__ */ m(Rt, [["render", Ft]]), zt = {
1140
1663
  required: !1
1141
1664
  }
1142
1665
  }
1143
- }, Bt = ["href", "aria-current"], Ot = {
1666
+ }, gi = ["href", "aria-current"], bi = {
1144
1667
  key: 0,
1145
1668
  class: "visually-hidden"
1146
1669
  };
1147
- function Ut(t, s, e, i, r, a) {
1148
- return o(), l("li", null, [
1149
- d("a", {
1150
- href: e.url,
1151
- class: y(`${e.status ? "bg-" + e.status : ""}${typeof e.current < "u" ? "current" : ""}`),
1152
- "aria-current": typeof e.current < "u" ? "step" : !1
1670
+ function yi(e, i, t, n, s, a) {
1671
+ return r(), o("li", null, [
1672
+ c("a", {
1673
+ href: t.url,
1674
+ class: b(`${t.status ? "bg-" + t.status : ""}${typeof t.current < "u" ? "current" : ""}`),
1675
+ "aria-current": typeof t.current < "u" ? "step" : !1
1153
1676
  }, [
1154
- d("span", null, [
1155
- u(t.$slots, "default")
1677
+ c("span", null, [
1678
+ m(e.$slots, "default")
1156
1679
  ]),
1157
- e.status ? (o(), l("em", Ot, " - status: " + _(e.status), 1)) : h("", !0)
1158
- ], 10, Bt)
1680
+ t.status ? (r(), o("em", bi, " - status: " + y(t.status), 1)) : p("", !0)
1681
+ ], 10, gi)
1159
1682
  ]);
1160
1683
  }
1161
- const zs = /* @__PURE__ */ m(zt, [["render", Ut]]);
1162
- const Wt = {
1684
+ const ka = /* @__PURE__ */ u(fi, [["render", yi]]), _i = {
1163
1685
  name: "Tabs",
1164
1686
  created() {
1165
1687
  this.$nextTick(function() {
1166
- import("./tabs.component.min-fbdb72f4.mjs").then((t) => {
1167
- window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", t.default);
1168
- }).catch((t) => {
1169
- console.log(t.message);
1688
+ import("./tabs.component.min-dz_TBiCa.js").then((e) => {
1689
+ window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", e.default);
1690
+ }).catch((e) => {
1691
+ console.log(e.message);
1170
1692
  });
1171
1693
  });
1172
1694
  }
1173
- }, Kt = { ref: "wrapper" };
1174
- function Gt(t, s, e, i, r, a) {
1175
- return o(), l("iam-tabs", Kt, [
1176
- u(t.$slots, "default")
1695
+ }, vi = { ref: "wrapper" };
1696
+ function wi(e, i, t, n, s, a) {
1697
+ return r(), o("iam-tabs", vi, [
1698
+ m(e.$slots, "default")
1177
1699
  ], 512);
1178
1700
  }
1179
- const Bs = /* @__PURE__ */ m(Wt, [["render", Gt]]), Qt = {
1701
+ const Aa = /* @__PURE__ */ u(_i, [["render", wi]]), $i = {
1180
1702
  name: "Tab",
1181
1703
  props: {
1182
1704
  title: {
@@ -1198,531 +1720,204 @@ const Bs = /* @__PURE__ */ m(Wt, [["render", Gt]]), Qt = {
1198
1720
  isDisabled: !!this.disabled
1199
1721
  };
1200
1722
  }
1201
- }, Yt = { class: "tab" }, Jt = ["innerHTML"];
1202
- function Xt(t, s, e, i, r, a) {
1203
- return o(), l("details", Yt, [
1204
- d("summary", {
1205
- innerHTML: e.title,
1206
- class: y({ disabled: r.isDisabled })
1207
- }, null, 10, Jt),
1208
- u(t.$slots, "default")
1723
+ }, ki = { class: "tab" }, Ai = ["innerHTML"];
1724
+ function xi(e, i, t, n, s, a) {
1725
+ return r(), o("details", ki, [
1726
+ c("summary", {
1727
+ innerHTML: t.title,
1728
+ class: b({ disabled: s.isDisabled })
1729
+ }, null, 10, Ai),
1730
+ m(e.$slots, "default")
1209
1731
  ]);
1210
1732
  }
1211
- const Os = /* @__PURE__ */ m(Qt, [["render", Xt]]);
1212
- let R = C.props;
1213
- R.fields.required = !1;
1214
- const Zt = {
1215
- components: {
1216
- Table: C,
1217
- Input: N
1218
- },
1219
- data() {
1220
- return {
1221
- itemsData: [...this.items]
1222
- // Redefine data to avoid bleeding of data to other components
1223
- };
1224
- },
1225
- methods: {
1226
- submitForm: function(t) {
1227
- console.log(this);
1228
- const s = new FormData(t.target);
1229
- let e = /* @__PURE__ */ new Date();
1230
- const i = e.getFullYear();
1231
- let r = e.getMonth() + 1, a = e.getDate();
1232
- a < 10 && (a = "0" + a), r < 10 && (r = "0" + r), e = a + "/" + r + "/" + i, this.itemsData.unshift({
1233
- date_added: e,
1234
- user: s.get("user"),
1235
- note: s.get("addNote")
1236
- }), this.$emit("formSubmitted", t);
1237
- }
1238
- },
1239
- name: "NoteFeed",
1240
- props: {
1241
- user: {
1242
- type: String,
1243
- required: !0
1733
+ const xa = /* @__PURE__ */ u($i, [["render", xi]]);
1734
+ function Li(e) {
1735
+ let i;
1736
+ const t = e.querySelector(".testimonial__images"), n = t.querySelectorAll("img").length;
1737
+ if (n == 1)
1738
+ return !1;
1739
+ e.classList.add("testimonial--multi");
1740
+ const s = function(a) {
1741
+ const l = e.querySelector(".btn-next"), d = e.querySelector(".btn-prev");
1742
+ l.setAttribute("data-go", a + 1), d.setAttribute("data-go", a - 1), l.removeAttribute("disabled"), d.removeAttribute("disabled"), a == 1 ? d.setAttribute("disabled", !0) : a == n && l.setAttribute("disabled", !0);
1743
+ };
1744
+ t.addEventListener(
1745
+ "scroll",
1746
+ function() {
1747
+ clearTimeout(i), i = setTimeout(function() {
1748
+ const a = t.scrollWidth, l = t.scrollHeight, d = t.scrollLeft, h = t.scrollTop;
1749
+ let f = Math.round(d / a * n) + 1;
1750
+ d == 0 && h != 0 && (f = Math.round(h / l * n) + 1), e.setAttribute("data-show", f), s(f);
1751
+ }, 300);
1244
1752
  },
1245
- ...R,
1246
- title: {
1247
- type: String,
1248
- required: !1
1753
+ !1
1754
+ ), e.addEventListener(
1755
+ "click",
1756
+ function(a) {
1757
+ for (let l = a.target; l && l != this; l = l.parentNode)
1758
+ if (l.matches("[data-go]")) {
1759
+ const d = parseInt(l.getAttribute("data-go"));
1760
+ let h = 0, f = 0;
1761
+ const k = t.scrollWidth, g = t.scrollHeight;
1762
+ k > g ? f = Math.floor(k * ((d - 1) / n)) : h = Math.floor(g * ((d - 1) / n)), t.scroll({
1763
+ top: h,
1764
+ left: f,
1765
+ behavior: "smooth"
1766
+ });
1767
+ break;
1768
+ }
1249
1769
  },
1250
- method: {
1251
- type: String,
1252
- required: !1,
1253
- default: "post"
1770
+ !1
1771
+ );
1772
+ }
1773
+ const Si = {
1774
+ name: "Testimonial",
1775
+ props: {
1776
+ items: {
1777
+ type: Array,
1778
+ required: !0
1254
1779
  },
1255
- action: {
1780
+ background: {
1256
1781
  type: String,
1782
+ default: "light",
1257
1783
  required: !1
1258
1784
  }
1259
- }
1260
- }, es = { class: "container note-feed mb-2" }, ts = ["innerHTML"], ss = ["action", "method"], as = ["value"];
1261
- function is(t, s, e, i, r, a) {
1262
- const n = q("Table"), c = q("Input");
1263
- return o(), l("div", es, [
1264
- e.title ? (o(), l("span", {
1265
- key: 0,
1266
- class: "h3",
1267
- innerHTML: e.title
1268
- }, null, 8, ts)) : h("", !0),
1269
- g(n, w({
1270
- fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
1271
- items: r.itemsData
1272
- }, t.$props, { class: "mb-0" }), null, 16, ["items"]),
1273
- d("form", {
1274
- action: e.action,
1275
- method: e.method,
1276
- onSubmit: s[0] || (s[0] = O((p) => a.submitForm(...arguments), ["prevent"]))
1277
- }, [
1278
- d("input", {
1279
- type: "hidden",
1280
- value: e.user,
1281
- name: "user"
1282
- }, null, 8, as),
1283
- g(c, {
1284
- id: "addNote",
1285
- type: "textarea",
1286
- label: "Add note",
1287
- required: "",
1288
- class: "mw-100"
1289
- }),
1290
- s[1] || (s[1] = d("button", { class: "btn btn-tertiary" }, "Submit note", -1))
1291
- ], 40, ss)
1292
- ]);
1293
- }
1294
- const Us = /* @__PURE__ */ m(Zt, [["render", is]]), ns = {
1295
- name: "Applied Filter",
1785
+ },
1296
1786
  mounted() {
1297
- this.$nextTick(function() {
1298
- import("./applied-filters.component-02a1aead.mjs").then((t) => {
1299
- window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters", t.default);
1300
- }).catch((t) => {
1301
- console.log(t.message);
1302
- });
1303
- });
1787
+ Li(this.$refs.wrapper);
1304
1788
  }
1305
- };
1306
- function os(t, s, e, i, r, a) {
1307
- return o(), l("iam-applied-filters", null, [
1308
- u(t.$slots, "default")
1309
- ]);
1310
- }
1311
- const Ws = /* @__PURE__ */ m(ns, [["render", os]]);
1312
- /*!
1313
- * iamKey v7.1.0--beta7
1314
- * Copyright 2022-2025 iamproperty
1315
- */
1316
- function ls(t, s) {
1317
- rs(t, s);
1318
- }
1319
- function rs(t, s) {
1320
- let e;
1321
- s.addEventListener("keyup", (i) => {
1322
- clearTimeout(e), e = setTimeout(function() {
1323
- M(t, s.value);
1324
- }, 500);
1325
- }), s.addEventListener("change", (i) => {
1326
- clearTimeout(e), M(t, s.value);
1327
- });
1789
+ }, Ei = {
1790
+ class: "container testimonial mb-5",
1791
+ "data-show": "1",
1792
+ ref: "wrapper"
1793
+ }, qi = { class: "row" }, Ti = { class: "col-md-5 position-relative" }, Mi = { class: "testimonial__images" }, Hi = ["src"], Ci = { class: "col-md-7" }, Ni = { class: "testimonial__content" }, Ri = ["innerHTML"], Pi = ["innerHTML"], ji = { class: "testimonial__after" };
1794
+ function Ii(e, i, t, n, s, a) {
1795
+ return r(), o("div", Ei, [
1796
+ c("div", {
1797
+ class: b("bg-" + t.background)
1798
+ }, [
1799
+ c("div", qi, [
1800
+ c("div", Ti, [
1801
+ c("div", Mi, [
1802
+ (r(!0), o(w, null, $(t.items, (l, d) => (r(), o("img", {
1803
+ key: d,
1804
+ src: l.image ? l.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
1805
+ alt: "",
1806
+ class: b("h-100 w-100 object-cover" + (l.image ? "" : " opacity-0"))
1807
+ }, null, 10, Hi))), 128))
1808
+ ]),
1809
+ i[0] || (i[0] = c("div", { class: "testimonial__controls" }, [
1810
+ c("button", {
1811
+ "data-go": "0",
1812
+ disabled: "",
1813
+ class: "btn-prev"
1814
+ }, "Previous"),
1815
+ c("button", {
1816
+ "data-go": "2",
1817
+ class: "btn-next"
1818
+ }, "Next")
1819
+ ], -1))
1820
+ ]),
1821
+ c("div", Ci, [
1822
+ i[1] || (i[1] = c("h2", null, "What our customers think…", -1)),
1823
+ c("div", Ni, [
1824
+ (r(!0), o(w, null, $(t.items, (l, d) => (r(), o("blockquote", {
1825
+ key: d,
1826
+ class: b(l.class)
1827
+ }, [
1828
+ c("div", {
1829
+ innerHTML: l.quote
1830
+ }, null, 8, Ri),
1831
+ c("cite", {
1832
+ innerHTML: l.cite
1833
+ }, null, 8, Pi)
1834
+ ], 2))), 128))
1835
+ ]),
1836
+ c("div", ji, [
1837
+ m(e.$slots, "default")
1838
+ ])
1839
+ ])
1840
+ ]),
1841
+ i[2] || (i[2] = c("span", { class: "circle circle--dots d-none d-md-block" }, null, -1))
1842
+ ], 2)
1843
+ ], 512);
1328
1844
  }
1329
- const M = function(t, s) {
1330
- Array.from(t.querySelectorAll(":scope > li")).forEach((e, i) => {
1331
- const r = e.textContent.toLowerCase();
1332
- e.classList.add("d-none"), r.includes(s.toLowerCase()) && e.classList.remove("d-none");
1333
- }), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: s });
1334
- };
1335
- window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "filterlist" });
1336
- class ds extends HTMLElement {
1337
- constructor() {
1338
- super(), this.attachShadow({ mode: "open" });
1339
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, i = document.createElement("template");
1340
- i.innerHTML = `
1341
- <style>
1342
- @import "${e}";
1343
- ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
1344
-
1345
- :host {
1346
- margin-bottom: 1rem;
1347
- display:block;
1348
- }
1349
- :host(.mh-sm){
1350
- max-height: none!important;
1351
- }
1352
- :host(.mh-md){
1353
- max-height: none!important;
1354
- }
1355
- :host(.mh-lg){
1356
- max-height: none!important;
1845
+ const La = /* @__PURE__ */ u(Si, [["render", Ii]]), Vi = {
1846
+ name: "Timeline",
1847
+ props: {
1848
+ image: {
1849
+ type: String,
1850
+ required: !1
1357
1851
  }
1358
- </style>
1359
- <div class="form-control__wrapper">
1360
- <label for="search" class="visually-hidden">Search</label>
1361
- <span class="suffix" role="presentation"><slot name="icon"></slot></span>
1362
- <input name="search" id="search" type="text" class="form-control" autocomplete="off" placeholder="Search" part="search-input" />
1363
- </div>
1364
- <div class="list__wrapper" part="wrapper">
1365
- <slot></slot>
1366
- </div>
1367
- `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
1368
- }
1369
- connectedCallback() {
1370
- const s = this.classList.toString();
1371
- this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${s}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), ls(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
1372
- }
1373
- }
1374
- window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", ds);
1375
- const cs = {
1376
- name: "Filter list"
1377
- };
1378
- function us(t, s, e, i, r, a) {
1379
- return o(), l("iam-filterlist", null, [
1380
- u(t.$slots, "default")
1381
- ]);
1382
- }
1383
- const Ks = /* @__PURE__ */ m(cs, [["render", us]]);
1384
- function ms(t) {
1385
- if (t.hasAttribute("data-type") && t.getAttribute("data-type") == "toast") {
1386
- let s = document.querySelector(".notification__holder");
1387
- s || (s = document.createElement("div"), s.classList.add("notification__holder"), s.classList.add("container"), document.querySelector("body").appendChild(s)), t.closest(".notification__holder") || s.appendChild(t);
1388
1852
  }
1389
- if (t.setAttribute("role", "alert"), t.addEventListener("click", function(s) {
1390
- event && event.target instanceof HTMLElement && (event.target.closest("[data-dismiss-button]") || event.target.matches("[data-dismiss-button]")) && (s.preventDefault(), T(t));
1391
- }, !1), t.hasAttribute("data-timeout")) {
1392
- const s = t.getAttribute("data-timeout"), e = new ps(function() {
1393
- T(t);
1394
- }, s);
1395
- t.addEventListener("mouseenter", (i) => {
1396
- e.pause();
1397
- }), t.addEventListener("mouseleave", (i) => {
1398
- e.resume();
1399
- });
1400
- }
1401
- }
1402
- function ps(t, s) {
1403
- let e, i, r = s;
1404
- this.pause = function() {
1405
- window.clearTimeout(e), r -= /* @__PURE__ */ new Date() - i;
1406
- }, this.resume = function() {
1407
- i = /* @__PURE__ */ new Date(), window.clearTimeout(e), e = window.setTimeout(t, r);
1408
- }, this.resume();
1409
- }
1410
- const T = function(t) {
1411
- t.classList.add("d-none");
1412
- };
1413
- window.dataLayer = window.dataLayer || [];
1414
- window.dataLayer.push({
1415
- event: "customElementRegistered",
1416
- element: "Notification"
1417
- });
1418
- class hs extends HTMLElement {
1419
- constructor() {
1420
- super(), this.attachShadow({ mode: "open" });
1421
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, i = `@import "${s}/css/components/notification.css";`, r = `@import "${s}/css/components/notification.global.css";`, a = document.createElement("template");
1422
- a.innerHTML = `
1423
- <style>
1424
- @import "${e}";
1425
- ${i}
1426
- ${this.hasAttribute("data-css") ? `${this.getAttribute("data-css")}` : ""}
1427
- </style>
1428
-
1429
- <div class="notification">
1430
- <div class="notification__icon"><slot name="icon"></slot></div>
1431
- <div class="notification__inner"><div class="notification__text"><slot></slot></div><div class="notification__btns"><slot name="btns"></slot></div></div>
1432
- <div class="notification__dismiss"></div>
1433
- </div>
1434
- `, this.shadowRoot.appendChild(a.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${r}</style>`);
1435
- }
1436
- connectedCallback() {
1437
- var s, e, i, r, a;
1438
- const n = this, c = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
1439
- if (this.hasAttribute("data-type") ? this.classList.add(`bg-${c}`) : this.classList.add(`colour-${c}`), !this.querySelector("i"))
1440
- switch (c) {
1441
- case "danger":
1442
- this.innerHTML += '<i class="fa-solid fa-circle-exclamation" aria-hidden="true" slot="icon"></i>';
1443
- break;
1444
- case "warning":
1445
- this.innerHTML += '<i class="fa-solid fa-triangle-exclamation" aria-hidden="true" slot="icon"></i>';
1446
- break;
1447
- case "success":
1448
- this.innerHTML += '<i class="fa-solid fa-check-circle" aria-hidden="true" slot="icon"></i>';
1449
- break;
1450
- default:
1451
- this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
1452
- }
1453
- const p = this.querySelectorAll("a,button");
1454
- Array.from(p).forEach((f, v) => {
1455
- f.setAttribute("slot", "btns"), f.classList.add("link");
1456
- }), (p.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable"), p.length ? (r = (i = this.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector(".notification__btns")) === null || r === void 0 || r.classList.remove("empty") : (e = (s = this.shadowRoot) === null || s === void 0 ? void 0 : s.querySelector(".notification__btns")) === null || e === void 0 || e.classList.add("empty"), this.hasAttribute("data-dismiss") && ((a = this.shadowRoot.querySelector(".notification__dismiss")) === null || a === void 0 || (a.innerHTML = '<button data-dismiss-button part="dismiss-btn">Dismiss</button>'), this.shadowRoot.querySelector(".notification__dismiss [data-dismiss-button]").addEventListener("click", function(f) {
1457
- T(n);
1458
- }, !1)), ms(this);
1459
- }
1460
- }
1461
- const fs = {
1462
- name: "Notification",
1463
- props: {},
1464
- created() {
1465
- this.$nextTick(function() {
1466
- window.customElements.get("iam-notification") || window.customElements.define("iam-notification", hs);
1467
- });
1468
- }
1469
- };
1470
- function bs(t, s, e, i, r, a) {
1471
- return o(), l("iam-notification", null, [
1472
- u(t.$slots, "default")
1473
- ]);
1474
- }
1475
- const Gs = /* @__PURE__ */ m(fs, [["render", bs]]), ys = {
1476
- name: "Actionbar",
1477
- props: {},
1478
- mounted() {
1479
- this.$nextTick(function() {
1480
- import("./actionbar.component.min-f4d3c731.mjs").then((t) => {
1481
- window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", t.default);
1482
- }).catch((t) => {
1483
- console.log(t.message);
1484
- });
1485
- });
1486
- }
1487
- };
1488
- function _s(t, s, e, i, r, a) {
1489
- return o(), l("iam-actionbar", null, [
1490
- u(t.$slots, "default")
1853
+ }, Di = { class: "timeline" }, Fi = { class: "timeline__content" }, zi = ["src"];
1854
+ function Bi(e, i, t, n, s, a) {
1855
+ return r(), o("div", Di, [
1856
+ c("div", Fi, [
1857
+ m(e.$slots, "default")
1858
+ ]),
1859
+ t.image ? (r(), o("img", {
1860
+ key: 0,
1861
+ src: t.image,
1862
+ alt: ""
1863
+ }, null, 8, zi)) : p("", !0)
1491
1864
  ]);
1492
1865
  }
1493
- const Qs = /* @__PURE__ */ m(ys, [["render", _s]]);
1494
- /*!
1495
- * iamKey v7.1.0--beta7
1496
- * Copyright 2022-2025 iamproperty
1497
- */
1498
- class P extends HTMLElement {
1499
- constructor() {
1500
- super(), this.attachShadow({ mode: "open" });
1501
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, i = document.createElement("template");
1502
- i.innerHTML = `
1503
- <style>
1504
- @import "${e}";
1505
- :host{container-type:inline-size;display:block}.pagination{display:block}@container (width > 23.4375em){.pagination{display:flex;align-items:center;justify-content:space-between !important;padding-top:2rem}}.pagination>div{display:flex;align-items:center}.pagination div:is(.page-jump,.per-page){border:1px solid var(--colour-light);height:3.25rem;display:none;align-items:center;padding-inline:1rem}.pagination div:is(.page-jump,.per-page) .select--minimal{height:calc(3.25rem - 1em);line-height:calc(3.25rem - 1em);margin-left:-1rem;font-weight:bold}.pagination div:is(.page-jump,.per-page) div:has(>select){margin-bottom:0}.pagination div:is(.page-jump,.per-page) div:has(>select):after{top:50%}.page-jump{border-right:none !important}.total-pages{white-space:nowrap}:host([data-page-jump][data-minimal]) .page-jump{display:flex !important}@container (width > 23.4375em){:host([data-page-jump]) .page-jump{display:flex !important}}@container (width > 23.4375em){:host([data-per-page]:not([data-page-jump][data-item-count])) .per-page{display:flex !important}}@container (width > 48em){:host([data-per-page][data-page-jump][data-item-count]) .per-page{display:flex !important}}.pagination>.item-count{display:block;text-align:center;margin-bottom:1rem;margin-inline:auto}@container (width > 23.4375em){.pagination>.item-count{display:none}:host([data-item-count]) .pagination>.item-count{display:flex !important;margin:0}}*:where(.prev,.next){border:1px solid var(--colour-light);line-height:3.25rem;height:3.25rem;margin:0;display:none;background:none;padding-inline:1rem;color:var(--colour-body)}@container (width > 23.4375em){*:where(.prev,.next){display:inline-block}}*:where(.prev,.next):after{margin-left:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}*:where(.prev,.next):is(:hover,:focus):not(:disabled){background-color:var(--pagination-link-color);color:var(--colour-hover)}*:where(.prev,.next):is(:active):not(:disabled){background-color:var(--pagination-link-color);color:var(--colour-active)}*:where(.prev,.next):disabled:after,*:where(.prev,.next):disabled:before{color:inherit !important}:host([data-minimal]) .pagination{justify-content:flex-end}@container (width > 23.4375em){:host([data-minimal]) .pagination{justify-content:space-between}}:host([data-minimal]) *:where(.prev,.next){display:inline-block !important}.prev{border-right:none}.prev:after{display:none}.prev:before{margin-right:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}.mobile-controls{display:block}:host([data-minimal]) .pagination{padding-top:1.5rem;display:flex;align-items:center;justify-content:flex-end}:host([data-minimal]) *:is(.mobile-controls,.item-count){display:none}@container (width > 23.4375em){.mobile-controls{display:none !important}:host([data-item-count]) .item-count{display:flex !important}}.fa-spin{display:none !important;font-size:3rem;color:var(--colour-info)}:host([data-loading]) .mobile-controls{padding-top:2rem}:host([data-loading]) .item-count,:host([data-loading]) .mobile-controls>*:not(.fa-spin){display:none !important}:host([data-loading]) .fa-spin{display:block !important;margin:auto}/*# sourceMappingURL=assets/css/components/pagination.css.map */
1506
-
1507
-
1508
- ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
1509
- </style>
1510
- <link rel="stylesheet" href="https://kit.fontawesome.com/26fdbf0179.css" crossorigin="anonymous">
1511
- <div class="pagination d-none">
1512
-
1513
- <div class="minimal" part="minimal">
1514
- <div class="page-jump">
1515
- <div><select class="select--minimal"></select></div>
1516
- <span class="total-pages"></span>
1517
- </div>
1518
-
1519
- <button class="prev" disabled>Prev</button>
1520
- <button class="next" disabled>Next</button>
1521
- </div>
1522
-
1523
- <div class="item-count" part="item-count"></div>
1524
- <div class="per-page" part="per-page">
1525
- <div>
1526
- <select class="select--minimal">
1527
- <option value="15">15</option>
1528
- <option value="25">25</option>
1529
- <option value="40">40</option>
1530
- <option value="50">50</option>
1531
- </select>
1532
- </div>
1533
- <span> / page</span>
1534
- </div>
1535
- <div class="mobile-controls m-auto text-center">
1536
- <i class="fa-solid fa-spinner fa-spin"></i>
1537
- <button class="load-more btn btn-primary m-auto">Load more</a>
1538
- </div>
1539
- </div>
1540
- `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
1541
- }
1542
- connectedCallback() {
1543
- const s = new URLSearchParams(window.location.search);
1544
- this.hasAttribute("data-total") || this.setAttribute("data-total", 15), this.hasAttribute("data-page") || this.setAttribute("data-page", s.has("page") ? s.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", s.has("show") ? s.get("show") : 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", this.getAttribute("data-show"));
1545
- const e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), r = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".per-page select"), n = this.shadowRoot.querySelector(".load-more");
1546
- this.setup(), e.addEventListener("change", (c) => {
1547
- this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", c.target.value);
1548
- }), r.addEventListener("click", (c) => {
1549
- e.value = parseInt(e.value) + 1, e.dispatchEvent(new Event("change"));
1550
- }), i.addEventListener("click", (c) => {
1551
- e.value = parseInt(e.value) - 1, e.dispatchEvent(new Event("change"));
1552
- }), a.addEventListener("change", (c) => {
1553
- this.setAttribute("data-increment", c.target.value);
1554
- }), n.addEventListener("click", (c) => {
1555
- const p = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
1556
- this.setAttribute("data-show", p), p > parseInt(this.getAttribute("data-total")) && n.remove();
1557
- });
1558
- }
1559
- setup() {
1560
- const s = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), r = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), c = this.shadowRoot.querySelector(".total-pages"), p = parseInt(this.getAttribute("data-page")), f = parseInt(this.getAttribute("data-total")), v = parseInt(this.getAttribute("data-show")), b = parseInt(this.getAttribute("data-increment")), S = Math.ceil(f / b);
1561
- f > v && s.classList.remove("d-none");
1562
- let E = "";
1563
- for (let A = 1; A <= S; A++)
1564
- E += `<option value="${A}" ${A == p ? "selected" : ""}>${A}</option>`;
1565
- e.innerHTML = E, c.innerHTML = `of ${S}`, p == S ? r.setAttribute("disabled", "disabled") : r.removeAttribute("disabled"), p == 1 ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled");
1566
- const j = p == 1 ? 1 : (p - 1) * v + 1, H = p == 1 ? v : p * v;
1567
- a.innerHTML = `${j} - ${H > f ? f : H} of ${f} items`;
1568
- const I = [15, 25, 40, 50];
1569
- b && n.value != b && !I.includes(b) && (n.innerHTML = `<option value="${b}">${b}</option>
1570
- <option value="${b * 2}">${b * 2}</option>
1571
- <option value="${b * 3}">${b * 3}</option>
1572
- <option value="${b * 4}">${b * 4}</option>`), n.value = b;
1573
- }
1574
- static get observedAttributes() {
1575
- return ["data-total", "data-increment", "data-page", "data-show"];
1576
- }
1577
- attributeChangedCallback(s, e, i) {
1578
- switch (s) {
1579
- case "data-total": {
1580
- e != i && (this.setAttribute("data-page", 1), this.setup());
1581
- break;
1582
- }
1583
- case "data-show": {
1584
- e != i && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: i } })));
1585
- break;
1586
- }
1587
- case "data-increment": {
1588
- e != i && (this.setAttribute("data-show", i), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: i } })));
1589
- break;
1590
- }
1591
- case "data-page": {
1592
- e && e != i && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: i } })));
1593
- break;
1594
- }
1595
- }
1596
- }
1597
- }
1598
- const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1599
- __proto__: null,
1600
- default: P
1601
- }, Symbol.toStringTag, { value: "Module" })), vs = {
1602
- name: "Pagination",
1603
- props: {},
1604
- computed: {},
1866
+ const Sa = /* @__PURE__ */ u(Vi, [["render", Bi]]), Oi = {
1867
+ name: "Video card",
1605
1868
  created() {
1606
1869
  this.$nextTick(function() {
1607
- window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", P);
1608
- });
1609
- },
1610
- updated() {
1611
- }
1612
- };
1613
- function ws(t, s, e, i, r, a) {
1614
- return o(), l("iam-pagination");
1615
- }
1616
- const Ys = /* @__PURE__ */ m(vs, [["render", ws]]), $s = {
1617
- name: "Address Lookup",
1618
- mounted() {
1619
- this.$nextTick(function() {
1620
- import("./address-lookup.component.min-47915c4e.mjs").then((t) => {
1621
- window.customElements.get("iam-address-lookup") || window.customElements.define("iam-address-lookup", t.default);
1622
- }).catch((t) => {
1623
- console.log(t.message);
1870
+ import("./video-card.component.min-BLO-nA3j.js").then((e) => {
1871
+ window.customElements.get("iam-video-card") || window.customElements.define("iam-video-card", e.default);
1872
+ }).catch((e) => {
1873
+ console.log(e.message);
1624
1874
  });
1625
1875
  });
1626
1876
  }
1627
1877
  };
1628
- function ks(t, s, e, i, r, a) {
1629
- return o(), l("iam-address-lookup", null, [
1630
- u(t.$slots, "default")
1631
- ]);
1632
- }
1633
- const Js = /* @__PURE__ */ m($s, [["render", ks]]);
1634
- window.dataLayer = window.dataLayer || [];
1635
- window.dataLayer.push({
1636
- event: "customElementRegistered",
1637
- element: "collapsible side menu"
1638
- });
1639
- class As extends HTMLElement {
1640
- constructor() {
1641
- super(), this.attachShadow({ mode: "open" });
1642
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, i = `@import "${s}/css/components/collapsible-side.css";`, r = document.createElement("template");
1643
- r.innerHTML = `
1644
- <style class="styles">
1645
- @import "${e}";
1646
- ${i}
1647
- ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
1648
- </style>
1649
- <link rel="stylesheet" href="https://kit.fontawesome.com/26fdbf0179.css" crossorigin="anonymous">
1650
- <div class="container" part="container">
1651
-
1652
- <div class="side-menu" part="side-menu">
1653
- <button class="btn btn-compact fa-chevron-right btn-secondary btn-sm btn-collapse" part="btn">Open or close Collapsible menu</button>
1654
- <div class="side-menu-content closed" part="side-menu-content">
1655
- <slot name="menu"></slot>
1656
- </div>
1657
- </div>
1658
-
1659
- <div class="main-content" part="main-content">
1660
- <slot></slot>
1661
- </div>
1662
-
1663
- </div>
1664
- `, this.shadowRoot.appendChild(r.content.cloneNode(!0));
1665
- }
1666
- connectedCallback() {
1667
- const s = this.shadowRoot.querySelector(".side-menu"), e = this.shadowRoot.querySelector(".side-menu-content"), i = this.shadowRoot.querySelector(".main-content"), r = this.shadowRoot.querySelector(".side-menu > .btn");
1668
- this.hasAttribute("data-css") && this.shadowRoot.querySelector(".styles").insertAdjacentHTML("beforeend", `@import "${this.getAttribute("data-css")}";`), this.hasAttribute("data-title") || this.setAttribute("data-title", "configuration"), e.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), i.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)") && (this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("h4"), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("main-content__title")), this.hasAttribute("open") && window.innerWidth > 992 && (s.classList.add("open"), r.setAttribute("aria-expanded", !0)), r.addEventListener("click", (a) => {
1669
- s.classList.contains("open") ? (s.classList.remove("open"), r.removeAttribute("aria-expanded"), setTimeout(function() {
1670
- e.classList.add("closed");
1671
- }, 1e3), s.classList.add("pe-none"), setTimeout(function() {
1672
- s.classList.remove("pe-none");
1673
- }, 1e3)) : (e.classList.remove("closed"), setTimeout(function() {
1674
- s.classList.add("open"), r.setAttribute("aria-expanded", !0);
1675
- }, 100));
1676
- }), s.addEventListener("mouseenter", (a) => {
1677
- window.innerWidth > 992 && (s.classList.contains("open") || e.classList.remove("closed"), s.classList.add("hover"));
1678
- }), s.addEventListener("mousemove", (a) => {
1679
- window.innerWidth > 992 && (s.classList.contains("open") || e.classList.remove("closed"));
1680
- }), s.addEventListener("mouseleave", (a) => {
1681
- window.innerWidth > 992 && (s.classList.remove("hover"), s.classList.contains("open") || setTimeout(function() {
1682
- e.classList.add("closed");
1683
- }, 1e3));
1684
- });
1685
- }
1686
- }
1687
- window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", As);
1688
- const Ls = {
1689
- name: "CollapsibleSideMenu",
1690
- props: {},
1691
- mounted() {
1692
- }
1693
- };
1694
- function Ss(t, s, e, i, r, a) {
1695
- return o(), l("iam-collapsible-side", null, [
1696
- u(t.$slots, "default")
1878
+ function Ui(e, i, t, n, s, a) {
1879
+ return r(), o("iam-video-card", null, [
1880
+ m(e.$slots, "default")
1697
1881
  ]);
1698
1882
  }
1699
- const Xs = /* @__PURE__ */ m(Ls, [["render", Ss]]);
1883
+ const Ea = /* @__PURE__ */ u(Oi, [["render", Ui]]);
1700
1884
  export {
1701
- Es as Accordion,
1702
- Hs as AccordionItem,
1703
- Qs as Actionbar,
1704
- Js as AddressLookup,
1705
- Ws as AppliedFilters,
1706
- Ms as Banner,
1707
- Cs as Card,
1708
- Ns as Carousel,
1709
- Xs as CollapsibleSideMenu,
1710
- Ts as FileUpload,
1711
- Ks as Filterlist,
1712
- Rs as Header,
1713
- N as Input,
1714
- qs as Logo,
1715
- Ds as Nav,
1716
- Us as NoteFeed,
1717
- Gs as Notification,
1718
- Ys as Pagination,
1719
- Is as PropertySearchbar,
1720
- Fs as Snapshot,
1721
- zs as Step,
1722
- Vs as Stepper,
1723
- Os as Tab,
1724
- C as Table,
1725
- Bs as Tabs,
1726
- Ps as Testimonial,
1727
- js as Timeline
1885
+ Ki as Accordion,
1886
+ Qi as AccordionItem,
1887
+ Yi as Actionbar,
1888
+ Ji as AddressLookup,
1889
+ Xi as AppliedFilters,
1890
+ Zi as Banner,
1891
+ ta as BarChart,
1892
+ ea as BentoGrid,
1893
+ ia as Card,
1894
+ aa as Carousel,
1895
+ na as CollapsibleSideMenu,
1896
+ sa as FileUpload,
1897
+ oa as FilterCard,
1898
+ ra as Filterlist,
1899
+ la as Header,
1900
+ ca as InlineEdit,
1901
+ R as Input,
1902
+ Gi as Logo,
1903
+ ua as Menu,
1904
+ da as Multiselect,
1905
+ ma as Multistep,
1906
+ pa as Nav,
1907
+ ha as NoteFeed,
1908
+ fa as Notification,
1909
+ ga as Pagination,
1910
+ ba as PropertySearchbar,
1911
+ ya as RecordCard,
1912
+ _a as Search,
1913
+ va as Slider,
1914
+ wa as Snapshot,
1915
+ ka as Step,
1916
+ $a as Stepper,
1917
+ xa as Tab,
1918
+ P as Table,
1919
+ Aa as Tabs,
1920
+ La as Testimonial,
1921
+ Sa as Timeline,
1922
+ Ea as VideoCard
1728
1923
  };