@pine-ds/core 3.14.2 → 3.15.1

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 (568) hide show
  1. package/components/index2.js +1 -1
  2. package/components/index2.js.map +1 -1
  3. package/components/mock-pds-modal.js +1 -1
  4. package/components/pds-chip2.js +50 -3
  5. package/components/pds-chip2.js.map +1 -1
  6. package/components/pds-combobox.js +245 -12
  7. package/components/pds-combobox.js.map +1 -1
  8. package/components/pds-copytext.js +1 -1
  9. package/components/pds-divider.js +1 -1
  10. package/components/pds-dropdown-menu-item.js +10 -2
  11. package/components/pds-dropdown-menu-item.js.map +1 -1
  12. package/components/pds-dropdown-menu-separator.js +1 -1
  13. package/components/pds-dropdown-menu.js +1 -1
  14. package/components/pds-filter.js +1 -1
  15. package/components/pds-filters.js +1 -1
  16. package/components/pds-image.js +2 -2
  17. package/components/pds-input.js +1 -1
  18. package/components/pds-link2.js +7 -2
  19. package/components/pds-link2.js.map +1 -1
  20. package/components/pds-loader2.js +1 -1
  21. package/components/pds-modal-content.js +2 -2
  22. package/components/pds-modal-footer.js +1 -1
  23. package/components/pds-modal-header.js +1 -1
  24. package/components/pds-modal.js +3 -3
  25. package/components/pds-multiselect.js +204 -37
  26. package/components/pds-multiselect.js.map +1 -1
  27. package/components/pds-popover.js +1 -1
  28. package/components/pds-progress.js +1 -1
  29. package/components/pds-property.js +1 -1
  30. package/components/pds-radio-group.js +3 -3
  31. package/components/pds-radio.js +3 -3
  32. package/components/pds-row.js +1 -1
  33. package/components/pds-select.js +1 -1
  34. package/components/pds-sortable-item.js +1 -1
  35. package/components/pds-sortable.js +1 -1
  36. package/components/pds-switch.js +3 -3
  37. package/components/pds-tab.js +3 -3
  38. package/components/pds-table-body.js +1 -1
  39. package/components/pds-table-cell2.js +3 -3
  40. package/components/pds-table-cell2.js.map +1 -1
  41. package/components/pds-table-head-cell2.js +2 -2
  42. package/components/pds-table-head.js +1 -1
  43. package/components/pds-table-row.js +2 -2
  44. package/components/pds-table-row.js.map +1 -1
  45. package/components/pds-tabpanel.js +1 -1
  46. package/components/pds-tabs.js +1 -1
  47. package/components/pds-text2.js +1 -1
  48. package/components/pds-textarea.js +4 -4
  49. package/components/pds-toast.js +3 -3
  50. package/components/pds-tooltip.js +2 -2
  51. package/dist/cjs/{index-BA--jsiy.js → index-DkQebouX.js} +3 -3
  52. package/dist/cjs/index-DkQebouX.js.map +1 -0
  53. package/dist/cjs/loader.cjs.js +1 -1
  54. package/dist/cjs/mock-pds-modal.cjs.entry.js +1 -1
  55. package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
  56. package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
  57. package/dist/cjs/pds-button.cjs.entry.js +1 -1
  58. package/dist/cjs/pds-checkbox.cjs.entry.js +1 -1
  59. package/dist/cjs/pds-chip.cjs.entry.js +47 -3
  60. package/dist/cjs/pds-chip.entry.cjs.js.map +1 -1
  61. package/dist/cjs/pds-combobox.cjs.entry.js +221 -6
  62. package/dist/cjs/pds-combobox.entry.cjs.js.map +1 -1
  63. package/dist/cjs/pds-copytext.cjs.entry.js +2 -2
  64. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  65. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +8 -2
  66. package/dist/cjs/pds-dropdown-menu-item.entry.cjs.js.map +1 -1
  67. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +1 -1
  68. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +1 -1
  69. package/dist/cjs/pds-filter.cjs.entry.js +2 -2
  70. package/dist/cjs/pds-filters.cjs.entry.js +1 -1
  71. package/dist/cjs/pds-image.cjs.entry.js +2 -2
  72. package/dist/cjs/pds-input.cjs.entry.js +2 -2
  73. package/dist/cjs/pds-link.cjs.entry.js +7 -3
  74. package/dist/cjs/pds-link.entry.cjs.js.map +1 -1
  75. package/dist/cjs/pds-loader.cjs.entry.js +1 -1
  76. package/dist/cjs/pds-modal-content.cjs.entry.js +2 -2
  77. package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
  78. package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
  79. package/dist/cjs/pds-modal.cjs.entry.js +3 -3
  80. package/dist/cjs/pds-multiselect.cjs.entry.js +183 -32
  81. package/dist/cjs/pds-multiselect.entry.cjs.js.map +1 -1
  82. package/dist/cjs/pds-popover.cjs.entry.js +1 -1
  83. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  84. package/dist/cjs/pds-property.cjs.entry.js +1 -1
  85. package/dist/cjs/pds-radio-group.cjs.entry.js +4 -4
  86. package/dist/cjs/pds-radio.cjs.entry.js +4 -4
  87. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  88. package/dist/cjs/pds-select.cjs.entry.js +2 -2
  89. package/dist/cjs/pds-sortable-item.cjs.entry.js +2 -2
  90. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  91. package/dist/cjs/pds-switch.cjs.entry.js +4 -4
  92. package/dist/cjs/pds-tab.cjs.entry.js +3 -3
  93. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  94. package/dist/cjs/pds-table-cell.cjs.entry.js +3 -3
  95. package/dist/cjs/pds-table-cell.entry.cjs.js.map +1 -1
  96. package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -3
  97. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  98. package/dist/cjs/pds-table-row.cjs.entry.js +2 -2
  99. package/dist/cjs/pds-table-row.entry.cjs.js.map +1 -1
  100. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  101. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  102. package/dist/cjs/pds-text.cjs.entry.js +1 -1
  103. package/dist/cjs/pds-textarea.cjs.entry.js +5 -5
  104. package/dist/cjs/pds-toast.cjs.entry.js +3 -3
  105. package/dist/cjs/pds-tooltip.cjs.entry.js +2 -2
  106. package/dist/cjs/pine-core.cjs.js +1 -1
  107. package/dist/collection/components/pds-chip/pds-chip.css +4 -3
  108. package/dist/collection/components/pds-chip/pds-chip.js +102 -1
  109. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
  110. package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +38 -0
  111. package/dist/collection/components/pds-combobox/combobox-interface.js +2 -0
  112. package/dist/collection/components/pds-combobox/combobox-interface.js.map +1 -0
  113. package/dist/collection/components/pds-combobox/pds-combobox.css +20 -0
  114. package/dist/collection/components/pds-combobox/pds-combobox.js +415 -6
  115. package/dist/collection/components/pds-combobox/pds-combobox.js.map +1 -1
  116. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  117. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  118. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +53 -2
  119. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js.map +1 -1
  120. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +1 -1
  121. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +1 -1
  122. package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +1 -1
  123. package/dist/collection/components/pds-filters/pds-filters.js +1 -1
  124. package/dist/collection/components/pds-image/pds-image.js +2 -2
  125. package/dist/collection/components/pds-input/pds-input.js +1 -1
  126. package/dist/collection/components/pds-link/pds-link.js +34 -2
  127. package/dist/collection/components/pds-link/pds-link.js.map +1 -1
  128. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  129. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
  130. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
  131. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
  132. package/dist/collection/components/pds-modal/pds-modal.js +3 -3
  133. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
  134. package/dist/collection/components/pds-multiselect/multiselect-interface.js.map +1 -1
  135. package/dist/collection/components/pds-multiselect/pds-multiselect.css +9 -0
  136. package/dist/collection/components/pds-multiselect/pds-multiselect.js +261 -31
  137. package/dist/collection/components/pds-multiselect/pds-multiselect.js.map +1 -1
  138. package/dist/collection/components/pds-multiselect/stories/pds-multiselect.stories.js +41 -0
  139. package/dist/collection/components/pds-popover/pds-popover.js +1 -1
  140. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  141. package/dist/collection/components/pds-property/pds-property.js +1 -1
  142. package/dist/collection/components/pds-radio/pds-radio.js +3 -3
  143. package/dist/collection/components/pds-radio-group/pds-radio-group.js +3 -3
  144. package/dist/collection/components/pds-row/pds-row.js +1 -1
  145. package/dist/collection/components/pds-select/pds-select.js +1 -1
  146. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  147. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  148. package/dist/collection/components/pds-switch/pds-switch.js +3 -3
  149. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  150. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.css +1 -1
  151. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  152. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  153. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  154. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.css +1 -1
  155. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  156. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  157. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  158. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  159. package/dist/collection/components/pds-text/pds-text.js +1 -1
  160. package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
  161. package/dist/collection/components/pds-toast/pds-toast.js +3 -3
  162. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  163. package/dist/docs.json +615 -7
  164. package/dist/esm/{index-DY8eSueV.js → index-D094LgxJ.js} +3 -3
  165. package/dist/esm/index-D094LgxJ.js.map +1 -0
  166. package/dist/esm/loader.js +1 -1
  167. package/dist/esm/mock-pds-modal.entry.js +1 -1
  168. package/dist/esm/pds-accordion.entry.js +1 -1
  169. package/dist/esm/pds-avatar.entry.js +1 -1
  170. package/dist/esm/pds-button.entry.js +1 -1
  171. package/dist/esm/pds-checkbox.entry.js +1 -1
  172. package/dist/esm/pds-chip.entry.js +47 -3
  173. package/dist/esm/pds-chip.entry.js.map +1 -1
  174. package/dist/esm/pds-combobox.entry.js +221 -6
  175. package/dist/esm/pds-combobox.entry.js.map +1 -1
  176. package/dist/esm/pds-copytext.entry.js +2 -2
  177. package/dist/esm/pds-divider.entry.js +1 -1
  178. package/dist/esm/pds-dropdown-menu-item.entry.js +8 -2
  179. package/dist/esm/pds-dropdown-menu-item.entry.js.map +1 -1
  180. package/dist/esm/pds-dropdown-menu-separator.entry.js +1 -1
  181. package/dist/esm/pds-dropdown-menu.entry.js +1 -1
  182. package/dist/esm/pds-filter.entry.js +2 -2
  183. package/dist/esm/pds-filters.entry.js +1 -1
  184. package/dist/esm/pds-image.entry.js +2 -2
  185. package/dist/esm/pds-input.entry.js +2 -2
  186. package/dist/esm/pds-link.entry.js +7 -3
  187. package/dist/esm/pds-link.entry.js.map +1 -1
  188. package/dist/esm/pds-loader.entry.js +1 -1
  189. package/dist/esm/pds-modal-content.entry.js +2 -2
  190. package/dist/esm/pds-modal-footer.entry.js +1 -1
  191. package/dist/esm/pds-modal-header.entry.js +1 -1
  192. package/dist/esm/pds-modal.entry.js +3 -3
  193. package/dist/esm/pds-multiselect.entry.js +183 -32
  194. package/dist/esm/pds-multiselect.entry.js.map +1 -1
  195. package/dist/esm/pds-popover.entry.js +1 -1
  196. package/dist/esm/pds-progress.entry.js +1 -1
  197. package/dist/esm/pds-property.entry.js +1 -1
  198. package/dist/esm/pds-radio-group.entry.js +4 -4
  199. package/dist/esm/pds-radio.entry.js +4 -4
  200. package/dist/esm/pds-row.entry.js +1 -1
  201. package/dist/esm/pds-select.entry.js +2 -2
  202. package/dist/esm/pds-sortable-item.entry.js +2 -2
  203. package/dist/esm/pds-sortable.entry.js +1 -1
  204. package/dist/esm/pds-switch.entry.js +4 -4
  205. package/dist/esm/pds-tab.entry.js +3 -3
  206. package/dist/esm/pds-table-body.entry.js +1 -1
  207. package/dist/esm/pds-table-cell.entry.js +3 -3
  208. package/dist/esm/pds-table-cell.entry.js.map +1 -1
  209. package/dist/esm/pds-table-head-cell.entry.js +3 -3
  210. package/dist/esm/pds-table-head.entry.js +1 -1
  211. package/dist/esm/pds-table-row.entry.js +2 -2
  212. package/dist/esm/pds-table-row.entry.js.map +1 -1
  213. package/dist/esm/pds-tabpanel.entry.js +1 -1
  214. package/dist/esm/pds-tabs.entry.js +1 -1
  215. package/dist/esm/pds-text.entry.js +1 -1
  216. package/dist/esm/pds-textarea.entry.js +5 -5
  217. package/dist/esm/pds-toast.entry.js +3 -3
  218. package/dist/esm/pds-tooltip.entry.js +2 -2
  219. package/dist/esm/pine-core.js +1 -1
  220. package/dist/esm-es5/{index-DY8eSueV.js → index-D094LgxJ.js} +1 -1
  221. package/dist/esm-es5/index-D094LgxJ.js.map +1 -0
  222. package/dist/esm-es5/loader.js +1 -1
  223. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  224. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  225. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  226. package/dist/esm-es5/pds-button.entry.js +1 -1
  227. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  228. package/dist/esm-es5/pds-chip.entry.js +1 -1
  229. package/dist/esm-es5/pds-chip.entry.js.map +1 -1
  230. package/dist/esm-es5/pds-combobox.entry.js +2 -2
  231. package/dist/esm-es5/pds-combobox.entry.js.map +1 -1
  232. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  233. package/dist/esm-es5/pds-divider.entry.js +1 -1
  234. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  235. package/dist/esm-es5/pds-dropdown-menu-item.entry.js.map +1 -1
  236. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  237. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  238. package/dist/esm-es5/pds-filter.entry.js +1 -1
  239. package/dist/esm-es5/pds-filters.entry.js +1 -1
  240. package/dist/esm-es5/pds-image.entry.js +1 -1
  241. package/dist/esm-es5/pds-input.entry.js +1 -1
  242. package/dist/esm-es5/pds-link.entry.js +1 -1
  243. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  244. package/dist/esm-es5/pds-loader.entry.js +1 -1
  245. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  246. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  247. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  248. package/dist/esm-es5/pds-modal.entry.js +1 -1
  249. package/dist/esm-es5/pds-multiselect.entry.js +1 -1
  250. package/dist/esm-es5/pds-multiselect.entry.js.map +1 -1
  251. package/dist/esm-es5/pds-popover.entry.js +1 -1
  252. package/dist/esm-es5/pds-progress.entry.js +1 -1
  253. package/dist/esm-es5/pds-property.entry.js +1 -1
  254. package/dist/esm-es5/pds-radio-group.entry.js +1 -1
  255. package/dist/esm-es5/pds-radio.entry.js +1 -1
  256. package/dist/esm-es5/pds-row.entry.js +1 -1
  257. package/dist/esm-es5/pds-select.entry.js +1 -1
  258. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  259. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  260. package/dist/esm-es5/pds-switch.entry.js +1 -1
  261. package/dist/esm-es5/pds-tab.entry.js +1 -1
  262. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  263. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  264. package/dist/esm-es5/pds-table-cell.entry.js.map +1 -1
  265. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  266. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  267. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  268. package/dist/esm-es5/pds-table-row.entry.js.map +1 -1
  269. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  270. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  271. package/dist/esm-es5/pds-text.entry.js +1 -1
  272. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  273. package/dist/esm-es5/pds-toast.entry.js +1 -1
  274. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  275. package/dist/esm-es5/pine-core.js +1 -1
  276. package/dist/pine-core/{p-d6302edd.entry.js → p-003884fd.entry.js} +2 -2
  277. package/dist/pine-core/{p-9e7cd072.system.entry.js → p-0270ebee.system.entry.js} +2 -2
  278. package/dist/pine-core/p-06046885.entry.js +3 -0
  279. package/dist/pine-core/p-06046885.entry.js.map +1 -0
  280. package/dist/pine-core/{p-063afa19.system.entry.js → p-09ff71ad.system.entry.js} +2 -2
  281. package/dist/pine-core/{p-c68bceb1.entry.js → p-0ac54273.entry.js} +2 -2
  282. package/dist/pine-core/{p-ac56273a.system.entry.js → p-0c2f13c3.system.entry.js} +2 -2
  283. package/dist/pine-core/{p-c7c00a27.entry.js → p-119ccf73.entry.js} +2 -2
  284. package/dist/pine-core/{p-87eb8d4b.system.entry.js → p-13105538.system.entry.js} +2 -2
  285. package/dist/pine-core/{p-c24d11c7.entry.js → p-1951d49e.entry.js} +2 -2
  286. package/dist/pine-core/p-1971d358.entry.js +2 -0
  287. package/dist/pine-core/{p-9c928c44.entry.js.map → p-1971d358.entry.js.map} +1 -1
  288. package/dist/pine-core/p-19fef546.system.entry.js +4 -0
  289. package/dist/pine-core/p-19fef546.system.entry.js.map +1 -0
  290. package/dist/pine-core/{p-6d2da3ca.system.entry.js → p-1e77124d.system.entry.js} +2 -2
  291. package/dist/pine-core/{p-f69d3fd6.entry.js → p-220cbe98.entry.js} +2 -2
  292. package/dist/pine-core/{p-9d6b6ff3.system.entry.js → p-226e45be.system.entry.js} +2 -2
  293. package/dist/pine-core/{p-90615423.system.entry.js → p-2883cb69.system.entry.js} +2 -2
  294. package/dist/pine-core/{p-31168da5.entry.js → p-2d21bc31.entry.js} +2 -2
  295. package/dist/pine-core/p-31bfac45.entry.js +2 -0
  296. package/dist/pine-core/{p-a3cdff85.entry.js → p-35e91ecb.entry.js} +2 -2
  297. package/dist/pine-core/{p-2537aacb.entry.js → p-3815f565.entry.js} +2 -2
  298. package/dist/pine-core/{p-a99e8caf.entry.js → p-396d4b63.entry.js} +2 -2
  299. package/dist/pine-core/{p-9bb6cc3d.entry.js → p-3b0a4abe.entry.js} +2 -2
  300. package/dist/pine-core/{p-5b9110fe.entry.js → p-3cd53462.entry.js} +2 -2
  301. package/dist/pine-core/{p-a5b24b1d.system.entry.js → p-3e45826f.system.entry.js} +2 -2
  302. package/dist/pine-core/{p-12360e47.entry.js → p-425144ae.entry.js} +2 -2
  303. package/dist/pine-core/p-425144ae.entry.js.map +1 -0
  304. package/dist/pine-core/p-48ed8147.entry.js +2 -0
  305. package/dist/pine-core/p-48ed8147.entry.js.map +1 -0
  306. package/dist/pine-core/{p-5b3ac18e.system.entry.js → p-4a42e114.system.entry.js} +2 -2
  307. package/dist/pine-core/p-4c2809cb.entry.js +2 -0
  308. package/dist/pine-core/p-4c2809cb.entry.js.map +1 -0
  309. package/dist/pine-core/p-4c82bff5.entry.js +2 -0
  310. package/dist/pine-core/{p-a07b8e45.system.entry.js → p-4e24be57.system.entry.js} +2 -2
  311. package/dist/pine-core/p-50a439b5.entry.js +2 -0
  312. package/dist/pine-core/{p-3440138d.entry.js → p-5162baee.entry.js} +2 -2
  313. package/dist/pine-core/{p-426e90cb.entry.js → p-51d2999d.entry.js} +2 -2
  314. package/dist/pine-core/{p-ba623ced.entry.js → p-563b640d.entry.js} +2 -2
  315. package/dist/pine-core/{p-d1313dd6.system.entry.js → p-599a5903.system.entry.js} +2 -2
  316. package/dist/pine-core/{p-YqHO7iPZ.system.js.map → p-5O8bhSdk.system.js.map} +1 -1
  317. package/dist/pine-core/{p-5f2865df.entry.js → p-5ef5f6b3.entry.js} +2 -2
  318. package/dist/pine-core/p-65d0032c.system.entry.js +2 -0
  319. package/dist/pine-core/{p-2f6f60d9.entry.js → p-68f97bdf.entry.js} +2 -2
  320. package/dist/pine-core/p-6918b378.system.entry.js +2 -0
  321. package/dist/pine-core/{p-5e92aa34.system.entry.js.map → p-6918b378.system.entry.js.map} +1 -1
  322. package/dist/pine-core/{p-e6dc2297.entry.js → p-694cfe69.entry.js} +2 -2
  323. package/dist/pine-core/{p-bddc9c5a.entry.js → p-6c25dfc3.entry.js} +2 -2
  324. package/dist/pine-core/{p-9ada659b.entry.js → p-6cbad264.entry.js} +2 -2
  325. package/dist/pine-core/{p-4d9eee67.system.entry.js → p-72ca815d.system.entry.js} +2 -2
  326. package/dist/pine-core/{p-63269b89.entry.js → p-766e52a3.entry.js} +2 -2
  327. package/dist/pine-core/{p-d41112ad.entry.js → p-795e1727.entry.js} +2 -2
  328. package/dist/pine-core/p-795e1727.entry.js.map +1 -0
  329. package/dist/pine-core/{p-e8cf15d7.system.entry.js → p-7a6f11bd.system.entry.js} +2 -2
  330. package/dist/pine-core/{p-c292e5da.system.entry.js → p-7d7dce2c.system.entry.js} +2 -2
  331. package/dist/pine-core/{p-137b3289.system.entry.js → p-7da176b4.system.entry.js} +2 -2
  332. package/dist/pine-core/p-8KFA3I5T.system.js.map +1 -0
  333. package/dist/pine-core/{p-757c7b80.entry.js → p-8e40c9ef.entry.js} +2 -2
  334. package/dist/pine-core/{p-rcUX-rt5.system.js.map → p-8tpU1leU.system.js.map} +1 -1
  335. package/dist/pine-core/p-93d0be59.entry.js +2 -0
  336. package/dist/pine-core/{p-9eccf7b9.entry.js.map → p-93d0be59.entry.js.map} +1 -1
  337. package/dist/pine-core/p-94a9ff2a.system.entry.js +2 -0
  338. package/dist/pine-core/{p-ccab748a.entry.js → p-957647f9.entry.js} +2 -2
  339. package/dist/pine-core/{p-02f48157.system.entry.js → p-9606f567.system.entry.js} +2 -2
  340. package/dist/pine-core/{p-475bb340.entry.js → p-9660a2c2.entry.js} +2 -2
  341. package/dist/pine-core/{p-3f0a6a75.system.entry.js → p-9ba4acdf.system.entry.js} +2 -2
  342. package/dist/pine-core/{p-7dd74fe2.system.entry.js → p-9d9a5ca8.system.entry.js} +2 -2
  343. package/dist/pine-core/{p-LM0mZTib.system.js.map → p-9eQIEVii.system.js.map} +1 -1
  344. package/dist/pine-core/{p-htODgUCV.system.js.map → p-B036z4h-.system.js.map} +1 -1
  345. package/dist/pine-core/{p-B8OHXU49.system.js.map → p-BASnRvhy.system.js.map} +1 -1
  346. package/dist/pine-core/{p-4EbKXnVN.system.js.map → p-BK1BTkTt.system.js.map} +1 -1
  347. package/dist/pine-core/{p-CI7DD4Gj.system.js.map → p-BR9M75xt.system.js.map} +1 -1
  348. package/dist/pine-core/{p-bs74TBAh.system.js.map → p-BRn0ywk1.system.js.map} +1 -1
  349. package/dist/pine-core/{p-bkQbPz-z.system.js.map → p-Be8OBmYb.system.js.map} +1 -1
  350. package/dist/pine-core/p-BpZTjdau.system.js.map +1 -0
  351. package/dist/pine-core/{p-BJtTt670.system.js.map → p-BqkabXR7.system.js.map} +1 -1
  352. package/dist/pine-core/{p-DFXWnbHE.system.js.map → p-BssHFst4.system.js.map} +1 -1
  353. package/dist/pine-core/{p-CP48ADFM.system.js → p-BxVkyfaO.system.js} +1 -1
  354. package/dist/pine-core/p-BxVkyfaO.system.js.map +1 -0
  355. package/dist/pine-core/{p-BTe59phF.system.js.map → p-CE8RZXT8.system.js.map} +1 -1
  356. package/dist/pine-core/{p-Cun139qe.system.js.map → p-CJ4Gf3Nx.system.js.map} +1 -1
  357. package/dist/pine-core/{p-Ct9csNdF.system.js.map → p-CUv9KdhN.system.js.map} +1 -1
  358. package/dist/pine-core/{p-C48G0LPH.system.js.map → p-CcDv1OdF.system.js.map} +1 -1
  359. package/dist/pine-core/{p-BHjZufAO.system.js.map → p-CjQwwLdV.system.js.map} +1 -1
  360. package/dist/pine-core/{p-BA95hFrH.system.js.map → p-ClY6yIBF.system.js.map} +1 -1
  361. package/dist/pine-core/{p-Bn36FPag.system.js.map → p-D-iLwshJ.system.js.map} +1 -1
  362. package/dist/pine-core/{p-DkNlmqjM.system.js.map → p-D02u2D7r.system.js.map} +1 -1
  363. package/dist/pine-core/{p-DY8eSueV.js → p-D094LgxJ.js} +1 -1
  364. package/dist/pine-core/p-D094LgxJ.js.map +1 -0
  365. package/dist/pine-core/{p-CR01VmO6.system.js.map → p-D3Ug1A-l.system.js.map} +1 -1
  366. package/dist/pine-core/{p-j0609tLE.system.js.map → p-DFWnxG_e.system.js.map} +1 -1
  367. package/dist/pine-core/{p-DbNPEZgc.system.js.map → p-DFY2-W9M.system.js.map} +1 -1
  368. package/dist/pine-core/{p-5L_gsODn.system.js.map → p-DKT0sVlZ.system.js.map} +1 -1
  369. package/dist/pine-core/{p-Cn_QqTXg.system.js.map → p-DXoBK65z.system.js.map} +1 -1
  370. package/dist/pine-core/{p-Civ2VHC7.system.js.map → p-DY97YDUU.system.js.map} +1 -1
  371. package/dist/pine-core/{p-ClPf_JF1.system.js.map → p-DZt6ah_A.system.js.map} +1 -1
  372. package/dist/pine-core/{p-eUcBQ_fh.system.js.map → p-De6wHGVf.system.js.map} +1 -1
  373. package/dist/pine-core/p-DgtQU13G.system.js.map +1 -0
  374. package/dist/pine-core/{p-CpyTw2IQ.system.js.map → p-DmWm26A6.system.js.map} +1 -1
  375. package/dist/pine-core/p-Dtx30lCy.system.js.map +1 -0
  376. package/dist/pine-core/{p-CP2nsJcg.system.js.map → p-GH_AtkdO.system.js.map} +1 -1
  377. package/dist/pine-core/p-JAVnELnm.system.js +1 -1
  378. package/dist/pine-core/{p-CSLo9qKS.system.js.map → p-P65hM6YU.system.js.map} +1 -1
  379. package/dist/pine-core/{p-DwQewDCV.system.js.map → p-PZw10cnm.system.js.map} +1 -1
  380. package/dist/pine-core/{p-CmquVvkz.system.js.map → p-Ri89mw0-.system.js.map} +1 -1
  381. package/dist/pine-core/p-ZUqfslIz.system.js.map +1 -0
  382. package/dist/pine-core/{p-8f2a5a4c.system.entry.js → p-a24c75c2.system.entry.js} +2 -2
  383. package/dist/pine-core/{p-5040a872.entry.js → p-ad8fe96c.entry.js} +2 -2
  384. package/dist/pine-core/p-aeb2f6ac.system.entry.js +2 -0
  385. package/dist/pine-core/{p-4c23c75b.system.entry.js.map → p-aeb2f6ac.system.entry.js.map} +1 -1
  386. package/dist/pine-core/p-af5bf21d.entry.js +2 -0
  387. package/dist/pine-core/{p-325b3b0d.system.entry.js → p-b09bde5c.system.entry.js} +2 -2
  388. package/dist/pine-core/{p-7b5c8248.system.entry.js → p-b3ee3c4c.system.entry.js} +2 -2
  389. package/dist/pine-core/{p-cac3128b.system.entry.js → p-b46f66e8.system.entry.js} +2 -2
  390. package/dist/pine-core/p-b46f66e8.system.entry.js.map +1 -0
  391. package/dist/pine-core/{p-4d85945b.system.entry.js → p-b6ede995.system.entry.js} +2 -2
  392. package/dist/pine-core/p-b98a04cd.system.entry.js +2 -0
  393. package/dist/pine-core/p-b98a04cd.system.entry.js.map +1 -0
  394. package/dist/pine-core/p-ba195382.system.entry.js +2 -0
  395. package/dist/pine-core/{p-205ec2ac.system.entry.js → p-bc4b1749.system.entry.js} +2 -2
  396. package/dist/pine-core/{p-70aa35fc.system.entry.js → p-bce9f17d.system.entry.js} +2 -2
  397. package/dist/pine-core/{p-ac240034.system.entry.js → p-bd18b9bf.system.entry.js} +2 -2
  398. package/dist/pine-core/p-bd2329cd.entry.js +2 -0
  399. package/dist/pine-core/p-bf712423.entry.js +2 -0
  400. package/dist/pine-core/{p-9f0f1389.entry.js.map → p-bf712423.entry.js.map} +1 -1
  401. package/dist/pine-core/{p-154a32f4.entry.js → p-bfac5114.entry.js} +2 -2
  402. package/dist/pine-core/{p-4f1cRPxE.system.js.map → p-bw-OZgCg.system.js.map} +1 -1
  403. package/dist/pine-core/{p-bc85016b.entry.js → p-c73ef42b.entry.js} +2 -2
  404. package/dist/pine-core/p-c91fd600.entry.js +2 -0
  405. package/dist/pine-core/{p-f47d6724.entry.js → p-caff29fb.entry.js} +2 -2
  406. package/dist/pine-core/{p-8fdb10c4.system.entry.js → p-cb8c24ad.system.entry.js} +2 -2
  407. package/dist/pine-core/{p-8c0fc8ff.entry.js → p-ccdee55a.entry.js} +2 -2
  408. package/dist/pine-core/{p-ab3b6e0c.entry.js → p-d0366fba.entry.js} +2 -2
  409. package/dist/pine-core/{p-6be19a23.system.entry.js → p-d0504aa8.system.entry.js} +2 -2
  410. package/dist/pine-core/{p-8b201c9a.system.entry.js → p-d2b2caa2.system.entry.js} +2 -2
  411. package/dist/pine-core/p-d6139188.system.entry.js +2 -0
  412. package/dist/pine-core/p-d62a5444.system.entry.js +2 -0
  413. package/dist/pine-core/{p-daa36570.system.entry.js → p-d83d6fce.system.entry.js} +2 -2
  414. package/dist/pine-core/{p-6dcd7876.system.entry.js → p-d8d796ad.system.entry.js} +2 -2
  415. package/dist/pine-core/{p-9b3794cd.entry.js → p-e1815c34.entry.js} +2 -2
  416. package/dist/pine-core/{p-811e510d.system.entry.js → p-e9eb3fc3.system.entry.js} +2 -2
  417. package/dist/pine-core/p-eT6pKhWF.system.js.map +1 -0
  418. package/dist/pine-core/{p-d9693048.entry.js → p-ea8aba18.entry.js} +2 -2
  419. package/dist/pine-core/{p-6e862168.system.entry.js → p-ef56bc80.system.entry.js} +2 -2
  420. package/dist/pine-core/p-ef56bc80.system.entry.js.map +1 -0
  421. package/dist/pine-core/{p-51114c2b.system.entry.js → p-f00f70bf.system.entry.js} +2 -2
  422. package/dist/pine-core/{p-2fe330d0.system.entry.js → p-f0df10c7.system.entry.js} +2 -2
  423. package/dist/pine-core/p-f0df10c7.system.entry.js.map +1 -0
  424. package/dist/pine-core/{p-932283cf.system.entry.js → p-fce519e3.system.entry.js} +2 -2
  425. package/dist/pine-core/{p-0sPVsRFU.system.js.map → p-g2zH2UyI.system.js.map} +1 -1
  426. package/dist/pine-core/p-h_fnwqV_.system.js.map +1 -0
  427. package/dist/pine-core/{p-ztsUkqit.system.js.map → p-igLtCO20.system.js.map} +1 -1
  428. package/dist/pine-core/{p-CboCokff.system.js.map → p-kYQszSpu.system.js.map} +1 -1
  429. package/dist/pine-core/{p-BCKPcTKX.system.js.map → p-ljGHaVPv.system.js.map} +1 -1
  430. package/dist/pine-core/{p-CijIWK3K.system.js.map → p-sgZDP7ET.system.js.map} +1 -1
  431. package/dist/pine-core/pds-chip.entry.esm.js.map +1 -1
  432. package/dist/pine-core/pds-combobox.entry.esm.js.map +1 -1
  433. package/dist/pine-core/pds-dropdown-menu-item.entry.esm.js.map +1 -1
  434. package/dist/pine-core/pds-link.entry.esm.js.map +1 -1
  435. package/dist/pine-core/pds-multiselect.entry.esm.js.map +1 -1
  436. package/dist/pine-core/pds-table-cell.entry.esm.js.map +1 -1
  437. package/dist/pine-core/pds-table-row.entry.esm.js.map +1 -1
  438. package/dist/pine-core/pine-core.esm.js +1 -1
  439. package/dist/types/components/pds-chip/pds-chip.d.ts +18 -0
  440. package/dist/types/components/pds-combobox/combobox-interface.d.ts +23 -0
  441. package/dist/types/components/pds-combobox/pds-combobox.d.ts +64 -0
  442. package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +13 -0
  443. package/dist/types/components/pds-link/pds-link.d.ts +8 -0
  444. package/dist/types/components/pds-multiselect/multiselect-interface.d.ts +10 -0
  445. package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +21 -1
  446. package/dist/types/components.d.ts +167 -2
  447. package/dist/vscode.html-data.json +170 -5
  448. package/hydrate/index.js +544 -103
  449. package/hydrate/index.mjs +544 -103
  450. package/package.json +2 -2
  451. package/dist/cjs/index-BA--jsiy.js.map +0 -1
  452. package/dist/esm/index-DY8eSueV.js.map +0 -1
  453. package/dist/esm-es5/index-DY8eSueV.js.map +0 -1
  454. package/dist/pine-core/p-10dbe3e2.entry.js +0 -2
  455. package/dist/pine-core/p-10dbe3e2.entry.js.map +0 -1
  456. package/dist/pine-core/p-10e0be55.entry.js +0 -2
  457. package/dist/pine-core/p-12360e47.entry.js.map +0 -1
  458. package/dist/pine-core/p-1fa303af.entry.js +0 -2
  459. package/dist/pine-core/p-2fe330d0.system.entry.js.map +0 -1
  460. package/dist/pine-core/p-30ea3668.system.entry.js +0 -2
  461. package/dist/pine-core/p-3c04c17e.system.entry.js +0 -2
  462. package/dist/pine-core/p-3c04c17e.system.entry.js.map +0 -1
  463. package/dist/pine-core/p-4alPHnzl.system.js.map +0 -1
  464. package/dist/pine-core/p-4c23c75b.system.entry.js +0 -2
  465. package/dist/pine-core/p-5e92aa34.system.entry.js +0 -2
  466. package/dist/pine-core/p-622f1342.system.entry.js +0 -4
  467. package/dist/pine-core/p-622f1342.system.entry.js.map +0 -1
  468. package/dist/pine-core/p-6e862168.system.entry.js.map +0 -1
  469. package/dist/pine-core/p-78ee2e08.system.entry.js +0 -2
  470. package/dist/pine-core/p-8c000d7c.entry.js +0 -2
  471. package/dist/pine-core/p-8eb1c168.entry.js +0 -2
  472. package/dist/pine-core/p-9c928c44.entry.js +0 -2
  473. package/dist/pine-core/p-9eccf7b9.entry.js +0 -2
  474. package/dist/pine-core/p-9f0f1389.entry.js +0 -2
  475. package/dist/pine-core/p-B0Otb6kF.system.js.map +0 -1
  476. package/dist/pine-core/p-BSRmAvMC.system.js.map +0 -1
  477. package/dist/pine-core/p-CG5jdxoZ.system.js.map +0 -1
  478. package/dist/pine-core/p-CP48ADFM.system.js.map +0 -1
  479. package/dist/pine-core/p-DY8eSueV.js.map +0 -1
  480. package/dist/pine-core/p-DieNsvcz.system.js.map +0 -1
  481. package/dist/pine-core/p-Lk6DnEPT.system.js.map +0 -1
  482. package/dist/pine-core/p-a11c3642.system.entry.js +0 -2
  483. package/dist/pine-core/p-aPfTGFhq.system.js.map +0 -1
  484. package/dist/pine-core/p-ac186cd4.system.entry.js +0 -2
  485. package/dist/pine-core/p-b41465b8.entry.js +0 -3
  486. package/dist/pine-core/p-b41465b8.entry.js.map +0 -1
  487. package/dist/pine-core/p-bff9fb8e.entry.js +0 -2
  488. package/dist/pine-core/p-bff9fb8e.entry.js.map +0 -1
  489. package/dist/pine-core/p-cac3128b.system.entry.js.map +0 -1
  490. package/dist/pine-core/p-d41112ad.entry.js.map +0 -1
  491. package/dist/pine-core/p-e0f21c22.entry.js +0 -2
  492. package/dist/pine-core/p-eb026745.entry.js +0 -2
  493. package/dist/pine-core/p-fa21e054.system.entry.js +0 -2
  494. /package/dist/pine-core/{p-d6302edd.entry.js.map → p-003884fd.entry.js.map} +0 -0
  495. /package/dist/pine-core/{p-9e7cd072.system.entry.js.map → p-0270ebee.system.entry.js.map} +0 -0
  496. /package/dist/pine-core/{p-063afa19.system.entry.js.map → p-09ff71ad.system.entry.js.map} +0 -0
  497. /package/dist/pine-core/{p-c68bceb1.entry.js.map → p-0ac54273.entry.js.map} +0 -0
  498. /package/dist/pine-core/{p-ac56273a.system.entry.js.map → p-0c2f13c3.system.entry.js.map} +0 -0
  499. /package/dist/pine-core/{p-c7c00a27.entry.js.map → p-119ccf73.entry.js.map} +0 -0
  500. /package/dist/pine-core/{p-87eb8d4b.system.entry.js.map → p-13105538.system.entry.js.map} +0 -0
  501. /package/dist/pine-core/{p-c24d11c7.entry.js.map → p-1951d49e.entry.js.map} +0 -0
  502. /package/dist/pine-core/{p-6d2da3ca.system.entry.js.map → p-1e77124d.system.entry.js.map} +0 -0
  503. /package/dist/pine-core/{p-f69d3fd6.entry.js.map → p-220cbe98.entry.js.map} +0 -0
  504. /package/dist/pine-core/{p-9d6b6ff3.system.entry.js.map → p-226e45be.system.entry.js.map} +0 -0
  505. /package/dist/pine-core/{p-90615423.system.entry.js.map → p-2883cb69.system.entry.js.map} +0 -0
  506. /package/dist/pine-core/{p-31168da5.entry.js.map → p-2d21bc31.entry.js.map} +0 -0
  507. /package/dist/pine-core/{p-10e0be55.entry.js.map → p-31bfac45.entry.js.map} +0 -0
  508. /package/dist/pine-core/{p-a3cdff85.entry.js.map → p-35e91ecb.entry.js.map} +0 -0
  509. /package/dist/pine-core/{p-2537aacb.entry.js.map → p-3815f565.entry.js.map} +0 -0
  510. /package/dist/pine-core/{p-a99e8caf.entry.js.map → p-396d4b63.entry.js.map} +0 -0
  511. /package/dist/pine-core/{p-9bb6cc3d.entry.js.map → p-3b0a4abe.entry.js.map} +0 -0
  512. /package/dist/pine-core/{p-5b9110fe.entry.js.map → p-3cd53462.entry.js.map} +0 -0
  513. /package/dist/pine-core/{p-a5b24b1d.system.entry.js.map → p-3e45826f.system.entry.js.map} +0 -0
  514. /package/dist/pine-core/{p-5b3ac18e.system.entry.js.map → p-4a42e114.system.entry.js.map} +0 -0
  515. /package/dist/pine-core/{p-1fa303af.entry.js.map → p-4c82bff5.entry.js.map} +0 -0
  516. /package/dist/pine-core/{p-a07b8e45.system.entry.js.map → p-4e24be57.system.entry.js.map} +0 -0
  517. /package/dist/pine-core/{p-8eb1c168.entry.js.map → p-50a439b5.entry.js.map} +0 -0
  518. /package/dist/pine-core/{p-3440138d.entry.js.map → p-5162baee.entry.js.map} +0 -0
  519. /package/dist/pine-core/{p-426e90cb.entry.js.map → p-51d2999d.entry.js.map} +0 -0
  520. /package/dist/pine-core/{p-ba623ced.entry.js.map → p-563b640d.entry.js.map} +0 -0
  521. /package/dist/pine-core/{p-d1313dd6.system.entry.js.map → p-599a5903.system.entry.js.map} +0 -0
  522. /package/dist/pine-core/{p-5f2865df.entry.js.map → p-5ef5f6b3.entry.js.map} +0 -0
  523. /package/dist/pine-core/{p-78ee2e08.system.entry.js.map → p-65d0032c.system.entry.js.map} +0 -0
  524. /package/dist/pine-core/{p-2f6f60d9.entry.js.map → p-68f97bdf.entry.js.map} +0 -0
  525. /package/dist/pine-core/{p-e6dc2297.entry.js.map → p-694cfe69.entry.js.map} +0 -0
  526. /package/dist/pine-core/{p-bddc9c5a.entry.js.map → p-6c25dfc3.entry.js.map} +0 -0
  527. /package/dist/pine-core/{p-9ada659b.entry.js.map → p-6cbad264.entry.js.map} +0 -0
  528. /package/dist/pine-core/{p-4d9eee67.system.entry.js.map → p-72ca815d.system.entry.js.map} +0 -0
  529. /package/dist/pine-core/{p-63269b89.entry.js.map → p-766e52a3.entry.js.map} +0 -0
  530. /package/dist/pine-core/{p-e8cf15d7.system.entry.js.map → p-7a6f11bd.system.entry.js.map} +0 -0
  531. /package/dist/pine-core/{p-c292e5da.system.entry.js.map → p-7d7dce2c.system.entry.js.map} +0 -0
  532. /package/dist/pine-core/{p-137b3289.system.entry.js.map → p-7da176b4.system.entry.js.map} +0 -0
  533. /package/dist/pine-core/{p-757c7b80.entry.js.map → p-8e40c9ef.entry.js.map} +0 -0
  534. /package/dist/pine-core/{p-a11c3642.system.entry.js.map → p-94a9ff2a.system.entry.js.map} +0 -0
  535. /package/dist/pine-core/{p-ccab748a.entry.js.map → p-957647f9.entry.js.map} +0 -0
  536. /package/dist/pine-core/{p-02f48157.system.entry.js.map → p-9606f567.system.entry.js.map} +0 -0
  537. /package/dist/pine-core/{p-475bb340.entry.js.map → p-9660a2c2.entry.js.map} +0 -0
  538. /package/dist/pine-core/{p-3f0a6a75.system.entry.js.map → p-9ba4acdf.system.entry.js.map} +0 -0
  539. /package/dist/pine-core/{p-7dd74fe2.system.entry.js.map → p-9d9a5ca8.system.entry.js.map} +0 -0
  540. /package/dist/pine-core/{p-8f2a5a4c.system.entry.js.map → p-a24c75c2.system.entry.js.map} +0 -0
  541. /package/dist/pine-core/{p-5040a872.entry.js.map → p-ad8fe96c.entry.js.map} +0 -0
  542. /package/dist/pine-core/{p-e0f21c22.entry.js.map → p-af5bf21d.entry.js.map} +0 -0
  543. /package/dist/pine-core/{p-325b3b0d.system.entry.js.map → p-b09bde5c.system.entry.js.map} +0 -0
  544. /package/dist/pine-core/{p-7b5c8248.system.entry.js.map → p-b3ee3c4c.system.entry.js.map} +0 -0
  545. /package/dist/pine-core/{p-4d85945b.system.entry.js.map → p-b6ede995.system.entry.js.map} +0 -0
  546. /package/dist/pine-core/{p-ac186cd4.system.entry.js.map → p-ba195382.system.entry.js.map} +0 -0
  547. /package/dist/pine-core/{p-205ec2ac.system.entry.js.map → p-bc4b1749.system.entry.js.map} +0 -0
  548. /package/dist/pine-core/{p-70aa35fc.system.entry.js.map → p-bce9f17d.system.entry.js.map} +0 -0
  549. /package/dist/pine-core/{p-ac240034.system.entry.js.map → p-bd18b9bf.system.entry.js.map} +0 -0
  550. /package/dist/pine-core/{p-8c000d7c.entry.js.map → p-bd2329cd.entry.js.map} +0 -0
  551. /package/dist/pine-core/{p-154a32f4.entry.js.map → p-bfac5114.entry.js.map} +0 -0
  552. /package/dist/pine-core/{p-bc85016b.entry.js.map → p-c73ef42b.entry.js.map} +0 -0
  553. /package/dist/pine-core/{p-eb026745.entry.js.map → p-c91fd600.entry.js.map} +0 -0
  554. /package/dist/pine-core/{p-f47d6724.entry.js.map → p-caff29fb.entry.js.map} +0 -0
  555. /package/dist/pine-core/{p-8fdb10c4.system.entry.js.map → p-cb8c24ad.system.entry.js.map} +0 -0
  556. /package/dist/pine-core/{p-8c0fc8ff.entry.js.map → p-ccdee55a.entry.js.map} +0 -0
  557. /package/dist/pine-core/{p-ab3b6e0c.entry.js.map → p-d0366fba.entry.js.map} +0 -0
  558. /package/dist/pine-core/{p-6be19a23.system.entry.js.map → p-d0504aa8.system.entry.js.map} +0 -0
  559. /package/dist/pine-core/{p-8b201c9a.system.entry.js.map → p-d2b2caa2.system.entry.js.map} +0 -0
  560. /package/dist/pine-core/{p-fa21e054.system.entry.js.map → p-d6139188.system.entry.js.map} +0 -0
  561. /package/dist/pine-core/{p-30ea3668.system.entry.js.map → p-d62a5444.system.entry.js.map} +0 -0
  562. /package/dist/pine-core/{p-daa36570.system.entry.js.map → p-d83d6fce.system.entry.js.map} +0 -0
  563. /package/dist/pine-core/{p-6dcd7876.system.entry.js.map → p-d8d796ad.system.entry.js.map} +0 -0
  564. /package/dist/pine-core/{p-9b3794cd.entry.js.map → p-e1815c34.entry.js.map} +0 -0
  565. /package/dist/pine-core/{p-811e510d.system.entry.js.map → p-e9eb3fc3.system.entry.js.map} +0 -0
  566. /package/dist/pine-core/{p-d9693048.entry.js.map → p-ea8aba18.entry.js.map} +0 -0
  567. /package/dist/pine-core/{p-51114c2b.system.entry.js.map → p-f00f70bf.system.entry.js.map} +0 -0
  568. /package/dist/pine-core/{p-932283cf.system.entry.js.map → p-fce519e3.system.entry.js.map} +0 -0
