framework7-svelte 6.3.5 → 7.0.0-beta.4

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