@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.
- package/LICENSE +21 -0
- package/README.md +25 -0
- package/dist/cjs/index.cjs.js +18314 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.esm.js +20157 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/umd/1172.js +240 -0
- package/dist/umd/1172.js.LICENSE.txt +23 -0
- package/dist/umd/1396.js +37 -0
- package/dist/umd/1396.js.LICENSE.txt +11 -0
- package/dist/umd/1402.js +1 -0
- package/dist/umd/1484.js +148 -0
- package/dist/umd/1484.js.LICENSE.txt +17 -0
- package/dist/umd/189.js +338 -0
- package/dist/umd/189.js.LICENSE.txt +11 -0
- package/dist/umd/201.js +73 -0
- package/dist/umd/201.js.LICENSE.txt +23 -0
- package/dist/umd/2159.js +608 -0
- package/dist/umd/2159.js.LICENSE.txt +23 -0
- package/dist/umd/2540.js +1 -0
- package/dist/umd/2570.js +338 -0
- package/dist/umd/2570.js.LICENSE.txt +11 -0
- package/dist/umd/2666.js +148 -0
- package/dist/umd/2666.js.LICENSE.txt +11 -0
- package/dist/umd/2755.js +1 -0
- package/dist/umd/3110.js +275 -0
- package/dist/umd/3110.js.LICENSE.txt +23 -0
- package/dist/umd/3191.js +506 -0
- package/dist/umd/3191.js.LICENSE.txt +17 -0
- package/dist/umd/3437.js +2 -0
- package/dist/umd/3437.js.LICENSE.txt +15 -0
- package/dist/umd/3638.js +2 -0
- package/dist/umd/3638.js.LICENSE.txt +5 -0
- package/dist/umd/404.js +148 -0
- package/dist/umd/404.js.LICENSE.txt +17 -0
- package/dist/umd/4114.js +124 -0
- package/dist/umd/4114.js.LICENSE.txt +33 -0
- package/dist/umd/4127.js +449 -0
- package/dist/umd/4127.js.LICENSE.txt +17 -0
- package/dist/umd/4187.js +2 -0
- package/dist/umd/4187.js.LICENSE.txt +5 -0
- package/dist/umd/4218.js +129 -0
- package/dist/umd/4218.js.LICENSE.txt +23 -0
- package/dist/umd/4455.js +422 -0
- package/dist/umd/4455.js.LICENSE.txt +11 -0
- package/dist/umd/4480.js +1 -0
- package/dist/umd/4554.js +303 -0
- package/dist/umd/4554.js.LICENSE.txt +11 -0
- package/dist/umd/4574.js +400 -0
- package/dist/umd/4574.js.LICENSE.txt +23 -0
- package/dist/umd/4619.js +1 -0
- package/dist/umd/4902.js +170 -0
- package/dist/umd/4902.js.LICENSE.txt +23 -0
- package/dist/umd/507.js +279 -0
- package/dist/umd/507.js.LICENSE.txt +11 -0
- package/dist/umd/5096.js +109 -0
- package/dist/umd/5096.js.LICENSE.txt +5 -0
- package/dist/umd/5318.js +1 -0
- package/dist/umd/5414.js +2 -0
- package/dist/umd/5414.js.LICENSE.txt +1 -0
- package/dist/umd/5563.js +319 -0
- package/dist/umd/5563.js.LICENSE.txt +55 -0
- package/dist/umd/7097.js +338 -0
- package/dist/umd/7097.js.LICENSE.txt +11 -0
- package/dist/umd/7150.js +2 -0
- package/dist/umd/7150.js.LICENSE.txt +485 -0
- package/dist/umd/731.js +832 -0
- package/dist/umd/731.js.LICENSE.txt +17 -0
- package/dist/umd/742.js +2 -0
- package/dist/umd/742.js.LICENSE.txt +21 -0
- package/dist/umd/7979.js +419 -0
- package/dist/umd/7979.js.LICENSE.txt +11 -0
- package/dist/umd/8823.js +1 -0
- package/dist/umd/9030.js +381 -0
- package/dist/umd/9030.js.LICENSE.txt +17 -0
- package/dist/umd/9243.js +202 -0
- package/dist/umd/9243.js.LICENSE.txt +51 -0
- package/dist/umd/9478.js +338 -0
- package/dist/umd/9478.js.LICENSE.txt +11 -0
- package/dist/umd/DescopeDev.js +1 -0
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -0
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +2 -0
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +2 -0
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -0
- package/dist/umd/descope-alert-index-js.js +1 -0
- package/dist/umd/descope-apps-list-index-js.js +1 -0
- package/dist/umd/descope-avatar.js +1 -0
- package/dist/umd/descope-badge-index-js.js +1 -0
- package/dist/umd/descope-button-index-js.js +338 -0
- package/dist/umd/descope-button-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-code-snippet-index-js.js +1 -0
- package/dist/umd/descope-combo-box-index-js.js +113 -0
- package/dist/umd/descope-combo-box-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-container-index-js.js +1 -0
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -0
- package/dist/umd/descope-date-field-index-js.js +1 -0
- package/dist/umd/descope-divider-index-js.js +1 -0
- package/dist/umd/descope-email-field-index-js.js +54 -0
- package/dist/umd/descope-email-field-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-enriched-text-index-js.js +1 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +90 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js +105 -0
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js.LICENSE.txt +29 -0
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +2 -0
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +90 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-index-js.js +1 -0
- package/dist/umd/descope-hybrid-field-index-js.js +19 -0
- package/dist/umd/descope-hybrid-field-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/descope-icon-index-js.js +1 -0
- package/dist/umd/descope-image-index-js.js +1 -0
- package/dist/umd/descope-link-index-js.js +1 -0
- package/dist/umd/descope-list-index-js.js +1 -0
- package/dist/umd/descope-loader-linear-index-js.js +1 -0
- package/dist/umd/descope-loader-radial-index-js.js +1 -0
- package/dist/umd/descope-logo-index-js.js +1 -0
- package/dist/umd/descope-modal-index-js.js +1 -0
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -0
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -0
- package/dist/umd/descope-new-password-index-js.js +1 -0
- package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -0
- package/dist/umd/descope-notification-index-js.js +1 -0
- package/dist/umd/descope-notp-image-index-js.js +1 -0
- package/dist/umd/descope-number-field-index-js.js +1 -0
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -0
- package/dist/umd/descope-passcode-index-js.js +1 -0
- package/dist/umd/descope-password-index-js.js +1 -0
- package/dist/umd/descope-policy-validation-index-js.js +1 -0
- package/dist/umd/descope-radio-group-index-js.js +1 -0
- package/dist/umd/descope-recaptcha-index-js.js +1 -0
- package/dist/umd/descope-scopes-list-index-js.js +2 -0
- package/dist/umd/descope-scopes-list-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/descope-security-questions-setup-index-js.js +1 -0
- package/dist/umd/descope-security-questions-verify-index-js.js +37 -0
- package/dist/umd/descope-security-questions-verify-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-text-area-index-js.js +1 -0
- package/dist/umd/descope-text-field-index-js.js +37 -0
- package/dist/umd/descope-text-field-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-text.js +1 -0
- package/dist/umd/descope-third-party-app-logo-index-js.js +1 -0
- package/dist/umd/descope-totp-image-index-js.js +1 -0
- package/dist/umd/descope-upload-file-index-js.js +1 -0
- package/dist/umd/descope-user-attribute-index-js.js +1 -0
- package/dist/umd/descope-user-auth-method-index-js.js +1 -0
- package/dist/umd/index.js +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -0
- package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -0
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -0
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -0
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +37 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +148 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js.LICENSE.txt +17 -0
- package/node_modules/common/.eslintrc.json +18 -0
- package/node_modules/common/README.md +7 -0
- package/node_modules/common/package.json +34 -0
- package/node_modules/common/project.json +7 -0
- package/node_modules/common/src/baseClasses/baseClasses/createBaseClass.js +66 -0
- package/node_modules/common/src/baseClasses/baseClasses/createBaseInputClass.js +14 -0
- package/node_modules/common/src/baseClasses/baseClasses/createCssVarImageClass.js +55 -0
- package/node_modules/common/src/baseClasses/index.js +3 -0
- package/node_modules/common/src/componentsHelpers/index.js +95 -0
- package/node_modules/common/src/componentsMixins/helpers/mixinsHelpers.js +10 -0
- package/node_modules/common/src/componentsMixins/index.js +1 -0
- package/node_modules/common/src/componentsMixins/mixins/activableMixin.js +14 -0
- package/node_modules/common/src/componentsMixins/mixins/changeMixin.js +22 -0
- package/node_modules/common/src/componentsMixins/mixins/componentNameValidationMixin.js +23 -0
- package/node_modules/common/src/componentsMixins/mixins/componentsContextMixin.js +12 -0
- package/node_modules/common/src/componentsMixins/mixins/createDynamicDataMixin.js +100 -0
- package/node_modules/common/src/componentsMixins/mixins/createProxy.js +58 -0
- package/node_modules/common/src/componentsMixins/mixins/createStyleMixin/helpers.js +106 -0
- package/node_modules/common/src/componentsMixins/mixins/createStyleMixin/index.js +167 -0
- package/node_modules/common/src/componentsMixins/mixins/draggableMixin.js +62 -0
- package/node_modules/common/src/componentsMixins/mixins/externalInputHelpers.js +93 -0
- package/node_modules/common/src/componentsMixins/mixins/externalInputMixin.js +170 -0
- package/node_modules/common/src/componentsMixins/mixins/hoverableMixin.js +13 -0
- package/node_modules/common/src/componentsMixins/mixins/index.js +14 -0
- package/node_modules/common/src/componentsMixins/mixins/inputEventsDispatchingMixin.js +76 -0
- package/node_modules/common/src/componentsMixins/mixins/inputValidationMixin.js +210 -0
- package/node_modules/common/src/componentsMixins/mixins/lifecycleEventsMixin.js +23 -0
- package/node_modules/common/src/componentsMixins/mixins/normalizeBooleanAttributesMixin.js +57 -0
- package/node_modules/common/src/componentsMixins/mixins/portalMixin.js +112 -0
- package/node_modules/common/src/componentsMixins/mixins/proxyInputMixin.js +242 -0
- package/node_modules/common/src/constants.js +4 -0
- package/node_modules/common/src/icons/errorMessageIconBase64.js +1 -0
- package/node_modules/common/src/sbControls.js +302 -0
- package/node_modules/common/src/themeHelpers/colorsHelpers.js +94 -0
- package/node_modules/common/src/themeHelpers/componentsThemeManager.js +45 -0
- package/node_modules/common/src/themeHelpers/index.js +176 -0
- package/node_modules/common/src/utils/index.js +68 -0
- package/node_modules/descope-avatar/e2e/descope-avatar.spec.ts +54 -0
- package/node_modules/descope-avatar/package.json +34 -0
- package/node_modules/descope-avatar/project.json +7 -0
- package/node_modules/descope-avatar/src/component/AvatarClass.js +109 -0
- package/node_modules/descope-avatar/src/component/index.js +8 -0
- package/node_modules/descope-avatar/src/theme.js +44 -0
- package/node_modules/descope-avatar/stories/avatar.jpeg +0 -0
- package/node_modules/descope-avatar/stories/descope-avatar.stories.js +32 -0
- package/node_modules/descope-text/e2e/descope-text.spec.ts +35 -0
- package/node_modules/descope-text/package.json +31 -0
- package/node_modules/descope-text/project.json +7 -0
- package/node_modules/descope-text/src/component/TextClass.js +63 -0
- package/node_modules/descope-text/src/component/index.js +5 -0
- package/node_modules/descope-text/src/theme.js +91 -0
- package/node_modules/descope-text/stories/descope-text.stories.js +55 -0
- package/package.json +151 -0
- package/src/baseClasses/createBaseClass.js +66 -0
- package/src/baseClasses/createBaseInputClass.js +16 -0
- package/src/baseClasses/createCssVarImageClass.js +53 -0
- package/src/components/boolean-fields/booleanFieldMixin.js +36 -0
- package/src/components/boolean-fields/commonStyles.js +50 -0
- package/src/components/boolean-fields/descope-boolean-field-internal/BooleanFieldInternal.js +77 -0
- package/src/components/boolean-fields/descope-boolean-field-internal/index.js +3 -0
- package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +133 -0
- package/src/components/boolean-fields/descope-checkbox/index.js +8 -0
- package/src/components/boolean-fields/descope-switch-toggle/SwitchToggleClass.js +154 -0
- package/src/components/boolean-fields/descope-switch-toggle/index.js +8 -0
- package/src/components/button-selection-group-fields/baseButtonSelectionGroup.js +171 -0
- package/src/components/button-selection-group-fields/createBaseButtonSelectionGroupInternalClass.js +101 -0
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group/ButtonMultiSelectionGroupClass.js +67 -0
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group/index.js +7 -0
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group-internal/ButtonMultiSelectionGroupInternalClass.js +108 -0
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group-internal/index.js +8 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group/ButtonSelectionGroupClass.js +67 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group/index.js +7 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group-internal/ButtonSelectionGroupInternalClass.js +77 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group-internal/index.js +8 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group-item/ButtonSelectionGroupItemClass.js +115 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group-item/index.js +6 -0
- package/src/components/descope-alert/AlertClass.js +105 -0
- package/src/components/descope-alert/index.js +6 -0
- package/src/components/descope-apps-list/AppsListClass.js +97 -0
- package/src/components/descope-apps-list/index.js +8 -0
- package/src/components/descope-badge/BadgeClass.js +57 -0
- package/src/components/descope-badge/index.js +5 -0
- package/src/components/descope-button/ButtonClass.js +163 -0
- package/src/components/descope-button/clickableMixin.js +10 -0
- package/src/components/descope-button/index.js +6 -0
- package/src/components/descope-code-snippet/CodeSnippetClass.js +238 -0
- package/src/components/descope-code-snippet/helpers.js +9 -0
- package/src/components/descope-code-snippet/index.js +5 -0
- package/src/components/descope-combo-box/ComboBoxClass.js +543 -0
- package/src/components/descope-combo-box/index.js +6 -0
- package/src/components/descope-container/ContainerClass.js +65 -0
- package/src/components/descope-container/index.js +5 -0
- package/src/components/descope-date-field/DateCounterClass.js +83 -0
- package/src/components/descope-date-field/DateFieldClass.js +702 -0
- package/src/components/descope-date-field/consts.js +55 -0
- package/src/components/descope-date-field/descope-calendar/CalendarClass.js +668 -0
- package/src/components/descope-date-field/descope-calendar/helpers.js +186 -0
- package/src/components/descope-date-field/descope-calendar/index.js +9 -0
- package/src/components/descope-date-field/formats.js +49 -0
- package/src/components/descope-date-field/helpers.js +72 -0
- package/src/components/descope-date-field/icons.js +14 -0
- package/src/components/descope-date-field/index.js +10 -0
- package/src/components/descope-divider/DividerClass.js +105 -0
- package/src/components/descope-divider/index.js +6 -0
- package/src/components/descope-email-field/EmailFieldClass.js +90 -0
- package/src/components/descope-email-field/index.js +6 -0
- package/src/components/descope-enriched-text/EnrichedTextClass.js +204 -0
- package/src/components/descope-enriched-text/consts.js +14 -0
- package/src/components/descope-enriched-text/helpers.js +5 -0
- package/src/components/descope-enriched-text/index.js +5 -0
- package/src/components/descope-grid/GridClass.js +368 -0
- package/src/components/descope-grid/descope-grid-custom-column/GridCustomColumnClass.js +31 -0
- package/src/components/descope-grid/descope-grid-custom-column/index.js +7 -0
- package/src/components/descope-grid/descope-grid-item-details-column/GridItemDetailsColumnClass.js +37 -0
- package/src/components/descope-grid/descope-grid-item-details-column/index.js +8 -0
- package/src/components/descope-grid/descope-grid-selection-column/GridSelectionColumnClass.js +58 -0
- package/src/components/descope-grid/descope-grid-selection-column/index.js +7 -0
- package/src/components/descope-grid/descope-grid-text-column/GridTextColumnClass.js +26 -0
- package/src/components/descope-grid/descope-grid-text-column/index.js +6 -0
- package/src/components/descope-grid/helpers.js +74 -0
- package/src/components/descope-grid/index.js +12 -0
- package/src/components/descope-hybrid-field/HybridFieldClass.js +363 -0
- package/src/components/descope-hybrid-field/helpers.js +5 -0
- package/src/components/descope-hybrid-field/index.js +9 -0
- package/src/components/descope-icon/IconClass.js +82 -0
- package/src/components/descope-icon/helpers.js +51 -0
- package/src/components/descope-icon/index.js +5 -0
- package/src/components/descope-image/ImageClass.js +48 -0
- package/src/components/descope-image/index.js +5 -0
- package/src/components/descope-link/LinkClass.js +71 -0
- package/src/components/descope-link/index.js +6 -0
- package/src/components/descope-list/ListClass.js +154 -0
- package/src/components/descope-list/ListItemClass.js +56 -0
- package/src/components/descope-list/index.js +7 -0
- package/src/components/descope-loader-linear/LoaderLinearClass.js +69 -0
- package/src/components/descope-loader-linear/index.js +5 -0
- package/src/components/descope-loader-radial/LoaderRadialClass.js +50 -0
- package/src/components/descope-loader-radial/index.js +5 -0
- package/src/components/descope-logo/LogoClass.js +10 -0
- package/src/components/descope-logo/index.js +5 -0
- package/src/components/descope-modal/ModalClass.js +112 -0
- package/src/components/descope-modal/index.js +6 -0
- package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +676 -0
- package/src/components/descope-multi-select-combo-box/index.js +6 -0
- package/src/components/descope-new-password/NewPasswordClass.js +218 -0
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +246 -0
- package/src/components/descope-new-password/descope-new-password-internal/componentName.js +3 -0
- package/src/components/descope-new-password/descope-new-password-internal/index.js +4 -0
- package/src/components/descope-new-password/index.js +9 -0
- package/src/components/descope-notification/NotificationClass.js +107 -0
- package/src/components/descope-notification/descope-notification-card/NotificationCardClass.js +115 -0
- package/src/components/descope-notification/descope-notification-card/index.js +6 -0
- package/src/components/descope-notification/descope-notification-container.js +13 -0
- package/src/components/descope-notification/index.js +8 -0
- package/src/components/descope-notp-image/NotpImageClass.js +10 -0
- package/src/components/descope-notp-image/index.js +5 -0
- package/src/components/descope-number-field/NumberFieldClass.js +54 -0
- package/src/components/descope-number-field/index.js +6 -0
- package/src/components/descope-passcode/PasscodeClass.js +209 -0
- package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +231 -0
- package/src/components/descope-passcode/descope-passcode-internal/helpers.js +41 -0
- package/src/components/descope-passcode/descope-passcode-internal/index.js +3 -0
- package/src/components/descope-passcode/index.js +8 -0
- package/src/components/descope-password/PasswordClass.js +302 -0
- package/src/components/descope-password/index.js +6 -0
- package/src/components/descope-password/passwordDraggableMixin.js +40 -0
- package/src/components/descope-policy-validation/PolicyValidationClass.js +220 -0
- package/src/components/descope-policy-validation/helpers.js +2 -0
- package/src/components/descope-policy-validation/index.js +5 -0
- package/src/components/descope-radio-group/RadioButtonClass.js +77 -0
- package/src/components/descope-radio-group/RadioGroupClass.js +192 -0
- package/src/components/descope-radio-group/index.js +8 -0
- package/src/components/descope-recaptcha/RecaptchaClass.js +230 -0
- package/src/components/descope-recaptcha/index.js +5 -0
- package/src/components/descope-scopes-list/ScopesListClass.js +131 -0
- package/src/components/descope-scopes-list/index.js +7 -0
- package/src/components/descope-security-questions-setup/SecurityQuestionsSetupClass.js +240 -0
- package/src/components/descope-security-questions-setup/index.js +7 -0
- package/src/components/descope-security-questions-verify/SecurityQuestionsVerifyClass.js +232 -0
- package/src/components/descope-security-questions-verify/index.js +7 -0
- package/src/components/descope-text-area/TextAreaClass.js +102 -0
- package/src/components/descope-text-area/index.js +6 -0
- package/src/components/descope-text-field/TextFieldClass.js +142 -0
- package/src/components/descope-text-field/index.js +9 -0
- package/src/components/descope-text-field/textFieldMappings.js +151 -0
- package/src/components/descope-third-party-app-logo/ThirdPartyAppLogoClass.js +103 -0
- package/src/components/descope-third-party-app-logo/arrows.svg +4 -0
- package/src/components/descope-third-party-app-logo/index.js +7 -0
- package/src/components/descope-totp-image/TotpImageClass.js +10 -0
- package/src/components/descope-totp-image/index.js +5 -0
- package/src/components/descope-upload-file/UploadFileClass.js +236 -0
- package/src/components/descope-upload-file/helpers.js +11 -0
- package/src/components/descope-upload-file/index.js +6 -0
- package/src/components/descope-user-attribute/UserAttributeClass.js +245 -0
- package/src/components/descope-user-attribute/delete.svg +3 -0
- package/src/components/descope-user-attribute/edit.svg +3 -0
- package/src/components/descope-user-attribute/index.js +9 -0
- package/src/components/descope-user-auth-method/UserAuthMethodClass.js +204 -0
- package/src/components/descope-user-auth-method/green-v.svg +3 -0
- package/src/components/descope-user-auth-method/index.js +9 -0
- package/src/components/mapping-fields/descope-mappings-field/MappingsFieldClass.js +188 -0
- package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/MappingItem.js +167 -0
- package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/index.js +3 -0
- package/src/components/mapping-fields/descope-mappings-field/descope-mappings-field-internal/MappingsFieldInternal.js +257 -0
- package/src/components/mapping-fields/descope-mappings-field/descope-mappings-field-internal/index.js +3 -0
- package/src/components/mapping-fields/descope-mappings-field/index.js +14 -0
- package/src/components/mapping-fields/descope-saml-group-mappings/SamlGroupMappingsClass.js +116 -0
- package/src/components/mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/SamlGroupMappingsInternal.js +136 -0
- package/src/components/mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/index.js +3 -0
- package/src/components/mapping-fields/descope-saml-group-mappings/index.js +10 -0
- package/src/components/phone-fields/CountryCodes.js +1215 -0
- package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +313 -0
- package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +272 -0
- package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/index.js +6 -0
- package/src/components/phone-fields/descope-phone-field/helpers.js +52 -0
- package/src/components/phone-fields/descope-phone-field/index.js +9 -0
- package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js +236 -0
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +172 -0
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/index.js +5 -0
- package/src/components/phone-fields/descope-phone-input-box-field/index.js +9 -0
- package/src/components/phone-fields/helpers.js +5 -0
- package/src/constants.js +4 -0
- package/src/darkTheme.js +52 -0
- package/src/dev/index.js +3 -0
- package/src/helpers/componentHelpers.js +95 -0
- package/src/helpers/index.js +68 -0
- package/src/helpers/mixinsHelpers.js +10 -0
- package/src/helpers/themeHelpers/colorsHelpers.js +94 -0
- package/src/helpers/themeHelpers/index.js +175 -0
- package/src/helpers/themeHelpers/resetHelpers.js +144 -0
- package/src/index.cjs.js +60 -0
- package/src/index.d.ts +72 -0
- package/src/index.js +62 -0
- package/src/index.umd.js +28 -0
- package/src/mixins/activableMixin.js +14 -0
- package/src/mixins/changeMixin.js +22 -0
- package/src/mixins/componentNameValidationMixin.js +23 -0
- package/src/mixins/componentsContextMixin.js +12 -0
- package/src/mixins/createDynamicDataMixin.js +100 -0
- package/src/mixins/createProxy.js +58 -0
- package/src/mixins/createStyleMixin/helpers.js +106 -0
- package/src/mixins/createStyleMixin/index.js +167 -0
- package/src/mixins/draggableMixin.js +62 -0
- package/src/mixins/externalInputHelpers.js +93 -0
- package/src/mixins/externalInputMixin.js +170 -0
- package/src/mixins/hoverableMixin.js +13 -0
- package/src/mixins/index.js +13 -0
- package/src/mixins/inputEventsDispatchingMixin.js +76 -0
- package/src/mixins/inputValidationMixin.js +210 -0
- package/src/mixins/lifecycleEventsMixin.js +23 -0
- package/src/mixins/normalizeBooleanAttributesMixin.js +59 -0
- package/src/mixins/portalMixin.js +111 -0
- package/src/mixins/proxyInputMixin.js +242 -0
- package/src/theme/components/alert.js +88 -0
- package/src/theme/components/appsList.js +36 -0
- package/src/theme/components/badge.js +71 -0
- package/src/theme/components/button.js +133 -0
- package/src/theme/components/buttonSelectionGroup/baseButtonSelectionGroup.js +23 -0
- package/src/theme/components/buttonSelectionGroup/buttonMultiSelectionGroup.js +11 -0
- package/src/theme/components/buttonSelectionGroup/buttonSelectionGroup.js +11 -0
- package/src/theme/components/buttonSelectionGroup/buttonSelectionGroupItem.js +34 -0
- package/src/theme/components/calendar.js +91 -0
- package/src/theme/components/checkbox.js +39 -0
- package/src/theme/components/codeSnippet.js +145 -0
- package/src/theme/components/comboBox.js +93 -0
- package/src/theme/components/container.js +127 -0
- package/src/theme/components/dateField.js +32 -0
- package/src/theme/components/divider.js +49 -0
- package/src/theme/components/emailField.js +50 -0
- package/src/theme/components/enrichedText.js +40 -0
- package/src/theme/components/grid.js +52 -0
- package/src/theme/components/hybridField.js +22 -0
- package/src/theme/components/icon.js +7 -0
- package/src/theme/components/image.js +8 -0
- package/src/theme/components/index.js +124 -0
- package/src/theme/components/inputWrapper.js +130 -0
- package/src/theme/components/link.js +36 -0
- package/src/theme/components/list/list.js +56 -0
- package/src/theme/components/list/listItem.js +41 -0
- package/src/theme/components/loader/index.js +4 -0
- package/src/theme/components/loader/loaderLinear.js +45 -0
- package/src/theme/components/loader/loaderRadial.js +57 -0
- package/src/theme/components/logo.js +10 -0
- package/src/theme/components/mappingsField.js +30 -0
- package/src/theme/components/modal.js +19 -0
- package/src/theme/components/multiSelectComboBox.js +86 -0
- package/src/theme/components/newPassword.js +40 -0
- package/src/theme/components/notificationCard.js +54 -0
- package/src/theme/components/notpImage.js +10 -0
- package/src/theme/components/numberField.js +50 -0
- package/src/theme/components/passcode.js +47 -0
- package/src/theme/components/password.js +55 -0
- package/src/theme/components/phoneField.js +44 -0
- package/src/theme/components/phoneInputBoxField.js +50 -0
- package/src/theme/components/policyValidation.js +29 -0
- package/src/theme/components/radioGroup/radioButton.js +44 -0
- package/src/theme/components/radioGroup/radioGroup.js +42 -0
- package/src/theme/components/samlGroupMappings.js +20 -0
- package/src/theme/components/scopesList.js +15 -0
- package/src/theme/components/securityQuestionsSetup.js +12 -0
- package/src/theme/components/securityQuestionsVerify.js +16 -0
- package/src/theme/components/switchToggle.js +77 -0
- package/src/theme/components/textArea.js +48 -0
- package/src/theme/components/textField.js +63 -0
- package/src/theme/components/thirdPartyAppLogo.js +36 -0
- package/src/theme/components/totpImage.js +10 -0
- package/src/theme/components/uploadFile.js +66 -0
- package/src/theme/components/userAttribute.js +20 -0
- package/src/theme/components/userAuthMethod.js +20 -0
- package/src/theme/globals.js +181 -0
- package/src/theme/index.js +5 -0
package/dist/umd/2570.js
ADDED
@@ -0,0 +1,338 @@
|
|
1
|
+
/*! For license information please see 2570.js.LICENSE.txt */
|
2
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[189,2570,7097,9478],{74075:(t,e,o)=>{o.d(e,{i:()=>r});const r=(0,o(75035).y)((t=>class extends t{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}}))},79258:(t,e,o)=>{o.d(e,{f:()=>r});const r=(0,o(75035).y)((t=>class extends t{ready(){super.ready(),this.addEventListener("keydown",(t=>{this._onKeyDown(t)})),this.addEventListener("keyup",(t=>{this._onKeyUp(t)}))}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t)}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}}))},45898:(t,e,o)=>{o.d(e,{l:()=>a});var r=o(74075);const a=t=>class extends((0,r.i)(t)){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(void 0!==this.tabindex&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&-1!==t&&(this._lastTabIndex=t,this.tabindex=-1)}}},84312:(t,e,o)=>{o.d(e,{$:()=>b});var r=o(98633),a=o(56096),i=o(65211),n=o(27150),s=o(83798),l=o(57224);const c=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 d=o(63437),u=o(73595),h=o(45898);const m=t=>class extends((0,d.e)((0,h.l)((0,u.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",c,{moduleId:"vaadin-button-styles"});class b extends(m((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)(b)},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"})},55093:(t,e,o)=>{o(89685),o(84312)},14310:(t,e,o)=>{o.d(e,{CI:()=>u,H8:()=>n,gm:()=>s,m0:()=>i,nr:()=>d,un:()=>c});const r=t=>t.test(navigator.userAgent),a=t=>t.test(navigator.platform),i=r(/Android/u),n=r(/Chrome/u)&&/Google Inc/u.test(navigator.vendor),s=r(/Firefox/u),l=a(/^iPad/u)||a(/^Mac/u)&&navigator.maxTouchPoints>1,c=a(/^iPhone/u)||l,d=r(/^((?!chrome|android).)*safari/iu),u=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}})()},90975:(t,e,o)=>{o.d(e,{C:()=>i});var r=o(75035);const a=new WeakMap,i=(0,r.y)((t=>class extends t{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const t=this.getRootNode(),e=function(t){return a.has(t)||a.set(t,new Set),a.get(t)}(t);this.slotStyles.forEach((o=>{e.has(o)||(function(t,e){const o=document.createElement("style");o.textContent=t,e===document?document.head.appendChild(o):e.insertBefore(o,e.firstChild)}(o,t),e.add(o))}))}}))}}]);
|
@@ -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
|
+
*/
|
package/dist/umd/2666.js
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
/*! For license information please see 2666.js.LICENSE.txt */
|
2
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[2666],{83196:(t,e,a)=>{a.d(e,{U:()=>r});var i=a(75035);const n=new ResizeObserver((t=>{setTimeout((()=>{t.forEach((t=>{t.target.resizables?t.target.resizables.forEach((e=>{e._onResize(t.contentRect)})):t.target._onResize(t.contentRect)}))}))})),r=(0,i.y)((t=>class extends t{get _observeParent(){return!1}connectedCallback(){if(super.connectedCallback(),n.observe(this),this._observeParent){const t=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;t.resizables||(t.resizables=new Set,n.observe(t)),t.resizables.add(this),this.__parent=t}}disconnectedCallback(){super.disconnectedCallback(),n.unobserve(this);const t=this.__parent;if(this._observeParent&&t){const e=t.resizables;e&&(e.delete(this),0===e.size&&n.unobserve(t)),this.__parent=null}}_onResize(t){}}))},60978:(t,e,a)=>{a.d(e,{a:()=>n});var i=a(60354);const n=t=>class extends((0,i.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()}}},62666:(t,e,a)=>{a(67239),a(44497),a(4082),a(52301);var i=a(80704),n=a(57224);const r=n.AH`
|
3
|
+
[part='input-field'],
|
4
|
+
[part='input-field'] ::slotted(textarea) {
|
5
|
+
height: auto;
|
6
|
+
box-sizing: border-box;
|
7
|
+
}
|
8
|
+
|
9
|
+
[part='input-field'] {
|
10
|
+
/* Equal to the implicit padding in vaadin-text-field */
|
11
|
+
padding-top: calc((var(--lumo-text-field-size) - 1em * var(--lumo-line-height-s)) / 2);
|
12
|
+
padding-bottom: calc((var(--lumo-text-field-size) - 1em * var(--lumo-line-height-s)) / 2);
|
13
|
+
transition: background-color 0.1s;
|
14
|
+
line-height: var(--lumo-line-height-s);
|
15
|
+
}
|
16
|
+
|
17
|
+
:host(:not([readonly])) [part='input-field']::after {
|
18
|
+
display: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
:host([readonly]) [part='input-field'] {
|
22
|
+
border: 1px dashed var(--lumo-contrast-30pct);
|
23
|
+
}
|
24
|
+
|
25
|
+
:host([readonly]) [part='input-field']::after {
|
26
|
+
border: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
:host(:hover:not([readonly]):not([focused]):not([invalid])) [part='input-field'] {
|
30
|
+
background-color: var(--lumo-contrast-20pct);
|
31
|
+
}
|
32
|
+
|
33
|
+
@media (pointer: coarse) {
|
34
|
+
:host(:hover:not([readonly]):not([focused]):not([invalid])) [part='input-field'] {
|
35
|
+
background-color: var(--lumo-contrast-10pct);
|
36
|
+
}
|
37
|
+
|
38
|
+
:host(:active:not([readonly]):not([focused])) [part='input-field'] {
|
39
|
+
background-color: var(--lumo-contrast-20pct);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
[part='input-field'] ::slotted(textarea) {
|
44
|
+
line-height: inherit;
|
45
|
+
--_lumo-text-field-overflow-mask-image: none;
|
46
|
+
}
|
47
|
+
|
48
|
+
/* Vertically align icon prefix/suffix with the first line of text */
|
49
|
+
[part='input-field'] ::slotted(vaadin-icon) {
|
50
|
+
margin-top: calc((var(--lumo-icon-size-m) - 1em * var(--lumo-line-height-s)) / -2);
|
51
|
+
}
|
52
|
+
`;(0,n.SF)("vaadin-text-area",[i.k,r],{moduleId:"lumo-text-area"}),a(94009);var o=a(98633),s=a(65211),l=a(27150),d=a(83798),p=a(9685),u=a(83196),h=a(60978),c=a(19074),v=a(95925);class m extends v.r{constructor(t,e){super(t,"textarea","textarea",{initializer:(t,a)=>{const i=a.getAttribute("value");i&&(t.value=i);const n=a.getAttribute("name");n&&t.setAttribute("name",n),t.id=this.defaultId,"function"==typeof e&&e(t)},useUniqueId:!0})}}const g=t=>class extends((0,u.U)((0,h.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"]}get clearElement(){return this.$.clearButton}_onResize(){this._updateHeight(),this.__scrollPositionUpdated()}_onScroll(){this.__scrollPositionUpdated()}ready(){super.ready(),this.addController(new m(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new c.q(this.inputElement,this._labelController)),this.addEventListener("animationend",this._onAnimationEnd),this._inputField=this.shadowRoot.querySelector("[part=input-field]"),this._inputField.addEventListener("wheel",(t=>{const e=this._inputField.scrollTop;this._inputField.scrollTop+=t.deltaY,e!==this._inputField.scrollTop&&(t.preventDefault(),this.__scrollPositionUpdated())})),this._updateHeight(),this.__scrollPositionUpdated()}__scrollPositionUpdated(){this._inputField.style.setProperty("--_text-area-vertical-scroll-position","0px"),this._inputField.style.setProperty("--_text-area-vertical-scroll-position",`${this._inputField.scrollTop}px`)}_onAnimationEnd(t){0===t.animationName.indexOf("vaadin-text-area-appear")&&this._updateHeight()}_valueChanged(t,e){super._valueChanged(t,e),this._updateHeight()}_updateHeight(){const t=this.inputElement,e=this._inputField;if(!t||!e)return;const a=e.scrollTop,i=this.value?this.value.length:0;if(this._oldValueLength>=i){const a=getComputedStyle(e).height,i=getComputedStyle(t).width;e.style.display="block",e.style.height=a,t.style.maxWidth=i,t.style.height="auto"}this._oldValueLength=i;const n=t.scrollHeight;n>t.clientHeight&&(t.style.height=`${n}px`),t.style.removeProperty("max-width"),e.style.removeProperty("display"),e.style.removeProperty("height"),e.scrollTop=a}checkValidity(){if(!super.checkValidity())return!1;if(!this.pattern||!this.inputElement.value)return!0;try{const t=this.inputElement.value.match(this.pattern);return!!t&&t[0]===t.input}catch(t){return!0}}},_=a(44720).AH`
|
53
|
+
:host {
|
54
|
+
animation: 1ms vaadin-text-area-appear;
|
55
|
+
}
|
56
|
+
|
57
|
+
.vaadin-text-area-container {
|
58
|
+
flex: auto;
|
59
|
+
}
|
60
|
+
|
61
|
+
/* The label, helper text and the error message should neither grow nor shrink. */
|
62
|
+
[part='label'],
|
63
|
+
[part='helper-text'],
|
64
|
+
[part='error-message'] {
|
65
|
+
flex: none;
|
66
|
+
}
|
67
|
+
|
68
|
+
[part='input-field'] {
|
69
|
+
flex: auto;
|
70
|
+
overflow: auto;
|
71
|
+
-webkit-overflow-scrolling: touch;
|
72
|
+
}
|
73
|
+
|
74
|
+
::slotted(textarea) {
|
75
|
+
-webkit-appearance: none;
|
76
|
+
-moz-appearance: none;
|
77
|
+
flex: auto;
|
78
|
+
overflow: hidden;
|
79
|
+
width: 100%;
|
80
|
+
height: 100%;
|
81
|
+
outline: none;
|
82
|
+
resize: none;
|
83
|
+
margin: 0;
|
84
|
+
padding: 0 0.25em;
|
85
|
+
border: 0;
|
86
|
+
border-radius: 0;
|
87
|
+
min-width: 0;
|
88
|
+
font: inherit;
|
89
|
+
font-size: 1em;
|
90
|
+
line-height: normal;
|
91
|
+
color: inherit;
|
92
|
+
background-color: transparent;
|
93
|
+
/* Disable default invalid style in Firefox */
|
94
|
+
box-shadow: none;
|
95
|
+
}
|
96
|
+
|
97
|
+
/* Override styles from <vaadin-input-container> */
|
98
|
+
[part='input-field'] ::slotted(textarea) {
|
99
|
+
align-self: stretch;
|
100
|
+
white-space: pre-wrap;
|
101
|
+
}
|
102
|
+
|
103
|
+
[part='input-field'] ::slotted(:not(textarea)) {
|
104
|
+
align-self: flex-start;
|
105
|
+
}
|
106
|
+
|
107
|
+
/* Workaround https://bugzilla.mozilla.org/show_bug.cgi?id=1739079 */
|
108
|
+
:host([disabled]) ::slotted(textarea) {
|
109
|
+
user-select: none;
|
110
|
+
}
|
111
|
+
|
112
|
+
@keyframes vaadin-text-area-appear {
|
113
|
+
to {
|
114
|
+
opacity: 1;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
`;(0,n.SF)("vaadin-text-area",[p.k,_],{moduleId:"vaadin-text-area-styles"});class f extends(g((0,n.cp)((0,l.q)(o.Pu)))){static get is(){return"vaadin-text-area"}static get template(){return o.qy`
|
118
|
+
<div class="vaadin-text-area-container">
|
119
|
+
<div part="label">
|
120
|
+
<slot name="label"></slot>
|
121
|
+
<span part="required-indicator" aria-hidden="true"></span>
|
122
|
+
</div>
|
123
|
+
|
124
|
+
<vaadin-input-container
|
125
|
+
part="input-field"
|
126
|
+
readonly="[[readonly]]"
|
127
|
+
disabled="[[disabled]]"
|
128
|
+
invalid="[[invalid]]"
|
129
|
+
theme$="[[_theme]]"
|
130
|
+
on-scroll="_onScroll"
|
131
|
+
>
|
132
|
+
<slot name="prefix" slot="prefix"></slot>
|
133
|
+
<slot name="textarea"></slot>
|
134
|
+
<slot name="suffix" slot="suffix"></slot>
|
135
|
+
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
|
136
|
+
</vaadin-input-container>
|
137
|
+
|
138
|
+
<div part="helper-text">
|
139
|
+
<slot name="helper"></slot>
|
140
|
+
</div>
|
141
|
+
|
142
|
+
<div part="error-message">
|
143
|
+
<slot name="error-message"></slot>
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
<slot name="tooltip"></slot>
|
148
|
+
`}ready(){super.ready(),this._tooltipController=new d.I(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,s.X)(f)}}]);
|
@@ -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
|
+
*/
|
package/dist/umd/2755.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[2755],{25827:(e,a,d)=>{d.d(a,{y:()=>l});var o=d(7138),i=d(94619),n=d(70263);const l=(...e)=>(0,o.Zz)(i.XX,i._$,i.yF,i.jd)((0,n.q)(...e))},93826:(e,a,d)=>{d.d(a,{A:()=>S});const{host:o,label:i,placeholder:n,requiredIndicator:l,inputField:r,input:t,inputMask:c,helperText:m,errorMessage:C,disabledPlaceholder:p,inputDisabled:s,inputIcon:u,externalInput:y,externalInputDisabled:h,externalPlaceholder:g,externalDisabledPlaceholder:b}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},placeholder:[{selector:"> input:placeholder-shown"},{selector:()=>":host::slotted(input:placeholder-shown)"}],disabledPlaceholder:{selector:"> input:disabled::placeholder"},inputField:{selector:"::part(input-field)"},input:{selector:"input"},inputMask:{selector:"::part(input-field)::before"},inputDisabled:{selector:"input:disabled"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},inputIcon:{selector:"vaadin-icon"},externalInput:{selector:()=>"::slotted(input)"},externalInputDisabled:{selector:()=>"::slotted(input:disabled)"},externalPlaceholder:{selector:()=>"::slotted(input:placeholder-shown)"},externalDisabledPlaceholder:{selector:()=>"::slotted(input:disabled::placeholder)"}},S={fontSize:[{},o],fontFamily:[i,r,m,C],labelFontSize:{...i,property:"font-size"},labelFontWeight:{...i,property:"font-weight"},labelTextColor:[{...i,property:"color"},{...l,property:"color"},{...i,property:"-webkit-text-fill-color"},{...l,property:"-webkit-text-fill-color"}],hostWidth:{...o,property:"width"},hostMinWidth:{...o,property:"min-width"},hostDirection:{...o,property:"direction"},inputDirection:{...t,property:"direction"},inputBackgroundColor:[{...r,property:"background-color"},{...c,property:"background-color"}],errorMessageTextColor:{...C,property:"color"},errorMessageIcon:{...C,property:"background-image"},errorMessageIconSize:{...C,property:"background-size"},errorMessageIconPadding:{...C,property:"padding-inline-start"},errorMessageIconRepeat:{...C,property:"background-repeat"},errorMessageIconPosition:{...C,property:"background-position"},helperTextColor:{...m,property:"-webkit-text-fill-color"},inputValueTextColor:[{...r,property:"color"},{...s,property:"-webkit-text-fill-color"},{...h,property:"-webkit-text-fill-color"}],inputCaretTextColor:[{...t,property:"caret-color"},{...y,property:"caret-color"}],labelRequiredIndicator:{...l,property:"content"},inputBorderColor:{...r,property:"border-color"},inputBorderWidth:{...r,property:"border-width"},inputBorderStyle:{...r,property:"border-style"},inputBorderRadius:{...r,property:"border-radius"},inputHeight:{...r,property:"height"},inputHorizontalPadding:[{...t,property:"padding-left"},{...t,property:"padding-right"},{...y,property:"padding-left"},{...y,property:"padding-right"}],inputOutlineColor:{...r,property:"outline-color"},inputOutlineStyle:{...r,property:"outline-style"},inputOutlineWidth:{...r,property:"outline-width"},inputOutlineOffset:{...r,property:"outline-offset"},textAlign:{},inputTextAlign:[{...t,property:"text-align"},{...y,property:"text-align"}],inputPlaceholderColor:[{selector:()=>":host input:placeholder-shown",property:"color"},{...g,property:"color"},{...n,property:"color"},{...p,property:"-webkit-text-fill-color"},{...b,property:"-webkit-text-fill-color"}],labelPosition:{...i,property:"position"},labelTopPosition:{...i,property:"top"},labelHorizontalPosition:[{...i,property:"left"},{...i,property:"right"}],inputTransformY:{...i,property:"transform"},inputTransition:{...i,property:"transition"},marginInlineStart:{...i,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...g,property:"opacity"}],inputVerticalAlignment:[{...r,property:"align-items"},{...y,property:"align-items"}],valueInputHeight:[{...t,property:"height"},{...y,property:"height"}],valueInputMarginBottom:[{...t,property:"margin-bottom"},{...y,property:"margin-bottom"}],inputIconOffset:[{...u,property:"margin-right"},{...u,property:"margin-left"}],inputIconSize:{...u,property:"font-size"},inputIconColor:{...u,property:"color"}}},44066:(e,a,d)=>{d.d(a,{A:()=>o});const o=[{name:"United States",dialCode:"+1",code:"US"},...[{name:"Afghanistan",dialCode:"+93",code:"AF"},{name:"Aland Islands",dialCode:"+358",code:"AX"},{name:"Albania",dialCode:"+355",code:"AL"},{name:"Algeria",dialCode:"+213",code:"DZ"},{name:"AmericanSamoa",dialCode:"+1684",code:"AS"},{name:"Andorra",dialCode:"+376",code:"AD"},{name:"Angola",dialCode:"+244",code:"AO"},{name:"Anguilla",dialCode:"+1264",code:"AI"},{name:"Antarctica",dialCode:"+672",code:"AQ"},{name:"Antigua and Barbuda",dialCode:"+1268",code:"AG"},{name:"Argentina",dialCode:"+54",code:"AR"},{name:"Armenia",dialCode:"+374",code:"AM"},{name:"Aruba",dialCode:"+297",code:"AW"},{name:"Australia",dialCode:"+61",code:"AU"},{name:"Austria",dialCode:"+43",code:"AT"},{name:"Azerbaijan",dialCode:"+994",code:"AZ"},{name:"Bahamas",dialCode:"+1242",code:"BS"},{name:"Bahrain",dialCode:"+973",code:"BH"},{name:"Bangladesh",dialCode:"+880",code:"BD"},{name:"Barbados",dialCode:"+1246",code:"BB"},{name:"Belarus",dialCode:"+375",code:"BY"},{name:"Belgium",dialCode:"+32",code:"BE"},{name:"Belize",dialCode:"+501",code:"BZ"},{name:"Benin",dialCode:"+229",code:"BJ"},{name:"Bermuda",dialCode:"+1441",code:"BM"},{name:"Bhutan",dialCode:"+975",code:"BT"},{name:"Bolivia, Plurinational State of",dialCode:"+591",code:"BO"},{name:"Bosnia and Herzegovina",dialCode:"+387",code:"BA"},{name:"Botswana",dialCode:"+267",code:"BW"},{name:"Brazil",dialCode:"+55",code:"BR"},{name:"British Indian Ocean Territory",dialCode:"+246",code:"IO"},{name:"Brunei Darussalam",dialCode:"+673",code:"BN"},{name:"Bulgaria",dialCode:"+359",code:"BG"},{name:"Burkina Faso",dialCode:"+226",code:"BF"},{name:"Burundi",dialCode:"+257",code:"BI"},{name:"Cambodia",dialCode:"+855",code:"KH"},{name:"Cameroon",dialCode:"+237",code:"CM"},{name:"Canada",dialCode:"+1",code:"CA"},{name:"Cape Verde",dialCode:"+238",code:"CV"},{name:"Cayman Islands",dialCode:"+345",code:"KY"},{name:"Central African Republic",dialCode:"+236",code:"CF"},{name:"Chad",dialCode:"+235",code:"TD"},{name:"Chile",dialCode:"+56",code:"CL"},{name:"China",dialCode:"+86",code:"CN"},{name:"Christmas Island",dialCode:"+61",code:"CX"},{name:"Cocos (Keeling) Islands",dialCode:"+61",code:"CC"},{name:"Colombia",dialCode:"+57",code:"CO"},{name:"Comoros",dialCode:"+269",code:"KM"},{name:"Congo",dialCode:"+242",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dialCode:"+243",code:"CD"},{name:"Cook Islands",dialCode:"+682",code:"CK"},{name:"Costa Rica",dialCode:"+506",code:"CR"},{name:"Cote d'Ivoire",dialCode:"+225",code:"CI"},{name:"Croatia",dialCode:"+385",code:"HR"},{name:"Cuba",dialCode:"+53",code:"CU"},{name:"Cyprus",dialCode:"+357",code:"CY"},{name:"Czech Republic",dialCode:"+420",code:"CZ"},{name:"Denmark",dialCode:"+45",code:"DK"},{name:"Djibouti",dialCode:"+253",code:"DJ"},{name:"Dominica",dialCode:"+1767",code:"DM"},{name:"Dominican Republic",dialCode:"+1849",code:"DO"},{name:"Ecuador",dialCode:"+593",code:"EC"},{name:"Egypt",dialCode:"+20",code:"EG"},{name:"El Salvador",dialCode:"+503",code:"SV"},{name:"Equatorial Guinea",dialCode:"+240",code:"GQ"},{name:"Eritrea",dialCode:"+291",code:"ER"},{name:"Estonia",dialCode:"+372",code:"EE"},{name:"Ethiopia",dialCode:"+251",code:"ET"},{name:"Falkland Islands (Malvinas)",dialCode:"+500",code:"FK"},{name:"Faroe Islands",dialCode:"+298",code:"FO"},{name:"Fiji",dialCode:"+679",code:"FJ"},{name:"Finland",dialCode:"+358",code:"FI"},{name:"France",dialCode:"+33",code:"FR"},{name:"French Guiana",dialCode:"+594",code:"GF"},{name:"French Polynesia",dialCode:"+689",code:"PF"},{name:"Gabon",dialCode:"+241",code:"GA"},{name:"Gambia",dialCode:"+220",code:"GM"},{name:"Georgia",dialCode:"+995",code:"GE"},{name:"Germany",dialCode:"+49",code:"DE"},{name:"Ghana",dialCode:"+233",code:"GH"},{name:"Gibraltar",dialCode:"+350",code:"GI"},{name:"Greece",dialCode:"+30",code:"GR"},{name:"Greenland",dialCode:"+299",code:"GL"},{name:"Grenada",dialCode:"+1473",code:"GD"},{name:"Guadeloupe",dialCode:"+590",code:"GP"},{name:"Guam",dialCode:"+1671",code:"GU"},{name:"Guatemala",dialCode:"+502",code:"GT"},{name:"Guernsey",dialCode:"+44",code:"GG"},{name:"Guinea",dialCode:"+224",code:"GN"},{name:"Guinea-Bissau",dialCode:"+245",code:"GW"},{name:"Guyana",dialCode:"+595",code:"GY"},{name:"Haiti",dialCode:"+509",code:"HT"},{name:"Holy See (Vatican City State)",dialCode:"+379",code:"VA"},{name:"Honduras",dialCode:"+504",code:"HN"},{name:"Hong Kong",dialCode:"+852",code:"HK"},{name:"Hungary",dialCode:"+36",code:"HU"},{name:"Iceland",dialCode:"+354",code:"IS"},{name:"India",dialCode:"+91",code:"IN"},{name:"Indonesia",dialCode:"+62",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dialCode:"+98",code:"IR"},{name:"Iraq",dialCode:"+964",code:"IQ"},{name:"Ireland",dialCode:"+353",code:"IE"},{name:"Isle of Man",dialCode:"+44",code:"IM"},{name:"Israel",dialCode:"+972",code:"IL"},{name:"Italy",dialCode:"+39",code:"IT"},{name:"Jamaica",dialCode:"+1876",code:"JM"},{name:"Japan",dialCode:"+81",code:"JP"},{name:"Jersey",dialCode:"+44",code:"JE"},{name:"Jordan",dialCode:"+962",code:"JO"},{name:"Kazakhstan",dialCode:"+77",code:"KZ"},{name:"Kenya",dialCode:"+254",code:"KE"},{name:"Kiribati",dialCode:"+686",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dialCode:"+850",code:"KP"},{name:"Korea, Republic of South Korea",dialCode:"+82",code:"KR"},{name:"Kuwait",dialCode:"+965",code:"KW"},{name:"Kyrgyzstan",dialCode:"+996",code:"KG"},{name:"Laos",dialCode:"+856",code:"LA"},{name:"Latvia",dialCode:"+371",code:"LV"},{name:"Lebanon",dialCode:"+961",code:"LB"},{name:"Lesotho",dialCode:"+266",code:"LS"},{name:"Liberia",dialCode:"+231",code:"LR"},{name:"Libyan Arab Jamahiriya",dialCode:"+218",code:"LY"},{name:"Liechtenstein",dialCode:"+423",code:"LI"},{name:"Lithuania",dialCode:"+370",code:"LT"},{name:"Luxembourg",dialCode:"+352",code:"LU"},{name:"Macao",dialCode:"+853",code:"MO"},{name:"Macedonia",dialCode:"+389",code:"MK"},{name:"Madagascar",dialCode:"+261",code:"MG"},{name:"Malawi",dialCode:"+265",code:"MW"},{name:"Malaysia",dialCode:"+60",code:"MY"},{name:"Maldives",dialCode:"+960",code:"MV"},{name:"Mali",dialCode:"+223",code:"ML"},{name:"Malta",dialCode:"+356",code:"MT"},{name:"Marshall Islands",dialCode:"+692",code:"MH"},{name:"Martinique",dialCode:"+596",code:"MQ"},{name:"Mauritania",dialCode:"+222",code:"MR"},{name:"Mauritius",dialCode:"+230",code:"MU"},{name:"Mayotte",dialCode:"+262",code:"YT"},{name:"Mexico",dialCode:"+52",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dialCode:"+691",code:"FM"},{name:"Moldova",dialCode:"+373",code:"MD"},{name:"Monaco",dialCode:"+377",code:"MC"},{name:"Mongolia",dialCode:"+976",code:"MN"},{name:"Montenegro",dialCode:"+382",code:"ME"},{name:"Montserrat",dialCode:"+1664",code:"MS"},{name:"Morocco",dialCode:"+212",code:"MA"},{name:"Mozambique",dialCode:"+258",code:"MZ"},{name:"Myanmar",dialCode:"+95",code:"MM"},{name:"Namibia",dialCode:"+264",code:"NA"},{name:"Nauru",dialCode:"+674",code:"NR"},{name:"Nepal",dialCode:"+977",code:"NP"},{name:"Netherlands",dialCode:"+31",code:"NL"},{name:"Netherlands Antilles",dialCode:"+599",code:"AN"},{name:"New Caledonia",dialCode:"+687",code:"NC"},{name:"New Zealand",dialCode:"+64",code:"NZ"},{name:"Nicaragua",dialCode:"+505",code:"NI"},{name:"Niger",dialCode:"+227",code:"NE"},{name:"Nigeria",dialCode:"+234",code:"NG"},{name:"Niue",dialCode:"+683",code:"NU"},{name:"Norfolk Island",dialCode:"+672",code:"NF"},{name:"Northern Mariana Islands",dialCode:"+1670",code:"MP"},{name:"Norway",dialCode:"+47",code:"NO"},{name:"Oman",dialCode:"+968",code:"OM"},{name:"Pakistan",dialCode:"+92",code:"PK"},{name:"Palau",dialCode:"+680",code:"PW"},{name:"Palestinian Territory, Occupied",dialCode:"+970",code:"PS"},{name:"Panama",dialCode:"+507",code:"PA"},{name:"Papua New Guinea",dialCode:"+675",code:"PG"},{name:"Paraguay",dialCode:"+595",code:"PY"},{name:"Peru",dialCode:"+51",code:"PE"},{name:"Philippines",dialCode:"+63",code:"PH"},{name:"Pitcairn",dialCode:"+872",code:"PN"},{name:"Poland",dialCode:"+48",code:"PL"},{name:"Portugal",dialCode:"+351",code:"PT"},{name:"Puerto Rico",dialCode:"+1939",code:"PR"},{name:"Qatar",dialCode:"+974",code:"QA"},{name:"Romania",dialCode:"+40",code:"RO"},{name:"Russia",dialCode:"+7",code:"RU"},{name:"Rwanda",dialCode:"+250",code:"RW"},{name:"Reunion",dialCode:"+262",code:"RE"},{name:"Saint Barthelemy",dialCode:"+590",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dialCode:"+290",code:"SH"},{name:"Saint Kitts and Nevis",dialCode:"+1869",code:"KN"},{name:"Saint Lucia",dialCode:"+1758",code:"LC"},{name:"Saint Martin",dialCode:"+590",code:"MF"},{name:"Saint Pierre and Miquelon",dialCode:"+508",code:"PM"},{name:"Saint Vincent and the Grenadines",dialCode:"+1784",code:"VC"},{name:"Samoa",dialCode:"+685",code:"WS"},{name:"San Marino",dialCode:"+378",code:"SM"},{name:"Sao Tome and Principe",dialCode:"+239",code:"ST"},{name:"Saudi Arabia",dialCode:"+966",code:"SA"},{name:"Senegal",dialCode:"+221",code:"SN"},{name:"Serbia",dialCode:"+381",code:"RS"},{name:"Seychelles",dialCode:"+248",code:"SC"},{name:"Sierra Leone",dialCode:"+232",code:"SL"},{name:"Singapore",dialCode:"+65",code:"SG"},{name:"Slovakia",dialCode:"+421",code:"SK"},{name:"Slovenia",dialCode:"+386",code:"SI"},{name:"Solomon Islands",dialCode:"+677",code:"SB"},{name:"Somalia",dialCode:"+252",code:"SO"},{name:"South Africa",dialCode:"+27",code:"ZA"},{name:"South Sudan",dialCode:"+211",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dialCode:"+500",code:"GS"},{name:"Spain",dialCode:"+34",code:"ES"},{name:"Sri Lanka",dialCode:"+94",code:"LK"},{name:"Sudan",dialCode:"+249",code:"SD"},{name:"Suriname",dialCode:"+597",code:"SR"},{name:"Svalbard and Jan Mayen",dialCode:"+47",code:"SJ"},{name:"Swaziland",dialCode:"+268",code:"SZ"},{name:"Sweden",dialCode:"+46",code:"SE"},{name:"Switzerland",dialCode:"+41",code:"CH"},{name:"Syrian Arab Republic",dialCode:"+963",code:"SY"},{name:"Taiwan",dialCode:"+886",code:"TW"},{name:"Tajikistan",dialCode:"+992",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dialCode:"+255",code:"TZ"},{name:"Thailand",dialCode:"+66",code:"TH"},{name:"Timor-Leste",dialCode:"+670",code:"TL"},{name:"Togo",dialCode:"+228",code:"TG"},{name:"Tokelau",dialCode:"+690",code:"TK"},{name:"Tonga",dialCode:"+676",code:"TO"},{name:"Trinidad and Tobago",dialCode:"+1868",code:"TT"},{name:"Tunisia",dialCode:"+216",code:"TN"},{name:"Turkey",dialCode:"+90",code:"TR"},{name:"Turkmenistan",dialCode:"+993",code:"TM"},{name:"Turks and Caicos Islands",dialCode:"+1649",code:"TC"},{name:"Tuvalu",dialCode:"+688",code:"TV"},{name:"Uganda",dialCode:"+256",code:"UG"},{name:"Ukraine",dialCode:"+380",code:"UA"},{name:"United Arab Emirates",dialCode:"+971",code:"AE"},{name:"United Kingdom",dialCode:"+44",code:"GB"},{name:"Uruguay",dialCode:"+598",code:"UY"},{name:"Uzbekistan",dialCode:"+998",code:"UZ"},{name:"Vanuatu",dialCode:"+678",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dialCode:"+58",code:"VE"},{name:"Vietnam",dialCode:"+84",code:"VN"},{name:"Virgin Islands, British",dialCode:"+1284",code:"VG"},{name:"Virgin Islands, U.S.",dialCode:"+1340",code:"VI"},{name:"Wallis and Futuna",dialCode:"+681",code:"WF"},{name:"Yemen",dialCode:"+967",code:"YE"},{name:"Zambia",dialCode:"+260",code:"ZM"},{name:"Zimbabwe",dialCode:"+263",code:"ZW"}].sort(((e,a)=>e.name<a.name?-1:1))]}}]);
|