urnovl-web-components 0.0.170 → 0.0.172

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 (538) hide show
  1. package/dist/cjs/{anchor-60054fb9.js → anchor-31b9a9d1.js} +12 -12
  2. package/dist/cjs/{appendTo-55674635.js → appendTo-18fb250c.js} +43 -43
  3. package/dist/cjs/{button-base-1b083de4.js → button-base-37b48e60.js} +52 -52
  4. package/dist/cjs/check-4dd152e0.js +14 -0
  5. package/dist/cjs/children-0b93dd89.js +18 -0
  6. package/dist/cjs/class-map-5321cbe6.js +11 -0
  7. package/dist/cjs/{default-value-c89bc53d.js → default-value-f1c602f3.js} +5 -5
  8. package/dist/cjs/{form-99470e35.js → form-a018dd49.js} +9 -9
  9. package/dist/cjs/{is-3783cb36.js → get-511a0185.js} +52 -52
  10. package/dist/cjs/{has-slot-cb273eb9.js → has-slot-684b9160.js} +3 -3
  11. package/dist/cjs/{if-defined-7e2ad69b.js → if-defined-0a794922.js} +2 -2
  12. package/dist/cjs/{index-65d946a7.js → index-04cb5431.js} +27 -27
  13. package/dist/cjs/{index-10c3b92d.js → index-2a7667ef.js} +60 -60
  14. package/dist/cjs/{index-703fbbf1.js → index-627bf8eb.js} +51 -51
  15. package/dist/cjs/{index-32e5fe53.js → index-7132b697.js} +72 -72
  16. package/dist/cjs/{index-0f4a0b6f.js → index-7a26b16b.js} +165 -165
  17. package/dist/cjs/{index-b4ee1ea4.js → index-82359396.js} +9 -3
  18. package/dist/cjs/{index-1687d33e.js → index-a9957399.js} +24 -24
  19. package/dist/cjs/{layout-item-base-c62e5efe.js → layout-item-base-1e29df10.js} +11 -11
  20. package/dist/cjs/live-e5bfc603.js +11 -0
  21. package/dist/cjs/loader.cjs.js +2 -2
  22. package/dist/cjs/{localize-b83df35d.js → localize-78065043.js} +2 -2
  23. package/dist/cjs/{ur-menu-item-93796dd2.js → menu-item-5caa82af.js} +64 -89
  24. package/dist/cjs/{motion-36411fd6.js → motion-ceba572b.js} +4 -4
  25. package/dist/cjs/{observeResize-24f6ea64.js → observeResize-c91c316e.js} +2 -2
  26. package/dist/cjs/radio-e8aaf2c5.js +168 -0
  27. package/dist/cjs/ref-05dc0add.js +12 -0
  28. package/dist/cjs/{ripple-mixin-01f70e13.js → ripple-mixin-ada8a9ad.js} +107 -107
  29. package/dist/cjs/{scroll-bf94d2c2.js → scroll-7a932edc.js} +28 -28
  30. package/dist/cjs/{state-613e20ff.js → state-ef6a09ff.js} +2 -2
  31. package/dist/cjs/svg-tag-8887c222.js +11 -0
  32. package/dist/cjs/template-0f669b3d.js +7 -0
  33. package/dist/cjs/{top-app-bar-3838462b.js → top-app-bar-8a567856.js} +38 -38
  34. package/dist/cjs/ur-avatar-19f6840e.js +27 -0
  35. package/dist/cjs/ur-avatar.cjs.entry.js +2 -2
  36. package/dist/cjs/ur-button-3cd788a0.js +25 -0
  37. package/dist/cjs/ur-button-arrow-left_2.cjs.entry.js +16 -16
  38. package/dist/cjs/ur-button-icon.cjs.entry.js +30 -19
  39. package/dist/cjs/ur-button.cjs.entry.js +17 -17
  40. package/dist/cjs/ur-checkbox-group.cjs.entry.js +159 -0
  41. package/dist/cjs/ur-checkbox.cjs.entry.js +56 -17
  42. package/dist/cjs/ur-chip.cjs.entry.js +19 -19
  43. package/dist/cjs/ur-dialog.cjs.entry.js +47 -47
  44. package/dist/cjs/ur-hero.cjs.entry.js +5 -5
  45. package/dist/cjs/ur-linear-progress.cjs.entry.js +51 -0
  46. package/dist/cjs/ur-list-subheader.cjs.entry.js +2 -2
  47. package/dist/cjs/ur-list_3.cjs.entry.js +71 -71
  48. package/dist/cjs/ur-loader.cjs.entry.js +2 -2
  49. package/dist/cjs/ur-locale-filter-button.cjs.entry.js +18 -18
  50. package/dist/cjs/ur-locale-filter-panel.cjs.entry.js +22 -22
  51. package/dist/cjs/ur-logo.cjs.entry.js +2 -2
  52. package/dist/cjs/ur-main-desktop-top-app-bar.cjs.entry.js +10 -10
  53. package/dist/cjs/ur-main-left-menu.cjs.entry.js +3 -3
  54. package/dist/cjs/ur-menu-item.cjs.entry.js +38 -18
  55. package/dist/cjs/ur-navigation-drawer.cjs.entry.js +49 -49
  56. package/dist/cjs/ur-novl-carousel.cjs.entry.js +2 -2
  57. package/dist/cjs/ur-novl.cjs.entry.js +2 -2
  58. package/dist/cjs/ur-page-profile.cjs.entry.js +22 -22
  59. package/dist/cjs/ur-page.cjs.entry.js +4 -4
  60. package/dist/cjs/ur-profile.cjs.entry.js +19 -19
  61. package/dist/cjs/ur-radio-button.cjs.entry.js +31 -172
  62. package/dist/cjs/ur-radio-group.cjs.entry.js +368 -0
  63. package/dist/cjs/ur-read-desktop-top-app-bar.cjs.entry.js +93 -0
  64. package/dist/cjs/ur-read-mobile-top-app-bar.cjs.entry.js +10 -10
  65. package/dist/cjs/ur-read-rail-mobile.cjs.entry.js +112 -0
  66. package/dist/cjs/ur-read-rail.cjs.entry.js +152 -0
  67. package/dist/cjs/ur-reader.cjs.entry.js +1642 -0
  68. package/dist/cjs/ur-segment-button.cjs.entry.js +82 -82
  69. package/dist/cjs/ur-select.cjs.entry.js +240 -199
  70. package/dist/cjs/ur-switch.cjs.entry.js +50 -50
  71. package/dist/cjs/ur-tabs.cjs.entry.js +69 -69
  72. package/dist/cjs/ur-text-field.cjs.entry.js +114 -24
  73. package/dist/cjs/ur-tooltip.cjs.entry.js +109 -0
  74. package/dist/cjs/ur-top-app-bar.cjs.entry.js +23 -23
  75. package/dist/cjs/ur-user-profile.cjs.entry.js +2 -2
  76. package/dist/cjs/ur-user.cjs.entry.js +4 -4
  77. package/dist/cjs/urnovl-web-components.cjs.js +2 -2
  78. package/dist/collection/collection-manifest.json +8 -0
  79. package/dist/collection/components/ur-avatar/ur-avatar.css +3 -1
  80. package/dist/collection/components/ur-avatar/ur-avatar.js +5 -1
  81. package/dist/collection/components/ur-button/ur-button.css +12 -0
  82. package/dist/collection/components/ur-button/ur-button.js +2 -1
  83. package/dist/collection/components/ur-button-icon/ur-button-icon.css +6 -0
  84. package/dist/collection/components/ur-button-icon/ur-button-icon.js +15 -5
  85. package/dist/collection/components/ur-checkbox/ur-checkbox.js +104 -5
  86. package/dist/collection/components/ur-checkbox-group/ur-checkbox-group.css +0 -0
  87. package/dist/collection/components/ur-checkbox-group/ur-checkbox-group.js +355 -0
  88. package/dist/collection/components/ur-chip/ur-chip.js +1 -1
  89. package/dist/collection/components/ur-dialog/ur-dialog.js +1 -1
  90. package/dist/collection/components/ur-dropdown/ur-dropdown.js +0 -0
  91. package/dist/collection/components/ur-hero/ur-hero.js +4 -4
  92. package/dist/collection/components/ur-linear-progress/ur-linear-progress.css +60 -0
  93. package/dist/collection/components/ur-linear-progress/ur-linear-progress.js +98 -0
  94. package/dist/collection/components/ur-list/ur-list-item.js +2 -2
  95. package/dist/collection/components/ur-list/ur-list-subheader.js +1 -1
  96. package/dist/collection/components/ur-list/ur-list.js +1 -1
  97. package/dist/collection/components/ur-loader/ur-loader.js +1 -1
  98. package/dist/collection/components/ur-locale-filter-button/ur-locale-filter-button.js +2 -2
  99. package/dist/collection/components/ur-locale-filter-panel/ur-locale-filter-panel.js +2 -2
  100. package/dist/collection/components/ur-logo/ur-logo.js +1 -1
  101. package/dist/collection/components/ur-main-desktop-top-app-bar/ur-main-desktop-top-app-bar.js +2 -2
  102. package/dist/collection/components/ur-main-left-menu/ur-main-left-menu.js +2 -2
  103. package/dist/collection/components/ur-menu-item/ur-menu-item.js +1 -1
  104. package/dist/collection/components/ur-menu-profile/ur-menu-profile.js +1 -1
  105. package/dist/collection/components/ur-navigation-drawer/ur-navigation-drawer.js +1 -1
  106. package/dist/collection/components/ur-novl/ur-novl.js +1 -1
  107. package/dist/collection/components/ur-novl-carousel/ur-novl-carousel.js +1 -1
  108. package/dist/collection/components/ur-page/ur-page.js +3 -3
  109. package/dist/collection/components/ur-page-profile/ur-page-profile.js +4 -4
  110. package/dist/collection/components/ur-profile/ur-profile.js +3 -3
  111. package/dist/collection/components/ur-radio-button/ur-radio-button.js +62 -6
  112. package/dist/collection/components/ur-radio-group/ur-radio-group.css +0 -0
  113. package/dist/collection/components/ur-radio-group/ur-radio-group.js +215 -0
  114. package/dist/collection/components/ur-read-desktop-top-app-bar/ur-read-desktop-top-app-bar.css +58 -0
  115. package/dist/collection/components/ur-read-desktop-top-app-bar/ur-read-desktop-top-app-bar.js +190 -0
  116. package/dist/collection/components/ur-read-mobile-top-app-bar/ur-read-mobile-top-app-bar.css +12 -2
  117. package/dist/collection/components/ur-read-mobile-top-app-bar/ur-read-mobile-top-app-bar.js +1 -1
  118. package/dist/collection/components/ur-read-rail/ur-read-rail.css +70 -0
  119. package/dist/collection/components/ur-read-rail/ur-read-rail.js +724 -0
  120. package/dist/collection/components/ur-read-rail-mobile/ur-read-rail-mobile.css +75 -0
  121. package/dist/collection/components/ur-read-rail-mobile/ur-read-rail-mobile.js +560 -0
  122. package/dist/collection/components/ur-reader/ur-reader.css +319 -0
  123. package/dist/collection/components/ur-reader/ur-reader.js +1111 -0
  124. package/dist/collection/components/ur-segment-button/ur-segment-button.js +1 -1
  125. package/dist/collection/components/ur-select/ur-select.css +44 -0
  126. package/dist/collection/components/ur-select/ur-select.js +187 -93
  127. package/dist/collection/components/ur-switch/ur-switch.js +1 -1
  128. package/dist/collection/components/ur-tabs/ur-tabs.js +1 -1
  129. package/dist/collection/components/ur-text-field/ur-text-field.js +448 -7
  130. package/dist/collection/components/ur-tooltip/ur-tooltip.css +148 -0
  131. package/dist/collection/components/ur-tooltip/ur-tooltip.js +278 -0
  132. package/dist/collection/components/ur-top-app-bar/ur-top-app-bar.css +12 -3
  133. package/dist/collection/components/ur-top-app-bar/ur-top-app-bar.js +2 -2
  134. package/dist/collection/components/ur-user/ur-user.js +3 -3
  135. package/dist/collection/components/ur-user-profile/ur-user-profile.js +1 -1
  136. package/dist/collection/stories/CheckboxGroup.stories.js +125 -0
  137. package/dist/collection/stories/Checkboxes.stories.js +36 -8
  138. package/dist/collection/stories/LinearProgress.stories.js +37 -0
  139. package/dist/collection/stories/RadioButtons.stories.js +34 -8
  140. package/dist/collection/stories/RadioButtonsGroup.stories.js +65 -0
  141. package/dist/collection/stories/RandomStory.js +4 -0
  142. package/dist/collection/stories/ReadDesktopTopAppBar.stories.js +87 -0
  143. package/dist/collection/stories/ReadRail.stories.js +272 -0
  144. package/dist/collection/stories/ReadRailMobile.stories.js +67 -0
  145. package/dist/collection/stories/Reader.stories.js +233 -0
  146. package/dist/collection/stories/Select.stories.js +178 -76
  147. package/dist/collection/stories/TextFields.stories.js +126 -16
  148. package/dist/collection/stories/Tooltip.stories.js +136 -0
  149. package/dist/components/index.js +1 -1
  150. package/dist/components/p-0d84a5e3.js +167 -0
  151. package/dist/components/p-35288657.js +81 -0
  152. package/dist/components/{p-619984d3.js → p-35553bb7.js} +2 -2
  153. package/dist/components/{p-1e86f3ee.js → p-39eb0448.js} +5 -1
  154. package/dist/components/{p-e2c139e9.js → p-57097918.js} +7 -3
  155. package/dist/components/{p-7710f371.js → p-5ba92bef.js} +1 -1
  156. package/dist/components/{p-4abdd30e.js → p-6343eeb0.js} +3 -3
  157. package/dist/components/{p-aa59941f.js → p-78f40bf6.js} +1 -1
  158. package/dist/components/{p-b411c8b0.js → p-891b2fa5.js} +2 -2
  159. package/dist/components/p-8da2213f.js +131 -0
  160. package/dist/components/{p-e14f9c62.js → p-930f05f5.js} +0 -46
  161. package/dist/components/{p-e2b3df7f.js → p-af03fe1d.js} +2 -2
  162. package/dist/components/{p-eeb12b89.js → p-c15c01fd.js} +15 -4
  163. package/dist/components/{p-bd537a41.js → p-fc419ab6.js} +4 -3
  164. package/dist/components/{p-64231c8f.js → p-ff1b0d0c.js} +3 -3
  165. package/dist/components/ur-avatar.js +1 -1
  166. package/dist/components/ur-button-arrow-left.js +1 -1
  167. package/dist/components/ur-button-arrow-right.js +1 -1
  168. package/dist/components/ur-button-icon.js +1 -1
  169. package/dist/components/ur-button.js +1 -1
  170. package/dist/components/ur-checkbox-group.d.ts +11 -0
  171. package/dist/components/ur-checkbox-group.js +190 -0
  172. package/dist/components/ur-checkbox.js +1 -36
  173. package/dist/components/ur-chip.js +2 -2
  174. package/dist/components/ur-dialog.js +2 -2
  175. package/dist/components/ur-hero.js +6 -6
  176. package/dist/components/ur-linear-progress.d.ts +11 -0
  177. package/dist/components/ur-linear-progress.js +71 -0
  178. package/dist/components/ur-list-item.js +1 -1
  179. package/dist/components/ur-list-subheader.js +2 -2
  180. package/dist/components/ur-list.js +1 -1
  181. package/dist/components/ur-loader.js +2 -2
  182. package/dist/components/ur-locale-filter-button.js +3 -3
  183. package/dist/components/ur-locale-filter-panel.js +4 -4
  184. package/dist/components/ur-logo.js +1 -1
  185. package/dist/components/ur-main-desktop-top-app-bar.js +4 -4
  186. package/dist/components/ur-main-left-menu.js +10 -10
  187. package/dist/components/ur-menu-item.js +45 -1
  188. package/dist/components/ur-menu-profile.js +1 -1
  189. package/dist/components/ur-navigation-drawer.js +2 -2
  190. package/dist/components/ur-novl-carousel.js +5 -5
  191. package/dist/components/ur-novl.js +1 -1
  192. package/dist/components/ur-page-profile.js +7 -7
  193. package/dist/components/ur-page.js +5 -5
  194. package/dist/components/ur-profile.js +4 -4
  195. package/dist/components/ur-radio-button.js +24 -171
  196. package/dist/components/ur-radio-group.d.ts +11 -0
  197. package/dist/components/ur-radio-group.js +386 -0
  198. package/dist/components/ur-read-desktop-top-app-bar.d.ts +11 -0
  199. package/dist/components/ur-read-desktop-top-app-bar.js +112 -0
  200. package/dist/components/ur-read-mobile-top-app-bar.js +4 -4
  201. package/dist/components/ur-read-rail-mobile.d.ts +11 -0
  202. package/dist/components/ur-read-rail-mobile.js +170 -0
  203. package/dist/components/ur-read-rail.d.ts +11 -0
  204. package/dist/components/ur-read-rail.js +223 -0
  205. package/dist/components/ur-reader.d.ts +11 -0
  206. package/dist/components/ur-reader.js +1731 -0
  207. package/dist/components/ur-segment-button.js +2 -2
  208. package/dist/components/ur-select.js +97 -59
  209. package/dist/components/ur-switch.js +2 -2
  210. package/dist/components/ur-tabs.js +2 -2
  211. package/dist/components/ur-text-field.js +111 -5
  212. package/dist/components/ur-tooltip.d.ts +11 -0
  213. package/dist/components/ur-tooltip.js +6 -0
  214. package/dist/components/ur-top-app-bar.js +5 -5
  215. package/dist/components/ur-user-profile.js +2 -2
  216. package/dist/components/ur-user.js +5 -5
  217. package/dist/esm/{anchor-bf8e8d48.js → anchor-b0d342ec.js} +2 -2
  218. package/dist/esm/{appendTo-7022283c.js → appendTo-8fe1da31.js} +1 -1
  219. package/dist/esm/{button-base-5d6c067c.js → button-base-c9a309ff.js} +7 -7
  220. package/dist/esm/{check-26b6e0b9.js → check-b400a8c1.js} +2 -2
  221. package/dist/esm/{children-0297d4ab.js → children-0caab043.js} +1 -1
  222. package/dist/esm/{class-map-573bf048.js → class-map-43bead90.js} +1 -1
  223. package/dist/esm/{default-value-5736394e.js → default-value-604b4b04.js} +1 -1
  224. package/dist/esm/{form-bad6b2e6.js → form-eb67f4e2.js} +1 -1
  225. package/dist/esm/{is-65d90b1c.js → get-2d1f3db5.js} +53 -53
  226. package/dist/esm/{has-slot-beb1360e.js → has-slot-7b93d7a5.js} +1 -1
  227. package/dist/esm/{if-defined-d4ef1802.js → if-defined-a7e85546.js} +1 -1
  228. package/dist/esm/{index-e402ebe8.js → index-06579974.js} +11 -11
  229. package/dist/esm/{index-215d6d76.js → index-ca102892.js} +6 -6
  230. package/dist/esm/{index-8e0958ca.js → index-cb5e879e.js} +16 -16
  231. package/dist/esm/{index-44032f70.js → index-d031de69.js} +9 -9
  232. package/dist/esm/{index-35ab9c9d.js → index-d6f3341a.js} +5 -5
  233. package/dist/esm/{index-05eae1a5.js → index-df5e99f9.js} +31 -31
  234. package/dist/esm/{index-ae5b7a9b.js → index-f0fada10.js} +9 -3
  235. package/dist/esm/{layout-item-base-ad45734d.js → layout-item-base-02df9441.js} +3 -3
  236. package/dist/esm/{live-414749e8.js → live-1eb66a96.js} +1 -1
  237. package/dist/esm/loader.js +3 -3
  238. package/dist/esm/{localize-7c2f35b1.js → localize-ff713c12.js} +1 -1
  239. package/dist/esm/{ur-menu-item-1b7156be.js → menu-item-9c74ba81.js} +12 -37
  240. package/dist/esm/{motion-361cecee.js → motion-145f9b6c.js} +1 -1
  241. package/dist/esm/{observeResize-ddf2b098.js → observeResize-e8afe218.js} +1 -1
  242. package/dist/esm/radio-484d185d.js +166 -0
  243. package/dist/esm/{ref-a3513486.js → ref-81837737.js} +1 -1
  244. package/dist/esm/{ripple-mixin-5f0ae501.js → ripple-mixin-aac891ae.js} +7 -7
  245. package/dist/esm/{scroll-e718504c.js → scroll-955d6c04.js} +2 -2
  246. package/dist/esm/{state-df6176b9.js → state-27f51bda.js} +1 -1
  247. package/dist/esm/{svg-tag-00a56a7f.js → svg-tag-2aeeb831.js} +2 -2
  248. package/dist/esm/{template-58e012b5.js → template-20f30d03.js} +1 -1
  249. package/dist/esm/{top-app-bar-ae781d39.js → top-app-bar-e27c114d.js} +2 -2
  250. package/dist/esm/ur-avatar-9281dd67.js +25 -0
  251. package/dist/esm/ur-avatar.entry.js +2 -2
  252. package/dist/esm/ur-button-arrow-left_2.entry.js +16 -16
  253. package/dist/esm/ur-button-b218cac8.js +23 -0
  254. package/dist/esm/ur-button-icon.entry.js +30 -19
  255. package/dist/esm/ur-button.entry.js +17 -17
  256. package/dist/esm/ur-checkbox-group.entry.js +155 -0
  257. package/dist/esm/ur-checkbox.entry.js +56 -17
  258. package/dist/esm/ur-chip.entry.js +19 -19
  259. package/dist/esm/ur-dialog.entry.js +12 -12
  260. package/dist/esm/ur-hero.entry.js +5 -5
  261. package/dist/esm/ur-linear-progress.entry.js +47 -0
  262. package/dist/esm/ur-list-subheader.entry.js +2 -2
  263. package/dist/esm/ur-list_3.entry.js +17 -17
  264. package/dist/esm/ur-loader.entry.js +2 -2
  265. package/dist/esm/ur-locale-filter-button.entry.js +18 -18
  266. package/dist/esm/ur-locale-filter-panel.entry.js +22 -22
  267. package/dist/esm/ur-logo.entry.js +2 -2
  268. package/dist/esm/ur-main-desktop-top-app-bar.entry.js +10 -10
  269. package/dist/esm/ur-main-left-menu.entry.js +3 -3
  270. package/dist/esm/ur-menu-item.entry.js +41 -17
  271. package/dist/esm/ur-navigation-drawer.entry.js +10 -10
  272. package/dist/esm/ur-novl-carousel.entry.js +2 -2
  273. package/dist/esm/ur-novl.entry.js +2 -2
  274. package/dist/esm/ur-page-profile.entry.js +22 -22
  275. package/dist/esm/ur-page.entry.js +4 -4
  276. package/dist/esm/ur-profile.entry.js +19 -19
  277. package/dist/esm/ur-radio-button.entry.js +31 -172
  278. package/dist/esm/ur-radio-group.entry.js +364 -0
  279. package/dist/esm/ur-read-desktop-top-app-bar.entry.js +89 -0
  280. package/dist/esm/ur-read-mobile-top-app-bar.entry.js +10 -10
  281. package/dist/esm/ur-read-rail-mobile.entry.js +108 -0
  282. package/dist/esm/ur-read-rail.entry.js +148 -0
  283. package/dist/esm/ur-reader.entry.js +1638 -0
  284. package/dist/esm/ur-segment-button.entry.js +19 -19
  285. package/dist/esm/ur-select.entry.js +107 -66
  286. package/dist/esm/ur-switch.entry.js +18 -18
  287. package/dist/esm/ur-tabs.entry.js +13 -13
  288. package/dist/esm/ur-text-field.entry.js +114 -24
  289. package/dist/esm/ur-tooltip.entry.js +105 -0
  290. package/dist/esm/ur-top-app-bar.entry.js +13 -13
  291. package/dist/esm/ur-user-profile.entry.js +2 -2
  292. package/dist/esm/ur-user.entry.js +4 -4
  293. package/dist/esm/urnovl-web-components.js +3 -3
  294. package/dist/types/components/ur-avatar/ur-avatar.d.ts +1 -0
  295. package/dist/types/components/ur-button-icon/ur-button-icon.d.ts +2 -1
  296. package/dist/types/components/ur-checkbox/ur-checkbox.d.ts +22 -0
  297. package/dist/types/components/ur-checkbox-group/ur-checkbox-group.d.ts +48 -0
  298. package/dist/types/components/ur-dropdown/ur-dropdown.d.ts +0 -0
  299. package/dist/types/components/ur-linear-progress/ur-linear-progress.d.ts +24 -0
  300. package/dist/types/components/ur-radio-button/ur-radio-button.d.ts +9 -2
  301. package/dist/types/components/ur-radio-group/ur-radio-group.d.ts +34 -0
  302. package/dist/types/components/ur-read-desktop-top-app-bar/ur-read-desktop-top-app-bar.d.ts +36 -0
  303. package/dist/types/components/ur-read-rail/ur-read-rail.d.ts +52 -0
  304. package/dist/types/components/ur-read-rail-mobile/ur-read-rail-mobile.d.ts +38 -0
  305. package/dist/types/components/ur-reader/ur-reader.d.ts +70 -0
  306. package/dist/types/components/ur-select/ur-select.d.ts +23 -17
  307. package/dist/types/components/ur-text-field/ur-text-field.d.ts +29 -1
  308. package/dist/types/components/ur-tooltip/ur-tooltip.d.ts +26 -0
  309. package/dist/types/components.d.ts +718 -15
  310. package/dist/types/stories/CheckboxGroup.stories.d.ts +131 -0
  311. package/dist/types/stories/Checkboxes.stories.d.ts +46 -1
  312. package/dist/types/stories/LinearProgress.stories.d.ts +34 -0
  313. package/dist/types/stories/RadioButtons.stories.d.ts +36 -1
  314. package/dist/types/stories/RadioButtonsGroup.stories.d.ts +61 -0
  315. package/dist/types/stories/RandomStory.d.ts +5 -0
  316. package/dist/types/stories/ReadDesktopTopAppBar.stories.d.ts +26 -0
  317. package/dist/types/stories/ReadRail.stories.d.ts +249 -0
  318. package/dist/types/stories/ReadRailMobile.stories.d.ts +52 -0
  319. package/dist/types/stories/Reader.stories.d.ts +182 -0
  320. package/dist/types/stories/Select.stories.d.ts +180 -35
  321. package/dist/types/stories/TextFields.stories.d.ts +162 -0
  322. package/dist/types/stories/Tooltip.stories.d.ts +100 -0
  323. package/{www/build/p-87c618f0.entry.js → dist/urnovl-web-components/p-00608088.entry.js} +1 -1
  324. package/dist/urnovl-web-components/p-03b7544a.entry.js +1 -0
  325. package/dist/urnovl-web-components/{p-12c4fa95.js → p-0c1d014f.js} +2 -2
  326. package/dist/urnovl-web-components/{p-a27ffa78.js → p-0d920441.js} +1 -1
  327. package/dist/urnovl-web-components/{p-6659d488.js → p-0ff2921a.js} +1 -1
  328. package/dist/urnovl-web-components/p-1814afc5.entry.js +1 -0
  329. package/{www/build/p-8bb2214a.entry.js → dist/urnovl-web-components/p-1861b158.entry.js} +1 -1
  330. package/dist/urnovl-web-components/{p-7d099308.js → p-18e81a56.js} +1 -1
  331. package/dist/urnovl-web-components/{p-9142f6a0.js → p-1b690602.js} +1 -1
  332. package/dist/urnovl-web-components/{p-c48ac4b6.entry.js → p-1f64ef6b.entry.js} +1 -1
  333. package/dist/urnovl-web-components/{p-8f8bad75.js → p-208c110f.js} +1 -1
  334. package/{www/build/p-98c0d846.js → dist/urnovl-web-components/p-21580b9f.js} +1 -1
  335. package/{www/build/p-5c649bcb.js → dist/urnovl-web-components/p-23be5790.js} +1 -1
  336. package/dist/urnovl-web-components/{p-d1244caa.entry.js → p-275030c9.entry.js} +1 -1
  337. package/dist/urnovl-web-components/{p-de9d5fbe.js → p-2776506a.js} +1 -1
  338. package/{www/build/p-58b89f87.entry.js → dist/urnovl-web-components/p-2a57a988.entry.js} +1 -1
  339. package/dist/urnovl-web-components/{p-9bfb6da3.js → p-2eb1ea4f.js} +1 -1
  340. package/dist/urnovl-web-components/p-2f233201.js +1 -0
  341. package/dist/urnovl-web-components/p-3b9e996d.entry.js +1 -0
  342. package/dist/urnovl-web-components/p-3c133b8a.entry.js +1 -0
  343. package/dist/urnovl-web-components/p-45ffde7a.js +1 -0
  344. package/dist/urnovl-web-components/{p-4769f30d.js → p-4d9a1fff.js} +5 -5
  345. package/dist/urnovl-web-components/p-4dc78ebe.entry.js +1 -0
  346. package/dist/urnovl-web-components/{p-5eed9887.js → p-4f494fa3.js} +1 -1
  347. package/dist/urnovl-web-components/p-56571c66.entry.js +1 -0
  348. package/dist/urnovl-web-components/p-69614d0f.js +1 -0
  349. package/dist/urnovl-web-components/p-6dfa23f6.entry.js +1 -0
  350. package/dist/urnovl-web-components/{p-8a43f03e.js → p-6f4342b0.js} +1 -1
  351. package/{www/build/p-5d256674.entry.js → dist/urnovl-web-components/p-78b5c0a5.entry.js} +1 -1
  352. package/dist/urnovl-web-components/{p-acb96a86.js → p-7941308d.js} +2 -2
  353. package/dist/urnovl-web-components/p-7d3ce8ee.entry.js +1 -0
  354. package/dist/urnovl-web-components/{p-2c12c6ae.js → p-7e0d525c.js} +1 -1
  355. package/dist/urnovl-web-components/p-7e4c9804.entry.js +1 -0
  356. package/dist/urnovl-web-components/p-83756f0b.entry.js +1 -0
  357. package/dist/urnovl-web-components/p-86365ccf.js +23 -0
  358. package/{www/build/p-eaf1ca1e.entry.js → dist/urnovl-web-components/p-8a1bfb35.entry.js} +1 -1
  359. package/{www/build/p-4aa7bd52.js → dist/urnovl-web-components/p-8be0e685.js} +1 -1
  360. package/dist/urnovl-web-components/p-91c84a6b.entry.js +1 -0
  361. package/dist/urnovl-web-components/{p-ac915aa1.entry.js → p-9700e66e.entry.js} +2 -2
  362. package/dist/urnovl-web-components/{p-fde3a0dc.js → p-9861e010.js} +1 -1
  363. package/dist/urnovl-web-components/p-a4bfdd67.entry.js +1 -0
  364. package/dist/urnovl-web-components/p-acbc3ddf.js +1 -0
  365. package/dist/urnovl-web-components/{p-3aba2a00.js → p-affb8ddc.js} +1 -1
  366. package/dist/urnovl-web-components/p-b068c160.entry.js +1 -0
  367. package/dist/urnovl-web-components/p-b07e1bbb.entry.js +1 -0
  368. package/dist/urnovl-web-components/{p-aab9614b.entry.js → p-b26e314c.entry.js} +1 -1
  369. package/dist/urnovl-web-components/{p-4d248e62.js → p-b2fb808e.js} +2 -2
  370. package/dist/urnovl-web-components/{p-6913ff16.entry.js → p-b3c6dff3.entry.js} +1 -1
  371. package/{www/build/p-b270ea3f.js → dist/urnovl-web-components/p-bc57f722.js} +2 -2
  372. package/dist/urnovl-web-components/{p-15ea9e1b.entry.js → p-c4547411.entry.js} +1 -1
  373. package/dist/urnovl-web-components/{p-04c12413.js → p-c4b724c5.js} +1 -1
  374. package/dist/urnovl-web-components/p-c5d00db3.js +1 -0
  375. package/{www/build/p-814b4f40.entry.js → dist/urnovl-web-components/p-c879b3df.entry.js} +1 -1
  376. package/dist/urnovl-web-components/p-c8f83911.js +1 -0
  377. package/dist/urnovl-web-components/{p-bcda538a.entry.js → p-d1c78c7f.entry.js} +1 -1
  378. package/{www/build/p-8bb9915f.entry.js → dist/urnovl-web-components/p-d81563bc.entry.js} +1 -1
  379. package/dist/urnovl-web-components/p-d968a7fb.entry.js +3 -0
  380. package/dist/urnovl-web-components/p-daf2b6eb.entry.js +1 -0
  381. package/dist/urnovl-web-components/p-db497685.entry.js +1 -0
  382. package/dist/urnovl-web-components/p-dbb539de.entry.js +1 -0
  383. package/dist/urnovl-web-components/p-de01ab88.entry.js +1 -0
  384. package/dist/urnovl-web-components/p-df910f8f.js +1 -0
  385. package/dist/urnovl-web-components/p-e1b33d5a.js +1 -0
  386. package/dist/urnovl-web-components/p-e253e90b.entry.js +1 -0
  387. package/dist/urnovl-web-components/p-e81aa4d9.js +1 -0
  388. package/{www/build/p-0108cdbb.entry.js → dist/urnovl-web-components/p-ebed8c77.entry.js} +1 -1
  389. package/dist/urnovl-web-components/p-f1e59d72.entry.js +1 -0
  390. package/dist/urnovl-web-components/p-f48c6b9a.entry.js +1 -0
  391. package/dist/urnovl-web-components/{p-478a5687.js → p-f7b173f0.js} +1 -1
  392. package/dist/urnovl-web-components/{p-4c59024f.js → p-fa528df5.js} +1 -1
  393. package/dist/urnovl-web-components/p-fa842e6f.js +1 -0
  394. package/dist/urnovl-web-components/{p-88f0db6a.entry.js → p-fb114787.entry.js} +1 -1
  395. package/dist/urnovl-web-components/p-fbde3ae4.entry.js +1 -0
  396. package/dist/urnovl-web-components/{p-a4bd15b6.entry.js → p-fddd21bb.entry.js} +1 -1
  397. package/dist/urnovl-web-components/{p-a1a05092.entry.js → p-fde7fd21.entry.js} +1 -1
  398. package/dist/urnovl-web-components/urnovl-web-components.esm.js +1 -1
  399. package/package.json +3 -1
  400. package/{dist/urnovl-web-components/p-87c618f0.entry.js → www/build/p-00608088.entry.js} +1 -1
  401. package/www/build/p-03b7544a.entry.js +1 -0
  402. package/www/build/{p-12c4fa95.js → p-0c1d014f.js} +2 -2
  403. package/www/build/{p-a27ffa78.js → p-0d920441.js} +1 -1
  404. package/www/build/{p-6659d488.js → p-0ff2921a.js} +1 -1
  405. package/www/build/p-1814afc5.entry.js +1 -0
  406. package/{dist/urnovl-web-components/p-8bb2214a.entry.js → www/build/p-1861b158.entry.js} +1 -1
  407. package/www/build/{p-7d099308.js → p-18e81a56.js} +1 -1
  408. package/www/build/{p-9142f6a0.js → p-1b690602.js} +1 -1
  409. package/www/build/{p-c48ac4b6.entry.js → p-1f64ef6b.entry.js} +1 -1
  410. package/www/build/{p-8f8bad75.js → p-208c110f.js} +1 -1
  411. package/{dist/urnovl-web-components/p-98c0d846.js → www/build/p-21580b9f.js} +1 -1
  412. package/{dist/urnovl-web-components/p-5c649bcb.js → www/build/p-23be5790.js} +1 -1
  413. package/www/build/{p-d1244caa.entry.js → p-275030c9.entry.js} +1 -1
  414. package/www/build/{p-de9d5fbe.js → p-2776506a.js} +1 -1
  415. package/{dist/urnovl-web-components/p-58b89f87.entry.js → www/build/p-2a57a988.entry.js} +1 -1
  416. package/www/build/{p-9bfb6da3.js → p-2eb1ea4f.js} +1 -1
  417. package/www/build/p-2f233201.js +1 -0
  418. package/www/build/p-3b9e996d.entry.js +1 -0
  419. package/www/build/p-3c133b8a.entry.js +1 -0
  420. package/www/build/p-45d80da6.js +1 -0
  421. package/www/build/p-45ffde7a.js +1 -0
  422. package/www/build/{p-4769f30d.js → p-4d9a1fff.js} +5 -5
  423. package/www/build/p-4dc78ebe.entry.js +1 -0
  424. package/www/build/{p-5eed9887.js → p-4f494fa3.js} +1 -1
  425. package/www/build/p-56571c66.entry.js +1 -0
  426. package/www/build/p-69614d0f.js +1 -0
  427. package/www/build/p-6dfa23f6.entry.js +1 -0
  428. package/www/build/{p-8a43f03e.js → p-6f4342b0.js} +1 -1
  429. package/{dist/urnovl-web-components/p-5d256674.entry.js → www/build/p-78b5c0a5.entry.js} +1 -1
  430. package/www/build/{p-acb96a86.js → p-7941308d.js} +2 -2
  431. package/www/build/p-7d3ce8ee.entry.js +1 -0
  432. package/www/build/{p-2c12c6ae.js → p-7e0d525c.js} +1 -1
  433. package/www/build/p-7e4c9804.entry.js +1 -0
  434. package/www/build/p-83756f0b.entry.js +1 -0
  435. package/www/build/p-86365ccf.js +23 -0
  436. package/{dist/urnovl-web-components/p-eaf1ca1e.entry.js → www/build/p-8a1bfb35.entry.js} +1 -1
  437. package/{dist/urnovl-web-components/p-4aa7bd52.js → www/build/p-8be0e685.js} +1 -1
  438. package/www/build/p-91c84a6b.entry.js +1 -0
  439. package/www/build/{p-ac915aa1.entry.js → p-9700e66e.entry.js} +2 -2
  440. package/www/build/{p-fde3a0dc.js → p-9861e010.js} +1 -1
  441. package/www/build/p-a4bfdd67.entry.js +1 -0
  442. package/www/build/p-acbc3ddf.js +1 -0
  443. package/www/build/{p-3aba2a00.js → p-affb8ddc.js} +1 -1
  444. package/www/build/p-b068c160.entry.js +1 -0
  445. package/www/build/p-b07e1bbb.entry.js +1 -0
  446. package/www/build/{p-aab9614b.entry.js → p-b26e314c.entry.js} +1 -1
  447. package/www/build/{p-4d248e62.js → p-b2fb808e.js} +2 -2
  448. package/www/build/{p-6913ff16.entry.js → p-b3c6dff3.entry.js} +1 -1
  449. package/{dist/urnovl-web-components/p-b270ea3f.js → www/build/p-bc57f722.js} +2 -2
  450. package/www/build/{p-15ea9e1b.entry.js → p-c4547411.entry.js} +1 -1
  451. package/www/build/{p-04c12413.js → p-c4b724c5.js} +1 -1
  452. package/www/build/p-c5d00db3.js +1 -0
  453. package/{dist/urnovl-web-components/p-814b4f40.entry.js → www/build/p-c879b3df.entry.js} +1 -1
  454. package/www/build/p-c8f83911.js +1 -0
  455. package/www/build/{p-bcda538a.entry.js → p-d1c78c7f.entry.js} +1 -1
  456. package/{dist/urnovl-web-components/p-8bb9915f.entry.js → www/build/p-d81563bc.entry.js} +1 -1
  457. package/www/build/p-d968a7fb.entry.js +3 -0
  458. package/www/build/p-daf2b6eb.entry.js +1 -0
  459. package/www/build/p-db497685.entry.js +1 -0
  460. package/www/build/p-dbb539de.entry.js +1 -0
  461. package/www/build/p-de01ab88.entry.js +1 -0
  462. package/www/build/p-df910f8f.js +1 -0
  463. package/www/build/p-e1b33d5a.js +1 -0
  464. package/www/build/p-e253e90b.entry.js +1 -0
  465. package/www/build/p-e81aa4d9.js +1 -0
  466. package/{dist/urnovl-web-components/p-0108cdbb.entry.js → www/build/p-ebed8c77.entry.js} +1 -1
  467. package/www/build/p-f1e59d72.entry.js +1 -0
  468. package/www/build/p-f48c6b9a.entry.js +1 -0
  469. package/www/build/{p-478a5687.js → p-f7b173f0.js} +1 -1
  470. package/www/build/{p-4c59024f.js → p-fa528df5.js} +1 -1
  471. package/www/build/p-fa842e6f.js +1 -0
  472. package/www/build/{p-88f0db6a.entry.js → p-fb114787.entry.js} +1 -1
  473. package/www/build/p-fbde3ae4.entry.js +1 -0
  474. package/www/build/{p-a4bd15b6.entry.js → p-fddd21bb.entry.js} +1 -1
  475. package/www/build/{p-a1a05092.entry.js → p-fde7fd21.entry.js} +1 -1
  476. package/www/build/urnovl-web-components.esm.js +1 -1
  477. package/dist/cjs/check-41154eab.js +0 -14
  478. package/dist/cjs/children-fb1e1a86.js +0 -18
  479. package/dist/cjs/class-map-14759be7.js +0 -11
  480. package/dist/cjs/live-b197ef35.js +0 -11
  481. package/dist/cjs/ref-c2c9e01c.js +0 -12
  482. package/dist/cjs/svg-tag-2fa5fa49.js +0 -11
  483. package/dist/cjs/template-4077344f.js +0 -7
  484. package/dist/cjs/ur-avatar-91138004.js +0 -23
  485. package/dist/cjs/ur-button-9a1c211b.js +0 -24
  486. package/dist/esm/ur-avatar-18bbb2d0.js +0 -21
  487. package/dist/esm/ur-button-8dcf5bdf.js +0 -22
  488. package/dist/urnovl-web-components/p-064dcfd2.entry.js +0 -1
  489. package/dist/urnovl-web-components/p-0720baa8.entry.js +0 -3
  490. package/dist/urnovl-web-components/p-1c166d0c.entry.js +0 -1
  491. package/dist/urnovl-web-components/p-1c8feed5.entry.js +0 -1
  492. package/dist/urnovl-web-components/p-1cb23f89.js +0 -1
  493. package/dist/urnovl-web-components/p-22c14ff1.js +0 -1
  494. package/dist/urnovl-web-components/p-3c92e89c.entry.js +0 -1
  495. package/dist/urnovl-web-components/p-4301592f.js +0 -28
  496. package/dist/urnovl-web-components/p-45969297.entry.js +0 -1
  497. package/dist/urnovl-web-components/p-45bed46a.entry.js +0 -1
  498. package/dist/urnovl-web-components/p-4976c07b.entry.js +0 -1
  499. package/dist/urnovl-web-components/p-51b60e6f.entry.js +0 -1
  500. package/dist/urnovl-web-components/p-668850ed.js +0 -1
  501. package/dist/urnovl-web-components/p-687dd202.entry.js +0 -1
  502. package/dist/urnovl-web-components/p-6a60900d.entry.js +0 -1
  503. package/dist/urnovl-web-components/p-745c78bb.js +0 -1
  504. package/dist/urnovl-web-components/p-7844f377.entry.js +0 -1
  505. package/dist/urnovl-web-components/p-7e6be841.js +0 -1
  506. package/dist/urnovl-web-components/p-95a690b4.entry.js +0 -1
  507. package/dist/urnovl-web-components/p-9a8de161.js +0 -1
  508. package/dist/urnovl-web-components/p-b4c4ff06.entry.js +0 -1
  509. package/dist/urnovl-web-components/p-c0b49e28.js +0 -1
  510. package/dist/urnovl-web-components/p-cf38b7c8.entry.js +0 -1
  511. package/dist/urnovl-web-components/p-d3284292.js +0 -1
  512. package/dist/urnovl-web-components/p-dd9fc7ac.js +0 -1
  513. package/www/build/p-064dcfd2.entry.js +0 -1
  514. package/www/build/p-0720baa8.entry.js +0 -3
  515. package/www/build/p-1c166d0c.entry.js +0 -1
  516. package/www/build/p-1c8feed5.entry.js +0 -1
  517. package/www/build/p-1cb23f89.js +0 -1
  518. package/www/build/p-22c14ff1.js +0 -1
  519. package/www/build/p-3c92e89c.entry.js +0 -1
  520. package/www/build/p-4301592f.js +0 -28
  521. package/www/build/p-45969297.entry.js +0 -1
  522. package/www/build/p-45bed46a.entry.js +0 -1
  523. package/www/build/p-4976c07b.entry.js +0 -1
  524. package/www/build/p-51b60e6f.entry.js +0 -1
  525. package/www/build/p-668850ed.js +0 -1
  526. package/www/build/p-687dd202.entry.js +0 -1
  527. package/www/build/p-6a60900d.entry.js +0 -1
  528. package/www/build/p-745c78bb.js +0 -1
  529. package/www/build/p-7844f377.entry.js +0 -1
  530. package/www/build/p-7e6be841.js +0 -1
  531. package/www/build/p-95a690b4.entry.js +0 -1
  532. package/www/build/p-9a8de161.js +0 -1
  533. package/www/build/p-ad486ea7.js +0 -1
  534. package/www/build/p-b4c4ff06.entry.js +0 -1
  535. package/www/build/p-c0b49e28.js +0 -1
  536. package/www/build/p-cf38b7c8.entry.js +0 -1
  537. package/www/build/p-d3284292.js +0 -1
  538. package/www/build/p-dd9fc7ac.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const is = require('./is-3783cb36.js');
