@foxy.io/elements 1.60.2 → 1.60.4
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/cdn/foxy-access-recovery-form.js +1 -1
- package/dist/cdn/foxy-address-card.js +1 -1
- package/dist/cdn/foxy-address-form.js +1 -1
- package/dist/cdn/foxy-admin-subscription-card.js +1 -1
- package/dist/cdn/foxy-admin-subscription-form.js +1 -1
- package/dist/cdn/foxy-admin-transaction-card.js +1 -1
- package/dist/cdn/foxy-api-browser.js +2 -2
- package/dist/cdn/foxy-applied-coupon-code-card.js +1 -1
- package/dist/cdn/foxy-applied-coupon-code-form.js +1 -1
- package/dist/cdn/foxy-applied-tax-card.js +1 -1
- package/dist/cdn/foxy-attribute-card.js +1 -1
- package/dist/cdn/foxy-attribute-form.js +1 -1
- package/dist/cdn/foxy-billing-address-card.js +1 -1
- package/dist/cdn/foxy-cancellation-form.js +1 -1
- package/dist/cdn/foxy-cart-card.js +1 -1
- package/dist/cdn/foxy-cart-form.js +2 -2
- package/dist/cdn/foxy-client-card.js +1 -1
- package/dist/cdn/foxy-client-form.js +1 -1
- package/dist/cdn/foxy-collection-page.js +1 -1
- package/dist/cdn/foxy-collection-pages.js +1 -1
- package/dist/cdn/foxy-copy-to-clipboard.js +1 -1
- package/dist/cdn/foxy-coupon-card.js +1 -1
- package/dist/cdn/foxy-coupon-code-card.js +1 -1
- package/dist/cdn/foxy-coupon-code-form.js +1 -1
- package/dist/cdn/foxy-coupon-codes-form.js +1 -1
- package/dist/cdn/foxy-coupon-detail-card.js +1 -1
- package/dist/cdn/foxy-coupon-form.js +1 -1
- package/dist/cdn/foxy-custom-field-card.js +1 -1
- package/dist/cdn/foxy-custom-field-form.js +1 -1
- package/dist/cdn/foxy-customer-card.js +1 -1
- package/dist/cdn/foxy-customer-form.js +1 -1
- package/dist/cdn/foxy-customer-portal-settings-form.js +1 -1
- package/dist/cdn/foxy-customer-portal-settings.js +1 -1
- package/dist/cdn/foxy-customer-portal.js +13 -13
- package/dist/cdn/foxy-customer.js +6 -6
- package/dist/cdn/foxy-customers-table.js +1 -1
- package/dist/cdn/foxy-discount-builder.js +1 -1
- package/dist/cdn/foxy-discount-card.js +1 -1
- package/dist/cdn/foxy-discount-detail-card.js +1 -1
- package/dist/cdn/foxy-donation.js +1 -1
- package/dist/cdn/foxy-downloadable-card.js +1 -1
- package/dist/cdn/foxy-downloadable-form.js +6 -6
- package/dist/cdn/foxy-email-template-card.js +1 -1
- package/dist/cdn/foxy-email-template-form.js +1 -1
- package/dist/cdn/foxy-error-entry-card.js +1 -1
- package/dist/cdn/foxy-experimental-add-to-cart-builder.js +1 -1
- package/dist/cdn/foxy-filter-attribute-card.js +1 -1
- package/dist/cdn/foxy-filter-attribute-form.js +1 -1
- package/dist/cdn/foxy-form-dialog.js +1 -1
- package/dist/cdn/foxy-generate-codes-form.js +1 -1
- package/dist/cdn/foxy-gift-card-card.js +1 -1
- package/dist/cdn/foxy-gift-card-code-card.js +1 -1
- package/dist/cdn/foxy-gift-card-code-form.js +1 -1
- package/dist/cdn/foxy-gift-card-code-log-card.js +1 -1
- package/dist/cdn/foxy-gift-card-codes-form.js +1 -1
- package/dist/cdn/foxy-gift-card-form.js +1 -1
- package/dist/cdn/foxy-i18n-editor.js +6 -6
- package/dist/cdn/foxy-i18n.js +1 -1
- package/dist/cdn/foxy-integration-card.js +1 -1
- package/dist/cdn/foxy-integration-form.js +1 -1
- package/dist/cdn/foxy-item-card.js +1 -1
- package/dist/cdn/foxy-item-category-card.js +1 -1
- package/dist/cdn/foxy-item-category-form.js +1 -1
- package/dist/cdn/foxy-item-form.js +1 -1
- package/dist/cdn/foxy-item-option-card.js +1 -1
- package/dist/cdn/foxy-item-option-form.js +1 -1
- package/dist/cdn/foxy-items-form.js +1 -1
- package/dist/cdn/foxy-native-integration-card.js +1 -1
- package/dist/cdn/foxy-native-integration-form.js +1 -1
- package/dist/cdn/foxy-pagination.js +1 -1
- package/dist/cdn/foxy-passkey-card.js +1 -1
- package/dist/cdn/foxy-passkey-form.js +1 -1
- package/dist/cdn/foxy-payment-card-embed.js +1 -1
- package/dist/cdn/foxy-payment-card.js +1 -1
- package/dist/cdn/foxy-payment-method-card.js +1 -1
- package/dist/cdn/foxy-payments-api-fraud-protection-card.js +1 -1
- package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-method-card.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-preset-card.js +1 -1
- package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
- package/dist/cdn/foxy-query-builder.js +1 -1
- package/dist/cdn/foxy-report-form.js +1 -1
- package/dist/cdn/foxy-reports-table.js +6 -6
- package/dist/cdn/foxy-shipment-card.js +1 -1
- package/dist/cdn/foxy-shipping-container-card.js +1 -1
- package/dist/cdn/foxy-shipping-drop-type-card.js +1 -1
- package/dist/cdn/foxy-shipping-method-card.js +1 -1
- package/dist/cdn/foxy-shipping-service-card.js +1 -1
- package/dist/cdn/foxy-sign-in-form.js +1 -1
- package/dist/cdn/foxy-spinner.js +2 -2
- package/dist/cdn/foxy-store-card.js +1 -1
- package/dist/cdn/foxy-store-form.js +1 -1
- package/dist/cdn/foxy-store-shipping-method-form.js +1 -1
- package/dist/cdn/foxy-store-transaction-folder-card.js +1 -1
- package/dist/cdn/foxy-store-transaction-folder-form.js +1 -1
- package/dist/cdn/foxy-subscription-card.js +1 -1
- package/dist/cdn/foxy-subscription-form.js +1 -1
- package/dist/cdn/foxy-subscription-settings-form.js +1 -1
- package/dist/cdn/foxy-subscriptions-table.js +1 -1
- package/dist/cdn/foxy-table.js +1 -1
- package/dist/cdn/foxy-tax-card.js +1 -1
- package/dist/cdn/foxy-tax-form.js +1 -1
- package/dist/cdn/foxy-template-config-form.js +1 -1
- package/dist/cdn/foxy-template-form.js +1 -1
- package/dist/cdn/foxy-template-set-card.js +1 -1
- package/dist/cdn/foxy-template-set-form.js +1 -1
- package/dist/cdn/foxy-transaction-card.js +1 -1
- package/dist/cdn/foxy-transaction.js +1 -1
- package/dist/cdn/foxy-transactions-table.js +5 -5
- package/dist/cdn/foxy-update-payment-method-form.js +1 -1
- package/dist/cdn/foxy-user-card.js +1 -1
- package/dist/cdn/foxy-user-form.js +1 -1
- package/dist/cdn/foxy-user-invitation-card.js +1 -1
- package/dist/cdn/foxy-user-invitation-form.js +1 -1
- package/dist/cdn/foxy-users-table.js +1 -1
- package/dist/cdn/foxy-webhook-card.js +1 -1
- package/dist/cdn/foxy-webhook-form.js +1 -1
- package/dist/cdn/foxy-webhook-log-card.js +1 -1
- package/dist/cdn/foxy-webhook-status-card.js +1 -1
- package/dist/cdn/{shared-53a5212e.js → shared-008f545f.js} +1 -1
- package/dist/cdn/shared-011f505c.js +1 -0
- package/dist/cdn/{shared-affe06c0.js → shared-148b225a.js} +1 -1
- package/dist/cdn/{shared-56741bad.js → shared-14dccf44.js} +2 -2
- package/dist/cdn/{shared-8be109a9.js → shared-16ccc5a3.js} +1 -1
- package/dist/cdn/{shared-e9f9face.js → shared-17d649db.js} +3 -3
- package/dist/cdn/{shared-c59277a4.js → shared-203661bc.js} +6 -6
- package/dist/cdn/{shared-4ed4b075.js → shared-21aa7698.js} +1 -1
- package/dist/cdn/shared-318fa017.js +1 -0
- package/dist/cdn/{shared-f77994ad.js → shared-3bce049d.js} +1 -1
- package/dist/cdn/shared-3be05a73.js +1 -0
- package/dist/cdn/{shared-19c47f53.js → shared-3c6bd82f.js} +1 -1
- package/dist/cdn/{shared-91483320.js → shared-40a4e82a.js} +1 -1
- package/dist/cdn/{shared-cfc6735e.js → shared-419d5254.js} +1 -1
- package/dist/cdn/{shared-34262bb8.js → shared-41ca9c98.js} +4 -4
- package/dist/cdn/{shared-5dbd66e3.js → shared-442c25c1.js} +2 -2
- package/dist/cdn/shared-45c7e449.js +105 -0
- package/dist/cdn/shared-47f1af66.js +1 -0
- package/dist/cdn/{shared-3a61d8a6.js → shared-4a881a9d.js} +5 -5
- package/dist/cdn/{shared-8292d44e.js → shared-516ae1e9.js} +1 -1
- package/dist/cdn/shared-531e6727.js +1 -0
- package/dist/cdn/{shared-3fd75ee6.js → shared-54090fd9.js} +10 -10
- package/dist/cdn/{shared-af4f71bf.js → shared-588de3ef.js} +5 -5
- package/dist/cdn/shared-61ade33e.js +6 -0
- package/dist/cdn/shared-61c4d03e.js +1 -0
- package/dist/cdn/shared-64de5f0c.js +1 -0
- package/dist/cdn/{shared-d2f777dc.js → shared-6658a069.js} +1 -1
- package/dist/cdn/{shared-56278a3c.js → shared-6ea0138f.js} +1 -1
- package/dist/cdn/{shared-7e28c953.js → shared-704c2ffc.js} +1 -1
- package/dist/cdn/{shared-eb349085.js → shared-7073576b.js} +1 -1
- package/dist/cdn/{shared-cf1965cb.js → shared-720c03fa.js} +1 -1
- package/dist/cdn/{shared-18707481.js → shared-73f0cdaa.js} +1 -1
- package/dist/cdn/{shared-b48cd5d3.js → shared-7432504a.js} +1 -1
- package/dist/cdn/{shared-d8b880bb.js → shared-753a50d4.js} +17 -17
- package/dist/cdn/shared-819dd677.js +1 -0
- package/dist/cdn/{shared-98457d79.js → shared-8d330222.js} +2 -2
- package/dist/cdn/{shared-62ee726e.js → shared-979249a1.js} +1 -1
- package/dist/cdn/{shared-a8ae24f0.js → shared-9dc42d11.js} +4 -10
- package/dist/cdn/{shared-2fbfbe12.js → shared-9decd661.js} +1 -1
- package/dist/cdn/{shared-a95a66b8.js → shared-a0496f20.js} +1 -1
- package/dist/cdn/shared-a44f3de4.js +1 -0
- package/dist/cdn/{shared-48910b3f.js → shared-a534736d.js} +1 -1
- package/dist/cdn/{shared-0811ea40.js → shared-a5ff1e1c.js} +8 -8
- package/dist/cdn/{shared-32a39c0b.js → shared-a99b7519.js} +1 -1
- package/dist/cdn/{shared-f9c8881a.js → shared-ad84d6a4.js} +1 -1
- package/dist/cdn/shared-b8949649.js +1 -0
- package/dist/cdn/{shared-4ab85bea.js → shared-b9142668.js} +1 -1
- package/dist/cdn/{shared-ac536c67.js → shared-bdb50069.js} +1 -1
- package/dist/cdn/shared-bdf082ac.js +1 -0
- package/dist/cdn/shared-cc142706.js +1 -0
- package/dist/cdn/shared-cf151085.js +348 -0
- package/dist/cdn/{shared-7b15217c.js → shared-cf25faa5.js} +1 -1
- package/dist/cdn/{shared-091e97f3.js → shared-d412fe96.js} +1 -1
- package/dist/cdn/shared-d44fb24c.js +1 -0
- package/dist/cdn/shared-d6d5e0dd.js +1 -0
- package/dist/cdn/{shared-8f5c8c08.js → shared-d77ef768.js} +1 -1
- package/dist/cdn/{shared-a08f594b.js → shared-db9b2367.js} +2 -2
- package/dist/cdn/shared-e52affbe.js +1 -0
- package/dist/cdn/{shared-40a2705c.js → shared-ed75f74d.js} +1 -1
- package/dist/cdn/{shared-8062bbb8.js → shared-ee0c1d46.js} +1 -1
- package/dist/cdn/{shared-c066b7fd.js → shared-f2e36f0f.js} +1 -1
- package/dist/cdn/shared-f3538b44.js +1 -0
- package/dist/cdn/shared-fd2438e9.js +1 -0
- package/dist/cdn/translations/admin-subscription-form/en.json +0 -1
- package/dist/cdn/translations/customer-portal/de.json +1 -0
- package/dist/cdn/translations/customer-portal/en.json +1 -0
- package/dist/cdn/translations/customer-portal/es.json +1 -0
- package/dist/cdn/translations/customer-portal/fr.json +1 -0
- package/dist/cdn/translations/customer-portal/nl.json +1 -0
- package/dist/cdn/translations/customer-portal/pl.json +1 -0
- package/dist/cdn/translations/customer-portal/sv.json +1 -0
- package/dist/cdn/translations/customer-portal/zh-HK.json +1 -0
- package/dist/cdn/translations/payment-card/en.json +0 -1
- package/dist/cdn/translations/transaction/en.json +0 -1
- package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControl.js +12 -12
- package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControl.js.map +1 -1
- package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControlFilterOverlay.js +4 -4
- package/dist/elements/internal/InternalAsyncListControl/InternalAsyncListControlFilterOverlay.js.map +1 -1
- package/dist/elements/internal/InternalAsyncListControl/index.d.ts +1 -1
- package/dist/elements/internal/InternalAsyncListControl/index.js +1 -1
- package/dist/elements/internal/InternalAsyncListControl/index.js.map +1 -1
- package/dist/elements/internal/InternalBulkAddActionControl/InternalBulkAddActionControl.js +2 -2
- package/dist/elements/internal/InternalBulkAddActionControl/InternalBulkAddActionControl.js.map +1 -1
- package/dist/elements/internal/InternalBulkAddActionControl/index.d.ts +1 -1
- package/dist/elements/internal/InternalBulkAddActionControl/index.js +1 -1
- package/dist/elements/internal/InternalBulkAddActionControl/index.js.map +1 -1
- package/dist/elements/internal/InternalButton/InternalButton.d.ts +26 -0
- package/dist/elements/internal/InternalButton/InternalButton.js +379 -0
- package/dist/elements/internal/InternalButton/InternalButton.js.map +1 -0
- package/dist/elements/internal/InternalButton/index.d.ts +12 -0
- package/dist/elements/internal/InternalButton/index.js +9 -0
- package/dist/elements/internal/InternalButton/index.js.map +1 -0
- package/dist/elements/internal/InternalCalendar/InternalCalendar.js +4 -4
- package/dist/elements/internal/InternalCalendar/InternalCalendar.js.map +1 -1
- package/dist/elements/internal/InternalCalendar/index.d.ts +1 -1
- package/dist/elements/internal/InternalCalendar/index.js +1 -1
- package/dist/elements/internal/InternalCalendar/index.js.map +1 -1
- package/dist/elements/internal/InternalConfirmDialog/InternalConfirmDialog.js +4 -4
- package/dist/elements/internal/InternalConfirmDialog/InternalConfirmDialog.js.map +1 -1
- package/dist/elements/internal/InternalConfirmDialog/index.d.ts +1 -1
- package/dist/elements/internal/InternalConfirmDialog/index.js +1 -1
- package/dist/elements/internal/InternalConfirmDialog/index.js.map +1 -1
- package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.d.ts +2 -1
- package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.js +4 -3
- package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.js.map +1 -1
- package/dist/elements/internal/InternalDeleteControl/index.d.ts +0 -1
- package/dist/elements/internal/InternalDeleteControl/index.js +0 -1
- package/dist/elements/internal/InternalDeleteControl/index.js.map +1 -1
- package/dist/elements/internal/InternalForm/InternalForm.js +4 -4
- package/dist/elements/internal/InternalForm/InternalForm.js.map +1 -1
- package/dist/elements/internal/InternalForm/index.d.ts +1 -1
- package/dist/elements/internal/InternalForm/index.js +1 -1
- package/dist/elements/internal/InternalForm/index.js.map +1 -1
- package/dist/elements/internal/InternalPostActionControl/InternalPostActionControl.d.ts +1 -0
- package/dist/elements/internal/InternalPostActionControl/InternalPostActionControl.js +3 -2
- package/dist/elements/internal/InternalPostActionControl/InternalPostActionControl.js.map +1 -1
- package/dist/elements/internal/InternalPostActionControl/InternalPostActionControlDialog.js +10 -6
- package/dist/elements/internal/InternalPostActionControl/InternalPostActionControlDialog.js.map +1 -1
- package/dist/elements/internal/InternalPostActionControl/index.d.ts +1 -1
- package/dist/elements/internal/InternalPostActionControl/index.js +1 -1
- package/dist/elements/internal/InternalPostActionControl/index.js.map +1 -1
- package/dist/elements/internal/InternalResourcePickerControl/InternalResourcePickerControl.js +2 -2
- package/dist/elements/internal/InternalResourcePickerControl/InternalResourcePickerControl.js.map +1 -1
- package/dist/elements/internal/InternalResourcePickerControl/index.d.ts +1 -1
- package/dist/elements/internal/InternalResourcePickerControl/index.js +1 -1
- package/dist/elements/internal/InternalResourcePickerControl/index.js.map +1 -1
- package/dist/elements/internal/InternalSubmitControl/InternalSubmitControl.d.ts +1 -1
- package/dist/elements/internal/InternalSubmitControl/InternalSubmitControl.js +3 -3
- package/dist/elements/internal/InternalSubmitControl/InternalSubmitControl.js.map +1 -1
- package/dist/elements/internal/InternalSubmitControl/index.d.ts +1 -1
- package/dist/elements/internal/InternalSubmitControl/index.js +1 -1
- package/dist/elements/internal/InternalSubmitControl/index.js.map +1 -1
- package/dist/elements/internal/InternalUndoControl/InternalUndoControl.d.ts +1 -1
- package/dist/elements/internal/InternalUndoControl/InternalUndoControl.js +3 -3
- package/dist/elements/internal/InternalUndoControl/InternalUndoControl.js.map +1 -1
- package/dist/elements/internal/InternalUndoControl/index.d.ts +1 -1
- package/dist/elements/internal/InternalUndoControl/index.js +1 -1
- package/dist/elements/internal/InternalUndoControl/index.js.map +1 -1
- package/dist/elements/private/Dialog/Dialog.d.ts +1 -0
- package/dist/elements/private/Dialog/Dialog.js +5 -4
- package/dist/elements/private/Dialog/Dialog.js.map +1 -1
- package/dist/elements/private/ErrorScreen/ErrorScreen.d.ts +1 -0
- package/dist/elements/private/ErrorScreen/ErrorScreen.js +4 -4
- package/dist/elements/private/ErrorScreen/ErrorScreen.js.map +1 -1
- package/dist/elements/public/AccessRecoveryForm/AccessRecoveryForm.js +4 -4
- package/dist/elements/public/AccessRecoveryForm/AccessRecoveryForm.js.map +1 -1
- package/dist/elements/public/AccessRecoveryForm/index.d.ts +1 -1
- package/dist/elements/public/AccessRecoveryForm/index.js +1 -1
- package/dist/elements/public/AccessRecoveryForm/index.js.map +1 -1
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusAction/InternalAdminSubscriptionFormStatusAction.js +2 -2
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusAction/InternalAdminSubscriptionFormStatusAction.js.map +1 -1
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusAction/index.d.ts +1 -1
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusAction/index.js +1 -1
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusAction/index.js.map +1 -1
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusActionForm/InternalAdminSubscriptionFormStatusActionForm.js +2 -2
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusActionForm/InternalAdminSubscriptionFormStatusActionForm.js.map +1 -1
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusActionForm/index.d.ts +1 -1
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusActionForm/index.js +1 -1
- package/dist/elements/public/AdminSubscriptionForm/internal/InternalAdminSubscriptionFormStatusActionForm/index.js.map +1 -1
- package/dist/elements/public/ApiBrowser/ApiBrowser.js +12 -12
- package/dist/elements/public/ApiBrowser/ApiBrowser.js.map +1 -1
- package/dist/elements/public/ApiBrowser/index.d.ts +1 -1
- package/dist/elements/public/ApiBrowser/index.js +1 -1
- package/dist/elements/public/ApiBrowser/index.js.map +1 -1
- package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/InternalApiBrowserResourceForm.js +4 -4
- package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/InternalApiBrowserResourceForm.js.map +1 -1
- package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/index.d.ts +1 -1
- package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/index.js +1 -1
- package/dist/elements/public/ApiBrowser/internal/InternalApiBrowserResourceForm/index.js.map +1 -1
- package/dist/elements/public/CancellationForm/CancellationForm.js +3 -2
- package/dist/elements/public/CancellationForm/CancellationForm.js.map +1 -1
- package/dist/elements/public/CancellationForm/index.d.ts +1 -1
- package/dist/elements/public/CancellationForm/index.js +1 -1
- package/dist/elements/public/CancellationForm/index.js.map +1 -1
- package/dist/elements/public/CartForm/internal/InternalCartFormAddressSummaryItem/InternalCartFormAddressSummaryItem.js +4 -4
- package/dist/elements/public/CartForm/internal/InternalCartFormAddressSummaryItem/InternalCartFormAddressSummaryItem.js.map +1 -1
- package/dist/elements/public/CartForm/internal/InternalCartFormAddressSummaryItem/index.d.ts +1 -1
- package/dist/elements/public/CartForm/internal/InternalCartFormAddressSummaryItem/index.js +1 -1
- package/dist/elements/public/CartForm/internal/InternalCartFormAddressSummaryItem/index.js.map +1 -1
- package/dist/elements/public/CollectionPages/CollectionPages.js +5 -2
- package/dist/elements/public/CollectionPages/CollectionPages.js.map +1 -1
- package/dist/elements/public/CollectionPages/index.d.ts +1 -1
- package/dist/elements/public/CollectionPages/index.js +1 -1
- package/dist/elements/public/CollectionPages/index.js.map +1 -1
- package/dist/elements/public/CopyToClipboard/CopyToClipboard.d.ts +1 -0
- package/dist/elements/public/CopyToClipboard/CopyToClipboard.js +4 -2
- package/dist/elements/public/CopyToClipboard/CopyToClipboard.js.map +1 -1
- package/dist/elements/public/Customer/Customer.d.ts +1 -0
- package/dist/elements/public/Customer/Customer.js +10 -8
- package/dist/elements/public/Customer/Customer.js.map +1 -1
- package/dist/elements/public/Customer/index.d.ts +0 -1
- package/dist/elements/public/Customer/index.js +0 -1
- package/dist/elements/public/Customer/index.js.map +1 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedInView.js +2 -2
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedInView.js.map +1 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedOutView.js +8 -8
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedOutView.js.map +1 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalPasswordResetView.js +4 -4
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalPasswordResetView.js.map +1 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalSubscriptions.js +2 -2
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalSubscriptions.js.map +1 -1
- package/dist/elements/public/CustomerPortal/index.d.ts +1 -0
- package/dist/elements/public/CustomerPortal/index.js +3 -0
- package/dist/elements/public/CustomerPortal/index.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettings/CustomerPortalSettings.d.ts +1 -1
- package/dist/elements/public/CustomerPortalSettings/CustomerPortalSettings.js +6 -5
- package/dist/elements/public/CustomerPortalSettings/CustomerPortalSettings.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/DisallowedDates/DisallowedDates.d.ts +1 -0
- package/dist/elements/public/CustomerPortalSettings/private/DisallowedDates/DisallowedDates.js +4 -4
- package/dist/elements/public/CustomerPortalSettings/private/DisallowedDates/DisallowedDates.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyInput/FrequencyInput.d.ts +0 -1
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyInput/FrequencyInput.js +0 -1
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyInput/FrequencyInput.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyList/FrequencyList.d.ts +1 -0
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyList/FrequencyList.js +4 -2
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyList/FrequencyList.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyModification/FrequencyModification.d.ts +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyModification/FrequencyModification.js +4 -3
- package/dist/elements/public/CustomerPortalSettings/private/FrequencyModification/FrequencyModification.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/NextDateModification/NextDateModification.d.ts +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/NextDateModification/NextDateModification.js +4 -3
- package/dist/elements/public/CustomerPortalSettings/private/NextDateModification/NextDateModification.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/OriginsList/OriginsList.d.ts +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/OriginsList/OriginsList.js +4 -3
- package/dist/elements/public/CustomerPortalSettings/private/OriginsList/OriginsList.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettings/private/SessionSecret/SessionSecret.d.ts +1 -0
- package/dist/elements/public/CustomerPortalSettings/private/SessionSecret/SessionSecret.js +4 -4
- package/dist/elements/public/CustomerPortalSettings/private/SessionSecret/SessionSecret.js.map +1 -1
- package/dist/elements/public/Donation/Donation.d.ts +1 -1
- package/dist/elements/public/Donation/Donation.js +4 -3
- package/dist/elements/public/Donation/Donation.js.map +1 -1
- package/dist/elements/public/EmailTemplateForm/internal/InternalEmailTemplateFormAsyncAction/InternalEmailTemplateFormAsyncAction.js +2 -2
- package/dist/elements/public/EmailTemplateForm/internal/InternalEmailTemplateFormAsyncAction/InternalEmailTemplateFormAsyncAction.js.map +1 -1
- package/dist/elements/public/EmailTemplateForm/internal/InternalEmailTemplateFormAsyncAction/index.d.ts +1 -1
- package/dist/elements/public/EmailTemplateForm/internal/InternalEmailTemplateFormAsyncAction/index.js +1 -1
- package/dist/elements/public/EmailTemplateForm/internal/InternalEmailTemplateFormAsyncAction/index.js.map +1 -1
- package/dist/elements/public/ExperimentalAddToCartBuilder/ExperimentalAddToCartBuilder.js +2 -2
- package/dist/elements/public/ExperimentalAddToCartBuilder/ExperimentalAddToCartBuilder.js.map +1 -1
- package/dist/elements/public/ExperimentalAddToCartBuilder/index.d.ts +1 -1
- package/dist/elements/public/ExperimentalAddToCartBuilder/index.js +1 -1
- package/dist/elements/public/ExperimentalAddToCartBuilder/index.js.map +1 -1
- package/dist/elements/public/ExperimentalAddToCartBuilder/internal/InternalExperimentalAddToCartBuilderItemControl/InternalExperimentalAddToCartBuilderItemControl.js +2 -2
- package/dist/elements/public/ExperimentalAddToCartBuilder/internal/InternalExperimentalAddToCartBuilderItemControl/InternalExperimentalAddToCartBuilderItemControl.js.map +1 -1
- package/dist/elements/public/ExperimentalAddToCartBuilder/internal/InternalExperimentalAddToCartBuilderItemControl/index.d.ts +1 -1
- package/dist/elements/public/ExperimentalAddToCartBuilder/internal/InternalExperimentalAddToCartBuilderItemControl/index.js +1 -1
- package/dist/elements/public/ExperimentalAddToCartBuilder/internal/InternalExperimentalAddToCartBuilderItemControl/index.js.map +1 -1
- package/dist/elements/public/FilterAttributeForm/FilterAttributeForm.js +4 -4
- package/dist/elements/public/FilterAttributeForm/FilterAttributeForm.js.map +1 -1
- package/dist/elements/public/FilterAttributeForm/index.d.ts +1 -1
- package/dist/elements/public/FilterAttributeForm/index.js +1 -1
- package/dist/elements/public/FilterAttributeForm/index.js.map +1 -1
- package/dist/elements/public/I18nEditor/internal/InternalI18nEditorEntry/InternalI18nEditorEntry.js +5 -5
- package/dist/elements/public/I18nEditor/internal/InternalI18nEditorEntry/InternalI18nEditorEntry.js.map +1 -1
- package/dist/elements/public/I18nEditor/internal/InternalI18nEditorEntry/index.d.ts +1 -1
- package/dist/elements/public/I18nEditor/internal/InternalI18nEditorEntry/index.js +1 -1
- package/dist/elements/public/I18nEditor/internal/InternalI18nEditorEntry/index.js.map +1 -1
- package/dist/elements/public/IntegrationForm/IntegrationForm.js +2 -2
- package/dist/elements/public/IntegrationForm/IntegrationForm.js.map +1 -1
- package/dist/elements/public/IntegrationForm/index.d.ts +1 -1
- package/dist/elements/public/IntegrationForm/index.js +1 -1
- package/dist/elements/public/IntegrationForm/index.js.map +1 -1
- package/dist/elements/public/ItemCard/ItemCard.js +2 -2
- package/dist/elements/public/ItemCard/ItemCard.js.map +1 -1
- package/dist/elements/public/ItemsForm/ItemsForm.d.ts +1 -1
- package/dist/elements/public/ItemsForm/ItemsForm.js +4 -3
- package/dist/elements/public/ItemsForm/ItemsForm.js.map +1 -1
- package/dist/elements/public/Pagination/Pagination.js +10 -10
- package/dist/elements/public/Pagination/Pagination.js.map +1 -1
- package/dist/elements/public/Pagination/index.d.ts +1 -1
- package/dist/elements/public/Pagination/index.js +1 -1
- package/dist/elements/public/Pagination/index.js.map +1 -1
- package/dist/elements/public/PaymentCard/PaymentCard.js +16 -5
- package/dist/elements/public/PaymentCard/PaymentCard.js.map +1 -1
- package/dist/elements/public/PaymentMethodCard/PaymentMethodCard.js +4 -4
- package/dist/elements/public/PaymentMethodCard/PaymentMethodCard.js.map +1 -1
- package/dist/elements/public/PaymentMethodCard/index.d.ts +1 -1
- package/dist/elements/public/PaymentMethodCard/index.js +1 -1
- package/dist/elements/public/PaymentMethodCard/index.js.map +1 -1
- package/dist/elements/public/PaymentsApiFraudProtectionForm/PaymentsApiFraudProtectionForm.js +2 -2
- package/dist/elements/public/PaymentsApiFraudProtectionForm/PaymentsApiFraudProtectionForm.js.map +1 -1
- package/dist/elements/public/PaymentsApiFraudProtectionForm/index.d.ts +1 -1
- package/dist/elements/public/PaymentsApiFraudProtectionForm/index.js +1 -1
- package/dist/elements/public/PaymentsApiFraudProtectionForm/index.js.map +1 -1
- package/dist/elements/public/PaymentsApiPaymentMethodForm/PaymentsApiPaymentMethodForm.js +4 -4
- package/dist/elements/public/PaymentsApiPaymentMethodForm/PaymentsApiPaymentMethodForm.js.map +1 -1
- package/dist/elements/public/PaymentsApiPaymentMethodForm/index.d.ts +1 -1
- package/dist/elements/public/PaymentsApiPaymentMethodForm/index.js +1 -1
- package/dist/elements/public/PaymentsApiPaymentMethodForm/index.js.map +1 -1
- package/dist/elements/public/SignInForm/SignInForm.js +4 -4
- package/dist/elements/public/SignInForm/SignInForm.js.map +1 -1
- package/dist/elements/public/SignInForm/index.d.ts +1 -1
- package/dist/elements/public/SignInForm/index.js +1 -1
- package/dist/elements/public/SignInForm/index.js.map +1 -1
- package/dist/elements/public/Spinner/Spinner.js +4 -4
- package/dist/elements/public/Spinner/Spinner.js.map +1 -1
- package/dist/elements/public/SubscriptionForm/index.d.ts +0 -1
- package/dist/elements/public/SubscriptionForm/index.js +0 -1
- package/dist/elements/public/SubscriptionForm/index.js.map +1 -1
- package/dist/elements/public/Table/Table.js +29 -20
- package/dist/elements/public/Table/Table.js.map +1 -1
- package/dist/elements/public/TemplateForm/internal/InternalTemplateFormAsyncAction/InternalTemplateFormAsyncAction.js +2 -2
- package/dist/elements/public/TemplateForm/internal/InternalTemplateFormAsyncAction/InternalTemplateFormAsyncAction.js.map +1 -1
- package/dist/elements/public/TemplateForm/internal/InternalTemplateFormAsyncAction/index.d.ts +1 -1
- package/dist/elements/public/TemplateForm/internal/InternalTemplateFormAsyncAction/index.js +1 -1
- package/dist/elements/public/TemplateForm/internal/InternalTemplateFormAsyncAction/index.js.map +1 -1
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/InternalTransactionActionsControl.js +2 -2
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/InternalTransactionActionsControl.js.map +1 -1
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.d.ts +1 -1
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.js +1 -1
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.js.map +1 -1
- package/dist/elements/public/TransactionsTable/TransactionsTable.js +1 -1
- package/dist/elements/public/TransactionsTable/TransactionsTable.js.map +1 -1
- package/dist/elements/public/UpdatePaymentMethodForm/internal/InternalUpdatePaymentMethodFormCcTokenControl/InternalUpdatePaymentMethodFormCcTokenControl.js +2 -2
- package/dist/elements/public/UpdatePaymentMethodForm/internal/InternalUpdatePaymentMethodFormCcTokenControl/InternalUpdatePaymentMethodFormCcTokenControl.js.map +1 -1
- package/dist/elements/public/UpdatePaymentMethodForm/internal/InternalUpdatePaymentMethodFormCcTokenControl/index.d.ts +1 -1
- package/dist/elements/public/UpdatePaymentMethodForm/internal/InternalUpdatePaymentMethodFormCcTokenControl/index.js +1 -1
- package/dist/elements/public/UpdatePaymentMethodForm/internal/InternalUpdatePaymentMethodFormCcTokenControl/index.js.map +1 -1
- package/dist/elements/public/UserInvitationForm/internal/InternalUserInvitationFormAsyncAction/InternalUserInvitationFormAsyncAction.js +2 -2
- package/dist/elements/public/UserInvitationForm/internal/InternalUserInvitationFormAsyncAction/InternalUserInvitationFormAsyncAction.js.map +1 -1
- package/dist/elements/public/UserInvitationForm/internal/InternalUserInvitationFormAsyncAction/index.d.ts +1 -1
- package/dist/elements/public/UserInvitationForm/internal/InternalUserInvitationFormAsyncAction/index.js +1 -1
- package/dist/elements/public/UserInvitationForm/internal/InternalUserInvitationFormAsyncAction/index.js.map +1 -1
- package/dist/elements/public/UsersTable/UsersTable.d.ts +1 -0
- package/dist/elements/public/UsersTable/UsersTable.js +3 -2
- package/dist/elements/public/UsersTable/UsersTable.js.map +1 -1
- package/dist/elements/public/UsersTable/index.d.ts +0 -1
- package/dist/elements/public/UsersTable/index.js +0 -1
- package/dist/elements/public/UsersTable/index.js.map +1 -1
- package/dist/mixins/themeable.d.ts +1 -0
- package/dist/mixins/themeable.js +53 -18
- package/dist/mixins/themeable.js.map +1 -1
- package/package.json +1 -1
- package/dist/cdn/shared-0996f4d0.js +0 -1
- package/dist/cdn/shared-142df717.js +0 -1
- package/dist/cdn/shared-1b414966.js +0 -1
- package/dist/cdn/shared-28cc8aa1.js +0 -1
- package/dist/cdn/shared-3bb289b3.js +0 -1
- package/dist/cdn/shared-3ef23488.js +0 -1
- package/dist/cdn/shared-41f93e6c.js +0 -1
- package/dist/cdn/shared-5b8c7250.js +0 -29
- package/dist/cdn/shared-5e7defee.js +0 -1
- package/dist/cdn/shared-6262e0d6.js +0 -1
- package/dist/cdn/shared-88f841ff.js +0 -1
- package/dist/cdn/shared-9b290320.js +0 -1
- package/dist/cdn/shared-c3d6bcc0.js +0 -231
- package/dist/cdn/shared-c56c3e1e.js +0 -1
- package/dist/cdn/shared-cda51ccf.js +0 -1
- package/dist/cdn/shared-dc6e5879.js +0 -1
- package/dist/cdn/shared-e2a5457f.js +0 -1
- package/dist/cdn/shared-e9f51baa.js +0 -1
- package/dist/cdn/shared-f410644a.js +0 -212
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import{f as e,M as t,n as s,c as r,d as n,g as i,V as o,j as l,k as a,l as h,u as d,m as c,o as _,w as u,p,E as m,G as f,q as y,r as b,s as g,D as C,t as S,v,x as P,P as w,y as E,z as O,e as A,A as I}from"./shared-f410644a.js";import{q as x,c as T,k as N,h as D,t as M,v as k,f as R}from"./shared-5b8c7250.js";
|
|
2
|
-
/**
|
|
3
|
-
@license
|
|
4
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
5
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
6
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
7
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
|
-
Code distributed by Google as part of the polymer project is also
|
|
9
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
-
*/const F=function(){let t,s;do{t=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),s=e()}while(t||s)};
|
|
11
|
-
/**
|
|
12
|
-
@license
|
|
13
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
14
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
15
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
16
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
17
|
-
Code distributed by Google as part of the polymer project is also
|
|
18
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
19
|
-
*/class L{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function H(e){return j(function(e){let t=new L;t.start=0,t.end=e.length;let s=t;for(let r=0,n=e.length;r<n;r++)if(e[r]===B){s.rules||(s.rules=[]);let e=s,t=e.rules[e.rules.length-1]||null;s=new L,s.start=r+1,s.parent=e,s.previous=t,e.rules.push(s)}else e[r]===q&&(s.end=r+1,s=s.parent||t);return t}(e=e.replace(U.comments,"").replace(U.port,"")),e)}function j(e,t){let s=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=s.trim(),e.parent){let r=e.previous?e.previous.end:e.parent.start;s=t.substring(r,e.start-1),s=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){let e=arguments[1],t=6-e.length;for(;t--;)e="0"+e;return"\\"+e}))}(s),s=s.replace(U.multipleSpaces," "),s=s.substring(s.lastIndexOf(";")+1);let n=e.parsedSelector=e.selector=s.trim();e.atRule=0===n.indexOf(Y),e.atRule?0===n.indexOf(V)?e.type=z.MEDIA_RULE:n.match(U.keyframesRule)&&(e.type=z.KEYFRAMES_RULE,e.keyframesName=e.selector.split(U.multipleSpaces).pop()):0===n.indexOf(J)?e.type=z.MIXIN_RULE:e.type=z.STYLE_RULE}let r=e.rules;if(r)for(let e,s=0,n=r.length;s<n&&(e=r[s]);s++)j(e,t);return e}function $(e,t,s=""){let r="";if(e.cssText||e.rules){let s=e.rules;if(s&&!function(e){let t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(J)}(s))for(let e,n=0,i=s.length;n<i&&(e=s[n]);n++)r=$(e,t,r);else r=t?e.cssText:function(e){return e=function(e){return e.replace(U.customProp,"").replace(U.mixinProp,"")}(e),function(e){return e.replace(U.mixinApply,"").replace(U.varApply,"")}(e)}(e.cssText),r=r.trim(),r&&(r=" "+r+"\n")}return r&&(e.selector&&(s+=e.selector+" "+B+"\n"),s+=r,e.selector&&(s+=q+"\n\n")),s}const z={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},B="{",q="}",U={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},J="--",V="@media",Y="@",X=new Set,G="shady-unscoped";function K(e){const t=e.textContent;if(!X.has(t)){X.add(t);const e=document.createElement("style");e.setAttribute("shady-unscoped",""),e.textContent=t,document.head.appendChild(e)}}function W(e){return e.hasAttribute(G)}
|
|
20
|
-
/**
|
|
21
|
-
@license
|
|
22
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
23
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
24
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
25
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
26
|
-
Code distributed by Google as part of the polymer project is also
|
|
27
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
28
|
-
*/function Q(e,t){return e?("string"==typeof e&&(e=H(e)),t&&ee(e,t),$(e,s)):""}function Z(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=H(e.textContent)),e.__cssRules||null}function ee(e,s,r,n){if(!e)return;let i=!1,o=e.type;if(n&&o===z.MEDIA_RULE){let s=e.selector.match(t);s&&(window.matchMedia(s[1]).matches||(i=!0))}o===z.STYLE_RULE?s(e):r&&o===z.KEYFRAMES_RULE?r(e):o===z.MIXIN_RULE&&(i=!0);let l=e.rules;if(l&&!i)for(let e,t=0,i=l.length;t<i&&(e=l[t]);t++)ee(e,s,r,n)}function te(e,t){let s=e.indexOf("var(");if(-1===s)return t(e,"","","");let r=function(e,t){let s=0;for(let r=t,n=e.length;r<n;r++)if("("===e[r])s++;else if(")"===e[r]&&0==--s)return r;return-1}(e,s+3),n=e.substring(s+4,r),i=e.substring(0,s),o=te(e.substring(r+1),t),l=n.indexOf(",");return-1===l?t(i,n.trim(),"",o):t(i,n.substring(0,l).trim(),n.substring(l+1).trim(),o)}window.ShadyDOM&&window.ShadyDOM.wrap;const se="css-build";function re(e){if(void 0!==n)return n;if(void 0===e.__cssBuild){const t=e.getAttribute(se);if(t)e.__cssBuild=t;else{const t=function(e){const t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){const e=t.textContent.trim().split(":");if(e[0]===se)return e[1]}return""}(e);""!==t&&function(e){const t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}
|
|
29
|
-
/**
|
|
30
|
-
@license
|
|
31
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
32
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
33
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
34
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
35
|
-
Code distributed by Google as part of the polymer project is also
|
|
36
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
37
|
-
*/(e),e.__cssBuild=t}}return e.__cssBuild||""}function ne(e){return""!==re(e)}const ie=/;\s*/m,oe=/^\s*(initial)|(inherit)\s*$/,le=/\s*!important/,ae="_-_";class he{constructor(){this._map={}}set(e,t){e=e.trim(),this._map[e]={properties:t,dependants:{}}}get(e){return e=e.trim(),this._map[e]||null}}let de=null;class ce{constructor(){this._currentElement=null,this._measureElement=null,this._map=new he}detectMixin(e){return i(e)}gatherStyles(e){const t=function(e){const t=[],s=e.querySelectorAll("style");for(let e=0;e<s.length;e++){const n=s[e];W(n)?r||(K(n),n.parentNode.removeChild(n)):(t.push(n.textContent),n.parentNode.removeChild(n))}return t.join("").trim()}(e.content);if(t){const s=document.createElement("style");return s.textContent=t,e.content.insertBefore(s,e.content.firstChild),s}return null}transformTemplate(e,t){void 0===e._gatheredStyle&&(e._gatheredStyle=this.gatherStyles(e));const s=e._gatheredStyle;return s?this.transformStyle(s,t):null}transformStyle(e,t=""){let s=Z(e);return this.transformRules(s,t),e.textContent=Q(s),s}transformCustomStyle(e){let t=Z(e);return ee(t,(e=>{":root"===e.selector&&(e.selector="html"),this.transformRule(e)})),e.textContent=Q(t),t}transformRules(e,t){this._currentElement=t,ee(e,(e=>{this.transformRule(e)})),this._currentElement=null}transformRule(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}transformCssText(e,t){return e=e.replace(o,((e,s,r,n)=>this._produceCssProperties(e,s,r,n,t))),this._consumeCssProperties(e,t)}_getInitialValueForProperty(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}_fallbacksFromPreviousRules(e){let t=e;for(;t.parent;)t=t.parent;const s={};let r=!1;return ee(t,(t=>{r=r||t===e,r||t.selector===e.selector&&Object.assign(s,this._cssTextToMap(t.parsedCssText))})),s}_consumeCssProperties(e,t){let s=null;for(;s=l.exec(e);){let r=s[0],n=s[1],i=s.index,o=i+r.indexOf("@apply"),a=i+r.length,h=e.slice(0,o),d=e.slice(a),c=t?this._fallbacksFromPreviousRules(t):{};Object.assign(c,this._cssTextToMap(h));let _=this._atApplyToCssProperties(n,c);e=`${h}${_}${d}`,l.lastIndex=i+_.length}return e}_atApplyToCssProperties(e,t){e=e.replace(ie,"");let s=[],r=this._map.get(e);if(r||(this._map.set(e,{}),r=this._map.get(e)),r){let n,i,o;this._currentElement&&(r.dependants[this._currentElement]=!0);const l=r.properties;for(n in l)o=t&&t[n],i=[n,": var(",e,ae,n],o&&i.push(",",o.replace(le,"")),i.push(")"),le.test(l[n])&&i.push(" !important"),s.push(i.join(""))}return s.join("; ")}_replaceInitialOrInherit(e,t){let s=oe.exec(t);return s&&(t=s[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}_cssTextToMap(e,t=!1){let s,r,n=e.split(";"),i={};for(let e,o,l=0;l<n.length;l++)e=n[l],e&&(o=e.split(":"),o.length>1&&(s=o[0].trim(),r=o.slice(1).join(":"),t&&(r=this._replaceInitialOrInherit(s,r)),i[s]=r));return i}_invalidateMixinEntry(e){if(de)for(let t in e.dependants)t!==this._currentElement&&de(t)}_produceCssProperties(e,t,s,r,n){if(s&&te(s,((e,t)=>{t&&this._map.get(t)&&(r=`@apply ${t};`)})),!r)return e;let i=this._consumeCssProperties(""+r,n),o=e.slice(0,e.indexOf("--")),l=this._cssTextToMap(i,!0),a=l,h=this._map.get(t),d=h&&h.properties;d?a=Object.assign(Object.create(d),l):this._map.set(t,a);let c,_,u=[],p=!1;for(c in a)_=l[c],void 0===_&&(_="initial"),d&&!(c in d)&&(p=!0),u.push(`${t}${ae}${c}: ${_}`);return p&&this._invalidateMixinEntry(h),h&&(h.properties=a),s&&(o=`${e};${o}`),`${o}${u.join("; ")};`}}ce.prototype.detectMixin=ce.prototype.detectMixin,ce.prototype.transformStyle=ce.prototype.transformStyle,ce.prototype.transformCustomStyle=ce.prototype.transformCustomStyle,ce.prototype.transformRules=ce.prototype.transformRules,ce.prototype.transformRule=ce.prototype.transformRule,ce.prototype.transformTemplate=ce.prototype.transformTemplate,ce.prototype._separator=ae,Object.defineProperty(ce.prototype,"invalidCallback",{get:()=>de,set(e){de=e}});
|
|
38
|
-
/**
|
|
39
|
-
@license
|
|
40
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
41
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
42
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
43
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
44
|
-
Code distributed by Google as part of the polymer project is also
|
|
45
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
46
|
-
*/
|
|
47
|
-
const _e={},ue="_applyShimCurrentVersion",pe="_applyShimNextVersion",me="_applyShimValidatingVersion",fe=Promise.resolve();
|
|
48
|
-
/**
|
|
49
|
-
@license
|
|
50
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
51
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
52
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
53
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
54
|
-
Code distributed by Google as part of the polymer project is also
|
|
55
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
56
|
-
*/function ye(e){let t=_e[e];t&&function(e){e[ue]=e[ue]||0,e[me]=e[me]||0,e[pe]=(e[pe]||0)+1}(t)}function be(e){return e[ue]===e[pe]}
|
|
57
|
-
/**
|
|
58
|
-
@license
|
|
59
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
60
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
61
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
62
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
63
|
-
Code distributed by Google as part of the polymer project is also
|
|
64
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
65
|
-
*/
|
|
66
|
-
const ge=new ce;class Ce{constructor(){this.customStyleInterface=null,ge.invalidCallback=ye}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=e=>{ge.transformCustomStyle(e)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame((()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()}))})}prepareTemplate(e,t){if(this.ensure(),ne(e))return;_e[t]=e;let s=ge.transformTemplate(e,t);e._styleAst=s}flushCustomStyles(){if(this.ensure(),!this.customStyleInterface)return;let e=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let t=0;t<e.length;t++){let s=e[t],r=this.customStyleInterface.getStyleForCustomStyle(s);r&&ge.transformCustomStyle(r)}this.customStyleInterface.enqueued=!1}}styleSubtree(e,t){if(this.ensure(),t&&d(e,t),e.shadowRoot){this.styleElement(e);let t=e.shadowRoot.children||e.shadowRoot.childNodes;for(let e=0;e<t.length;e++)this.styleSubtree(t[e])}else{let t=e.children||e.childNodes;for(let e=0;e<t.length;e++)this.styleSubtree(t[e])}}styleElement(e){this.ensure();let{is:t}=function(e){let t=e.localName,s="",r="";return t?t.indexOf("-")>-1?s=t:(r=t,s=e.getAttribute&&e.getAttribute("is")||""):(s=e.is,r=e.extends),{is:s,typeExtension:r}}(e),s=_e[t];if((!s||!ne(s))&&s&&!be(s)){(function(e){return!be(e)&&e[me]===e[pe]})(s)||(this.prepareTemplate(s,t),function(e){e[me]=e[pe],e._validating||(e._validating=!0,fe.then((function(){e[ue]=e[pe],e._validating=!1})))}(s));let r=e.shadowRoot;if(r){let e=r.querySelector("style");e&&(e.__cssRules=s._styleAst,e.textContent=Q(s._styleAst))}}}styleDocument(e){this.ensure(),this.styleSubtree(document.body,e)}}if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const e=new Ce;let t=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(t,s,r){e.flushCustomStyles(),e.prepareTemplate(t,s)},prepareTemplateStyles(e,t,s){window.ShadyCSS.prepareTemplate(e,t,s)},prepareTemplateDom(e,t){},styleSubtree(t,s){e.flushCustomStyles(),e.styleSubtree(t,s)},styleElement(t){e.flushCustomStyles(),e.styleElement(t)},styleDocument(t){e.flushCustomStyles(),e.styleDocument(t)},getComputedStyleValue:(e,t)=>a(e,t),flushCustomStyles(){e.flushCustomStyles()},nativeCss:s,nativeShadow:r,cssBuild:n,disableRuntime:h},t&&(window.ShadyCSS.CustomStyleInterface=t)}window.ShadyCSS.ApplyShim=ge;
|
|
67
|
-
/**
|
|
68
|
-
* @fileoverview
|
|
69
|
-
* @suppress {checkPrototypalTypes}
|
|
70
|
-
* @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
71
|
-
* This code may only be used under the BSD style license found at
|
|
72
|
-
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
73
|
-
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
74
|
-
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
75
|
-
* Google as part of the polymer project is also subject to an additional IP
|
|
76
|
-
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
77
|
-
*/
|
|
78
|
-
const Se=/:host\(:dir\((ltr|rtl)\)\)/g,ve=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,Pe=/:dir\((?:ltr|rtl)\)/,we=Boolean(window.ShadyDOM&&window.ShadyDOM.inUse),Ee=[];let Oe=null,Ae="";function Ie(){Ae=document.documentElement.getAttribute("dir")}function xe(e){if(!e.__autoDirOptOut){e.setAttribute("dir",Ae)}}function Te(){Ie(),Ae=document.documentElement.getAttribute("dir");for(let e=0;e<Ee.length;e++)xe(Ee[e])}const Ne=c((e=>{we||Oe||(Ie(),Oe=new MutationObserver(Te),Oe.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const t=_(e);class s extends t{static _processStyleText(e,s){return e=t._processStyleText.call(this,e,s),!we&&Pe.test(e)&&(e=this._replaceDirInCssText(e),this.__activateDir=!0),e}static _replaceDirInCssText(e){let t=e;return t=t.replace(Se,':host([dir="$1"])'),t=t.replace(ve,':host([dir="$2"]) $1'),t}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){t.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(Oe&&Oe.takeRecords().length&&Te(),Ee.push(this),xe(this))}disconnectedCallback(){if(t.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir){const e=Ee.indexOf(this);e>-1&&Ee.splice(e,1)}}}return s.__activateDir=!1,s}));
|
|
79
|
-
/**
|
|
80
|
-
@license
|
|
81
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
82
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
83
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
84
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
85
|
-
Code distributed by Google as part of the polymer project is also
|
|
86
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
87
|
-
*/function De(){document.body.removeAttribute("unresolved")}
|
|
88
|
-
/**
|
|
89
|
-
@license
|
|
90
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
91
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
92
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
93
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
94
|
-
Code distributed by Google as part of the polymer project is also
|
|
95
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
96
|
-
*/
|
|
97
|
-
function Me(e,t,s){return{index:e,removed:t,addedCount:s}}"interactive"===document.readyState||"complete"===document.readyState?De():window.addEventListener("DOMContentLoaded",De);const ke=0,Re=1,Fe=2,Le=3;function He(e,t,s,r,n,i){let o,l=0,a=0,h=Math.min(s-t,i-n);if(0==t&&0==n&&(l=function(e,t,s){for(let r=0;r<s;r++)if(!$e(e[r],t[r]))return r;return s}(e,r,h)),s==e.length&&i==r.length&&(a=function(e,t,s){let r=e.length,n=t.length,i=0;for(;i<s&&$e(e[--r],t[--n]);)i++;return i}(e,r,h-l)),n+=l,i-=a,(s-=a)-(t+=l)==0&&i-n==0)return[];if(t==s){for(o=Me(t,[],0);n<i;)o.removed.push(r[n++]);return[o]}if(n==i)return[Me(t,[],s-t)];let d=function(e){let t=e.length-1,s=e[0].length-1,r=e[t][s],n=[];for(;t>0||s>0;){if(0==t){n.push(Fe),s--;continue}if(0==s){n.push(Le),t--;continue}let i,o=e[t-1][s-1],l=e[t-1][s],a=e[t][s-1];i=l<a?l<o?l:o:a<o?a:o,i==o?(o==r?n.push(ke):(n.push(Re),r=o),t--,s--):i==l?(n.push(Le),t--,r=l):(n.push(Fe),s--,r=a)}return n.reverse(),n}(function(e,t,s,r,n,i){let o=i-n+1,l=s-t+1,a=new Array(o);for(let e=0;e<o;e++)a[e]=new Array(l),a[e][0]=e;for(let e=0;e<l;e++)a[0][e]=e;for(let s=1;s<o;s++)for(let i=1;i<l;i++)if($e(e[t+i-1],r[n+s-1]))a[s][i]=a[s-1][i-1];else{let e=a[s-1][i]+1,t=a[s][i-1]+1;a[s][i]=e<t?e:t}return a}(e,t,s,r,n,i));o=void 0;let c=[],_=t,u=n;for(let e=0;e<d.length;e++)switch(d[e]){case ke:o&&(c.push(o),o=void 0),_++,u++;break;case Re:o||(o=Me(_,[],0)),o.addedCount++,_++,o.removed.push(r[u]),u++;break;case Fe:o||(o=Me(_,[],0)),o.addedCount++,_++;break;case Le:o||(o=Me(_,[],0)),o.removed.push(r[u]),u++}return o&&c.push(o),c}function je(e,t){return He(e,0,e.length,t,0,t.length)}function $e(e,t){return e===t}
|
|
98
|
-
/**
|
|
99
|
-
@license
|
|
100
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
101
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
102
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
103
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
104
|
-
Code distributed by Google as part of the polymer project is also
|
|
105
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
106
|
-
*/function ze(e){return"slot"===e.localName}let Be=class{static getFlattenedNodes(e){const t=u(e);return ze(e)?t.assignedNodes({flatten:!0}):Array.from(t.childNodes).map((e=>ze(e)?u(e).assignedNodes({flatten:!0}):[e])).reduce(((e,t)=>e.concat(t)),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){ze(this._target)?this._listenSlots([this._target]):u(this._target).children&&(this._listenSlots(u(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,(e=>{this._processMutations(e)})):(this._nativeChildrenObserver=new MutationObserver((e=>{this._processMutations(e)})),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){ze(this._target)?this._unlistenSlots([this._target]):u(this._target).children&&(this._unlistenSlots(u(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,p.run((()=>this.flush())))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(let t=0;t<e.length;t++){let s=e[t];s.addedNodes&&this._listenSlots(s.addedNodes),s.removedNodes&&this._unlistenSlots(s.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let e={target:this._target,addedNodes:[],removedNodes:[]},t=this.constructor.getFlattenedNodes(this._target),s=je(t,this._effectiveNodes);for(let t,r=0;r<s.length&&(t=s[r]);r++)for(let s,r=0;r<t.removed.length&&(s=t.removed[r]);r++)e.removedNodes.push(s);for(let r,n=0;n<s.length&&(r=s[n]);n++)for(let s=r.index;s<r.index+r.addedCount;s++)e.addedNodes.push(t[s]);this._effectiveNodes=t;let r=!1;return(e.addedNodes.length||e.removedNodes.length)&&(r=!0,this.callback.call(this._target,e)),r}_listenSlots(e){for(let t=0;t<e.length;t++){let s=e[t];ze(s)&&s.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(e){for(let t=0;t<e.length;t++){let s=e[t];ze(s)&&s.removeEventListener("slotchange",this._boundSchedule)}}};
|
|
107
|
-
/**
|
|
108
|
-
@license
|
|
109
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
110
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
111
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
112
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
113
|
-
Code distributed by Google as part of the polymer project is also
|
|
114
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
115
|
-
*/const qe=Element.prototype,Ue=qe.matches||qe.matchesSelector||qe.mozMatchesSelector||qe.msMatchesSelector||qe.oMatchesSelector||qe.webkitMatchesSelector,Je=function(e,t){return Ue.call(e,t)};class Ve{constructor(e){window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.patch(e),this.node=e}observeNodes(e){return new Be(this.node,e)}unobserveNodes(e){e.disconnect()}notifyObserver(){}deepContains(e){if(u(this.node).contains(e))return!0;let t=e,s=e.ownerDocument;for(;t&&t!==s&&t!==this.node;)t=u(t).parentNode||u(t).host;return t===this.node}getOwnerRoot(){return u(this.node).getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?u(this.node).assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let e=[],t=u(this.node).assignedSlot;for(;t;)e.push(t),t=u(t).assignedSlot;return e}importNode(e,t){let s=this.node instanceof Document?this.node:this.node.ownerDocument;return u(s).importNode(e,t)}getEffectiveChildNodes(){return Be.getFlattenedNodes(this.node)}queryDistributedElements(e){let t=this.getEffectiveChildNodes(),s=[];for(let r,n=0,i=t.length;n<i&&(r=t[n]);n++)r.nodeType===Node.ELEMENT_NODE&&Je(r,e)&&s.push(r);return s}get activeElement(){let e=this.node;return void 0!==e._activeElement?e._activeElement:e.activeElement}}function Ye(e,t){for(let s=0;s<t.length;s++){let r=t[s];Object.defineProperty(e,r,{get:function(){return this.node[r]},configurable:!0})}}class Xe{constructor(e){this.event=e}get rootTarget(){return this.path[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}Ve.prototype.cloneNode,Ve.prototype.appendChild,Ve.prototype.insertBefore,Ve.prototype.removeChild,Ve.prototype.replaceChild,Ve.prototype.setAttribute,Ve.prototype.removeAttribute,Ve.prototype.querySelector,Ve.prototype.querySelectorAll,Ve.prototype.parentNode,Ve.prototype.firstChild,Ve.prototype.lastChild,Ve.prototype.nextSibling,Ve.prototype.previousSibling,Ve.prototype.firstElementChild,Ve.prototype.lastElementChild,Ve.prototype.nextElementSibling,Ve.prototype.previousElementSibling,Ve.prototype.childNodes,Ve.prototype.children,Ve.prototype.classList,Ve.prototype.textContent,Ve.prototype.innerHTML;let Ge=Ve;if(window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch&&window.ShadyDOM.Wrapper){class e extends window.ShadyDOM.Wrapper{}Object.getOwnPropertyNames(Ve.prototype).forEach((t=>{"activeElement"!=t&&(e.prototype[t]=Ve.prototype[t])})),Ye(e.prototype,["classList"]),Ge=e,Object.defineProperties(Xe.prototype,{localTarget:{get(){const e=this.event.currentTarget,t=e&&Ke(e).getOwnerRoot(),s=this.path;for(let e=0;e<s.length;e++){const r=s[e];if(Ke(r).getOwnerRoot()===t)return r}},configurable:!0},path:{get(){return window.ShadyDOM.composedPath(this.event)},configurable:!0}})}else!function(e,t){for(let s=0;s<t.length;s++){let r=t[s];e[r]=function(){return this.node[r].apply(this.node,arguments)}}}(Ve.prototype,["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll","attachShadow"]),Ye(Ve.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList","shadowRoot"]),function(e,t){for(let s=0;s<t.length;s++){let r=t[s];Object.defineProperty(e,r,{get:function(){return this.node[r]},set:function(e){this.node[r]=e},configurable:!0})}}(Ve.prototype,["textContent","innerHTML","className"]);const Ke=function(e){if((e=e||document)instanceof Ge)return e;if(e instanceof Xe)return e;let t=e.__domApi;return t||(t=e instanceof Event?new Xe(e):new Ge(e),e.__domApi=t),t},We=window.ShadyDOM,Qe=window.ShadyCSS;
|
|
116
|
-
/**
|
|
117
|
-
@license
|
|
118
|
-
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
|
119
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
120
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
121
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
122
|
-
Code distributed by Google as part of the polymer project is also
|
|
123
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
124
|
-
*/function Ze(e,t){return u(e).getRootNode()===t}
|
|
125
|
-
/**
|
|
126
|
-
* @fileoverview
|
|
127
|
-
* @suppress {checkPrototypalTypes}
|
|
128
|
-
* @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
129
|
-
* This code may only be used under the BSD style license found at
|
|
130
|
-
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
131
|
-
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
132
|
-
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
133
|
-
* Google as part of the polymer project is also subject to an additional IP
|
|
134
|
-
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
135
|
-
*/
|
|
136
|
-
const et="disable-upgrade",tt=e=>{for(;e;){const t=Object.getOwnPropertyDescriptor(e,"observedAttributes");if(t)return t.get;e=Object.getPrototypeOf(e.prototype).constructor}return()=>[]},st=c((e=>{const t=m(e);let s=tt(t);return class extends t{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return s.call(this).concat(et)}_initializeProperties(){this.hasAttribute(et)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}attributeChangedCallback(e,t,s,r){e==et?this.__isUpgradeDisabled&&null==s&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,u(this).isConnected&&super.connectedCallback()):super.attributeChangedCallback(e,t,s,r)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}})),rt="disable-upgrade";let nt=window.ShadyCSS;const it=c((e=>{const t=f(m(e)),s=y?t:Ne(t),r=tt(s),n={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class i extends s{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this.__isUpgradeDisabled,this.__needsAttributesAtConnected,this._legacyForceObservedAttributes}static get importMeta(){return this.prototype.importMeta}created(){}__attributeReaction(e,t,s){(this.__dataAttributes&&this.__dataAttributes[e]||e===rt)&&this.attributeChangedCallback(e,t,s,null)}setAttribute(e,t){if(x&&!this._legacyForceObservedAttributes){const s=this.getAttribute(e);super.setAttribute(e,t),this.__attributeReaction(e,s,String(t))}else super.setAttribute(e,t)}removeAttribute(e){if(x&&!this._legacyForceObservedAttributes){const t=this.getAttribute(e);super.removeAttribute(e),this.__attributeReaction(e,t,null)}else super.removeAttribute(e)}static get observedAttributes(){return x&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))||(this.__observedAttributes=[],b(this.prototype)),this.__observedAttributes):r.call(this).concat(rt)}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}connectedCallback(){this.__needsAttributesAtConnected&&this._takeAttributes(),this.__isUpgradeDisabled||(super.connectedCallback(),this.isAttached=!0,this.attached())}attached(){}disconnectedCallback(){this.__isUpgradeDisabled||(super.disconnectedCallback(),this.isAttached=!1,this.detached())}detached(){}attributeChangedCallback(e,t,s,r){t!==s&&(e==rt?this.__isUpgradeDisabled&&null==s&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,u(this).isConnected&&this.connectedCallback()):(super.attributeChangedCallback(e,t,s,r),this.attributeChanged(e,t,s)))}attributeChanged(e,t,s){}_initializeProperties(){if(T&&this.hasAttribute(rt))this.__isUpgradeDisabled=!0;else{let e=Object.getPrototypeOf(this);e.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))||(this._registered(),e.__hasRegisterFinished=!0),super._initializeProperties(),this.root=this,this.created(),x&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0)),this._applyListeners()}}_takeAttributes(){const e=this.attributes;for(let t=0,s=e.length;t<s;t++){const s=e[t];this.__attributeReaction(s.name,null,s.value)}}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(e){return this._serializeValue(e)}deserialize(e,t){return this._deserializeValue(e,t)}reflectPropertyToAttribute(e,t,s){this._propertyToAttribute(e,t,s)}serializeValueToAttribute(e,t,s){this._valueToNodeAttribute(s||this,e,t)}extend(e,t){if(!e||!t)return e||t;let s=Object.getOwnPropertyNames(t);for(let r,n=0;n<s.length&&(r=s[n]);n++){let s=Object.getOwnPropertyDescriptor(t,r);s&&Object.defineProperty(e,r,s)}return e}mixin(e,t){for(let s in t)e[s]=t[s];return e}chainObject(e,t){return e&&t&&e!==t&&(e.__proto__=t),e}instanceTemplate(e){let t=this.constructor._contentForTemplate(e);return document.importNode(t,!0)}fire(e,t,s){s=s||{},t=null==t?{}:t;let r=new Event(e,{bubbles:void 0===s.bubbles||s.bubbles,cancelable:Boolean(s.cancelable),composed:void 0===s.composed||s.composed});r.detail=t;let n=s.node||this;return u(n).dispatchEvent(r),r}listen(e,t,s){e=e||this;let r=this.__boundListeners||(this.__boundListeners=new WeakMap),n=r.get(e);n||(n={},r.set(e,n));let i=t+s;n[i]||(n[i]=this._addMethodEventListenerToNode(e,t,s,this))}unlisten(e,t,s){e=e||this;let r=this.__boundListeners&&this.__boundListeners.get(e),n=t+s,i=r&&r[n];i&&(this._removeEventListenerFromNode(e,t,i),r[n]=null)}setScrollDirection(e,t){g(t||this,n[e]||"auto")}$$(e){return this.root.querySelector(e)}get domHost(){let e=u(this).getRootNode();return e instanceof DocumentFragment?e.host:e}distributeContent(){const e=Ke(this);window.ShadyDOM&&e.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return Ke(this).getEffectiveChildNodes()}queryDistributedElements(e){return Ke(this).queryDistributedElements(e)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter((function(e){return e.nodeType===Node.ELEMENT_NODE}))}getEffectiveTextContent(){let e=this.getEffectiveChildNodes(),t=[];for(let s,r=0;s=e[r];r++)s.nodeType!==Node.COMMENT_NODE&&t.push(s.textContent);return t.join("")}queryEffectiveChildren(e){let t=this.queryDistributedElements(e);return t&&t[0]}queryAllEffectiveChildren(e){return this.queryDistributedElements(e)}getContentChildNodes(e){let t=this.root.querySelector(e||"slot");return t?Ke(t).getDistributedNodes():[]}getContentChildren(e){return this.getContentChildNodes(e).filter((function(e){return e.nodeType===Node.ELEMENT_NODE}))}isLightDescendant(e){const t=this;return t!==e&&u(t).contains(e)&&u(t).getRootNode()===u(e).getRootNode()}isLocalDescendant(e){return this.root===u(e).getRootNode()}scopeSubtree(e,t=!1){return function(e,t=!1){if(!We||!Qe)return null;if(!We.handlesDynamicScoping)return null;const s=Qe.ScopingShim;if(!s)return null;const r=s.scopeForNode(e),n=u(e).getRootNode(),i=e=>{if(!Ze(e,n))return;const t=Array.from(We.nativeMethods.querySelectorAll.call(e,"*"));t.push(e);for(let e=0;e<t.length;e++){const i=t[e];if(!Ze(i,n))continue;const o=s.currentScopeForNode(i);o!==r&&(""!==o&&s.unscopeNode(i,o),s.scopeNode(i,r))}};if(i(e),t){const t=new MutationObserver((e=>{for(let t=0;t<e.length;t++){const s=e[t];for(let e=0;e<s.addedNodes.length;e++){const t=s.addedNodes[e];t.nodeType===Node.ELEMENT_NODE&&i(t)}}}));return t.observe(e,{childList:!0,subtree:!0}),t}return null}(e,t)}getComputedStyleValue(e){return nt.getComputedStyleValue(this,e)}debounce(e,t,s){return this._debouncers=this._debouncers||{},this._debouncers[e]=C.debounce(this._debouncers[e],s>0?S.after(s):p,t.bind(this))}isDebouncerActive(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];return!(!t||!t.isActive())}flushDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.flush()}cancelDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.cancel()}async(e,t){return t>0?S.run(e.bind(this),t):~p.run(e.bind(this))}cancelAsync(e){e<0?p.cancel(~e):S.cancel(e)}create(e,t){let s=document.createElement(e);if(t)if(s.setProperties)s.setProperties(t);else for(let e in t)s[e]=t[e];return s}elementMatches(e,t){return Je(t||this,e)}toggleAttribute(e,t){let s=this;return 3===arguments.length&&(s=arguments[2]),1==arguments.length&&(t=!s.hasAttribute(e)),t?(u(s).setAttribute(e,""),!0):(u(s).removeAttribute(e),!1)}toggleClass(e,t,s){s=s||this,1==arguments.length&&(t=!s.classList.contains(e)),t?s.classList.add(e):s.classList.remove(e)}transform(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}translate3d(e,t,s,r){r=r||this,this.transform("translate3d("+e+","+t+","+s+")",r)}arrayDelete(e,t){let s;if(Array.isArray(e)){if(s=e.indexOf(t),s>=0)return e.splice(s,1)}else{if(s=v(this,e).indexOf(t),s>=0)return this.splice(e,s,1)}return null}_logger(e,t){switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e](...t)}}_log(...e){this._logger("log",e)}_warn(...e){this._logger("warn",e)}_error(...e){this._logger("error",e)}_logf(e,...t){return["[%s::%s]",this.is,e,...t]}}return i.prototype.is="",i})),ot={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0},lt={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0},at=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},lt);
|
|
137
|
-
/**
|
|
138
|
-
@license
|
|
139
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
140
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
141
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
142
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
143
|
-
Code distributed by Google as part of the polymer project is also
|
|
144
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
145
|
-
*/function ht(e,t){return pt({},it(t),e)}function dt(e,t,s,r){!function(e,t,s){const r=e._noAccessors,n=Object.getOwnPropertyNames(e);for(let i=0;i<n.length;i++){let o=n[i];if(!(o in s))if(r)t[o]=e[o];else{let s=Object.getOwnPropertyDescriptor(e,o);s&&(s.configurable=!0,Object.defineProperty(t,o,s))}}}(t,e,r);for(let e in ot)t[e]&&(s[e]=s[e]||[],s[e].push(t[e]))}function ct(e,t,s){t=t||[];for(let r=e.length-1;r>=0;r--){let n=e[r];n?Array.isArray(n)?ct(n,t):t.indexOf(n)<0&&(!s||s.indexOf(n)<0)&&t.unshift(n):console.warn("behavior is null, check for missing or 404 import")}return t}function _t(e,t){for(const s in t){const r=e[s],n=t[s];e[s]=!("value"in n)&&r&&"value"in r?Object.assign({value:r.value},n):n}}const ut=it(HTMLElement);function pt(e,t,s){let r;const n={};class i extends t{static _finalizeClass(){if(this.hasOwnProperty(JSCompiler_renameProperty("generatedFrom",this))){if(r)for(let e,t=0;t<r.length;t++)e=r[t],e.properties&&this.createProperties(e.properties),e.observers&&this.createObservers(e.observers,e.properties);e.properties&&this.createProperties(e.properties),e.observers&&this.createObservers(e.observers,e.properties),this._prepareTemplate()}else t._finalizeClass.call(this)}static get properties(){const t={};if(r)for(let e=0;e<r.length;e++)_t(t,r[e].properties);return _t(t,e.properties),t}static get observers(){let t=[];if(r)for(let e,s=0;s<r.length;s++)e=r[s],e.observers&&(t=t.concat(e.observers));return e.observers&&(t=t.concat(e.observers)),t}created(){super.created();const e=n.created;if(e)for(let t=0;t<e.length;t++)e[t].call(this)}_registered(){const e=i.prototype;if(!e.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))){e.__hasRegisterFinished=!0,super._registered(),T&&o(e);const t=Object.getPrototypeOf(this);let s=n.beforeRegister;if(s)for(let e=0;e<s.length;e++)s[e].call(t);if(s=n.registered,s)for(let e=0;e<s.length;e++)s[e].call(t)}}_applyListeners(){super._applyListeners();const e=n.listeners;if(e)for(let t=0;t<e.length;t++){const s=e[t];if(s)for(let e in s)this._addMethodEventListenerToNode(this,e,s[e])}}_ensureAttributes(){const e=n.hostAttributes;if(e)for(let t=e.length-1;t>=0;t--){const s=e[t];for(let e in s)this._ensureAttribute(e,s[e])}super._ensureAttributes()}ready(){super.ready();let e=n.ready;if(e)for(let t=0;t<e.length;t++)e[t].call(this)}attached(){super.attached();let e=n.attached;if(e)for(let t=0;t<e.length;t++)e[t].call(this)}detached(){super.detached();let e=n.detached;if(e)for(let t=0;t<e.length;t++)e[t].call(this)}attributeChanged(e,t,s){super.attributeChanged();let r=n.attributeChanged;if(r)for(let n=0;n<r.length;n++)r[n].call(this,e,t,s)}}if(s){Array.isArray(s)||(s=[s]);let e=t.prototype.behaviors;r=ct(s,null,e),i.prototype.behaviors=e?e.concat(s):r}const o=t=>{r&&function(e,t,s){for(let r=0;r<t.length;r++)dt(e,t[r],s,at)}(t,r,n),dt(t,e,n,lt)};return T||o(i.prototype),i.generatedFrom=e,i}const mt=function(e){let t;return t="function"==typeof e?e:mt.Class(e),e._legacyForceObservedAttributes&&(t.prototype._legacyForceObservedAttributes=e._legacyForceObservedAttributes),customElements.define(t.is,t),t};
|
|
146
|
-
/**
|
|
147
|
-
@license
|
|
148
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
149
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
150
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
151
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
152
|
-
Code distributed by Google as part of the polymer project is also
|
|
153
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
154
|
-
*/
|
|
155
|
-
/**
|
|
156
|
-
@license
|
|
157
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
158
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
159
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
160
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
161
|
-
Code distributed by Google as part of the polymer project is also
|
|
162
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
163
|
-
*/
|
|
164
|
-
function ft(e,t,s,r,n){let i;n&&(i="object"==typeof s&&null!==s,i&&(r=e.__dataTemp[t]));let o=r!==s&&(r==r||s==s);return i&&o&&(e.__dataTemp[t]=s),o}mt.Class=function(e,t){e||console.warn("Polymer.Class requires `info` argument");let s=t?t(ut):ut;return s=pt(e,s,e.behaviors),s.is=s.prototype.is=e.is,s};const yt=c((e=>class extends e{_shouldPropertyChange(e,t,s){return ft(this,e,t,s,!0)}})),bt=c((e=>class extends e{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(e,t,s){return ft(this,e,t,s,this.mutableData)}}));yt._mutablePropertyChange=ft;
|
|
165
|
-
/**
|
|
166
|
-
@license
|
|
167
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
168
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
169
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
170
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
171
|
-
Code distributed by Google as part of the polymer project is also
|
|
172
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
173
|
-
*/
|
|
174
|
-
let gt=null;function Ct(){return gt}Ct.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Ct,writable:!0}});const St=P(Ct),vt=yt(St);const Pt=P(class{});function wt(e,t){for(let s=0;s<t.length;s++){let r=t[s];if(Boolean(e)!=Boolean(r.__hideTemplateChildren__))if(r.nodeType===Node.TEXT_NODE)e?(r.__polymerTextContent__=r.textContent,r.textContent=""):r.textContent=r.__polymerTextContent__;else if("slot"===r.localName)if(e)r.__polymerReplaced__=document.createComment("hidden-slot"),u(u(r).parentNode).replaceChild(r.__polymerReplaced__,r);else{const e=r.__polymerReplaced__;e&&u(u(e).parentNode).replaceChild(r,e)}else r.style&&(e?(r.__polymerDisplay__=r.style.display,r.style.display="none"):r.style.display=r.__polymerDisplay__);r.__hideTemplateChildren__=e,r._showHideChildren&&r._showHideChildren(e)}}class Et extends Pt{constructor(e){super(),this._configureProperties(e),this.root=this._stampTemplate(this.__dataHost);let t=[];this.children=t;for(let e=this.root.firstChild;e;e=e.nextSibling)t.push(e),e.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let s=this.__templatizeOptions;(e&&s.instanceProps||!s.instanceProps)&&this._enableProperties()}_configureProperties(e){if(this.__templatizeOptions.forwardHostProp)for(let e in this.__hostProps)this._setPendingProperty(e,this.__dataHost["_host_"+e]);for(let t in e)this._setPendingProperty(t,e[t])}forwardHostProp(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(e,t,s){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(e,t,(e=>{e.model=this,s(e)}));else{let r=this.__dataHost.__dataHost;r&&r._addEventListenerToNode(e,t,s)}}_showHideChildren(e){wt(e,this.children)}_setUnmanagedPropertyToNode(e,t,s){e.__hideTemplateChildren__&&e.nodeType==Node.TEXT_NODE&&"textContent"==t?e.__polymerTextContent__=s:super._setUnmanagedPropertyToNode(e,t,s)}get parentModel(){let e=this.__parentModel;if(!e){let t;e=this;do{e=e.__dataHost.__dataHost}while((t=e.__templatizeOptions)&&!t.parentModel);this.__parentModel=e}return e}dispatchEvent(e){return!0}}Et.prototype.__dataHost,Et.prototype.__templatizeOptions,Et.prototype._methodHost,Et.prototype.__templatizeOwner,Et.prototype.__hostProps;const Ot=yt(Et);function At(e){let t=e.__dataHost;return t&&t._methodHost||t}function It(e,t,s){let r=s.mutableData?Ot:Et;Dt.mixin&&(r=Dt.mixin(r));let n=class extends r{};return n.prototype.__templatizeOptions=s,n.prototype._bindTemplate(e),function(e,t,s,r){let n=s.hostProps||{};for(let t in r.instanceProps){delete n[t];let s=r.notifyInstanceProp;s&&e.prototype._addPropertyEffect(t,e.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Nt(t,s)})}if(r.forwardHostProp&&t.__dataHost)for(let t in n)s.hasHostProps||(s.hasHostProps=!0),e.prototype._addPropertyEffect(t,e.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(e,t,s){e.__dataHost._setPendingPropertyOrPath("_host_"+t,s[t],!0,!0)}})}(n,e,t,s),n}function xt(e,t,s,r){let n=s.forwardHostProp;if(n&&t.hasHostProps){const l="template"==e.localName;let a=t.templatizeTemplateClass;if(!a){if(l){let e=s.mutableData?vt:St;class r extends e{}a=t.templatizeTemplateClass=r}else{const s=e.constructor;class r extends s{}a=t.templatizeTemplateClass=r}let i=t.hostProps;for(let e in i)a.prototype._addPropertyEffect("_host_"+e,a.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:Tt(e,n)}),a.prototype._createNotifyingProperty("_host_"+e);D&&r&&function(e,t,s){const r=s.constructor._properties,{propertyEffects:n}=e,{instanceProps:i}=t;for(let e in n)if(!(r[e]||i&&i[e])){const t=n[e];for(let s=0;s<t.length;s++){const{part:r}=t[s].info;if(!r.signature||!r.signature.static){console.warn(`Property '${e}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}(t,s,r)}if(e.__dataProto&&Object.assign(e.__data,e.__dataProto),l)o=a,gt=i=e,Object.setPrototypeOf(i,o.prototype),new o,gt=null,e.__dataTemp={},e.__dataPending=null,e.__dataOld=null,e._enableProperties();else{Object.setPrototypeOf(e,a.prototype);const s=t.hostProps;for(let t in s)if(t="_host_"+t,t in e){const s=e[t];delete e[t],e.__data[t]=s}}}var i,o}function Tt(e,t){return function(e,s,r){t.call(e.__templatizeOwner,s.substring(6),r[s])}}function Nt(e,t){return function(e,s,r){t.call(e.__templatizeOwner,e,s,r[s])}}function Dt(e,t,s){if(N&&!At(e))throw new Error("strictTemplatePolicy: template owner not trusted");if(s=s||{},e.__templatizeOwner)throw new Error("A <template> can only be templatized once");e.__templatizeOwner=t;let r=(t?t.constructor:Et)._parseTemplate(e),n=r.templatizeInstanceClass;n||(n=It(e,r,s),r.templatizeInstanceClass=n);const i=At(e);xt(e,r,s,i);let o=class extends n{};return o.prototype._methodHost=i,o.prototype.__dataHost=e,o.prototype.__templatizeOwner=t,o.prototype.__hostProps=r.hostProps,o}function Mt(e,t){let s;for(;t;)if(s=t.__dataHost?t:t.__templatizeInstance){if(s.__dataHost==e)return s;t=s.__dataHost}else t=u(t).parentNode;return null}
|
|
175
|
-
/**
|
|
176
|
-
@license
|
|
177
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
178
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
179
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
180
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
181
|
-
Code distributed by Google as part of the polymer project is also
|
|
182
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
183
|
-
*/let kt=!1;function Rt(){if(T&&!M){if(!kt){kt=!0;const e=document.createElement("style");e.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(e)}return!0}return!1}
|
|
184
|
-
/**
|
|
185
|
-
@license
|
|
186
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
187
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
188
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
189
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
190
|
-
Code distributed by Google as part of the polymer project is also
|
|
191
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
192
|
-
*/const Ft=f(bt(P(HTMLElement)));customElements.define("dom-bind",class extends Ft{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),N)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(e,t,s,r){this.mutableData=!0}connectedCallback(){Rt()||(this.style.display="none"),this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){u(u(this).parentNode).insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let e=0;e<this.__children.length;e++)this.root.appendChild(this.__children[e])}render(){let e;if(!this.__children){if(e=e||this.querySelector("template"),!e){let t=new MutationObserver((()=>{if(e=this.querySelector("template"),!e)throw new Error("dom-bind requires a <template> child");t.disconnect(),this.render()}));return void t.observe(this,{childList:!0})}this.root=this._stampTemplate(e),this.$=this.root.$,this.__children=[];for(let e=this.root.firstChild;e;e=e.nextSibling)this.__children[this.__children.length]=e;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}});
|
|
193
|
-
/**
|
|
194
|
-
@license
|
|
195
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
196
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
197
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
198
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
199
|
-
Code distributed by Google as part of the polymer project is also
|
|
200
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
201
|
-
*/
|
|
202
|
-
const Lt=bt(w);class Ht extends Lt{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!k,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let e=0;e<this.__instances.length;e++)this.__detachInstance(e);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Rt()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let e=u(u(this).parentNode);for(let t=0;t<this.__instances.length;t++)this.__attachInstance(t,e);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const e=this;let t=this.template=e._templateInfo?e:this.querySelector("template");if(!t){let e=new MutationObserver((()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");e.disconnect(),this.__render()}));return e.observe(this,{childList:!0}),!1}let s={};s[this.as]=!0,s[this.indexAs]=!0,s[this.itemsIndexAs]=!0,this.__ctor=Dt(t,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:s,forwardHostProp:function(e,t){let s=this.__instances;for(let r,n=0;n<s.length&&(r=s[n]);n++)r.forwardHostProp(e,t)},notifyInstanceProp:function(e,t,s){if(E(this.as,t)){let r=e[this.itemsIndexAs];t==this.as&&(this.items[r]=s);let n=O(this.as,`${JSCompiler_renameProperty("items",this)}.${r}`,t);this.notifyPath(n,s)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(e){if("string"==typeof e){let t=e,s=this.__getMethodHost();return function(){return s[t].apply(s,arguments)}}return e}__sortChanged(e){this.__sortFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__filterChanged(e){this.__filterFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(e){return Math.ceil(1e3/e)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(e){if(this.__sortFn||this.__filterFn)if(e){if(this.__observePaths){let t=this.__observePaths;for(let s=0;s<t.length;s++)0===e.indexOf(t[s])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__itemsChanged(e){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(e.path,e.value)||("items"===e.path&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(e,t=0){this.__renderDebouncer=C.debounce(this.__renderDebouncer,t>0?S.after(t):p,e.bind(this)),A(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),F()}__render(){if(!this.__ensureTemplatized())return;let e=this.items||[];const t=this.__sortAndFilterItems(e),s=this.__calculateLimit(t.length);this.__updateInstances(e,s,t),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame((()=>{this.__chunkingId=null,this.__continueChunking()}))),this._setRenderedItemCount(this.__instances.length),k&&!this.notifyDomChange||this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(e){let t=new Array(e.length);for(let s=0;s<e.length;s++)t[s]=s;return this.__filterFn&&(t=t.filter(((t,s,r)=>this.__filterFn(e[t],s,r)))),this.__sortFn&&t.sort(((t,s)=>this.__sortFn(e[t],e[s]))),t}__calculateLimit(e){let t=e;const s=this.__instances.length;if(this.initialCount){let r;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(t=Math.min(e,this.initialCount),r=Math.max(t-s,0),this.__chunkCount=r||1):(r=Math.min(Math.max(e-s,0),this.__chunkCount),t=Math.min(s+r,e)),this.__shouldMeasureChunk=r===this.__chunkCount,this.__shouldContinueChunking=t<e,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,t}__continueChunking(){if(this.__shouldMeasureChunk){const e=performance.now()-this.__renderStartTime,t=this._targetFrameTime/e;this.__chunkCount=Math.round(this.__chunkCount*t)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(e,t,s){const r=this.__itemsIdxToInstIdx={};let n;for(n=0;n<t;n++){let t=this.__instances[n],i=s[n],o=e[i];r[i]=n,t?(t._setPendingProperty(this.as,o),t._setPendingProperty(this.indexAs,n),t._setPendingProperty(this.itemsIndexAs,i),t._flushProperties()):this.__insertInstance(o,n,i)}for(let e=this.__instances.length-1;e>=n;e--)this.__detachAndRemoveInstance(e)}__detachInstance(e){let t=this.__instances[e];const s=u(t.root);for(let e=0;e<t.children.length;e++){let r=t.children[e];s.appendChild(r)}return t}__attachInstance(e,t){let s=this.__instances[e];t.insertBefore(s.root,this)}__detachAndRemoveInstance(e){this.__detachInstance(e),this.__instances.splice(e,1)}__stampInstance(e,t,s){let r={};return r[this.as]=e,r[this.indexAs]=t,r[this.itemsIndexAs]=s,new this.__ctor(r)}__insertInstance(e,t,s){const r=this.__stampInstance(e,t,s);let n=this.__instances[t+1],i=n?n.children[0]:this;return u(u(this).parentNode).insertBefore(r.root,i),this.__instances[t]=r,r}_showHideChildren(e){for(let t=0;t<this.__instances.length;t++)this.__instances[t]._showHideChildren(e)}__handleItemPath(e,t){let s=e.slice(6),r=s.indexOf("."),n=r<0?s:s.substring(0,r);if(n==parseInt(n,10)){let e=r<0?"":s.substring(r+1);this.__handleObservedPaths(e);let i=this.__itemsIdxToInstIdx[n],o=this.__instances[i];if(o){let s=this.as+(e?"."+e:"");o._setPendingPropertyOrPath(s,t,!1,!0),o._flushProperties()}return!0}}itemForElement(e){let t=this.modelForElement(e);return t&&t[this.as]}indexForElement(e){let t=this.modelForElement(e);return t&&t[this.indexAs]}modelForElement(e){return Mt(this.template,e)}}customElements.define(Ht.is,Ht);
|
|
203
|
-
/**
|
|
204
|
-
@license
|
|
205
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
206
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
207
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
208
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
209
|
-
Code distributed by Google as part of the polymer project is also
|
|
210
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
211
|
-
*/
|
|
212
|
-
class jt extends w{static get is(){return"dom-if"}static get template(){return null}static get properties(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"},notifyDomChange:{type:Boolean}}}constructor(){super(),this.__renderDebouncer=null,this._lastIf=!1,this.__hideTemplateChildren__=!1,this.__template,this._templateInfo}__debounceRender(){this.__renderDebouncer=C.debounce(this.__renderDebouncer,p,(()=>this.__render())),A(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback();const e=u(this).parentNode;e&&(e.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||u(e).host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),Rt()||(this.style.display="none"),this.if&&this.__debounceRender()}__ensureTemplate(){if(!this.__template){const e=this;let t=e._templateInfo?e:u(e).querySelector("template");if(!t){let e=new MutationObserver((()=>{if(!u(this).querySelector("template"))throw new Error("dom-if requires a <template> child");e.disconnect(),this.__render()}));return e.observe(this,{childList:!0}),!1}this.__template=t}return!0}__ensureInstance(){let e=u(this).parentNode;if(this.__hasInstance()){let t=this.__getInstanceNodes();if(t&&t.length){if(u(this).previousSibling!==t[t.length-1])for(let s,r=0;r<t.length&&(s=t[r]);r++)u(e).insertBefore(s,this)}}else{if(!e)return!1;if(!this.__ensureTemplate())return!1;this.__createAndInsertInstance(e)}return!0}render(){F()}__render(){if(this.if){if(!this.__ensureInstance())return}else this.restamp&&this.__teardownInstance();this._showHideChildren(),k&&!this.notifyDomChange||this.if==this._lastIf||(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__hasInstance(){}__getInstanceNodes(){}__createAndInsertInstance(e){}__teardownInstance(){}_showHideChildren(){}}const $t=R?class extends jt{constructor(){super(),this.__instance=null,this.__syncInfo=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.templateInfo.childNodes}__createAndInsertInstance(e){const t=this.__dataHost||this;if(N&&!this.__dataHost)throw new Error("strictTemplatePolicy: template owner not trusted");const s=t._bindTemplate(this.__template,!0);s.runEffects=(e,t,s)=>{let r=this.__syncInfo;if(this.if)r&&(this.__syncInfo=null,this._showHideChildren(),t=Object.assign(r.changedProps,t)),e(t,s);else if(this.__instance)if(r||(r=this.__syncInfo={runEffects:e,changedProps:{}}),s)for(const e in t){const t=I(e);r.changedProps[t]=this.__dataHost[t]}else Object.assign(r.changedProps,t)},this.__instance=t._stampTemplate(this.__template,s),u(e).insertBefore(this.__instance,this)}__syncHostProperties(){const e=this.__syncInfo;e&&(this.__syncInfo=null,e.runEffects(e.changedProps,!1))}__teardownInstance(){const e=this.__dataHost||this;this.__instance&&(e._removeBoundDom(this.__instance),this.__instance=null,this.__syncInfo=null)}_showHideChildren(){const e=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==e&&(this.__instance.__hidden=e,wt(e,this.__instance.templateInfo.childNodes)),e||this.__syncHostProperties()}}:class extends jt{constructor(){super(),this.__ctor=null,this.__instance=null,this.__invalidProps=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.children}__createAndInsertInstance(e){this.__ctor||(this.__ctor=Dt(this.__template,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[I(e)]=!0))}})),this.__instance=new this.__ctor,u(e).insertBefore(this.__instance.root,this)}__teardownInstance(){if(this.__instance){let e=this.__instance.children;if(e&&e.length){let t=u(e[0]).parentNode;if(t){t=u(t);for(let s,r=0;r<e.length&&(s=e[r]);r++)t.removeChild(s)}}this.__invalidProps=null,this.__instance=null}}__syncHostProperties(){let e=this.__invalidProps;if(e){this.__invalidProps=null;for(let t in e)this.__instance._setPendingProperty(t,this.__dataHost[t]);this.__instance._flushProperties()}}_showHideChildren(){const e=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==e&&(this.__instance.__hidden=e,this.__instance._showHideChildren(e)),e||this.__syncHostProperties()}};customElements.define($t.is,$t);
|
|
213
|
-
/**
|
|
214
|
-
@license
|
|
215
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
216
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
217
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
218
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
219
|
-
Code distributed by Google as part of the polymer project is also
|
|
220
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
221
|
-
*/
|
|
222
|
-
let zt,Bt=c((e=>{let t=m(e);return class extends t{static get properties(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}static get observers(){return["__updateSelection(multi, items.*)"]}constructor(){super(),this.__lastItems=null,this.__lastMulti=null,this.__selectedMap=null}__updateSelection(e,t){let s=t.path;if(s==JSCompiler_renameProperty("items",this)){let s=t.base||[],r=this.__lastItems;if(e!==this.__lastMulti&&this.clearSelection(),r){let e=je(s,r);this.__applySplices(e)}this.__lastItems=s,this.__lastMulti=e}else if(t.path==`${JSCompiler_renameProperty("items",this)}.splices`)this.__applySplices(t.value.indexSplices);else{let e=s.slice(`${JSCompiler_renameProperty("items",this)}.`.length),t=parseInt(e,10);e.indexOf(".")<0&&e==t&&this.__deselectChangedIdx(t)}}__applySplices(e){let t=this.__selectedMap;for(let s=0;s<e.length;s++){let r=e[s];t.forEach(((e,s)=>{e<r.index||(e>=r.index+r.removed.length?t.set(s,e+r.addedCount-r.removed.length):t.set(s,-1))}));for(let e=0;e<r.addedCount;e++){let s=r.index+e;t.has(this.items[s])&&t.set(this.items[s],s)}}this.__updateLinks();let s=0;t.forEach(((e,r)=>{e<0?(this.multi?this.splice(JSCompiler_renameProperty("selected",this),s,1):this.selected=this.selectedItem=null,t.delete(r)):s++}))}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let e=0;this.__selectedMap.forEach((t=>{t>=0&&this.linkPaths(`${JSCompiler_renameProperty("items",this)}.${t}`,`${JSCompiler_renameProperty("selected",this)}.${e++}`)}))}else this.__selectedMap.forEach((e=>{this.linkPaths(JSCompiler_renameProperty("selected",this),`${JSCompiler_renameProperty("items",this)}.${e}`),this.linkPaths(JSCompiler_renameProperty("selectedItem",this),`${JSCompiler_renameProperty("items",this)}.${e}`)}))}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(e){return this.__selectedMap.has(e)}isIndexSelected(e){return this.isSelected(this.items[e])}__deselectChangedIdx(e){let t=this.__selectedIndexForItemIndex(e);if(t>=0){let e=0;this.__selectedMap.forEach(((s,r)=>{t==e++&&this.deselect(r)}))}}__selectedIndexForItemIndex(e){let t=this.__dataLinkedPaths[`${JSCompiler_renameProperty("items",this)}.${e}`];if(t)return parseInt(t.slice(`${JSCompiler_renameProperty("selected",this)}.`.length),10)}deselect(e){let t=this.__selectedMap.get(e);if(t>=0){let s;this.__selectedMap.delete(e),this.multi&&(s=this.__selectedIndexForItemIndex(t)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),s,1):this.selected=this.selectedItem=null}}deselectIndex(e){this.deselect(this.items[e])}select(e){this.selectIndex(this.items.indexOf(e))}selectIndex(e){let t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),t):this.selected=this.selectedItem=t)}}}))(w);class qt extends Bt{static get is(){return"array-selector"}static get template(){return null}}customElements.define(qt.is,qt),zt=yt._mutablePropertyChange;const Ut={properties:{mutableData:Boolean},_shouldPropertyChange(e,t,s){return zt(this,e,t,s,this.mutableData)}},Jt=it(HTMLElement).prototype;
|
|
223
|
-
/**
|
|
224
|
-
@license
|
|
225
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
226
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
227
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
228
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
229
|
-
Code distributed by Google as part of the polymer project is also
|
|
230
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
231
|
-
*/export{Jt as B,st as D,Be as F,Ut as O,mt as P,ht as a,Ke as d,F as f,Mt as m,Dt as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./shared-dc6e5879.js";const n=document.createElement("template");n.innerHTML='<dom-module id="lumo-required-field">\n <template>\n <style>\n [part="label"] {\n align-self: flex-start;\n color: var(--lumo-secondary-text-color);\n font-weight: 500;\n font-size: var(--lumo-font-size-s);\n margin-left: calc(var(--lumo-border-radius-m) / 4);\n transition: color 0.2s;\n line-height: 1;\n padding-bottom: 0.5em;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n max-width: 100%;\n box-sizing: border-box;\n }\n\n :host([has-label])::before {\n margin-top: calc(var(--lumo-font-size-s) * 1.5);\n }\n\n :host([has-label]) {\n padding-top: var(--lumo-space-m);\n }\n\n :host([required]) [part="label"] {\n padding-right: 1em;\n }\n\n [part="label"]::after {\n content: var(--lumo-required-field-indicator, "•");\n transition: opacity 0.2s;\n opacity: 0;\n color: var(--lumo-primary-text-color);\n position: absolute;\n right: 0;\n width: 1em;\n text-align: center;\n }\n\n :host([required]:not([has-value])) [part="label"]::after {\n opacity: 1;\n }\n\n :host([invalid]) [part="label"]::after {\n color: var(--lumo-error-text-color);\n }\n\n [part="error-message"] {\n margin-left: calc(var(--lumo-border-radius-m) / 4);\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n color: var(--lumo-error-text-color);\n will-change: max-height;\n transition: 0.4s max-height;\n max-height: 5em;\n }\n\n /* Margin that doesn’t reserve space when there’s no error message */\n [part="error-message"]:not(:empty)::before,\n [part="error-message"]:not(:empty)::after {\n content: "";\n display: block;\n height: 0.4em;\n }\n\n :host(:not([invalid])) [part="error-message"] {\n max-height: 0;\n overflow: hidden;\n }\n\n /* RTL specific styles */\n\n :host([dir="rtl"]) [part="label"] {\n margin-left: 0;\n margin-right: calc(var(--lumo-border-radius-m) / 4);\n }\n\n :host([required][dir="rtl"]) [part="label"] {\n padding-left: 1em;\n padding-right: 0;\n }\n\n :host([dir="rtl"]) [part="label"]::after {\n right: auto;\n left: 0;\n }\n\n :host([dir="rtl"]) [part="error-message"] {\n margin-left: 0;\n margin-right: calc(var(--lumo-border-radius-m) / 4);\n }\n\n </style>\n </template>\n</dom-module>',document.head.appendChild(n.content);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./shared-a8ae24f0.js";import"./shared-c066b7fd.js";import{_ as t}from"./shared-8f9014ff.js";import{h as e}from"./shared-ba5c42c7.js";import{D as s}from"./shared-41f93e6c.js";let i,n=t=>t;customElements.define("foxy-internal-confirm-dialog",class extends s{constructor(){super(...arguments),this.closable=!1,this.editable=!1,this.alert=!0,this.messageOptions={},this.confirm="confirm",this.message="message",this.cancel="cancel",this.theme="primary"}static get properties(){return t(t({},super.properties),{},{messageOptions:{type:Object,attribute:"message-options"},confirm:{type:String},message:{type:String},cancel:{type:String},theme:{type:String}})}render(){return super.render((()=>e(i||(i=n` <foxy-i18n class="block font-lumo text-m text-body text-center mb-m" lang="${0}" key="${0}" ns="${0}" .options="${0}"> </foxy-i18n> <div class="grid grid-cols-2 gap-m"> <vaadin-button data-testid="cancelButton" @click="${0}"> <foxy-i18n ns="${0}" lang="${0}" key="${0}"></foxy-i18n> </vaadin-button> <vaadin-button theme="${0}" data-testid="confirmButton" @click="${0}"> <foxy-i18n ns="${0}" lang="${0}" key="${0}"></foxy-i18n> </vaadin-button> </div> `),this.lang,this.message,this.ns,this.messageOptions,this.__handleCancel,this.ns,this.lang,this.cancel,this.theme,this.__handleConfirm,this.ns,this.lang,this.confirm)))}async __handleCancel(){await this.hide(!0)}async __handleConfirm(){await this.hide()}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./shared-f410644a.js";import"./shared-5b8c7250.js";class o extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",o);const n=document.createElement("template");n.innerHTML='<custom-style>\n <style>\n html {\n /* Base (background) */\n --lumo-base-color: #FFF;\n\n /* Tint */\n --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);\n --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);\n --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);\n --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);\n --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);\n --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);\n --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);\n --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);\n --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);\n --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);\n --lumo-tint: #FFF;\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);\n --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);\n --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);\n --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);\n --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);\n --lumo-shade-50pct: hsla(214, 45%, 20%, 0.5);\n --lumo-shade-60pct: hsla(214, 43%, 19%, 0.61);\n --lumo-shade-70pct: hsla(214, 42%, 18%, 0.72);\n --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);\n --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);\n --lumo-shade: hsl(214, 35%, 15%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-shade-5pct);\n --lumo-contrast-10pct: var(--lumo-shade-10pct);\n --lumo-contrast-20pct: var(--lumo-shade-20pct);\n --lumo-contrast-30pct: var(--lumo-shade-30pct);\n --lumo-contrast-40pct: var(--lumo-shade-40pct);\n --lumo-contrast-50pct: var(--lumo-shade-50pct);\n --lumo-contrast-60pct: var(--lumo-shade-60pct);\n --lumo-contrast-70pct: var(--lumo-shade-70pct);\n --lumo-contrast-80pct: var(--lumo-shade-80pct);\n --lumo-contrast-90pct: var(--lumo-shade-90pct);\n --lumo-contrast: var(--lumo-shade);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 90%, 52%);\n --lumo-primary-color-50pct: hsla(214, 90%, 52%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 52%, 0.1);\n --lumo-primary-text-color: var(--lumo-primary-color);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 100%, 61%);\n --lumo-error-color-50pct: hsla(3, 100%, 60%, 0.5);\n --lumo-error-color-10pct: hsla(3, 100%, 60%, 0.1);\n --lumo-error-text-color: hsl(3, 92%, 53%);\n --lumo-error-contrast-color: #FFF;\n\n /* Success */\n --lumo-success-color: hsl(145, 80%, 42%); /* hsl(144,82%,37%); */\n --lumo-success-color-50pct: hsla(145, 76%, 44%, 0.55);\n --lumo-success-color-10pct: hsla(145, 76%, 44%, 0.12);\n --lumo-success-text-color: hsl(145, 100%, 32%);\n --lumo-success-contrast-color: #FFF;\n }\n </style>\n</custom-style><dom-module id="lumo-color">\n <template>\n <style>\n [theme~="dark"] {\n /* Base (background) */\n --lumo-base-color: hsl(214, 35%, 21%);\n\n /* Tint */\n --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);\n --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);\n --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);\n --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);\n --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);\n --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);\n --lumo-tint-60pct: hsla(214, 82%, 90%, 0.6);\n --lumo-tint-70pct: hsla(214, 87%, 92%, 0.7);\n --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);\n --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);\n --lumo-tint: hsl(214, 100%, 98%);\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);\n --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);\n --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);\n --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);\n --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);\n --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);\n --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);\n --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);\n --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);\n --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);\n --lumo-shade: hsl(214, 33%, 13%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-tint-5pct);\n --lumo-contrast-10pct: var(--lumo-tint-10pct);\n --lumo-contrast-20pct: var(--lumo-tint-20pct);\n --lumo-contrast-30pct: var(--lumo-tint-30pct);\n --lumo-contrast-40pct: var(--lumo-tint-40pct);\n --lumo-contrast-50pct: var(--lumo-tint-50pct);\n --lumo-contrast-60pct: var(--lumo-tint-60pct);\n --lumo-contrast-70pct: var(--lumo-tint-70pct);\n --lumo-contrast-80pct: var(--lumo-tint-80pct);\n --lumo-contrast-90pct: var(--lumo-tint-90pct);\n --lumo-contrast: var(--lumo-tint);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 86%, 55%);\n --lumo-primary-color-50pct: hsla(214, 86%, 55%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 63%, 0.1);\n --lumo-primary-text-color: hsl(214, 100%, 70%);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 90%, 63%);\n --lumo-error-color-50pct: hsla(3, 90%, 63%, 0.5);\n --lumo-error-color-10pct: hsla(3, 90%, 63%, 0.1);\n --lumo-error-text-color: hsl(3, 100%, 67%);\n\n /* Success */\n --lumo-success-color: hsl(145, 65%, 42%);\n --lumo-success-color-50pct: hsla(145, 65%, 42%, 0.5);\n --lumo-success-color-10pct: hsla(145, 65%, 42%, 0.1);\n --lumo-success-text-color: hsl(145, 85%, 47%);\n }\n\n html {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n [theme~="dark"] {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: var(--lumo-header-text-color);\n }\n\n a {\n color: var(--lumo-primary-text-color);\n }\n\n blockquote {\n color: var(--lumo-secondary-text-color);\n }\n\n code,\n pre {\n background-color: var(--lumo-contrast-10pct);\n border-radius: var(--lumo-border-radius-m);\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-color-legacy">\n <template>\n <style include="lumo-color">\n :host {\n color: var(--lumo-body-text-color) !important;\n background-color: var(--lumo-base-color) !important;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(n.content);const t=document.createElement("template");t.innerHTML="<custom-style>\n <style>\n html {\n --lumo-size-xs: 1.625rem;\n --lumo-size-s: 1.875rem;\n --lumo-size-m: 2.25rem;\n --lumo-size-l: 2.75rem;\n --lumo-size-xl: 3.5rem;\n\n /* Icons */\n --lumo-icon-size-s: 1.25em;\n --lumo-icon-size-m: 1.5em;\n --lumo-icon-size-l: 2.25em;\n /* For backwards compatibility */\n --lumo-icon-size: var(--lumo-icon-size-m);\n }\n </style>\n</custom-style>",document.head.appendChild(t.content);const l=document.createElement("template");l.innerHTML="<custom-style>\n <style>\n html {\n /* Square */\n --lumo-space-xs: 0.25rem;\n --lumo-space-s: 0.5rem;\n --lumo-space-m: 1rem;\n --lumo-space-l: 1.5rem;\n --lumo-space-xl: 2.5rem;\n\n /* Wide */\n --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);\n --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);\n --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);\n --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);\n --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);\n\n /* Tall */\n --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);\n --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);\n --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);\n --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);\n --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);\n }\n </style>\n</custom-style>",document.head.appendChild(l.content);const e=document.createElement("template");e.innerHTML="<custom-style>\n <style>\n html {\n /* Border radius */\n --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */\n --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */\n --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */\n --lumo-border-radius: 0.25em; /* Deprecated */\n\n /* Shadow */\n --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);\n --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);\n --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);\n --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);\n --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);\n\n /* Clickable element cursor */\n --lumo-clickable-cursor: default;\n }\n </style>\n</custom-style>",document.head.appendChild(e.content);const a=document.createElement("template");a.innerHTML='<custom-style>\n <style>\n html {\n /* Font families */\n --lumo-font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n\n /* Font sizes */\n --lumo-font-size-xxs: .75rem;\n --lumo-font-size-xs: .8125rem;\n --lumo-font-size-s: .875rem;\n --lumo-font-size-m: 1rem;\n --lumo-font-size-l: 1.125rem;\n --lumo-font-size-xl: 1.375rem;\n --lumo-font-size-xxl: 1.75rem;\n --lumo-font-size-xxxl: 2.5rem;\n\n /* Line heights */\n --lumo-line-height-xs: 1.25;\n --lumo-line-height-s: 1.375;\n --lumo-line-height-m: 1.625;\n }\n\n </style>\n</custom-style><dom-module id="lumo-typography">\n <template>\n <style>\n html {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n /* Can’t combine with the above selector because that doesn’t work in browsers without native shadow dom */\n :host {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n small,\n [theme~="font-size-s"] {\n font-size: var(--lumo-font-size-s);\n line-height: var(--lumo-line-height-s);\n }\n\n [theme~="font-size-xs"] {\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: 600;\n line-height: var(--lumo-line-height-xs);\n margin-top: 1.25em;\n }\n\n h1 {\n font-size: var(--lumo-font-size-xxxl);\n margin-bottom: 0.75em;\n }\n\n h2 {\n font-size: var(--lumo-font-size-xxl);\n margin-bottom: 0.5em;\n }\n\n h3 {\n font-size: var(--lumo-font-size-xl);\n margin-bottom: 0.5em;\n }\n\n h4 {\n font-size: var(--lumo-font-size-l);\n margin-bottom: 0.5em;\n }\n\n h5 {\n font-size: var(--lumo-font-size-m);\n margin-bottom: 0.25em;\n }\n\n h6 {\n font-size: var(--lumo-font-size-xs);\n margin-bottom: 0;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n }\n\n p,\n blockquote {\n margin-top: 0.5em;\n margin-bottom: 0.75em;\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n text-decoration: underline;\n }\n\n hr {\n display: block;\n align-self: stretch;\n height: 1px;\n border: 0;\n padding: 0;\n margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);\n background-color: var(--lumo-contrast-10pct);\n }\n\n blockquote {\n border-left: 2px solid var(--lumo-contrast-30pct);\n }\n\n b,\n strong {\n font-weight: 600;\n }\n\n /* RTL specific styles */\n\n blockquote[dir="rtl"] {\n border-left: none;\n border-right: 2px solid var(--lumo-contrast-30pct);\n }\n\n </style>\n </template>\n</dom-module>',document.head.appendChild(a.content);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./shared-a8ae24f0.js";import"./shared-cf1965cb.js";import"./shared-c59277a4.js";import{L as t,h as e}from"./shared-ba5c42c7.js";import{T as a}from"./shared-5b8c7250.js";import{c as s}from"./shared-4e709717.js";import{p as r}from"./shared-e650caf3.js";import{s as i}from"./shared-af6ccc54.js";import{s as n}from"./shared-2061be9a.js";let o,l,d,c,h,u=t=>t;class g extends(a(t)){constructor(){super(...arguments),this.checkAvailability=()=>!0,this.readonly=!1,this.disabled=!1,this.value="",this.start="",this.lang=""}static get properties(){return{checkAvailability:{attribute:!1},readonly:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},value:{type:String},start:{type:String},lang:{type:String}}}render(){var t,a;const r=new Date(null!==(a=null!==(t=this.__startAsDate)&&void 0!==t?t:this.__valueAsDate)&&void 0!==a?a:Date.now()),i=new Date(r),n=new Date(r),l=this.lang||navigator.language;return i.setMonth(i.getMonth()-1),n.setMonth(n.getMonth()+1),e(o||(o=u` <div class="text-m text-body font-lumo leading-m"> <div class="grid p-xs" style="grid-template:auto/max-content auto max-content"> <vaadin-button data-testid="prev" aria-label="${0}" theme="icon tertiary" class="px-xs" ?disabled="${0}" @click="${0}"> <iron-icon icon="icons:chevron-left"></iron-icon> </vaadin-button> <span data-testid="month" class="${0}"> ${0} </span> <vaadin-button data-testid="next" aria-label="${0}" theme="icon tertiary" class="px-xs" ?disabled="${0}" @click="${0}"> <iron-icon icon="icons:chevron-right"></iron-icon> </vaadin-button> </div> ${0} </div> `),i.toLocaleString(l,{year:"numeric",month:"long"}),this.disabled,this.__handlePrevButtonClick,s({"text-center self-center font-medium":!0,"text-disabled":this.disabled}),r.toLocaleDateString(l,{month:"long",year:"numeric"}),n.toLocaleString(l,{year:"numeric",month:"long"}),this.disabled,this.__handleNextButtonClick,this.__renderMonth(r.getMonth(),r.getFullYear()))}get __valueAsDate(){return r(this.value)}set __valueAsDate(t){this.value=t?n(t):""}get __startAsDate(){return r(this.start)}set __startAsDate(t){this.start=t?n(t):""}__renderMonth(t,a){var r,n,o;const h=this.lang||navigator.language,g=i(a,t,1),m=[];for(let t=0;t<7;++t){const a=new Date;for(;a.getDay()!==t;)a.setDate(a.getDate()+1);m.push(e(l||(l=u` <span class="${0}"> ${0} </span> `),s({"self-center text-xxs uppercase font-medium tracking-wider":!0,"text-secondary":!this.disabled,"text-disabled":this.disabled}),a.toLocaleString(h,{weekday:"short"})))}for(;g.getMonth()===t;){const s=g.getFullYear()===(null===(r=this.__valueAsDate)||void 0===r?void 0:r.getFullYear())&&g.getMonth()===(null===(n=this.__valueAsDate)||void 0===n?void 0:n.getMonth())&&g.getDate()===(null===(o=this.__valueAsDate)||void 0===o?void 0:o.getDate());m.push(e(d||(d=u` <div style="grid-column:${0}" data-testclass="day-of-month"> ${0} </div> `),g.getDay()+1,this.__renderDate(g.getDate(),t,a,s))),g.setDate(g.getDate()+1)}return e(c||(c=u` <form data-testid="grid" class="grid gap-s p-s text-center" style="grid-template:auto/repeat(7,1fr)"> ${0} </form> `),m)}__renderDate(t,a,r,n=!1){const o=this.disabled||this.readonly||!this.checkAvailability(i(r,a,t));return e(h||(h=u` <label class="${0}"> <input name="date" type="radio" value="${0}" class="sr-only" ?disabled="${0}" @change="${0}"> ${0} </label> `),s({"relative flex w-m h-m items-center justify-center rounded-s":!0,"font-tnum text-l select-none leading-none":!0,"cursor-pointer focus-within-ring-2 focus-within-ring-primary-50":!o,"bg-contrast-5 hover-bg-contrast-10":!n&&!o,"bg-primary text-primary-contrast":n&&!o,"border border-dashed border-contrast-20 text-disabled":!n&&o,"border border-dashed border-primary text-primary":n&&o}),t,this.readonly||this.disabled||o,(()=>{this.__valueAsDate=i(r,a,t),this.dispatchEvent(new CustomEvent("change"))}),t)}__handlePrevButtonClick(){var t;const e=null!==(t=this.__startAsDate)&&void 0!==t?t:new Date;this.__startAsDate=new Date(e.setMonth(e.getMonth()-1))}__handleNextButtonClick(){var t;const e=null!==(t=this.__startAsDate)&&void 0!==t?t:new Date;this.__startAsDate=new Date(e.setMonth(e.getMonth()+1))}}customElements.define("foxy-internal-calendar",g);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./shared-dc6e5879.js";import"./shared-28cc8aa1.js";const n=document.createElement("template");n.innerHTML='<dom-module id="lumo-field-button">\n <template>\n <style>\n [part$="button"] {\n flex: none;\n width: 1em;\n height: 1em;\n line-height: 1;\n font-size: var(--lumo-icon-size-m);\n text-align: center;\n color: var(--lumo-contrast-60pct);\n transition: 0.2s color;\n cursor: var(--lumo-clickable-cursor);\n }\n\n :host(:not([readonly])) [part$="button"]:hover {\n color: var(--lumo-contrast-90pct);\n }\n\n :host([disabled]) [part$="button"],\n :host([readonly]) [part$="button"] {\n color: var(--lumo-contrast-20pct);\n }\n\n [part$="button"]::before {\n font-family: "lumo-icons";\n display: block;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(n.content);
|