framework7-svelte 6.3.15 → 7.0.0-beta.11

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 (544) hide show
  1. package/components/{accordion-content/accordion-content.d.ts → accordion-content.d.ts} +0 -0
  2. package/{esm/svelte → components}/accordion-content.svelte +3 -3
  3. package/components/{accordion-item/accordion-item.d.ts → accordion-item.d.ts} +0 -0
  4. package/{esm/svelte → components}/accordion-item.svelte +4 -4
  5. package/components/{accordion-toggle/accordion-toggle.d.ts → accordion-toggle.d.ts} +0 -0
  6. package/{esm/svelte → components}/accordion-toggle.svelte +3 -3
  7. package/components/{accordion/accordion.d.ts → accordion.d.ts} +0 -0
  8. package/{esm/svelte → components}/accordion.svelte +3 -3
  9. package/components/{actions-button/actions-button.d.ts → actions-button.d.ts} +0 -0
  10. package/{esm/svelte → components}/actions-button.svelte +4 -4
  11. package/components/{actions-group/actions-group.d.ts → actions-group.d.ts} +0 -0
  12. package/{esm/svelte → components}/actions-group.svelte +3 -3
  13. package/components/{actions-label/actions-label.d.ts → actions-label.d.ts} +0 -0
  14. package/{esm/svelte → components}/actions-label.svelte +3 -3
  15. package/components/{actions/actions.d.ts → actions.d.ts} +0 -0
  16. package/{esm/svelte → components}/actions.svelte +5 -5
  17. package/components/{app/app.d.ts → app.d.ts} +0 -0
  18. package/{esm/svelte → components}/app.svelte +3 -3
  19. package/components/{appbar/appbar.d.ts → appbar.d.ts} +0 -0
  20. package/{esm/svelte → components}/appbar.svelte +3 -3
  21. package/components/{area-chart/area-chart.d.ts → area-chart.d.ts} +0 -0
  22. package/{esm/svelte → components}/area-chart.svelte +3 -3
  23. package/components/{badge/badge.d.ts → badge.d.ts} +0 -0
  24. package/{esm/svelte → components}/badge.svelte +4 -4
  25. package/components/{block-footer/block-footer.d.ts → block-footer.d.ts} +0 -0
  26. package/{esm/svelte → components}/block-footer.svelte +3 -3
  27. package/components/{block-header/block-header.d.ts → block-header.d.ts} +0 -0
  28. package/{esm/svelte → components}/block-header.svelte +3 -3
  29. package/components/{block-title/block-title.d.ts → block-title.d.ts} +0 -0
  30. package/{esm/svelte → components}/block-title.svelte +3 -3
  31. package/components/{block/block.d.ts → block.d.ts} +0 -0
  32. package/{esm/svelte → components}/block.svelte +4 -4
  33. package/components/breadcrumbs-collapsed.d.ts +17 -0
  34. package/components/breadcrumbs-collapsed.svelte +21 -0
  35. package/components/breadcrumbs-item.d.ts +18 -0
  36. package/components/breadcrumbs-item.svelte +15 -0
  37. package/components/breadcrumbs-separator.d.ts +17 -0
  38. package/components/breadcrumbs-separator.svelte +11 -0
  39. package/components/breadcrumbs.d.ts +17 -0
  40. package/components/breadcrumbs.svelte +13 -0
  41. package/components/{button/button.d.ts → button.d.ts} +0 -0
  42. package/{esm/svelte → components}/button.svelte +6 -7
  43. package/components/{card-content/card-content.d.ts → card-content.d.ts} +0 -0
  44. package/{esm/svelte → components}/card-content.svelte +3 -3
  45. package/components/{card-footer/card-footer.d.ts → card-footer.d.ts} +0 -0
  46. package/{esm/svelte → components}/card-footer.svelte +3 -3
  47. package/components/{card-header/card-header.d.ts → card-header.d.ts} +0 -0
  48. package/{esm/svelte → components}/card-header.svelte +3 -3
  49. package/components/{card/card.d.ts → card.d.ts} +0 -0
  50. package/{esm/svelte → components}/card.svelte +4 -4
  51. package/components/{checkbox/checkbox.d.ts → checkbox.d.ts} +0 -0
  52. package/{esm/svelte → components}/checkbox.svelte +5 -4
  53. package/components/{chip/chip.d.ts → chip.d.ts} +0 -0
  54. package/{esm/svelte → components}/chip.svelte +5 -5
  55. package/components/{col/col.d.ts → col.d.ts} +0 -0
  56. package/{esm/svelte → components}/col.svelte +4 -4
  57. package/components/{fab-backdrop/fab-backdrop.d.ts → fab-backdrop.d.ts} +0 -0
  58. package/{esm/svelte → components}/fab-backdrop.svelte +2 -2
  59. package/components/{fab-button/fab-button.d.ts → fab-button.d.ts} +0 -0
  60. package/{esm/svelte → components}/fab-button.svelte +5 -5
  61. package/components/{fab-buttons/fab-buttons.d.ts → fab-buttons.d.ts} +0 -0
  62. package/{esm/svelte → components}/fab-buttons.svelte +3 -3
  63. package/components/{fab/fab.d.ts → fab.d.ts} +0 -0
  64. package/{esm/svelte → components}/fab.svelte +5 -5
  65. package/components/{gauge/gauge.d.ts → gauge.d.ts} +0 -0
  66. package/{esm/svelte → components}/gauge.svelte +16 -9
  67. package/components/{icon/icon.d.ts → icon.d.ts} +0 -0
  68. package/{esm/svelte → components}/icon.svelte +7 -6
  69. package/components/{input/input.d.ts → input.d.ts} +0 -0
  70. package/{esm/svelte → components}/input.svelte +4 -4
  71. package/components/{link/link.d.ts → link.d.ts} +0 -0
  72. package/{esm/svelte → components}/link.svelte +8 -8
  73. package/components/{list-button/list-button.d.ts → list-button.d.ts} +0 -0
  74. package/{esm/svelte → components}/list-button.svelte +5 -5
  75. package/components/{list-group/list-group.d.ts → list-group.d.ts} +0 -0
  76. package/{esm/svelte → components}/list-group.svelte +10 -7
  77. package/components/{list-index/list-index.d.ts → list-index.d.ts} +0 -0
  78. package/{esm/svelte → components}/list-index.svelte +4 -4
  79. package/components/{list-input/list-input.d.ts → list-input.d.ts} +0 -0
  80. package/{esm/svelte → components}/list-input.svelte +5 -5
  81. package/components/{list-item-cell/list-item-cell.d.ts → list-item-cell.d.ts} +0 -0
  82. package/{esm/svelte → components}/list-item-cell.svelte +3 -3
  83. package/components/{list-item-row/list-item-row.d.ts → list-item-row.d.ts} +0 -0
  84. package/{esm/svelte → components}/list-item-row.svelte +3 -3
  85. package/components/{list-item/list-item.d.ts → list-item.d.ts} +0 -0
  86. package/{esm/svelte → components}/list-item.svelte +8 -8
  87. package/components/{list/list.d.ts → list.d.ts} +0 -0
  88. package/{esm/svelte → components}/list.svelte +6 -6
  89. package/components/{login-screen-title/login-screen-title.d.ts → login-screen-title.d.ts} +0 -0
  90. package/{esm/svelte → components}/login-screen-title.svelte +3 -3
  91. package/components/{login-screen/login-screen.d.ts → login-screen.d.ts} +0 -0
  92. package/{esm/svelte → components}/login-screen.svelte +5 -5
  93. package/components/{menu-dropdown-item/menu-dropdown-item.d.ts → menu-dropdown-item.d.ts} +0 -0
  94. package/{esm/svelte → components}/menu-dropdown-item.svelte +4 -4
  95. package/components/{menu-dropdown/menu-dropdown.d.ts → menu-dropdown.d.ts} +0 -0
  96. package/{esm/svelte → components}/menu-dropdown.svelte +3 -3
  97. package/components/{menu-item/menu-item.d.ts → menu-item.d.ts} +0 -0
  98. package/{esm/svelte → components}/menu-item.svelte +7 -7
  99. package/components/{menu/menu.d.ts → menu.d.ts} +0 -0
  100. package/{esm/svelte → components}/menu.svelte +3 -3
  101. package/components/{message/message.d.ts → message.d.ts} +0 -0
  102. package/{esm/svelte → components}/message.svelte +3 -3
  103. package/components/{messagebar-attachment/messagebar-attachment.d.ts → messagebar-attachment.d.ts} +0 -0
  104. package/{esm/svelte → components}/messagebar-attachment.svelte +4 -4
  105. package/components/{messagebar-attachments/messagebar-attachments.d.ts → messagebar-attachments.d.ts} +0 -0
  106. package/{esm/svelte → components}/messagebar-attachments.svelte +3 -3
  107. package/components/{messagebar-sheet-image/messagebar-sheet-image.d.ts → messagebar-sheet-image.d.ts} +0 -0
  108. package/{esm/svelte → components}/messagebar-sheet-image.svelte +3 -3
  109. package/components/{messagebar-sheet-item/messagebar-sheet-item.d.ts → messagebar-sheet-item.d.ts} +0 -0
  110. package/{esm/svelte → components}/messagebar-sheet-item.svelte +3 -3
  111. package/components/{messagebar-sheet/messagebar-sheet.d.ts → messagebar-sheet.d.ts} +0 -0
  112. package/{esm/svelte → components}/messagebar-sheet.svelte +3 -3
  113. package/components/{messagebar/messagebar.d.ts → messagebar.d.ts} +0 -0
  114. package/{esm/svelte → components}/messagebar.svelte +4 -4
  115. package/components/{messages-title/messages-title.d.ts → messages-title.d.ts} +0 -0
  116. package/{esm/svelte → components}/messages-title.svelte +3 -3
  117. package/components/{messages/messages.d.ts → messages.d.ts} +0 -0
  118. package/{esm/svelte → components}/messages.svelte +4 -4
  119. package/components/{nav-left/nav-left.d.ts → nav-left.d.ts} +0 -0
  120. package/{esm/svelte → components}/nav-left.svelte +6 -5
  121. package/components/{nav-right/nav-right.d.ts → nav-right.d.ts} +0 -0
  122. package/{esm/svelte → components}/nav-right.svelte +3 -3
  123. package/components/{nav-title-large/nav-title-large.d.ts → nav-title-large.d.ts} +0 -0
  124. package/{esm/svelte → components}/nav-title-large.svelte +3 -3
  125. package/components/{nav-title/nav-title.d.ts → nav-title.d.ts} +0 -0
  126. package/{esm/svelte → components}/nav-title.svelte +3 -3
  127. package/components/{navbar/navbar.d.ts → navbar.d.ts} +0 -0
  128. package/{esm/svelte → components}/navbar.svelte +5 -5
  129. package/components/{page-content/page-content.d.ts → page-content.d.ts} +0 -0
  130. package/{esm/svelte → components}/page-content.svelte +5 -5
  131. package/components/{page/page.d.ts → page.d.ts} +0 -0
  132. package/{esm/svelte → components}/page.svelte +4 -4
  133. package/components/{panel/panel.d.ts → panel.d.ts} +0 -0
  134. package/{esm/svelte → components}/panel.svelte +4 -4
  135. package/components/{photo-browser/photo-browser.d.ts → photo-browser.d.ts} +0 -0
  136. package/{esm/svelte → components}/photo-browser.svelte +2 -2
  137. package/components/{pie-chart/pie-chart.d.ts → pie-chart.d.ts} +0 -0
  138. package/{esm/svelte → components}/pie-chart.svelte +3 -3
  139. package/components/{popover/popover.d.ts → popover.d.ts} +0 -0
  140. package/{esm/svelte → components}/popover.svelte +5 -5
  141. package/components/{popup/popup.d.ts → popup.d.ts} +0 -0
  142. package/{esm/svelte → components}/popup.svelte +5 -5
  143. package/components/{preloader/preloader.d.ts → preloader.d.ts} +0 -0
  144. package/{esm/svelte → components}/preloader.svelte +4 -4
  145. package/components/{progressbar/progressbar.d.ts → progressbar.d.ts} +0 -0
  146. package/{esm/svelte → components}/progressbar.svelte +4 -4
  147. package/components/{radio/radio.d.ts → radio.d.ts} +0 -0
  148. package/{esm/svelte → components}/radio.svelte +5 -4
  149. package/components/{range/range.d.ts → range.d.ts} +0 -0
  150. package/{esm/svelte → components}/range.svelte +4 -4
  151. package/components/{routable-modals/routable-modals.d.ts → routable-modals.d.ts} +0 -0
  152. package/{esm/svelte → components}/routable-modals.svelte +1 -1
  153. package/components/{router-context-provider/router-context-provider.d.ts → router-context-provider.d.ts} +0 -0
  154. package/{esm/svelte → components}/router-context-provider.svelte +0 -0
  155. package/components/{row/row.d.ts → row.d.ts} +0 -0
  156. package/{esm/svelte → components}/row.svelte +4 -4
  157. package/components/{searchbar/searchbar.d.ts → searchbar.d.ts} +0 -0
  158. package/{esm/svelte → components}/searchbar.svelte +4 -4
  159. package/components/{segmented/segmented.d.ts → segmented.d.ts} +0 -0
  160. package/{esm/svelte → components}/segmented.svelte +3 -3
  161. package/components/{sheet/sheet.d.ts → sheet.d.ts} +0 -0
  162. package/{esm/svelte → components}/sheet.svelte +5 -5
  163. package/components/{skeleton-avatar/skeleton-avatar.d.ts → skeleton-avatar.d.ts} +1 -0
  164. package/{esm/components → components}/skeleton-avatar.js +1 -0
  165. package/components/{skeleton-block/skeleton-block.d.ts → skeleton-block.d.ts} +1 -0
  166. package/{esm/components → components}/skeleton-block.js +1 -0
  167. package/components/{skeleton-image/skeleton-image.d.ts → skeleton-image.d.ts} +1 -0
  168. package/{esm/components → components}/skeleton-image.js +1 -0
  169. package/components/{skeleton-text/skeleton-text.d.ts → skeleton-text.d.ts} +1 -0
  170. package/{esm/components → components}/skeleton-text.js +1 -0
  171. package/components/{stepper/stepper.d.ts → stepper.d.ts} +0 -0
  172. package/{esm/svelte → components}/stepper.svelte +4 -4
  173. package/components/{subnavbar/subnavbar.d.ts → subnavbar.d.ts} +0 -0
  174. package/{esm/svelte → components}/subnavbar.svelte +3 -3
  175. package/components/{swipeout-actions/swipeout-actions.d.ts → swipeout-actions.d.ts} +0 -0
  176. package/{esm/svelte → components}/swipeout-actions.svelte +3 -3
  177. package/components/{swipeout-button/swipeout-button.d.ts → swipeout-button.d.ts} +0 -0
  178. package/{esm/svelte → components}/swipeout-button.svelte +5 -4
  179. package/components/{swiper-slide/swiper-slide.d.ts → swiper-slide.d.ts} +1 -0
  180. package/components/swiper-slide.js +3 -0
  181. package/components/{swiper/swiper.d.ts → swiper.d.ts} +1 -0
  182. package/components/swiper.js +3 -0
  183. package/components/{tab/tab.d.ts → tab.d.ts} +0 -0
  184. package/{esm/svelte → components}/tab.svelte +5 -5
  185. package/components/{tabs/tabs.d.ts → tabs.d.ts} +0 -0
  186. package/{esm/svelte → components}/tabs.svelte +3 -3
  187. package/components/{text-editor/text-editor.d.ts → text-editor.d.ts} +0 -0
  188. package/{esm/svelte → components}/text-editor.svelte +4 -4
  189. package/components/{toggle/toggle.d.ts → toggle.d.ts} +0 -0
  190. package/{esm/svelte → components}/toggle.svelte +5 -5
  191. package/components/{toolbar/toolbar.d.ts → toolbar.d.ts} +0 -0
  192. package/{esm/svelte → components}/toolbar.svelte +6 -6
  193. package/components/{treeview-item/treeview-item.d.ts → treeview-item.d.ts} +0 -0
  194. package/{esm/svelte → components}/treeview-item.svelte +5 -5
  195. package/components/{treeview/treeview.d.ts → treeview.d.ts} +0 -0
  196. package/{esm/svelte → components}/treeview.svelte +3 -3
  197. package/components/{use-icon/use-icon.d.ts → use-icon.d.ts} +0 -0
  198. package/{esm/svelte → components}/use-icon.svelte +0 -0
  199. package/components/{view/view.d.ts → view.d.ts} +0 -0
  200. package/{esm/svelte → components}/view.svelte +5 -5
  201. package/components/{views/views.d.ts → views.d.ts} +0 -0
  202. package/{esm/svelte → components}/views.svelte +3 -3
  203. package/framework7-svelte.d.ts +5 -1
  204. package/framework7-svelte.js +120 -0
  205. package/package.json +6 -5
  206. package/{esm/shared → shared}/components-router.js +78 -68
  207. package/{esm/shared → shared}/f7.js +17 -23
  208. package/shared/get-reactive-context.js +16 -0
  209. package/shared/get-router-initial-component.js +39 -0
  210. package/{esm/shared → shared}/list-context.js +0 -0
  211. package/{esm/shared → shared}/mixins.js +91 -77
  212. package/shared/modal-state-classes.js +9 -0
  213. package/{esm/shared → shared}/plugin.js +13 -14
  214. package/shared/rest-props.js +10 -0
  215. package/{esm/shared → shared}/router-context.js +0 -0
  216. package/shared/router-open-in-component.svelte +41 -0
  217. package/shared/router-open-in.js +47 -0
  218. package/{esm/shared → shared}/set-reactive-context.js +7 -7
  219. package/{esm/shared → shared}/tabbar-context.js +0 -0
  220. package/shared/use-icon.js +38 -0
  221. package/{esm/shared → shared}/use-route-props.js +5 -3
  222. package/{esm/shared → shared}/use-smart-select.js +8 -8
  223. package/shared/use-store.js +36 -0
  224. package/{esm/shared → shared}/use-tab.js +9 -9
  225. package/shared/use-theme.js +12 -0
  226. package/{esm/shared → shared}/use-tooltip.js +14 -11
  227. package/{esm/shared → shared}/utils.js +33 -40
  228. package/cjs/components/accordion-content.js +0 -93
  229. package/cjs/components/accordion-item.js +0 -159
  230. package/cjs/components/accordion-toggle.js +0 -93
  231. package/cjs/components/accordion.js +0 -95
  232. package/cjs/components/actions-button.js +0 -234
  233. package/cjs/components/actions-group.js +0 -93
  234. package/cjs/components/actions-label.js +0 -110
  235. package/cjs/components/actions.js +0 -259
  236. package/cjs/components/app.js +0 -124
  237. package/cjs/components/appbar.js +0 -295
  238. package/cjs/components/area-chart.js +0 -1162
  239. package/cjs/components/badge.js +0 -117
  240. package/cjs/components/block-footer.js +0 -93
  241. package/cjs/components/block-header.js +0 -93
  242. package/cjs/components/block-title.js +0 -105
  243. package/cjs/components/block.js +0 -209
  244. package/cjs/components/button.js +0 -1261
  245. package/cjs/components/card-content.js +0 -95
  246. package/cjs/components/card-footer.js +0 -93
  247. package/cjs/components/card-header.js +0 -93
  248. package/cjs/components/card.js +0 -790
  249. package/cjs/components/checkbox.js +0 -214
  250. package/cjs/components/chip.js +0 -507
  251. package/cjs/components/col.js +0 -448
  252. package/cjs/components/fab-backdrop.js +0 -76
  253. package/cjs/components/fab-button.js +0 -223
  254. package/cjs/components/fab-buttons.js +0 -95
  255. package/cjs/components/fab.js +0 -400
  256. package/cjs/components/gauge.js +0 -638
  257. package/cjs/components/icon.js +0 -275
  258. package/cjs/components/input.js +0 -2525
  259. package/cjs/components/link.js +0 -535
  260. package/cjs/components/list-button.js +0 -256
  261. package/cjs/components/list-group.js +0 -173
  262. package/cjs/components/list-index.js +0 -244
  263. package/cjs/components/list-input.js +0 -3905
  264. package/cjs/components/list-item-cell.js +0 -93
  265. package/cjs/components/list-item-row.js +0 -93
  266. package/cjs/components/list-item.js +0 -13256
  267. package/cjs/components/list.js +0 -940
  268. package/cjs/components/login-screen-title.js +0 -93
  269. package/cjs/components/login-screen.js +0 -211
  270. package/cjs/components/menu-dropdown-item.js +0 -368
  271. package/cjs/components/menu-dropdown.js +0 -145
  272. package/cjs/components/menu-item.js +0 -735
  273. package/cjs/components/menu.js +0 -97
  274. package/cjs/components/message.js +0 -1291
  275. package/cjs/components/messagebar-attachment.js +0 -218
  276. package/cjs/components/messagebar-attachments.js +0 -93
  277. package/cjs/components/messagebar-sheet-image.js +0 -159
  278. package/cjs/components/messagebar-sheet-item.js +0 -93
  279. package/cjs/components/messagebar-sheet.js +0 -93
  280. package/cjs/components/messagebar.js +0 -721
  281. package/cjs/components/messages-title.js +0 -93
  282. package/cjs/components/messages.js +0 -282
  283. package/cjs/components/nav-left.js +0 -235
  284. package/cjs/components/nav-right.js +0 -95
  285. package/cjs/components/nav-title-large.js +0 -97
  286. package/cjs/components/nav-title.js +0 -190
  287. package/cjs/components/navbar.js +0 -1004
  288. package/cjs/components/page-content.js +0 -575
  289. package/cjs/components/page.js +0 -808
  290. package/cjs/components/panel.js +0 -444
  291. package/cjs/components/photo-browser.js +0 -316
  292. package/cjs/components/pie-chart.js +0 -420
  293. package/cjs/components/popover.js +0 -256
  294. package/cjs/components/popup.js +0 -290
  295. package/cjs/components/preloader.js +0 -213
  296. package/cjs/components/progressbar.js +0 -131
  297. package/cjs/components/radio.js +0 -198
  298. package/cjs/components/range.js +0 -333
  299. package/cjs/components/routable-modals.js +0 -221
  300. package/cjs/components/router-context-provider.js +0 -67
  301. package/cjs/components/row.js +0 -423
  302. package/cjs/components/searchbar.js +0 -1217
  303. package/cjs/components/segmented.js +0 -395
  304. package/cjs/components/sheet.js +0 -394
  305. package/cjs/components/skeleton-avatar.js +0 -9
  306. package/cjs/components/skeleton-block.js +0 -9
  307. package/cjs/components/skeleton-image.js +0 -9
  308. package/cjs/components/skeleton-text.js +0 -9
  309. package/cjs/components/stepper.js +0 -547
  310. package/cjs/components/subnavbar.js +0 -268
  311. package/cjs/components/swipeout-actions.js +0 -116
  312. package/cjs/components/swipeout-button.js +0 -190
  313. package/cjs/components/swiper-slide.js +0 -9
  314. package/cjs/components/swiper.js +0 -9
  315. package/cjs/components/tab.js +0 -302
  316. package/cjs/components/tabs.js +0 -302
  317. package/cjs/components/text-editor.js +0 -364
  318. package/cjs/components/toggle.js +0 -259
  319. package/cjs/components/toolbar.js +0 -408
  320. package/cjs/components/treeview-item.js +0 -1120
  321. package/cjs/components/treeview.js +0 -93
  322. package/cjs/components/use-icon.js +0 -202
  323. package/cjs/components/view.js +0 -520
  324. package/cjs/components/views.js +0 -95
  325. package/cjs/framework7-svelte.js +0 -421
  326. package/cjs/shared/components-router.js +0 -243
  327. package/cjs/shared/f7.js +0 -132
  328. package/cjs/shared/get-reactive-context.js +0 -22
  329. package/cjs/shared/get-router-initial-component.js +0 -48
  330. package/cjs/shared/list-context.js +0 -9
  331. package/cjs/shared/mixins.js +0 -165
  332. package/cjs/shared/modal-state-classes.js +0 -17
  333. package/cjs/shared/plugin.js +0 -69
  334. package/cjs/shared/rest-props.js +0 -21
  335. package/cjs/shared/router-context.js +0 -7
  336. package/cjs/shared/set-reactive-context.js +0 -38
  337. package/cjs/shared/tabbar-context.js +0 -6
  338. package/cjs/shared/use-icon.js +0 -48
  339. package/cjs/shared/use-route-props.js +0 -23
  340. package/cjs/shared/use-smart-select.js +0 -36
  341. package/cjs/shared/use-store.js +0 -45
  342. package/cjs/shared/use-tab.js +0 -47
  343. package/cjs/shared/use-theme.js +0 -20
  344. package/cjs/shared/use-tooltip.js +0 -55
  345. package/cjs/shared/utils.js +0 -144
  346. package/components/accordion/package.json +0 -10
  347. package/components/accordion-content/package.json +0 -10
  348. package/components/accordion-item/package.json +0 -10
  349. package/components/accordion-toggle/package.json +0 -10
  350. package/components/actions/package.json +0 -10
  351. package/components/actions-button/package.json +0 -10
  352. package/components/actions-group/package.json +0 -10
  353. package/components/actions-label/package.json +0 -10
  354. package/components/app/package.json +0 -10
  355. package/components/appbar/package.json +0 -10
  356. package/components/area-chart/package.json +0 -10
  357. package/components/badge/package.json +0 -10
  358. package/components/block/package.json +0 -10
  359. package/components/block-footer/package.json +0 -10
  360. package/components/block-header/package.json +0 -10
  361. package/components/block-title/package.json +0 -10
  362. package/components/button/package.json +0 -10
  363. package/components/card/package.json +0 -10
  364. package/components/card-content/package.json +0 -10
  365. package/components/card-footer/package.json +0 -10
  366. package/components/card-header/package.json +0 -10
  367. package/components/checkbox/package.json +0 -10
  368. package/components/chip/package.json +0 -10
  369. package/components/col/package.json +0 -10
  370. package/components/fab/package.json +0 -10
  371. package/components/fab-backdrop/package.json +0 -10
  372. package/components/fab-button/package.json +0 -10
  373. package/components/fab-buttons/package.json +0 -10
  374. package/components/gauge/package.json +0 -10
  375. package/components/icon/package.json +0 -10
  376. package/components/input/package.json +0 -10
  377. package/components/link/package.json +0 -10
  378. package/components/list/package.json +0 -10
  379. package/components/list-button/package.json +0 -10
  380. package/components/list-group/package.json +0 -10
  381. package/components/list-index/package.json +0 -10
  382. package/components/list-input/package.json +0 -10
  383. package/components/list-item/package.json +0 -10
  384. package/components/list-item-cell/package.json +0 -10
  385. package/components/list-item-row/package.json +0 -10
  386. package/components/login-screen/package.json +0 -10
  387. package/components/login-screen-title/package.json +0 -10
  388. package/components/menu/package.json +0 -10
  389. package/components/menu-dropdown/package.json +0 -10
  390. package/components/menu-dropdown-item/package.json +0 -10
  391. package/components/menu-item/package.json +0 -10
  392. package/components/message/package.json +0 -10
  393. package/components/messagebar/package.json +0 -10
  394. package/components/messagebar-attachment/package.json +0 -10
  395. package/components/messagebar-attachments/package.json +0 -10
  396. package/components/messagebar-sheet/package.json +0 -10
  397. package/components/messagebar-sheet-image/package.json +0 -10
  398. package/components/messagebar-sheet-item/package.json +0 -10
  399. package/components/messages/package.json +0 -10
  400. package/components/messages-title/package.json +0 -10
  401. package/components/nav-left/package.json +0 -10
  402. package/components/nav-right/package.json +0 -10
  403. package/components/nav-title/package.json +0 -10
  404. package/components/nav-title-large/package.json +0 -10
  405. package/components/navbar/package.json +0 -10
  406. package/components/page/package.json +0 -10
  407. package/components/page-content/package.json +0 -10
  408. package/components/panel/package.json +0 -10
  409. package/components/photo-browser/package.json +0 -10
  410. package/components/pie-chart/package.json +0 -10
  411. package/components/popover/package.json +0 -10
  412. package/components/popup/package.json +0 -10
  413. package/components/preloader/package.json +0 -10
  414. package/components/progressbar/package.json +0 -10
  415. package/components/radio/package.json +0 -10
  416. package/components/range/package.json +0 -10
  417. package/components/routable-modals/package.json +0 -10
  418. package/components/router-context-provider/package.json +0 -10
  419. package/components/row/package.json +0 -10
  420. package/components/searchbar/package.json +0 -10
  421. package/components/segmented/package.json +0 -10
  422. package/components/sheet/package.json +0 -10
  423. package/components/skeleton-avatar/package.json +0 -10
  424. package/components/skeleton-block/package.json +0 -10
  425. package/components/skeleton-image/package.json +0 -10
  426. package/components/skeleton-text/package.json +0 -10
  427. package/components/stepper/package.json +0 -10
  428. package/components/subnavbar/package.json +0 -10
  429. package/components/swipeout-actions/package.json +0 -10
  430. package/components/swipeout-button/package.json +0 -10
  431. package/components/swiper/package.json +0 -10
  432. package/components/swiper-slide/package.json +0 -10
  433. package/components/tab/package.json +0 -10
  434. package/components/tabs/package.json +0 -10
  435. package/components/text-editor/package.json +0 -10
  436. package/components/toggle/package.json +0 -10
  437. package/components/toolbar/package.json +0 -10
  438. package/components/treeview/package.json +0 -10
  439. package/components/treeview-item/package.json +0 -10
  440. package/components/use-icon/package.json +0 -10
  441. package/components/view/package.json +0 -10
  442. package/components/views/package.json +0 -10
  443. package/esm/components/accordion-content.js +0 -108
  444. package/esm/components/accordion-item.js +0 -175
  445. package/esm/components/accordion-toggle.js +0 -108
  446. package/esm/components/accordion.js +0 -110
  447. package/esm/components/actions-button.js +0 -257
  448. package/esm/components/actions-group.js +0 -108
  449. package/esm/components/actions-label.js +0 -126
  450. package/esm/components/actions.js +0 -275
  451. package/esm/components/app.js +0 -143
  452. package/esm/components/appbar.js +0 -315
  453. package/esm/components/area-chart.js +0 -1189
  454. package/esm/components/badge.js +0 -134
  455. package/esm/components/block-footer.js +0 -108
  456. package/esm/components/block-header.js +0 -108
  457. package/esm/components/block-title.js +0 -120
  458. package/esm/components/block.js +0 -225
  459. package/esm/components/button.js +0 -1306
  460. package/esm/components/card-content.js +0 -110
  461. package/esm/components/card-footer.js +0 -108
  462. package/esm/components/card-header.js +0 -108
  463. package/esm/components/card.js +0 -816
  464. package/esm/components/checkbox.js +0 -234
  465. package/esm/components/chip.js +0 -539
  466. package/esm/components/col.js +0 -471
  467. package/esm/components/fab-backdrop.js +0 -88
  468. package/esm/components/fab-button.js +0 -248
  469. package/esm/components/fab-buttons.js +0 -110
  470. package/esm/components/fab.js +0 -428
  471. package/esm/components/gauge.js +0 -656
  472. package/esm/components/icon.js +0 -297
  473. package/esm/components/input.js +0 -2559
  474. package/esm/components/link.js +0 -581
  475. package/esm/components/list-button.js +0 -295
  476. package/esm/components/list-group.js +0 -189
  477. package/esm/components/list-index.js +0 -260
  478. package/esm/components/list-input.js +0 -3938
  479. package/esm/components/list-item-cell.js +0 -108
  480. package/esm/components/list-item-row.js +0 -108
  481. package/esm/components/list-item.js +0 -13302
  482. package/esm/components/list.js +0 -963
  483. package/esm/components/login-screen-title.js +0 -108
  484. package/esm/components/login-screen.js +0 -227
  485. package/esm/components/menu-dropdown-item.js +0 -403
  486. package/esm/components/menu-dropdown.js +0 -162
  487. package/esm/components/menu-item.js +0 -775
  488. package/esm/components/menu.js +0 -114
  489. package/esm/components/message.js +0 -1318
  490. package/esm/components/messagebar-attachment.js +0 -238
  491. package/esm/components/messagebar-attachments.js +0 -108
  492. package/esm/components/messagebar-sheet-image.js +0 -178
  493. package/esm/components/messagebar-sheet-item.js +0 -108
  494. package/esm/components/messagebar-sheet.js +0 -108
  495. package/esm/components/messagebar.js +0 -748
  496. package/esm/components/messages-title.js +0 -108
  497. package/esm/components/messages.js +0 -298
  498. package/esm/components/nav-left.js +0 -257
  499. package/esm/components/nav-right.js +0 -110
  500. package/esm/components/nav-title-large.js +0 -114
  501. package/esm/components/nav-title.js +0 -210
  502. package/esm/components/navbar.js +0 -1031
  503. package/esm/components/page-content.js +0 -599
  504. package/esm/components/page.js +0 -831
  505. package/esm/components/panel.js +0 -463
  506. package/esm/components/photo-browser.js +0 -321
  507. package/esm/components/pie-chart.js +0 -445
  508. package/esm/components/popover.js +0 -275
  509. package/esm/components/popup.js +0 -306
  510. package/esm/components/preloader.js +0 -226
  511. package/esm/components/progressbar.js +0 -146
  512. package/esm/components/radio.js +0 -218
  513. package/esm/components/range.js +0 -352
  514. package/esm/components/routable-modals.js +0 -242
  515. package/esm/components/router-context-provider.js +0 -74
  516. package/esm/components/row.js +0 -446
  517. package/esm/components/searchbar.js +0 -1244
  518. package/esm/components/segmented.js +0 -416
  519. package/esm/components/sheet.js +0 -413
  520. package/esm/components/stepper.js +0 -574
  521. package/esm/components/subnavbar.js +0 -290
  522. package/esm/components/swipeout-actions.js +0 -131
  523. package/esm/components/swipeout-button.js +0 -210
  524. package/esm/components/swiper-slide.js +0 -2
  525. package/esm/components/swiper.js +0 -2
  526. package/esm/components/tab.js +0 -335
  527. package/esm/components/tabs.js +0 -323
  528. package/esm/components/text-editor.js +0 -383
  529. package/esm/components/toggle.js +0 -279
  530. package/esm/components/toolbar.js +0 -429
  531. package/esm/components/treeview-item.js +0 -1156
  532. package/esm/components/treeview.js +0 -108
  533. package/esm/components/use-icon.js +0 -220
  534. package/esm/components/view.js +0 -560
  535. package/esm/components/views.js +0 -110
  536. package/esm/framework7-svelte-src.js +0 -105
  537. package/esm/framework7-svelte.js +0 -116
  538. package/esm/shared/get-reactive-context.js +0 -14
  539. package/esm/shared/get-router-initial-component.js +0 -40
  540. package/esm/shared/modal-state-classes.js +0 -10
  541. package/esm/shared/rest-props.js +0 -16
  542. package/esm/shared/use-icon.js +0 -41
  543. package/esm/shared/use-store.js +0 -36
  544. package/esm/shared/use-theme.js +0 -12