4
- const ifDefined = require('./if-defined-7e2ad69b.js');
3
+ const get = require('./get-511a0185.js');
4
+ const ifDefined = require('./if-defined-0a794922.js');
5
5
 
6
6
  function cc(names) {
7
7
  if (typeof names === "string" || typeof names === "number") return "" + names
@@ -25,21 +25,21 @@ function cc(names) {
25
25
 
26
26
  const AnchorMixin = (superclass) => {
27
27
  class AnchorMixinClass extends superclass {
28
- renderAnchor({ id, className, part, content = is.ke `<slot></slot>`, refDirective, tabIndex, }) {
29
- return is.ke `<a ${refDirective} id="${ifDefined.to(id)}" class="_a ${className ? className : ''}" part="${ifDefined.to(part)}" href="${ifDefined.to(this.href)}" download="${ifDefined.to(this.download)}" target="${ifDefined.to(this.target)}" rel="${ifDefined.to(this.rel)}" tabindex="${ifDefined.to(tabIndex)}">${content}</a>`;
28
+ renderAnchor({ id, className, part, content = get.ke `<slot></slot>`, refDirective, tabIndex, }) {
29
+ return get.ke `<a ${refDirective} id="${ifDefined.to(id)}" class="_a ${className ? className : ''}" part="${ifDefined.to(part)}" href="${ifDefined.to(this.href)}" download="${ifDefined.to(this.download)}" target="${ifDefined.to(this.target)}" rel="${ifDefined.to(this.rel)}" tabindex="${ifDefined.to(tabIndex)}">${content}</a>`;
30
30
  }
31
31
  }
32
- is.__decorate([
33
- is.n({ reflect: true })
32
+ get.__decorate([
33
+ get.n({ reflect: true })
34
34
  ], AnchorMixinClass.prototype, "href", void 0);
35
- is.__decorate([
36
- is.n({ reflect: true })
35
+ get.__decorate([
36
+ get.n({ reflect: true })
37
37
  ], AnchorMixinClass.prototype, "download", void 0);
38
- is.__decorate([
39
- is.n({ reflect: true })
38
+ get.__decorate([
39
+ get.n({ reflect: true })
40
40
  ], AnchorMixinClass.prototype, "target", void 0);
41
- is.__decorate([
42
- is.n({ reflect: true })
41
+ get.__decorate([
42
+ get.n({ reflect: true })
43
43
  ], AnchorMixinClass.prototype, "rel", void 0);
44
44
  return AnchorMixinClass;
45
45
  };
@@ -1,24 +1,24 @@
1
1
  'use strict';
2
2
 
3
- const is = require('./is-3783cb36.js');
3
+ const get$1 = require('./get-511a0185.js');
4
4
 
5
- is.eachArray(['add', 'remove', 'toggle'], (name) => {
6
- is.$.fn[`${name}Class`] = function (className) {
5
+ get$1.eachArray(['add', 'remove', 'toggle'], (name) => {
6
+ get$1.$.fn[`${name}Class`] = function (className) {
7
7
  if (name === 'remove' && !arguments.length) {
8
8
  return this.each((_, element) => {
9
- is.setAttribute(element, 'class', '');
9
+ get$1.setAttribute(element, 'class', '');
10
10
  });
11
11
  }
12
12
  return this.each((i, element) => {
13
- if (!is.isElement(element)) {
13
+ if (!get$1.isElement(element)) {
14
14
  return;
15
15
  }
16
- const classes = (is.isFunction(className)
17
- ? className.call(element, i, is.getAttribute(element, 'class', ''))
16
+ const classes = (get$1.isFunction(className)
17
+ ? className.call(element, i, get$1.getAttribute(element, 'class', ''))
18
18
  : className)
19
19
  .split(' ')
20
20
  .filter((name) => name);
21
- is.eachArray(classes, (cls) => {
21
+ get$1.eachArray(classes, (cls) => {
22
22
  element.classList[name](cls);
23
23
  });
24
24
  });
@@ -28,16 +28,16 @@ is.eachArray(['add', 'remove', 'toggle'], (name) => {
28
28
  // eslint-disable-next-line
29
29
  function each(target, callback) {
30
30
  // eachArray 回调函数是 value, key,这里的 each 函数是 key, value
31
- return is.isArrayLike(target)
32
- ? is.eachArray(target, (value, index) => {
31
+ return get$1.isArrayLike(target)
32
+ ? get$1.eachArray(target, (value, index) => {
33
33
  return callback.call(value, index, value);
34
34
  })
35
- : is.eachObject(target, callback);
35
+ : get$1.eachObject(target, callback);
36
36
  }
37
37
 
38
38
  // eslint-disable-next-line
39
39
  function map(elements, callback) {
40
- const window = is.getWindow();
40
+ const window = get$1.getWindow();
41
41
  let value;
42
42
  const ret = [];
43
43
  each(elements, (i, element) => {
@@ -50,8 +50,8 @@ function map(elements, callback) {
50
50
  }
51
51
 
52
52
  // eslint-disable-next-line
53
- is.$.fn.map = function (callback) {
54
- return new is.JQ(map(this, (element, i) => {
53
+ get$1.$.fn.map = function (callback) {
54
+ return new get$1.JQ(map(this, (element, i) => {
55
55
  return callback.call(element, i, element);
56
56
  }));
57
57
  };
@@ -68,13 +68,13 @@ is.$.fn.map = function (callback) {
68
68
  const handleExtraWidth = (element, name, value, funcIndex, includeMargin, multiply) => {
69
69
  // 获取元素的 padding, border, margin 宽度(两侧宽度的和)
70
70
  const getExtraWidthValue = (extra) => {
71
- return (is.getExtraWidth(element, name.toLowerCase(), extra) *
71
+ return (get$1.getExtraWidth(element, name.toLowerCase(), extra) *
72
72
  multiply);
73
73
  };
74
74
  if (funcIndex === 2 && includeMargin) {
75
75
  value += getExtraWidthValue('margin');
76
76
  }
77
- if (is.isBorderBox(element)) {
77
+ if (get$1.isBorderBox(element)) {
78
78
  if (funcIndex === 0) {
79
79
  value -= getExtraWidthValue('border');
80
80
  }
@@ -102,28 +102,28 @@ const handleExtraWidth = (element, name, value, funcIndex, includeMargin, multip
102
102
  * @param includeMargin
103
103
  */
104
104
  const get = (element, name, funcIndex, includeMargin) => {
105
- const document = is.getDocument();
105
+ const document = get$1.getDocument();
106
106
  const clientProp = `client${name}`;
107
107
  const scrollProp = `scroll${name}`;
108
108
  const offsetProp = `offset${name}`;
109
109
  const innerProp = `inner${name}`;
110
110
  // $(window).width()
111
- if (is.isWindow(element)) {
111
+ if (get$1.isWindow(element)) {
112
112
  // outerWidth, outerHeight 需要包含滚动条的宽度
113
113
  return funcIndex === 2
114
114
  ? element[innerProp]
115
- : is.toElement(document)[clientProp];
115
+ : get$1.toElement(document)[clientProp];
116
116
  }
117
117
  // $(document).width()
118
- if (is.isDocument(element)) {
119
- const doc = is.toElement(element);
118
+ if (get$1.isDocument(element)) {
119
+ const doc = get$1.toElement(element);
120
120
  return Math.max(
121
121
  // @ts-ignore
122
122
  element.body[scrollProp], doc[scrollProp],
123
123
  // @ts-ignore
124
124
  element.body[offsetProp], doc[offsetProp], doc[clientProp]);
125
125
  }
126
- const value = parseFloat(is.getComputedStyleValue(element, name.toLowerCase()) || '0');
126
+ const value = parseFloat(get$1.getComputedStyleValue(element, name.toLowerCase()) || '0');
127
127
  return handleExtraWidth(element, name, value, funcIndex, includeMargin, 1);
128
128
  };
129
129
  /**
@@ -136,16 +136,16 @@ const get = (element, name, funcIndex, includeMargin) => {
136
136
  * @param value
137
137
  */
138
138
  const set = (element, elementIndex, name, funcIndex, includeMargin, value) => {
139
- let computedValue = is.isFunction(value)
139
+ let computedValue = get$1.isFunction(value)
140
140
  ? value.call(element, elementIndex, get(element, name, funcIndex, includeMargin))
141
141
  : value;
142
142
  if (computedValue == null) {
143
143
  return;
144
144
  }
145
- const $element = is.$(element);
145
+ const $element = get$1.$(element);
146
146
  const dimension = name.toLowerCase();
147
147
  // 特殊的值,不需要计算 padding、border、margin
148
- if (is.isString(computedValue) &&
148
+ if (get$1.isString(computedValue) &&
149
149
  ['auto', 'inherit', ''].includes(computedValue)) {
150
150
  $element.css(dimension, computedValue);
151
151
  return;
@@ -158,15 +158,15 @@ const set = (element, elementIndex, name, funcIndex, includeMargin, value) => {
158
158
  (suffix || 'px');
159
159
  $element.css(dimension, computedValue);
160
160
  };
161
- is.eachArray(['Width', 'Height'], (name) => {
162
- is.eachArray([`inner${name}`, name.toLowerCase(), `outer${name}`], (funcName, funcIndex) => {
163
- is.$.fn[funcName] = function (
161
+ get$1.eachArray(['Width', 'Height'], (name) => {
162
+ get$1.eachArray([`inner${name}`, name.toLowerCase(), `outer${name}`], (funcName, funcIndex) => {
163
+ get$1.$.fn[funcName] = function (
164
164
  // eslint-disable-next-line
165
165
  margin,
166
166
  // eslint-disable-next-line
167
167
  value) {
168
168
  // 是否是赋值操作
169
- const isSet = arguments.length && (funcIndex < 2 || !is.isBoolean(margin));
169
+ const isSet = arguments.length && (funcIndex < 2 || !get$1.isBoolean(margin));
170
170
  const includeMargin = margin === true || value === true;
171
171
  // 获取第一个元素的值
172
172
  if (!isSet) {
@@ -182,11 +182,11 @@ is.eachArray(['Width', 'Height'], (name) => {
182
182
  });
183
183
  });
184
184
 
185
- is.eachArray(['insertBefore', 'insertAfter'], (name, nameIndex) => {
185
+ get$1.eachArray(['insertBefore', 'insertAfter'], (name, nameIndex) => {
186
186
  // eslint-disable-next-line
187
- is.$.fn[name] = function (target) {
188
- const $element = nameIndex ? is.$(this.get().reverse()) : this; // 顺序和 jQuery 保持一致
189
- const $target = is.$(target);
187
+ get$1.$.fn[name] = function (target) {
188
+ const $element = nameIndex ? get$1.$(this.get().reverse()) : this; // 顺序和 jQuery 保持一致
189
+ const $target = get$1.$(target);
190
190
  const result = [];
191
191
  $target.each((index, target) => {
192
192
  if (!target.parentNode) {
@@ -201,35 +201,35 @@ is.eachArray(['insertBefore', 'insertAfter'], (name, nameIndex) => {
201
201
  target.parentNode.insertBefore(newItem, existingItem);
202
202
  });
203
203
  });
204
- return is.$(nameIndex ? result.reverse() : result);
204
+ return get$1.$(nameIndex ? result.reverse() : result);
205
205
  };
206
206
  });
207
207
 
208
- is.$.fn.remove = function (selector) {
208
+ get$1.$.fn.remove = function (selector) {
209
209
  return this.each((_, element) => {
210
- if (!selector || is.$(element).is(selector)) {
211
- is.removeChild(element);
210
+ if (!selector || get$1.$(element).is(selector)) {
211
+ get$1.removeChild(element);
212
212
  }
213
213
  });
214
214
  };
215
215
 
216
- is.eachArray(['appendTo', 'prependTo'], (name, nameIndex) => {
216
+ get$1.eachArray(['appendTo', 'prependTo'], (name, nameIndex) => {
217
217
  // eslint-disable-next-line
218
- is.$.fn[name] = function (target) {
218
+ get$1.$.fn[name] = function (target) {
219
219
  const extraChilds = [];
220
- const $target = is.$(target).map((_, element) => {
220
+ const $target = get$1.$(target).map((_, element) => {
221
221
  const childNodes = element.childNodes;
222
222
  const childLength = childNodes.length;
223
223
  if (childLength) {
224
224
  return childNodes[nameIndex ? 0 : childLength - 1];
225
225
  }
226
- const child = is.createElement('div');
227
- is.appendChild(element, child);
226
+ const child = get$1.createElement('div');
227
+ get$1.appendChild(element, child);
228
228
  extraChilds.push(child);
229
229
  return child;
230
230
  });
231
231
  const $result = this[nameIndex ? 'insertBefore' : 'insertAfter']($target);
232
- is.$(extraChilds).remove();
232
+ get$1.$(extraChilds).remove();
233
233
  return $result;
234
234
  };
235
235
  });
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- const is = require('./is-3783cb36.js');
4
- const ifDefined = require('./if-defined-7e2ad69b.js');
5
- const anchor = require('./anchor-60054fb9.js');
6
- const form = require('./form-99470e35.js');
7
- const template = require('./template-4077344f.js');
8
- const rippleMixin = require('./ripple-mixin-01f70e13.js');
9
- const classMap = require('./class-map-14759be7.js');
3
+ const get = require('./get-511a0185.js');
4
+ const ifDefined = require('./if-defined-0a794922.js');
5
+ const anchor = require('./anchor-31b9a9d1.js');
6
+ const form = require('./form-a018dd49.js');
7
+ const template = require('./template-0f669b3d.js');
8
+ const rippleMixin = require('./ripple-mixin-ada8a9ad.js');
9
+ const classMap = require('./class-map-5321cbe6.js');
10
10
 
11
- const style = is.i `:host{position:relative;display:inline-block;flex-shrink:0;width:2.5rem;height:2.5rem;stroke:rgb(var(--mdui-color-primary))}.progress{position:relative;display:inline-block;width:100%;height:100%;text-align:left;transition:opacity var(--mdui-motion-duration-medium1) var(--mdui-motion-easing-linear)}.determinate svg{transform:rotate(-90deg);fill:transparent}.determinate .track{stroke:transparent}.determinate .circle{stroke:inherit;transition:stroke-dashoffset var(--mdui-motion-duration-long2) var(--mdui-motion-easing-standard)}.indeterminate{font-size:0;letter-spacing:0;white-space:nowrap;animation:mdui-comp-circular-progress-rotate 1568ms var(--mdui-motion-easing-linear) infinite}.indeterminate .circle,.indeterminate .layer{position:absolute;width:100%;height:100%}.indeterminate .layer{animation:mdui-comp-circular-progress-layer-rotate 5332ms var(--mdui-motion-easing-standard) infinite both}.indeterminate .circle{fill:transparent;stroke:inherit}.indeterminate .gap-patch{position:absolute;top:0;left:47.5%;width:5%;height:100%;overflow:hidden}.indeterminate .gap-patch .circle{left:-900%;width:2000%;transform:rotate(180deg)}.indeterminate .clipper{position:relative;display:inline-block;width:50%;height:100%;overflow:hidden}.indeterminate .clipper .circle{width:200%}.indeterminate .clipper.left .circle{animation:mdui-comp-circular-progress-left-spin 1333ms var(--mdui-motion-easing-standard) infinite both}.indeterminate .clipper.right .circle{left:-100%;animation:mdui-comp-circular-progress-right-spin 1333ms var(--mdui-motion-easing-standard) infinite both}@keyframes mdui-comp-circular-progress-rotate{to{transform:rotate(360deg)}}@keyframes mdui-comp-circular-progress-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdui-comp-circular-progress-left-spin{0%{transform:rotate(265deg)}50%{transform:rotate(130deg)}100%{transform:rotate(265deg)}}@keyframes mdui-comp-circular-progress-right-spin{0%{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}100%{transform:rotate(-265deg)}}`;
11
+ const style = get.i `:host{position:relative;display:inline-block;flex-shrink:0;width:2.5rem;height:2.5rem;stroke:rgb(var(--mdui-color-primary))}.progress{position:relative;display:inline-block;width:100%;height:100%;text-align:left;transition:opacity var(--mdui-motion-duration-medium1) var(--mdui-motion-easing-linear)}.determinate svg{transform:rotate(-90deg);fill:transparent}.determinate .track{stroke:transparent}.determinate .circle{stroke:inherit;transition:stroke-dashoffset var(--mdui-motion-duration-long2) var(--mdui-motion-easing-standard)}.indeterminate{font-size:0;letter-spacing:0;white-space:nowrap;animation:mdui-comp-circular-progress-rotate 1568ms var(--mdui-motion-easing-linear) infinite}.indeterminate .circle,.indeterminate .layer{position:absolute;width:100%;height:100%}.indeterminate .layer{animation:mdui-comp-circular-progress-layer-rotate 5332ms var(--mdui-motion-easing-standard) infinite both}.indeterminate .circle{fill:transparent;stroke:inherit}.indeterminate .gap-patch{position:absolute;top:0;left:47.5%;width:5%;height:100%;overflow:hidden}.indeterminate .gap-patch .circle{left:-900%;width:2000%;transform:rotate(180deg)}.indeterminate .clipper{position:relative;display:inline-block;width:50%;height:100%;overflow:hidden}.indeterminate .clipper .circle{width:200%}.indeterminate .clipper.left .circle{animation:mdui-comp-circular-progress-left-spin 1333ms var(--mdui-motion-easing-standard) infinite both}.indeterminate .clipper.right .circle{left:-100%;animation:mdui-comp-circular-progress-right-spin 1333ms var(--mdui-motion-easing-standard) infinite both}@keyframes mdui-comp-circular-progress-rotate{to{transform:rotate(360deg)}}@keyframes mdui-comp-circular-progress-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdui-comp-circular-progress-left-spin{0%{transform:rotate(265deg)}50%{transform:rotate(130deg)}100%{transform:rotate(265deg)}}@keyframes mdui-comp-circular-progress-right-spin{0%{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}100%{transform:rotate(-265deg)}}`;
12
12
 
13
13
  /**
14
14
  * @summary 圆形进度指示器组件
@@ -17,7 +17,7 @@ const style = is.i `:host{position:relative;display:inline-block;flex-shrink:0;w
17
17
  * <mdui-circular-progress></mdui-circular-progress>
18
18
  * ```
19
19
  */
20
- let CircularProgress = class CircularProgress extends is.MduiElement {
20
+ let CircularProgress = class CircularProgress extends get.MduiElement {
21
21
  constructor() {
22
22
  super(...arguments);
23
23
  /**
@@ -26,8 +26,8 @@ let CircularProgress = class CircularProgress extends is.MduiElement {
26
26
  this.max = 1;
27
27
  }
28
28
  render() {
29
- const isDeterminate = !is.isUndefined(this.value);
30
- return is.ke `<div class="progress ${classMap.Rt({
29
+ const isDeterminate = !get.isUndefined(this.value);
30
+ return get.ke `<div class="progress ${classMap.Rt({
31
31
  determinate: isDeterminate,
32
32
  indeterminate: !isDeterminate,
33
33
  })}">${isDeterminate ? this.renderDeterminate() : this.renderInDeterminate()}</div>`;
@@ -40,7 +40,7 @@ let CircularProgress = class CircularProgress extends is.MduiElement {
40
40
  const center = circleRadius + strokeWidth / 2;
41
41
  const circumference = 2 * π * circleRadius;
42
42
  const determinateStrokeDashOffset = (1 - value / Math.max(this.max ?? value, value)) * circumference;
43
- return is.ke `<svg viewBox="0 0 ${center * 2} ${center * 2}"><circle class="track" cx="${center}" cy="${center}" r="${circleRadius}" stroke-width="${strokeWidth}"></circle><circle class="circle" cx="${center}" cy="${center}" r="${circleRadius}" stroke-dasharray="${2 * π * circleRadius}" stroke-dashoffset="${determinateStrokeDashOffset}" stroke-width="${strokeWidth}"></circle></svg>`;
43
+ return get.ke `<svg viewBox="0 0 ${center * 2} ${center * 2}"><circle class="track" cx="${center}" cy="${center}" r="${circleRadius}" stroke-width="${strokeWidth}"></circle><circle class="circle" cx="${center}" cy="${center}" r="${circleRadius}" stroke-dasharray="${2 * π * circleRadius}" stroke-dashoffset="${determinateStrokeDashOffset}" stroke-width="${strokeWidth}"></circle></svg>`;
44
44
  }
45
45
  renderInDeterminate() {
46
46
  const strokeWidth = 4; // 圆环宽度
@@ -49,24 +49,24 @@ let CircularProgress = class CircularProgress extends is.MduiElement {
49
49
  const center = circleRadius + strokeWidth / 2;
50
50
  const circumference = 2 * π * circleRadius;
51
51
  const halfCircumference = 0.5 * circumference;
52
- const circle = (thisStrokeWidth) => is.ke `<svg class="circle" viewBox="0 0 ${center * 2} ${center * 2}"><circle cx="${center}" cy="${center}" r="${circleRadius}" stroke-dasharray="${circumference}" stroke-dashoffset="${halfCircumference}" stroke-width="${thisStrokeWidth}"></circle></svg>`;
53
- return is.ke `<div class="layer"><div class="clipper left">${circle(strokeWidth)}</div><div class="gap-patch">${circle(strokeWidth * 0.8)}</div><div class="clipper right">${circle(strokeWidth)}</div></div>`;
52
+ const circle = (thisStrokeWidth) => get.ke `<svg class="circle" viewBox="0 0 ${center * 2} ${center * 2}"><circle cx="${center}" cy="${center}" r="${circleRadius}" stroke-dasharray="${circumference}" stroke-dashoffset="${halfCircumference}" stroke-width="${thisStrokeWidth}"></circle></svg>`;
53
+ return get.ke `<div class="layer"><div class="clipper left">${circle(strokeWidth)}</div><div class="gap-patch">${circle(strokeWidth * 0.8)}</div><div class="clipper right">${circle(strokeWidth)}</div></div>`;
54
54
  }
55
55
  };
56
- CircularProgress.styles = [is.componentStyle, style];
57
- is.__decorate([
58
- is.n({ type: Number, reflect: true })
56
+ CircularProgress.styles = [get.componentStyle, style];
57
+ get.__decorate([
58
+ get.n({ type: Number, reflect: true })
59
59
  ], CircularProgress.prototype, "max", void 0);
60
- is.__decorate([
61
- is.n({ type: Number })
60
+ get.__decorate([
61
+ get.n({ type: Number })
62
62
  ], CircularProgress.prototype, "value", void 0);
63
- CircularProgress = is.__decorate([
64
- is.t('mdui-circular-progress')
63
+ CircularProgress = get.__decorate([
64
+ get.t('mdui-circular-progress')
65
65
  ], CircularProgress);
66
66
 
67
- const buttonBaseStyle = is.i `.button{position:relative;display:inline-flex;align-items:center;justify-content:center;height:100%;padding:0;overflow:hidden;color:inherit;font-size:inherit;font-family:inherit;font-weight:inherit;letter-spacing:inherit;white-space:nowrap;text-align:center;text-decoration:none;vertical-align:middle;background:0 0;border:none;outline:0;cursor:inherit;-webkit-user-select:none;user-select:none;touch-action:manipulation;zoom:1;-webkit-user-drag:none}`;
67
+ const buttonBaseStyle = get.i `.button{position:relative;display:inline-flex;align-items:center;justify-content:center;height:100%;padding:0;overflow:hidden;color:inherit;font-size:inherit;font-family:inherit;font-weight:inherit;letter-spacing:inherit;white-space:nowrap;text-align:center;text-decoration:none;vertical-align:middle;background:0 0;border:none;outline:0;cursor:inherit;-webkit-user-select:none;user-select:none;touch-action:manipulation;zoom:1;-webkit-user-drag:none}`;
68
68
 
69
- class ButtonBase extends anchor.AnchorMixin(rippleMixin.RippleMixin(rippleMixin.FocusableMixin(is.MduiElement))) {
69
+ class ButtonBase extends anchor.AnchorMixin(rippleMixin.RippleMixin(rippleMixin.FocusableMixin(get.MduiElement))) {
70
70
  constructor() {
71
71
  super(...arguments);
72
72
  /**
@@ -200,65 +200,65 @@ class ButtonBase extends anchor.AnchorMixin(rippleMixin.RippleMixin(rippleMixin.
200
200
  }
201
201
  renderLoading() {
202
202
  return this.loading
203
- ? is.ke `<mdui-circular-progress part="loading"></mdui-circular-progress>`
203
+ ? get.ke `<mdui-circular-progress part="loading"></mdui-circular-progress>`
204
204
  : template.nothingTemplate;
205
205
  }
206
- renderButton({ id, className, part, content = is.ke `<slot></slot>`, }) {
207
- return is.ke `<button id="${ifDefined.to(id)}" class="${anchor.cc(['_button', className])}" part="${ifDefined.to(part)}" ?disabled="${this.rippleDisabled || this.focusDisabled}">${content}</button>`;
206
+ renderButton({ id, className, part, content = get.ke `<slot></slot>`, }) {
207
+ return get.ke `<button id="${ifDefined.to(id)}" class="${anchor.cc(['_button', className])}" part="${ifDefined.to(part)}" ?disabled="${this.rippleDisabled || this.focusDisabled}">${content}</button>`;
208
208
  }
209
209
  isButton() {
210
210
  return !this.href;
211
211
  }
212
212
  }
213
213
  ButtonBase.styles = [
214
- is.componentStyle,
214
+ get.componentStyle,
215
215
  buttonBaseStyle,
216
216
  ];
217
- is.__decorate([
218
- is.n({
217
+ get.__decorate([
218
+ get.n({
219
219
  type: Boolean,
220
220
  reflect: true,
221
- converter: is.booleanConverter,
221
+ converter: get.booleanConverter,
222
222
  })
223
223
  ], ButtonBase.prototype, "disabled", void 0);
224
- is.__decorate([
225
- is.n({
224
+ get.__decorate([
225
+ get.n({
226
226
  type: Boolean,
227
227
  reflect: true,
228
- converter: is.booleanConverter,
228
+ converter: get.booleanConverter,
229
229
  })
230
230
  ], ButtonBase.prototype, "loading", void 0);
231
- is.__decorate([
232
- is.n({ reflect: true })
231
+ get.__decorate([
232
+ get.n({ reflect: true })
233
233
  ], ButtonBase.prototype, "name", void 0);
234
- is.__decorate([
235
- is.n({ reflect: true })
234
+ get.__decorate([
235
+ get.n({ reflect: true })
236
236
  ], ButtonBase.prototype, "value", void 0);
237
- is.__decorate([
238
- is.n({ reflect: true })
237
+ get.__decorate([
238
+ get.n({ reflect: true })
239
239
  ], ButtonBase.prototype, "type", void 0);
240
- is.__decorate([
241
- is.n({ reflect: true })
240
+ get.__decorate([
241
+ get.n({ reflect: true })
242
242
  ], ButtonBase.prototype, "form", void 0);
243
- is.__decorate([
244
- is.n({ reflect: true, attribute: 'formaction' })
243
+ get.__decorate([
244
+ get.n({ reflect: true, attribute: 'formaction' })
245
245
  ], ButtonBase.prototype, "formAction", void 0);
246
- is.__decorate([
247
- is.n({ reflect: true, attribute: 'formenctype' })
246
+ get.__decorate([
247
+ get.n({ reflect: true, attribute: 'formenctype' })
248
248
  ], ButtonBase.prototype, "formEnctype", void 0);
249
- is.__decorate([
250
- is.n({ reflect: true, attribute: 'formmethod' })
249
+ get.__decorate([
250
+ get.n({ reflect: true, attribute: 'formmethod' })
251
251
  ], ButtonBase.prototype, "formMethod", void 0);
252
- is.__decorate([
253
- is.n({
252
+ get.__decorate([
253
+ get.n({
254
254
  type: Boolean,
255
255
  reflect: true,
256
- converter: is.booleanConverter,
256
+ converter: get.booleanConverter,
257
257
  attribute: 'formnovalidate',
258
258
  })
259
259
  ], ButtonBase.prototype, "formNoValidate", void 0);
260
- is.__decorate([
261
- is.n({ reflect: true, attribute: 'formtarget' })
260
+ get.__decorate([
261
+ get.n({ reflect: true, attribute: 'formtarget' })
262
262
  ], ButtonBase.prototype, "formTarget", void 0);
263
263
 
264
264
  exports.ButtonBase = ButtonBase;
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ const get = require('./get-511a0185.js');
4
+ const svgTag = require('./svg-tag-8887c222.js');
5
+
6
+ let IconCheck = class IconCheck extends get.h {
7
+ render() {
8
+ return svgTag.svgTag('<path d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>');
9
+ }
10
+ };
11
+ IconCheck.styles = svgTag.style;
12
+ IconCheck = get.__decorate([
13
+ get.t('mdui-icon-check')
14
+ ], IconCheck);
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ const get = require('./get-511a0185.js');
4
+
5
+ get.$.fn.children = function (selector) {
6
+ const children = [];
7
+ this.each((_, element) => {
8
+ get.eachArray(element.childNodes, (childNode) => {
9
+ if (!get.isElement(childNode)) {
10
+ return;
11
+ }
12
+ if (!selector || get.$(childNode).is(selector)) {
13
+ children.push(childNode);
14
+ }
15
+ });
16
+ });
17
+ return new get.JQ(get.unique(children));
18
+ };
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ const get = require('./get-511a0185.js');
4
+
5
+ /**
6
+ * @license
7
+ * Copyright 2018 Google LLC
8
+ * SPDX-License-Identifier: BSD-3-Clause
9
+ */const Rt=get.e(class extends get.i$1{constructor(s){if(super(s),s.type!==get.t$1.ATTRIBUTE||"class"!==s.name||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(t,[s]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in s)s[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(s)}const i=t.element.classList;for(const t of this.st)t in s||(i.remove(t),this.st.delete(t));for(const t in s){const r=!!s[t];r===this.st.has(t)||this.nt?.has(t)||(r?(i.add(t),this.st.add(t)):(i.remove(t),this.st.delete(t)));}return get.R}});
10
+
11
+ exports.Rt = Rt;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const is = require('./is-3783cb36.js');
3
+ const get = require('./get-511a0185.js');
4
4
 
5
5
  /**
6
6
  * defaultValue 装饰器。在 attribute 属性变更时,若值和 property 值不一致,则会保存新的 attribute 值
@@ -22,14 +22,14 @@ function defaultValue(propertyName = 'value') {
22
22
  const attributeChangedCallback = constructor.prototype.attributeChangedCallback;
23
23
  constructor.prototype.attributeChangedCallback = function (name, old, value) {
24
24
  const options = constructor.getPropertyOptions(propertyName);
25
- const attributeName = is.isString(options.attribute)
25
+ const attributeName = get.isString(options.attribute)
26
26
  ? options.attribute
27
27
  : propertyName;
28
28
  if (name === attributeName) {
29
- const converter = options.converter || is.u;
30
- const fromAttribute = is.isFunction(converter)
29
+ const converter = options.converter || get.u;
30
+ const fromAttribute = get.isFunction(converter)
31
31
  ? converter
32
- : converter?.fromAttribute ?? is.u.fromAttribute;
32
+ : converter?.fromAttribute ?? get.u.fromAttribute;
33
33
  const newValue = fromAttribute(value, options.type);
34
34
  if (this[propertyName] !== newValue) {
35
35
  this[key] = newValue;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const is = require('./is-3783cb36.js');
3
+ const get = require('./get-511a0185.js');
4
4
 
5
5
  /**
6
6
  * 使用该 WeakMap 来存储指定表单中所有的 mdui 表单控件
@@ -45,12 +45,12 @@ const formResets = new WeakMap();
45
45
  class FormController {
46
46
  constructor(host, options) {
47
47
  (this.host = host).addController(this);
48
- this.definedController = new is.DefinedController(host, {
48
+ this.definedController = new get.DefinedController(host, {
49
49
  needDomReady: true,
50
50
  });
51
51
  this.options = {
52
52
  form: (control) => {
53
- const formId = is.$(control).attr('form');
53
+ const formId = get.$(control).attr('form');
54
54
  if (formId) {
55
55
  const root = control.getRootNode();
56
56
  return root.getElementById(formId);
@@ -62,7 +62,7 @@ class FormController {
62
62
  defaultValue: (control) => control.defaultValue,
63
63
  setValue: (control, value) => (control.value = value),
64
64
  disabled: (control) => control.disabled,
65
- reportValidity: (control) => is.isFunction(control.reportValidity) ? control.reportValidity() : true,
65
+ reportValidity: (control) => get.isFunction(control.reportValidity) ? control.reportValidity() : true,
66
66
  ...options,
67
67
  };
68
68
  this.onFormData = this.onFormData.bind(this);
@@ -148,7 +148,7 @@ class FormController {
148
148
  if (!this.form) {
149
149
  return;
150
150
  }
151
- const $button = is.$(`<button type="${type}">`).css({
151
+ const $button = get.$(`<button type="${type}">`).css({
152
152
  position: 'absolute',
153
153
  width: 0,
154
154
  height: 0,
@@ -167,7 +167,7 @@ class FormController {
167
167
  'formnovalidate',
168
168
  'formtarget',
169
169
  ].forEach((attr) => {
170
- $button.attr(attr, is.$(invoker).attr(attr));
170
+ $button.attr(attr, get.$(invoker).attr(attr));
171
171
  });
172
172
  }
173
173
  this.form.append(button);
@@ -188,9 +188,9 @@ class FormController {
188
188
  ].includes(this.host.tagName.toLowerCase());
189
189
  if (!disabled &&
190
190
  !isButton &&
191
- is.isString(name) &&
191
+ get.isString(name) &&
192
192
  name &&
193
- !is.isUndefined(value)) {
193
+ !get.isUndefined(value)) {
194
194
  if (Array.isArray(value)) {
195
195
  value.forEach((val) => {
196
196
  event.formData.append(name, val.toString());
@@ -232,7 +232,7 @@ class FormController {
232
232
  if (this.form && !this.form.noValidate) {
233
233
  const elements = getFormControls(this.form);
234
234
  for (const element of elements) {
235
- if (is.isFunction(element.reportValidity) && !element.reportValidity()) {
235
+ if (get.isFunction(element.reportValidity) && !element.reportValidity()) {
236
236
  return false;
237
237
  }
238
238
  }