@descope/web-components-ui 1.32.0 → 1.33.0
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/dist/cjs/index.cjs.js +481 -364
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +524 -438
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1408.js +382 -0
- package/dist/umd/1408.js.LICENSE.txt +17 -0
- package/dist/umd/1408.js.map +1 -0
- package/dist/umd/{9243.js → 1519.js} +7 -6
- package/dist/umd/1519.js.map +1 -0
- package/dist/umd/189.js +109 -276
- package/dist/umd/189.js.LICENSE.txt +12 -0
- package/dist/umd/189.js.map +1 -0
- package/dist/umd/{7979.js → 1899.js} +11 -10
- package/dist/umd/1899.js.map +1 -0
- package/dist/umd/{1172.js → 1995.js} +10 -9
- package/dist/umd/1995.js.map +1 -0
- package/dist/umd/2540.js +2 -1
- package/dist/umd/2540.js.map +1 -0
- package/dist/umd/2672.js +2 -0
- package/dist/umd/2672.js.map +1 -0
- package/dist/umd/2739.js +2 -0
- package/dist/umd/2739.js.map +1 -0
- package/dist/umd/{2570.js → 2894.js} +6 -5
- package/dist/umd/2894.js.map +1 -0
- package/dist/umd/{404.js → 3620.js} +9 -8
- package/dist/umd/3620.js.map +1 -0
- package/dist/umd/{4455.js → 384.js} +8 -7
- package/dist/umd/384.js.map +1 -0
- package/dist/umd/4467.js +3 -0
- package/dist/umd/4467.js.map +1 -0
- package/dist/umd/{4127.js → 4518.js} +11 -10
- package/dist/umd/4518.js.map +1 -0
- package/dist/umd/{1902.js → 4550.js} +7 -6
- package/dist/umd/4550.js.map +1 -0
- package/dist/umd/{4554.js → 4623.js} +7 -6
- package/dist/umd/4623.js.map +1 -0
- package/dist/umd/{742.js → 4914.js} +3 -2
- package/dist/umd/4914.js.map +1 -0
- package/dist/umd/{9478.js → 513.js} +6 -5
- package/dist/umd/513.js.map +1 -0
- package/dist/umd/{201.js → 5260.js} +6 -5
- package/dist/umd/5260.js.map +1 -0
- package/dist/umd/5414.js +2 -1
- package/dist/umd/5414.js.map +1 -0
- package/dist/umd/5648.js +110 -0
- package/dist/umd/5648.js.map +1 -0
- package/dist/umd/5780.js +2 -0
- package/dist/umd/5780.js.map +1 -0
- package/dist/umd/{5563.js → 6227.js} +6 -5
- package/dist/umd/6227.js.map +1 -0
- package/dist/umd/6424.js +149 -0
- package/dist/umd/6424.js.map +1 -0
- package/dist/umd/{7097.js → 6649.js} +6 -5
- package/dist/umd/6649.js.map +1 -0
- package/dist/umd/676.js +3 -0
- package/dist/umd/676.js.map +1 -0
- package/dist/umd/{1738.js → 7092.js} +2 -1
- package/dist/umd/7092.js.map +1 -0
- package/dist/umd/{3638.js → 7182.js} +3 -2
- package/dist/umd/7182.js.map +1 -0
- package/dist/umd/{507.js → 7291.js} +6 -5
- package/dist/umd/7291.js.map +1 -0
- package/dist/umd/{4187.js → 7565.js} +3 -2
- package/dist/umd/7565.js.map +1 -0
- package/dist/umd/{3191.js → 7620.js} +11 -7
- package/dist/umd/7620.js.map +1 -0
- package/dist/umd/{6050.js → 7774.js} +10 -9
- package/dist/umd/7774.js.map +1 -0
- package/dist/umd/{2666.js → 7939.js} +5 -4
- package/dist/umd/7939.js.map +1 -0
- package/dist/umd/{4114.js → 8618.js} +5 -4
- package/dist/umd/8618.js.map +1 -0
- package/dist/umd/8961.js +2 -0
- package/dist/umd/8961.js.map +1 -0
- package/dist/umd/{4574.js → 8983.js} +6 -5
- package/dist/umd/8983.js.map +1 -0
- package/dist/umd/9030.js +265 -307
- package/dist/umd/9030.js.LICENSE.txt +0 -6
- package/dist/umd/9030.js.map +1 -0
- package/dist/umd/9365.js +2 -0
- package/dist/umd/9365.js.map +1 -0
- package/dist/umd/{4218.js → 9380.js} +5 -4
- package/dist/umd/9380.js.map +1 -0
- package/dist/umd/9871.js +276 -0
- package/dist/umd/9871.js.map +1 -0
- package/dist/umd/9970.js +833 -0
- package/dist/umd/9970.js.map +1 -0
- package/dist/umd/DescopeDev.js +2 -1
- package/dist/umd/DescopeDev.js.map +1 -0
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +2 -1
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js.map +1 -0
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +2 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js.map +1 -0
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +2 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.map +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +2 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js.map +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +2 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js.map +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +2 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js.map +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +2 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js.map +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +2 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -0
- package/dist/umd/descope-address-field.js +2 -1
- package/dist/umd/descope-address-field.js.map +1 -0
- package/dist/umd/descope-alert-index-js.js +2 -1
- package/dist/umd/descope-alert-index-js.js.map +1 -0
- package/dist/umd/descope-apps-list-index-js.js +2 -1
- package/dist/umd/descope-apps-list-index-js.js.map +1 -0
- package/dist/umd/descope-autocomplete-field.js +2 -1
- package/dist/umd/descope-autocomplete-field.js.map +1 -0
- package/dist/umd/descope-avatar.js +2 -1
- package/dist/umd/descope-avatar.js.map +1 -0
- package/dist/umd/descope-badge-index-js.js +2 -1
- package/dist/umd/descope-badge-index-js.js.map +1 -0
- package/dist/umd/descope-button-index-js.js +5 -4
- package/dist/umd/descope-button-index-js.js.map +1 -0
- package/dist/umd/descope-code-snippet-index-js.js +2 -1
- package/dist/umd/descope-code-snippet-index-js.js.map +1 -0
- package/dist/umd/descope-combo-box.js +7 -6
- package/dist/umd/descope-combo-box.js.map +1 -0
- package/dist/umd/descope-container-index-js.js +2 -1
- package/dist/umd/descope-container-index-js.js.map +1 -0
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +2 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js.map +1 -0
- package/dist/umd/descope-date-field-index-js.js +2 -1
- package/dist/umd/descope-date-field-index-js.js.map +1 -0
- package/dist/umd/descope-divider-index-js.js +2 -1
- package/dist/umd/descope-divider-index-js.js.map +1 -0
- package/dist/umd/descope-email-field-index-js.js +5 -4
- package/dist/umd/descope-email-field-index-js.js.map +1 -0
- package/dist/umd/descope-enriched-text-index-js.js +2 -1
- package/dist/umd/descope-enriched-text-index-js.js.map +1 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +5 -4
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.map +1 -0
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js +6 -5
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js.map +1 -0
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +2 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js.map +1 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +5 -4
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.map +1 -0
- package/dist/umd/descope-grid-index-js.js +2 -1
- package/dist/umd/descope-grid-index-js.js.map +1 -0
- package/dist/umd/descope-hybrid-field-index-js.js +4 -3
- package/dist/umd/descope-hybrid-field-index-js.js.map +1 -0
- package/dist/umd/descope-icon-index-js.js +2 -1
- package/dist/umd/descope-icon-index-js.js.map +1 -0
- package/dist/umd/descope-image-index-js.js +2 -1
- package/dist/umd/descope-image-index-js.js.map +1 -0
- package/dist/umd/descope-link-index-js.js +2 -1
- package/dist/umd/descope-link-index-js.js.map +1 -0
- package/dist/umd/descope-list-index-js.js +2 -1
- package/dist/umd/descope-list-index-js.js.map +1 -0
- package/dist/umd/descope-loader-linear-index-js.js +2 -1
- package/dist/umd/descope-loader-linear-index-js.js.map +1 -0
- package/dist/umd/descope-loader-radial-index-js.js +2 -1
- package/dist/umd/descope-loader-radial-index-js.js.map +1 -0
- package/dist/umd/descope-logo-index-js.js +2 -1
- package/dist/umd/descope-logo-index-js.js.map +1 -0
- package/dist/umd/descope-modal-index-js.js +2 -1
- package/dist/umd/descope-modal-index-js.js.map +1 -0
- package/dist/umd/descope-multi-select-combo-box-index-js.js +2 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js.map +1 -0
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +2 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js.map +1 -0
- package/dist/umd/descope-new-password-index-js.js +2 -1
- package/dist/umd/descope-new-password-index-js.js.map +1 -0
- package/dist/umd/descope-notification-descope-notification-card-index-js.js +2 -1
- package/dist/umd/descope-notification-descope-notification-card-index-js.js.map +1 -0
- package/dist/umd/descope-notification-index-js.js +2 -1
- package/dist/umd/descope-notification-index-js.js.map +1 -0
- package/dist/umd/descope-notp-image-index-js.js +2 -1
- package/dist/umd/descope-notp-image-index-js.js.map +1 -0
- package/dist/umd/descope-number-field-index-js.js +2 -1
- package/dist/umd/descope-number-field-index-js.js.map +1 -0
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +2 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js.map +1 -0
- package/dist/umd/descope-passcode-index-js.js +3 -2
- package/dist/umd/descope-passcode-index-js.js.map +1 -0
- package/dist/umd/descope-password-index-js.js +2 -1
- package/dist/umd/descope-password-index-js.js.map +1 -0
- package/dist/umd/descope-policy-validation-index-js.js +2 -1
- package/dist/umd/descope-policy-validation-index-js.js.map +1 -0
- package/dist/umd/descope-radio-group-index-js.js +2 -1
- package/dist/umd/descope-radio-group-index-js.js.map +1 -0
- package/dist/umd/descope-recaptcha-index-js.js +2 -1
- package/dist/umd/descope-recaptcha-index-js.js.map +1 -0
- package/dist/umd/descope-scopes-list-index-js.js +2 -1
- package/dist/umd/descope-scopes-list-index-js.js.map +1 -0
- package/dist/umd/descope-security-questions-setup-index-js.js +2 -1
- package/dist/umd/descope-security-questions-setup-index-js.js.map +1 -0
- package/dist/umd/descope-security-questions-verify-index-js.js +3 -2
- package/dist/umd/descope-security-questions-verify-index-js.js.map +1 -0
- package/dist/umd/descope-text-area-index-js.js +2 -1
- package/dist/umd/descope-text-area-index-js.js.map +1 -0
- package/dist/umd/descope-text-field-index-js.js +3 -2
- package/dist/umd/descope-text-field-index-js.js.map +1 -0
- package/dist/umd/descope-text.js +2 -1
- package/dist/umd/descope-text.js.map +1 -0
- package/dist/umd/descope-third-party-app-logo-index-js.js +2 -1
- package/dist/umd/descope-third-party-app-logo-index-js.js.map +1 -0
- package/dist/umd/descope-totp-image-index-js.js +2 -1
- package/dist/umd/descope-totp-image-index-js.js.map +1 -0
- package/dist/umd/descope-upload-file-index-js.js +2 -1
- package/dist/umd/descope-upload-file-index-js.js.map +1 -0
- package/dist/umd/descope-user-attribute-index-js.js +2 -1
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -0
- package/dist/umd/descope-user-auth-method-index-js.js +2 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -0
- package/dist/umd/fonts/font-1364590020.woff +0 -0
- package/dist/umd/fonts/font-1949233557.woff +0 -0
- package/dist/umd/index.js +2 -1
- package/dist/umd/index.js.map +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +2 -1
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js.map +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +2 -1
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js.map +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +2 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -0
- package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +2 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js.map +1 -0
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +2 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -0
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +2 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js.map +1 -0
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +2 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js.map +1 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +3 -2
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js.map +1 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +8 -7
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js.map +1 -0
- package/package.json +10 -8
- package/src/baseClasses/createCssVarImageClass.js +10 -5
- package/src/components/button-selection-group-fields/baseButtonSelectionGroup.js +7 -0
- package/src/components/button-selection-group-fields/createBaseButtonSelectionGroupInternalClass.js +1 -8
- package/src/components/button-selection-group-fields/descope-button-selection-group-item/ButtonSelectionGroupItemClass.js +11 -6
- package/src/components/descope-alert/AlertClass.js +16 -12
- package/src/components/descope-badge/BadgeClass.js +11 -6
- package/src/components/descope-code-snippet/CodeSnippetClass.js +9 -4
- package/src/components/descope-container/ContainerClass.js +9 -4
- package/src/components/descope-date-field/DateFieldClass.js +22 -17
- package/src/components/descope-date-field/descope-calendar/CalendarClass.js +28 -18
- package/src/components/descope-date-field/descope-calendar/helpers.js +1 -2
- package/src/components/descope-divider/DividerClass.js +14 -9
- package/src/components/descope-enriched-text/EnrichedTextClass.js +9 -4
- package/src/components/descope-grid/GridClass.js +1 -1
- package/src/components/descope-hybrid-field/HybridFieldClass.js +15 -10
- package/src/components/descope-icon/IconClass.js +9 -4
- package/src/components/descope-image/ImageClass.js +10 -5
- package/src/components/descope-link/LinkClass.js +14 -9
- package/src/components/descope-list/ListClass.js +15 -13
- package/src/components/descope-list/ListItemClass.js +16 -14
- package/src/components/descope-loader-linear/LoaderLinearClass.js +10 -5
- package/src/components/descope-loader-radial/LoaderRadialClass.js +10 -5
- package/src/components/descope-modal/ModalClass.js +16 -4
- package/src/components/descope-new-password/NewPasswordClass.js +1 -1
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +8 -6
- package/src/components/descope-passcode/PasscodeClass.js +28 -1
- package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +26 -23
- package/src/components/descope-passcode/descope-passcode-internal/helpers.js +3 -22
- package/src/components/descope-policy-validation/PolicyValidationClass.js +8 -3
- package/src/components/descope-recaptcha/RecaptchaClass.js +13 -8
- package/src/components/descope-scopes-list/ScopesListClass.js +9 -5
- package/src/components/descope-security-questions-setup/SecurityQuestionsSetupClass.js +9 -5
- package/src/components/descope-security-questions-verify/SecurityQuestionsVerifyClass.js +9 -5
- package/src/components/descope-text-field/TextFieldClass.js +1 -1
- package/src/components/descope-third-party-app-logo/ThirdPartyAppLogoClass.js +20 -16
- package/src/components/descope-upload-file/UploadFileClass.js +20 -15
- package/src/components/descope-user-attribute/UserAttributeClass.js +25 -22
- package/src/components/descope-user-auth-method/UserAuthMethodClass.js +25 -22
- package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/MappingItem.js +15 -9
- package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +1 -0
- package/src/components/phone-fields/descope-phone-field/helpers.js +0 -1
- package/src/mixins/createProxy.js +3 -1
- package/src/mixins/createStyleMixin/index.js +9 -22
- package/src/mixins/draggableMixin.js +3 -2
- package/dist/umd/1402.js +0 -1
- package/dist/umd/1484.js +0 -148
- package/dist/umd/3110.js +0 -275
- package/dist/umd/3437.js +0 -2
- package/dist/umd/4619.js +0 -1
- package/dist/umd/4902.js +0 -170
- package/dist/umd/4902.js.LICENSE.txt +0 -23
- package/dist/umd/5096.js +0 -109
- package/dist/umd/5318.js +0 -1
- package/dist/umd/5459.js +0 -1
- package/dist/umd/7150.js +0 -2
- package/dist/umd/731.js +0 -832
- package/dist/umd/8823.js +0 -1
- /package/dist/umd/{9243.js.LICENSE.txt → 1519.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1902.js.LICENSE.txt → 1899.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1172.js.LICENSE.txt → 1995.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2570.js.LICENSE.txt → 2894.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1484.js.LICENSE.txt → 3620.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2666.js.LICENSE.txt → 384.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3437.js.LICENSE.txt → 4467.js.LICENSE.txt} +0 -0
- /package/dist/umd/{404.js.LICENSE.txt → 4518.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4455.js.LICENSE.txt → 4550.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4554.js.LICENSE.txt → 4623.js.LICENSE.txt} +0 -0
- /package/dist/umd/{742.js.LICENSE.txt → 4914.js.LICENSE.txt} +0 -0
- /package/dist/umd/{507.js.LICENSE.txt → 513.js.LICENSE.txt} +0 -0
- /package/dist/umd/{201.js.LICENSE.txt → 5260.js.LICENSE.txt} +0 -0
- /package/dist/umd/{5096.js.LICENSE.txt → 5648.js.LICENSE.txt} +0 -0
- /package/dist/umd/{5563.js.LICENSE.txt → 6227.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4127.js.LICENSE.txt → 6424.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7097.js.LICENSE.txt → 6649.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7150.js.LICENSE.txt → 676.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3638.js.LICENSE.txt → 7182.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7979.js.LICENSE.txt → 7291.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4187.js.LICENSE.txt → 7565.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3191.js.LICENSE.txt → 7620.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6050.js.LICENSE.txt → 7774.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9478.js.LICENSE.txt → 7939.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4114.js.LICENSE.txt → 8618.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4574.js.LICENSE.txt → 8983.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4218.js.LICENSE.txt → 9380.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3110.js.LICENSE.txt → 9871.js.LICENSE.txt} +0 -0
- /package/dist/umd/{731.js.LICENSE.txt → 9970.js.LICENSE.txt} +0 -0
- /package/dist/umd/{bcdfe87ae253c2cf789c9a737f8d8c22.woff → fonts/font-38673212.woff} +0 -0
package/dist/index.esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import '@vaadin/button';
|
2
|
-
import merge from 'lodash.merge';
|
3
2
|
import debounce from 'lodash.debounce';
|
3
|
+
import merge from 'lodash.merge';
|
4
4
|
import Color from 'color';
|
5
5
|
import 'element-internals-polyfill';
|
6
6
|
import DOMPurify from 'dompurify';
|
@@ -194,10 +194,6 @@ const forwardProps$3 = (src, target, props = []) => {
|
|
194
194
|
Object.defineProperties(target, config);
|
195
195
|
};
|
196
196
|
|
197
|
-
const DESCOPE_PREFIX = 'descope';
|
198
|
-
const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;
|
199
|
-
const BASE_THEME_SECTION = 'host';
|
200
|
-
|
201
197
|
/**
|
202
198
|
* Creates a debounced version of an async function that manages multiple pending promises and ensures proper error handling.
|
203
199
|
* When multiple calls are made within the wait period, all pending promises will be resolved/rejected with the result/error
|
@@ -279,6 +275,10 @@ const compose =
|
|
279
275
|
|
280
276
|
const isFunction = (maybeFunc) => typeof maybeFunc === 'function';
|
281
277
|
|
278
|
+
const DESCOPE_PREFIX = 'descope';
|
279
|
+
const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;
|
280
|
+
const BASE_THEME_SECTION = 'host';
|
281
|
+
|
282
282
|
const observeAttributes = (ele, callback, { excludeAttrs = [], includeAttrs = [] }) => {
|
283
283
|
// sync all attrs on init
|
284
284
|
const filteredAttrs = Array.from(ele.attributes)
|
@@ -372,6 +372,22 @@ const forwardProps$2 = (src, target, props = []) => {
|
|
372
372
|
Object.defineProperties(target, config);
|
373
373
|
};
|
374
374
|
|
375
|
+
const injectStyle = (cssString, ref, {prepend = false} = {}) => {
|
376
|
+
const style = new CSSStyleSheet();
|
377
|
+
const _ref = ref?.shadowRoot || ref;
|
378
|
+
if (cssString) {
|
379
|
+
style.replaceSync(cssString);
|
380
|
+
}
|
381
|
+
if (_ref) {
|
382
|
+
const adoptedStyleSheets = [...(_ref.adoptedStyleSheets || [])];
|
383
|
+
adoptedStyleSheets[prepend ? 'unshift' : 'push'](style);
|
384
|
+
|
385
|
+
_ref.adoptedStyleSheets = adoptedStyleSheets;
|
386
|
+
}
|
387
|
+
|
388
|
+
return style;
|
389
|
+
};
|
390
|
+
|
375
391
|
class ComponentsThemeManager {
|
376
392
|
static mountOnPropName = 'DescopeThemeManager';
|
377
393
|
|
@@ -959,13 +975,11 @@ const createStyleMixin$1 =
|
|
959
975
|
}
|
960
976
|
|
961
977
|
#onComponentThemeChange() {
|
962
|
-
this.#themeStyleEle.
|
978
|
+
this.#themeStyleEle.replaceSync(this.#componentTheme[this.#themeSection]);
|
963
979
|
}
|
964
980
|
|
965
981
|
#createComponentTheme() {
|
966
|
-
this.#themeStyleEle =
|
967
|
-
this.#themeStyleEle.id = `style-mixin-theme__${componentName}`;
|
968
|
-
this.#rootElement.prepend(this.#themeStyleEle);
|
982
|
+
this.#themeStyleEle = injectStyle('', this.#rootElement, { prepend: true });
|
969
983
|
this.#disconnectThemeManager = componentsThemeManager.onCurrentThemeChange(
|
970
984
|
this.#onComponentThemeChange.bind(this)
|
971
985
|
);
|
@@ -974,21 +988,18 @@ const createStyleMixin$1 =
|
|
974
988
|
|
975
989
|
#createOverridesStyle() {
|
976
990
|
if (this.#styleAttributes.length) {
|
977
|
-
this.#overrideStyleEle = document.createElement('style');
|
978
|
-
this.#overrideStyleEle.id = `style-mixin-overrides__${componentName}`;
|
979
|
-
|
980
991
|
const classSpecifier = createClassSelectorSpecifier$1(
|
981
992
|
componentName,
|
982
993
|
CSS_SELECTOR_SPECIFIER_MULTIPLY$1
|
983
994
|
);
|
984
995
|
|
985
|
-
this.#overrideStyleEle
|
986
|
-
this.#rootElement.append(this.#overrideStyleEle);
|
996
|
+
this.#overrideStyleEle = injectStyle(`:host(${classSpecifier}) {}`, this.#rootElement);
|
987
997
|
}
|
988
998
|
}
|
989
999
|
|
990
1000
|
#setAttrOverride(attrName, value) {
|
991
|
-
const style = this.#overrideStyleEle?.
|
1001
|
+
const style = this.#overrideStyleEle?.cssRules[0].style;
|
1002
|
+
|
992
1003
|
if (!style) return;
|
993
1004
|
|
994
1005
|
const varName = getCssVarName$1(
|
@@ -1004,31 +1015,22 @@ const createStyleMixin$1 =
|
|
1004
1015
|
}
|
1005
1016
|
|
1006
1017
|
#updateOverridesStyle(attrs = []) {
|
1007
|
-
let shouldUpdate = false;
|
1008
|
-
|
1009
1018
|
attrs.forEach((attr) => {
|
1010
1019
|
if (this.#styleAttributes.includes(attr)) {
|
1011
1020
|
this.#setAttrOverride(attr, this.getAttribute(attr));
|
1012
|
-
shouldUpdate = true;
|
1013
1021
|
}
|
1014
1022
|
});
|
1015
|
-
|
1016
|
-
if (shouldUpdate) {
|
1017
|
-
// we are rewriting the style back to the style tag
|
1018
|
-
this.#overrideStyleEle.innerHTML = this.#overrideStyleEle?.sheet?.cssRules[0].cssText;
|
1019
|
-
}
|
1020
1023
|
}
|
1021
1024
|
|
1022
1025
|
#createMappingStyle() {
|
1023
1026
|
if (Object.keys(mappings).length) {
|
1024
|
-
const
|
1025
|
-
themeStyle.id = `style-mixin-mappings__${componentName}`;
|
1026
|
-
themeStyle.innerHTML = createStyle$1(
|
1027
|
+
const style = createStyle$1(
|
1027
1028
|
kebabCaseJoin$1(componentName, this.#componentNameSuffix),
|
1028
1029
|
this.#baseSelector,
|
1029
1030
|
mappings
|
1030
1031
|
);
|
1031
|
-
|
1032
|
+
|
1033
|
+
injectStyle(style, this.#rootElement, { prepend: true });
|
1032
1034
|
}
|
1033
1035
|
}
|
1034
1036
|
|
@@ -1072,8 +1074,7 @@ const draggableMixin$1 = (superclass) =>
|
|
1072
1074
|
constructor() {
|
1073
1075
|
super();
|
1074
1076
|
|
1075
|
-
|
1076
|
-
this.#styleEle.innerText = `* { cursor: inherit!important }`;
|
1077
|
+
injectStyle(`* { cursor: inherit!important }`, this);
|
1077
1078
|
}
|
1078
1079
|
|
1079
1080
|
#handleDraggableStyle(isDraggable) {
|
@@ -1322,7 +1323,6 @@ const createProxy$1 = ({
|
|
1322
1323
|
|
1323
1324
|
constructor() {
|
1324
1325
|
super().attachShadow({ mode: 'open', delegatesFocus }).innerHTML = `
|
1325
|
-
<style id="create-proxy">${(isFunction$1(style) ? style() : style) || ''}</style>
|
1326
1326
|
<${wrappedEleName}>
|
1327
1327
|
${slots
|
1328
1328
|
.map(
|
@@ -1333,6 +1333,8 @@ const createProxy$1 = ({
|
|
1333
1333
|
.join('')}
|
1334
1334
|
</${wrappedEleName}>
|
1335
1335
|
`;
|
1336
|
+
|
1337
|
+
injectStyle((isFunction$1(style) ? style() : style) || '', this);
|
1336
1338
|
}
|
1337
1339
|
|
1338
1340
|
init() {
|
@@ -1811,8 +1813,6 @@ const composedProxyInputMixin$1 = (proxyInputMixinConfig) =>
|
|
1811
1813
|
// because of that, we are adding this separator that is also used as a differentiator
|
1812
1814
|
const DISPLAY_NAME_SEPARATOR$1 = '_';
|
1813
1815
|
|
1814
|
-
const sanitizeSelector$1 = (selector) => selector.replace(/[^\w\s]/gi, '');
|
1815
|
-
|
1816
1816
|
const withWaitForShadowRoot$1 = (getRootElementFn) => async (that) => {
|
1817
1817
|
const ele = await getRootElementFn(that);
|
1818
1818
|
|
@@ -1843,7 +1843,7 @@ const withWaitForShadowRoot$1 = (getRootElementFn) => async (that) => {
|
|
1843
1843
|
const portalMixin$1 =
|
1844
1844
|
({ name, selector, mappings = {}, forward: { attributes = [], include = true } = {} }) =>
|
1845
1845
|
(superclass) => {
|
1846
|
-
const eleDisplayName = name
|
1846
|
+
const eleDisplayName = name;
|
1847
1847
|
|
1848
1848
|
const BaseClass = createStyleMixin$1({
|
1849
1849
|
mappings,
|
@@ -2329,7 +2329,11 @@ class RawIcon extends createBaseClass$1({ componentName: componentName$1b, baseS
|
|
2329
2329
|
super();
|
2330
2330
|
|
2331
2331
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
2332
|
-
<
|
2332
|
+
<slot></slot>
|
2333
|
+
`;
|
2334
|
+
|
2335
|
+
injectStyle(
|
2336
|
+
`
|
2333
2337
|
:host > slot {
|
2334
2338
|
box-sizing: border-box;
|
2335
2339
|
width: 100%;
|
@@ -2340,9 +2344,9 @@ class RawIcon extends createBaseClass$1({ componentName: componentName$1b, baseS
|
|
2340
2344
|
:host {
|
2341
2345
|
display: inline-block;
|
2342
2346
|
}
|
2343
|
-
|
2344
|
-
|
2345
|
-
|
2347
|
+
`,
|
2348
|
+
this
|
2349
|
+
);
|
2346
2350
|
}
|
2347
2351
|
|
2348
2352
|
init() {
|
@@ -3158,8 +3162,12 @@ class RawLoaderLinear extends createBaseClass$1({ componentName: componentName$1
|
|
3158
3162
|
super();
|
3159
3163
|
|
3160
3164
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
3161
|
-
<
|
3162
|
-
|
3165
|
+
<div></div>
|
3166
|
+
`;
|
3167
|
+
|
3168
|
+
injectStyle(
|
3169
|
+
`
|
3170
|
+
@keyframes tilt {
|
3163
3171
|
0% { transform: translateX(0); }
|
3164
3172
|
50% { transform: translateX(400%); }
|
3165
3173
|
}
|
@@ -3176,9 +3184,9 @@ class RawLoaderLinear extends createBaseClass$1({ componentName: componentName$1
|
|
3176
3184
|
:host > div {
|
3177
3185
|
width: 100%;
|
3178
3186
|
}
|
3179
|
-
|
3180
|
-
|
3181
|
-
|
3187
|
+
`,
|
3188
|
+
this
|
3189
|
+
);
|
3182
3190
|
}
|
3183
3191
|
}
|
3184
3192
|
|
@@ -3221,8 +3229,12 @@ class RawLoaderRadial extends createBaseClass$1({ componentName: componentName$1
|
|
3221
3229
|
super();
|
3222
3230
|
|
3223
3231
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
3224
|
-
<
|
3225
|
-
|
3232
|
+
<div></div>
|
3233
|
+
`;
|
3234
|
+
|
3235
|
+
injectStyle(
|
3236
|
+
`
|
3237
|
+
@keyframes spin {
|
3226
3238
|
0% { transform: rotate(0deg); }
|
3227
3239
|
100% { transform: rotate(360deg); }
|
3228
3240
|
}
|
@@ -3233,9 +3245,9 @@ class RawLoaderRadial extends createBaseClass$1({ componentName: componentName$1
|
|
3233
3245
|
:host > div {
|
3234
3246
|
animation-name: spin;
|
3235
3247
|
}
|
3236
|
-
|
3237
|
-
|
3238
|
-
|
3248
|
+
`,
|
3249
|
+
this
|
3250
|
+
);
|
3239
3251
|
}
|
3240
3252
|
}
|
3241
3253
|
|
@@ -3269,7 +3281,11 @@ class RawContainer extends createBaseClass$1({ componentName: componentName$14,
|
|
3269
3281
|
super();
|
3270
3282
|
|
3271
3283
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
3272
|
-
<
|
3284
|
+
<slot></slot>
|
3285
|
+
`;
|
3286
|
+
|
3287
|
+
injectStyle(
|
3288
|
+
`
|
3273
3289
|
:host > slot {
|
3274
3290
|
box-sizing: border-box;
|
3275
3291
|
width: 100%;
|
@@ -3280,9 +3296,9 @@ class RawContainer extends createBaseClass$1({ componentName: componentName$14,
|
|
3280
3296
|
:host {
|
3281
3297
|
display: inline-block;
|
3282
3298
|
}
|
3283
|
-
|
3284
|
-
|
3285
|
-
|
3299
|
+
`,
|
3300
|
+
this
|
3301
|
+
);
|
3286
3302
|
}
|
3287
3303
|
}
|
3288
3304
|
|
@@ -3490,13 +3506,11 @@ const createStyleMixin =
|
|
3490
3506
|
}
|
3491
3507
|
|
3492
3508
|
#onComponentThemeChange() {
|
3493
|
-
this.#themeStyleEle.
|
3509
|
+
this.#themeStyleEle.replaceSync(this.#componentTheme[this.#themeSection]);
|
3494
3510
|
}
|
3495
3511
|
|
3496
3512
|
#createComponentTheme() {
|
3497
|
-
this.#themeStyleEle =
|
3498
|
-
this.#themeStyleEle.id = `style-mixin-theme__${componentName}`;
|
3499
|
-
this.#rootElement.prepend(this.#themeStyleEle);
|
3513
|
+
this.#themeStyleEle = injectStyle('', this.#rootElement, { prepend: true });
|
3500
3514
|
this.#disconnectThemeManager = componentsThemeManager.onCurrentThemeChange(
|
3501
3515
|
this.#onComponentThemeChange.bind(this)
|
3502
3516
|
);
|
@@ -3505,21 +3519,18 @@ const createStyleMixin =
|
|
3505
3519
|
|
3506
3520
|
#createOverridesStyle() {
|
3507
3521
|
if (this.#styleAttributes.length) {
|
3508
|
-
this.#overrideStyleEle = document.createElement('style');
|
3509
|
-
this.#overrideStyleEle.id = `style-mixin-overrides__${componentName}`;
|
3510
|
-
|
3511
3522
|
const classSpecifier = createClassSelectorSpecifier(
|
3512
3523
|
componentName,
|
3513
3524
|
CSS_SELECTOR_SPECIFIER_MULTIPLY
|
3514
3525
|
);
|
3515
3526
|
|
3516
|
-
this.#overrideStyleEle
|
3517
|
-
this.#rootElement.append(this.#overrideStyleEle);
|
3527
|
+
this.#overrideStyleEle = injectStyle(`:host(${classSpecifier}) {}`, this.#rootElement);
|
3518
3528
|
}
|
3519
3529
|
}
|
3520
3530
|
|
3521
3531
|
#setAttrOverride(attrName, value) {
|
3522
|
-
const style = this.#overrideStyleEle?.
|
3532
|
+
const style = this.#overrideStyleEle?.cssRules[0].style;
|
3533
|
+
|
3523
3534
|
if (!style) return;
|
3524
3535
|
|
3525
3536
|
const varName = getCssVarName(
|
@@ -3535,31 +3546,22 @@ const createStyleMixin =
|
|
3535
3546
|
}
|
3536
3547
|
|
3537
3548
|
#updateOverridesStyle(attrs = []) {
|
3538
|
-
let shouldUpdate = false;
|
3539
|
-
|
3540
3549
|
attrs.forEach((attr) => {
|
3541
3550
|
if (this.#styleAttributes.includes(attr)) {
|
3542
3551
|
this.#setAttrOverride(attr, this.getAttribute(attr));
|
3543
|
-
shouldUpdate = true;
|
3544
3552
|
}
|
3545
3553
|
});
|
3546
|
-
|
3547
|
-
if (shouldUpdate) {
|
3548
|
-
// we are rewriting the style back to the style tag
|
3549
|
-
this.#overrideStyleEle.innerHTML = this.#overrideStyleEle?.sheet?.cssRules[0].cssText;
|
3550
|
-
}
|
3551
3554
|
}
|
3552
3555
|
|
3553
3556
|
#createMappingStyle() {
|
3554
3557
|
if (Object.keys(mappings).length) {
|
3555
|
-
const
|
3556
|
-
themeStyle.id = `style-mixin-mappings__${componentName}`;
|
3557
|
-
themeStyle.innerHTML = createStyle(
|
3558
|
+
const style = createStyle(
|
3558
3559
|
kebabCaseJoin(componentName, this.#componentNameSuffix),
|
3559
3560
|
this.#baseSelector,
|
3560
3561
|
mappings
|
3561
3562
|
);
|
3562
|
-
|
3563
|
+
|
3564
|
+
injectStyle(style, this.#rootElement, { prepend: true });
|
3563
3565
|
}
|
3564
3566
|
}
|
3565
3567
|
|
@@ -4228,7 +4230,6 @@ const createProxy = ({
|
|
4228
4230
|
|
4229
4231
|
constructor() {
|
4230
4232
|
super().attachShadow({ mode: 'open', delegatesFocus }).innerHTML = `
|
4231
|
-
<style id="create-proxy">${(isFunction(style) ? style() : style) || ''}</style>
|
4232
4233
|
<${wrappedEleName}>
|
4233
4234
|
${slots
|
4234
4235
|
.map(
|
@@ -4239,6 +4240,8 @@ const createProxy = ({
|
|
4239
4240
|
.join('')}
|
4240
4241
|
</${wrappedEleName}>
|
4241
4242
|
`;
|
4243
|
+
|
4244
|
+
injectStyle((isFunction(style) ? style() : style) || '', this);
|
4242
4245
|
}
|
4243
4246
|
|
4244
4247
|
init() {
|
@@ -4509,9 +4512,6 @@ const composedProxyInputMixin = (proxyInputMixinConfig) =>
|
|
4509
4512
|
const DISPLAY_NAME_SEPARATOR = '_';
|
4510
4513
|
const PORTAL_THEME_PREFIX = '@';
|
4511
4514
|
|
4512
|
-
|
4513
|
-
const sanitizeSelector = (selector) => selector.replace(/[^\w\s]/gi, '');
|
4514
|
-
|
4515
4515
|
const withWaitForShadowRoot = (getRootElementFn) => async (that) => {
|
4516
4516
|
const ele = await getRootElementFn(that);
|
4517
4517
|
|
@@ -4542,7 +4542,7 @@ const withWaitForShadowRoot = (getRootElementFn) => async (that) => {
|
|
4542
4542
|
const portalMixin =
|
4543
4543
|
({ name, selector, mappings = {}, forward: { attributes = [], include = true } = {} }) =>
|
4544
4544
|
(superclass) => {
|
4545
|
-
const eleDisplayName = name
|
4545
|
+
const eleDisplayName = name;
|
4546
4546
|
|
4547
4547
|
const BaseClass = createStyleMixin({
|
4548
4548
|
mappings,
|
@@ -4565,14 +4565,9 @@ const portalMixin =
|
|
4565
4565
|
// we cannot use "this" before calling "super"
|
4566
4566
|
const getRootElement = async (that) => {
|
4567
4567
|
const baseEle = (that.shadowRoot || that).querySelector(that.baseSelector);
|
4568
|
-
|
4568
|
+
{
|
4569
4569
|
return baseEle;
|
4570
4570
|
}
|
4571
|
-
|
4572
|
-
// in case we have a selector, we should first wait for the base element shadow root
|
4573
|
-
// and then look for the internal element
|
4574
|
-
const baseEleShadowRoot = await withWaitForShadowRoot(() => baseEle)(that);
|
4575
|
-
return baseEleShadowRoot.querySelector(selector);
|
4576
4571
|
};
|
4577
4572
|
|
4578
4573
|
const getPortalElement = withWaitForShadowRoot(getRootElement);
|
@@ -5493,8 +5488,7 @@ const getMaxDaysInMonth = (year, month) => {
|
|
5493
5488
|
};
|
5494
5489
|
|
5495
5490
|
const comboBoxItemTpl = ({ label, dataId, dataName }) => `
|
5496
|
-
<div
|
5497
|
-
style="display:flex; flex-direction: column;"
|
5491
|
+
<div class="combo-box-item"
|
5498
5492
|
data-id="${dataId}"
|
5499
5493
|
data-name="${dataName}"
|
5500
5494
|
>
|
@@ -5682,13 +5676,30 @@ class RawCalendar extends BaseInputClass$b {
|
|
5682
5676
|
super();
|
5683
5677
|
|
5684
5678
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
5685
|
-
<
|
5679
|
+
<div>
|
5680
|
+
<nav class="nav top-nav">
|
5681
|
+
<div class="nav-prev">
|
5682
|
+
</div>
|
5683
|
+
<div class="selectors"></div>
|
5684
|
+
<div class="nav-next">
|
5685
|
+
</div>
|
5686
|
+
</nav>
|
5687
|
+
<div class="calendar"></div>
|
5688
|
+
<nav class="nav bottom-nav">
|
5689
|
+
<descope-button class="cancel-button" variant="link" mode="primary">Cancel</descope-button>
|
5690
|
+
<descope-button class="submit-button" variant="link" mode="primary" disabled="true">Done</descope-button>
|
5691
|
+
</nav>
|
5692
|
+
</div>
|
5693
|
+
`;
|
5694
|
+
|
5695
|
+
injectStyle(
|
5696
|
+
`
|
5686
5697
|
:host {
|
5687
5698
|
display: inline-block;
|
5688
5699
|
box-sizing: border-box;
|
5689
5700
|
max-width: 100%;
|
5690
5701
|
user-select: none;
|
5691
|
-
|
5702
|
+
-webkit-user-select: none;
|
5692
5703
|
}
|
5693
5704
|
|
5694
5705
|
:host ::slotted {
|
@@ -5731,23 +5742,15 @@ class RawCalendar extends BaseInputClass$b {
|
|
5731
5742
|
${ButtonClass.cssVarList.outlineWidth}: 0;
|
5732
5743
|
}
|
5733
5744
|
|
5745
|
+
.combo-box-item {
|
5746
|
+
display:flex;
|
5747
|
+
flex-direction: column;
|
5748
|
+
}
|
5749
|
+
|
5734
5750
|
${inputFloatingLabelStyle()}
|
5735
|
-
|
5736
|
-
|
5737
|
-
|
5738
|
-
<div class="nav-prev">
|
5739
|
-
</div>
|
5740
|
-
<div class="selectors"></div>
|
5741
|
-
<div class="nav-next">
|
5742
|
-
</div>
|
5743
|
-
</nav>
|
5744
|
-
<div class="calendar"></div>
|
5745
|
-
<nav class="nav bottom-nav">
|
5746
|
-
<descope-button class="cancel-button" variant="link" mode="primary">Cancel</descope-button>
|
5747
|
-
<descope-button class="submit-button" variant="link" mode="primary" disabled="true">Done</descope-button>
|
5748
|
-
</nav>
|
5749
|
-
</div>
|
5750
|
-
`;
|
5751
|
+
`,
|
5752
|
+
this
|
5753
|
+
);
|
5751
5754
|
}
|
5752
5755
|
|
5753
5756
|
set value(val) {
|
@@ -6552,7 +6555,7 @@ const TextFieldClass = compose$1(
|
|
6552
6555
|
align-self: center;
|
6553
6556
|
}
|
6554
6557
|
`,
|
6555
|
-
excludeAttrsSync: ['tabindex'],
|
6558
|
+
excludeAttrsSync: ['tabindex', 'style'],
|
6556
6559
|
componentName: componentName$11,
|
6557
6560
|
})
|
6558
6561
|
);
|
@@ -6722,7 +6725,18 @@ class RawDateFieldClass extends BaseInputClass$a {
|
|
6722
6725
|
super();
|
6723
6726
|
|
6724
6727
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
6725
|
-
<
|
6728
|
+
<div>
|
6729
|
+
<descope-text-field>
|
6730
|
+
<span slot="suffix" class="toggle-calendar">
|
6731
|
+
${calendarIcon}
|
6732
|
+
</span>
|
6733
|
+
</descope-text-field>
|
6734
|
+
<vaadin-popover></vaadin-popover>
|
6735
|
+
</div>
|
6736
|
+
`;
|
6737
|
+
|
6738
|
+
injectStyle(
|
6739
|
+
`
|
6726
6740
|
:host {
|
6727
6741
|
display: inline-block;
|
6728
6742
|
box-sizing: border-box;
|
@@ -6740,22 +6754,15 @@ class RawDateFieldClass extends BaseInputClass$a {
|
|
6740
6754
|
align-self: center;
|
6741
6755
|
z-index: 1;
|
6742
6756
|
height: 100%;
|
6743
|
-
align-items: center;
|
6757
|
+
align-items: center;
|
6744
6758
|
}
|
6745
6759
|
|
6746
6760
|
:host([readonly="true"]) .toggle-calendar {
|
6747
6761
|
pointer-events: none;
|
6748
6762
|
}
|
6749
|
-
|
6750
|
-
|
6751
|
-
|
6752
|
-
<span slot="suffix" class="toggle-calendar">
|
6753
|
-
${calendarIcon}
|
6754
|
-
</span>
|
6755
|
-
</descope-text-field>
|
6756
|
-
<vaadin-popover></vaadin-popover>
|
6757
|
-
</div>
|
6758
|
-
`;
|
6763
|
+
`,
|
6764
|
+
this
|
6765
|
+
);
|
6759
6766
|
|
6760
6767
|
this.inputElement = this.shadowRoot.querySelector('descope-text-field');
|
6761
6768
|
this.popoverToggleButton = this.inputElement.querySelector('.toggle-calendar');
|
@@ -6959,14 +6966,14 @@ class RawDateFieldClass extends BaseInputClass$a {
|
|
6959
6966
|
newOffset = Math.min(Math.abs(offset), availableLeft) * -1;
|
6960
6967
|
}
|
6961
6968
|
|
6962
|
-
|
6963
|
-
|
6969
|
+
injectStyle(
|
6970
|
+
`
|
6964
6971
|
vaadin-popover-overlay::part(overlay) {
|
6965
6972
|
transform: translateX(${newOffset}px);
|
6966
6973
|
}
|
6967
|
-
|
6968
|
-
|
6969
|
-
|
6974
|
+
`,
|
6975
|
+
popover
|
6976
|
+
);
|
6970
6977
|
}
|
6971
6978
|
|
6972
6979
|
#getPopoverContent() {
|
@@ -7378,7 +7385,10 @@ class RawText extends createBaseClass({
|
|
7378
7385
|
super();
|
7379
7386
|
|
7380
7387
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
7381
|
-
<
|
7388
|
+
<slot part="text-wrapper"></slot>
|
7389
|
+
`;
|
7390
|
+
|
7391
|
+
injectStyle(`
|
7382
7392
|
:host {
|
7383
7393
|
display: inline-block;
|
7384
7394
|
line-height: 1em;
|
@@ -7387,9 +7397,7 @@ class RawText extends createBaseClass({
|
|
7387
7397
|
width: 100%;
|
7388
7398
|
display: inline-block;
|
7389
7399
|
}
|
7390
|
-
|
7391
|
-
<slot part="text-wrapper"></slot>
|
7392
|
-
`;
|
7400
|
+
`, this);
|
7393
7401
|
}
|
7394
7402
|
|
7395
7403
|
get hideWhenEmpty() {
|
@@ -7436,8 +7444,16 @@ class RawDivider extends createBaseClass$1({ componentName: componentName$_, bas
|
|
7436
7444
|
super();
|
7437
7445
|
|
7438
7446
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
7439
|
-
<
|
7440
|
-
|
7447
|
+
<div>
|
7448
|
+
<descope-text>
|
7449
|
+
<slot></slot>
|
7450
|
+
</descope-text>
|
7451
|
+
</div>
|
7452
|
+
`;
|
7453
|
+
|
7454
|
+
injectStyle(
|
7455
|
+
`
|
7456
|
+
:host {
|
7441
7457
|
display: inline-block;
|
7442
7458
|
}
|
7443
7459
|
:host > div {
|
@@ -7460,13 +7476,9 @@ class RawDivider extends createBaseClass$1({ componentName: componentName$_, bas
|
|
7460
7476
|
:host([vertical="true"]) div {
|
7461
7477
|
width: fit-content;
|
7462
7478
|
}
|
7463
|
-
|
7464
|
-
|
7465
|
-
|
7466
|
-
<slot></slot>
|
7467
|
-
</descope-text>
|
7468
|
-
</div>
|
7469
|
-
`;
|
7479
|
+
`,
|
7480
|
+
this
|
7481
|
+
);
|
7470
7482
|
|
7471
7483
|
this.textComponent = this.shadowRoot.querySelector('descope-text');
|
7472
7484
|
|
@@ -7616,15 +7628,6 @@ class RawLink extends createBaseClass$1({ componentName: componentName$Y, baseSe
|
|
7616
7628
|
super();
|
7617
7629
|
|
7618
7630
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
7619
|
-
<style>
|
7620
|
-
:host {
|
7621
|
-
display: inline-block;
|
7622
|
-
line-height: 1em;
|
7623
|
-
}
|
7624
|
-
:host a {
|
7625
|
-
display: inline;
|
7626
|
-
}
|
7627
|
-
</style>
|
7628
7631
|
<div>
|
7629
7632
|
<descope-text>
|
7630
7633
|
<a>
|
@@ -7634,6 +7637,19 @@ class RawLink extends createBaseClass$1({ componentName: componentName$Y, baseSe
|
|
7634
7637
|
</div>
|
7635
7638
|
`;
|
7636
7639
|
|
7640
|
+
injectStyle(
|
7641
|
+
`
|
7642
|
+
:host {
|
7643
|
+
display: inline-block;
|
7644
|
+
line-height: 1em;
|
7645
|
+
}
|
7646
|
+
:host a {
|
7647
|
+
display: inline;
|
7648
|
+
}
|
7649
|
+
`,
|
7650
|
+
this
|
7651
|
+
);
|
7652
|
+
|
7637
7653
|
forwardAttrs$1(this, this.shadowRoot.querySelector('a'), {
|
7638
7654
|
includeAttrs: ['href', 'target', 'tooltip'],
|
7639
7655
|
mapAttrs: {
|
@@ -7688,13 +7704,17 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
7688
7704
|
constructor() {
|
7689
7705
|
super();
|
7690
7706
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
7691
|
-
<
|
7707
|
+
<div></div>
|
7708
|
+
`;
|
7709
|
+
|
7710
|
+
injectStyle(
|
7711
|
+
`
|
7692
7712
|
:host {
|
7693
7713
|
display: inline-flex;
|
7694
7714
|
}
|
7695
7715
|
:host([draggable="true"]) > div {
|
7696
7716
|
pointer-events: none
|
7697
|
-
}
|
7717
|
+
}
|
7698
7718
|
:host > div {
|
7699
7719
|
display: inline-block;
|
7700
7720
|
max-width: 100%;
|
@@ -7703,9 +7723,9 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
7703
7723
|
margin: auto;
|
7704
7724
|
${getContent()}
|
7705
7725
|
}
|
7706
|
-
|
7707
|
-
|
7708
|
-
|
7726
|
+
`,
|
7727
|
+
this
|
7728
|
+
);
|
7709
7729
|
}
|
7710
7730
|
}
|
7711
7731
|
|
@@ -7810,25 +7830,6 @@ const sanitizeStr = (str) => {
|
|
7810
7830
|
return str.replace(/\D/g, '') || '';
|
7811
7831
|
};
|
7812
7832
|
|
7813
|
-
// During debounced input we hide the value with a mask.
|
7814
|
-
// This allows us to hide the multiple population of the first input
|
7815
|
-
// in case of an automated input (e.g. Safari OTP Autofill or paste).
|
7816
|
-
const createInputMaskStyle = () => {
|
7817
|
-
const ele = document.createElement('style');
|
7818
|
-
ele.id = 'input-mask';
|
7819
|
-
ele.innerHTML = `vaadin-text-field::part(input-field)::before {
|
7820
|
-
${INPUT_MASK_FALLBACK_PROP}: '';
|
7821
|
-
content: var(${INPUT_MASK_TEXT_PROP}, var(${INPUT_MASK_FALLBACK_PROP}));
|
7822
|
-
position: absolute;
|
7823
|
-
width: 100%;
|
7824
|
-
height: 100%;
|
7825
|
-
display: var(${INPUT_MASK_DISPLAY_PROP}, none);
|
7826
|
-
align-items: center;
|
7827
|
-
justify-content: center;
|
7828
|
-
}`;
|
7829
|
-
return ele;
|
7830
|
-
};
|
7831
|
-
|
7832
7833
|
const toggleMaskVisibility = (input, value) => {
|
7833
7834
|
if (value) {
|
7834
7835
|
input.style.setProperty(INPUT_MASK_TEXT_PROP, `"${value}"`);
|
@@ -7869,27 +7870,6 @@ class PasscodeInternal extends BaseInputClass$9 {
|
|
7869
7870
|
<div class="loader-container">
|
7870
7871
|
<descope-loader-radial size="xs" mode="primary"></descope-loader-radial>
|
7871
7872
|
</div>
|
7872
|
-
<style>
|
7873
|
-
.wrapper {
|
7874
|
-
display: flex;
|
7875
|
-
width: 100%;
|
7876
|
-
justify-content: space-between;
|
7877
|
-
direction: ltr;
|
7878
|
-
position: relative;
|
7879
|
-
}
|
7880
|
-
|
7881
|
-
descope-text-field {
|
7882
|
-
direction: ltr;
|
7883
|
-
}
|
7884
|
-
|
7885
|
-
.loader-container {
|
7886
|
-
display: none;
|
7887
|
-
position: absolute;
|
7888
|
-
top: 50%;
|
7889
|
-
left: 50%;
|
7890
|
-
transform: translate(-50%, -50%);
|
7891
|
-
}
|
7892
|
-
</style>
|
7893
7873
|
`;
|
7894
7874
|
|
7895
7875
|
this.wrapperEle = this.querySelector('.wrapper');
|
@@ -8001,7 +7981,23 @@ class PasscodeInternal extends BaseInputClass$9 {
|
|
8001
7981
|
|
8002
7982
|
initInputs() {
|
8003
7983
|
this.inputs.forEach((input) => {
|
8004
|
-
input.
|
7984
|
+
// During debounced input we hide the value with a mask.
|
7985
|
+
// This allows us to hide the multiple population of the first input
|
7986
|
+
// in case of an automated input (e.g. Safari OTP Autofill or paste).
|
7987
|
+
injectStyle(
|
7988
|
+
`
|
7989
|
+
vaadin-text-field::part(input-field)::before {
|
7990
|
+
${INPUT_MASK_FALLBACK_PROP}: '';
|
7991
|
+
content: var(${INPUT_MASK_TEXT_PROP}, var(${INPUT_MASK_FALLBACK_PROP}));
|
7992
|
+
position: absolute;
|
7993
|
+
width: 100%;
|
7994
|
+
height: 100%;
|
7995
|
+
display: var(${INPUT_MASK_DISPLAY_PROP}, none);
|
7996
|
+
align-items: center;
|
7997
|
+
justify-content: center;
|
7998
|
+
}`,
|
7999
|
+
input
|
8000
|
+
);
|
8005
8001
|
|
8006
8002
|
const handleParseInput = (val) => {
|
8007
8003
|
this.parseInputValue(input, val);
|
@@ -8089,6 +8085,32 @@ const customMixin$c = (superclass) =>
|
|
8089
8085
|
|
8090
8086
|
init() {
|
8091
8087
|
super.init?.();
|
8088
|
+
|
8089
|
+
injectStyle(
|
8090
|
+
`
|
8091
|
+
.wrapper {
|
8092
|
+
display: flex;
|
8093
|
+
width: 100%;
|
8094
|
+
justify-content: space-between;
|
8095
|
+
direction: ltr;
|
8096
|
+
position: relative;
|
8097
|
+
}
|
8098
|
+
|
8099
|
+
descope-text-field {
|
8100
|
+
direction: ltr;
|
8101
|
+
}
|
8102
|
+
|
8103
|
+
.loader-container {
|
8104
|
+
display: none;
|
8105
|
+
position: absolute;
|
8106
|
+
top: 50%;
|
8107
|
+
left: 50%;
|
8108
|
+
transform: translate(-50%, -50%);
|
8109
|
+
}
|
8110
|
+
`,
|
8111
|
+
this
|
8112
|
+
);
|
8113
|
+
|
8092
8114
|
const template = document.createElement('template');
|
8093
8115
|
|
8094
8116
|
template.innerHTML = `
|
@@ -8112,7 +8134,7 @@ const customMixin$c = (superclass) =>
|
|
8112
8134
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
8113
8135
|
|
8114
8136
|
if (attrName === 'digits') {
|
8115
|
-
this.style
|
8137
|
+
this.style['--passcode-digits-count'] = newValue;
|
8116
8138
|
}
|
8117
8139
|
}
|
8118
8140
|
};
|
@@ -8629,7 +8651,11 @@ class EnrichedText extends createBaseClass$1({ componentName: componentName$Q, b
|
|
8629
8651
|
super();
|
8630
8652
|
|
8631
8653
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
8632
|
-
<
|
8654
|
+
<div class="content"></div>
|
8655
|
+
`;
|
8656
|
+
|
8657
|
+
injectStyle(
|
8658
|
+
`
|
8633
8659
|
:host {
|
8634
8660
|
line-height: 1em;
|
8635
8661
|
word-break: break-word;
|
@@ -8662,9 +8688,9 @@ class EnrichedText extends createBaseClass$1({ componentName: componentName$Q, b
|
|
8662
8688
|
s {
|
8663
8689
|
color: currentColor;
|
8664
8690
|
}
|
8665
|
-
|
8666
|
-
|
8667
|
-
|
8691
|
+
`,
|
8692
|
+
this
|
8693
|
+
);
|
8668
8694
|
|
8669
8695
|
this.#initProcessor();
|
8670
8696
|
|
@@ -8916,17 +8942,21 @@ class RawImage extends BaseClass$2 {
|
|
8916
8942
|
super();
|
8917
8943
|
|
8918
8944
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
8919
|
-
<
|
8920
|
-
|
8945
|
+
<img/>
|
8946
|
+
`;
|
8947
|
+
|
8948
|
+
injectStyle(
|
8949
|
+
`
|
8950
|
+
:host > img {
|
8921
8951
|
width: 100%;
|
8922
8952
|
height: 100%
|
8923
8953
|
}
|
8924
8954
|
:host {
|
8925
8955
|
display: inline-flex;
|
8926
8956
|
}
|
8927
|
-
|
8928
|
-
|
8929
|
-
|
8957
|
+
`,
|
8958
|
+
this
|
8959
|
+
);
|
8930
8960
|
}
|
8931
8961
|
|
8932
8962
|
connectedCallback() {
|
@@ -10171,7 +10201,6 @@ const getCountryFlag = (code) =>
|
|
10171
10201
|
|
10172
10202
|
const comboBoxItem = ({ code, dialCode, name: country }) => `
|
10173
10203
|
<div
|
10174
|
-
style="display:flex; flex-direction: column;"
|
10175
10204
|
data-id="${dialCode}"
|
10176
10205
|
data-name="${code} ${dialCode} ${country}"
|
10177
10206
|
data-country-code="${code}"
|
@@ -10747,6 +10776,7 @@ const PhoneFieldClass = compose$1(
|
|
10747
10776
|
flex: 0;
|
10748
10777
|
border: none;
|
10749
10778
|
}
|
10779
|
+
|
10750
10780
|
descope-combo-box {
|
10751
10781
|
flex-shrink: 0;
|
10752
10782
|
min-width: 5.75em;
|
@@ -11019,7 +11049,6 @@ const {
|
|
11019
11049
|
} = {
|
11020
11050
|
host: { selector: () => ':host' },
|
11021
11051
|
label: { selector: '::part(label)' },
|
11022
|
-
placeholder: { selector: '> input:placeholder-shown' },
|
11023
11052
|
inputElement: { selector: 'input' },
|
11024
11053
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
11025
11054
|
inputField: { selector: () => 'vaadin-text-field::part(input-field)' },
|
@@ -11212,7 +11241,10 @@ class RawPolicyValidation extends createBaseClass$1({ componentName: componentNa
|
|
11212
11241
|
<div class="label"></div>
|
11213
11242
|
<ul></ul>
|
11214
11243
|
</div>
|
11215
|
-
|
11244
|
+
`;
|
11245
|
+
|
11246
|
+
injectStyle(
|
11247
|
+
`
|
11216
11248
|
:host > div {
|
11217
11249
|
width: 100%;
|
11218
11250
|
display: flex;
|
@@ -11243,8 +11275,9 @@ class RawPolicyValidation extends createBaseClass$1({ componentName: componentNa
|
|
11243
11275
|
width: 1em;
|
11244
11276
|
text-align: center;
|
11245
11277
|
}
|
11246
|
-
|
11247
|
-
|
11278
|
+
`,
|
11279
|
+
this
|
11280
|
+
);
|
11248
11281
|
|
11249
11282
|
this.panel = this.shadowRoot.querySelector(':host > div');
|
11250
11283
|
this.label = this.shadowRoot.querySelector('.label');
|
@@ -11603,7 +11636,7 @@ const NewPasswordClass = compose$1(
|
|
11603
11636
|
margin-top: 8px;
|
11604
11637
|
display: flex;
|
11605
11638
|
}
|
11606
|
-
|
11639
|
+
.hidden {
|
11607
11640
|
display: none;
|
11608
11641
|
}
|
11609
11642
|
`,
|
@@ -11675,11 +11708,11 @@ class NewPasswordInternal extends BaseInputClass$6 {
|
|
11675
11708
|
}
|
11676
11709
|
|
11677
11710
|
onHasConfirmChange(hasConfirm) {
|
11678
|
-
this.confirmInput.
|
11711
|
+
this.confirmInput.classList.toggle('hidden', !hasConfirm);
|
11679
11712
|
}
|
11680
11713
|
|
11681
11714
|
onHasValidationChange(hasValidation) {
|
11682
|
-
this.policyPanel.
|
11715
|
+
this.policyPanel.classList.toggle('hidden', !hasValidation);
|
11683
11716
|
}
|
11684
11717
|
|
11685
11718
|
get hasValidation() {
|
@@ -11774,8 +11807,8 @@ class NewPasswordInternal extends BaseInputClass$6 {
|
|
11774
11807
|
// indicator in case the root component is required
|
11775
11808
|
handleIndicatorStyle() {
|
11776
11809
|
this.inputs.forEach((input) => {
|
11777
|
-
|
11778
|
-
|
11810
|
+
injectStyle(
|
11811
|
+
`
|
11779
11812
|
:host ::part(required-indicator)::after {
|
11780
11813
|
content: var(${NewPasswordClass.cssVarList.inputsRequiredIndicator});
|
11781
11814
|
width: 1em;
|
@@ -11784,8 +11817,9 @@ class NewPasswordInternal extends BaseInputClass$6 {
|
|
11784
11817
|
:host ::part(required-indicator) {
|
11785
11818
|
display: inline-flex;
|
11786
11819
|
}
|
11787
|
-
|
11788
|
-
|
11820
|
+
`,
|
11821
|
+
input
|
11822
|
+
);
|
11789
11823
|
});
|
11790
11824
|
}
|
11791
11825
|
|
@@ -11903,7 +11937,15 @@ class RawRecaptcha extends BaseClass$1 {
|
|
11903
11937
|
super();
|
11904
11938
|
|
11905
11939
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
11906
|
-
|
11940
|
+
<div class="badge">
|
11941
|
+
<span id="recaptcha"></span>
|
11942
|
+
<img src="https://imgs.descope.com/connectors/templates/recaptcha/recaptcha-big.png" alt="recaptcha"/>
|
11943
|
+
</div>
|
11944
|
+
<slot></slot>
|
11945
|
+
`;
|
11946
|
+
|
11947
|
+
injectStyle(
|
11948
|
+
`
|
11907
11949
|
:host {
|
11908
11950
|
display: inline-flex;
|
11909
11951
|
}
|
@@ -11929,13 +11971,9 @@ class RawRecaptcha extends BaseClass$1 {
|
|
11929
11971
|
.hidden {
|
11930
11972
|
display: none;
|
11931
11973
|
}
|
11932
|
-
|
11933
|
-
|
11934
|
-
|
11935
|
-
<img src="https://imgs.descope.com/connectors/templates/recaptcha/recaptcha-big.png" alt="recaptcha"/>
|
11936
|
-
</div>
|
11937
|
-
<slot></slot>
|
11938
|
-
`;
|
11974
|
+
`,
|
11975
|
+
this
|
11976
|
+
);
|
11939
11977
|
|
11940
11978
|
this.recaptchaEle = this.baseElement.querySelector('#recaptcha');
|
11941
11979
|
this.mockRecaptchaEle = this.baseElement.querySelector('img');
|
@@ -12124,8 +12162,22 @@ class RawUploadFile extends BaseInputClass$5 {
|
|
12124
12162
|
super();
|
12125
12163
|
|
12126
12164
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
12127
|
-
<
|
12128
|
-
|
12165
|
+
<div>
|
12166
|
+
<slot name="icon"></slot>
|
12167
|
+
<div class="title">
|
12168
|
+
<span class="title-text"></span>
|
12169
|
+
</div>
|
12170
|
+
<div class="description"></div>
|
12171
|
+
<div class="button-wrapper">
|
12172
|
+
<input type="file" tabindex="-1" aria-labelledby="button"/>
|
12173
|
+
<descope-button id="button"></descope-button>
|
12174
|
+
</div>
|
12175
|
+
</div>
|
12176
|
+
`;
|
12177
|
+
|
12178
|
+
injectStyle(
|
12179
|
+
`
|
12180
|
+
:host {
|
12129
12181
|
display: flex;
|
12130
12182
|
}
|
12131
12183
|
:host > div {
|
@@ -12146,19 +12198,9 @@ class RawUploadFile extends BaseInputClass$5 {
|
|
12146
12198
|
height: 100%;
|
12147
12199
|
opacity: 0;
|
12148
12200
|
}
|
12149
|
-
|
12150
|
-
|
12151
|
-
|
12152
|
-
<div class="title">
|
12153
|
-
<span class="title-text"></span>
|
12154
|
-
</div>
|
12155
|
-
<div class="description"></div>
|
12156
|
-
<div class="button-wrapper">
|
12157
|
-
<input type="file" tabindex="-1" aria-labelledby="button"/>
|
12158
|
-
<descope-button id="button"></descope-button>
|
12159
|
-
</div>
|
12160
|
-
</div>
|
12161
|
-
`;
|
12201
|
+
`,
|
12202
|
+
this
|
12203
|
+
);
|
12162
12204
|
|
12163
12205
|
this.wrapperEle = this.shadowRoot.querySelector('.wrapper');
|
12164
12206
|
this.inputElement = this.shadowRoot.querySelector('input');
|
@@ -12339,14 +12381,6 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
12339
12381
|
super();
|
12340
12382
|
|
12341
12383
|
this.innerHTML = `
|
12342
|
-
<style>
|
12343
|
-
slot {
|
12344
|
-
box-sizing: border-box;
|
12345
|
-
width: 100%;
|
12346
|
-
display: flex;
|
12347
|
-
flex-wrap: wrap;
|
12348
|
-
}
|
12349
|
-
</style>
|
12350
12384
|
<slot part="wrapper"></slot>
|
12351
12385
|
`;
|
12352
12386
|
}
|
@@ -12633,6 +12667,13 @@ const buttonSelectionGroupStyles = `
|
|
12633
12667
|
min-height: initial;
|
12634
12668
|
}
|
12635
12669
|
|
12670
|
+
[part="internal-component"] slot {
|
12671
|
+
box-sizing: border-box;
|
12672
|
+
width: 100%;
|
12673
|
+
display: flex;
|
12674
|
+
flex-wrap: wrap;
|
12675
|
+
}
|
12676
|
+
|
12636
12677
|
vaadin-text-field::part(input-field) {
|
12637
12678
|
background-color: transparent;
|
12638
12679
|
padding: 0;
|
@@ -12744,7 +12785,13 @@ class RawSelectItem extends createBaseClass$1({
|
|
12744
12785
|
super();
|
12745
12786
|
|
12746
12787
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
12747
|
-
|
12788
|
+
<descope-button variant="${this.variant}" size="${this.size}" mode="primary">
|
12789
|
+
<slot></slot>
|
12790
|
+
</descope-button>
|
12791
|
+
`;
|
12792
|
+
|
12793
|
+
injectStyle(
|
12794
|
+
`
|
12748
12795
|
descope-button {
|
12749
12796
|
max-width: 100%;
|
12750
12797
|
}
|
@@ -12758,11 +12805,9 @@ class RawSelectItem extends createBaseClass$1({
|
|
12758
12805
|
display: inline-block;
|
12759
12806
|
max-width: 100%
|
12760
12807
|
}
|
12761
|
-
|
12762
|
-
|
12763
|
-
|
12764
|
-
</descope-button>
|
12765
|
-
`;
|
12808
|
+
`,
|
12809
|
+
this
|
12810
|
+
);
|
12766
12811
|
|
12767
12812
|
forwardAttrs$1(this, this.baseElement, { includeAttrs: ['size', 'variant'] });
|
12768
12813
|
forwardAttrs$1(this.baseElement, this, { includeAttrs: ['focused', 'active'] });
|
@@ -13182,7 +13227,11 @@ let CodeSnippet$1 = class CodeSnippet extends createBaseClass$1({ componentName:
|
|
13182
13227
|
super();
|
13183
13228
|
|
13184
13229
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
13185
|
-
<
|
13230
|
+
<code class="hljs"></code>
|
13231
|
+
`;
|
13232
|
+
|
13233
|
+
injectStyle(
|
13234
|
+
`
|
13186
13235
|
:host {
|
13187
13236
|
display: inline-block;
|
13188
13237
|
width: 100%;
|
@@ -13197,9 +13246,9 @@ let CodeSnippet$1 = class CodeSnippet extends createBaseClass$1({ componentName:
|
|
13197
13246
|
pre {
|
13198
13247
|
margin: 0;
|
13199
13248
|
}
|
13200
|
-
|
13201
|
-
|
13202
|
-
|
13249
|
+
`,
|
13250
|
+
this
|
13251
|
+
);
|
13203
13252
|
}
|
13204
13253
|
|
13205
13254
|
init() {
|
@@ -13831,7 +13880,7 @@ const GridClass = compose$1(
|
|
13831
13880
|
}
|
13832
13881
|
/*!css*/
|
13833
13882
|
`,
|
13834
|
-
excludeAttrsSync: ['columns', 'tabindex'],
|
13883
|
+
excludeAttrsSync: ['columns', 'tabindex', 'style'],
|
13835
13884
|
componentName: componentName$u,
|
13836
13885
|
})
|
13837
13886
|
);
|
@@ -14499,7 +14548,13 @@ class RawBadge extends createBaseClass$1({ componentName: componentName$s, baseS
|
|
14499
14548
|
super();
|
14500
14549
|
|
14501
14550
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
14502
|
-
<
|
14551
|
+
<div>
|
14552
|
+
<slot></slot>
|
14553
|
+
</div>
|
14554
|
+
`;
|
14555
|
+
|
14556
|
+
injectStyle(
|
14557
|
+
`
|
14503
14558
|
:host {
|
14504
14559
|
display: inline-flex;
|
14505
14560
|
}
|
@@ -14509,11 +14564,9 @@ class RawBadge extends createBaseClass$1({ componentName: componentName$s, baseS
|
|
14509
14564
|
overflow: hidden;
|
14510
14565
|
white-space: nowrap;
|
14511
14566
|
}
|
14512
|
-
|
14513
|
-
|
14514
|
-
|
14515
|
-
</div>
|
14516
|
-
`;
|
14567
|
+
`,
|
14568
|
+
this
|
14569
|
+
);
|
14517
14570
|
}
|
14518
14571
|
}
|
14519
14572
|
|
@@ -14597,7 +14650,14 @@ const customMixin$7 = (superclass) =>
|
|
14597
14650
|
|
14598
14651
|
overlay._attachOverlay = () => {
|
14599
14652
|
overlay.bringToFront();
|
14600
|
-
|
14653
|
+
injectStyle(
|
14654
|
+
`
|
14655
|
+
:host {
|
14656
|
+
display: flex!important;
|
14657
|
+
}
|
14658
|
+
`,
|
14659
|
+
this.baseElement
|
14660
|
+
);
|
14601
14661
|
};
|
14602
14662
|
overlay._detachOverlay = () => {
|
14603
14663
|
this.baseElement.style.display = 'none';
|
@@ -14634,7 +14694,7 @@ const ModalClass = compose$1(
|
|
14634
14694
|
},
|
14635
14695
|
forward: {
|
14636
14696
|
include: false,
|
14637
|
-
attributes: ['opened'],
|
14697
|
+
attributes: ['opened', 'style'],
|
14638
14698
|
},
|
14639
14699
|
}),
|
14640
14700
|
draggableMixin$1,
|
@@ -14644,8 +14704,12 @@ const ModalClass = compose$1(
|
|
14644
14704
|
createProxy$1({
|
14645
14705
|
slots: [''],
|
14646
14706
|
wrappedEleName: 'vaadin-dialog',
|
14647
|
-
style: () =>
|
14648
|
-
|
14707
|
+
style: () => `
|
14708
|
+
vaaadin-dialog {
|
14709
|
+
display: flex!important;
|
14710
|
+
}
|
14711
|
+
`,
|
14712
|
+
excludeAttrsSync: ['tabindex', 'opened', 'style'],
|
14649
14713
|
componentName: componentName$r,
|
14650
14714
|
})
|
14651
14715
|
);
|
@@ -15362,15 +15426,6 @@ class MappingItem extends BaseInputClass$3 {
|
|
15362
15426
|
super();
|
15363
15427
|
|
15364
15428
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
15365
|
-
<style>
|
15366
|
-
.wrapper {
|
15367
|
-
display: flex;
|
15368
|
-
}
|
15369
|
-
.separator {
|
15370
|
-
text-align: center;
|
15371
|
-
flex-shrink: 0;
|
15372
|
-
}
|
15373
|
-
</style>
|
15374
15429
|
<div class="wrapper" part="wrapper">
|
15375
15430
|
<descope-text-field required="true"></descope-text-field>
|
15376
15431
|
<div class="separator" part="separator">${this.separator}</div>
|
@@ -15385,6 +15440,20 @@ class MappingItem extends BaseInputClass$3 {
|
|
15385
15440
|
</descope-button>
|
15386
15441
|
</div>
|
15387
15442
|
`;
|
15443
|
+
|
15444
|
+
injectStyle(
|
15445
|
+
`
|
15446
|
+
.wrapper {
|
15447
|
+
display: flex;
|
15448
|
+
}
|
15449
|
+
.separator {
|
15450
|
+
text-align: center;
|
15451
|
+
flex-shrink: 0;
|
15452
|
+
}
|
15453
|
+
`,
|
15454
|
+
this
|
15455
|
+
);
|
15456
|
+
|
15388
15457
|
this.valueInput = this.shadowRoot.querySelector('descope-text-field');
|
15389
15458
|
this.attributeInput = this.shadowRoot.querySelector('descope-combo-box');
|
15390
15459
|
this.inputs = [this.valueInput, this.attributeInput];
|
@@ -15484,8 +15553,27 @@ class RawUserAttribute extends createBaseClass$1({
|
|
15484
15553
|
super();
|
15485
15554
|
|
15486
15555
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
15487
|
-
|
15488
|
-
|
15556
|
+
<div class="root">
|
15557
|
+
<div class="text-wrapper">
|
15558
|
+
<descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="secondary" class="label"></descope-text>
|
15559
|
+
<descope-text st-text-align="auto" data-id="value-text" variant="body1" mode="primary" class="value"></descope-text>
|
15560
|
+
</div>
|
15561
|
+
|
15562
|
+
<div class="btn-wrapper">
|
15563
|
+
<descope-badge mode="default" bordered="true" size="xs"></descope-badge>
|
15564
|
+
<descope-button size="xs" data-id="edit-btn" square="true" variant="link" mode="primary">
|
15565
|
+
<vaadin-icon src=${editIcon}></vaadin-icon>
|
15566
|
+
</descope-button>
|
15567
|
+
<descope-button size="xs" data-id="delete-btn" square="true" variant="link" mode="primary">
|
15568
|
+
<vaadin-icon src=${deleteIcon}></vaadin-icon>
|
15569
|
+
</descope-button>
|
15570
|
+
</div
|
15571
|
+
</div>
|
15572
|
+
`;
|
15573
|
+
|
15574
|
+
injectStyle(
|
15575
|
+
`
|
15576
|
+
:host {
|
15489
15577
|
display: inline-flex;
|
15490
15578
|
}
|
15491
15579
|
|
@@ -15548,26 +15636,9 @@ class RawUserAttribute extends createBaseClass$1({
|
|
15548
15636
|
:host([readonly="true"]) descope-button {
|
15549
15637
|
visibility: hidden;
|
15550
15638
|
}
|
15551
|
-
|
15552
|
-
|
15553
|
-
|
15554
|
-
<div class="root">
|
15555
|
-
<div class="text-wrapper">
|
15556
|
-
<descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="secondary" class="label"></descope-text>
|
15557
|
-
<descope-text st-text-align="auto" data-id="value-text" variant="body1" mode="primary" class="value"></descope-text>
|
15558
|
-
</div>
|
15559
|
-
|
15560
|
-
<div class="btn-wrapper">
|
15561
|
-
<descope-badge mode="default" bordered="true" size="xs"></descope-badge>
|
15562
|
-
<descope-button size="xs" data-id="edit-btn" square="true" variant="link" mode="primary">
|
15563
|
-
<vaadin-icon src=${editIcon}></vaadin-icon>
|
15564
|
-
</descope-button>
|
15565
|
-
<descope-button size="xs" data-id="delete-btn" square="true" variant="link" mode="primary">
|
15566
|
-
<vaadin-icon src=${deleteIcon}></vaadin-icon>
|
15567
|
-
</descope-button>
|
15568
|
-
</div
|
15569
|
-
</div>
|
15570
|
-
`;
|
15639
|
+
`,
|
15640
|
+
this
|
15641
|
+
);
|
15571
15642
|
|
15572
15643
|
this.deleteButton = this.shadowRoot.querySelector('descope-button[data-id="delete-btn"]');
|
15573
15644
|
this.editButton = this.shadowRoot.querySelector('descope-button[data-id="edit-btn"]');
|
@@ -15732,8 +15803,27 @@ class RawUserAuthMethod extends createBaseClass$1({
|
|
15732
15803
|
super();
|
15733
15804
|
|
15734
15805
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
15735
|
-
|
15736
|
-
|
15806
|
+
<div class="root">
|
15807
|
+
<div class="text-wrapper">
|
15808
|
+
<slot name="method-icon"></slot>
|
15809
|
+
<descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>
|
15810
|
+
</div>
|
15811
|
+
|
15812
|
+
<div class="btn-wrapper">
|
15813
|
+
<descope-button size="sm" variant="link" mode="primary">
|
15814
|
+
<slot name="button-icon"></slot>
|
15815
|
+
</descope-button>
|
15816
|
+
<div class="fulfilled-indicator">
|
15817
|
+
<vaadin-icon src=${greenVIcon}></vaadin-icon>
|
15818
|
+
</div>
|
15819
|
+
<descope-button class="hidden-btn" size="sm" variant="link" mode="primary"></descope-button>
|
15820
|
+
</div>
|
15821
|
+
</div>
|
15822
|
+
`;
|
15823
|
+
|
15824
|
+
injectStyle(
|
15825
|
+
`
|
15826
|
+
:host {
|
15737
15827
|
display: inline-flex;
|
15738
15828
|
}
|
15739
15829
|
|
@@ -15793,26 +15883,9 @@ class RawUserAuthMethod extends createBaseClass$1({
|
|
15793
15883
|
display: inline-flex;
|
15794
15884
|
align-items: center;
|
15795
15885
|
}
|
15796
|
-
|
15797
|
-
|
15798
|
-
|
15799
|
-
<div class="root">
|
15800
|
-
<div class="text-wrapper">
|
15801
|
-
<slot name="method-icon"></slot>
|
15802
|
-
<descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>
|
15803
|
-
</div>
|
15804
|
-
|
15805
|
-
<div class="btn-wrapper">
|
15806
|
-
<descope-button size="sm" variant="link" mode="primary">
|
15807
|
-
<slot name="button-icon"></slot>
|
15808
|
-
</descope-button>
|
15809
|
-
<div class="fulfilled-indicator">
|
15810
|
-
<vaadin-icon src=${greenVIcon}></vaadin-icon>
|
15811
|
-
</div>
|
15812
|
-
<descope-button class="hidden-btn" size="sm" variant="link" mode="primary"></descope-button>
|
15813
|
-
</div>
|
15814
|
-
</div>
|
15815
|
-
`;
|
15886
|
+
`,
|
15887
|
+
this
|
15888
|
+
);
|
15816
15889
|
|
15817
15890
|
this.button = this.shadowRoot.querySelector('descope-button');
|
15818
15891
|
this.fulfilledIndicator = this.shadowRoot.querySelector('.fulfilled-indicator');
|
@@ -16426,22 +16499,23 @@ const customMixin$3 = (superclass) =>
|
|
16426
16499
|
super();
|
16427
16500
|
|
16428
16501
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
16429
|
-
<style>
|
16430
|
-
/*css*/
|
16431
|
-
slot {
|
16432
|
-
width: 100%;
|
16433
|
-
display: flex;
|
16434
|
-
overflow: hidden;
|
16435
|
-
box-sizing: border-box;
|
16436
|
-
}
|
16437
|
-
:host {
|
16438
|
-
display: block;
|
16439
|
-
}
|
16440
|
-
|
16441
|
-
/*!css*/
|
16442
|
-
</style>
|
16443
16502
|
<slot></slot>
|
16444
16503
|
`;
|
16504
|
+
|
16505
|
+
injectStyle(
|
16506
|
+
`
|
16507
|
+
slot {
|
16508
|
+
width: 100%;
|
16509
|
+
display: flex;
|
16510
|
+
overflow: hidden;
|
16511
|
+
box-sizing: border-box;
|
16512
|
+
}
|
16513
|
+
:host {
|
16514
|
+
display: block;
|
16515
|
+
}
|
16516
|
+
`,
|
16517
|
+
this
|
16518
|
+
);
|
16445
16519
|
}
|
16446
16520
|
};
|
16447
16521
|
|
@@ -16480,9 +16554,17 @@ class RawList extends createBaseClass$1({ componentName: componentName$e, baseSe
|
|
16480
16554
|
super();
|
16481
16555
|
|
16482
16556
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
16483
|
-
|
16484
|
-
|
16485
|
-
|
16557
|
+
<div class="wrapper">
|
16558
|
+
<slot></slot>
|
16559
|
+
<slot name="empty-state">
|
16560
|
+
No item...
|
16561
|
+
</slot>
|
16562
|
+
</div>
|
16563
|
+
`;
|
16564
|
+
|
16565
|
+
injectStyle(
|
16566
|
+
`
|
16567
|
+
.wrapper {
|
16486
16568
|
overflow: auto;
|
16487
16569
|
display: grid;
|
16488
16570
|
max-height: 100%;
|
@@ -16509,16 +16591,9 @@ class RawList extends createBaseClass$1({ componentName: componentName$e, baseSe
|
|
16509
16591
|
::slotted(:not([slot])) {
|
16510
16592
|
width: 100%;
|
16511
16593
|
}
|
16512
|
-
|
16513
|
-
|
16514
|
-
|
16515
|
-
<div class="wrapper">
|
16516
|
-
<slot></slot>
|
16517
|
-
<slot name="empty-state">
|
16518
|
-
No item...
|
16519
|
-
</slot>
|
16520
|
-
</div>
|
16521
|
-
`;
|
16594
|
+
`,
|
16595
|
+
this
|
16596
|
+
);
|
16522
16597
|
}
|
16523
16598
|
|
16524
16599
|
get items() {
|
@@ -16630,8 +16705,16 @@ class RawAvatar extends createBaseClass({
|
|
16630
16705
|
super();
|
16631
16706
|
|
16632
16707
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
16633
|
-
|
16634
|
-
|
16708
|
+
<div class="wrapper">
|
16709
|
+
<vaadin-avatar></vaadin-avatar>
|
16710
|
+
<div class="editableBadge">
|
16711
|
+
<vaadin-icon icon="vaadin:pencil"></vaadin-icon>
|
16712
|
+
</div>
|
16713
|
+
</div>
|
16714
|
+
`;
|
16715
|
+
|
16716
|
+
injectStyle(`
|
16717
|
+
:host {
|
16635
16718
|
display: inline-flex;
|
16636
16719
|
}
|
16637
16720
|
|
@@ -16668,16 +16751,7 @@ class RawAvatar extends createBaseClass({
|
|
16668
16751
|
width: 100%;
|
16669
16752
|
height: 100%;
|
16670
16753
|
}
|
16671
|
-
|
16672
|
-
|
16673
|
-
|
16674
|
-
<div class="wrapper">
|
16675
|
-
<vaadin-avatar></vaadin-avatar>
|
16676
|
-
<div class="editableBadge">
|
16677
|
-
<vaadin-icon icon="vaadin:pencil"></vaadin-icon>
|
16678
|
-
</div>
|
16679
|
-
</div>
|
16680
|
-
`;
|
16754
|
+
`, this);
|
16681
16755
|
|
16682
16756
|
this.avatarComponent = this.shadowRoot.querySelector('vaadin-avatar');
|
16683
16757
|
|
@@ -16946,7 +17020,11 @@ class RawScopesList extends createBaseClass$1({ componentName: componentName$b,
|
|
16946
17020
|
super();
|
16947
17021
|
|
16948
17022
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
16949
|
-
|
17023
|
+
<div></div>
|
17024
|
+
`;
|
17025
|
+
|
17026
|
+
injectStyle(
|
17027
|
+
`
|
16950
17028
|
:host {
|
16951
17029
|
display: inline-flex;
|
16952
17030
|
}
|
@@ -16955,10 +17033,9 @@ class RawScopesList extends createBaseClass$1({ componentName: componentName$b,
|
|
16955
17033
|
display: flex;
|
16956
17034
|
flex-direction: column;
|
16957
17035
|
}
|
16958
|
-
|
16959
|
-
|
16960
|
-
|
16961
|
-
`;
|
17036
|
+
`,
|
17037
|
+
this
|
17038
|
+
);
|
16962
17039
|
}
|
16963
17040
|
|
16964
17041
|
get isReadOnly() {
|
@@ -17058,8 +17135,22 @@ class RawThirdPartyAppLogoClass extends createBaseClass$1({
|
|
17058
17135
|
constructor() {
|
17059
17136
|
super();
|
17060
17137
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
17061
|
-
<
|
17062
|
-
|
17138
|
+
<div class="wrapper">
|
17139
|
+
<div class="third-party-app-logo-wrapper">
|
17140
|
+
<div class="third-party-app-logo"></div>
|
17141
|
+
</div>
|
17142
|
+
<div class="arrows">
|
17143
|
+
<descope-icon src="${arrowsImg}"></descope-icon>
|
17144
|
+
</div>
|
17145
|
+
<div class="company-logo-wrapper">
|
17146
|
+
<descope-logo></descope-logo>
|
17147
|
+
</div>
|
17148
|
+
</div>
|
17149
|
+
`;
|
17150
|
+
|
17151
|
+
injectStyle(
|
17152
|
+
`
|
17153
|
+
:host {
|
17063
17154
|
display: inline-flex;
|
17064
17155
|
}
|
17065
17156
|
:host([draggable="true"]) > div {
|
@@ -17098,20 +17189,9 @@ class RawThirdPartyAppLogoClass extends createBaseClass$1({
|
|
17098
17189
|
flex-shrink: 0;
|
17099
17190
|
display: flex;
|
17100
17191
|
}
|
17101
|
-
|
17102
|
-
|
17103
|
-
|
17104
|
-
<div class="third-party-app-logo-wrapper">
|
17105
|
-
<div class="third-party-app-logo"></div>
|
17106
|
-
</div>
|
17107
|
-
<div class="arrows">
|
17108
|
-
<descope-icon src="${arrowsImg}"></descope-icon>
|
17109
|
-
</div>
|
17110
|
-
<div class="company-logo-wrapper">
|
17111
|
-
<descope-logo></descope-logo>
|
17112
|
-
</div>
|
17113
|
-
</div>
|
17114
|
-
`;
|
17192
|
+
`,
|
17193
|
+
this
|
17194
|
+
);
|
17115
17195
|
}
|
17116
17196
|
}
|
17117
17197
|
|
@@ -17172,7 +17252,11 @@ class RawSecurityQuestionsSetup extends createBaseClass$1({ componentName: compo
|
|
17172
17252
|
super();
|
17173
17253
|
|
17174
17254
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
17175
|
-
|
17255
|
+
<div></div>
|
17256
|
+
`;
|
17257
|
+
|
17258
|
+
injectStyle(
|
17259
|
+
`
|
17176
17260
|
:host {
|
17177
17261
|
display: inline-flex;
|
17178
17262
|
}
|
@@ -17181,10 +17265,9 @@ class RawSecurityQuestionsSetup extends createBaseClass$1({ componentName: compo
|
|
17181
17265
|
display: flex;
|
17182
17266
|
flex-direction: column;
|
17183
17267
|
}
|
17184
|
-
|
17185
|
-
|
17186
|
-
|
17187
|
-
`;
|
17268
|
+
`,
|
17269
|
+
this
|
17270
|
+
);
|
17188
17271
|
}
|
17189
17272
|
|
17190
17273
|
get count() {
|
@@ -17413,7 +17496,11 @@ class RawSecurityQuestionsVerify extends createBaseClass$1({ componentName: comp
|
|
17413
17496
|
super();
|
17414
17497
|
|
17415
17498
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
17416
|
-
|
17499
|
+
<div></div>
|
17500
|
+
`;
|
17501
|
+
|
17502
|
+
injectStyle(
|
17503
|
+
`
|
17417
17504
|
:host {
|
17418
17505
|
display: inline-flex;
|
17419
17506
|
}
|
@@ -17422,10 +17509,9 @@ class RawSecurityQuestionsVerify extends createBaseClass$1({ componentName: comp
|
|
17422
17509
|
display: flex;
|
17423
17510
|
flex-direction: column;
|
17424
17511
|
}
|
17425
|
-
|
17426
|
-
|
17427
|
-
|
17428
|
-
`;
|
17512
|
+
`,
|
17513
|
+
this
|
17514
|
+
);
|
17429
17515
|
}
|
17430
17516
|
|
17431
17517
|
#renderQuestions() {
|
@@ -17691,8 +17777,16 @@ class RawHybridField extends BaseClass {
|
|
17691
17777
|
super();
|
17692
17778
|
|
17693
17779
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
17694
|
-
|
17695
|
-
|
17780
|
+
<div class="wrapper">
|
17781
|
+
<descope-email-field external-input="${this.isExternalInput}"></descope-email-field>
|
17782
|
+
<descope-phone-field allow-alphanumeric-input="true"></descope-phone-field>
|
17783
|
+
<descope-phone-input-box-field allow-alphanumeric-input="true"></descope-phone-input-box-field>
|
17784
|
+
</div>
|
17785
|
+
`;
|
17786
|
+
|
17787
|
+
injectStyle(
|
17788
|
+
`
|
17789
|
+
:host {
|
17696
17790
|
display: inline-flex;
|
17697
17791
|
box-sizing: border-box;
|
17698
17792
|
padding: 0;
|
@@ -17711,14 +17805,10 @@ class RawHybridField extends BaseClass {
|
|
17711
17805
|
}
|
17712
17806
|
.hidden {
|
17713
17807
|
visibility: hidden;
|
17714
|
-
}
|
17715
|
-
|
17716
|
-
|
17717
|
-
|
17718
|
-
<descope-phone-field allow-alphanumeric-input="true"></descope-phone-field>
|
17719
|
-
<descope-phone-input-box-field allow-alphanumeric-input="true"></descope-phone-input-box-field>
|
17720
|
-
</div>
|
17721
|
-
`;
|
17808
|
+
}
|
17809
|
+
`,
|
17810
|
+
this
|
17811
|
+
);
|
17722
17812
|
}
|
17723
17813
|
|
17724
17814
|
get isExternalInput() {
|
@@ -17983,7 +18073,18 @@ class RawAlert extends createBaseClass$1({ componentName: componentName$6, baseS
|
|
17983
18073
|
super();
|
17984
18074
|
|
17985
18075
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
17986
|
-
<
|
18076
|
+
<div>
|
18077
|
+
<div class="icon"></div>
|
18078
|
+
<div class="content">
|
18079
|
+
<descope-enriched-text>
|
18080
|
+
<slot></slot>
|
18081
|
+
</descope-enriched-text>
|
18082
|
+
</div>
|
18083
|
+
</div>
|
18084
|
+
`;
|
18085
|
+
|
18086
|
+
injectStyle(
|
18087
|
+
`
|
17987
18088
|
:host {
|
17988
18089
|
display: inline-flex;
|
17989
18090
|
}
|
@@ -18003,16 +18104,9 @@ class RawAlert extends createBaseClass$1({ componentName: componentName$6, baseS
|
|
18003
18104
|
white-space: normal;
|
18004
18105
|
overflow-wrap: break-word;
|
18005
18106
|
}
|
18006
|
-
|
18007
|
-
|
18008
|
-
|
18009
|
-
<div class="content">
|
18010
|
-
<descope-enriched-text>
|
18011
|
-
<slot></slot>
|
18012
|
-
</descope-enriched-text>
|
18013
|
-
</div>
|
18014
|
-
</div>
|
18015
|
-
`;
|
18107
|
+
`,
|
18108
|
+
this
|
18109
|
+
);
|
18016
18110
|
}
|
18017
18111
|
|
18018
18112
|
init() {
|
@@ -20697,7 +20791,6 @@ const globalRefs$a = getThemeRefs(globals$1);
|
|
20697
20791
|
const vars$g = CodeSnippetClass.cssVarList;
|
20698
20792
|
|
20699
20793
|
const light = {
|
20700
|
-
color1: '#fa0',
|
20701
20794
|
color2: '#d73a49',
|
20702
20795
|
color3: '#6f42c1',
|
20703
20796
|
color4: '#005cc5',
|
@@ -20707,13 +20800,10 @@ const light = {
|
|
20707
20800
|
color8: '#24292e',
|
20708
20801
|
color9: '#735c0f',
|
20709
20802
|
color10: '#f0fff4',
|
20710
|
-
color11: '#b31d28',
|
20711
|
-
color12: '#ffeef0',
|
20712
20803
|
color13: '#032f62',
|
20713
20804
|
};
|
20714
20805
|
|
20715
20806
|
const dark = {
|
20716
|
-
color1: '#c9d1d9',
|
20717
20807
|
color2: '#ff7b72',
|
20718
20808
|
color3: '#d2a8ff',
|
20719
20809
|
color4: '#79c0ff',
|
@@ -20723,8 +20813,6 @@ const dark = {
|
|
20723
20813
|
color8: '#c9d1d9',
|
20724
20814
|
color9: '#735c0f',
|
20725
20815
|
color10: '#f0fff4',
|
20726
|
-
color11: '#67060c',
|
20727
|
-
color12: '#ffeef0',
|
20728
20816
|
color13: '#a5d6ff',
|
20729
20817
|
};
|
20730
20818
|
|
@@ -21416,18 +21504,6 @@ class AutocompleteFieldInternal extends BaseInputClass$1 {
|
|
21416
21504
|
super();
|
21417
21505
|
|
21418
21506
|
this.innerHTML = `
|
21419
|
-
<style>
|
21420
|
-
:host {
|
21421
|
-
display: inline-block;
|
21422
|
-
box-sizing: border-box;
|
21423
|
-
user-select: none;
|
21424
|
-
max-width: 100%;
|
21425
|
-
}
|
21426
|
-
|
21427
|
-
:host ::slotted {
|
21428
|
-
padding: 0;
|
21429
|
-
}
|
21430
|
-
</style>
|
21431
21507
|
<div class="autocomplete-field">
|
21432
21508
|
<descope-combo-box clear-button-visible="true" auto-open-disabled="true" has-dynamic-data="true" item-label-path="data-name" item-value-path="data-id" hide-toggle-button="true"></descope-combo-box>
|
21433
21509
|
</div>
|
@@ -21731,6 +21807,17 @@ const AutocompleteFieldClass = compose(
|
|
21731
21807
|
line-height: unset;
|
21732
21808
|
width: 100%;
|
21733
21809
|
}
|
21810
|
+
|
21811
|
+
descope-autocomplete-field-internal {
|
21812
|
+
display: inline-block;
|
21813
|
+
box-sizing: border-box;
|
21814
|
+
user-select: none;
|
21815
|
+
max-width: 100%;
|
21816
|
+
}
|
21817
|
+
|
21818
|
+
descope-autocomplete-field-internal ::slotted {
|
21819
|
+
padding: 0;
|
21820
|
+
}
|
21734
21821
|
`,
|
21735
21822
|
excludeAttrsSync: ['tabindex', 'error-message', 'label'],
|
21736
21823
|
componentName: componentName$2,
|
@@ -22020,18 +22107,6 @@ class RawAddressFieldInternal extends BaseInputClass {
|
|
22020
22107
|
super();
|
22021
22108
|
|
22022
22109
|
this.innerHTML = `
|
22023
|
-
<style>
|
22024
|
-
:host {
|
22025
|
-
display: inline-block;
|
22026
|
-
box-sizing: border-box;
|
22027
|
-
user-select: none;
|
22028
|
-
max-width: 100%;
|
22029
|
-
}
|
22030
|
-
|
22031
|
-
:host ::slotted {
|
22032
|
-
padding: 0;
|
22033
|
-
}
|
22034
|
-
</style>
|
22035
22110
|
<div>
|
22036
22111
|
<descope-autocomplete-field></descope-autocomplete-field>
|
22037
22112
|
</div>
|
@@ -22231,6 +22306,17 @@ const AddressFieldClass = compose(
|
|
22231
22306
|
line-height: unset;
|
22232
22307
|
width: 100%;
|
22233
22308
|
}
|
22309
|
+
|
22310
|
+
${componentName$1} {
|
22311
|
+
display: inline-block;
|
22312
|
+
box-sizing: border-box;
|
22313
|
+
user-select: none;
|
22314
|
+
max-width: 100%;
|
22315
|
+
}
|
22316
|
+
|
22317
|
+
${componentName$1} ::slotted {
|
22318
|
+
padding: 0;
|
22319
|
+
}
|
22234
22320
|
`,
|
22235
22321
|
excludeAttrsSync: ['tabindex', 'error-message', 'label'],
|
22236
22322
|
componentName,
|