@descope/web-components-ui 0.0.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 (477) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +25 -0
  3. package/dist/cjs/index.cjs.js +18314 -0
  4. package/dist/cjs/index.cjs.js.map +1 -0
  5. package/dist/cjs/package.json +1 -0
  6. package/dist/index.d.ts +72 -0
  7. package/dist/index.esm.js +20157 -0
  8. package/dist/index.esm.js.map +1 -0
  9. package/dist/umd/1172.js +240 -0
  10. package/dist/umd/1172.js.LICENSE.txt +23 -0
  11. package/dist/umd/1396.js +37 -0
  12. package/dist/umd/1396.js.LICENSE.txt +11 -0
  13. package/dist/umd/1402.js +1 -0
  14. package/dist/umd/1484.js +148 -0
  15. package/dist/umd/1484.js.LICENSE.txt +17 -0
  16. package/dist/umd/189.js +338 -0
  17. package/dist/umd/189.js.LICENSE.txt +11 -0
  18. package/dist/umd/201.js +73 -0
  19. package/dist/umd/201.js.LICENSE.txt +23 -0
  20. package/dist/umd/2159.js +608 -0
  21. package/dist/umd/2159.js.LICENSE.txt +23 -0
  22. package/dist/umd/2540.js +1 -0
  23. package/dist/umd/2570.js +338 -0
  24. package/dist/umd/2570.js.LICENSE.txt +11 -0
  25. package/dist/umd/2666.js +148 -0
  26. package/dist/umd/2666.js.LICENSE.txt +11 -0
  27. package/dist/umd/2755.js +1 -0
  28. package/dist/umd/3110.js +275 -0
  29. package/dist/umd/3110.js.LICENSE.txt +23 -0
  30. package/dist/umd/3191.js +506 -0
  31. package/dist/umd/3191.js.LICENSE.txt +17 -0
  32. package/dist/umd/3437.js +2 -0
  33. package/dist/umd/3437.js.LICENSE.txt +15 -0
  34. package/dist/umd/3638.js +2 -0
  35. package/dist/umd/3638.js.LICENSE.txt +5 -0
  36. package/dist/umd/404.js +148 -0
  37. package/dist/umd/404.js.LICENSE.txt +17 -0
  38. package/dist/umd/4114.js +124 -0
  39. package/dist/umd/4114.js.LICENSE.txt +33 -0
  40. package/dist/umd/4127.js +449 -0
  41. package/dist/umd/4127.js.LICENSE.txt +17 -0
  42. package/dist/umd/4187.js +2 -0
  43. package/dist/umd/4187.js.LICENSE.txt +5 -0
  44. package/dist/umd/4218.js +129 -0
  45. package/dist/umd/4218.js.LICENSE.txt +23 -0
  46. package/dist/umd/4455.js +422 -0
  47. package/dist/umd/4455.js.LICENSE.txt +11 -0
  48. package/dist/umd/4480.js +1 -0
  49. package/dist/umd/4554.js +303 -0
  50. package/dist/umd/4554.js.LICENSE.txt +11 -0
  51. package/dist/umd/4574.js +400 -0
  52. package/dist/umd/4574.js.LICENSE.txt +23 -0
  53. package/dist/umd/4619.js +1 -0
  54. package/dist/umd/4902.js +170 -0
  55. package/dist/umd/4902.js.LICENSE.txt +23 -0
  56. package/dist/umd/507.js +279 -0
  57. package/dist/umd/507.js.LICENSE.txt +11 -0
  58. package/dist/umd/5096.js +109 -0
  59. package/dist/umd/5096.js.LICENSE.txt +5 -0
  60. package/dist/umd/5318.js +1 -0
  61. package/dist/umd/5414.js +2 -0
  62. package/dist/umd/5414.js.LICENSE.txt +1 -0
  63. package/dist/umd/5563.js +319 -0
  64. package/dist/umd/5563.js.LICENSE.txt +55 -0
  65. package/dist/umd/7097.js +338 -0
  66. package/dist/umd/7097.js.LICENSE.txt +11 -0
  67. package/dist/umd/7150.js +2 -0
  68. package/dist/umd/7150.js.LICENSE.txt +485 -0
  69. package/dist/umd/731.js +832 -0
  70. package/dist/umd/731.js.LICENSE.txt +17 -0
  71. package/dist/umd/742.js +2 -0
  72. package/dist/umd/742.js.LICENSE.txt +21 -0
  73. package/dist/umd/7979.js +419 -0
  74. package/dist/umd/7979.js.LICENSE.txt +11 -0
  75. package/dist/umd/8823.js +1 -0
  76. package/dist/umd/9030.js +381 -0
  77. package/dist/umd/9030.js.LICENSE.txt +17 -0
  78. package/dist/umd/9243.js +202 -0
  79. package/dist/umd/9243.js.LICENSE.txt +51 -0
  80. package/dist/umd/9478.js +338 -0
  81. package/dist/umd/9478.js.LICENSE.txt +11 -0
  82. package/dist/umd/DescopeDev.js +1 -0
  83. package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -0
  84. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +2 -0
  85. package/dist/umd/boolean-fields-descope-checkbox-index-js.js.LICENSE.txt +5 -0
  86. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +2 -0
  87. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.LICENSE.txt +5 -0
  88. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -0
  89. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -0
  90. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -0
  91. package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -0
  92. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -0
  93. package/dist/umd/descope-alert-index-js.js +1 -0
  94. package/dist/umd/descope-apps-list-index-js.js +1 -0
  95. package/dist/umd/descope-avatar.js +1 -0
  96. package/dist/umd/descope-badge-index-js.js +1 -0
  97. package/dist/umd/descope-button-index-js.js +338 -0
  98. package/dist/umd/descope-button-index-js.js.LICENSE.txt +11 -0
  99. package/dist/umd/descope-code-snippet-index-js.js +1 -0
  100. package/dist/umd/descope-combo-box-index-js.js +113 -0
  101. package/dist/umd/descope-combo-box-index-js.js.LICENSE.txt +11 -0
  102. package/dist/umd/descope-container-index-js.js +1 -0
  103. package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -0
  104. package/dist/umd/descope-date-field-index-js.js +1 -0
  105. package/dist/umd/descope-divider-index-js.js +1 -0
  106. package/dist/umd/descope-email-field-index-js.js +54 -0
  107. package/dist/umd/descope-email-field-index-js.js.LICENSE.txt +11 -0
  108. package/dist/umd/descope-enriched-text-index-js.js +1 -0
  109. package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +90 -0
  110. package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.LICENSE.txt +17 -0
  111. package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js +105 -0
  112. package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js.LICENSE.txt +29 -0
  113. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +2 -0
  114. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js.LICENSE.txt +17 -0
  115. package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +90 -0
  116. package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.LICENSE.txt +17 -0
  117. package/dist/umd/descope-grid-index-js.js +1 -0
  118. package/dist/umd/descope-hybrid-field-index-js.js +19 -0
  119. package/dist/umd/descope-hybrid-field-index-js.js.LICENSE.txt +5 -0
  120. package/dist/umd/descope-icon-index-js.js +1 -0
  121. package/dist/umd/descope-image-index-js.js +1 -0
  122. package/dist/umd/descope-link-index-js.js +1 -0
  123. package/dist/umd/descope-list-index-js.js +1 -0
  124. package/dist/umd/descope-loader-linear-index-js.js +1 -0
  125. package/dist/umd/descope-loader-radial-index-js.js +1 -0
  126. package/dist/umd/descope-logo-index-js.js +1 -0
  127. package/dist/umd/descope-modal-index-js.js +1 -0
  128. package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -0
  129. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -0
  130. package/dist/umd/descope-new-password-index-js.js +1 -0
  131. package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -0
  132. package/dist/umd/descope-notification-index-js.js +1 -0
  133. package/dist/umd/descope-notp-image-index-js.js +1 -0
  134. package/dist/umd/descope-number-field-index-js.js +1 -0
  135. package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -0
  136. package/dist/umd/descope-passcode-index-js.js +1 -0
  137. package/dist/umd/descope-password-index-js.js +1 -0
  138. package/dist/umd/descope-policy-validation-index-js.js +1 -0
  139. package/dist/umd/descope-radio-group-index-js.js +1 -0
  140. package/dist/umd/descope-recaptcha-index-js.js +1 -0
  141. package/dist/umd/descope-scopes-list-index-js.js +2 -0
  142. package/dist/umd/descope-scopes-list-index-js.js.LICENSE.txt +5 -0
  143. package/dist/umd/descope-security-questions-setup-index-js.js +1 -0
  144. package/dist/umd/descope-security-questions-verify-index-js.js +37 -0
  145. package/dist/umd/descope-security-questions-verify-index-js.js.LICENSE.txt +11 -0
  146. package/dist/umd/descope-text-area-index-js.js +1 -0
  147. package/dist/umd/descope-text-field-index-js.js +37 -0
  148. package/dist/umd/descope-text-field-index-js.js.LICENSE.txt +11 -0
  149. package/dist/umd/descope-text.js +1 -0
  150. package/dist/umd/descope-third-party-app-logo-index-js.js +1 -0
  151. package/dist/umd/descope-totp-image-index-js.js +1 -0
  152. package/dist/umd/descope-upload-file-index-js.js +1 -0
  153. package/dist/umd/descope-user-attribute-index-js.js +1 -0
  154. package/dist/umd/descope-user-auth-method-index-js.js +1 -0
  155. package/dist/umd/index.js +1 -0
  156. package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -0
  157. package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -0
  158. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -0
  159. package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -0
  160. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -0
  161. package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -0
  162. package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -0
  163. package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +37 -0
  164. package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js.LICENSE.txt +11 -0
  165. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +148 -0
  166. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js.LICENSE.txt +17 -0
  167. package/node_modules/common/.eslintrc.json +18 -0
  168. package/node_modules/common/README.md +7 -0
  169. package/node_modules/common/package.json +34 -0
  170. package/node_modules/common/project.json +7 -0
  171. package/node_modules/common/src/baseClasses/baseClasses/createBaseClass.js +66 -0
  172. package/node_modules/common/src/baseClasses/baseClasses/createBaseInputClass.js +14 -0
  173. package/node_modules/common/src/baseClasses/baseClasses/createCssVarImageClass.js +55 -0
  174. package/node_modules/common/src/baseClasses/index.js +3 -0
  175. package/node_modules/common/src/componentsHelpers/index.js +95 -0
  176. package/node_modules/common/src/componentsMixins/helpers/mixinsHelpers.js +10 -0
  177. package/node_modules/common/src/componentsMixins/index.js +1 -0
  178. package/node_modules/common/src/componentsMixins/mixins/activableMixin.js +14 -0
  179. package/node_modules/common/src/componentsMixins/mixins/changeMixin.js +22 -0
  180. package/node_modules/common/src/componentsMixins/mixins/componentNameValidationMixin.js +23 -0
  181. package/node_modules/common/src/componentsMixins/mixins/componentsContextMixin.js +12 -0
  182. package/node_modules/common/src/componentsMixins/mixins/createDynamicDataMixin.js +100 -0
  183. package/node_modules/common/src/componentsMixins/mixins/createProxy.js +58 -0
  184. package/node_modules/common/src/componentsMixins/mixins/createStyleMixin/helpers.js +106 -0
  185. package/node_modules/common/src/componentsMixins/mixins/createStyleMixin/index.js +167 -0
  186. package/node_modules/common/src/componentsMixins/mixins/draggableMixin.js +62 -0
  187. package/node_modules/common/src/componentsMixins/mixins/externalInputHelpers.js +93 -0
  188. package/node_modules/common/src/componentsMixins/mixins/externalInputMixin.js +170 -0
  189. package/node_modules/common/src/componentsMixins/mixins/hoverableMixin.js +13 -0
  190. package/node_modules/common/src/componentsMixins/mixins/index.js +14 -0
  191. package/node_modules/common/src/componentsMixins/mixins/inputEventsDispatchingMixin.js +76 -0
  192. package/node_modules/common/src/componentsMixins/mixins/inputValidationMixin.js +210 -0
  193. package/node_modules/common/src/componentsMixins/mixins/lifecycleEventsMixin.js +23 -0
  194. package/node_modules/common/src/componentsMixins/mixins/normalizeBooleanAttributesMixin.js +57 -0
  195. package/node_modules/common/src/componentsMixins/mixins/portalMixin.js +112 -0
  196. package/node_modules/common/src/componentsMixins/mixins/proxyInputMixin.js +242 -0
  197. package/node_modules/common/src/constants.js +4 -0
  198. package/node_modules/common/src/icons/errorMessageIconBase64.js +1 -0
  199. package/node_modules/common/src/sbControls.js +302 -0
  200. package/node_modules/common/src/themeHelpers/colorsHelpers.js +94 -0
  201. package/node_modules/common/src/themeHelpers/componentsThemeManager.js +45 -0
  202. package/node_modules/common/src/themeHelpers/index.js +176 -0
  203. package/node_modules/common/src/utils/index.js +68 -0
  204. package/node_modules/descope-avatar/e2e/descope-avatar.spec.ts +54 -0
  205. package/node_modules/descope-avatar/package.json +34 -0
  206. package/node_modules/descope-avatar/project.json +7 -0
  207. package/node_modules/descope-avatar/src/component/AvatarClass.js +109 -0
  208. package/node_modules/descope-avatar/src/component/index.js +8 -0
  209. package/node_modules/descope-avatar/src/theme.js +44 -0
  210. package/node_modules/descope-avatar/stories/avatar.jpeg +0 -0
  211. package/node_modules/descope-avatar/stories/descope-avatar.stories.js +32 -0
  212. package/node_modules/descope-text/e2e/descope-text.spec.ts +35 -0
  213. package/node_modules/descope-text/package.json +31 -0
  214. package/node_modules/descope-text/project.json +7 -0
  215. package/node_modules/descope-text/src/component/TextClass.js +63 -0
  216. package/node_modules/descope-text/src/component/index.js +5 -0
  217. package/node_modules/descope-text/src/theme.js +91 -0
  218. package/node_modules/descope-text/stories/descope-text.stories.js +55 -0
  219. package/package.json +151 -0
  220. package/src/baseClasses/createBaseClass.js +66 -0
  221. package/src/baseClasses/createBaseInputClass.js +16 -0
  222. package/src/baseClasses/createCssVarImageClass.js +53 -0
  223. package/src/components/boolean-fields/booleanFieldMixin.js +36 -0
  224. package/src/components/boolean-fields/commonStyles.js +50 -0
  225. package/src/components/boolean-fields/descope-boolean-field-internal/BooleanFieldInternal.js +77 -0
  226. package/src/components/boolean-fields/descope-boolean-field-internal/index.js +3 -0
  227. package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +133 -0
  228. package/src/components/boolean-fields/descope-checkbox/index.js +8 -0
  229. package/src/components/boolean-fields/descope-switch-toggle/SwitchToggleClass.js +154 -0
  230. package/src/components/boolean-fields/descope-switch-toggle/index.js +8 -0
  231. package/src/components/button-selection-group-fields/baseButtonSelectionGroup.js +171 -0
  232. package/src/components/button-selection-group-fields/createBaseButtonSelectionGroupInternalClass.js +101 -0
  233. package/src/components/button-selection-group-fields/descope-button-multi-selection-group/ButtonMultiSelectionGroupClass.js +67 -0
  234. package/src/components/button-selection-group-fields/descope-button-multi-selection-group/index.js +7 -0
  235. package/src/components/button-selection-group-fields/descope-button-multi-selection-group-internal/ButtonMultiSelectionGroupInternalClass.js +108 -0
  236. package/src/components/button-selection-group-fields/descope-button-multi-selection-group-internal/index.js +8 -0
  237. package/src/components/button-selection-group-fields/descope-button-selection-group/ButtonSelectionGroupClass.js +67 -0
  238. package/src/components/button-selection-group-fields/descope-button-selection-group/index.js +7 -0
  239. package/src/components/button-selection-group-fields/descope-button-selection-group-internal/ButtonSelectionGroupInternalClass.js +77 -0
  240. package/src/components/button-selection-group-fields/descope-button-selection-group-internal/index.js +8 -0
  241. package/src/components/button-selection-group-fields/descope-button-selection-group-item/ButtonSelectionGroupItemClass.js +115 -0
  242. package/src/components/button-selection-group-fields/descope-button-selection-group-item/index.js +6 -0
  243. package/src/components/descope-alert/AlertClass.js +105 -0
  244. package/src/components/descope-alert/index.js +6 -0
  245. package/src/components/descope-apps-list/AppsListClass.js +97 -0
  246. package/src/components/descope-apps-list/index.js +8 -0
  247. package/src/components/descope-badge/BadgeClass.js +57 -0
  248. package/src/components/descope-badge/index.js +5 -0
  249. package/src/components/descope-button/ButtonClass.js +163 -0
  250. package/src/components/descope-button/clickableMixin.js +10 -0
  251. package/src/components/descope-button/index.js +6 -0
  252. package/src/components/descope-code-snippet/CodeSnippetClass.js +238 -0
  253. package/src/components/descope-code-snippet/helpers.js +9 -0
  254. package/src/components/descope-code-snippet/index.js +5 -0
  255. package/src/components/descope-combo-box/ComboBoxClass.js +543 -0
  256. package/src/components/descope-combo-box/index.js +6 -0
  257. package/src/components/descope-container/ContainerClass.js +65 -0
  258. package/src/components/descope-container/index.js +5 -0
  259. package/src/components/descope-date-field/DateCounterClass.js +83 -0
  260. package/src/components/descope-date-field/DateFieldClass.js +702 -0
  261. package/src/components/descope-date-field/consts.js +55 -0
  262. package/src/components/descope-date-field/descope-calendar/CalendarClass.js +668 -0
  263. package/src/components/descope-date-field/descope-calendar/helpers.js +186 -0
  264. package/src/components/descope-date-field/descope-calendar/index.js +9 -0
  265. package/src/components/descope-date-field/formats.js +49 -0
  266. package/src/components/descope-date-field/helpers.js +72 -0
  267. package/src/components/descope-date-field/icons.js +14 -0
  268. package/src/components/descope-date-field/index.js +10 -0
  269. package/src/components/descope-divider/DividerClass.js +105 -0
  270. package/src/components/descope-divider/index.js +6 -0
  271. package/src/components/descope-email-field/EmailFieldClass.js +90 -0
  272. package/src/components/descope-email-field/index.js +6 -0
  273. package/src/components/descope-enriched-text/EnrichedTextClass.js +204 -0
  274. package/src/components/descope-enriched-text/consts.js +14 -0
  275. package/src/components/descope-enriched-text/helpers.js +5 -0
  276. package/src/components/descope-enriched-text/index.js +5 -0
  277. package/src/components/descope-grid/GridClass.js +368 -0
  278. package/src/components/descope-grid/descope-grid-custom-column/GridCustomColumnClass.js +31 -0
  279. package/src/components/descope-grid/descope-grid-custom-column/index.js +7 -0
  280. package/src/components/descope-grid/descope-grid-item-details-column/GridItemDetailsColumnClass.js +37 -0
  281. package/src/components/descope-grid/descope-grid-item-details-column/index.js +8 -0
  282. package/src/components/descope-grid/descope-grid-selection-column/GridSelectionColumnClass.js +58 -0
  283. package/src/components/descope-grid/descope-grid-selection-column/index.js +7 -0
  284. package/src/components/descope-grid/descope-grid-text-column/GridTextColumnClass.js +26 -0
  285. package/src/components/descope-grid/descope-grid-text-column/index.js +6 -0
  286. package/src/components/descope-grid/helpers.js +74 -0
  287. package/src/components/descope-grid/index.js +12 -0
  288. package/src/components/descope-hybrid-field/HybridFieldClass.js +363 -0
  289. package/src/components/descope-hybrid-field/helpers.js +5 -0
  290. package/src/components/descope-hybrid-field/index.js +9 -0
  291. package/src/components/descope-icon/IconClass.js +82 -0
  292. package/src/components/descope-icon/helpers.js +51 -0
  293. package/src/components/descope-icon/index.js +5 -0
  294. package/src/components/descope-image/ImageClass.js +48 -0
  295. package/src/components/descope-image/index.js +5 -0
  296. package/src/components/descope-link/LinkClass.js +71 -0
  297. package/src/components/descope-link/index.js +6 -0
  298. package/src/components/descope-list/ListClass.js +154 -0
  299. package/src/components/descope-list/ListItemClass.js +56 -0
  300. package/src/components/descope-list/index.js +7 -0
  301. package/src/components/descope-loader-linear/LoaderLinearClass.js +69 -0
  302. package/src/components/descope-loader-linear/index.js +5 -0
  303. package/src/components/descope-loader-radial/LoaderRadialClass.js +50 -0
  304. package/src/components/descope-loader-radial/index.js +5 -0
  305. package/src/components/descope-logo/LogoClass.js +10 -0
  306. package/src/components/descope-logo/index.js +5 -0
  307. package/src/components/descope-modal/ModalClass.js +112 -0
  308. package/src/components/descope-modal/index.js +6 -0
  309. package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +676 -0
  310. package/src/components/descope-multi-select-combo-box/index.js +6 -0
  311. package/src/components/descope-new-password/NewPasswordClass.js +218 -0
  312. package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +246 -0
  313. package/src/components/descope-new-password/descope-new-password-internal/componentName.js +3 -0
  314. package/src/components/descope-new-password/descope-new-password-internal/index.js +4 -0
  315. package/src/components/descope-new-password/index.js +9 -0
  316. package/src/components/descope-notification/NotificationClass.js +107 -0
  317. package/src/components/descope-notification/descope-notification-card/NotificationCardClass.js +115 -0
  318. package/src/components/descope-notification/descope-notification-card/index.js +6 -0
  319. package/src/components/descope-notification/descope-notification-container.js +13 -0
  320. package/src/components/descope-notification/index.js +8 -0
  321. package/src/components/descope-notp-image/NotpImageClass.js +10 -0
  322. package/src/components/descope-notp-image/index.js +5 -0
  323. package/src/components/descope-number-field/NumberFieldClass.js +54 -0
  324. package/src/components/descope-number-field/index.js +6 -0
  325. package/src/components/descope-passcode/PasscodeClass.js +209 -0
  326. package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +231 -0
  327. package/src/components/descope-passcode/descope-passcode-internal/helpers.js +41 -0
  328. package/src/components/descope-passcode/descope-passcode-internal/index.js +3 -0
  329. package/src/components/descope-passcode/index.js +8 -0
  330. package/src/components/descope-password/PasswordClass.js +302 -0
  331. package/src/components/descope-password/index.js +6 -0
  332. package/src/components/descope-password/passwordDraggableMixin.js +40 -0
  333. package/src/components/descope-policy-validation/PolicyValidationClass.js +220 -0
  334. package/src/components/descope-policy-validation/helpers.js +2 -0
  335. package/src/components/descope-policy-validation/index.js +5 -0
  336. package/src/components/descope-radio-group/RadioButtonClass.js +77 -0
  337. package/src/components/descope-radio-group/RadioGroupClass.js +192 -0
  338. package/src/components/descope-radio-group/index.js +8 -0
  339. package/src/components/descope-recaptcha/RecaptchaClass.js +230 -0
  340. package/src/components/descope-recaptcha/index.js +5 -0
  341. package/src/components/descope-scopes-list/ScopesListClass.js +131 -0
  342. package/src/components/descope-scopes-list/index.js +7 -0
  343. package/src/components/descope-security-questions-setup/SecurityQuestionsSetupClass.js +240 -0
  344. package/src/components/descope-security-questions-setup/index.js +7 -0
  345. package/src/components/descope-security-questions-verify/SecurityQuestionsVerifyClass.js +232 -0
  346. package/src/components/descope-security-questions-verify/index.js +7 -0
  347. package/src/components/descope-text-area/TextAreaClass.js +102 -0
  348. package/src/components/descope-text-area/index.js +6 -0
  349. package/src/components/descope-text-field/TextFieldClass.js +142 -0
  350. package/src/components/descope-text-field/index.js +9 -0
  351. package/src/components/descope-text-field/textFieldMappings.js +151 -0
  352. package/src/components/descope-third-party-app-logo/ThirdPartyAppLogoClass.js +103 -0
  353. package/src/components/descope-third-party-app-logo/arrows.svg +4 -0
  354. package/src/components/descope-third-party-app-logo/index.js +7 -0
  355. package/src/components/descope-totp-image/TotpImageClass.js +10 -0
  356. package/src/components/descope-totp-image/index.js +5 -0
  357. package/src/components/descope-upload-file/UploadFileClass.js +236 -0
  358. package/src/components/descope-upload-file/helpers.js +11 -0
  359. package/src/components/descope-upload-file/index.js +6 -0
  360. package/src/components/descope-user-attribute/UserAttributeClass.js +245 -0
  361. package/src/components/descope-user-attribute/delete.svg +3 -0
  362. package/src/components/descope-user-attribute/edit.svg +3 -0
  363. package/src/components/descope-user-attribute/index.js +9 -0
  364. package/src/components/descope-user-auth-method/UserAuthMethodClass.js +204 -0
  365. package/src/components/descope-user-auth-method/green-v.svg +3 -0
  366. package/src/components/descope-user-auth-method/index.js +9 -0
  367. package/src/components/mapping-fields/descope-mappings-field/MappingsFieldClass.js +188 -0
  368. package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/MappingItem.js +167 -0
  369. package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/index.js +3 -0
  370. package/src/components/mapping-fields/descope-mappings-field/descope-mappings-field-internal/MappingsFieldInternal.js +257 -0
  371. package/src/components/mapping-fields/descope-mappings-field/descope-mappings-field-internal/index.js +3 -0
  372. package/src/components/mapping-fields/descope-mappings-field/index.js +14 -0
  373. package/src/components/mapping-fields/descope-saml-group-mappings/SamlGroupMappingsClass.js +116 -0
  374. package/src/components/mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/SamlGroupMappingsInternal.js +136 -0
  375. package/src/components/mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/index.js +3 -0
  376. package/src/components/mapping-fields/descope-saml-group-mappings/index.js +10 -0
  377. package/src/components/phone-fields/CountryCodes.js +1215 -0
  378. package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +313 -0
  379. package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +272 -0
  380. package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/index.js +6 -0
  381. package/src/components/phone-fields/descope-phone-field/helpers.js +52 -0
  382. package/src/components/phone-fields/descope-phone-field/index.js +9 -0
  383. package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js +236 -0
  384. package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +172 -0
  385. package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/index.js +5 -0
  386. package/src/components/phone-fields/descope-phone-input-box-field/index.js +9 -0
  387. package/src/components/phone-fields/helpers.js +5 -0
  388. package/src/constants.js +4 -0
  389. package/src/darkTheme.js +52 -0
  390. package/src/dev/index.js +3 -0
  391. package/src/helpers/componentHelpers.js +95 -0
  392. package/src/helpers/index.js +68 -0
  393. package/src/helpers/mixinsHelpers.js +10 -0
  394. package/src/helpers/themeHelpers/colorsHelpers.js +94 -0
  395. package/src/helpers/themeHelpers/index.js +175 -0
  396. package/src/helpers/themeHelpers/resetHelpers.js +144 -0
  397. package/src/index.cjs.js +60 -0
  398. package/src/index.d.ts +72 -0
  399. package/src/index.js +62 -0
  400. package/src/index.umd.js +28 -0
  401. package/src/mixins/activableMixin.js +14 -0
  402. package/src/mixins/changeMixin.js +22 -0
  403. package/src/mixins/componentNameValidationMixin.js +23 -0
  404. package/src/mixins/componentsContextMixin.js +12 -0
  405. package/src/mixins/createDynamicDataMixin.js +100 -0
  406. package/src/mixins/createProxy.js +58 -0
  407. package/src/mixins/createStyleMixin/helpers.js +106 -0
  408. package/src/mixins/createStyleMixin/index.js +167 -0
  409. package/src/mixins/draggableMixin.js +62 -0
  410. package/src/mixins/externalInputHelpers.js +93 -0
  411. package/src/mixins/externalInputMixin.js +170 -0
  412. package/src/mixins/hoverableMixin.js +13 -0
  413. package/src/mixins/index.js +13 -0
  414. package/src/mixins/inputEventsDispatchingMixin.js +76 -0
  415. package/src/mixins/inputValidationMixin.js +210 -0
  416. package/src/mixins/lifecycleEventsMixin.js +23 -0
  417. package/src/mixins/normalizeBooleanAttributesMixin.js +59 -0
  418. package/src/mixins/portalMixin.js +111 -0
  419. package/src/mixins/proxyInputMixin.js +242 -0
  420. package/src/theme/components/alert.js +88 -0
  421. package/src/theme/components/appsList.js +36 -0
  422. package/src/theme/components/badge.js +71 -0
  423. package/src/theme/components/button.js +133 -0
  424. package/src/theme/components/buttonSelectionGroup/baseButtonSelectionGroup.js +23 -0
  425. package/src/theme/components/buttonSelectionGroup/buttonMultiSelectionGroup.js +11 -0
  426. package/src/theme/components/buttonSelectionGroup/buttonSelectionGroup.js +11 -0
  427. package/src/theme/components/buttonSelectionGroup/buttonSelectionGroupItem.js +34 -0
  428. package/src/theme/components/calendar.js +91 -0
  429. package/src/theme/components/checkbox.js +39 -0
  430. package/src/theme/components/codeSnippet.js +145 -0
  431. package/src/theme/components/comboBox.js +93 -0
  432. package/src/theme/components/container.js +127 -0
  433. package/src/theme/components/dateField.js +32 -0
  434. package/src/theme/components/divider.js +49 -0
  435. package/src/theme/components/emailField.js +50 -0
  436. package/src/theme/components/enrichedText.js +40 -0
  437. package/src/theme/components/grid.js +52 -0
  438. package/src/theme/components/hybridField.js +22 -0
  439. package/src/theme/components/icon.js +7 -0
  440. package/src/theme/components/image.js +8 -0
  441. package/src/theme/components/index.js +124 -0
  442. package/src/theme/components/inputWrapper.js +130 -0
  443. package/src/theme/components/link.js +36 -0
  444. package/src/theme/components/list/list.js +56 -0
  445. package/src/theme/components/list/listItem.js +41 -0
  446. package/src/theme/components/loader/index.js +4 -0
  447. package/src/theme/components/loader/loaderLinear.js +45 -0
  448. package/src/theme/components/loader/loaderRadial.js +57 -0
  449. package/src/theme/components/logo.js +10 -0
  450. package/src/theme/components/mappingsField.js +30 -0
  451. package/src/theme/components/modal.js +19 -0
  452. package/src/theme/components/multiSelectComboBox.js +86 -0
  453. package/src/theme/components/newPassword.js +40 -0
  454. package/src/theme/components/notificationCard.js +54 -0
  455. package/src/theme/components/notpImage.js +10 -0
  456. package/src/theme/components/numberField.js +50 -0
  457. package/src/theme/components/passcode.js +47 -0
  458. package/src/theme/components/password.js +55 -0
  459. package/src/theme/components/phoneField.js +44 -0
  460. package/src/theme/components/phoneInputBoxField.js +50 -0
  461. package/src/theme/components/policyValidation.js +29 -0
  462. package/src/theme/components/radioGroup/radioButton.js +44 -0
  463. package/src/theme/components/radioGroup/radioGroup.js +42 -0
  464. package/src/theme/components/samlGroupMappings.js +20 -0
  465. package/src/theme/components/scopesList.js +15 -0
  466. package/src/theme/components/securityQuestionsSetup.js +12 -0
  467. package/src/theme/components/securityQuestionsVerify.js +16 -0
  468. package/src/theme/components/switchToggle.js +77 -0
  469. package/src/theme/components/textArea.js +48 -0
  470. package/src/theme/components/textField.js +63 -0
  471. package/src/theme/components/thirdPartyAppLogo.js +36 -0
  472. package/src/theme/components/totpImage.js +10 -0
  473. package/src/theme/components/uploadFile.js +66 -0
  474. package/src/theme/components/userAttribute.js +20 -0
  475. package/src/theme/components/userAuthMethod.js +20 -0
  476. package/src/theme/globals.js +181 -0
  477. package/src/theme/index.js +5 -0
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2016 - 2023 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
10
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11
+ */
12
+
13
+ /**
14
+ * @license
15
+ * Copyright (c) 2022 - 2023 Vaadin Ltd.
16
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
17
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 742.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[742],{21759:(t,e,i)=>{function s(t,e){return t.split(".").reduce(((t,e)=>t?t[e]:void 0),e)}i.d(e,{J:()=>s})},15685:(t,e,i)=>{function s(t){window.Vaadin&&window.Vaadin.templateRendererCallback?window.Vaadin.templateRendererCallback(t):t.querySelector("template")&&console.warn(`WARNING: <template> inside <${t.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`)}i.d(e,{h:()=>s})},37153:(t,e,i)=>{i.d(e,{Y:()=>c});var s=i(28186),l=i(14310),h=i(49419);const r=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),o=r&&r[1]>=8,a={_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physicalAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidth:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisibleIndexVal:null,_maxPages:2,_templateCost:0,get _physicalBottom(){return this._physicalTop+this._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHeight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hiddenContentSize(){return this._physicalSize-this._viewportHeight},get _maxScrollTop(){return this._estScrollHeight-this._viewportHeight+this._scrollOffset},get _maxVirtualStart(){const t=this._virtualCount;return Math.max(0,t-this._physicalCount)},get _virtualStart(){return this._virtualStartVal||0},set _virtualStart(t){t=this._clamp(t,0,this._maxVirtualStart),this._virtualStartVal=t},get _physicalStart(){return this._physicalStartVal||0},set _physicalStart(t){(t%=this._physicalCount)<0&&(t=this._physicalCount+t),this._physicalStartVal=t},get _physicalEnd(){return(this._physicalStart+this._physicalCount-1)%this._physicalCount},get _physicalCount(){return this._physicalCountVal||0},set _physicalCount(t){this._physicalCountVal=t},get _optPhysicalSize(){return 0===this._viewportHeight?1/0:this._viewportHeight*this._maxPages},get _isVisible(){return Boolean(this.offsetWidth||this.offsetHeight)},get firstVisibleIndex(){let t=this._firstVisibleIndexVal;if(null==t){let e=this._physicalTop+this._scrollOffset;t=this._iterateItems(((t,i)=>{if(e+=this._getPhysicalSizeIncrement(t),e>this._scrollPosition)return i}))||0,this._firstVisibleIndexVal=t}return t},get lastVisibleIndex(){let t=this._lastVisibleIndexVal;if(null==t){let e=this._physicalTop+this._scrollOffset;this._iterateItems(((i,s)=>{e<this._scrollBottom&&(t=s),e+=this._getPhysicalSizeIncrement(i)})),this._lastVisibleIndexVal=t}return t},get _scrollOffset(){return this._scrollerPaddingTop+this.scrollOffset},_scrollHandler(){const t=Math.max(0,Math.min(this._maxScrollTop,this._scrollTop));let e=t-this._scrollPosition;const i=e>=0;if(this._scrollPosition=t,this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(e)>this._physicalSize&&this._physicalSize>0){e-=this._scrollOffset;const t=Math.round(e/this._physicalAverage);this._virtualStart+=t,this._physicalStart+=t,this._physicalTop=Math.min(Math.floor(this._virtualStart)*this._physicalAverage,this._scrollPosition),this._update()}else if(this._physicalCount>0){const t=this._getReusables(i);i?(this._physicalTop=t.physicalTop,this._virtualStart+=t.indexes.length,this._physicalStart+=t.indexes.length):(this._virtualStart-=t.indexes.length,this._physicalStart-=t.indexes.length),this._update(t.indexes,i?null:t.indexes),this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,0),s._3)}},_getReusables(t){let e,i,s;const l=[],h=this._hiddenContentSize*this._ratio,r=this._virtualStart,o=this._virtualEnd,a=this._physicalCount;let n=this._physicalTop+this._scrollOffset;const _=this._physicalBottom+this._scrollOffset,c=this._scrollPosition,d=this._scrollBottom;for(t?(e=this._physicalStart,i=c-n):(e=this._physicalEnd,i=_-d);s=this._getPhysicalSizeIncrement(e),i-=s,!(l.length>=a||i<=h);)if(t){if(o+l.length+1>=this._virtualCount)break;if(n+s>=c-this._scrollOffset)break;l.push(e),n+=s,e=(e+1)%a}else{if(r-l.length<=0)break;if(n+this._physicalSize-s<=d)break;l.push(e),n-=s,e=0===e?a-1:e-1}return{indexes:l,physicalTop:n-this._scrollOffset}},_update(t,e){if(!(t&&0===t.length||0===this._physicalCount)){if(this._assignModels(t),this._updateMetrics(t),e)for(;e.length;){const t=e.pop();this._physicalTop-=this._getPhysicalSizeIncrement(t)}this._positionItems(),this._updateScrollerSize()}},_isClientFull(){return 0!==this._scrollBottom&&this._physicalBottom-1>=this._scrollBottom&&this._physicalTop<=this._scrollPosition},_increasePoolIfNeeded(t){const e=this._clamp(this._physicalCount+t,3,this._virtualCount-this._virtualStart)-this._physicalCount;let i=Math.round(.5*this._physicalCount);if(!(e<0)){if(e>0){const t=window.performance.now();[].push.apply(this._physicalItems,this._createPool(e));for(let t=0;t<e;t++)this._physicalSizes.push(0);this._physicalCount+=e,this._physicalStart>this._physicalEnd&&this._isIndexRendered(this._focusedVirtualIndex)&&this._getPhysicalIndex(this._focusedVirtualIndex)<this._physicalEnd&&(this._physicalStart+=e),this._update(),this._templateCost=(window.performance.now()-t)/e,i=Math.round(.5*this._physicalCount)}this._virtualEnd>=this._virtualCount-1||0===i||(this._isClientFull()?this._physicalSize<this._optPhysicalSize&&this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,this._clamp(Math.round(50/this._templateCost),1,i)),s.g8):this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,i),s._3))}},_render(){if(this.isAttached&&this._isVisible)if(0!==this._physicalCount){const t=this._getReusables(!0);this._physicalTop=t.physicalTop,this._virtualStart+=t.indexes.length,this._physicalStart+=t.indexes.length,this._update(t.indexes),this._update(),this._increasePoolIfNeeded(0)}else this._virtualCount>0&&(this.updateViewportBoundaries(),this._increasePoolIfNeeded(3))},_itemsChanged(t){"items"===t.path&&(this._virtualStart=0,this._physicalTop=0,this._virtualCount=this.items?this.items.length:0,this._physicalIndexForKey={},this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._physicalItems||(this._physicalItems=[]),this._physicalSizes||(this._physicalSizes=[]),this._physicalStart=0,this._scrollTop>this._scrollOffset&&this._resetScrollPosition(0),this._debounce("_render",this._render,s.G$))},_iterateItems(t,e){let i,s,l,h;if(2===arguments.length&&e){for(h=0;h<e.length;h++)if(i=e[h],s=this._computeVidx(i),null!=(l=t.call(this,i,s)))return l}else{for(i=this._physicalStart,s=this._virtualStart;i<this._physicalCount;i++,s++)if(null!=(l=t.call(this,i,s)))return l;for(i=0;i<this._physicalStart;i++,s++)if(null!=(l=t.call(this,i,s)))return l}},_computeVidx(t){return t>=this._physicalStart?this._virtualStart+(t-this._physicalStart):this._virtualStart+(this._physicalCount-this._physicalStart)+t},_positionItems(){this._adjustScrollPosition();let t=this._physicalTop;this._iterateItems((e=>{this.translate3d(0,`${t}px`,0,this._physicalItems[e]),t+=this._physicalSizes[e]}))},_getPhysicalSizeIncrement(t){return this._physicalSizes[t]},_adjustScrollPosition(){const t=0===this._virtualStart?this._physicalTop:Math.min(this._scrollPosition+this._physicalTop,0);if(0!==t){this._physicalTop-=t;const e=this._scrollPosition;!o&&e>0&&this._resetScrollPosition(e-t)}},_resetScrollPosition(t){this.scrollTarget&&t>=0&&(this._scrollTop=t,this._scrollPosition=this._scrollTop)},_updateScrollerSize(t){const e=this._physicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0)*this._physicalAverage;this._estScrollHeight=e,(t||0===this._scrollHeight||this._scrollPosition>=e-this._physicalSize||Math.abs(e-this._scrollHeight)>=this._viewportHeight)&&(this.$.items.style.height=`${e}px`,this._scrollHeight=e)},scrollToIndex(t){if("number"!=typeof t||t<0||t>this.items.length-1)return;if((0,h.bX)(),0===this._physicalCount)return;t=this._clamp(t,0,this._virtualCount-1),(!this._isIndexRendered(t)||t>=this._maxVirtualStart)&&(this._virtualStart=t-1),this._assignModels(),this._updateMetrics(),this._physicalTop=this._virtualStart*this._physicalAverage;let e=this._physicalStart,i=this._virtualStart,s=0;const l=this._hiddenContentSize;for(;i<t&&s<=l;)s+=this._getPhysicalSizeIncrement(e),e=(e+1)%this._physicalCount,i+=1;this._updateScrollerSize(!0),this._positionItems(),this._resetScrollPosition(this._physicalTop+this._scrollOffset+s),this._increasePoolIfNeeded(0),this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null},_resetAverage(){this._physicalAverage=0,this._physicalAverageCount=0},_resizeHandler(){this._debounce("_render",(()=>{this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._isVisible?(this.updateViewportBoundaries(),this.toggleScrollListener(!0),this._resetAverage(),this._render()):this.toggleScrollListener(!1)}),s.G$)},_isIndexRendered(t){return t>=this._virtualStart&&t<=this._virtualEnd},_getPhysicalIndex(t){return(this._physicalStart+(t-this._virtualStart))%this._physicalCount},_clamp:(t,e,i)=>Math.min(i,Math.max(e,t)),_debounce(t,e,i){this._debouncers||(this._debouncers={}),this._debouncers[t]=h.aq.debounce(this._debouncers[t],i,e.bind(this)),(0,h.Oy)(this._debouncers[t])}},n=1e3;class _{constructor({createElements:t,updateElement:e,scrollTarget:i,scrollContainer:s,elementsContainer:l,reorderElements:h}){this.isAttached=!0,this._vidxOffset=0,this.createElements=t,this.updateElement=e,this.scrollTarget=i,this.scrollContainer=s,this.elementsContainer=l||s,this.reorderElements=h,this._maxPages=1.3,this.__placeholderHeight=200,this.__elementHeightQueue=Array(10),this.timeouts={SCROLL_REORDER:500,IGNORE_WHEEL:500,FIX_INVALID_ITEM_POSITIONING:100},this.__resizeObserver=new ResizeObserver((()=>this._resizeHandler())),"visible"===getComputedStyle(this.scrollTarget).overflow&&(this.scrollTarget.style.overflow="auto"),"static"===getComputedStyle(this.scrollContainer).position&&(this.scrollContainer.style.position="relative"),this.__resizeObserver.observe(this.scrollTarget),this.scrollTarget.addEventListener("scroll",(()=>this._scrollHandler())),this._scrollLineHeight=this._getScrollLineHeight(),this.scrollTarget.addEventListener("wheel",(t=>this.__onWheel(t))),this.reorderElements&&(this.scrollTarget.addEventListener("mousedown",(()=>{this.__mouseDown=!0})),this.scrollTarget.addEventListener("mouseup",(()=>{this.__mouseDown=!1,this.__pendingReorder&&this.__reorderElements()})))}get scrollOffset(){return 0}get adjustedFirstVisibleIndex(){return this.firstVisibleIndex+this._vidxOffset}get adjustedLastVisibleIndex(){return this.lastVisibleIndex+this._vidxOffset}get _maxVirtualIndexOffset(){return this.size-this._virtualCount}__hasPlaceholders(){return this.__getVisibleElements().some((t=>t.__virtualizerPlaceholder))}scrollToIndex(t){if("number"!=typeof t||isNaN(t)||0===this.size||!this.scrollTarget.offsetHeight)return;delete this.__pendingScrollToIndex,this._physicalCount<=3&&this.flush(),t=this._clamp(t,0,this.size-1);const e=this.__getVisibleElements().length;let i=Math.floor(t/this.size*this._virtualCount);this._virtualCount-i<e?(i=this._virtualCount-(this.size-t),this._vidxOffset=this._maxVirtualIndexOffset):i<e?t<n?(i=t,this._vidxOffset=0):(i=n,this._vidxOffset=t-i):this._vidxOffset=t-i,this.__skipNextVirtualIndexAdjust=!0,super.scrollToIndex(i),this.adjustedFirstVisibleIndex!==t&&this._scrollTop<this._maxScrollTop&&!this.grid&&(this._scrollTop-=this.__getIndexScrollOffset(t)||0),this._scrollHandler(),this.__hasPlaceholders()&&(this.__pendingScrollToIndex=t)}flush(){const t=this._physicalCount;0!==this.scrollTarget.offsetHeight&&(this._resizeHandler(),(0,h.bX)(),this._scrollHandler(),this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.flush(),this.__scrollReorderDebouncer&&this.__scrollReorderDebouncer.flush(),this.__debouncerWheelAnimationFrame&&this.__debouncerWheelAnimationFrame.flush(),this._physicalCount!==t&&this.flush())}update(t=0,e=this.size-1){const i=[];this.__getVisibleElements().forEach((s=>{s.__virtualIndex>=t&&s.__virtualIndex<=e&&(this.__updateElement(s,s.__virtualIndex,!0),i.push(s))})),this.__afterElementsUpdated(i)}_updateMetrics(t){(0,h.bX)();let e=0,i=0;const s=this._physicalAverageCount,l=this._physicalAverage;this._iterateItems(((t,s)=>{i+=this._physicalSizes[t],this._physicalSizes[t]=Math.ceil(this.__getBorderBoxHeight(this._physicalItems[t])),e+=this._physicalSizes[t],this._physicalAverageCount+=this._physicalSizes[t]?1:0}),t),this._physicalSize=this._physicalSize+e-i,this._physicalAverageCount!==s&&(this._physicalAverage=Math.round((l*s+e)/this._physicalAverageCount))}__getBorderBoxHeight(t){const e=getComputedStyle(t),i=parseFloat(e.height)||0;return"border-box"===e.boxSizing?i:i+(parseFloat(e.paddingBottom)||0)+(parseFloat(e.paddingTop)||0)+(parseFloat(e.borderBottomWidth)||0)+(parseFloat(e.borderTopWidth)||0)}__updateElement(t,e,i){t.__virtualizerPlaceholder&&(t.style.paddingTop="",t.__virtualizerPlaceholder=!1),this.__preventElementUpdates||t.__lastUpdatedIndex===e&&!i||(this.updateElement(t,e),t.__lastUpdatedIndex=e)}__afterElementsUpdated(t){t.forEach((t=>{const e=t.offsetHeight;if(0===e)t.style.paddingTop=`${this.__placeholderHeight}px`,t.__virtualizerPlaceholder=!0,this.__placeholderClearDebouncer=h.aq.debounce(this.__placeholderClearDebouncer,s.G$,(()=>this._resizeHandler()));else{this.__elementHeightQueue.push(e),this.__elementHeightQueue.shift();const t=this.__elementHeightQueue.filter((t=>void 0!==t));this.__placeholderHeight=Math.round(t.reduce(((t,e)=>t+e),0)/t.length)}})),void 0===this.__pendingScrollToIndex||this.__hasPlaceholders()||this.scrollToIndex(this.__pendingScrollToIndex)}__getIndexScrollOffset(t){const e=this.__getVisibleElements().find((e=>e.__virtualIndex===t));return e?this.scrollTarget.getBoundingClientRect().top-e.getBoundingClientRect().top:void 0}get size(){return this.__size}set size(t){if(t===this.size)return;let e,i;if(this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.cancel(),this._debouncers&&this._debouncers._increasePoolIfNeeded&&this._debouncers._increasePoolIfNeeded.cancel(),this.__preventElementUpdates=!0,t>0&&(e=this.adjustedFirstVisibleIndex,i=this.__getIndexScrollOffset(e)),this.__size=t,this._itemsChanged({path:"items"}),(0,h.bX)(),t>0){e=Math.min(e,t-1),this.scrollToIndex(e);const s=this.__getIndexScrollOffset(e);void 0!==i&&void 0!==s&&(this._scrollTop+=i-s)}this.__preventElementUpdates=!1,this._isVisible||this._assignModels(),this.elementsContainer.children.length||requestAnimationFrame((()=>this._resizeHandler())),this._resizeHandler(),(0,h.bX)(),this._debounce("_update",this._update,s._3)}get _scrollTop(){return this.scrollTarget.scrollTop}set _scrollTop(t){this.scrollTarget.scrollTop=t}get items(){return{length:Math.min(this.size,1e5)}}get offsetHeight(){return this.scrollTarget.offsetHeight}get $(){return{items:this.scrollContainer}}updateViewportBoundaries(){const t=window.getComputedStyle(this.scrollTarget);this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(t["padding-top"],10),this._isRTL=Boolean("rtl"===t.direction),this._viewportWidth=this.elementsContainer.offsetWidth,this._viewportHeight=this.scrollTarget.offsetHeight,this._scrollPageHeight=this._viewportHeight-this._scrollLineHeight,this.grid&&this._updateGridMetrics()}setAttribute(){}_createPool(t){const e=this.createElements(t),i=document.createDocumentFragment();return e.forEach((t=>{t.style.position="absolute",i.appendChild(t),this.__resizeObserver.observe(t)})),this.elementsContainer.appendChild(i),e}_assignModels(t){const e=[];this._iterateItems(((t,i)=>{const s=this._physicalItems[t];s.hidden=i>=this.size,s.hidden?delete s.__lastUpdatedIndex:(s.__virtualIndex=i+(this._vidxOffset||0),this.__updateElement(s,s.__virtualIndex),e.push(s))}),t),this.__afterElementsUpdated(e)}_isClientFull(){return setTimeout((()=>{this.__clientFull=!0})),this.__clientFull||super._isClientFull()}translate3d(t,e,i,s){s.style.transform=`translateY(${e})`}toggleScrollListener(){}_scrollHandler(){if(0===this.scrollTarget.offsetHeight)return;this._adjustVirtualIndexOffset(this._scrollTop-(this.__previousScrollTop||0));const t=this.scrollTarget.scrollTop-this._scrollPosition;if(super._scrollHandler(),0!==this._physicalCount){const e=t>=0,i=this._getReusables(!e);i.indexes.length&&(this._physicalTop=i.physicalTop,e?(this._virtualStart-=i.indexes.length,this._physicalStart-=i.indexes.length):(this._virtualStart+=i.indexes.length,this._physicalStart+=i.indexes.length),this._resizeHandler())}t&&(this.__fixInvalidItemPositioningDebouncer=h.aq.debounce(this.__fixInvalidItemPositioningDebouncer,s.EV.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING),(()=>this.__fixInvalidItemPositioning()))),this.reorderElements&&(this.__scrollReorderDebouncer=h.aq.debounce(this.__scrollReorderDebouncer,s.EV.after(this.timeouts.SCROLL_REORDER),(()=>this.__reorderElements()))),this.__previousScrollTop=this._scrollTop,0===this._scrollTop&&0!==this.firstVisibleIndex&&Math.abs(t)>0&&this.scrollToIndex(0)}__fixInvalidItemPositioning(){if(!this.scrollTarget.isConnected)return;const t=this._physicalTop>this._scrollTop,e=this._physicalBottom<this._scrollBottom,i=0===this.adjustedFirstVisibleIndex,s=this.adjustedLastVisibleIndex===this.size-1;if(t&&!i||e&&!s){const t=e,i=this._ratio;this._ratio=0,this._scrollPosition=this._scrollTop+(t?-1:1),this._scrollHandler(),this._ratio=i}}__onWheel(t){if(t.ctrlKey||this._hasScrolledAncestor(t.target,t.deltaX,t.deltaY))return;let e=t.deltaY;if(t.deltaMode===WheelEvent.DOM_DELTA_LINE?e*=this._scrollLineHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(e*=this._scrollPageHeight),this._deltaYAcc||(this._deltaYAcc=0),this._wheelAnimationFrame)return this._deltaYAcc+=e,void t.preventDefault();e+=this._deltaYAcc,this._deltaYAcc=0,this._wheelAnimationFrame=!0,this.__debouncerWheelAnimationFrame=h.aq.debounce(this.__debouncerWheelAnimationFrame,s.G$,(()=>{this._wheelAnimationFrame=!1}));const i=Math.abs(t.deltaX)+Math.abs(e);this._canScroll(this.scrollTarget,t.deltaX,e)?(t.preventDefault(),this.scrollTarget.scrollTop+=e,this.scrollTarget.scrollLeft+=t.deltaX,this._hasResidualMomentum=!0,this._ignoreNewWheel=!0,this._debouncerIgnoreNewWheel=h.aq.debounce(this._debouncerIgnoreNewWheel,s.EV.after(this.timeouts.IGNORE_WHEEL),(()=>{this._ignoreNewWheel=!1}))):this._hasResidualMomentum&&i<=this._previousMomentum||this._ignoreNewWheel?t.preventDefault():i>this._previousMomentum&&(this._hasResidualMomentum=!1),this._previousMomentum=i}_hasScrolledAncestor(t,e,i){return t!==this.scrollTarget&&t!==this.scrollTarget.getRootNode().host&&(!(!this._canScroll(t,e,i)||-1===["auto","scroll"].indexOf(getComputedStyle(t).overflow))||(t!==this&&t.parentElement?this._hasScrolledAncestor(t.parentElement,e,i):void 0))}_canScroll(t,e,i){return i>0&&t.scrollTop<t.scrollHeight-t.offsetHeight||i<0&&t.scrollTop>0||e>0&&t.scrollLeft<t.scrollWidth-t.offsetWidth||e<0&&t.scrollLeft>0}_increasePoolIfNeeded(t){if(this._physicalCount>2&&t){const e=Math.ceil(this._optPhysicalSize/this._physicalAverage)-this._physicalCount;super._increasePoolIfNeeded(Math.max(t,Math.min(100,e)))}else super._increasePoolIfNeeded(t)}_getScrollLineHeight(){const t=document.createElement("div");t.style.fontSize="initial",t.style.display="none",document.body.appendChild(t);const e=window.getComputedStyle(t).fontSize;return document.body.removeChild(t),e?window.parseInt(e):void 0}__getVisibleElements(){return Array.from(this.elementsContainer.children).filter((t=>!t.hidden))}__reorderElements(){if(this.__mouseDown)return void(this.__pendingReorder=!0);this.__pendingReorder=!1;const t=this._virtualStart+(this._vidxOffset||0),e=this.__getVisibleElements(),i=e.find((t=>t.contains(this.elementsContainer.getRootNode().activeElement)||t.contains(this.scrollTarget.getRootNode().activeElement)))||e[0];if(!i)return;const s=i.__virtualIndex-t,h=e.indexOf(i)-s;if(h>0)for(let t=0;t<h;t++)this.elementsContainer.appendChild(e[t]);else if(h<0)for(let t=e.length+h;t<e.length;t++)this.elementsContainer.insertBefore(e[t],e[0]);if(l.nr){const{transform:t}=this.scrollTarget.style;this.scrollTarget.style.transform="translateZ(0)",setTimeout((()=>{this.scrollTarget.style.transform=t}))}}_adjustVirtualIndexOffset(t){const e=this._maxVirtualIndexOffset;if(this._virtualCount>=this.size)this._vidxOffset=0;else if(this.__skipNextVirtualIndexAdjust)this.__skipNextVirtualIndexAdjust=!1;else if(Math.abs(t)>1e4){const t=this._scrollTop/(this.scrollTarget.scrollHeight-this.scrollTarget.clientHeight);this._vidxOffset=Math.round(t*e)}else{const t=this._vidxOffset,i=n,s=100;0===this._scrollTop?(this._vidxOffset=0,t!==this._vidxOffset&&super.scrollToIndex(0)):this.firstVisibleIndex<i&&this._vidxOffset>0&&(this._vidxOffset-=Math.min(this._vidxOffset,s),super.scrollToIndex(this.firstVisibleIndex+(t-this._vidxOffset))),this._scrollTop>=this._maxScrollTop&&this._maxScrollTop>0?(this._vidxOffset=e,t!==this._vidxOffset&&super.scrollToIndex(this._virtualCount-1)):this.firstVisibleIndex>this._virtualCount-i&&this._vidxOffset<e&&(this._vidxOffset+=Math.min(e-this._vidxOffset,s),super.scrollToIndex(this.firstVisibleIndex-(this._vidxOffset-t)))}}}Object.setPrototypeOf(_.prototype,a);class c{constructor(t){this.__adapter=new _(t)}get firstVisibleIndex(){return this.__adapter.adjustedFirstVisibleIndex}get lastVisibleIndex(){return this.__adapter.adjustedLastVisibleIndex}get size(){return this.__adapter.size}set size(t){this.__adapter.size=t}scrollToIndex(t){this.__adapter.scrollToIndex(t)}update(t=0,e=this.size-1){this.__adapter.update(t,e)}flush(){this.__adapter.flush()}}},21860:(t,e,i)=>{i.d(e,{f:()=>l});var s=i(95925);class l extends s.r{constructor(t,e){super(t,"input","input",{initializer:(t,i)=>{i.value&&(t.value=i.value),i.type&&t.setAttribute("type",i.type),t.id=this.defaultId,"function"==typeof e&&e(t)},useUniqueId:!0})}}}}]);
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
4
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ * Code distributed by Google as part of the polymer project is also
8
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ */
10
+
11
+ /**
12
+ * @license
13
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
14
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15
+ */
16
+
17
+ /**
18
+ * @license
19
+ * Copyright (c) 2023 Vaadin Ltd.
20
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
21
+ */
@@ -0,0 +1,419 @@
1
+ /*! For license information please see 7979.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[7979],{84312:(t,e,o)=>{o.d(e,{$:()=>v});var r=o(98633),a=o(56096),i=o(65211),n=o(27150),s=o(83798),l=o(57224);const d=o(44720).AH`
3
+ :host {
4
+ display: inline-block;
5
+ position: relative;
6
+ outline: none;
7
+ white-space: nowrap;
8
+ -webkit-user-select: none;
9
+ -moz-user-select: none;
10
+ user-select: none;
11
+ }
12
+
13
+ :host([hidden]) {
14
+ display: none !important;
15
+ }
16
+
17
+ /* Aligns the button with form fields when placed on the same line.
18
+ Note, to make it work, the form fields should have the same "::before" pseudo-element. */
19
+ .vaadin-button-container::before {
20
+ content: '\\2003';
21
+ display: inline-block;
22
+ width: 0;
23
+ max-height: 100%;
24
+ }
25
+
26
+ .vaadin-button-container {
27
+ display: inline-flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ text-align: center;
31
+ width: 100%;
32
+ height: 100%;
33
+ min-height: inherit;
34
+ text-shadow: inherit;
35
+ }
36
+
37
+ [part='prefix'],
38
+ [part='suffix'] {
39
+ flex: none;
40
+ }
41
+
42
+ [part='label'] {
43
+ white-space: nowrap;
44
+ overflow: hidden;
45
+ text-overflow: ellipsis;
46
+ }
47
+
48
+ @media (forced-colors: active) {
49
+ :host {
50
+ outline: 1px solid;
51
+ outline-offset: -1px;
52
+ }
53
+
54
+ :host([focused]) {
55
+ outline-width: 2px;
56
+ }
57
+
58
+ :host([disabled]) {
59
+ outline-color: GrayText;
60
+ }
61
+ }
62
+ `;var u=o(63437),h=o(73595),c=o(45898);const p=t=>class extends((0,u.e)((0,c.l)((0,h.y)(t)))){static get properties(){return{tabindex:{type:Number,value:0,reflectToAttribute:!0}}}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button")}_onKeyDown(t){super._onKeyDown(t),t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||this._activeKeys.includes(t.key)&&(t.preventDefault(),this.click())}};(0,l.SF)("vaadin-button",d,{moduleId:"vaadin-button-styles"});class v extends(p((0,n.q)((0,l.cp)((0,a.w)(r.Pu))))){static get is(){return"vaadin-button"}static get template(){return r.qy`
63
+ <div class="vaadin-button-container">
64
+ <span part="prefix" aria-hidden="true">
65
+ <slot name="prefix"></slot>
66
+ </span>
67
+ <span part="label">
68
+ <slot></slot>
69
+ </span>
70
+ <span part="suffix" aria-hidden="true">
71
+ <slot name="suffix"></slot>
72
+ </span>
73
+ </div>
74
+ <slot name="tooltip"></slot>
75
+ `}ready(){super.ready(),this._tooltipController=new s.I(this),this.addController(this._tooltipController)}}(0,i.X)(v)},89685:(t,e,o)=>{o.d(e,{x:()=>a}),o(44497),o(4082),o(19155),o(40999),o(52301);var r=o(57224);const a=r.AH`
76
+ :host {
77
+ /* Sizing */
78
+ --lumo-button-size: var(--lumo-size-m);
79
+ min-width: var(--vaadin-button-min-width, calc(var(--_button-size) * 2));
80
+ height: var(--_button-size);
81
+ padding: var(--vaadin-button-padding, 0 calc(var(--_button-size) / 3 + var(--lumo-border-radius-m) / 2));
82
+ margin: var(--vaadin-button-margin, var(--lumo-space-xs) 0);
83
+ box-sizing: border-box;
84
+ /* Style */
85
+ font-family: var(--lumo-font-family);
86
+ font-size: var(--vaadin-button-font-size, var(--lumo-font-size-m));
87
+ font-weight: var(--vaadin-button-font-weight, 500);
88
+ color: var(--_lumo-button-text-color);
89
+ background: var(--_lumo-button-background);
90
+ border: var(--vaadin-button-border, none);
91
+ border-radius: var(--vaadin-button-border-radius, var(--lumo-border-radius-m));
92
+ cursor: var(--lumo-clickable-cursor);
93
+ -webkit-tap-highlight-color: transparent;
94
+ -webkit-font-smoothing: antialiased;
95
+ -moz-osx-font-smoothing: grayscale;
96
+ flex-shrink: 0;
97
+ --_button-size: var(--vaadin-button-height, var(--lumo-button-size));
98
+ --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
99
+ --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
100
+ /* Used by notification */
101
+ --_lumo-button-background: var(--vaadin-button-background, var(--lumo-contrast-5pct));
102
+ --_lumo-button-text-color: var(--vaadin-button-text-color, var(--lumo-primary-text-color));
103
+ --_lumo-button-primary-background: var(--vaadin-button-primary-background, var(--lumo-primary-color));
104
+ --_lumo-button-primary-text-color: var(--vaadin-button-primary-text-color, var(--lumo-primary-contrast-color));
105
+ }
106
+
107
+ /* Set only for the internal parts so we don't affect the host vertical alignment */
108
+ [part='label'],
109
+ [part='prefix'],
110
+ [part='suffix'] {
111
+ line-height: var(--lumo-line-height-xs);
112
+ }
113
+
114
+ [part='label'] {
115
+ padding: calc(var(--lumo-button-size) / 6) 0;
116
+ }
117
+
118
+ :host([theme~='small']) {
119
+ font-size: var(--lumo-font-size-s);
120
+ --lumo-button-size: var(--lumo-size-s);
121
+ }
122
+
123
+ :host([theme~='large']) {
124
+ font-size: var(--lumo-font-size-l);
125
+ --lumo-button-size: var(--lumo-size-l);
126
+ }
127
+
128
+ /* For interaction states */
129
+ :host::before,
130
+ :host::after {
131
+ content: '';
132
+ /* We rely on the host always being relative */
133
+ position: absolute;
134
+ z-index: 1;
135
+ inset: 0;
136
+ background-color: currentColor;
137
+ border-radius: inherit;
138
+ opacity: 0;
139
+ pointer-events: none;
140
+ }
141
+
142
+ /* Hover */
143
+
144
+ @media (any-hover: hover) {
145
+ :host(:hover)::before {
146
+ opacity: 0.02;
147
+ }
148
+ }
149
+
150
+ /* Active */
151
+
152
+ :host::after {
153
+ transition: opacity 1.4s, transform 0.1s;
154
+ filter: blur(8px);
155
+ }
156
+
157
+ :host([active])::before {
158
+ opacity: 0.05;
159
+ transition-duration: 0s;
160
+ }
161
+
162
+ :host([active])::after {
163
+ opacity: 0.1;
164
+ transition-duration: 0s, 0s;
165
+ transform: scale(0);
166
+ }
167
+
168
+ /* Keyboard focus */
169
+
170
+ :host([focus-ring]) {
171
+ box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
172
+ }
173
+
174
+ :host([theme~='primary'][focus-ring]) {
175
+ box-shadow: 0 0 0 1px var(--lumo-base-color), 0 0 0 3px var(--lumo-primary-color-50pct);
176
+ }
177
+
178
+ /* Types (primary, tertiary, tertiary-inline */
179
+
180
+ :host([theme~='tertiary']),
181
+ :host([theme~='tertiary-inline']) {
182
+ --_background: transparent !important;
183
+ background: var(--vaadin-button-tertiary-background, var(--_background));
184
+ min-width: 0;
185
+ }
186
+
187
+ :host([theme~='tertiary']) {
188
+ border: var(--vaadin-button-tertiary-border, none);
189
+ color: var(--vaadin-button-tertiary-text-color, var(--lumo-primary-text-color));
190
+ font-weight: var(--vaadin-button-tertiary-font-weight, 500);
191
+ padding: var(--vaadin-button-tertiary-padding, 0 calc(var(--_button-size) / 6));
192
+ }
193
+
194
+ :host([theme~='tertiary-inline'])::before {
195
+ display: none;
196
+ }
197
+
198
+ :host([theme~='tertiary-inline']) {
199
+ margin: 0;
200
+ height: auto;
201
+ padding: 0;
202
+ line-height: inherit;
203
+ font-size: inherit;
204
+ }
205
+
206
+ :host([theme~='tertiary-inline']) [part='label'] {
207
+ padding: 0;
208
+ overflow: visible;
209
+ line-height: inherit;
210
+ }
211
+
212
+ :host([theme~='primary']) {
213
+ background: var(--_lumo-button-primary-background);
214
+ border: var(--vaadin-button-primary-border, none);
215
+ color: var(--_lumo-button-primary-text-color);
216
+ font-weight: var(--vaadin-button-primary-font-weight, 600);
217
+ min-width: calc(var(--lumo-button-size) * 2.5);
218
+ }
219
+
220
+ :host([theme~='primary'])::before {
221
+ background-color: black;
222
+ }
223
+
224
+ @media (any-hover: hover) {
225
+ :host([theme~='primary']:hover)::before {
226
+ opacity: 0.05;
227
+ }
228
+ }
229
+
230
+ :host([theme~='primary'][active])::before {
231
+ opacity: 0.1;
232
+ }
233
+
234
+ :host([theme~='primary'][active])::after {
235
+ opacity: 0.2;
236
+ }
237
+
238
+ /* Colors (success, error, contrast) */
239
+
240
+ :host([theme~='success']) {
241
+ color: var(--lumo-success-text-color);
242
+ }
243
+
244
+ :host([theme~='success'][theme~='primary']) {
245
+ background-color: var(--lumo-success-color);
246
+ color: var(--lumo-success-contrast-color);
247
+ }
248
+
249
+ :host([theme~='error']) {
250
+ color: var(--lumo-error-text-color);
251
+ }
252
+
253
+ :host([theme~='error'][theme~='primary']) {
254
+ background-color: var(--lumo-error-color);
255
+ color: var(--lumo-error-contrast-color);
256
+ }
257
+
258
+ :host([theme~='contrast']) {
259
+ color: var(--lumo-contrast);
260
+ }
261
+
262
+ :host([theme~='contrast'][theme~='primary']) {
263
+ background-color: var(--lumo-contrast);
264
+ color: var(--lumo-base-color);
265
+ }
266
+
267
+ /* Disabled state. Keep selectors after other color variants. */
268
+
269
+ :host([disabled]) {
270
+ pointer-events: none;
271
+ color: var(--lumo-disabled-text-color);
272
+ }
273
+
274
+ :host([theme~='primary'][disabled]) {
275
+ background-color: var(--lumo-contrast-30pct);
276
+ color: var(--lumo-base-color);
277
+ }
278
+
279
+ :host([theme~='primary'][disabled]) [part] {
280
+ opacity: 0.7;
281
+ }
282
+
283
+ /* Icons */
284
+
285
+ [part] ::slotted(vaadin-icon) {
286
+ display: inline-block;
287
+ width: var(--lumo-icon-size-m);
288
+ height: var(--lumo-icon-size-m);
289
+ }
290
+
291
+ /* Vaadin icons are based on a 16x16 grid (unlike Lumo and Material icons with 24x24), so they look too big by default */
292
+ [part] ::slotted(vaadin-icon[icon^='vaadin:']) {
293
+ padding: 0.25em;
294
+ box-sizing: border-box !important;
295
+ }
296
+
297
+ [part='prefix'] {
298
+ margin-left: -0.25em;
299
+ margin-right: 0.25em;
300
+ }
301
+
302
+ [part='suffix'] {
303
+ margin-left: 0.25em;
304
+ margin-right: -0.25em;
305
+ }
306
+
307
+ /* Icon-only */
308
+
309
+ :host([theme~='icon']:not([theme~='tertiary-inline'])) {
310
+ min-width: var(--lumo-button-size);
311
+ padding-left: calc(var(--lumo-button-size) / 4);
312
+ padding-right: calc(var(--lumo-button-size) / 4);
313
+ }
314
+
315
+ :host([theme~='icon']) [part='prefix'],
316
+ :host([theme~='icon']) [part='suffix'] {
317
+ margin-left: 0;
318
+ margin-right: 0;
319
+ }
320
+
321
+ /* RTL specific styles */
322
+
323
+ :host([dir='rtl']) [part='prefix'] {
324
+ margin-left: 0.25em;
325
+ margin-right: -0.25em;
326
+ }
327
+
328
+ :host([dir='rtl']) [part='suffix'] {
329
+ margin-left: -0.25em;
330
+ margin-right: 0.25em;
331
+ }
332
+
333
+ :host([dir='rtl'][theme~='icon']) [part='prefix'],
334
+ :host([dir='rtl'][theme~='icon']) [part='suffix'] {
335
+ margin-left: 0;
336
+ margin-right: 0;
337
+ }
338
+ `;(0,r.SF)("vaadin-button",a,{moduleId:"lumo-button"})},21860:(t,e,o)=>{o.d(e,{f:()=>a});var r=o(95925);class a extends r.r{constructor(t,e){super(t,"input","input",{initializer:(t,o)=>{o.value&&(t.value=o.value),o.type&&t.setAttribute("type",o.type),t.id=this.defaultId,"function"==typeof e&&e(t)},useUniqueId:!0})}}},60978:(t,e,o)=>{o.d(e,{a:()=>a});var r=o(60354);const a=t=>class extends((0,r.R)(t)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(t){this.__dataValue=t}_inputElementChanged(t){super._inputElementChanged(t),t&&(t.value&&t.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),t.value=""),this.value&&(t.value=this.value))}_setFocused(t){super._setFocused(t),!t&&document.hasFocus()&&this.validate()}_onInput(t){super._onInput(t),this.invalid&&this.validate()}_valueChanged(t,e){super._valueChanged(t,e),void 0!==e&&this.invalid&&this.validate()}}},97979:(t,e,o)=>{o(44085);var r=o(89685),a=o(57224);const i=a.AH`
339
+ :host {
340
+ position: absolute;
341
+ right: 0;
342
+ top: 0;
343
+ margin: 0;
344
+ padding: 0;
345
+ width: 100%;
346
+ height: 100%;
347
+ min-width: auto;
348
+ background: transparent;
349
+ outline: none;
350
+ }
351
+ `;(0,a.SF)("vaadin-password-field-button",[r.x,i],{moduleId:"lumo-password-field-button"}),o(16670),o(4082),o(40999);var n=o(80704);const s=a.AH`
352
+ [part='reveal-button']::before {
353
+ content: var(--lumo-icons-eye);
354
+ }
355
+
356
+ :host([password-visible]) [part='reveal-button']::before {
357
+ content: var(--lumo-icons-eye-disabled);
358
+ }
359
+
360
+ /* Make it easy to hide the button across the whole app */
361
+ [part='reveal-button'] {
362
+ position: relative;
363
+ display: var(--lumo-password-field-reveal-button-display, block);
364
+ }
365
+
366
+ [part='reveal-button'][hidden] {
367
+ display: none !important;
368
+ }
369
+ `;(0,a.SF)("vaadin-password-field",[n.k,s],{moduleId:"lumo-password-field"});var l=o(98633),d=o(84312),u=o(65211);class h extends d.${static get is(){return"vaadin-password-field-button"}static get template(){return l.qy`
370
+ <style>
371
+ :host {
372
+ display: block;
373
+ }
374
+
375
+ :host([hidden]) {
376
+ display: none !important;
377
+ }
378
+ </style>
379
+ <slot name="tooltip"></slot>
380
+ `}}(0,u.X)(h);var c=o(22408),p=o(95925),v=o(10056);const m=c.q`
381
+ <div part="reveal-button" slot="suffix">
382
+ <slot name="reveal"></slot>
383
+ </div>
384
+ `;let b;class g extends v.A{static get is(){return"vaadin-password-field"}static get template(){if(!b){b=super.template.cloneNode(!0);const t=m.content.querySelector('[part="reveal-button"]');b.content.querySelector('[part="input-field"]').appendChild(t)}return b}static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n.*)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){const t=this.localName;return[...super.slotStyles,`\n ${t} [slot="input"]::-ms-reveal {\n display: none;\n }\n `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new p.r(this,"reveal","vaadin-password-field-button",{initializer:t=>{t.disabled=this.disabled,t.addEventListener("click",this.__boundRevealButtonClick),t.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(t){super._onChange(t),this.__lastChange=this.inputElement.value}_shouldSetFocus(t){return t.target===this.inputElement||t.target===this._revealNode}_shouldRemoveFocus(t){return!(t.relatedTarget===this._revealNode||t.relatedTarget===this.inputElement&&t.target===this._revealNode)}_setFocused(t){if(super._setFocused(t),t){const t=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!t)}else this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})))}__updateAriaLabel(t){t.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",t.reveal)}__i18nChanged(t){this.__updateAriaLabel(t.base)}_revealButtonHiddenChanged(t){this._toggleRevealHidden(t)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(t){t.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(t){this._revealNode&&(t?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(t){this._revealNode&&this._revealNode.setAttribute("aria-pressed",t?"true":"false")}_passwordVisibleChanged(t){this._setType(t?"text":"password"),this._updateToggleState(t)}_disabledChanged(t,e){super._disabledChanged(t,e),this._revealNode&&(this._revealNode.disabled=t)}}(0,u.X)(g)},10056:(t,e,o)=>{o.d(e,{A:()=>p}),o(94009);var r=o(98633),a=o(65211),i=o(27150),n=o(83798),s=o(9685),l=o(57224),d=o(21860),u=o(60978),h=o(19074);const c=t=>class extends((0,u.a)(t)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new d.f(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new h.q(this.inputElement,this._labelController))}};(0,l.SF)("vaadin-text-field",s.k,{moduleId:"vaadin-text-field-styles"});class p extends(c((0,l.cp)((0,i.q)(r.Pu)))){static get is(){return"vaadin-text-field"}static get template(){return r.qy`
385
+ <style>
386
+ [part='input-field'] {
387
+ flex-grow: 0;
388
+ }
389
+ </style>
390
+
391
+ <div class="vaadin-field-container">
392
+ <div part="label">
393
+ <slot name="label"></slot>
394
+ <span part="required-indicator" aria-hidden="true" on-click="focus"></span>
395
+ </div>
396
+
397
+ <vaadin-input-container
398
+ part="input-field"
399
+ readonly="[[readonly]]"
400
+ disabled="[[disabled]]"
401
+ invalid="[[invalid]]"
402
+ theme$="[[_theme]]"
403
+ >
404
+ <slot name="prefix" slot="prefix"></slot>
405
+ <slot name="input"></slot>
406
+ <slot name="suffix" slot="suffix"></slot>
407
+ <div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
408
+ </vaadin-input-container>
409
+
410
+ <div part="helper-text">
411
+ <slot name="helper"></slot>
412
+ </div>
413
+
414
+ <div part="error-message">
415
+ <slot name="error-message"></slot>
416
+ </div>
417
+ </div>
418
+ <slot name="tooltip"></slot>
419
+ `}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new n.I(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,a.X)(p)},44085:(t,e,o)=>{o(67239);var r=o(80704);(0,o(57224).SF)("vaadin-text-field",r.k,{moduleId:"lumo-text-field-styles"}),o(10056)}}]);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
10
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11
+ */
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[8823],{68315:(e,t,s)=>{s.d(t,{q:()=>l});var n=s(18366),r=s(80044),i=s(56376),o=s(87279),a=s(52467);const l=({componentName:e,baseSelector:t=""})=>{class s extends HTMLElement{static get componentName(){return e}#e;#t=!0;get baseSelector(){return t}get baseElement(){return this.#e??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#e||console.warn("missing base element for component",this.localName),this.#e}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#t&&(this.#t=!1,this.init?.())}}return(0,n.Zz)(r.t,o.m,a.y,i.b)(s)}},47511:(e,t,s)=>{s(94720)},38733:(e,t,s)=>{s(28889)},30064:(e,t,s)=>{s.d(t,{qu:()=>n.q});var n=s(68315);s(38733),s(47511)},17166:(e,t,s)=>{s.d(t,{EA:()=>c,Ge:()=>o,Ix:()=>l,mx:()=>i,xE:()=>a});var n=s(18366),r=s(75777);const i=(e,t,{excludeAttrs:s=[],includeAttrs:n=[]})=>{const r=Array.from(e.attributes).filter((e=>!s.includes(e.name)&&(!n.length||n.includes(e.name)))).map((e=>e.name));t(r),new MutationObserver((e=>{e.forEach((e=>{"attributes"!==e.type||s.includes(e.attributeName)||n.length&&!n.includes(e.attributeName)||t([e.attributeName])}))})).observe(e,{attributes:!0})},o=(e,t)=>{t({addedNodes:Array.from(e.children),removedNodes:[]}),new MutationObserver((e=>{e.forEach((e=>{"childList"!==e.type&&"characterData"!==e.type||t(e)}))})).observe(e,{childList:!0,characterData:!0,subtree:!0})},a=e=>(0,n.GL)(r.$m,e),l=(...e)=>`--${(0,n.GL)(...e)}`,c=(e,t,s={})=>{i(e,((e,t,s={})=>n=>{n.forEach((n=>{const r=s[n]||n,i=e.getAttribute(n);null!==i?t.getAttribute(r)!==i&&t.setAttribute(r,i):t.removeAttribute(r)}))})(e,t,s.mapAttrs),s)}},18823:(e,t,s)=>{s.d(t,{RF:()=>n.RF,VO:()=>n.VO,tQ:()=>n.tQ});var n=s(26390)},80044:(e,t,s)=>{s.d(t,{t:()=>n});const n=e=>class extends e{#s(){const t=this.localName;if(!e.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(t!==e.componentName)throw Error(`component name mismatch, expected "${e.componentName}", current "${t}"`)}init(){super.init?.(),this.#s()}}},56376:(e,t,s)=>{s.d(t,{b:()=>n});const n=e=>class extends e{updateComponentsContext(e){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:e}))}}},42642:(e,t,s)=>{s(30064)},23652:(e,t,s)=>{s.d(t,{AM:()=>m,SR:()=>h,_r:()=>l});var n=s(18366),r=s(17166);const i=(e,t)=>`var(${e}${t?`, ${t}`:""})`;class o{constructor(){this.styleMap=new Map}add(e,t,s){this.styleMap.has(e)||this.styleMap.set(e,[]),this.styleMap.set(e,[...this.styleMap.get(e),{property:t,value:s}])}toString(){return Array.from(this.styleMap.entries()).reduce(((e,[t,s])=>`${e}${t} { \n${s.map((({property:e,value:t})=>`${e}: ${t}`)).join(";\n")} \n}\n\n`),"")}}const a=(e,t="fallback")=>(0,n.GL)(e,t),l=(e,t,s)=>{const l=new o,c=(e,t)=>{if(!e)return"";if("string"==typeof e)return e;const s=a(t,e?.suffix);return i(s,c(e.fallback,s))};return Object.keys(s).forEach((o=>{const a=((e,t)=>{const s={selector:"",property:(0,n.kW)(e)};return t&&Object.keys(t).length?Array.isArray(t)?t.map((e=>({...s,...e}))):[{...s,...t}]:[s]})(o,s[o]),h=(0,r.Ix)(e,o);a.forEach((({selector:e,property:s,important:r,fallback:o})=>{const a=c(o,h);l.add(((e="",t="")=>(0,n.Tn)(t)?t(e):`${e}${/^[A-Za-z]/.test(t)?` ${t}`:t}`)(t,e),(0,n.Tn)(s)?s():s,i(h,a)+(r?"!important":""))}))})),l.toString()},c=(e,t,{fallback:s})=>{if(!s)return{};const r=a(t,s.suffix),i=(0,n.dk)(e,s.suffix||"fallback");return{[i]:r,...c(i,r,s)}},h=(e,t)=>Object.keys(t).reduce(((s,n)=>{const i=(0,r.Ix)(e,n);return Object.assign(s,{[n]:i},c(n,i,t[n]))}),{}),m=(e,t)=>Array(t).fill(`.${e}`).join("")},28889:(e,t,s)=>{s.d(t,{R:()=>l});var n=s(75777),r=s(18366),i=s(17166),o=s(49151),a=s(23652);const l=({mappings:e={},componentNameOverride:t=""})=>s=>{const l=t||s.componentName;return class t extends s{static get cssVarList(){return{...s.cssVarList,...(0,a.SR)(l,{...e})}}#n;#r;#i;#o;#a;#l;#c;#h;#m;constructor({getRootElement:e,componentNameSuffix:s="",themeSection:i=n.IM,baseSelector:o}={}){super(),this.#o=s,this.#a=i,this.#c=o??this.baseSelector,this.#m=e,this.#h=Object.keys(t.cssVarList).map((e=>(0,r.GL)("st",s,e)))}get#d(){return o.br.currentTheme?.[l]||""}#u(){this.#r.innerHTML=this.#d[this.#a]}#b(){this.#r=document.createElement("style"),this.#r.id=`style-mixin-theme__${l}`,this.#l.prepend(this.#r),this.#i=o.br.onCurrentThemeChange(this.#u.bind(this)),this.#u()}#p(){if(this.#h.length){this.#n=document.createElement("style"),this.#n.id=`style-mixin-overrides__${l}`;const e=(0,a.AM)(l,n.aE);this.#n.innerText=`:host(${e}) {}`,this.#l.append(this.#n)}}#g(e,t){const s=this.#n?.sheet?.cssRules[0].style;if(!s)return;const n=(0,i.Ix)(l,e.replace(new RegExp("^st-"),""));t?s?.setProperty(n,t):(s?.removeProperty(n),this.removeAttribute(e))}#y(e=[]){let t=!1;e.forEach((e=>{this.#h.includes(e)&&(this.#g(e,this.getAttribute(e)),t=!0)})),t&&(this.#n.innerHTML=this.#n?.sheet?.cssRules[0].cssText)}#E(){if(Object.keys(e).length){const t=document.createElement("style");t.id=`style-mixin-mappings__${l}`,t.innerHTML=(0,a._r)((0,r.GL)(l,this.#o),this.#c,e),this.#l.prepend(t)}}#v(e){(this.#l.classList||this.#l.host.classList).add(e)}async init(){super.init?.(),this.shadowRoot.isConnected&&(this.#l=await(this.#m?.(this))||this.shadowRoot,this.#v(l),this.#E(),this.#b(),this.#p(),(0,i.mx)(this,this.#y.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#i?.()}}}},77040:(e,t,s)=>{s.d(t,{V:()=>n});const n=e=>class extends e{#f=null;static get observedAttributes(){return[...e.observedAttributes||[],"draggable"]}constructor(){super(),this.#f=document.createElement("style"),this.#f.innerText="* { cursor: inherit!important }"}#S(e){e?this.shadowRoot.appendChild(this.#f):this.#f.remove()}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",(e=>{if(this.isDraggable){const t=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const s=()=>{t?this.baseElement.setAttribute("tabindex",t):this.baseElement.removeAttribute("tabindex"),e.target.removeEventListener("mouseup",s),e.target.removeEventListener("dragend",s)};e.target.addEventListener("mouseup",s,{once:!0}),e.target.addEventListener("dragend",s,{once:!0})}})),super.init?.()}attributeChangedCallback(e,t,s){super.attributeChangedCallback?.(e,t,s),"draggable"===e&&this.#S("true"===s)}}},87279:(e,t,s)=>{s.d(t,{m:()=>n});const n=e=>class extends e{init(){super.init?.(),this.baseElement.addEventListener("mouseover",(e=>{this.setAttribute("hover","true"),e.target.addEventListener("mouseleave",(()=>this.removeAttribute("hover")),{once:!0})}))}}},26390:(e,t,s)=>{s.d(t,{RF:()=>n.R,VO:()=>r.V,tQ:()=>i.t});var n=s(28889),r=s(77040),i=(s(42642),s(90435),s(80044));s(94720),s(26645)},94720:(e,t,s)=>{s(75318),Symbol("validationTarget")},52467:(e,t,s)=>{s.d(t,{y:()=>i});var n=s(17166);const r=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options"],i=e=>class extends e{init(){super.init?.(),(0,n.mx)(this,(e=>e.forEach((e=>{const t=this.getAttribute(e);(e=>r.includes(e))(e)?""===t?this.setAttribute(e,"true"):"false"===t&&this.removeAttribute(e):t||console.debug(`attribute "${e}" has no value, should it be added to the boolean attributes list?`)}))),{})}}},26645:(e,t,s)=>{s(28889)},90435:(e,t,s)=>{s(94720),s(28889)},75777:(e,t,s)=>{s.d(t,{$m:()=>n,IM:()=>i,aE:()=>r});const n="descope",r=3,i="host"},18366:(e,t,s)=>{s.d(t,{GL:()=>r,Tn:()=>a,Zz:()=>o,dk:()=>i,kW:()=>n});const n=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),r=(...e)=>n(e.filter((e=>!!e)).join("-")),i=(...e)=>e.filter(Boolean).map(((e,t)=>{return 0===t?e:(s=e).charAt(0).toUpperCase()+s.slice(1);var s})).join(""),o=(...e)=>t=>e.reduceRight(((e,t)=>t(e)),t),a=e=>"function"==typeof e}}]);