@@ -2,9 +2,9 @@ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement
2
2
  import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift, b as size } from './floating-ui.dom-BO6p966C.js';
3
3
  import { d as debounceEvent } from './utils-tJa4KYNO.js';
4
4
  import { a as assignDescription, m as messageId } from './form-DwjNklzi.js';
5
- import { e as enlarge, b as danger } from './index-DY8eSueV.js';
5
+ import { e as enlarge, b as danger } from './index-D094LgxJ.js';
6
6
 
7
- const pdsMultiselectCss = ":host{display:block}:host([aria-disabled=true]) .pds-multiselect__trigger{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}:host([aria-disabled=true]) .pds-multiselect__icon{color:var(--pine-color-text-disabled)}.pds-multiselect{position:relative}.pds-multiselect__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-multiselect__wrapper{position:relative}.pds-multiselect__trigger{-ms-flex-align:center;align-items:center;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body);gap:var(--pine-dimension-xs);-ms-flex-pack:justify;justify-content:space-between;letter-spacing:var(--pine-letter-spacing);min-height:var(--pine-dimension-550);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-align:start;-webkit-transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;width:100%}.pds-multiselect__trigger:hover:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-hover)}.pds-multiselect__trigger:focus:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid:focus{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-multiselect__trigger-text{color:var(--pine-color-text-strong);-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__trigger-text.pds-multiselect__trigger-text--placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__trigger--disabled .pds-multiselect__trigger-text{color:var(--pine-color-text-disabled)}.pds-multiselect__icon{color:var(--pine-color-icon);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__panel{background:var(--pine-color-background-container);border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute;z-index:var(--pine-z-index-raised)}.pds-multiselect__search{-ms-flex-align:center;align-items:center;-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__search pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__search-input{background:transparent;border:var(--pine-dimension-none);color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);min-width:var(--pine-dimension-none);outline:none}.pds-multiselect__search-input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__selected-section{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs)}.pds-multiselect__selected-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__selected-item{color:var(--pine-color-text-strong);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);overflow:hidden;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__listbox{background:transparent;border:var(--pine-dimension-none);-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:var(--pine-dimension-none);overflow-y:auto;padding:var(--pine-dimension-xs)}.pds-multiselect__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-xs);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-multiselect__option pds-checkbox{pointer-events:none;width:100%}.pds-multiselect__option:hover,.pds-multiselect__option.pds-multiselect__option--highlighted{background:var(--pine-color-background-muted)}.pds-multiselect__option:focus-visible{outline:var(--pine-dimension-none)}.pds-multiselect__empty,.pds-multiselect__loading{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-muted);display:-ms-flexbox;display:flex;font:var(--pine-typography-body);-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-sm)}.pds-multiselect__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-xs)}.pds-multiselect__helper{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error{-ms-flex-align:start;align-items:flex-start;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;font:var(--pine-typography-body-sm);gap:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error pds-icon{-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.visually-hidden{border:var(--pine-dimension-none);clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:var(--pine-dimension-none);position:absolute;white-space:nowrap;width:1px}";
7
+ const pdsMultiselectCss = ":host{display:block}:host([aria-disabled=true]) .pds-multiselect__trigger{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}:host([aria-disabled=true]) .pds-multiselect__icon{color:var(--pine-color-text-disabled)}.pds-multiselect{position:relative}.pds-multiselect__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-multiselect__wrapper{position:relative}.pds-multiselect__trigger{-ms-flex-align:center;align-items:center;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body);gap:var(--pine-dimension-xs);-ms-flex-pack:justify;justify-content:space-between;letter-spacing:var(--pine-letter-spacing);min-height:var(--pine-dimension-550);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-align:start;-webkit-transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;width:100%}.pds-multiselect__trigger:hover:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-hover)}.pds-multiselect__trigger:focus:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid:focus{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-multiselect__trigger-text{color:var(--pine-color-text-strong);-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__trigger-text.pds-multiselect__trigger-text--placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__trigger--disabled .pds-multiselect__trigger-text{color:var(--pine-color-text-disabled)}.pds-multiselect__icon{color:var(--pine-color-icon);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__panel{background:var(--pine-color-background-container);border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute;z-index:var(--pine-z-index-raised)}.pds-multiselect__search{-ms-flex-align:center;align-items:center;-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__search pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__search-input{background:transparent;border:var(--pine-dimension-none);color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);min-width:var(--pine-dimension-none);outline:none}.pds-multiselect__search-input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__selected-section{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs)}.pds-multiselect__selected-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__selected-item{color:var(--pine-color-text-strong);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);overflow:hidden;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__listbox{background:transparent;border:var(--pine-dimension-none);-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:var(--pine-dimension-none);overflow-y:auto;padding:var(--pine-dimension-xs)}.pds-multiselect__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-xs);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-multiselect__option pds-checkbox{pointer-events:none;width:100%}.pds-multiselect__option:hover,.pds-multiselect__option.pds-multiselect__option--highlighted{background:var(--pine-color-background-muted)}.pds-multiselect__option:focus-visible{outline:var(--pine-dimension-none)}.pds-multiselect__create-option{color:var(--pine-color-text-strong);width:100%}.pds-multiselect__create-option pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__empty,.pds-multiselect__loading{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-muted);display:-ms-flexbox;display:flex;font:var(--pine-typography-body);-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-sm)}.pds-multiselect__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-xs)}.pds-multiselect__helper{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error{-ms-flex-align:start;align-items:flex-start;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;font:var(--pine-typography-body-sm);gap:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error pds-icon{-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.visually-hidden{border:var(--pine-dimension-none);clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:var(--pine-dimension-none);position:absolute;white-space:nowrap;width:1px}";
8
8
 