@@ -1,3905 +0,0 @@
1
- /* list-input.svelte generated by Svelte v3.38.2 */
2
- "use strict";
3
-
4
- const { SvelteComponent, append, assign, attr, binding_callbacks, check_outros, compute_rest_props, compute_slots, create_component, create_slot, destroy_component, detach, element, empty, exclude_internal_props, get_spread_object, get_spread_update, group_outros, init, insert, listen, mount_component, noop, run_all, safe_not_equal, select_option, set_attributes, set_data, space, text, transition_in, transition_out, update_slot } = require("svelte/internal");
5
- const { createEventDispatcher, onMount, afterUpdate, onDestroy } = require("svelte");
6
- const { colorClasses } = require("../shared/mixins");
7
- const { classNames, extend, plainText, createEmitter } = require("../shared/utils");
8
- const { restProps } = require("../shared/rest-props");
9
- const { app, f7ready } = require("../shared/f7");
10
- const { getReactiveContext } = require("../shared/get-reactive-context");
11
- const { default: TextEditor } = require("./text-editor");
12
- const get_content_end_slot_changes_1 = dirty => ({});
13
- const get_content_end_slot_context_1 = ctx => ({});
14
- const get_content_slot_changes_1 = dirty => ({});
15
- const get_content_slot_context_1 = ctx => ({});
16
- const get_inner_end_slot_changes_1 = dirty => ({});
17
- const get_inner_end_slot_context_1 = ctx => ({});
18
- const get_inner_slot_changes_1 = dirty => ({});
19
- const get_inner_slot_context_1 = ctx => ({});
20
- const get_info_slot_changes_1 = dirty => ({});
21
- const get_info_slot_context_1 = ctx => ({});
22
- const get_error_message_slot_changes_1 = dirty => ({});
23
- const get_error_message_slot_context_1 = ctx => ({});
24
- const get_input_slot_changes_1 = dirty => ({});
25
- const get_input_slot_context_1 = ctx => ({});
26
- const get_label_slot_changes_1 = dirty => ({});
27
- const get_label_slot_context_1 = ctx => ({});
28
- const get_inner_start_slot_changes_1 = dirty => ({});
29
- const get_inner_start_slot_context_1 = ctx => ({});
30
- const get_media_slot_changes_1 = dirty => ({});
31
- const get_media_slot_context_1 = ctx => ({});
32
- const get_content_start_slot_changes_1 = dirty => ({});
33
- const get_content_start_slot_context_1 = ctx => ({});
34
- const get_root_end_slot_changes = dirty => ({});
35
- const get_root_end_slot_context = ctx => ({});
36
- const get_root_slot_changes = dirty => ({});
37
- const get_root_slot_context = ctx => ({});
38
- const get_content_end_slot_changes = dirty => ({});
39
- const get_content_end_slot_context = ctx => ({});
40
- const get_content_slot_changes = dirty => ({});
41
- const get_content_slot_context = ctx => ({});
42
- const get_inner_end_slot_changes = dirty => ({});
43
- const get_inner_end_slot_context = ctx => ({});
44
- const get_inner_slot_changes = dirty => ({});
45
- const get_inner_slot_context = ctx => ({});
46
- const get_info_slot_changes = dirty => ({});
47
- const get_info_slot_context = ctx => ({});
48
- const get_error_message_slot_changes = dirty => ({});
49
- const get_error_message_slot_context = ctx => ({});
50
- const get_input_slot_changes = dirty => ({});
51
- const get_input_slot_context = ctx => ({});
52
- const get_label_slot_changes = dirty => ({});
53
- const get_label_slot_context = ctx => ({});
54
- const get_inner_start_slot_changes = dirty => ({});
55
- const get_inner_start_slot_context = ctx => ({});
56
- const get_media_slot_changes = dirty => ({});
57
- const get_media_slot_context = ctx => ({});
58
- const get_content_start_slot_changes = dirty => ({});
59
- const get_content_start_slot_context = ctx => ({});
60
- const get_root_start_slot_changes = dirty => ({});
61
- const get_root_start_slot_context = ctx => ({});
62
-
63
- // (577:0) {:else}
64
- function create_else_block_1(ctx) {
65
- let div2;
66
- let t0;
67
- let t1;
68
- let t2;
69
- let div1;
70
- let t3;
71
- let t4;
72
- let div0;
73
- let t5;
74
- let t6;
75
- let t7;
76
- let t8;
77
- let t9;
78
- let t10;
79
- let t11;
80
- let t12;
81
- let current;
82
- const content_start_slot_template = /*#slots*/ ctx[77]["content-start"];
83
- const content_start_slot = create_slot(content_start_slot_template, ctx, /*$$scope*/ ctx[76], get_content_start_slot_context_1);
84
- let if_block0 = /*isSortable*/ ctx[42] && /*isSortableOpposite*/ ctx[43] && create_if_block_23(ctx);
85
- let if_block1 = (/*media*/ ctx[1] || /*hasMediaSlots*/ ctx[45]) && create_if_block_21(ctx);
86
- const inner_start_slot_template = /*#slots*/ ctx[77]["inner-start"];
87
- const inner_start_slot = create_slot(inner_start_slot_template, ctx, /*$$scope*/ ctx[76], get_inner_start_slot_context_1);
88
- let if_block2 = (typeof /*label*/ ctx[36] !== "undefined" || /*hasLabelSlots*/ ctx[46]) && create_if_block_20(ctx);
89
- let if_block3 = /*input*/ ctx[3] && create_if_block_16(ctx);
90
- const input_slot_template = /*#slots*/ ctx[77].input;
91
- const input_slot = create_slot(input_slot_template, ctx, /*$$scope*/ ctx[76], get_input_slot_context_1);
92
- let if_block4 = /*hasErrorMessage*/ ctx[40] && /*errorMessageForce*/ ctx[34] && create_if_block_15(ctx);
93
- let if_block5 = /*clearButton*/ ctx[32] && create_if_block_14(ctx);
94
- let if_block6 = (typeof /*info*/ ctx[35] !== "undefined" || /*hasInfoSlots*/ ctx[39]) && create_if_block_13(ctx);
95
- const inner_slot_template = /*#slots*/ ctx[77].inner;
96
- const inner_slot = create_slot(inner_slot_template, ctx, /*$$scope*/ ctx[76], get_inner_slot_context_1);
97
- const inner_end_slot_template = /*#slots*/ ctx[77]["inner-end"];
98
- const inner_end_slot = create_slot(inner_end_slot_template, ctx, /*$$scope*/ ctx[76], get_inner_end_slot_context_1);
99
- const content_slot_template = /*#slots*/ ctx[77].content;
100
- const content_slot = create_slot(content_slot_template, ctx, /*$$scope*/ ctx[76], get_content_slot_context_1);
101
- const content_end_slot_template = /*#slots*/ ctx[77]["content-end"];
102
- const content_end_slot = create_slot(content_end_slot_template, ctx, /*$$scope*/ ctx[76], get_content_end_slot_context_1);
103
- let div2_levels = [{ class: /*itemContentClasses*/ ctx[48] }, restProps(/*$$restProps*/ ctx[56])];
104
- let div2_data = {};
105
-
106
- for (let i = 0; i < div2_levels.length; i += 1) {
107
- div2_data = assign(div2_data, div2_levels[i]);
108
- }
109
-
110
- return {
111
- c() {
112
- div2 = element("div");
113
- if (content_start_slot) content_start_slot.c();
114
- t0 = space();
115
- if (if_block0) if_block0.c();
116
- t1 = space();
117
- if (if_block1) if_block1.c();
118
- t2 = space();
119
- div1 = element("div");
120
- if (inner_start_slot) inner_start_slot.c();
121
- t3 = space();
122
- if (if_block2) if_block2.c();
123
- t4 = space();
124
- div0 = element("div");
125
- if (if_block3) if_block3.c();
126
- t5 = space();
127
- if (input_slot) input_slot.c();
128
- t6 = space();
129
- if (if_block4) if_block4.c();
130
- t7 = space();
131
- if (if_block5) if_block5.c();
132
- t8 = space();
133
- if (if_block6) if_block6.c();
134
- t9 = space();
135
- if (inner_slot) inner_slot.c();
136
- t10 = space();
137
- if (inner_end_slot) inner_end_slot.c();
138
- t11 = space();
139
- if (content_slot) content_slot.c();
140
- t12 = space();
141
- if (content_end_slot) content_end_slot.c();
142
- attr(div0, "class", /*inputWrapClasses*/ ctx[50]);
143
- attr(div1, "class", "item-inner");
144
- set_attributes(div2, div2_data);
145
- },
146
- m(target, anchor) {
147
- insert(target, div2, anchor);
148
-
149
- if (content_start_slot) {
150
- content_start_slot.m(div2, null);
151
- }
152
-
153
- append(div2, t0);
154
- if (if_block0) if_block0.m(div2, null);
155
- append(div2, t1);
156
- if (if_block1) if_block1.m(div2, null);
157
- append(div2, t2);
158
- append(div2, div1);
159
-
160
- if (inner_start_slot) {
161
- inner_start_slot.m(div1, null);
162
- }
163
-
164
- append(div1, t3);
165
- if (if_block2) if_block2.m(div1, null);
166
- append(div1, t4);
167
- append(div1, div0);
168
- if (if_block3) if_block3.m(div0, null);
169
- append(div0, t5);
170
-
171
- if (input_slot) {
172
- input_slot.m(div0, null);
173
- }
174
-
175
- append(div0, t6);
176
- if (if_block4) if_block4.m(div0, null);
177
- append(div0, t7);
178
- if (if_block5) if_block5.m(div0, null);
179
- append(div0, t8);
180
- if (if_block6) if_block6.m(div0, null);
181
- append(div1, t9);
182
-
183
- if (inner_slot) {
184
- inner_slot.m(div1, null);
185
- }
186
-
187
- append(div1, t10);
188
-
189
- if (inner_end_slot) {
190
- inner_end_slot.m(div1, null);
191
- }
192
-
193
- append(div2, t11);
194
-
195
- if (content_slot) {
196
- content_slot.m(div2, null);
197
- }
198
-
199
- append(div2, t12);
200
-
201
- if (content_end_slot) {
202
- content_end_slot.m(div2, null);
203
- }
204
-
205
- current = true;
206
- },
207
- p(ctx, dirty) {
208
- if (content_start_slot) {
209
- if (content_start_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
210
- update_slot(content_start_slot, content_start_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_content_start_slot_changes_1, get_content_start_slot_context_1);
211
- }
212
- }
213
-
214
- if (/*isSortable*/ ctx[42] && /*isSortableOpposite*/ ctx[43]) {
215
- if (if_block0) {
216
-
217
- } else {
218
- if_block0 = create_if_block_23(ctx);
219
- if_block0.c();
220
- if_block0.m(div2, t1);
221
- }
222
- } else if (if_block0) {
223
- if_block0.d(1);
224
- if_block0 = null;
225
- }
226
-
227
- if (/*media*/ ctx[1] || /*hasMediaSlots*/ ctx[45]) {
228
- if (if_block1) {
229
- if_block1.p(ctx, dirty);
230
-
231
- if (dirty[0] & /*media*/ 2 | dirty[1] & /*hasMediaSlots*/ 16384) {
232
- transition_in(if_block1, 1);
233
- }
234
- } else {
235
- if_block1 = create_if_block_21(ctx);
236
- if_block1.c();
237
- transition_in(if_block1, 1);
238
- if_block1.m(div2, t2);
239
- }
240
- } else if (if_block1) {
241
- group_outros();
242
-
243
- transition_out(if_block1, 1, 1, () => {
244
- if_block1 = null;
245
- });
246
-
247
- check_outros();
248
- }
249
-
250
- if (inner_start_slot) {
251
- if (inner_start_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
252
- update_slot(inner_start_slot, inner_start_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_inner_start_slot_changes_1, get_inner_start_slot_context_1);
253
- }
254
- }
255
-
256
- if (typeof /*label*/ ctx[36] !== "undefined" || /*hasLabelSlots*/ ctx[46]) {
257
- if (if_block2) {
258
- if_block2.p(ctx, dirty);
259
-
260
- if (dirty[1] & /*label, hasLabelSlots*/ 32800) {
261
- transition_in(if_block2, 1);
262
- }
263
- } else {
264
- if_block2 = create_if_block_20(ctx);
265
- if_block2.c();
266
- transition_in(if_block2, 1);
267
- if_block2.m(div1, t4);
268
- }
269
- } else if (if_block2) {
270
- group_outros();
271
-
272
- transition_out(if_block2, 1, 1, () => {
273
- if_block2 = null;
274
- });
275
-
276
- check_outros();
277
- }
278
-
279
- if (/*input*/ ctx[3]) {
280
- if (if_block3) {
281
- if_block3.p(ctx, dirty);
282
-
283
- if (dirty[0] & /*input*/ 8) {
284
- transition_in(if_block3, 1);
285
- }
286
- } else {
287
- if_block3 = create_if_block_16(ctx);
288
- if_block3.c();
289
- transition_in(if_block3, 1);
290
- if_block3.m(div0, t5);
291
- }
292
- } else if (if_block3) {
293
- group_outros();
294
-
295
- transition_out(if_block3, 1, 1, () => {
296
- if_block3 = null;
297
- });
298
-
299
- check_outros();
300
- }
301
-
302
- if (input_slot) {
303
- if (input_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
304
- update_slot(input_slot, input_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_input_slot_changes_1, get_input_slot_context_1);
305
- }
306
- }
307
-
308
- if (/*hasErrorMessage*/ ctx[40] && /*errorMessageForce*/ ctx[34]) {
309
- if (if_block4) {
310
- if_block4.p(ctx, dirty);
311
-
312
- if (dirty[1] & /*hasErrorMessage, errorMessageForce*/ 520) {
313
- transition_in(if_block4, 1);
314
- }
315
- } else {
316
- if_block4 = create_if_block_15(ctx);
317
- if_block4.c();
318
- transition_in(if_block4, 1);
319
- if_block4.m(div0, t7);
320
- }
321
- } else if (if_block4) {
322
- group_outros();
323
-
324
- transition_out(if_block4, 1, 1, () => {
325
- if_block4 = null;
326
- });
327
-
328
- check_outros();
329
- }
330
-
331
- if (/*clearButton*/ ctx[32]) {
332
- if (if_block5) {
333
-
334
- } else {
335
- if_block5 = create_if_block_14(ctx);
336
- if_block5.c();
337
- if_block5.m(div0, t8);
338
- }
339
- } else if (if_block5) {
340
- if_block5.d(1);
341
- if_block5 = null;
342
- }
343
-
344
- if (typeof /*info*/ ctx[35] !== "undefined" || /*hasInfoSlots*/ ctx[39]) {
345
- if (if_block6) {
346
- if_block6.p(ctx, dirty);
347
-
348
- if (dirty[1] & /*info, hasInfoSlots*/ 272) {
349
- transition_in(if_block6, 1);
350
- }
351
- } else {
352
- if_block6 = create_if_block_13(ctx);
353
- if_block6.c();
354
- transition_in(if_block6, 1);
355
- if_block6.m(div0, null);
356
- }
357
- } else if (if_block6) {
358
- group_outros();
359
-
360
- transition_out(if_block6, 1, 1, () => {
361
- if_block6 = null;
362
- });
363
-
364
- check_outros();
365
- }
366
-
367
- if (!current || dirty[1] & /*inputWrapClasses*/ 524288) {
368
- attr(div0, "class", /*inputWrapClasses*/ ctx[50]);
369
- }
370
-
371
- if (inner_slot) {
372
- if (inner_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
373
- update_slot(inner_slot, inner_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_inner_slot_changes_1, get_inner_slot_context_1);
374
- }
375
- }
376
-
377
- if (inner_end_slot) {
378
- if (inner_end_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
379
- update_slot(inner_end_slot, inner_end_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_inner_end_slot_changes_1, get_inner_end_slot_context_1);
380
- }
381
- }
382
-
383
- if (content_slot) {
384
- if (content_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
385
- update_slot(content_slot, content_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_content_slot_changes_1, get_content_slot_context_1);
386
- }
387
- }
388
-
389
- if (content_end_slot) {
390
- if (content_end_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
391
- update_slot(content_end_slot, content_end_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_content_end_slot_changes_1, get_content_end_slot_context_1);
392
- }
393
- }
394
-
395
- set_attributes(div2, div2_data = get_spread_update(div2_levels, [
396
- (!current || dirty[1] & /*itemContentClasses*/ 131072) && { class: /*itemContentClasses*/ ctx[48] },
397
- dirty[1] & /*$$restProps*/ 33554432 && restProps(/*$$restProps*/ ctx[56])
398
- ]));
399
- },
400
- i(local) {
401
- if (current) return;
402
- transition_in(content_start_slot, local);
403
- transition_in(if_block1);
404
- transition_in(inner_start_slot, local);
405
- transition_in(if_block2);
406
- transition_in(if_block3);
407
- transition_in(input_slot, local);
408
- transition_in(if_block4);
409
- transition_in(if_block6);
410
- transition_in(inner_slot, local);
411
- transition_in(inner_end_slot, local);
412
- transition_in(content_slot, local);
413
- transition_in(content_end_slot, local);
414
- current = true;
415
- },
416
- o(local) {
417
- transition_out(content_start_slot, local);
418
- transition_out(if_block1);
419
- transition_out(inner_start_slot, local);
420
- transition_out(if_block2);
421
- transition_out(if_block3);
422
- transition_out(input_slot, local);
423
- transition_out(if_block4);
424
- transition_out(if_block6);
425
- transition_out(inner_slot, local);
426
- transition_out(inner_end_slot, local);
427
- transition_out(content_slot, local);
428
- transition_out(content_end_slot, local);
429
- current = false;
430
- },
431
- d(detaching) {
432
- if (detaching) detach(div2);
433
- if (content_start_slot) content_start_slot.d(detaching);
434
- if (if_block0) if_block0.d();
435
- if (if_block1) if_block1.d();
436
- if (inner_start_slot) inner_start_slot.d(detaching);
437
- if (if_block2) if_block2.d();
438
- if (if_block3) if_block3.d();
439
- if (input_slot) input_slot.d(detaching);
440
- if (if_block4) if_block4.d();
441
- if (if_block5) if_block5.d();
442
- if (if_block6) if_block6.d();
443
- if (inner_slot) inner_slot.d(detaching);
444
- if (inner_end_slot) inner_end_slot.d(detaching);
445
- if (content_slot) content_slot.d(detaching);
446
- if (content_end_slot) content_end_slot.d(detaching);
447
- }
448
- };
449
- }
450
-
451
- // (373:0) {#if wrap}
452
- function create_if_block(ctx) {
453
- let li;
454
- let t0;
455
- let div2;
456
- let t1;
457
- let t2;
458
- let t3;
459
- let div1;
460
- let t4;
461
- let t5;
462
- let div0;
463
- let t6;
464
- let t7;
465
- let t8;
466
- let t9;
467
- let t10;
468
- let t11;
469
- let t12;
470
- let t13;
471
- let t14;
472
- let t15;
473
- let t16;
474
- let current;
475
- const root_start_slot_template = /*#slots*/ ctx[77]["root-start"];
476
- const root_start_slot = create_slot(root_start_slot_template, ctx, /*$$scope*/ ctx[76], get_root_start_slot_context);
477
- const content_start_slot_template = /*#slots*/ ctx[77]["content-start"];
478
- const content_start_slot = create_slot(content_start_slot_template, ctx, /*$$scope*/ ctx[76], get_content_start_slot_context);
479
- let if_block0 = /*isSortable*/ ctx[42] && /*isSortableOpposite*/ ctx[43] && create_if_block_12(ctx);
480
- let if_block1 = (/*media*/ ctx[1] || /*hasMediaSlots*/ ctx[45]) && create_if_block_10(ctx);
481
- const inner_start_slot_template = /*#slots*/ ctx[77]["inner-start"];
482
- const inner_start_slot = create_slot(inner_start_slot_template, ctx, /*$$scope*/ ctx[76], get_inner_start_slot_context);
483
- let if_block2 = (typeof /*label*/ ctx[36] !== "undefined" || /*hasLabelSlots*/ ctx[46]) && create_if_block_9(ctx);
484
- let if_block3 = /*input*/ ctx[3] && create_if_block_5(ctx);
485
- const input_slot_template = /*#slots*/ ctx[77].input;
486
- const input_slot = create_slot(input_slot_template, ctx, /*$$scope*/ ctx[76], get_input_slot_context);
487
- let if_block4 = /*hasErrorMessage*/ ctx[40] && /*errorMessageForce*/ ctx[34] && create_if_block_4(ctx);
488
- let if_block5 = /*clearButton*/ ctx[32] && create_if_block_3(ctx);
489
- let if_block6 = (typeof /*info*/ ctx[35] !== "undefined" || /*hasInfoSlots*/ ctx[39]) && create_if_block_2(ctx);
490
- const inner_slot_template = /*#slots*/ ctx[77].inner;
491
- const inner_slot = create_slot(inner_slot_template, ctx, /*$$scope*/ ctx[76], get_inner_slot_context);
492
- const inner_end_slot_template = /*#slots*/ ctx[77]["inner-end"];
493
- const inner_end_slot = create_slot(inner_end_slot_template, ctx, /*$$scope*/ ctx[76], get_inner_end_slot_context);
494
- const content_slot_template = /*#slots*/ ctx[77].content;
495
- const content_slot = create_slot(content_slot_template, ctx, /*$$scope*/ ctx[76], get_content_slot_context);
496
- const content_end_slot_template = /*#slots*/ ctx[77]["content-end"];
497
- const content_end_slot = create_slot(content_end_slot_template, ctx, /*$$scope*/ ctx[76], get_content_end_slot_context);
498
- let if_block7 = /*isSortable*/ ctx[42] && !/*isSortableOpposite*/ ctx[43] && create_if_block_1(ctx);
499
- const root_slot_template = /*#slots*/ ctx[77].root;
500
- const root_slot = create_slot(root_slot_template, ctx, /*$$scope*/ ctx[76], get_root_slot_context);
501
- const root_end_slot_template = /*#slots*/ ctx[77]["root-end"];
502
- const root_end_slot = create_slot(root_end_slot_template, ctx, /*$$scope*/ ctx[76], get_root_end_slot_context);
503
- let li_levels = [{ class: /*classes*/ ctx[51] }, restProps(/*$$restProps*/ ctx[56])];
504
- let li_data = {};
505
-
506
- for (let i = 0; i < li_levels.length; i += 1) {
507
- li_data = assign(li_data, li_levels[i]);
508
- }
509
-
510
- return {
511
- c() {
512
- li = element("li");
513
- if (root_start_slot) root_start_slot.c();
514
- t0 = space();
515
- div2 = element("div");
516
- if (content_start_slot) content_start_slot.c();
517
- t1 = space();
518
- if (if_block0) if_block0.c();
519
- t2 = space();
520
- if (if_block1) if_block1.c();
521
- t3 = space();
522
- div1 = element("div");
523
- if (inner_start_slot) inner_start_slot.c();
524
- t4 = space();
525
- if (if_block2) if_block2.c();
526
- t5 = space();
527
- div0 = element("div");
528
- if (if_block3) if_block3.c();
529
- t6 = space();
530
- if (input_slot) input_slot.c();
531
- t7 = space();
532
- if (if_block4) if_block4.c();
533
- t8 = space();
534
- if (if_block5) if_block5.c();
535
- t9 = space();
536
- if (if_block6) if_block6.c();
537
- t10 = space();
538
- if (inner_slot) inner_slot.c();
539
- t11 = space();
540
- if (inner_end_slot) inner_end_slot.c();
541
- t12 = space();
542
- if (content_slot) content_slot.c();
543
- t13 = space();
544
- if (content_end_slot) content_end_slot.c();
545
- t14 = space();
546
- if (if_block7) if_block7.c();
547
- t15 = space();
548
- if (root_slot) root_slot.c();
549
- t16 = space();
550
- if (root_end_slot) root_end_slot.c();
551
- attr(div0, "class", /*inputWrapClasses*/ ctx[50]);
552
- attr(div1, "class", "item-inner");
553
- attr(div2, "class", /*itemContentClasses*/ ctx[48]);
554
- set_attributes(li, li_data);
555
- },
556
- m(target, anchor) {
557
- insert(target, li, anchor);
558
-
559
- if (root_start_slot) {
560
- root_start_slot.m(li, null);
561
- }
562
-
563
- append(li, t0);
564
- append(li, div2);
565
-
566
- if (content_start_slot) {
567
- content_start_slot.m(div2, null);
568
- }
569
-
570
- append(div2, t1);
571
- if (if_block0) if_block0.m(div2, null);
572
- append(div2, t2);
573
- if (if_block1) if_block1.m(div2, null);
574
- append(div2, t3);
575
- append(div2, div1);
576
-
577
- if (inner_start_slot) {
578
- inner_start_slot.m(div1, null);
579
- }
580
-
581
- append(div1, t4);
582
- if (if_block2) if_block2.m(div1, null);
583
- append(div1, t5);
584
- append(div1, div0);
585
- if (if_block3) if_block3.m(div0, null);
586
- append(div0, t6);
587
-
588
- if (input_slot) {
589
- input_slot.m(div0, null);
590
- }
591
-
592
- append(div0, t7);
593
- if (if_block4) if_block4.m(div0, null);
594
- append(div0, t8);
595
- if (if_block5) if_block5.m(div0, null);
596
- append(div0, t9);
597
- if (if_block6) if_block6.m(div0, null);
598
- append(div1, t10);
599
-
600
- if (inner_slot) {
601
- inner_slot.m(div1, null);
602
- }
603
-
604
- append(div1, t11);
605
-
606
- if (inner_end_slot) {
607
- inner_end_slot.m(div1, null);
608
- }
609
-
610
- append(div2, t12);
611
-
612
- if (content_slot) {
613
- content_slot.m(div2, null);
614
- }
615
-
616
- append(div2, t13);
617
-
618
- if (content_end_slot) {
619
- content_end_slot.m(div2, null);
620
- }
621
-
622
- append(li, t14);
623
- if (if_block7) if_block7.m(li, null);
624
- append(li, t15);
625
-
626
- if (root_slot) {
627
- root_slot.m(li, null);
628
- }
629
-
630
- append(li, t16);
631
-
632
- if (root_end_slot) {
633
- root_end_slot.m(li, null);
634
- }
635
-
636
- current = true;
637
- },
638
- p(ctx, dirty) {
639
- if (root_start_slot) {
640
- if (root_start_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
641
- update_slot(root_start_slot, root_start_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_root_start_slot_changes, get_root_start_slot_context);
642
- }
643
- }
644
-
645
- if (content_start_slot) {
646
- if (content_start_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
647
- update_slot(content_start_slot, content_start_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_content_start_slot_changes, get_content_start_slot_context);
648
- }
649
- }
650
-
651
- if (/*isSortable*/ ctx[42] && /*isSortableOpposite*/ ctx[43]) {
652
- if (if_block0) {
653
-
654
- } else {
655
- if_block0 = create_if_block_12(ctx);
656
- if_block0.c();
657
- if_block0.m(div2, t2);
658
- }
659
- } else if (if_block0) {
660
- if_block0.d(1);
661
- if_block0 = null;
662
- }
663
-
664
- if (/*media*/ ctx[1] || /*hasMediaSlots*/ ctx[45]) {
665
- if (if_block1) {
666
- if_block1.p(ctx, dirty);
667
-
668
- if (dirty[0] & /*media*/ 2 | dirty[1] & /*hasMediaSlots*/ 16384) {
669
- transition_in(if_block1, 1);
670
- }
671
- } else {
672
- if_block1 = create_if_block_10(ctx);
673
- if_block1.c();
674
- transition_in(if_block1, 1);
675
- if_block1.m(div2, t3);
676
- }
677
- } else if (if_block1) {
678
- group_outros();
679
-
680
- transition_out(if_block1, 1, 1, () => {
681
- if_block1 = null;
682
- });
683
-
684
- check_outros();
685
- }
686
-
687
- if (inner_start_slot) {
688
- if (inner_start_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
689
- update_slot(inner_start_slot, inner_start_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_inner_start_slot_changes, get_inner_start_slot_context);
690
- }
691
- }
692
-
693
- if (typeof /*label*/ ctx[36] !== "undefined" || /*hasLabelSlots*/ ctx[46]) {
694
- if (if_block2) {
695
- if_block2.p(ctx, dirty);
696
-
697
- if (dirty[1] & /*label, hasLabelSlots*/ 32800) {
698
- transition_in(if_block2, 1);
699
- }
700
- } else {
701
- if_block2 = create_if_block_9(ctx);
702
- if_block2.c();
703
- transition_in(if_block2, 1);
704
- if_block2.m(div1, t5);
705
- }
706
- } else if (if_block2) {
707
- group_outros();
708
-
709
- transition_out(if_block2, 1, 1, () => {
710
- if_block2 = null;
711
- });
712
-
713
- check_outros();
714
- }
715
-
716
- if (/*input*/ ctx[3]) {
717
- if (if_block3) {
718
- if_block3.p(ctx, dirty);
719
-
720
- if (dirty[0] & /*input*/ 8) {
721
- transition_in(if_block3, 1);
722
- }
723
- } else {
724
- if_block3 = create_if_block_5(ctx);
725
- if_block3.c();
726
- transition_in(if_block3, 1);
727
- if_block3.m(div0, t6);
728
- }
729
- } else if (if_block3) {
730
- group_outros();
731
-
732
- transition_out(if_block3, 1, 1, () => {
733
- if_block3 = null;
734
- });
735
-
736
- check_outros();
737
- }
738
-
739
- if (input_slot) {
740
- if (input_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
741
- update_slot(input_slot, input_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_input_slot_changes, get_input_slot_context);
742
- }
743
- }
744
-
745
- if (/*hasErrorMessage*/ ctx[40] && /*errorMessageForce*/ ctx[34]) {
746
- if (if_block4) {
747
- if_block4.p(ctx, dirty);
748
-
749
- if (dirty[1] & /*hasErrorMessage, errorMessageForce*/ 520) {
750
- transition_in(if_block4, 1);
751
- }
752
- } else {
753
- if_block4 = create_if_block_4(ctx);
754
- if_block4.c();
755
- transition_in(if_block4, 1);
756
- if_block4.m(div0, t8);
757
- }
758
- } else if (if_block4) {
759
- group_outros();
760
-
761
- transition_out(if_block4, 1, 1, () => {
762
- if_block4 = null;
763
- });
764
-
765
- check_outros();
766
- }
767
-
768
- if (/*clearButton*/ ctx[32]) {
769
- if (if_block5) {
770
-
771
- } else {
772
- if_block5 = create_if_block_3(ctx);
773
- if_block5.c();
774
- if_block5.m(div0, t9);
775
- }
776
- } else if (if_block5) {
777
- if_block5.d(1);
778
- if_block5 = null;
779
- }
780
-
781
- if (typeof /*info*/ ctx[35] !== "undefined" || /*hasInfoSlots*/ ctx[39]) {
782
- if (if_block6) {
783
- if_block6.p(ctx, dirty);
784
-
785
- if (dirty[1] & /*info, hasInfoSlots*/ 272) {
786
- transition_in(if_block6, 1);
787
- }
788
- } else {
789
- if_block6 = create_if_block_2(ctx);
790
- if_block6.c();
791
- transition_in(if_block6, 1);
792
- if_block6.m(div0, null);
793
- }
794
- } else if (if_block6) {
795
- group_outros();
796
-
797
- transition_out(if_block6, 1, 1, () => {
798
- if_block6 = null;
799
- });
800
-
801
- check_outros();
802
- }
803
-
804
- if (!current || dirty[1] & /*inputWrapClasses*/ 524288) {
805
- attr(div0, "class", /*inputWrapClasses*/ ctx[50]);
806
- }
807
-
808
- if (inner_slot) {
809
- if (inner_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
810
- update_slot(inner_slot, inner_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_inner_slot_changes, get_inner_slot_context);
811
- }
812
- }
813
-
814
- if (inner_end_slot) {
815
- if (inner_end_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
816
- update_slot(inner_end_slot, inner_end_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_inner_end_slot_changes, get_inner_end_slot_context);
817
- }
818
- }
819
-
820
- if (content_slot) {
821
- if (content_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
822
- update_slot(content_slot, content_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_content_slot_changes, get_content_slot_context);
823
- }
824
- }
825
-
826
- if (content_end_slot) {
827
- if (content_end_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
828
- update_slot(content_end_slot, content_end_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_content_end_slot_changes, get_content_end_slot_context);
829
- }
830
- }
831
-
832
- if (!current || dirty[1] & /*itemContentClasses*/ 131072) {
833
- attr(div2, "class", /*itemContentClasses*/ ctx[48]);
834
- }
835
-
836
- if (/*isSortable*/ ctx[42] && !/*isSortableOpposite*/ ctx[43]) {
837
- if (if_block7) {
838
-
839
- } else {
840
- if_block7 = create_if_block_1(ctx);
841
- if_block7.c();
842
- if_block7.m(li, t15);
843
- }
844
- } else if (if_block7) {
845
- if_block7.d(1);
846
- if_block7 = null;
847
- }
848
-
849
- if (root_slot) {
850
- if (root_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
851
- update_slot(root_slot, root_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_root_slot_changes, get_root_slot_context);
852
- }
853
- }
854
-
855
- if (root_end_slot) {
856
- if (root_end_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
857
- update_slot(root_end_slot, root_end_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_root_end_slot_changes, get_root_end_slot_context);
858
- }
859
- }
860
-
861
- set_attributes(li, li_data = get_spread_update(li_levels, [
862
- (!current || dirty[1] & /*classes*/ 1048576) && { class: /*classes*/ ctx[51] },
863
- dirty[1] & /*$$restProps*/ 33554432 && restProps(/*$$restProps*/ ctx[56])
864
- ]));
865
- },
866
- i(local) {
867
- if (current) return;
868
- transition_in(root_start_slot, local);
869
- transition_in(content_start_slot, local);
870
- transition_in(if_block1);
871
- transition_in(inner_start_slot, local);
872
- transition_in(if_block2);
873
- transition_in(if_block3);
874
- transition_in(input_slot, local);
875
- transition_in(if_block4);
876
- transition_in(if_block6);
877
- transition_in(inner_slot, local);
878
- transition_in(inner_end_slot, local);
879
- transition_in(content_slot, local);
880
- transition_in(content_end_slot, local);
881
- transition_in(root_slot, local);
882
- transition_in(root_end_slot, local);
883
- current = true;
884
- },
885
- o(local) {
886
- transition_out(root_start_slot, local);
887
- transition_out(content_start_slot, local);
888
- transition_out(if_block1);
889
- transition_out(inner_start_slot, local);
890
- transition_out(if_block2);
891
- transition_out(if_block3);
892
- transition_out(input_slot, local);
893
- transition_out(if_block4);
894
- transition_out(if_block6);
895
- transition_out(inner_slot, local);
896
- transition_out(inner_end_slot, local);
897
- transition_out(content_slot, local);
898
- transition_out(content_end_slot, local);
899
- transition_out(root_slot, local);
900
- transition_out(root_end_slot, local);
901
- current = false;
902
- },
903
- d(detaching) {
904
- if (detaching) detach(li);
905
- if (root_start_slot) root_start_slot.d(detaching);
906
- if (content_start_slot) content_start_slot.d(detaching);
907
- if (if_block0) if_block0.d();
908
- if (if_block1) if_block1.d();
909
- if (inner_start_slot) inner_start_slot.d(detaching);
910
- if (if_block2) if_block2.d();
911
- if (if_block3) if_block3.d();
912
- if (input_slot) input_slot.d(detaching);
913
- if (if_block4) if_block4.d();
914
- if (if_block5) if_block5.d();
915
- if (if_block6) if_block6.d();
916
- if (inner_slot) inner_slot.d(detaching);
917
- if (inner_end_slot) inner_end_slot.d(detaching);
918
- if (content_slot) content_slot.d(detaching);
919
- if (content_end_slot) content_end_slot.d(detaching);
920
- if (if_block7) if_block7.d();
921
- if (root_slot) root_slot.d(detaching);
922
- if (root_end_slot) root_end_slot.d(detaching);
923
- }
924
- };
925
- }
926
-
927
- // (580:4) {#if isSortable && isSortableOpposite}
928
- function create_if_block_23(ctx) {
929
- let div;
930
-
931
- return {
932
- c() {
933
- div = element("div");
934
- attr(div, "class", "sortable-handler");
935
- },
936
- m(target, anchor) {
937
- insert(target, div, anchor);
938
- },
939
- d(detaching) {
940
- if (detaching) detach(div);
941
- }
942
- };
943
- }
944
-
945
- // (584:4) {#if media || hasMediaSlots}
946
- function create_if_block_21(ctx) {
947
- let div;
948
- let t;
949
- let current;
950
- let if_block = typeof /*media*/ ctx[1] !== "undefined" && create_if_block_22(ctx);
951
- const media_slot_template = /*#slots*/ ctx[77].media;
952
- const media_slot = create_slot(media_slot_template, ctx, /*$$scope*/ ctx[76], get_media_slot_context_1);
953
-
954
- return {
955
- c() {
956
- div = element("div");
957
- if (if_block) if_block.c();
958
- t = space();
959
- if (media_slot) media_slot.c();
960
- attr(div, "class", "item-media");
961
- },
962
- m(target, anchor) {
963
- insert(target, div, anchor);
964
- if (if_block) if_block.m(div, null);
965
- append(div, t);
966
-
967
- if (media_slot) {
968
- media_slot.m(div, null);
969
- }
970
-
971
- current = true;
972
- },
973
- p(ctx, dirty) {
974
- if (typeof /*media*/ ctx[1] !== "undefined") {
975
- if (if_block) {
976
- if_block.p(ctx, dirty);
977
- } else {
978
- if_block = create_if_block_22(ctx);
979
- if_block.c();
980
- if_block.m(div, t);
981
- }
982
- } else if (if_block) {
983
- if_block.d(1);
984
- if_block = null;
985
- }
986
-
987
- if (media_slot) {
988
- if (media_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
989
- update_slot(media_slot, media_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_media_slot_changes_1, get_media_slot_context_1);
990
- }
991
- }
992
- },
993
- i(local) {
994
- if (current) return;
995
- transition_in(media_slot, local);
996
- current = true;
997
- },
998
- o(local) {
999
- transition_out(media_slot, local);
1000
- current = false;
1001
- },
1002
- d(detaching) {
1003
- if (detaching) detach(div);
1004
- if (if_block) if_block.d();
1005
- if (media_slot) media_slot.d(detaching);
1006
- }
1007
- };
1008
- }
1009
-
1010
- // (586:8) {#if typeof media !== 'undefined'}
1011
- function create_if_block_22(ctx) {
1012
- let img;
1013
- let img_src_value;
1014
-
1015
- return {
1016
- c() {
1017
- img = element("img");
1018
- if (img.src !== (img_src_value = /*media*/ ctx[1])) attr(img, "src", img_src_value);
1019
- },
1020
- m(target, anchor) {
1021
- insert(target, img, anchor);
1022
- },
1023
- p(ctx, dirty) {
1024
- if (dirty[0] & /*media*/ 2 && img.src !== (img_src_value = /*media*/ ctx[1])) {
1025
- attr(img, "src", img_src_value);
1026
- }
1027
- },
1028
- d(detaching) {
1029
- if (detaching) detach(img);
1030
- }
1031
- };
1032
- }
1033
-
1034
- // (592:6) {#if typeof label !== 'undefined' || hasLabelSlots}
1035
- function create_if_block_20(ctx) {
1036
- let div;
1037
- let t0_value = plainText(/*label*/ ctx[36]) + "";
1038
- let t0;
1039
- let t1;
1040
- let current;
1041
- const label_slot_template = /*#slots*/ ctx[77].label;
1042
- const label_slot = create_slot(label_slot_template, ctx, /*$$scope*/ ctx[76], get_label_slot_context_1);
1043
-
1044
- return {
1045
- c() {
1046
- div = element("div");
1047
- t0 = text(t0_value);
1048
- t1 = space();
1049
- if (label_slot) label_slot.c();
1050
- attr(div, "class", /*labelClasses*/ ctx[49]);
1051
- },
1052
- m(target, anchor) {
1053
- insert(target, div, anchor);
1054
- append(div, t0);
1055
- append(div, t1);
1056
-
1057
- if (label_slot) {
1058
- label_slot.m(div, null);
1059
- }
1060
-
1061
- current = true;
1062
- },
1063
- p(ctx, dirty) {
1064
- if ((!current || dirty[1] & /*label*/ 32) && t0_value !== (t0_value = plainText(/*label*/ ctx[36]) + "")) set_data(t0, t0_value);
1065
-
1066
- if (label_slot) {
1067
- if (label_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
1068
- update_slot(label_slot, label_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_label_slot_changes_1, get_label_slot_context_1);
1069
- }
1070
- }
1071
-
1072
- if (!current || dirty[1] & /*labelClasses*/ 262144) {
1073
- attr(div, "class", /*labelClasses*/ ctx[49]);
1074
- }
1075
- },
1076
- i(local) {
1077
- if (current) return;
1078
- transition_in(label_slot, local);
1079
- current = true;
1080
- },
1081
- o(local) {
1082
- transition_out(label_slot, local);
1083
- current = false;
1084
- },
1085
- d(detaching) {
1086
- if (detaching) detach(div);
1087
- if (label_slot) label_slot.d(detaching);
1088
- }
1089
- };
1090
- }
1091
-
1092
- // (599:8) {#if input}
1093
- function create_if_block_16(ctx) {
1094
- let current_block_type_index;
1095
- let if_block;
1096
- let if_block_anchor;
1097
- let current;
1098
-
1099
- const if_block_creators = [
1100
- create_if_block_17,
1101
- create_if_block_18,
1102
- create_if_block_19,
1103
- create_else_block_2
1104
- ];
1105
-
1106
- const if_blocks = [];
1107
-
1108
- function select_block_type_2(ctx, dirty) {
1109
- if (/*type*/ ctx[4] === "select") return 0;
1110
- if (/*type*/ ctx[4] === "textarea") return 1;
1111
- if (/*type*/ ctx[4] === "texteditor") return 2;
1112
- return 3;
1113
- }
1114
-
1115
- current_block_type_index = select_block_type_2(ctx, [-1]);
1116
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
1117
-
1118
- return {
1119
- c() {
1120
- if_block.c();
1121
- if_block_anchor = empty();
1122
- },
1123
- m(target, anchor) {
1124
- if_blocks[current_block_type_index].m(target, anchor);
1125
- insert(target, if_block_anchor, anchor);
1126
- current = true;
1127
- },
1128
- p(ctx, dirty) {
1129
- let previous_block_index = current_block_type_index;
1130
- current_block_type_index = select_block_type_2(ctx, dirty);
1131
-
1132
- if (current_block_type_index === previous_block_index) {
1133
- if_blocks[current_block_type_index].p(ctx, dirty);
1134
- } else {
1135
- group_outros();
1136
-
1137
- transition_out(if_blocks[previous_block_index], 1, 1, () => {
1138
- if_blocks[previous_block_index] = null;
1139
- });
1140
-
1141
- check_outros();
1142
- if_block = if_blocks[current_block_type_index];
1143
-
1144
- if (!if_block) {
1145
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
1146
- if_block.c();
1147
- } else {
1148
- if_block.p(ctx, dirty);
1149
- }
1150
-
1151
- transition_in(if_block, 1);
1152
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
1153
- }
1154
- },
1155
- i(local) {
1156
- if (current) return;
1157
- transition_in(if_block);
1158
- current = true;
1159
- },
1160
- o(local) {
1161
- transition_out(if_block);
1162
- current = false;
1163
- },
1164
- d(detaching) {
1165
- if_blocks[current_block_type_index].d(detaching);
1166
- if (detaching) detach(if_block_anchor);
1167
- }
1168
- };
1169
- }
1170
-
1171
- // (702:10) {:else}
1172
- function create_else_block_2(ctx) {
1173
- let input_1;
1174
- let input_1_validate_value;
1175
- let input_1_data_validate_value;
1176
- let input_1_data_validate_on_blur_value;
1177
- let input_1_data_error_message_value;
1178
- let input_1_value_value;
1179
- let mounted;
1180
- let dispose;
1181
-
1182
- return {
1183
- c() {
1184
- input_1 = element("input");
1185
- attr(input_1, "style", /*inputStyle*/ ctx[26]);
1186
- attr(input_1, "name", /*name*/ ctx[5]);
1187
- attr(input_1, "type", /*inputType*/ ctx[38]);
1188
- attr(input_1, "inputmode", /*inputmode*/ ctx[6]);
1189
- attr(input_1, "placeholder", /*placeholder*/ ctx[10]);
1190
- attr(input_1, "id", /*inputId*/ ctx[11]);
1191
- attr(input_1, "size", /*size*/ ctx[12]);
1192
- attr(input_1, "accept", /*accept*/ ctx[13]);
1193
- attr(input_1, "autocomplete", /*autocomplete*/ ctx[14]);
1194
- attr(input_1, "autocorrect", /*autocorrect*/ ctx[15]);
1195
- attr(input_1, "autocapitalize", /*autocapitalize*/ ctx[16]);
1196
- attr(input_1, "spellcheck", /*spellcheck*/ ctx[17]);
1197
- input_1.autofocus = /*autofocus*/ ctx[18];
1198
- attr(input_1, "autosave", /*autosave*/ ctx[19]);
1199
- input_1.disabled = /*disabled*/ ctx[9];
1200
- attr(input_1, "max", /*max*/ ctx[20]);
1201
- attr(input_1, "maxlength", /*maxlength*/ ctx[23]);
1202
- attr(input_1, "min", /*min*/ ctx[21]);
1203
- attr(input_1, "minlength", /*minlength*/ ctx[24]);
1204
- attr(input_1, "step", /*step*/ ctx[22]);
1205
- input_1.multiple = /*multiple*/ ctx[25];
1206
- input_1.readOnly = /*readonly*/ ctx[7];
1207
- input_1.required = /*required*/ ctx[8];
1208
- attr(input_1, "pattern", /*pattern*/ ctx[27]);
1209
-
1210
- attr(input_1, "validate", input_1_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
1211
- ? /*validate*/ ctx[28]
1212
- : undefined);
1213
-
1214
- attr(input_1, "data-validate", input_1_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1215
- ? true
1216
- : undefined);
1217
-
1218
- attr(input_1, "data-validate-on-blur", input_1_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1219
- ? true
1220
- : undefined);
1221
-
1222
- attr(input_1, "tabindex", /*tabindex*/ ctx[30]);
1223
-
1224
- attr(input_1, "data-error-message", input_1_data_error_message_value = /*errorMessageForce*/ ctx[34]
1225
- ? undefined
1226
- : /*errorMessage*/ ctx[33]);
1227
-
1228
- attr(input_1, "class", /*inputClasses*/ ctx[47]);
1229
-
1230
- input_1.value = input_1_value_value = /*type*/ ctx[4] === "datepicker" || /*type*/ ctx[4] === "colorpicker" || /*type*/ ctx[4] === "file"
1231
- ? ""
1232
- : /*inputValue*/ ctx[44];
1233
- },
1234
- m(target, anchor) {
1235
- insert(target, input_1, anchor);
1236
- /*input_1_binding_1*/ ctx[83](input_1);
1237
-
1238
- if (!mounted) {
1239
- dispose = [
1240
- listen(input_1, "focus", /*onFocus*/ ctx[53]),
1241
- listen(input_1, "blur", /*onBlur*/ ctx[54]),
1242
- listen(input_1, "input", /*onInput*/ ctx[52]),
1243
- listen(input_1, "change", /*onChange*/ ctx[55])
1244
- ];
1245
-
1246
- mounted = true;
1247
- }
1248
- },
1249
- p(ctx, dirty) {
1250
- if (dirty[0] & /*inputStyle*/ 67108864) {
1251
- attr(input_1, "style", /*inputStyle*/ ctx[26]);
1252
- }
1253
-
1254
- if (dirty[0] & /*name*/ 32) {
1255
- attr(input_1, "name", /*name*/ ctx[5]);
1256
- }
1257
-
1258
- if (dirty[1] & /*inputType*/ 128) {
1259
- attr(input_1, "type", /*inputType*/ ctx[38]);
1260
- }
1261
-
1262
- if (dirty[0] & /*inputmode*/ 64) {
1263
- attr(input_1, "inputmode", /*inputmode*/ ctx[6]);
1264
- }
1265
-
1266
- if (dirty[0] & /*placeholder*/ 1024) {
1267
- attr(input_1, "placeholder", /*placeholder*/ ctx[10]);
1268
- }
1269
-
1270
- if (dirty[0] & /*inputId*/ 2048) {
1271
- attr(input_1, "id", /*inputId*/ ctx[11]);
1272
- }
1273
-
1274
- if (dirty[0] & /*size*/ 4096) {
1275
- attr(input_1, "size", /*size*/ ctx[12]);
1276
- }
1277
-
1278
- if (dirty[0] & /*accept*/ 8192) {
1279
- attr(input_1, "accept", /*accept*/ ctx[13]);
1280
- }
1281
-
1282
- if (dirty[0] & /*autocomplete*/ 16384) {
1283
- attr(input_1, "autocomplete", /*autocomplete*/ ctx[14]);
1284
- }
1285
-
1286
- if (dirty[0] & /*autocorrect*/ 32768) {
1287
- attr(input_1, "autocorrect", /*autocorrect*/ ctx[15]);
1288
- }
1289
-
1290
- if (dirty[0] & /*autocapitalize*/ 65536) {
1291
- attr(input_1, "autocapitalize", /*autocapitalize*/ ctx[16]);
1292
- }
1293
-
1294
- if (dirty[0] & /*spellcheck*/ 131072) {
1295
- attr(input_1, "spellcheck", /*spellcheck*/ ctx[17]);
1296
- }
1297
-
1298
- if (dirty[0] & /*autofocus*/ 262144) {
1299
- input_1.autofocus = /*autofocus*/ ctx[18];
1300
- }
1301
-
1302
- if (dirty[0] & /*autosave*/ 524288) {
1303
- attr(input_1, "autosave", /*autosave*/ ctx[19]);
1304
- }
1305
-
1306
- if (dirty[0] & /*disabled*/ 512) {
1307
- input_1.disabled = /*disabled*/ ctx[9];
1308
- }
1309
-
1310
- if (dirty[0] & /*max*/ 1048576) {
1311
- attr(input_1, "max", /*max*/ ctx[20]);
1312
- }
1313
-
1314
- if (dirty[0] & /*maxlength*/ 8388608) {
1315
- attr(input_1, "maxlength", /*maxlength*/ ctx[23]);
1316
- }
1317
-
1318
- if (dirty[0] & /*min*/ 2097152) {
1319
- attr(input_1, "min", /*min*/ ctx[21]);
1320
- }
1321
-
1322
- if (dirty[0] & /*minlength*/ 16777216) {
1323
- attr(input_1, "minlength", /*minlength*/ ctx[24]);
1324
- }
1325
-
1326
- if (dirty[0] & /*step*/ 4194304) {
1327
- attr(input_1, "step", /*step*/ ctx[22]);
1328
- }
1329
-
1330
- if (dirty[0] & /*multiple*/ 33554432) {
1331
- input_1.multiple = /*multiple*/ ctx[25];
1332
- }
1333
-
1334
- if (dirty[0] & /*readonly*/ 128) {
1335
- input_1.readOnly = /*readonly*/ ctx[7];
1336
- }
1337
-
1338
- if (dirty[0] & /*required*/ 256) {
1339
- input_1.required = /*required*/ ctx[8];
1340
- }
1341
-
1342
- if (dirty[0] & /*pattern*/ 134217728) {
1343
- attr(input_1, "pattern", /*pattern*/ ctx[27]);
1344
- }
1345
-
1346
- if (dirty[0] & /*validate*/ 268435456 && input_1_validate_value !== (input_1_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
1347
- ? /*validate*/ ctx[28]
1348
- : undefined)) {
1349
- attr(input_1, "validate", input_1_validate_value);
1350
- }
1351
-
1352
- if (dirty[0] & /*validate, validateOnBlur*/ 805306368 && input_1_data_validate_value !== (input_1_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1353
- ? true
1354
- : undefined)) {
1355
- attr(input_1, "data-validate", input_1_data_validate_value);
1356
- }
1357
-
1358
- if (dirty[0] & /*validateOnBlur*/ 536870912 && input_1_data_validate_on_blur_value !== (input_1_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1359
- ? true
1360
- : undefined)) {
1361
- attr(input_1, "data-validate-on-blur", input_1_data_validate_on_blur_value);
1362
- }
1363
-
1364
- if (dirty[0] & /*tabindex*/ 1073741824) {
1365
- attr(input_1, "tabindex", /*tabindex*/ ctx[30]);
1366
- }
1367
-
1368
- if (dirty[1] & /*errorMessageForce, errorMessage*/ 12 && input_1_data_error_message_value !== (input_1_data_error_message_value = /*errorMessageForce*/ ctx[34]
1369
- ? undefined
1370
- : /*errorMessage*/ ctx[33])) {
1371
- attr(input_1, "data-error-message", input_1_data_error_message_value);
1372
- }
1373
-
1374
- if (dirty[1] & /*inputClasses*/ 65536) {
1375
- attr(input_1, "class", /*inputClasses*/ ctx[47]);
1376
- }
1377
-
1378
- if (dirty[0] & /*type*/ 16 | dirty[1] & /*inputValue*/ 8192 && input_1_value_value !== (input_1_value_value = /*type*/ ctx[4] === "datepicker" || /*type*/ ctx[4] === "colorpicker" || /*type*/ ctx[4] === "file"
1379
- ? ""
1380
- : /*inputValue*/ ctx[44]) && input_1.value !== input_1_value_value) {
1381
- input_1.value = input_1_value_value;
1382
- }
1383
- },
1384
- i: noop,
1385
- o: noop,
1386
- d(detaching) {
1387
- if (detaching) detach(input_1);
1388
- /*input_1_binding_1*/ ctx[83](null);
1389
- mounted = false;
1390
- run_all(dispose);
1391
- }
1392
- };
1393
- }
1394
-
1395
- // (691:42)
1396
- function create_if_block_19(ctx) {
1397
- let texteditor;
1398
- let current;
1399
-
1400
- const texteditor_spread_levels = [
1401
- {
1402
- value: typeof /*value*/ ctx[0] === "undefined"
1403
- ? ""
1404
- : /*value*/ ctx[0]
1405
- },
1406
- { resizable: /*resizable*/ ctx[31] },
1407
- { placeholder: /*placeholder*/ ctx[10] },
1408
- { onTextEditorFocus: /*onFocus*/ ctx[53] },
1409
- { onTextEditorBlur: /*onBlur*/ ctx[54] },
1410
- { onTextEditorInput: /*onInput*/ ctx[52] },
1411
- { onTextEditorChange: /*onChange*/ ctx[55] },
1412
- /*textEditorParams*/ ctx[37]
1413
- ];
1414
-
1415
- let texteditor_props = {};
1416
-
1417
- for (let i = 0; i < texteditor_spread_levels.length; i += 1) {
1418
- texteditor_props = assign(texteditor_props, texteditor_spread_levels[i]);
1419
- }
1420
-
1421
- texteditor = new TextEditor({ props: texteditor_props });
1422
-
1423
- return {
1424
- c() {
1425
- create_component(texteditor.$$.fragment);
1426
- },
1427
- m(target, anchor) {
1428
- mount_component(texteditor, target, anchor);
1429
- current = true;
1430
- },
1431
- p(ctx, dirty) {
1432
- const texteditor_changes = (dirty[0] & /*value, placeholder*/ 1025 | dirty[1] & /*resizable, onFocus, onBlur, onInput, onChange, textEditorParams*/ 31457345)
1433
- ? get_spread_update(texteditor_spread_levels, [
1434
- dirty[0] & /*value*/ 1 && {
1435
- value: typeof /*value*/ ctx[0] === "undefined"
1436
- ? ""
1437
- : /*value*/ ctx[0]
1438
- },
1439
- dirty[1] & /*resizable*/ 1 && { resizable: /*resizable*/ ctx[31] },
1440
- dirty[0] & /*placeholder*/ 1024 && { placeholder: /*placeholder*/ ctx[10] },
1441
- dirty[1] & /*onFocus*/ 4194304 && { onTextEditorFocus: /*onFocus*/ ctx[53] },
1442
- dirty[1] & /*onBlur*/ 8388608 && { onTextEditorBlur: /*onBlur*/ ctx[54] },
1443
- dirty[1] & /*onInput*/ 2097152 && { onTextEditorInput: /*onInput*/ ctx[52] },
1444
- dirty[1] & /*onChange*/ 16777216 && { onTextEditorChange: /*onChange*/ ctx[55] },
1445
- dirty[1] & /*textEditorParams*/ 64 && get_spread_object(/*textEditorParams*/ ctx[37])
1446
- ])
1447
- : {};
1448
-
1449
- texteditor.$set(texteditor_changes);
1450
- },
1451
- i(local) {
1452
- if (current) return;
1453
- transition_in(texteditor.$$.fragment, local);
1454
- current = true;
1455
- },
1456
- o(local) {
1457
- transition_out(texteditor.$$.fragment, local);
1458
- current = false;
1459
- },
1460
- d(detaching) {
1461
- destroy_component(texteditor, detaching);
1462
- }
1463
- };
1464
- }
1465
-
1466
- // (646:40)
1467
- function create_if_block_18(ctx) {
1468
- let textarea;
1469
- let textarea_validate_value;
1470
- let textarea_data_validate_value;
1471
- let textarea_data_validate_on_blur_value;
1472
- let textarea_data_error_message_value;
1473
- let mounted;
1474
- let dispose;
1475
-
1476
- return {
1477
- c() {
1478
- textarea = element("textarea");
1479
- attr(textarea, "style", /*inputStyle*/ ctx[26]);
1480
- attr(textarea, "name", /*name*/ ctx[5]);
1481
- attr(textarea, "placeholder", /*placeholder*/ ctx[10]);
1482
- attr(textarea, "id", /*inputId*/ ctx[11]);
1483
- attr(textarea, "size", /*size*/ ctx[12]);
1484
- attr(textarea, "inputmode", /*inputmode*/ ctx[6]);
1485
- attr(textarea, "accept", /*accept*/ ctx[13]);
1486
- attr(textarea, "autocomplete", /*autocomplete*/ ctx[14]);
1487
- attr(textarea, "autocorrect", /*autocorrect*/ ctx[15]);
1488
- attr(textarea, "autocapitalize", /*autocapitalize*/ ctx[16]);
1489
- attr(textarea, "spellcheck", /*spellcheck*/ ctx[17]);
1490
- textarea.autofocus = /*autofocus*/ ctx[18];
1491
- attr(textarea, "autosave", /*autosave*/ ctx[19]);
1492
- textarea.disabled = /*disabled*/ ctx[9];
1493
- attr(textarea, "max", /*max*/ ctx[20]);
1494
- attr(textarea, "maxlength", /*maxlength*/ ctx[23]);
1495
- attr(textarea, "min", /*min*/ ctx[21]);
1496
- attr(textarea, "minlength", /*minlength*/ ctx[24]);
1497
- attr(textarea, "step", /*step*/ ctx[22]);
1498
- attr(textarea, "multiple", /*multiple*/ ctx[25]);
1499
- textarea.readOnly = /*readonly*/ ctx[7];
1500
- textarea.required = /*required*/ ctx[8];
1501
- attr(textarea, "pattern", /*pattern*/ ctx[27]);
1502
-
1503
- attr(textarea, "validate", textarea_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
1504
- ? /*validate*/ ctx[28]
1505
- : undefined);
1506
-
1507
- attr(textarea, "data-validate", textarea_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1508
- ? true
1509
- : undefined);
1510
-
1511
- attr(textarea, "data-validate-on-blur", textarea_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1512
- ? true
1513
- : undefined);
1514
-
1515
- attr(textarea, "tabindex", /*tabindex*/ ctx[30]);
1516
-
1517
- attr(textarea, "data-error-message", textarea_data_error_message_value = /*errorMessageForce*/ ctx[34]
1518
- ? undefined
1519
- : /*errorMessage*/ ctx[33]);
1520
-
1521
- attr(textarea, "class", /*inputClasses*/ ctx[47]);
1522
- textarea.value = /*inputValue*/ ctx[44];
1523
- },
1524
- m(target, anchor) {
1525
- insert(target, textarea, anchor);
1526
- /*textarea_binding_1*/ ctx[82](textarea);
1527
-
1528
- if (!mounted) {
1529
- dispose = [
1530
- listen(textarea, "focus", /*onFocus*/ ctx[53]),
1531
- listen(textarea, "blur", /*onBlur*/ ctx[54]),
1532
- listen(textarea, "input", /*onInput*/ ctx[52]),
1533
- listen(textarea, "change", /*onChange*/ ctx[55])
1534
- ];
1535
-
1536
- mounted = true;
1537
- }
1538
- },
1539
- p(ctx, dirty) {
1540
- if (dirty[0] & /*inputStyle*/ 67108864) {
1541
- attr(textarea, "style", /*inputStyle*/ ctx[26]);
1542
- }
1543
-
1544
- if (dirty[0] & /*name*/ 32) {
1545
- attr(textarea, "name", /*name*/ ctx[5]);
1546
- }
1547
-
1548
- if (dirty[0] & /*placeholder*/ 1024) {
1549
- attr(textarea, "placeholder", /*placeholder*/ ctx[10]);
1550
- }
1551
-
1552
- if (dirty[0] & /*inputId*/ 2048) {
1553
- attr(textarea, "id", /*inputId*/ ctx[11]);
1554
- }
1555
-
1556
- if (dirty[0] & /*size*/ 4096) {
1557
- attr(textarea, "size", /*size*/ ctx[12]);
1558
- }
1559
-
1560
- if (dirty[0] & /*inputmode*/ 64) {
1561
- attr(textarea, "inputmode", /*inputmode*/ ctx[6]);
1562
- }
1563
-
1564
- if (dirty[0] & /*accept*/ 8192) {
1565
- attr(textarea, "accept", /*accept*/ ctx[13]);
1566
- }
1567
-
1568
- if (dirty[0] & /*autocomplete*/ 16384) {
1569
- attr(textarea, "autocomplete", /*autocomplete*/ ctx[14]);
1570
- }
1571
-
1572
- if (dirty[0] & /*autocorrect*/ 32768) {
1573
- attr(textarea, "autocorrect", /*autocorrect*/ ctx[15]);
1574
- }
1575
-
1576
- if (dirty[0] & /*autocapitalize*/ 65536) {
1577
- attr(textarea, "autocapitalize", /*autocapitalize*/ ctx[16]);
1578
- }
1579
-
1580
- if (dirty[0] & /*spellcheck*/ 131072) {
1581
- attr(textarea, "spellcheck", /*spellcheck*/ ctx[17]);
1582
- }
1583
-
1584
- if (dirty[0] & /*autofocus*/ 262144) {
1585
- textarea.autofocus = /*autofocus*/ ctx[18];
1586
- }
1587
-
1588
- if (dirty[0] & /*autosave*/ 524288) {
1589
- attr(textarea, "autosave", /*autosave*/ ctx[19]);
1590
- }
1591
-
1592
- if (dirty[0] & /*disabled*/ 512) {
1593
- textarea.disabled = /*disabled*/ ctx[9];
1594
- }
1595
-
1596
- if (dirty[0] & /*max*/ 1048576) {
1597
- attr(textarea, "max", /*max*/ ctx[20]);
1598
- }
1599
-
1600
- if (dirty[0] & /*maxlength*/ 8388608) {
1601
- attr(textarea, "maxlength", /*maxlength*/ ctx[23]);
1602
- }
1603
-
1604
- if (dirty[0] & /*min*/ 2097152) {
1605
- attr(textarea, "min", /*min*/ ctx[21]);
1606
- }
1607
-
1608
- if (dirty[0] & /*minlength*/ 16777216) {
1609
- attr(textarea, "minlength", /*minlength*/ ctx[24]);
1610
- }
1611
-
1612
- if (dirty[0] & /*step*/ 4194304) {
1613
- attr(textarea, "step", /*step*/ ctx[22]);
1614
- }
1615
-
1616
- if (dirty[0] & /*multiple*/ 33554432) {
1617
- attr(textarea, "multiple", /*multiple*/ ctx[25]);
1618
- }
1619
-
1620
- if (dirty[0] & /*readonly*/ 128) {
1621
- textarea.readOnly = /*readonly*/ ctx[7];
1622
- }
1623
-
1624
- if (dirty[0] & /*required*/ 256) {
1625
- textarea.required = /*required*/ ctx[8];
1626
- }
1627
-
1628
- if (dirty[0] & /*pattern*/ 134217728) {
1629
- attr(textarea, "pattern", /*pattern*/ ctx[27]);
1630
- }
1631
-
1632
- if (dirty[0] & /*validate*/ 268435456 && textarea_validate_value !== (textarea_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
1633
- ? /*validate*/ ctx[28]
1634
- : undefined)) {
1635
- attr(textarea, "validate", textarea_validate_value);
1636
- }
1637
-
1638
- if (dirty[0] & /*validate, validateOnBlur*/ 805306368 && textarea_data_validate_value !== (textarea_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1639
- ? true
1640
- : undefined)) {
1641
- attr(textarea, "data-validate", textarea_data_validate_value);
1642
- }
1643
-
1644
- if (dirty[0] & /*validateOnBlur*/ 536870912 && textarea_data_validate_on_blur_value !== (textarea_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1645
- ? true
1646
- : undefined)) {
1647
- attr(textarea, "data-validate-on-blur", textarea_data_validate_on_blur_value);
1648
- }
1649
-
1650
- if (dirty[0] & /*tabindex*/ 1073741824) {
1651
- attr(textarea, "tabindex", /*tabindex*/ ctx[30]);
1652
- }
1653
-
1654
- if (dirty[1] & /*errorMessageForce, errorMessage*/ 12 && textarea_data_error_message_value !== (textarea_data_error_message_value = /*errorMessageForce*/ ctx[34]
1655
- ? undefined
1656
- : /*errorMessage*/ ctx[33])) {
1657
- attr(textarea, "data-error-message", textarea_data_error_message_value);
1658
- }
1659
-
1660
- if (dirty[1] & /*inputClasses*/ 65536) {
1661
- attr(textarea, "class", /*inputClasses*/ ctx[47]);
1662
- }
1663
-
1664
- if (dirty[1] & /*inputValue*/ 8192) {
1665
- textarea.value = /*inputValue*/ ctx[44];
1666
- }
1667
- },
1668
- i: noop,
1669
- o: noop,
1670
- d(detaching) {
1671
- if (detaching) detach(textarea);
1672
- /*textarea_binding_1*/ ctx[82](null);
1673
- mounted = false;
1674
- run_all(dispose);
1675
- }
1676
- };
1677
- }
1678
-
1679
- // (600:10) {#if type === 'select'}
1680
- function create_if_block_17(ctx) {
1681
- let select;
1682
- let select_validate_value;
1683
- let select_data_validate_value;
1684
- let select_data_validate_on_blur_value;
1685
- let select_data_error_message_value;
1686
- let current;
1687
- let mounted;
1688
- let dispose;
1689
- const default_slot_template = /*#slots*/ ctx[77].default;
1690
- const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[76], null);
1691
-
1692
- return {
1693
- c() {
1694
- select = element("select");
1695
- if (default_slot) default_slot.c();
1696
- attr(select, "style", /*inputStyle*/ ctx[26]);
1697
- attr(select, "name", /*name*/ ctx[5]);
1698
- attr(select, "placeholder", /*placeholder*/ ctx[10]);
1699
- attr(select, "id", /*inputId*/ ctx[11]);
1700
- attr(select, "size", /*size*/ ctx[12]);
1701
- attr(select, "accept", /*accept*/ ctx[13]);
1702
- attr(select, "autocomplete", /*autocomplete*/ ctx[14]);
1703
- attr(select, "autocorrect", /*autocorrect*/ ctx[15]);
1704
- attr(select, "autocapitalize", /*autocapitalize*/ ctx[16]);
1705
- attr(select, "spellcheck", /*spellcheck*/ ctx[17]);
1706
- select.autofocus = /*autofocus*/ ctx[18];
1707
- attr(select, "autosave", /*autosave*/ ctx[19]);
1708
- select.disabled = /*disabled*/ ctx[9];
1709
- attr(select, "max", /*max*/ ctx[20]);
1710
- attr(select, "maxlength", /*maxlength*/ ctx[23]);
1711
- attr(select, "min", /*min*/ ctx[21]);
1712
- attr(select, "minlength", /*minlength*/ ctx[24]);
1713
- attr(select, "step", /*step*/ ctx[22]);
1714
- select.multiple = /*multiple*/ ctx[25];
1715
- attr(select, "readonly", /*readonly*/ ctx[7]);
1716
- select.required = /*required*/ ctx[8];
1717
- attr(select, "pattern", /*pattern*/ ctx[27]);
1718
-
1719
- attr(select, "validate", select_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
1720
- ? /*validate*/ ctx[28]
1721
- : undefined);
1722
-
1723
- attr(select, "data-validate", select_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1724
- ? true
1725
- : undefined);
1726
-
1727
- attr(select, "data-validate-on-blur", select_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1728
- ? true
1729
- : undefined);
1730
-
1731
- attr(select, "tabindex", /*tabindex*/ ctx[30]);
1732
-
1733
- attr(select, "data-error-message", select_data_error_message_value = /*errorMessageForce*/ ctx[34]
1734
- ? undefined
1735
- : /*errorMessage*/ ctx[33]);
1736
-
1737
- attr(select, "class", /*inputClasses*/ ctx[47]);
1738
- },
1739
- m(target, anchor) {
1740
- insert(target, select, anchor);
1741
-
1742
- if (default_slot) {
1743
- default_slot.m(select, null);
1744
- }
1745
-
1746
- select_option(select, /*inputValue*/ ctx[44]);
1747
- /*select_binding_1*/ ctx[81](select);
1748
- current = true;
1749
-
1750
- if (!mounted) {
1751
- dispose = [
1752
- listen(select, "focus", /*onFocus*/ ctx[53]),
1753
- listen(select, "blur", /*onBlur*/ ctx[54]),
1754
- listen(select, "input", /*onInput*/ ctx[52]),
1755
- listen(select, "change", /*onChange*/ ctx[55])
1756
- ];
1757
-
1758
- mounted = true;
1759
- }
1760
- },
1761
- p(ctx, dirty) {
1762
- if (default_slot) {
1763
- if (default_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
1764
- update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[76], dirty, null, null);
1765
- }
1766
- }
1767
-
1768
- if (!current || dirty[0] & /*inputStyle*/ 67108864) {
1769
- attr(select, "style", /*inputStyle*/ ctx[26]);
1770
- }
1771
-
1772
- if (!current || dirty[0] & /*name*/ 32) {
1773
- attr(select, "name", /*name*/ ctx[5]);
1774
- }
1775
-
1776
- if (!current || dirty[0] & /*placeholder*/ 1024) {
1777
- attr(select, "placeholder", /*placeholder*/ ctx[10]);
1778
- }
1779
-
1780
- if (!current || dirty[0] & /*inputId*/ 2048) {
1781
- attr(select, "id", /*inputId*/ ctx[11]);
1782
- }
1783
-
1784
- if (!current || dirty[0] & /*size*/ 4096) {
1785
- attr(select, "size", /*size*/ ctx[12]);
1786
- }
1787
-
1788
- if (!current || dirty[0] & /*accept*/ 8192) {
1789
- attr(select, "accept", /*accept*/ ctx[13]);
1790
- }
1791
-
1792
- if (!current || dirty[0] & /*autocomplete*/ 16384) {
1793
- attr(select, "autocomplete", /*autocomplete*/ ctx[14]);
1794
- }
1795
-
1796
- if (!current || dirty[0] & /*autocorrect*/ 32768) {
1797
- attr(select, "autocorrect", /*autocorrect*/ ctx[15]);
1798
- }
1799
-
1800
- if (!current || dirty[0] & /*autocapitalize*/ 65536) {
1801
- attr(select, "autocapitalize", /*autocapitalize*/ ctx[16]);
1802
- }
1803
-
1804
- if (!current || dirty[0] & /*spellcheck*/ 131072) {
1805
- attr(select, "spellcheck", /*spellcheck*/ ctx[17]);
1806
- }
1807
-
1808
- if (!current || dirty[0] & /*autofocus*/ 262144) {
1809
- select.autofocus = /*autofocus*/ ctx[18];
1810
- }
1811
-
1812
- if (!current || dirty[0] & /*autosave*/ 524288) {
1813
- attr(select, "autosave", /*autosave*/ ctx[19]);
1814
- }
1815
-
1816
- if (!current || dirty[0] & /*disabled*/ 512) {
1817
- select.disabled = /*disabled*/ ctx[9];
1818
- }
1819
-
1820
- if (!current || dirty[0] & /*max*/ 1048576) {
1821
- attr(select, "max", /*max*/ ctx[20]);
1822
- }
1823
-
1824
- if (!current || dirty[0] & /*maxlength*/ 8388608) {
1825
- attr(select, "maxlength", /*maxlength*/ ctx[23]);
1826
- }
1827
-
1828
- if (!current || dirty[0] & /*min*/ 2097152) {
1829
- attr(select, "min", /*min*/ ctx[21]);
1830
- }
1831
-
1832
- if (!current || dirty[0] & /*minlength*/ 16777216) {
1833
- attr(select, "minlength", /*minlength*/ ctx[24]);
1834
- }
1835
-
1836
- if (!current || dirty[0] & /*step*/ 4194304) {
1837
- attr(select, "step", /*step*/ ctx[22]);
1838
- }
1839
-
1840
- if (!current || dirty[0] & /*multiple*/ 33554432) {
1841
- select.multiple = /*multiple*/ ctx[25];
1842
- }
1843
-
1844
- if (!current || dirty[0] & /*readonly*/ 128) {
1845
- attr(select, "readonly", /*readonly*/ ctx[7]);
1846
- }
1847
-
1848
- if (!current || dirty[0] & /*required*/ 256) {
1849
- select.required = /*required*/ ctx[8];
1850
- }
1851
-
1852
- if (!current || dirty[0] & /*pattern*/ 134217728) {
1853
- attr(select, "pattern", /*pattern*/ ctx[27]);
1854
- }
1855
-
1856
- if (!current || dirty[0] & /*validate*/ 268435456 && select_validate_value !== (select_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
1857
- ? /*validate*/ ctx[28]
1858
- : undefined)) {
1859
- attr(select, "validate", select_validate_value);
1860
- }
1861
-
1862
- if (!current || dirty[0] & /*validate, validateOnBlur*/ 805306368 && select_data_validate_value !== (select_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1863
- ? true
1864
- : undefined)) {
1865
- attr(select, "data-validate", select_data_validate_value);
1866
- }
1867
-
1868
- if (!current || dirty[0] & /*validateOnBlur*/ 536870912 && select_data_validate_on_blur_value !== (select_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
1869
- ? true
1870
- : undefined)) {
1871
- attr(select, "data-validate-on-blur", select_data_validate_on_blur_value);
1872
- }
1873
-
1874
- if (!current || dirty[0] & /*tabindex*/ 1073741824) {
1875
- attr(select, "tabindex", /*tabindex*/ ctx[30]);
1876
- }
1877
-
1878
- if (!current || dirty[1] & /*errorMessageForce, errorMessage*/ 12 && select_data_error_message_value !== (select_data_error_message_value = /*errorMessageForce*/ ctx[34]
1879
- ? undefined
1880
- : /*errorMessage*/ ctx[33])) {
1881
- attr(select, "data-error-message", select_data_error_message_value);
1882
- }
1883
-
1884
- if (!current || dirty[1] & /*inputClasses*/ 65536) {
1885
- attr(select, "class", /*inputClasses*/ ctx[47]);
1886
- }
1887
-
1888
- if (!current || dirty[1] & /*inputValue*/ 8192) {
1889
- select_option(select, /*inputValue*/ ctx[44]);
1890
- }
1891
- },
1892
- i(local) {
1893
- if (current) return;
1894
- transition_in(default_slot, local);
1895
- current = true;
1896
- },
1897
- o(local) {
1898
- transition_out(default_slot, local);
1899
- current = false;
1900
- },
1901
- d(detaching) {
1902
- if (detaching) detach(select);
1903
- if (default_slot) default_slot.d(detaching);
1904
- /*select_binding_1*/ ctx[81](null);
1905
- mounted = false;
1906
- run_all(dispose);
1907
- }
1908
- };
1909
- }
1910
-
1911
- // (753:8) {#if hasErrorMessage && errorMessageForce}
1912
- function create_if_block_15(ctx) {
1913
- let div;
1914
- let t0_value = plainText(/*errorMessage*/ ctx[33]) + "";
1915
- let t0;
1916
- let t1;
1917
- let current;
1918
- const error_message_slot_template = /*#slots*/ ctx[77]["error-message"];
1919
- const error_message_slot = create_slot(error_message_slot_template, ctx, /*$$scope*/ ctx[76], get_error_message_slot_context_1);
1920
-
1921
- return {
1922
- c() {
1923
- div = element("div");
1924
- t0 = text(t0_value);
1925
- t1 = space();
1926
- if (error_message_slot) error_message_slot.c();
1927
- attr(div, "class", "item-input-error-message");
1928
- },
1929
- m(target, anchor) {
1930
- insert(target, div, anchor);
1931
- append(div, t0);
1932
- append(div, t1);
1933
-
1934
- if (error_message_slot) {
1935
- error_message_slot.m(div, null);
1936
- }
1937
-
1938
- current = true;
1939
- },
1940
- p(ctx, dirty) {
1941
- if ((!current || dirty[1] & /*errorMessage*/ 4) && t0_value !== (t0_value = plainText(/*errorMessage*/ ctx[33]) + "")) set_data(t0, t0_value);
1942
-
1943
- if (error_message_slot) {
1944
- if (error_message_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
1945
- update_slot(error_message_slot, error_message_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_error_message_slot_changes_1, get_error_message_slot_context_1);
1946
- }
1947
- }
1948
- },
1949
- i(local) {
1950
- if (current) return;
1951
- transition_in(error_message_slot, local);
1952
- current = true;
1953
- },
1954
- o(local) {
1955
- transition_out(error_message_slot, local);
1956
- current = false;
1957
- },
1958
- d(detaching) {
1959
- if (detaching) detach(div);
1960
- if (error_message_slot) error_message_slot.d(detaching);
1961
- }
1962
- };
1963
- }
1964
-
1965
- // (759:8) {#if clearButton}
1966
- function create_if_block_14(ctx) {
1967
- let span;
1968
-
1969
- return {
1970
- c() {
1971
- span = element("span");
1972
- attr(span, "class", "input-clear-button");
1973
- },
1974
- m(target, anchor) {
1975
- insert(target, span, anchor);
1976
- },
1977
- d(detaching) {
1978
- if (detaching) detach(span);
1979
- }
1980
- };
1981
- }
1982
-
1983
- // (760:8) {#if typeof info !== 'undefined' || hasInfoSlots}
1984
- function create_if_block_13(ctx) {
1985
- let div;
1986
- let t0_value = plainText(/*info*/ ctx[35]) + "";
1987
- let t0;
1988
- let t1;
1989
- let current;
1990
- const info_slot_template = /*#slots*/ ctx[77].info;
1991
- const info_slot = create_slot(info_slot_template, ctx, /*$$scope*/ ctx[76], get_info_slot_context_1);
1992
-
1993
- return {
1994
- c() {
1995
- div = element("div");
1996
- t0 = text(t0_value);
1997
- t1 = space();
1998
- if (info_slot) info_slot.c();
1999
- attr(div, "class", "item-input-info");
2000
- },
2001
- m(target, anchor) {
2002
- insert(target, div, anchor);
2003
- append(div, t0);
2004
- append(div, t1);
2005
-
2006
- if (info_slot) {
2007
- info_slot.m(div, null);
2008
- }
2009
-
2010
- current = true;
2011
- },
2012
- p(ctx, dirty) {
2013
- if ((!current || dirty[1] & /*info*/ 16) && t0_value !== (t0_value = plainText(/*info*/ ctx[35]) + "")) set_data(t0, t0_value);
2014
-
2015
- if (info_slot) {
2016
- if (info_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
2017
- update_slot(info_slot, info_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_info_slot_changes_1, get_info_slot_context_1);
2018
- }
2019
- }
2020
- },
2021
- i(local) {
2022
- if (current) return;
2023
- transition_in(info_slot, local);
2024
- current = true;
2025
- },
2026
- o(local) {
2027
- transition_out(info_slot, local);
2028
- current = false;
2029
- },
2030
- d(detaching) {
2031
- if (detaching) detach(div);
2032
- if (info_slot) info_slot.d(detaching);
2033
- }
2034
- };
2035
- }
2036
-
2037
- // (378:6) {#if isSortable && isSortableOpposite}
2038
- function create_if_block_12(ctx) {
2039
- let div;
2040
-
2041
- return {
2042
- c() {
2043
- div = element("div");
2044
- attr(div, "class", "sortable-handler");
2045
- },
2046
- m(target, anchor) {
2047
- insert(target, div, anchor);
2048
- },
2049
- d(detaching) {
2050
- if (detaching) detach(div);
2051
- }
2052
- };
2053
- }
2054
-
2055
- // (382:6) {#if media || hasMediaSlots}
2056
- function create_if_block_10(ctx) {
2057
- let div;
2058
- let t;
2059
- let current;
2060
- let if_block = typeof /*media*/ ctx[1] !== "undefined" && create_if_block_11(ctx);
2061
- const media_slot_template = /*#slots*/ ctx[77].media;
2062
- const media_slot = create_slot(media_slot_template, ctx, /*$$scope*/ ctx[76], get_media_slot_context);
2063
-
2064
- return {
2065
- c() {
2066
- div = element("div");
2067
- if (if_block) if_block.c();
2068
- t = space();
2069
- if (media_slot) media_slot.c();
2070
- attr(div, "class", "item-media");
2071
- },
2072
- m(target, anchor) {
2073
- insert(target, div, anchor);
2074
- if (if_block) if_block.m(div, null);
2075
- append(div, t);
2076
-
2077
- if (media_slot) {
2078
- media_slot.m(div, null);
2079
- }
2080
-
2081
- current = true;
2082
- },
2083
- p(ctx, dirty) {
2084
- if (typeof /*media*/ ctx[1] !== "undefined") {
2085
- if (if_block) {
2086
- if_block.p(ctx, dirty);
2087
- } else {
2088
- if_block = create_if_block_11(ctx);
2089
- if_block.c();
2090
- if_block.m(div, t);
2091
- }
2092
- } else if (if_block) {
2093
- if_block.d(1);
2094
- if_block = null;
2095
- }
2096
-
2097
- if (media_slot) {
2098
- if (media_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
2099
- update_slot(media_slot, media_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_media_slot_changes, get_media_slot_context);
2100
- }
2101
- }
2102
- },
2103
- i(local) {
2104
- if (current) return;
2105
- transition_in(media_slot, local);
2106
- current = true;
2107
- },
2108
- o(local) {
2109
- transition_out(media_slot, local);
2110
- current = false;
2111
- },
2112
- d(detaching) {
2113
- if (detaching) detach(div);
2114
- if (if_block) if_block.d();
2115
- if (media_slot) media_slot.d(detaching);
2116
- }
2117
- };
2118
- }
2119
-
2120
- // (384:10) {#if typeof media !== 'undefined'}
2121
- function create_if_block_11(ctx) {
2122
- let img;
2123
- let img_src_value;
2124
-
2125
- return {
2126
- c() {
2127
- img = element("img");
2128
- if (img.src !== (img_src_value = /*media*/ ctx[1])) attr(img, "src", img_src_value);
2129
- },
2130
- m(target, anchor) {
2131
- insert(target, img, anchor);
2132
- },
2133
- p(ctx, dirty) {
2134
- if (dirty[0] & /*media*/ 2 && img.src !== (img_src_value = /*media*/ ctx[1])) {
2135
- attr(img, "src", img_src_value);
2136
- }
2137
- },
2138
- d(detaching) {
2139
- if (detaching) detach(img);
2140
- }
2141
- };
2142
- }
2143
-
2144
- // (390:8) {#if typeof label !== 'undefined' || hasLabelSlots}
2145
- function create_if_block_9(ctx) {
2146
- let div;
2147
- let t0_value = plainText(/*label*/ ctx[36]) + "";
2148
- let t0;
2149
- let t1;
2150
- let current;
2151
- const label_slot_template = /*#slots*/ ctx[77].label;
2152
- const label_slot = create_slot(label_slot_template, ctx, /*$$scope*/ ctx[76], get_label_slot_context);
2153
-
2154
- return {
2155
- c() {
2156
- div = element("div");
2157
- t0 = text(t0_value);
2158
- t1 = space();
2159
- if (label_slot) label_slot.c();
2160
- attr(div, "class", /*labelClasses*/ ctx[49]);
2161
- },
2162
- m(target, anchor) {
2163
- insert(target, div, anchor);
2164
- append(div, t0);
2165
- append(div, t1);
2166
-
2167
- if (label_slot) {
2168
- label_slot.m(div, null);
2169
- }
2170
-
2171
- current = true;
2172
- },
2173
- p(ctx, dirty) {
2174
- if ((!current || dirty[1] & /*label*/ 32) && t0_value !== (t0_value = plainText(/*label*/ ctx[36]) + "")) set_data(t0, t0_value);
2175
-
2176
- if (label_slot) {
2177
- if (label_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
2178
- update_slot(label_slot, label_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_label_slot_changes, get_label_slot_context);
2179
- }
2180
- }
2181
-
2182
- if (!current || dirty[1] & /*labelClasses*/ 262144) {
2183
- attr(div, "class", /*labelClasses*/ ctx[49]);
2184
- }
2185
- },
2186
- i(local) {
2187
- if (current) return;
2188
- transition_in(label_slot, local);
2189
- current = true;
2190
- },
2191
- o(local) {
2192
- transition_out(label_slot, local);
2193
- current = false;
2194
- },
2195
- d(detaching) {
2196
- if (detaching) detach(div);
2197
- if (label_slot) label_slot.d(detaching);
2198
- }
2199
- };
2200
- }
2201
-
2202
- // (397:10) {#if input}
2203
- function create_if_block_5(ctx) {
2204
- let current_block_type_index;
2205
- let if_block;
2206
- let if_block_anchor;
2207
- let current;
2208
- const if_block_creators = [create_if_block_6, create_if_block_7, create_if_block_8, create_else_block];
2209
- const if_blocks = [];
2210
-
2211
- function select_block_type_1(ctx, dirty) {
2212
- if (/*type*/ ctx[4] === "select") return 0;
2213
- if (/*type*/ ctx[4] === "textarea") return 1;
2214
- if (/*type*/ ctx[4] === "texteditor") return 2;
2215
- return 3;
2216
- }
2217
-
2218
- current_block_type_index = select_block_type_1(ctx, [-1]);
2219
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
2220
-
2221
- return {
2222
- c() {
2223
- if_block.c();
2224
- if_block_anchor = empty();
2225
- },
2226
- m(target, anchor) {
2227
- if_blocks[current_block_type_index].m(target, anchor);
2228
- insert(target, if_block_anchor, anchor);
2229
- current = true;
2230
- },
2231
- p(ctx, dirty) {
2232
- let previous_block_index = current_block_type_index;
2233
- current_block_type_index = select_block_type_1(ctx, dirty);
2234
-
2235
- if (current_block_type_index === previous_block_index) {
2236
- if_blocks[current_block_type_index].p(ctx, dirty);
2237
- } else {
2238
- group_outros();
2239
-
2240
- transition_out(if_blocks[previous_block_index], 1, 1, () => {
2241
- if_blocks[previous_block_index] = null;
2242
- });
2243
-
2244
- check_outros();
2245
- if_block = if_blocks[current_block_type_index];
2246
-
2247
- if (!if_block) {
2248
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
2249
- if_block.c();
2250
- } else {
2251
- if_block.p(ctx, dirty);
2252
- }
2253
-
2254
- transition_in(if_block, 1);
2255
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
2256
- }
2257
- },
2258
- i(local) {
2259
- if (current) return;
2260
- transition_in(if_block);
2261
- current = true;
2262
- },
2263
- o(local) {
2264
- transition_out(if_block);
2265
- current = false;
2266
- },
2267
- d(detaching) {
2268
- if_blocks[current_block_type_index].d(detaching);
2269
- if (detaching) detach(if_block_anchor);
2270
- }
2271
- };
2272
- }
2273
-
2274
- // (500:12) {:else}
2275
- function create_else_block(ctx) {
2276
- let input_1;
2277
- let input_1_validate_value;
2278
- let input_1_data_validate_value;
2279
- let input_1_data_validate_on_blur_value;
2280
- let input_1_data_error_message_value;
2281
- let input_1_value_value;
2282
- let mounted;
2283
- let dispose;
2284
-
2285
- return {
2286
- c() {
2287
- input_1 = element("input");
2288
- attr(input_1, "style", /*inputStyle*/ ctx[26]);
2289
- attr(input_1, "name", /*name*/ ctx[5]);
2290
- attr(input_1, "type", /*inputType*/ ctx[38]);
2291
- attr(input_1, "inputmode", /*inputmode*/ ctx[6]);
2292
- attr(input_1, "placeholder", /*placeholder*/ ctx[10]);
2293
- attr(input_1, "id", /*inputId*/ ctx[11]);
2294
- attr(input_1, "size", /*size*/ ctx[12]);
2295
- attr(input_1, "accept", /*accept*/ ctx[13]);
2296
- attr(input_1, "autocomplete", /*autocomplete*/ ctx[14]);
2297
- attr(input_1, "autocorrect", /*autocorrect*/ ctx[15]);
2298
- attr(input_1, "autocapitalize", /*autocapitalize*/ ctx[16]);
2299
- attr(input_1, "spellcheck", /*spellcheck*/ ctx[17]);
2300
- input_1.autofocus = /*autofocus*/ ctx[18];
2301
- attr(input_1, "autosave", /*autosave*/ ctx[19]);
2302
- input_1.disabled = /*disabled*/ ctx[9];
2303
- attr(input_1, "max", /*max*/ ctx[20]);
2304
- attr(input_1, "maxlength", /*maxlength*/ ctx[23]);
2305
- attr(input_1, "min", /*min*/ ctx[21]);
2306
- attr(input_1, "minlength", /*minlength*/ ctx[24]);
2307
- attr(input_1, "step", /*step*/ ctx[22]);
2308
- input_1.multiple = /*multiple*/ ctx[25];
2309
- input_1.readOnly = /*readonly*/ ctx[7];
2310
- input_1.required = /*required*/ ctx[8];
2311
- attr(input_1, "pattern", /*pattern*/ ctx[27]);
2312
-
2313
- attr(input_1, "validate", input_1_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
2314
- ? /*validate*/ ctx[28]
2315
- : undefined);
2316
-
2317
- attr(input_1, "data-validate", input_1_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2318
- ? true
2319
- : undefined);
2320
-
2321
- attr(input_1, "data-validate-on-blur", input_1_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2322
- ? true
2323
- : undefined);
2324
-
2325
- attr(input_1, "tabindex", /*tabindex*/ ctx[30]);
2326
-
2327
- attr(input_1, "data-error-message", input_1_data_error_message_value = /*errorMessageForce*/ ctx[34]
2328
- ? undefined
2329
- : /*errorMessage*/ ctx[33]);
2330
-
2331
- attr(input_1, "class", /*inputClasses*/ ctx[47]);
2332
-
2333
- input_1.value = input_1_value_value = /*type*/ ctx[4] === "datepicker" || /*type*/ ctx[4] === "colorpicker" || /*type*/ ctx[4] === "file"
2334
- ? ""
2335
- : /*inputValue*/ ctx[44];
2336
- },
2337
- m(target, anchor) {
2338
- insert(target, input_1, anchor);
2339
- /*input_1_binding*/ ctx[80](input_1);
2340
-
2341
- if (!mounted) {
2342
- dispose = [
2343
- listen(input_1, "focus", /*onFocus*/ ctx[53]),
2344
- listen(input_1, "blur", /*onBlur*/ ctx[54]),
2345
- listen(input_1, "input", /*onInput*/ ctx[52]),
2346
- listen(input_1, "change", /*onChange*/ ctx[55])
2347
- ];
2348
-
2349
- mounted = true;
2350
- }
2351
- },
2352
- p(ctx, dirty) {
2353
- if (dirty[0] & /*inputStyle*/ 67108864) {
2354
- attr(input_1, "style", /*inputStyle*/ ctx[26]);
2355
- }
2356
-
2357
- if (dirty[0] & /*name*/ 32) {
2358
- attr(input_1, "name", /*name*/ ctx[5]);
2359
- }
2360
-
2361
- if (dirty[1] & /*inputType*/ 128) {
2362
- attr(input_1, "type", /*inputType*/ ctx[38]);
2363
- }
2364
-
2365
- if (dirty[0] & /*inputmode*/ 64) {
2366
- attr(input_1, "inputmode", /*inputmode*/ ctx[6]);
2367
- }
2368
-
2369
- if (dirty[0] & /*placeholder*/ 1024) {
2370
- attr(input_1, "placeholder", /*placeholder*/ ctx[10]);
2371
- }
2372
-
2373
- if (dirty[0] & /*inputId*/ 2048) {
2374
- attr(input_1, "id", /*inputId*/ ctx[11]);
2375
- }
2376
-
2377
- if (dirty[0] & /*size*/ 4096) {
2378
- attr(input_1, "size", /*size*/ ctx[12]);
2379
- }
2380
-
2381
- if (dirty[0] & /*accept*/ 8192) {
2382
- attr(input_1, "accept", /*accept*/ ctx[13]);
2383
- }
2384
-
2385
- if (dirty[0] & /*autocomplete*/ 16384) {
2386
- attr(input_1, "autocomplete", /*autocomplete*/ ctx[14]);
2387
- }
2388
-
2389
- if (dirty[0] & /*autocorrect*/ 32768) {
2390
- attr(input_1, "autocorrect", /*autocorrect*/ ctx[15]);
2391
- }
2392
-
2393
- if (dirty[0] & /*autocapitalize*/ 65536) {
2394
- attr(input_1, "autocapitalize", /*autocapitalize*/ ctx[16]);
2395
- }
2396
-
2397
- if (dirty[0] & /*spellcheck*/ 131072) {
2398
- attr(input_1, "spellcheck", /*spellcheck*/ ctx[17]);
2399
- }
2400
-
2401
- if (dirty[0] & /*autofocus*/ 262144) {
2402
- input_1.autofocus = /*autofocus*/ ctx[18];
2403
- }
2404
-
2405
- if (dirty[0] & /*autosave*/ 524288) {
2406
- attr(input_1, "autosave", /*autosave*/ ctx[19]);
2407
- }
2408
-
2409
- if (dirty[0] & /*disabled*/ 512) {
2410
- input_1.disabled = /*disabled*/ ctx[9];
2411
- }
2412
-
2413
- if (dirty[0] & /*max*/ 1048576) {
2414
- attr(input_1, "max", /*max*/ ctx[20]);
2415
- }
2416
-
2417
- if (dirty[0] & /*maxlength*/ 8388608) {
2418
- attr(input_1, "maxlength", /*maxlength*/ ctx[23]);
2419
- }
2420
-
2421
- if (dirty[0] & /*min*/ 2097152) {
2422
- attr(input_1, "min", /*min*/ ctx[21]);
2423
- }
2424
-
2425
- if (dirty[0] & /*minlength*/ 16777216) {
2426
- attr(input_1, "minlength", /*minlength*/ ctx[24]);
2427
- }
2428
-
2429
- if (dirty[0] & /*step*/ 4194304) {
2430
- attr(input_1, "step", /*step*/ ctx[22]);
2431
- }
2432
-
2433
- if (dirty[0] & /*multiple*/ 33554432) {
2434
- input_1.multiple = /*multiple*/ ctx[25];
2435
- }
2436
-
2437
- if (dirty[0] & /*readonly*/ 128) {
2438
- input_1.readOnly = /*readonly*/ ctx[7];
2439
- }
2440
-
2441
- if (dirty[0] & /*required*/ 256) {
2442
- input_1.required = /*required*/ ctx[8];
2443
- }
2444
-
2445
- if (dirty[0] & /*pattern*/ 134217728) {
2446
- attr(input_1, "pattern", /*pattern*/ ctx[27]);
2447
- }
2448
-
2449
- if (dirty[0] & /*validate*/ 268435456 && input_1_validate_value !== (input_1_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
2450
- ? /*validate*/ ctx[28]
2451
- : undefined)) {
2452
- attr(input_1, "validate", input_1_validate_value);
2453
- }
2454
-
2455
- if (dirty[0] & /*validate, validateOnBlur*/ 805306368 && input_1_data_validate_value !== (input_1_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2456
- ? true
2457
- : undefined)) {
2458
- attr(input_1, "data-validate", input_1_data_validate_value);
2459
- }
2460
-
2461
- if (dirty[0] & /*validateOnBlur*/ 536870912 && input_1_data_validate_on_blur_value !== (input_1_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2462
- ? true
2463
- : undefined)) {
2464
- attr(input_1, "data-validate-on-blur", input_1_data_validate_on_blur_value);
2465
- }
2466
-
2467
- if (dirty[0] & /*tabindex*/ 1073741824) {
2468
- attr(input_1, "tabindex", /*tabindex*/ ctx[30]);
2469
- }
2470
-
2471
- if (dirty[1] & /*errorMessageForce, errorMessage*/ 12 && input_1_data_error_message_value !== (input_1_data_error_message_value = /*errorMessageForce*/ ctx[34]
2472
- ? undefined
2473
- : /*errorMessage*/ ctx[33])) {
2474
- attr(input_1, "data-error-message", input_1_data_error_message_value);
2475
- }
2476
-
2477
- if (dirty[1] & /*inputClasses*/ 65536) {
2478
- attr(input_1, "class", /*inputClasses*/ ctx[47]);
2479
- }
2480
-
2481
- if (dirty[0] & /*type*/ 16 | dirty[1] & /*inputValue*/ 8192 && input_1_value_value !== (input_1_value_value = /*type*/ ctx[4] === "datepicker" || /*type*/ ctx[4] === "colorpicker" || /*type*/ ctx[4] === "file"
2482
- ? ""
2483
- : /*inputValue*/ ctx[44]) && input_1.value !== input_1_value_value) {
2484
- input_1.value = input_1_value_value;
2485
- }
2486
- },
2487
- i: noop,
2488
- o: noop,
2489
- d(detaching) {
2490
- if (detaching) detach(input_1);
2491
- /*input_1_binding*/ ctx[80](null);
2492
- mounted = false;
2493
- run_all(dispose);
2494
- }
2495
- };
2496
- }
2497
-
2498
- // (489:44)
2499
- function create_if_block_8(ctx) {
2500
- let texteditor;
2501
- let current;
2502
-
2503
- const texteditor_spread_levels = [
2504
- {
2505
- value: typeof /*value*/ ctx[0] === "undefined"
2506
- ? ""
2507
- : /*value*/ ctx[0]
2508
- },
2509
- { resizable: /*resizable*/ ctx[31] },
2510
- { placeholder: /*placeholder*/ ctx[10] },
2511
- { onTextEditorFocus: /*onFocus*/ ctx[53] },
2512
- { onTextEditorBlur: /*onBlur*/ ctx[54] },
2513
- { onTextEditorInput: /*onInput*/ ctx[52] },
2514
- { onTextEditorChange: /*onChange*/ ctx[55] },
2515
- /*textEditorParams*/ ctx[37]
2516
- ];
2517
-
2518
- let texteditor_props = {};
2519
-
2520
- for (let i = 0; i < texteditor_spread_levels.length; i += 1) {
2521
- texteditor_props = assign(texteditor_props, texteditor_spread_levels[i]);
2522
- }
2523
-
2524
- texteditor = new TextEditor({ props: texteditor_props });
2525
-
2526
- return {
2527
- c() {
2528
- create_component(texteditor.$$.fragment);
2529
- },
2530
- m(target, anchor) {
2531
- mount_component(texteditor, target, anchor);
2532
- current = true;
2533
- },
2534
- p(ctx, dirty) {
2535
- const texteditor_changes = (dirty[0] & /*value, placeholder*/ 1025 | dirty[1] & /*resizable, onFocus, onBlur, onInput, onChange, textEditorParams*/ 31457345)
2536
- ? get_spread_update(texteditor_spread_levels, [
2537
- dirty[0] & /*value*/ 1 && {
2538
- value: typeof /*value*/ ctx[0] === "undefined"
2539
- ? ""
2540
- : /*value*/ ctx[0]
2541
- },
2542
- dirty[1] & /*resizable*/ 1 && { resizable: /*resizable*/ ctx[31] },
2543
- dirty[0] & /*placeholder*/ 1024 && { placeholder: /*placeholder*/ ctx[10] },
2544
- dirty[1] & /*onFocus*/ 4194304 && { onTextEditorFocus: /*onFocus*/ ctx[53] },
2545
- dirty[1] & /*onBlur*/ 8388608 && { onTextEditorBlur: /*onBlur*/ ctx[54] },
2546
- dirty[1] & /*onInput*/ 2097152 && { onTextEditorInput: /*onInput*/ ctx[52] },
2547
- dirty[1] & /*onChange*/ 16777216 && { onTextEditorChange: /*onChange*/ ctx[55] },
2548
- dirty[1] & /*textEditorParams*/ 64 && get_spread_object(/*textEditorParams*/ ctx[37])
2549
- ])
2550
- : {};
2551
-
2552
- texteditor.$set(texteditor_changes);
2553
- },
2554
- i(local) {
2555
- if (current) return;
2556
- transition_in(texteditor.$$.fragment, local);
2557
- current = true;
2558
- },
2559
- o(local) {
2560
- transition_out(texteditor.$$.fragment, local);
2561
- current = false;
2562
- },
2563
- d(detaching) {
2564
- destroy_component(texteditor, detaching);
2565
- }
2566
- };
2567
- }
2568
-
2569
- // (444:42)
2570
- function create_if_block_7(ctx) {
2571
- let textarea;
2572
- let textarea_validate_value;
2573
- let textarea_data_validate_value;
2574
- let textarea_data_validate_on_blur_value;
2575
- let textarea_data_error_message_value;
2576
- let mounted;
2577
- let dispose;
2578
-
2579
- return {
2580
- c() {
2581
- textarea = element("textarea");
2582
- attr(textarea, "style", /*inputStyle*/ ctx[26]);
2583
- attr(textarea, "name", /*name*/ ctx[5]);
2584
- attr(textarea, "placeholder", /*placeholder*/ ctx[10]);
2585
- attr(textarea, "id", /*inputId*/ ctx[11]);
2586
- attr(textarea, "size", /*size*/ ctx[12]);
2587
- attr(textarea, "inputmode", /*inputmode*/ ctx[6]);
2588
- attr(textarea, "accept", /*accept*/ ctx[13]);
2589
- attr(textarea, "autocomplete", /*autocomplete*/ ctx[14]);
2590
- attr(textarea, "autocorrect", /*autocorrect*/ ctx[15]);
2591
- attr(textarea, "autocapitalize", /*autocapitalize*/ ctx[16]);
2592
- attr(textarea, "spellcheck", /*spellcheck*/ ctx[17]);
2593
- textarea.autofocus = /*autofocus*/ ctx[18];
2594
- attr(textarea, "autosave", /*autosave*/ ctx[19]);
2595
- textarea.disabled = /*disabled*/ ctx[9];
2596
- attr(textarea, "max", /*max*/ ctx[20]);
2597
- attr(textarea, "maxlength", /*maxlength*/ ctx[23]);
2598
- attr(textarea, "min", /*min*/ ctx[21]);
2599
- attr(textarea, "minlength", /*minlength*/ ctx[24]);
2600
- attr(textarea, "step", /*step*/ ctx[22]);
2601
- attr(textarea, "multiple", /*multiple*/ ctx[25]);
2602
- textarea.readOnly = /*readonly*/ ctx[7];
2603
- textarea.required = /*required*/ ctx[8];
2604
- attr(textarea, "pattern", /*pattern*/ ctx[27]);
2605
-
2606
- attr(textarea, "validate", textarea_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
2607
- ? /*validate*/ ctx[28]
2608
- : undefined);
2609
-
2610
- attr(textarea, "data-validate", textarea_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2611
- ? true
2612
- : undefined);
2613
-
2614
- attr(textarea, "data-validate-on-blur", textarea_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2615
- ? true
2616
- : undefined);
2617
-
2618
- attr(textarea, "tabindex", /*tabindex*/ ctx[30]);
2619
-
2620
- attr(textarea, "data-error-message", textarea_data_error_message_value = /*errorMessageForce*/ ctx[34]
2621
- ? undefined
2622
- : /*errorMessage*/ ctx[33]);
2623
-
2624
- attr(textarea, "class", /*inputClasses*/ ctx[47]);
2625
- textarea.value = /*inputValue*/ ctx[44];
2626
- },
2627
- m(target, anchor) {
2628
- insert(target, textarea, anchor);
2629
- /*textarea_binding*/ ctx[79](textarea);
2630
-
2631
- if (!mounted) {
2632
- dispose = [
2633
- listen(textarea, "focus", /*onFocus*/ ctx[53]),
2634
- listen(textarea, "blur", /*onBlur*/ ctx[54]),
2635
- listen(textarea, "input", /*onInput*/ ctx[52]),
2636
- listen(textarea, "change", /*onChange*/ ctx[55])
2637
- ];
2638
-
2639
- mounted = true;
2640
- }
2641
- },
2642
- p(ctx, dirty) {
2643
- if (dirty[0] & /*inputStyle*/ 67108864) {
2644
- attr(textarea, "style", /*inputStyle*/ ctx[26]);
2645
- }
2646
-
2647
- if (dirty[0] & /*name*/ 32) {
2648
- attr(textarea, "name", /*name*/ ctx[5]);
2649
- }
2650
-
2651
- if (dirty[0] & /*placeholder*/ 1024) {
2652
- attr(textarea, "placeholder", /*placeholder*/ ctx[10]);
2653
- }
2654
-
2655
- if (dirty[0] & /*inputId*/ 2048) {
2656
- attr(textarea, "id", /*inputId*/ ctx[11]);
2657
- }
2658
-
2659
- if (dirty[0] & /*size*/ 4096) {
2660
- attr(textarea, "size", /*size*/ ctx[12]);
2661
- }
2662
-
2663
- if (dirty[0] & /*inputmode*/ 64) {
2664
- attr(textarea, "inputmode", /*inputmode*/ ctx[6]);
2665
- }
2666
-
2667
- if (dirty[0] & /*accept*/ 8192) {
2668
- attr(textarea, "accept", /*accept*/ ctx[13]);
2669
- }
2670
-
2671
- if (dirty[0] & /*autocomplete*/ 16384) {
2672
- attr(textarea, "autocomplete", /*autocomplete*/ ctx[14]);
2673
- }
2674
-
2675
- if (dirty[0] & /*autocorrect*/ 32768) {
2676
- attr(textarea, "autocorrect", /*autocorrect*/ ctx[15]);
2677
- }
2678
-
2679
- if (dirty[0] & /*autocapitalize*/ 65536) {
2680
- attr(textarea, "autocapitalize", /*autocapitalize*/ ctx[16]);
2681
- }
2682
-
2683
- if (dirty[0] & /*spellcheck*/ 131072) {
2684
- attr(textarea, "spellcheck", /*spellcheck*/ ctx[17]);
2685
- }
2686
-
2687
- if (dirty[0] & /*autofocus*/ 262144) {
2688
- textarea.autofocus = /*autofocus*/ ctx[18];
2689
- }
2690
-
2691
- if (dirty[0] & /*autosave*/ 524288) {
2692
- attr(textarea, "autosave", /*autosave*/ ctx[19]);
2693
- }
2694
-
2695
- if (dirty[0] & /*disabled*/ 512) {
2696
- textarea.disabled = /*disabled*/ ctx[9];
2697
- }
2698
-
2699
- if (dirty[0] & /*max*/ 1048576) {
2700
- attr(textarea, "max", /*max*/ ctx[20]);
2701
- }
2702
-
2703
- if (dirty[0] & /*maxlength*/ 8388608) {
2704
- attr(textarea, "maxlength", /*maxlength*/ ctx[23]);
2705
- }
2706
-
2707
- if (dirty[0] & /*min*/ 2097152) {
2708
- attr(textarea, "min", /*min*/ ctx[21]);
2709
- }
2710
-
2711
- if (dirty[0] & /*minlength*/ 16777216) {
2712
- attr(textarea, "minlength", /*minlength*/ ctx[24]);
2713
- }
2714
-
2715
- if (dirty[0] & /*step*/ 4194304) {
2716
- attr(textarea, "step", /*step*/ ctx[22]);
2717
- }
2718
-
2719
- if (dirty[0] & /*multiple*/ 33554432) {
2720
- attr(textarea, "multiple", /*multiple*/ ctx[25]);
2721
- }
2722
-
2723
- if (dirty[0] & /*readonly*/ 128) {
2724
- textarea.readOnly = /*readonly*/ ctx[7];
2725
- }
2726
-
2727
- if (dirty[0] & /*required*/ 256) {
2728
- textarea.required = /*required*/ ctx[8];
2729
- }
2730
-
2731
- if (dirty[0] & /*pattern*/ 134217728) {
2732
- attr(textarea, "pattern", /*pattern*/ ctx[27]);
2733
- }
2734
-
2735
- if (dirty[0] & /*validate*/ 268435456 && textarea_validate_value !== (textarea_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
2736
- ? /*validate*/ ctx[28]
2737
- : undefined)) {
2738
- attr(textarea, "validate", textarea_validate_value);
2739
- }
2740
-
2741
- if (dirty[0] & /*validate, validateOnBlur*/ 805306368 && textarea_data_validate_value !== (textarea_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2742
- ? true
2743
- : undefined)) {
2744
- attr(textarea, "data-validate", textarea_data_validate_value);
2745
- }
2746
-
2747
- if (dirty[0] & /*validateOnBlur*/ 536870912 && textarea_data_validate_on_blur_value !== (textarea_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2748
- ? true
2749
- : undefined)) {
2750
- attr(textarea, "data-validate-on-blur", textarea_data_validate_on_blur_value);
2751
- }
2752
-
2753
- if (dirty[0] & /*tabindex*/ 1073741824) {
2754
- attr(textarea, "tabindex", /*tabindex*/ ctx[30]);
2755
- }
2756
-
2757
- if (dirty[1] & /*errorMessageForce, errorMessage*/ 12 && textarea_data_error_message_value !== (textarea_data_error_message_value = /*errorMessageForce*/ ctx[34]
2758
- ? undefined
2759
- : /*errorMessage*/ ctx[33])) {
2760
- attr(textarea, "data-error-message", textarea_data_error_message_value);
2761
- }
2762
-
2763
- if (dirty[1] & /*inputClasses*/ 65536) {
2764
- attr(textarea, "class", /*inputClasses*/ ctx[47]);
2765
- }
2766
-
2767
- if (dirty[1] & /*inputValue*/ 8192) {
2768
- textarea.value = /*inputValue*/ ctx[44];
2769
- }
2770
- },
2771
- i: noop,
2772
- o: noop,
2773
- d(detaching) {
2774
- if (detaching) detach(textarea);
2775
- /*textarea_binding*/ ctx[79](null);
2776
- mounted = false;
2777
- run_all(dispose);
2778
- }
2779
- };
2780
- }
2781
-
2782
- // (398:12) {#if type === 'select'}
2783
- function create_if_block_6(ctx) {
2784
- let select;
2785
- let select_validate_value;
2786
- let select_data_validate_value;
2787
- let select_data_validate_on_blur_value;
2788
- let select_data_error_message_value;
2789
- let current;
2790
- let mounted;
2791
- let dispose;
2792
- const default_slot_template = /*#slots*/ ctx[77].default;
2793
- const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[76], null);
2794
-
2795
- return {
2796
- c() {
2797
- select = element("select");
2798
- if (default_slot) default_slot.c();
2799
- attr(select, "style", /*inputStyle*/ ctx[26]);
2800
- attr(select, "name", /*name*/ ctx[5]);
2801
- attr(select, "placeholder", /*placeholder*/ ctx[10]);
2802
- attr(select, "id", /*inputId*/ ctx[11]);
2803
- attr(select, "size", /*size*/ ctx[12]);
2804
- attr(select, "accept", /*accept*/ ctx[13]);
2805
- attr(select, "autocomplete", /*autocomplete*/ ctx[14]);
2806
- attr(select, "autocorrect", /*autocorrect*/ ctx[15]);
2807
- attr(select, "autocapitalize", /*autocapitalize*/ ctx[16]);
2808
- attr(select, "spellcheck", /*spellcheck*/ ctx[17]);
2809
- select.autofocus = /*autofocus*/ ctx[18];
2810
- attr(select, "autosave", /*autosave*/ ctx[19]);
2811
- select.disabled = /*disabled*/ ctx[9];
2812
- attr(select, "max", /*max*/ ctx[20]);
2813
- attr(select, "maxlength", /*maxlength*/ ctx[23]);
2814
- attr(select, "min", /*min*/ ctx[21]);
2815
- attr(select, "minlength", /*minlength*/ ctx[24]);
2816
- attr(select, "step", /*step*/ ctx[22]);
2817
- select.multiple = /*multiple*/ ctx[25];
2818
- attr(select, "readonly", /*readonly*/ ctx[7]);
2819
- select.required = /*required*/ ctx[8];
2820
- attr(select, "pattern", /*pattern*/ ctx[27]);
2821
-
2822
- attr(select, "validate", select_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
2823
- ? /*validate*/ ctx[28]
2824
- : undefined);
2825
-
2826
- attr(select, "data-validate", select_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2827
- ? true
2828
- : undefined);
2829
-
2830
- attr(select, "data-validate-on-blur", select_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2831
- ? true
2832
- : undefined);
2833
-
2834
- attr(select, "tabindex", /*tabindex*/ ctx[30]);
2835
-
2836
- attr(select, "data-error-message", select_data_error_message_value = /*errorMessageForce*/ ctx[34]
2837
- ? undefined
2838
- : /*errorMessage*/ ctx[33]);
2839
-
2840
- attr(select, "class", /*inputClasses*/ ctx[47]);
2841
- },
2842
- m(target, anchor) {
2843
- insert(target, select, anchor);
2844
-
2845
- if (default_slot) {
2846
- default_slot.m(select, null);
2847
- }
2848
-
2849
- select_option(select, /*inputValue*/ ctx[44]);
2850
- /*select_binding*/ ctx[78](select);
2851
- current = true;
2852
-
2853
- if (!mounted) {
2854
- dispose = [
2855
- listen(select, "focus", /*onFocus*/ ctx[53]),
2856
- listen(select, "blur", /*onBlur*/ ctx[54]),
2857
- listen(select, "input", /*onInput*/ ctx[52]),
2858
- listen(select, "change", /*onChange*/ ctx[55])
2859
- ];
2860
-
2861
- mounted = true;
2862
- }
2863
- },
2864
- p(ctx, dirty) {
2865
- if (default_slot) {
2866
- if (default_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
2867
- update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[76], dirty, null, null);
2868
- }
2869
- }
2870
-
2871
- if (!current || dirty[0] & /*inputStyle*/ 67108864) {
2872
- attr(select, "style", /*inputStyle*/ ctx[26]);
2873
- }
2874
-
2875
- if (!current || dirty[0] & /*name*/ 32) {
2876
- attr(select, "name", /*name*/ ctx[5]);
2877
- }
2878
-
2879
- if (!current || dirty[0] & /*placeholder*/ 1024) {
2880
- attr(select, "placeholder", /*placeholder*/ ctx[10]);
2881
- }
2882
-
2883
- if (!current || dirty[0] & /*inputId*/ 2048) {
2884
- attr(select, "id", /*inputId*/ ctx[11]);
2885
- }
2886
-
2887
- if (!current || dirty[0] & /*size*/ 4096) {
2888
- attr(select, "size", /*size*/ ctx[12]);
2889
- }
2890
-
2891
- if (!current || dirty[0] & /*accept*/ 8192) {
2892
- attr(select, "accept", /*accept*/ ctx[13]);
2893
- }
2894
-
2895
- if (!current || dirty[0] & /*autocomplete*/ 16384) {
2896
- attr(select, "autocomplete", /*autocomplete*/ ctx[14]);
2897
- }
2898
-
2899
- if (!current || dirty[0] & /*autocorrect*/ 32768) {
2900
- attr(select, "autocorrect", /*autocorrect*/ ctx[15]);
2901
- }
2902
-
2903
- if (!current || dirty[0] & /*autocapitalize*/ 65536) {
2904
- attr(select, "autocapitalize", /*autocapitalize*/ ctx[16]);
2905
- }
2906
-
2907
- if (!current || dirty[0] & /*spellcheck*/ 131072) {
2908
- attr(select, "spellcheck", /*spellcheck*/ ctx[17]);
2909
- }
2910
-
2911
- if (!current || dirty[0] & /*autofocus*/ 262144) {
2912
- select.autofocus = /*autofocus*/ ctx[18];
2913
- }
2914
-
2915
- if (!current || dirty[0] & /*autosave*/ 524288) {
2916
- attr(select, "autosave", /*autosave*/ ctx[19]);
2917
- }
2918
-
2919
- if (!current || dirty[0] & /*disabled*/ 512) {
2920
- select.disabled = /*disabled*/ ctx[9];
2921
- }
2922
-
2923
- if (!current || dirty[0] & /*max*/ 1048576) {
2924
- attr(select, "max", /*max*/ ctx[20]);
2925
- }
2926
-
2927
- if (!current || dirty[0] & /*maxlength*/ 8388608) {
2928
- attr(select, "maxlength", /*maxlength*/ ctx[23]);
2929
- }
2930
-
2931
- if (!current || dirty[0] & /*min*/ 2097152) {
2932
- attr(select, "min", /*min*/ ctx[21]);
2933
- }
2934
-
2935
- if (!current || dirty[0] & /*minlength*/ 16777216) {
2936
- attr(select, "minlength", /*minlength*/ ctx[24]);
2937
- }
2938
-
2939
- if (!current || dirty[0] & /*step*/ 4194304) {
2940
- attr(select, "step", /*step*/ ctx[22]);
2941
- }
2942
-
2943
- if (!current || dirty[0] & /*multiple*/ 33554432) {
2944
- select.multiple = /*multiple*/ ctx[25];
2945
- }
2946
-
2947
- if (!current || dirty[0] & /*readonly*/ 128) {
2948
- attr(select, "readonly", /*readonly*/ ctx[7]);
2949
- }
2950
-
2951
- if (!current || dirty[0] & /*required*/ 256) {
2952
- select.required = /*required*/ ctx[8];
2953
- }
2954
-
2955
- if (!current || dirty[0] & /*pattern*/ 134217728) {
2956
- attr(select, "pattern", /*pattern*/ ctx[27]);
2957
- }
2958
-
2959
- if (!current || dirty[0] & /*validate*/ 268435456 && select_validate_value !== (select_validate_value = typeof /*validate*/ ctx[28] === "string" && /*validate*/ ctx[28].length
2960
- ? /*validate*/ ctx[28]
2961
- : undefined)) {
2962
- attr(select, "validate", select_validate_value);
2963
- }
2964
-
2965
- if (!current || dirty[0] & /*validate, validateOnBlur*/ 805306368 && select_data_validate_value !== (select_data_validate_value = /*validate*/ ctx[28] === true || /*validate*/ ctx[28] === "" || /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2966
- ? true
2967
- : undefined)) {
2968
- attr(select, "data-validate", select_data_validate_value);
2969
- }
2970
-
2971
- if (!current || dirty[0] & /*validateOnBlur*/ 536870912 && select_data_validate_on_blur_value !== (select_data_validate_on_blur_value = /*validateOnBlur*/ ctx[29] === true || /*validateOnBlur*/ ctx[29] === ""
2972
- ? true
2973
- : undefined)) {
2974
- attr(select, "data-validate-on-blur", select_data_validate_on_blur_value);
2975
- }
2976
-
2977
- if (!current || dirty[0] & /*tabindex*/ 1073741824) {
2978
- attr(select, "tabindex", /*tabindex*/ ctx[30]);
2979
- }
2980
-
2981
- if (!current || dirty[1] & /*errorMessageForce, errorMessage*/ 12 && select_data_error_message_value !== (select_data_error_message_value = /*errorMessageForce*/ ctx[34]
2982
- ? undefined
2983
- : /*errorMessage*/ ctx[33])) {
2984
- attr(select, "data-error-message", select_data_error_message_value);
2985
- }
2986
-
2987
- if (!current || dirty[1] & /*inputClasses*/ 65536) {
2988
- attr(select, "class", /*inputClasses*/ ctx[47]);
2989
- }
2990
-
2991
- if (!current || dirty[1] & /*inputValue*/ 8192) {
2992
- select_option(select, /*inputValue*/ ctx[44]);
2993
- }
2994
- },
2995
- i(local) {
2996
- if (current) return;
2997
- transition_in(default_slot, local);
2998
- current = true;
2999
- },
3000
- o(local) {
3001
- transition_out(default_slot, local);
3002
- current = false;
3003
- },
3004
- d(detaching) {
3005
- if (detaching) detach(select);
3006
- if (default_slot) default_slot.d(detaching);
3007
- /*select_binding*/ ctx[78](null);
3008
- mounted = false;
3009
- run_all(dispose);
3010
- }
3011
- };
3012
- }
3013
-
3014
- // (551:10) {#if hasErrorMessage && errorMessageForce}
3015
- function create_if_block_4(ctx) {
3016
- let div;
3017
- let t0_value = plainText(/*errorMessage*/ ctx[33]) + "";
3018
- let t0;
3019
- let t1;
3020
- let current;
3021
- const error_message_slot_template = /*#slots*/ ctx[77]["error-message"];
3022
- const error_message_slot = create_slot(error_message_slot_template, ctx, /*$$scope*/ ctx[76], get_error_message_slot_context);
3023
-
3024
- return {
3025
- c() {
3026
- div = element("div");
3027
- t0 = text(t0_value);
3028
- t1 = space();
3029
- if (error_message_slot) error_message_slot.c();
3030
- attr(div, "class", "item-input-error-message");
3031
- },
3032
- m(target, anchor) {
3033
- insert(target, div, anchor);
3034
- append(div, t0);
3035
- append(div, t1);
3036
-
3037
- if (error_message_slot) {
3038
- error_message_slot.m(div, null);
3039
- }
3040
-
3041
- current = true;
3042
- },
3043
- p(ctx, dirty) {
3044
- if ((!current || dirty[1] & /*errorMessage*/ 4) && t0_value !== (t0_value = plainText(/*errorMessage*/ ctx[33]) + "")) set_data(t0, t0_value);
3045
-
3046
- if (error_message_slot) {
3047
- if (error_message_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
3048
- update_slot(error_message_slot, error_message_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_error_message_slot_changes, get_error_message_slot_context);
3049
- }
3050
- }
3051
- },
3052
- i(local) {
3053
- if (current) return;
3054
- transition_in(error_message_slot, local);
3055
- current = true;
3056
- },
3057
- o(local) {
3058
- transition_out(error_message_slot, local);
3059
- current = false;
3060
- },
3061
- d(detaching) {
3062
- if (detaching) detach(div);
3063
- if (error_message_slot) error_message_slot.d(detaching);
3064
- }
3065
- };
3066
- }
3067
-
3068
- // (557:10) {#if clearButton}
3069
- function create_if_block_3(ctx) {
3070
- let span;
3071
-
3072
- return {
3073
- c() {
3074
- span = element("span");
3075
- attr(span, "class", "input-clear-button");
3076
- },
3077
- m(target, anchor) {
3078
- insert(target, span, anchor);
3079
- },
3080
- d(detaching) {
3081
- if (detaching) detach(span);
3082
- }
3083
- };
3084
- }
3085
-
3086
- // (558:10) {#if typeof info !== 'undefined' || hasInfoSlots}
3087
- function create_if_block_2(ctx) {
3088
- let div;
3089
- let t0_value = plainText(/*info*/ ctx[35]) + "";
3090
- let t0;
3091
- let t1;
3092
- let current;
3093
- const info_slot_template = /*#slots*/ ctx[77].info;
3094
- const info_slot = create_slot(info_slot_template, ctx, /*$$scope*/ ctx[76], get_info_slot_context);
3095
-
3096
- return {
3097
- c() {
3098
- div = element("div");
3099
- t0 = text(t0_value);
3100
- t1 = space();
3101
- if (info_slot) info_slot.c();
3102
- attr(div, "class", "item-input-info");
3103
- },
3104
- m(target, anchor) {
3105
- insert(target, div, anchor);
3106
- append(div, t0);
3107
- append(div, t1);
3108
-
3109
- if (info_slot) {
3110
- info_slot.m(div, null);
3111
- }
3112
-
3113
- current = true;
3114
- },
3115
- p(ctx, dirty) {
3116
- if ((!current || dirty[1] & /*info*/ 16) && t0_value !== (t0_value = plainText(/*info*/ ctx[35]) + "")) set_data(t0, t0_value);
3117
-
3118
- if (info_slot) {
3119
- if (info_slot.p && (!current || dirty[2] & /*$$scope*/ 16384)) {
3120
- update_slot(info_slot, info_slot_template, ctx, /*$$scope*/ ctx[76], dirty, get_info_slot_changes, get_info_slot_context);
3121
- }
3122
- }
3123
- },
3124
- i(local) {
3125
- if (current) return;
3126
- transition_in(info_slot, local);
3127
- current = true;
3128
- },
3129
- o(local) {
3130
- transition_out(info_slot, local);
3131
- current = false;
3132
- },
3133
- d(detaching) {
3134
- if (detaching) detach(div);
3135
- if (info_slot) info_slot.d(detaching);
3136
- }
3137
- };
3138
- }
3139
-
3140
- // (571:4) {#if isSortable && !isSortableOpposite}
3141
- function create_if_block_1(ctx) {
3142
- let div;
3143
-
3144
- return {
3145
- c() {
3146
- div = element("div");
3147
- attr(div, "class", "sortable-handler");
3148
- },
3149
- m(target, anchor) {
3150
- insert(target, div, anchor);
3151
- },
3152
- d(detaching) {
3153
- if (detaching) detach(div);
3154
- }
3155
- };
3156
- }
3157
-
3158
- function create_fragment(ctx) {
3159
- let current_block_type_index;
3160
- let if_block;
3161
- let if_block_anchor;
3162
- let current;
3163
- const if_block_creators = [create_if_block, create_else_block_1];
3164
- const if_blocks = [];
3165
-
3166
- function select_block_type(ctx, dirty) {
3167
- if (/*wrap*/ ctx[2]) return 0;
3168
- return 1;
3169
- }
3170
-
3171
- current_block_type_index = select_block_type(ctx, [-1]);
3172
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
3173
-
3174
- return {
3175
- c() {
3176
- if_block.c();
3177
- if_block_anchor = empty();
3178
- },
3179
- m(target, anchor) {
3180
- if_blocks[current_block_type_index].m(target, anchor);
3181
- insert(target, if_block_anchor, anchor);
3182
- current = true;
3183
- },
3184
- p(ctx, dirty) {
3185
- let previous_block_index = current_block_type_index;
3186
- current_block_type_index = select_block_type(ctx, dirty);
3187
-
3188
- if (current_block_type_index === previous_block_index) {
3189
- if_blocks[current_block_type_index].p(ctx, dirty);
3190
- } else {
3191
- group_outros();
3192
-
3193
- transition_out(if_blocks[previous_block_index], 1, 1, () => {
3194
- if_blocks[previous_block_index] = null;
3195
- });
3196
-
3197
- check_outros();
3198
- if_block = if_blocks[current_block_type_index];
3199
-
3200
- if (!if_block) {
3201
- if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
3202
- if_block.c();
3203
- } else {
3204
- if_block.p(ctx, dirty);
3205
- }
3206
-
3207
- transition_in(if_block, 1);
3208
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
3209
- }
3210
- },
3211
- i(local) {
3212
- if (current) return;
3213
- transition_in(if_block);
3214
- current = true;
3215
- },
3216
- o(local) {
3217
- transition_out(if_block);
3218
- current = false;
3219
- },
3220
- d(detaching) {
3221
- if_blocks[current_block_type_index].d(detaching);
3222
- if (detaching) detach(if_block_anchor);
3223
- }
3224
- };
3225
- }
3226
-
3227
- function instance($$self, $$props, $$invalidate) {
3228
- let isSortable;
3229
- let isSortableOpposite;
3230
- let inputType;
3231
- let needsValue;
3232
- let inputValue;
3233
- let hasInfoSlots;
3234
- let hasErrorSlots;
3235
- let hasMediaSlots;
3236
- let hasLabelSlots;
3237
- let hasErrorMessage;
3238
- let inputClasses;
3239
- let itemContentClasses;
3240
- let labelClasses;
3241
- let inputWrapClasses;
3242
- let classes;
3243
-
3244
- const omit_props_names = [
3245
- "class","sortable","sortableOpposite","media","dropdown","wrap","input","type","name","value","inputmode","readonly","required","disabled","placeholder","inputId","size","accept","autocomplete","autocorrect","autocapitalize","spellcheck","autofocus","autosave","max","min","step","maxlength","minlength","multiple","inputStyle","pattern","validate","validateOnBlur","onValidate","tabindex","resizable","clearButton","noFormStoreData","noStoreData","ignoreStoreData","errorMessage","errorMessageForce","info","outline","label","inlineLabel","floatingLabel","calendarParams","colorPickerParams","textEditorParams","calendarInstance","colorPickerInstance"
3246
- ];
3247
-
3248
- let $$restProps = compute_rest_props($$props, omit_props_names);
3249
- let { $$slots: slots = {}, $$scope } = $$props;
3250
- const $$slots = compute_slots(slots);
3251
- const emit = createEmitter(createEventDispatcher, $$props);
3252
- let { class: className = undefined } = $$props;
3253
- let { sortable = undefined } = $$props;
3254
- let { sortableOpposite = undefined } = $$props;
3255
- let { media = undefined } = $$props;
3256
- let { dropdown = "auto" } = $$props;
3257
- let { wrap = true } = $$props;
3258
- let { input = true } = $$props;
3259
- let { type = "text" } = $$props;
3260
- let { name = undefined } = $$props;
3261
- let { value = undefined } = $$props;
3262
- let { inputmode = undefined } = $$props;
3263
- let { readonly = undefined } = $$props;
3264
- let { required = undefined } = $$props;
3265
- let { disabled = undefined } = $$props;
3266
- let { placeholder = undefined } = $$props;
3267
- let { inputId = undefined } = $$props;
3268
- let { size = undefined } = $$props;
3269
- let { accept = undefined } = $$props;
3270
- let { autocomplete = undefined } = $$props;
3271
- let { autocorrect = undefined } = $$props;
3272
- let { autocapitalize = undefined } = $$props;
3273
- let { spellcheck = undefined } = $$props;
3274
- let { autofocus = undefined } = $$props;
3275
- let { autosave = undefined } = $$props;
3276
- let { max = undefined } = $$props;
3277
- let { min = undefined } = $$props;
3278
- let { step = undefined } = $$props;
3279
- let { maxlength = undefined } = $$props;
3280
- let { minlength = undefined } = $$props;
3281
- let { multiple = undefined } = $$props;
3282
- let { inputStyle = undefined } = $$props;
3283
- let { pattern = undefined } = $$props;
3284
- let { validate = undefined } = $$props;
3285
- let { validateOnBlur = undefined } = $$props;
3286
- let { onValidate = undefined } = $$props;
3287
- let { tabindex = undefined } = $$props;
3288
- let { resizable = undefined } = $$props;
3289
- let { clearButton = undefined } = $$props;
3290
- let { noFormStoreData = undefined } = $$props;
3291
- let { noStoreData = undefined } = $$props;
3292
- let { ignoreStoreData = undefined } = $$props;
3293
- let { errorMessage = undefined } = $$props;
3294
- let { errorMessageForce = undefined } = $$props;
3295
- let { info = undefined } = $$props;
3296
- let { outline = undefined } = $$props;
3297
- let { label = undefined } = $$props;
3298
- let { inlineLabel = undefined } = $$props;
3299
- let { floatingLabel = undefined } = $$props;
3300
- let { calendarParams = undefined } = $$props;
3301
- let { colorPickerParams = undefined } = $$props;
3302
- let { textEditorParams = undefined } = $$props;
3303
-
3304
- // State
3305
- let inputEl;
3306
-
3307
- let inputFocused = false;
3308
- let inputInvalid = false;
3309
- let updateInputOnDidUpdate = false;
3310
- let f7Calendar;
3311
- let f7ColorPicker;
3312
-
3313
- function calendarInstance() {
3314
- return f7Calendar;
3315
- }
3316
-
3317
- function colorPickerInstance() {
3318
- return f7ColorPicker;
3319
- }
3320
-
3321
- let ListContext = getReactiveContext("ListContext", newValue => {
3322
- $$invalidate(74, ListContext = newValue || {});
3323
- }) || {};
3324
-
3325
- function domValue() {
3326
- if (!inputEl) return undefined;
3327
- return inputEl.value;
3328
- }
3329
-
3330
- function inputHasValue() {
3331
- if (type === "datepicker" && Array.isArray(value) && value.length === 0) {
3332
- return false;
3333
- }
3334
-
3335
- const domV = domValue();
3336
-
3337
- return typeof value === "undefined"
3338
- ? domV || domV === 0
3339
- : value || value === 0;
3340
- }
3341
-
3342
- function validateInput() {
3343
- if (!app.f7 || !inputEl) return;
3344
- const validity = inputEl.validity;
3345
- if (!validity) return;
3346
-
3347
- if (!validity.valid) {
3348
- if (onValidate) onValidate(false);
3349
-
3350
- if (inputInvalid !== true) {
3351
- $$invalidate(73, inputInvalid = true);
3352
- }
3353
- } else {
3354
- if (onValidate) onValidate(true);
3355
-
3356
- if (inputInvalid !== false) {
3357
- $$invalidate(73, inputInvalid = false);
3358
- }
3359
- }
3360
- }
3361
-
3362
- let initialWatched = false;
3363
-
3364
- function watchValue() {
3365
- if (!initialWatched) {
3366
- initialWatched = true;
3367
- return;
3368
- }
3369
-
3370
- if (type === "range" || type === "toggle") return;
3371
- if (!app.f7) return;
3372
- updateInputOnDidUpdate = true;
3373
-
3374
- if (f7Calendar) {
3375
- f7Calendar.setValue(value);
3376
- }
3377
-
3378
- if (f7ColorPicker) {
3379
- f7ColorPicker.setValue(value);
3380
- }
3381
- }
3382
-
3383
- function watchColorPickerParams() {
3384
- if (!app.f7 || !f7ColorPicker) return;
3385
- extend(f7ColorPicker.params, colorPickerParams || {});
3386
- }
3387
-
3388
- function watchCalendarParams() {
3389
- if (!app.f7 || !f7Calendar) return;
3390
- extend(f7Calendar.params, calendarParams || {});
3391
- }
3392
-
3393
- function onTextareaResize(event) {
3394
- emit("textareaResize", [event]);
3395
- }
3396
-
3397
- function onInputNotEmpty(event) {
3398
- emit("inputNotEmpty", [event]);
3399
- }
3400
-
3401
- function onInputEmpty(event) {
3402
- emit("inputEmpty", [event]);
3403
- }
3404
-
3405
- function onInputClear(event) {
3406
- emit("inputClear", [event]);
3407
- }
3408
-
3409
- function onInput(...args) {
3410
- emit("input", [...args]);
3411
-
3412
- if (!(validateOnBlur || validateOnBlur === "") && (validate || validate === "") && inputEl) {
3413
- validateInput(inputEl);
3414
- }
3415
-
3416
- if (inputEl && type !== "texteditor" && type !== "colorpicker" && type !== "datepicker") {
3417
- $$invalidate(0, value = inputEl.value);
3418
- }
3419
- }
3420
-
3421
- function onFocus(...args) {
3422
- emit("focus", [...args]);
3423
- $$invalidate(72, inputFocused = true);
3424
- }
3425
-
3426
- function onBlur(...args) {
3427
- emit("blur", [...args]);
3428
-
3429
- if ((validate || validate === "" || validateOnBlur || validateOnBlur === "") && inputEl) {
3430
- validateInput();
3431
- }
3432
-
3433
- $$invalidate(72, inputFocused = false);
3434
- }
3435
-
3436
- function onChange(...args) {
3437
- emit("change", [...args]);
3438
-
3439
- if (type === "texteditor") {
3440
- emit("textEditorChange", [args[0]]);
3441
- $$invalidate(0, value = args[1]);
3442
- }
3443
- }
3444
-
3445
- onMount(() => {
3446
- f7ready(() => {
3447
- if (type === "range" || type === "toggle") return;
3448
- if (!inputEl) return;
3449
- inputEl.addEventListener("input:notempty", onInputNotEmpty, false);
3450
-
3451
- if (type === "textarea" && resizable) {
3452
- inputEl.addEventListener("textarea:resize", onTextareaResize, false);
3453
- }
3454
-
3455
- if (clearButton) {
3456
- inputEl.addEventListener("input:empty", onInputEmpty, false);
3457
- inputEl.addEventListener("input:clear", onInputClear, false);
3458
- }
3459
-
3460
- if (type === "datepicker") {
3461
- f7Calendar = app.f7.calendar.create({
3462
- inputEl,
3463
- value,
3464
- on: {
3465
- change(calendar, calendarValue) {
3466
- emit("calendarChange", [calendarValue]);
3467
- $$invalidate(0, value = calendarValue);
3468
- }
3469
- },
3470
- ...calendarParams || {}
3471
- });
3472
- }
3473
-
3474
- if (type === "colorpicker") {
3475
- f7ColorPicker = app.f7.colorPicker.create({
3476
- inputEl,
3477
- value,
3478
- on: {
3479
- change(colorPicker, colorPickerValue) {
3480
- emit("colorPickerChange", [colorPickerValue]);
3481
- $$invalidate(0, value = colorPickerValue);
3482
- }
3483
- },
3484
- ...colorPickerParams || {}
3485
- });
3486
- }
3487
-
3488
- app.f7.input.checkEmptyState(inputEl);
3489
-
3490
- if (!(validateOnBlur || validateOnBlur === "") && (validate || validate === "") && typeof value !== "undefined" && value !== null && value !== "") {
3491
- setTimeout(
3492
- () => {
3493
- validateInput();
3494
- },
3495
- 0
3496
- );
3497
- }
3498
-
3499
- if (resizable) {
3500
- app.f7.input.resizeTextarea(inputEl);
3501
- }
3502
- });
3503
- });
3504
-
3505
- afterUpdate(() => {
3506
- if (!app.f7) return;
3507
-
3508
- if (updateInputOnDidUpdate) {
3509
- if (!inputEl) return;
3510
- updateInputOnDidUpdate = false;
3511
- app.f7.input.checkEmptyState(inputEl);
3512
-
3513
- if (validate && !validateOnBlur) {
3514
- validateInput();
3515
- }
3516
-
3517
- if (resizable) {
3518
- app.f7.input.resizeTextarea(inputEl);
3519
- }
3520
- }
3521
- });
3522
-
3523
- onDestroy(() => {
3524
- if (type === "range" || type === "toggle") return;
3525
- if (!inputEl) return;
3526
- inputEl.removeEventListener("input:notempty", onInputNotEmpty, false);
3527
-
3528
- if (type === "textarea" && resizable) {
3529
- inputEl.removeEventListener("textarea:resize", onTextareaResize, false);
3530
- }
3531
-
3532
- if (clearButton) {
3533
- inputEl.removeEventListener("input:empty", onInputEmpty, false);
3534
- inputEl.removeEventListener("input:clear", onInputClear, false);
3535
- }
3536
-
3537
- if (f7Calendar && f7Calendar.destroy) {
3538
- f7Calendar.destroy();
3539
- }
3540
-
3541
- if (f7ColorPicker && f7ColorPicker.destroy) {
3542
- f7ColorPicker.destroy();
3543
- }
3544
-
3545
- f7Calendar = null;
3546
- f7ColorPicker = null;
3547
- });
3548
-
3549
- function select_binding($$value) {
3550
- binding_callbacks[$$value ? "unshift" : "push"](() => {
3551
- inputEl = $$value;
3552
- $$invalidate(41, inputEl);
3553
- });
3554
- }
3555
-
3556
- function textarea_binding($$value) {
3557
- binding_callbacks[$$value ? "unshift" : "push"](() => {
3558
- inputEl = $$value;
3559
- $$invalidate(41, inputEl);
3560
- });
3561
- }
3562
-
3563
- function input_1_binding($$value) {
3564
- binding_callbacks[$$value ? "unshift" : "push"](() => {
3565
- inputEl = $$value;
3566
- $$invalidate(41, inputEl);
3567
- });
3568
- }
3569
-
3570
- function select_binding_1($$value) {
3571
- binding_callbacks[$$value ? "unshift" : "push"](() => {
3572
- inputEl = $$value;
3573
- $$invalidate(41, inputEl);
3574
- });
3575
- }
3576
-
3577
- function textarea_binding_1($$value) {
3578
- binding_callbacks[$$value ? "unshift" : "push"](() => {
3579
- inputEl = $$value;
3580
- $$invalidate(41, inputEl);
3581
- });
3582
- }
3583
-
3584
- function input_1_binding_1($$value) {
3585
- binding_callbacks[$$value ? "unshift" : "push"](() => {
3586
- inputEl = $$value;
3587
- $$invalidate(41, inputEl);
3588
- });
3589
- }
3590
-
3591
- $$self.$$set = $$new_props => {
3592
- $$invalidate(100, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
3593
- $$invalidate(56, $$restProps = compute_rest_props($$props, omit_props_names));
3594
- if ("class" in $$new_props) $$invalidate(57, className = $$new_props.class);
3595
- if ("sortable" in $$new_props) $$invalidate(58, sortable = $$new_props.sortable);
3596
- if ("sortableOpposite" in $$new_props) $$invalidate(59, sortableOpposite = $$new_props.sortableOpposite);
3597
- if ("media" in $$new_props) $$invalidate(1, media = $$new_props.media);
3598
- if ("dropdown" in $$new_props) $$invalidate(60, dropdown = $$new_props.dropdown);
3599
- if ("wrap" in $$new_props) $$invalidate(2, wrap = $$new_props.wrap);
3600
- if ("input" in $$new_props) $$invalidate(3, input = $$new_props.input);
3601
- if ("type" in $$new_props) $$invalidate(4, type = $$new_props.type);
3602
- if ("name" in $$new_props) $$invalidate(5, name = $$new_props.name);
3603
- if ("value" in $$new_props) $$invalidate(0, value = $$new_props.value);
3604
- if ("inputmode" in $$new_props) $$invalidate(6, inputmode = $$new_props.inputmode);
3605
- if ("readonly" in $$new_props) $$invalidate(7, readonly = $$new_props.readonly);
3606
- if ("required" in $$new_props) $$invalidate(8, required = $$new_props.required);
3607
- if ("disabled" in $$new_props) $$invalidate(9, disabled = $$new_props.disabled);
3608
- if ("placeholder" in $$new_props) $$invalidate(10, placeholder = $$new_props.placeholder);
3609
- if ("inputId" in $$new_props) $$invalidate(11, inputId = $$new_props.inputId);
3610
- if ("size" in $$new_props) $$invalidate(12, size = $$new_props.size);
3611
- if ("accept" in $$new_props) $$invalidate(13, accept = $$new_props.accept);
3612
- if ("autocomplete" in $$new_props) $$invalidate(14, autocomplete = $$new_props.autocomplete);
3613
- if ("autocorrect" in $$new_props) $$invalidate(15, autocorrect = $$new_props.autocorrect);
3614
- if ("autocapitalize" in $$new_props) $$invalidate(16, autocapitalize = $$new_props.autocapitalize);
3615
- if ("spellcheck" in $$new_props) $$invalidate(17, spellcheck = $$new_props.spellcheck);
3616
- if ("autofocus" in $$new_props) $$invalidate(18, autofocus = $$new_props.autofocus);
3617
- if ("autosave" in $$new_props) $$invalidate(19, autosave = $$new_props.autosave);
3618
- if ("max" in $$new_props) $$invalidate(20, max = $$new_props.max);
3619
- if ("min" in $$new_props) $$invalidate(21, min = $$new_props.min);
3620
- if ("step" in $$new_props) $$invalidate(22, step = $$new_props.step);
3621
- if ("maxlength" in $$new_props) $$invalidate(23, maxlength = $$new_props.maxlength);
3622
- if ("minlength" in $$new_props) $$invalidate(24, minlength = $$new_props.minlength);
3623
- if ("multiple" in $$new_props) $$invalidate(25, multiple = $$new_props.multiple);
3624
- if ("inputStyle" in $$new_props) $$invalidate(26, inputStyle = $$new_props.inputStyle);
3625
- if ("pattern" in $$new_props) $$invalidate(27, pattern = $$new_props.pattern);
3626
- if ("validate" in $$new_props) $$invalidate(28, validate = $$new_props.validate);
3627
- if ("validateOnBlur" in $$new_props) $$invalidate(29, validateOnBlur = $$new_props.validateOnBlur);
3628
- if ("onValidate" in $$new_props) $$invalidate(61, onValidate = $$new_props.onValidate);
3629
- if ("tabindex" in $$new_props) $$invalidate(30, tabindex = $$new_props.tabindex);
3630
- if ("resizable" in $$new_props) $$invalidate(31, resizable = $$new_props.resizable);
3631
- if ("clearButton" in $$new_props) $$invalidate(32, clearButton = $$new_props.clearButton);
3632
- if ("noFormStoreData" in $$new_props) $$invalidate(62, noFormStoreData = $$new_props.noFormStoreData);
3633
- if ("noStoreData" in $$new_props) $$invalidate(63, noStoreData = $$new_props.noStoreData);
3634
- if ("ignoreStoreData" in $$new_props) $$invalidate(64, ignoreStoreData = $$new_props.ignoreStoreData);
3635
- if ("errorMessage" in $$new_props) $$invalidate(33, errorMessage = $$new_props.errorMessage);
3636
- if ("errorMessageForce" in $$new_props) $$invalidate(34, errorMessageForce = $$new_props.errorMessageForce);
3637
- if ("info" in $$new_props) $$invalidate(35, info = $$new_props.info);
3638
- if ("outline" in $$new_props) $$invalidate(65, outline = $$new_props.outline);
3639
- if ("label" in $$new_props) $$invalidate(36, label = $$new_props.label);
3640
- if ("inlineLabel" in $$new_props) $$invalidate(66, inlineLabel = $$new_props.inlineLabel);
3641
- if ("floatingLabel" in $$new_props) $$invalidate(67, floatingLabel = $$new_props.floatingLabel);
3642
- if ("calendarParams" in $$new_props) $$invalidate(68, calendarParams = $$new_props.calendarParams);
3643
- if ("colorPickerParams" in $$new_props) $$invalidate(69, colorPickerParams = $$new_props.colorPickerParams);
3644
- if ("textEditorParams" in $$new_props) $$invalidate(37, textEditorParams = $$new_props.textEditorParams);
3645
- if ("$$scope" in $$new_props) $$invalidate(76, $$scope = $$new_props.$$scope);
3646
- };
3647
-
3648
- $$self.$$.update = () => {
3649
- if ($$self.$$.dirty[1] & /*sortable*/ 134217728 | $$self.$$.dirty[2] & /*ListContext*/ 4096) {
3650
- $: $$invalidate(42, isSortable = sortable === true || sortable === false
3651
- ? sortable
3652
- : ListContext.listIsSortable);
3653
- }
3654
-
3655
- if ($$self.$$.dirty[1] & /*sortableOpposite*/ 268435456 | $$self.$$.dirty[2] & /*ListContext*/ 4096) {
3656
- $: $$invalidate(43, isSortableOpposite = sortableOpposite || ListContext.listIsSortableOpposite);
3657
- }
3658
-
3659
- if ($$self.$$.dirty[0] & /*value*/ 1) {
3660
- $: watchValue(value);
3661
- }
3662
-
3663
- if ($$self.$$.dirty[2] & /*colorPickerParams*/ 128) {
3664
- $: watchColorPickerParams(colorPickerParams);
3665
- }
3666
-
3667
- if ($$self.$$.dirty[2] & /*calendarParams*/ 64) {
3668
- $: watchCalendarParams(calendarParams);
3669
- }
3670
-
3671
- if ($$self.$$.dirty[0] & /*type*/ 16) {
3672
- $: $$invalidate(38, inputType = type === "datepicker" || type === "colorpicker"
3673
- ? "text"
3674
- : type);
3675
- }
3676
-
3677
- if ($$self.$$.dirty[0] & /*type*/ 16) {
3678
- $: needsValue = type !== "file" && type !== "datepicker" && type !== "colorpicker";
3679
- }
3680
-
3681
- if ($$self.$$.dirty[0] & /*value*/ 1) {
3682
- $: $$invalidate(44, inputValue = (() => {
3683
- let v;
3684
-
3685
- if (typeof value !== "undefined") {
3686
- v = value;
3687
- } else {
3688
- v = domValue();
3689
- }
3690
-
3691
- if (typeof v === "undefined" || v === null) return "";
3692
- return v;
3693
- })());
3694
- }
3695
-
3696
- if ($$self.$$.dirty[1] & /*errorMessage*/ 4 | $$self.$$.dirty[2] & /*hasErrorSlots*/ 8192) {
3697
- $: $$invalidate(40, hasErrorMessage = !!errorMessage || hasErrorSlots);
3698
- }
3699
-
3700
- if ($$self.$$.dirty[1] & /*inputType, resizable, errorMessage, errorMessageForce*/ 141 | $$self.$$.dirty[2] & /*noFormStoreData, noStoreData, ignoreStoreData, inputInvalid, inputFocused*/ 3079) {
3701
- $: $$invalidate(47, inputClasses = classNames({
3702
- resizable: inputType === "textarea" && resizable,
3703
- "no-store-data": noFormStoreData || noStoreData || ignoreStoreData,
3704
- "input-invalid": errorMessage && errorMessageForce || inputInvalid,
3705
- "input-with-value": inputHasValue(),
3706
- "input-focused": inputFocused
3707
- }));
3708
- }
3709
-
3710
- $: $$invalidate(48, itemContentClasses = classNames("item-content item-input", !wrap && className, !wrap && { disabled }, !wrap && colorClasses($$props), {
3711
- "inline-label": inlineLabel,
3712
- "item-input-outline": outline,
3713
- "item-input-focused": inputFocused,
3714
- "item-input-with-info": !!info || hasInfoSlots,
3715
- "item-input-with-value": inputHasValue(),
3716
- "item-input-with-error-message": hasErrorMessage && errorMessageForce || inputInvalid,
3717
- "item-input-invalid": hasErrorMessage && errorMessageForce || inputInvalid
3718
- }));
3719
-
3720
- if ($$self.$$.dirty[2] & /*floatingLabel*/ 32) {
3721
- $: $$invalidate(49, labelClasses = classNames("item-title item-label", { "item-floating-label": floatingLabel }));
3722
- }
3723
-
3724
- if ($$self.$$.dirty[0] & /*type*/ 16 | $$self.$$.dirty[1] & /*dropdown*/ 536870912) {
3725
- $: $$invalidate(50, inputWrapClasses = classNames("item-input-wrap", {
3726
- "input-dropdown": dropdown === "auto" ? type === "select" : dropdown
3727
- }));
3728
- }
3729
-
3730
- $: $$invalidate(51, classes = classNames(className, { disabled }, colorClasses($$props)));
3731
- };
3732
-
3733
- $: $$invalidate(39, hasInfoSlots = $$slots.info);
3734
- $: $$invalidate(75, hasErrorSlots = $$slots["error-message"]);
3735
- $: $$invalidate(45, hasMediaSlots = $$slots.media);
3736
- $: $$invalidate(46, hasLabelSlots = $$slots.label);
3737
- $$props = exclude_internal_props($$props);
3738
-
3739
- return [
3740
- value,
3741
- media,
3742
- wrap,
3743
- input,
3744
- type,
3745
- name,
3746
- inputmode,
3747
- readonly,
3748
- required,
3749
- disabled,
3750
- placeholder,
3751
- inputId,
3752
- size,
3753
- accept,
3754
- autocomplete,
3755
- autocorrect,
3756
- autocapitalize,
3757
- spellcheck,
3758
- autofocus,
3759
- autosave,
3760
- max,
3761
- min,
3762
- step,
3763
- maxlength,
3764
- minlength,
3765
- multiple,
3766
- inputStyle,
3767
- pattern,
3768
- validate,
3769
- validateOnBlur,
3770
- tabindex,
3771
- resizable,
3772
- clearButton,
3773
- errorMessage,
3774
- errorMessageForce,
3775
- info,
3776
- label,
3777
- textEditorParams,
3778
- inputType,
3779
- hasInfoSlots,
3780
- hasErrorMessage,
3781
- inputEl,
3782
- isSortable,
3783
- isSortableOpposite,
3784
- inputValue,
3785
- hasMediaSlots,
3786
- hasLabelSlots,
3787
- inputClasses,
3788
- itemContentClasses,
3789
- labelClasses,
3790
- inputWrapClasses,
3791
- classes,
3792
- onInput,
3793
- onFocus,
3794
- onBlur,
3795
- onChange,
3796
- $$restProps,
3797
- className,
3798
- sortable,
3799
- sortableOpposite,
3800
- dropdown,
3801
- onValidate,
3802
- noFormStoreData,
3803
- noStoreData,
3804
- ignoreStoreData,
3805
- outline,
3806
- inlineLabel,
3807
- floatingLabel,
3808
- calendarParams,
3809
- colorPickerParams,
3810
- calendarInstance,
3811
- colorPickerInstance,
3812
- inputFocused,
3813
- inputInvalid,
3814
- ListContext,
3815
- hasErrorSlots,
3816
- $$scope,
3817
- slots,
3818
- select_binding,
3819
- textarea_binding,
3820
- input_1_binding,
3821
- select_binding_1,
3822
- textarea_binding_1,
3823
- input_1_binding_1
3824
- ];
3825
- }
3826
-
3827
- class List_input extends SvelteComponent {
3828
- constructor(options) {
3829
- super();
3830
-
3831
- init(
3832
- this,
3833
- options,
3834
- instance,
3835
- create_fragment,
3836
- safe_not_equal,
3837
- {
3838
- class: 57,
3839
- sortable: 58,
3840
- sortableOpposite: 59,
3841
- media: 1,
3842
- dropdown: 60,
3843
- wrap: 2,
3844
- input: 3,
3845
- type: 4,
3846
- name: 5,
3847
- value: 0,
3848
- inputmode: 6,
3849
- readonly: 7,
3850
- required: 8,
3851
- disabled: 9,
3852
- placeholder: 10,
3853
- inputId: 11,
3854
- size: 12,
3855
- accept: 13,
3856
- autocomplete: 14,
3857
- autocorrect: 15,
3858
- autocapitalize: 16,
3859
- spellcheck: 17,
3860
- autofocus: 18,
3861
- autosave: 19,
3862
- max: 20,
3863
- min: 21,
3864
- step: 22,
3865
- maxlength: 23,
3866
- minlength: 24,
3867
- multiple: 25,
3868
- inputStyle: 26,
3869
- pattern: 27,
3870
- validate: 28,
3871
- validateOnBlur: 29,
3872
- onValidate: 61,
3873
- tabindex: 30,
3874
- resizable: 31,
3875
- clearButton: 32,
3876
- noFormStoreData: 62,
3877
- noStoreData: 63,
3878
- ignoreStoreData: 64,
3879
- errorMessage: 33,
3880
- errorMessageForce: 34,
3881
- info: 35,
3882
- outline: 65,
3883
- label: 36,
3884
- inlineLabel: 66,
3885
- floatingLabel: 67,
3886
- calendarParams: 68,
3887
- colorPickerParams: 69,
3888
- textEditorParams: 37,
3889
- calendarInstance: 70,
3890
- colorPickerInstance: 71
3891
- },
3892
- [-1, -1, -1, -1]
3893
- );
3894
- }
3895
-
3896
- get calendarInstance() {
3897
- return this.$$.ctx[70];
3898
- }
3899
-
3900
- get colorPickerInstance() {
3901
- return this.$$.ctx[71];
3902
- }
3903
- }
3904
-
3905
- exports.default = List_input;