9
9
  const PdsMultiselect = class {
10
10
  constructor(hostRef) {
@@ -12,6 +12,7 @@ const PdsMultiselect = class {
12
12
  this.pdsMultiselectChange = createEvent(this, "pdsMultiselectChange");
13
13
  this.pdsMultiselectSearch = createEvent(this, "pdsMultiselectSearch");
14
14
  this.pdsMultiselectLoadOptions = createEvent(this, "pdsMultiselectLoadOptions");
15
+ this.pdsMultiselectCreate = createEvent(this, "pdsMultiselectCreate");
15
16
  /**
16
17
  * Placeholder text for the input field.
17
18
  */
@@ -32,6 +33,10 @@ const PdsMultiselect = class {
32
33
  * Debounce delay in milliseconds for search/fetch.
33
34
  */
34
35
  this.debounce = 300;
36
+ /**
37
+ * Timeout in milliseconds for async fetch requests.
38
+ */
39
+ this.fetchTimeout = 30000;
35
40
  /**
36
41
  * Maximum height of the dropdown before scrolling.
37
42
  */
@@ -64,6 +69,7 @@ const PdsMultiselect = class {
64
69
  this.selectedItems = [];
65
70
  this.currentPage = 1;
66
71
  this.hasMore = false;
72
+ this.creating = false;
67
73
  // Flag to prevent focusout from closing during open transition
68
74
  this.isOpening = false;
69
75
  this.handleTriggerClick = () => {
@@ -296,6 +302,10 @@ const PdsMultiselect = class {
296
302
  window.clearTimeout(this.fetchDebounceTimer);
297
303
  this.fetchDebounceTimer = undefined;
298
304
  }
305
+ if (this.fetchTimeoutTimer !== undefined) {
306
+ window.clearTimeout(this.fetchTimeoutTimer);
307
+ this.fetchTimeoutTimer = undefined;
308
+ }
299
309
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
300
310
  this.abortController = undefined;
301
311
  }
@@ -316,9 +326,25 @@ const PdsMultiselect = class {
316
326
  // Ensure value is an array (may be string from HTML attribute)
317
327
  const valueArray = this.ensureValueArray();
318
328
  const allOptions = this.getAllOptions();
319
- this.selectedItems = valueArray
320
- .map(val => allOptions.find(opt => String(opt.id) === String(val)))
321
- .filter((opt) => opt !== undefined);
329
+ // Map values to options, preserving existing selectedItems for values not yet in options
330
+ const newSelectedItems = [];
331
+ const existingItemsMap = new Map(this.selectedItems.map(item => [String(item.id), item]));
332
+ valueArray.forEach(val => {
333
+ // First try to find in available options
334
+ const option = allOptions.find(opt => String(opt.id) === String(val));
335
+ if (option) {
336
+ newSelectedItems.push(option);
337
+ }
338
+ else if (existingItemsMap.has(String(val))) {
339
+ // If not in options but exists in current selectedItems, preserve it
340
+ // This handles the case where async data hasn't loaded yet or newly created items
341
+ newSelectedItems.push(existingItemsMap.get(String(val)));
342
+ }
343
+ // Note: We don't create placeholders for values without matching options.
344
+ // This ensures selectedItems remains empty until options are actually loaded,
345
+ // which matches the expected behavior for preselected values.
346
+ });
347
+ this.selectedItems = newSelectedItems;
322
348
  }
323
349
  ensureValueArray() {
324
350
  // Handle JSON string values passed via HTML attribute
@@ -345,13 +371,22 @@ const PdsMultiselect = class {
345
371
  getFilteredOptions() {
346
372
  const allOptions = this.getAllOptions();
347
373
  const query = this.searchQuery.toLowerCase();
348
- return allOptions.filter(opt => {
374
+ const filtered = allOptions.filter(opt => {
349
375
  // Filter by search query only - don't filter out selected items
350
376
  if (query) {
351
377
  return opt.text.toLowerCase().includes(query);
352
378
  }
353
379
  return true;
354
380
  });
381
+ // Add create option if enabled and no matches found
382
+ if (this.createUrl && this.searchQuery.trim() && filtered.length === 0) {
383
+ return [{
384
+ id: '__create__',
385
+ text: this.searchQuery.trim(),
386
+ isCreateOption: true,
387
+ }];
388
+ }
389
+ return filtered;
355
390
  }
356
391
  updateFormValue() {
357
392
  var _a;
@@ -375,33 +410,79 @@ const PdsMultiselect = class {
375
410
  }
376
411
  }
377
412
  }
413
+ getCsrfToken() {
414
+ // Use provided token if available
415
+ if (this.csrfToken) {
416
+ return this.csrfToken;
417
+ }
418
+ // Try to read from meta tag
419
+ const metaTag = document.querySelector('meta[name="csrf-token"]');
420
+ return (metaTag === null || metaTag === void 0 ? void 0 : metaTag.content) || null;
421
+ }
378
422
  async fetchOptions(query, page = 1) {
379
423
  var _a;
380
424
  if (!this.asyncUrl)
381
425
  return;
426
+ // Abort any pending request and clear existing timeout
382
427
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
428
+ if (this.fetchTimeoutTimer !== undefined) {
429
+ window.clearTimeout(this.fetchTimeoutTimer);
430
+ this.fetchTimeoutTimer = undefined;
431
+ }
383
432
  this.abortController = new AbortController();
384
433
  this.loading = true;
434
+ // Set up timeout for fetch request
435
+ this.fetchTimeoutTimer = window.setTimeout(() => {
436
+ var _a;
437
+ (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
438
+ this.fetchTimeoutTimer = undefined;
439
+ }, this.fetchTimeout);
385
440
  try {
386
- const url = new URL(this.asyncUrl, window.location.origin);
441
+ // Guard against malformed asyncUrl
442
+ let url;
443
+ try {
444
+ url = new URL(this.asyncUrl, window.location.origin);
445
+ }
446
+ catch (urlError) {
447
+ throw new TypeError(`Invalid asyncUrl: ${this.asyncUrl}`);
448
+ }
387
449
  if (this.asyncMethod === 'GET') {
388
450
  url.searchParams.set('search', query);
389
451
  url.searchParams.set('page', String(page));
390
452
  }
391
- const response = await fetch(url.toString(), Object.assign({ method: this.asyncMethod, signal: this.abortController.signal, headers: {
392
- 'Content-Type': 'application/json',
393
- 'Accept': 'application/json',
394
- } }, (this.asyncMethod === 'POST' && {
453
+ const csrfToken = this.getCsrfToken();
454
+ const headers = {
455
+ 'Content-Type': 'application/json',
456
+ 'Accept': 'application/json',
457
+ };
458
+ if (csrfToken) {
459
+ headers['X-CSRF-Token'] = csrfToken;
460
+ }
461
+ const response = await fetch(url.toString(), Object.assign({ method: this.asyncMethod, signal: this.abortController.signal, headers }, (this.asyncMethod === 'POST' && {
395
462
  body: JSON.stringify({ search: query, page }),
396
463
  })));
464
+ // Clear timeout on successful response
465
+ if (this.fetchTimeoutTimer !== undefined) {
466
+ window.clearTimeout(this.fetchTimeoutTimer);
467
+ this.fetchTimeoutTimer = undefined;
468
+ }
397
469
  if (!response.ok)
398
470
  throw new Error('Failed to fetch options');
399
471
  const data = await response.json();
400
472
  const formattedResults = data.results.map(item => {
473
+ // If formatResult is provided, use it
401
474
  if (this.formatResult) {
402
475
  return this.formatResult(item);
403
476
  }
404
- return Object.assign({ id: item.id, text: item.text }, item);
477
+ // Defensive check: ensure item is an object before spreading
478
+ if (typeof item === 'object' && item !== null) {
479
+ return Object.assign({ id: item.id, text: item.text }, item);
480
+ }
481
+ // Handle primitives by converting to safe shape
482
+ return {
483
+ id: String(item),
484
+ text: String(item),
485
+ };
405
486
  });
406
487
  if (page === 1) {
407
488
  this.internalOptions = formattedResults;
@@ -413,6 +494,11 @@ const PdsMultiselect = class {
413
494
  this.currentPage = page;
414
495
  }
415
496
  catch (error) {
497
+ // Clear timeout on error
498
+ if (this.fetchTimeoutTimer !== undefined) {
499
+ window.clearTimeout(this.fetchTimeoutTimer);
500
+ this.fetchTimeoutTimer = undefined;
501
+ }
416
502
  if (error.name !== 'AbortError') {
417
503
  console.error('PdsMultiselect: Failed to fetch options', error);
418
504
  }
@@ -421,6 +507,64 @@ const PdsMultiselect = class {
421
507
  this.loading = false;
422
508
  }
423
509
  }
510
+ async createOption(query) {
511
+ if (!this.createUrl || !query.trim())
512
+ return;
513
+ // Reentrancy guard: prevent duplicate POSTs if creation is already in-flight
514
+ if (this.creating)
515
+ return;
516
+ this.creating = true;
517
+ try {
518
+ const url = new URL(this.createUrl, window.location.origin);
519
+ const csrfToken = this.getCsrfToken();
520
+ const headers = {
521
+ 'Content-Type': 'application/json',
522
+ 'Accept': 'application/json',
523
+ };
524
+ if (csrfToken) {
525
+ headers['X-CSRF-Token'] = csrfToken;
526
+ }
527
+ const response = await fetch(url.toString(), {
528
+ method: 'POST',
529
+ headers,
530
+ body: JSON.stringify({ text: query.trim() }),
531
+ });
532
+ if (!response.ok)
533
+ throw new Error('Failed to create option');
534
+ const data = await response.json();
535
+ const newOption = Object.assign({ id: data.id, text: data.text }, data);
536
+ // Add to internal options first
537
+ this.internalOptions = [...this.internalOptions, newOption];
538
+ // Select the new option
539
+ this.value = [...this.value, String(newOption.id)];
540
+ // Sync selected items to update display with new option
541
+ this.syncSelectedItems();
542
+ // Emit create event
543
+ this.pdsMultiselectCreate.emit({
544
+ query: query.trim(),
545
+ newOption,
546
+ });
547
+ // Emit change event with synced items
548
+ this.pdsMultiselectChange.emit({
549
+ values: this.value,
550
+ items: this.selectedItems,
551
+ });
552
+ // Clear search and keep dropdown open
553
+ this.searchQuery = '';
554
+ this.highlightedIndex = -1;
555
+ // Focus back on search input
556
+ requestAnimationFrame(() => {
557
+ var _a;
558
+ (_a = this.searchInputEl) === null || _a === void 0 ? void 0 : _a.focus();
559
+ });
560
+ }
561
+ catch (error) {
562
+ console.error('PdsMultiselect: Failed to create option', error);
563
+ }
564
+ finally {
565
+ this.creating = false;
566
+ }
567
+ }
424
568
  openDropdown() {
425
569
  if (this.disabled)
426
570
  return;
@@ -499,30 +643,33 @@ const PdsMultiselect = class {
499
643
  }
500
644
  toggleOption(option) {
501
645
  var _a;
646
+ // Handle create option
647
+ if (option.isCreateOption) {
648
+ // Prevent multiple create calls while one is in-flight
649
+ if (!this.creating) {
650
+ this.createOption(this.searchQuery);
651
+ }
652
+ return;
653
+ }
502
654
  const isSelected = this.value.includes(String(option.id));
503
655
  if (isSelected) {
504
656
  // Remove from selection
505
- const newValue = this.value.filter(v => v !== String(option.id));
506
- this.value = newValue;
507
- const newSelectedItems = this.selectedItems.filter(item => String(item.id) !== String(option.id));
508
- this.pdsMultiselectChange.emit({
509
- values: newValue,
510
- items: newSelectedItems,
511
- });
657
+ this.value = this.value.filter(v => v !== String(option.id));
512
658
  }
513
659
  else {
514
660
  // Add to selection
515
661
  if (this.maxSelections && this.value.length >= this.maxSelections) {
516
662
  return;
517
663
  }
518
- const newValue = [...this.value, String(option.id)];
519
- this.value = newValue;
520
- const newSelectedItems = [...this.selectedItems, option];
521
- this.pdsMultiselectChange.emit({
522
- values: newValue,
523
- items: newSelectedItems,
524
- });
664
+ this.value = [...this.value, String(option.id)];
525
665
  }
666
+ // Sync selected items to ensure no duplicates and accurate state
667
+ this.syncSelectedItems();
668
+ // Emit change event with synced items
669
+ this.pdsMultiselectChange.emit({
670
+ values: this.value,
671
+ items: this.selectedItems,
672
+ });
526
673
  // Keep focus on search input, don't close dropdown
527
674
  (_a = this.searchInputEl) === null || _a === void 0 ? void 0 : _a.focus();
528
675
  }
@@ -544,13 +691,17 @@ const PdsMultiselect = class {
544
691
  const hasSlottedLoading = !!this.el.querySelector('[slot="loading"]');
545
692
  return (h("div", { class: "pds-multiselect__panel", ref: el => (this.panelEl = el), style: { minWidth: this.minWidth } }, h("div", { class: "pds-multiselect__search" }, h("pds-icon", { name: "search", size: "small" }), h("input", { ref: el => (this.searchInputEl = el), type: "text", class: "pds-multiselect__search-input", placeholder: "Find...", value: this.searchQuery, "aria-label": "Search options", "aria-controls": `${this.componentId}-listbox`, "aria-activedescendant": this.highlightedIndex >= 0 ? `${this.componentId}-option-${this.highlightedIndex}` : undefined, role: "combobox", "aria-haspopup": "listbox", "aria-expanded": "true", "aria-autocomplete": "list", autocomplete: "off", onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchInputKeyDown })), this.renderSelectedItemsList(), h("ul", { class: "pds-multiselect__listbox", role: "listbox", "aria-multiselectable": "true", "aria-label": this.label || 'Options', id: `${this.componentId}-listbox`, ref: el => (this.listboxEl = el), style: { maxHeight: this.maxHeight }, onScroll: this.handleScroll }, this.loading && (h("li", { class: "pds-multiselect__loading", role: "presentation" }, hasSlottedLoading ? (h("slot", { name: "loading" })) : (h("pds-loader", { size: "small" })))), !this.loading && filteredOptions.length === 0 && (h("li", { class: "pds-multiselect__empty", role: "presentation" }, hasSlottedEmpty ? (h("slot", { name: "empty" })) : (h("span", null, "No options found")))), filteredOptions.map((option, index) => {
546
693
  const isSelected = valueArray.includes(String(option.id));
547
- const isHighlighted = index === this.highlightedIndex;
694
+ const isCreateOption = option.isCreateOption;
695
+ const isHighlighted = index === this.highlightedIndex && !isCreateOption;
548
696
  const optionId = `${this.componentId}-option-${index}`;
697
+ const isCreateDisabled = isCreateOption && this.creating;
549
698
  return (h("li", { key: String(option.id), id: optionId, class: {
550
699
  'pds-multiselect__option': true,
551
700
  'pds-multiselect__option--highlighted': isHighlighted,
552
701
  'pds-multiselect__option--selected': isSelected,
553
- }, role: "option", "aria-selected": isSelected ? 'true' : 'false', "data-index": index, onMouseDown: this.handleOptionMouseDown(option), onMouseEnter: this.handleOptionMouseEnter(index) }, h("pds-checkbox", { componentId: `${this.componentId}-checkbox-${index}`, checked: isSelected, label: option.text, style: { pointerEvents: 'none' } })));
702
+ 'pds-multiselect__option--create': isCreateOption,
703
+ 'pds-multiselect__option--disabled': isCreateDisabled,
704
+ }, role: "option", "aria-selected": isSelected ? 'true' : 'false', "aria-disabled": isCreateDisabled ? 'true' : undefined, "aria-label": isCreateOption ? `Create new tag: ${option.text}` : undefined, "data-index": index, onMouseDown: this.handleOptionMouseDown(option), onMouseEnter: this.handleOptionMouseEnter(index) }, isCreateOption ? (h("pds-box", { class: "pds-multiselect__create-option", "align-items": "center", gap: "xs" }, h("pds-icon", { name: "add", size: "small" }), h("pds-text", null, "Add \"", option.text, "\""))) : (h("pds-checkbox", { componentId: `${this.componentId}-checkbox-${index}`, checked: isSelected, label: option.text, style: { pointerEvents: 'none' } }))));
554
705
  }), this.hasMore && !this.loading && (h("li", { class: "pds-multiselect__load-more", role: "presentation" }, h("pds-loader", { size: "small" }))))));
555
706
  }
556
707
  getTriggerText() {
@@ -562,19 +713,19 @@ const PdsMultiselect = class {
562
713
  }
563
714
  render() {
564
715
  const hasSelections = this.selectedItems.length > 0;
565
- return (h(Host, { key: 'e7d872fd9bedb03390eaf8a2bd9c5d6ba1cc7ecc', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '141dee3c657dd17d3389d4a25979d0f748e36361', class: "pds-multiselect" }, this.label && (h("label", { key: '386114a823424506857a1e927a2538e88d3c82f5', htmlFor: this.componentId, class: {
716
+ return (h(Host, { key: '5eabf872bf4e4f109106c0dd7f9fc8ea48e8c0c0', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '2623280ddbb4e116da4dbf0fe9123b5f06f0da0c', class: "pds-multiselect" }, this.label && (h("label", { key: 'ec644a7af54ca4dcdece849c6df692fae268b445', htmlFor: this.componentId, class: {
566
717
  'pds-multiselect__label': true,
567
718
  'visually-hidden': this.hideLabel,
568
- } }, this.label)), h("div", { key: '9fc18bf93f981ee7f72f31c20f43f5251ed647e4', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), onFocusout: this.handleContainerFocusOut, style: { width: this.triggerWidth } }, h("button", { key: '74e8eb5ef5984307dce779ef63d54e49e07497ea', ref: el => (this.triggerEl = el), type: "button", class: {
719
+ } }, this.label)), h("div", { key: 'ae08d5be617ee801a730fd9289146e82f2df8258', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), onFocusout: this.handleContainerFocusOut, style: { width: this.triggerWidth } }, h("button", { key: 'c4639d573de4bb7963f848284057afcf9cc65cb9', ref: el => (this.triggerEl = el), type: "button", class: {
569
720
  'pds-multiselect__trigger': true,
570
721
  'pds-multiselect__trigger--open': this.isOpen,
571
722
  'pds-multiselect__trigger--disabled': this.disabled,
572
723
  'pds-multiselect__trigger--invalid': this.invalid || !!this.errorMessage,
573
724
  'pds-multiselect__trigger--has-value': hasSelections,
574
- }, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, h("span", { key: 'fb7f9b9fffd46839ddc4ab0bb549b61de191f76c', class: {
725
+ }, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, h("span", { key: 'b16da29ea9a98d6672813d9c142ef63135b12dca', class: {
575
726
  'pds-multiselect__trigger-text': true,
576
727
  'pds-multiselect__trigger-text--placeholder': !hasSelections,
577
- } }, this.getTriggerText()), h("pds-icon", { key: '354e1c57758350d73557a6c94d0b31eb6732f12a', class: "pds-multiselect__icon", icon: enlarge })), this.renderDropdown()), this.helperMessage && !this.errorMessage && (h("p", { key: '3709f184a7972e1acfd3826faefc4ba139a8d518', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (h("p", { key: '8029b58286455b7b4789a4336a79c324ca91ad74', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: 'cd781f3caed8b81deef2ce43f0a4406b6ed2d53c', icon: danger, size: "small" }), this.errorMessage)), h("div", { key: '7c303f4d64247b41b9e88892cfb8c02acd5d8d59', style: { display: 'none' } }, h("slot", { key: 'e9b384038e67bb951613933bbf68fd2b2efc71ef' })))));
728
+ } }, this.getTriggerText()), h("pds-icon", { key: '4e86739529355331c9fa6b95b63f223d5a315ad5', class: "pds-multiselect__icon", icon: enlarge })), this.renderDropdown()), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (h("p", { key: '34cd42ddb1725546ce367699ef520e37d24cae25', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (h("p", { key: '0eada43d1bcb44ea7b95927dd3f799aff6cc6b3a', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: '546dcc24794d274d73b3de867b79123b6f0069fc', icon: danger, size: "small" }), this.errorMessage)), h("div", { key: '3921e646c9e3638077c016e7cb28a19adaa302f0', style: { display: 'none' } }, h("slot", { key: '3923872eaae0a59da8c4a5b9801abf41ae9a3c3d' })))));
578
729
  }
579
730
  static get formAssociated() { return true; }
580
731
  get el() { return getElement(this); }