@foxy.io/elements 1.16.0-beta.1 → 1.16.0-beta.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 +2 -2
- package/dist/cdn/foxy-address-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-cancellation-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 -0
- package/dist/cdn/foxy-coupon-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 -0
- 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-api.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.js +1 -1
- package/dist/cdn/foxy-customer-portal.js +15 -15
- 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 -0
- package/dist/cdn/foxy-discount-card.js +1 -1
- package/dist/cdn/foxy-discount-detail-card.js +1 -0
- package/dist/cdn/foxy-donation.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-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-form.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.js +1 -1
- package/dist/cdn/foxy-item-card.js +1 -0
- package/dist/cdn/foxy-item-form.js +1 -0
- package/dist/cdn/foxy-item-option-card.js +1 -0
- package/dist/cdn/foxy-item-option-form.js +1 -0
- package/dist/cdn/foxy-items-form.js +1 -1
- package/dist/cdn/foxy-nucleon-element.js +1 -1
- package/dist/cdn/foxy-pagination.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-query-builder.js +1 -1
- package/dist/cdn/foxy-report-form.js +15 -15
- package/dist/cdn/foxy-reports-table.js +2 -2
- package/dist/cdn/foxy-shipment-card.js +17 -0
- package/dist/cdn/foxy-sign-in-form.js +1 -1
- package/dist/cdn/foxy-spinner.js +2 -2
- package/dist/cdn/foxy-subscription-card.js +1 -1
- package/dist/cdn/foxy-subscription-form.js +4 -4
- package/dist/cdn/foxy-subscriptions-table.js +1 -1
- package/dist/cdn/foxy-swipe-actions.js +1 -0
- 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-transaction-card.js +1 -1
- package/dist/cdn/foxy-transaction.js +64 -0
- package/dist/cdn/foxy-transactions-table.js +1 -1
- package/dist/cdn/foxy-user-form.js +1 -1
- package/dist/cdn/foxy-users-table.js +1 -1
- package/dist/cdn/shared-007660a6.js +12 -0
- package/dist/cdn/{shared-9221e6b2.js → shared-0479553e.js} +1 -1
- package/dist/cdn/shared-06014421.js +1 -0
- package/dist/cdn/shared-072abf87.js +1 -0
- package/dist/cdn/{shared-b0f0e8b5.js → shared-11c2efc8.js} +1 -1
- package/dist/cdn/shared-1b064836.js +1 -0
- package/dist/cdn/shared-1ddccf4d.js +1 -0
- package/dist/cdn/{shared-15f2aeb5.js → shared-22103348.js} +1 -1
- package/dist/cdn/{shared-cb71ddbc.js → shared-25e9c276.js} +3 -3
- package/dist/cdn/{shared-448781f9.js → shared-2bb49907.js} +1 -1
- package/dist/cdn/shared-2eee69db.js +1 -0
- package/dist/cdn/shared-3026cee0.js +15 -0
- package/dist/cdn/shared-34998df6.js +1 -0
- package/dist/cdn/{shared-278a8b9d.js → shared-35de1004.js} +10 -10
- package/dist/cdn/{shared-31166bdc.js → shared-368a2f85.js} +1 -1
- package/dist/cdn/{shared-7f463a38.js → shared-38f8a319.js} +7 -7
- package/dist/cdn/{shared-e5937698.js → shared-3ffd77da.js} +14 -19
- package/dist/cdn/shared-4e63d6e0.js +1 -0
- package/dist/cdn/{shared-b20f463a.js → shared-5097c880.js} +2 -11
- package/dist/cdn/shared-518902c8.js +1 -0
- package/dist/cdn/shared-5e75308a.js +1 -0
- package/dist/cdn/{shared-d9aed64e.js → shared-60e98fbf.js} +1 -1
- package/dist/cdn/shared-64657919.js +1 -0
- package/dist/cdn/{shared-666e8a90.js → shared-757bb517.js} +1 -1
- package/dist/cdn/{shared-bf6c685e.js → shared-7819b0b0.js} +1 -1
- package/dist/cdn/shared-7f33a83a.js +159 -0
- package/dist/cdn/{shared-e8abe6c6.js → shared-7f3ca8e7.js} +5 -5
- package/dist/cdn/shared-874bbae5.js +1 -0
- package/dist/cdn/shared-92d6f937.js +1 -0
- package/dist/cdn/shared-935ba2fc.js +1 -0
- package/dist/cdn/shared-96df3c85.js +1 -0
- package/dist/cdn/{shared-218ba06e.js → shared-99065f2a.js} +1 -1
- package/dist/cdn/shared-9a089d49.js +1 -0
- package/dist/cdn/shared-9d4835ed.js +1 -0
- package/dist/cdn/{shared-24064bd3.js → shared-9d7aaf7a.js} +1 -1
- package/dist/cdn/shared-a8e21a41.js +1 -0
- package/dist/cdn/shared-b4a4a92b.js +1 -0
- package/dist/cdn/{shared-5d169043.js → shared-b8f492a4.js} +1 -1
- package/dist/cdn/{shared-ee53f7e5.js → shared-bbfdfee2.js} +10 -10
- package/dist/cdn/{shared-3821923d.js → shared-bc94606b.js} +1 -1
- package/dist/cdn/shared-c3c424cd.js +1 -0
- package/dist/cdn/shared-c4f0a219.js +1 -0
- package/dist/cdn/{shared-6d45a07b.js → shared-d3bf9ac0.js} +2 -2
- package/dist/cdn/shared-d3ffe0ef.js +1 -0
- package/dist/cdn/{shared-b710881a.js → shared-d519a301.js} +2 -2
- package/dist/cdn/shared-e090608c.js +201 -0
- package/dist/cdn/{shared-a81a95e8.js → shared-e59c65e3.js} +1 -1
- package/dist/cdn/shared-e6f3e9f0.js +6 -0
- package/dist/cdn/shared-ea9af4b0.js +29 -0
- package/dist/cdn/{shared-59e44f29.js → shared-f0ba30e8.js} +1 -1
- package/dist/cdn/{shared-756034e4.js → shared-f3655f42.js} +1 -1
- package/dist/cdn/{shared-07134f93.js → shared-f3b35364.js} +1 -1
- package/dist/cdn/{shared-e367b5fc.js → shared-f3f9f752.js} +9 -9
- package/dist/cdn/shared-f7bddf72.js +9 -0
- package/dist/cdn/shared-fe8ec1f9.js +1 -0
- package/dist/cdn/translations/copy-to-clipboard/en.json +6 -0
- package/dist/cdn/translations/coupon-form/en.json +21 -2
- package/dist/cdn/translations/gift-card-form/en.json +21 -0
- package/dist/cdn/translations/item-card/en.json +9 -0
- package/dist/cdn/translations/item-form/en.json +387 -0
- package/dist/cdn/translations/item-option-form/en.json +43 -0
- package/dist/cdn/translations/report-form/en.json +14 -2
- package/dist/cdn/translations/shipment-card/en.json +470 -0
- package/dist/cdn/translations/transaction/en.json +941 -0
- package/dist/elements/index.d.ts +1 -0
- package/dist/elements/index.js +2 -0
- package/dist/elements/index.js.map +1 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.d.ts +12 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.js +65 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/InternalAsyncComboBoxControl.js.map +1 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/index.d.ts +4 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/index.js +6 -0
- package/dist/elements/internal/InternalAsyncComboBoxControl/index.js.map +1 -0
- package/dist/elements/internal/InternalCard/InternalCard.d.ts +13 -0
- package/dist/elements/internal/InternalCard/InternalCard.js +43 -0
- package/dist/elements/internal/InternalCard/InternalCard.js.map +1 -0
- package/dist/elements/internal/InternalCard/index.d.ts +6 -0
- package/dist/elements/internal/InternalCard/index.js +8 -0
- package/dist/elements/internal/InternalCard/index.js.map +1 -0
- package/dist/elements/internal/InternalCollapsibleCard/InternalCollapsibleCard.d.ts +16 -0
- package/dist/elements/internal/InternalCollapsibleCard/InternalCollapsibleCard.js +63 -0
- package/dist/elements/internal/InternalCollapsibleCard/InternalCollapsibleCard.js.map +1 -0
- package/dist/elements/internal/InternalCollapsibleCard/index.d.ts +5 -0
- package/dist/elements/internal/InternalCollapsibleCard/index.js +7 -0
- package/dist/elements/internal/InternalCollapsibleCard/index.js.map +1 -0
- package/dist/elements/internal/InternalCollectionCard/InternalCollectionCard.d.ts +13 -0
- package/dist/elements/internal/InternalCollectionCard/InternalCollectionCard.js +119 -0
- package/dist/elements/internal/InternalCollectionCard/InternalCollectionCard.js.map +1 -0
- package/dist/elements/internal/InternalCollectionCard/index.d.ts +7 -0
- package/dist/elements/internal/InternalCollectionCard/index.js +9 -0
- package/dist/elements/internal/InternalCollectionCard/index.js.map +1 -0
- package/dist/elements/internal/InternalControl/InternalControl.d.ts +21 -0
- package/dist/elements/internal/InternalControl/InternalControl.js +53 -0
- package/dist/elements/internal/InternalControl/InternalControl.js.map +1 -0
- package/dist/elements/internal/InternalControl/index.d.ts +2 -0
- package/dist/elements/internal/InternalControl/index.js +4 -0
- package/dist/elements/internal/InternalControl/index.js.map +1 -0
- package/dist/elements/internal/InternalCreateControl/InternalCreateControl.d.ts +13 -0
- package/dist/elements/internal/InternalCreateControl/InternalCreateControl.js +47 -0
- package/dist/elements/internal/InternalCreateControl/InternalCreateControl.js.map +1 -0
- package/dist/elements/internal/InternalCreateControl/index.d.ts +4 -0
- package/dist/elements/internal/InternalCreateControl/index.js +6 -0
- package/dist/elements/internal/InternalCreateControl/index.js.map +1 -0
- package/dist/elements/internal/InternalDateControl/InternalDateControl.d.ts +7 -0
- package/dist/elements/internal/InternalDateControl/InternalDateControl.js +48 -0
- package/dist/elements/internal/InternalDateControl/InternalDateControl.js.map +1 -0
- package/dist/elements/internal/InternalDateControl/index.d.ts +4 -0
- package/dist/elements/internal/InternalDateControl/index.js +6 -0
- package/dist/elements/internal/InternalDateControl/index.js.map +1 -0
- package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.d.ts +6 -0
- package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.js +39 -0
- package/dist/elements/internal/InternalDeleteControl/InternalDeleteControl.js.map +1 -0
- package/dist/elements/internal/InternalDeleteControl/index.d.ts +5 -0
- package/dist/elements/internal/InternalDeleteControl/index.js +7 -0
- package/dist/elements/internal/InternalDeleteControl/index.js.map +1 -0
- package/dist/elements/internal/InternalEditableControl/InternalEditableControl.d.ts +25 -0
- package/dist/elements/internal/InternalEditableControl/InternalEditableControl.js +78 -0
- package/dist/elements/internal/InternalEditableControl/InternalEditableControl.js.map +1 -0
- package/dist/elements/internal/InternalEditableControl/index.d.ts +3 -0
- package/dist/elements/internal/InternalEditableControl/index.js +5 -0
- package/dist/elements/internal/InternalEditableControl/index.js.map +1 -0
- package/dist/elements/internal/InternalForm/InternalForm.d.ts +13 -0
- package/dist/elements/internal/InternalForm/InternalForm.js +49 -0
- package/dist/elements/internal/InternalForm/InternalForm.js.map +1 -0
- package/dist/elements/internal/InternalForm/index.d.ts +6 -0
- package/dist/elements/internal/InternalForm/index.js +8 -0
- package/dist/elements/internal/InternalForm/index.js.map +1 -0
- package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.d.ts +9 -0
- package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.js +115 -0
- package/dist/elements/internal/InternalFrequencyControl/InternalFrequencyControl.js.map +1 -0
- package/dist/elements/internal/InternalFrequencyControl/index.d.ts +7 -0
- package/dist/elements/internal/InternalFrequencyControl/index.js +9 -0
- package/dist/elements/internal/InternalFrequencyControl/index.js.map +1 -0
- package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.d.ts +5 -0
- package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.js +28 -0
- package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.js.map +1 -0
- package/dist/elements/internal/InternalIntegerControl/index.d.ts +4 -0
- package/dist/elements/internal/InternalIntegerControl/index.js +6 -0
- package/dist/elements/internal/InternalIntegerControl/index.js.map +1 -0
- package/dist/elements/internal/InternalNumberControl/InternalNumberControl.d.ts +5 -0
- package/dist/elements/internal/InternalNumberControl/InternalNumberControl.js +28 -0
- package/dist/elements/internal/InternalNumberControl/InternalNumberControl.js.map +1 -0
- package/dist/elements/internal/InternalNumberControl/index.d.ts +4 -0
- package/dist/elements/internal/InternalNumberControl/index.js +6 -0
- package/dist/elements/internal/InternalNumberControl/index.js.map +1 -0
- package/dist/elements/internal/InternalTextControl/InternalTextControl.d.ts +5 -0
- package/dist/elements/internal/InternalTextControl/InternalTextControl.js +27 -0
- package/dist/elements/internal/InternalTextControl/InternalTextControl.js.map +1 -0
- package/dist/elements/internal/InternalTextControl/index.d.ts +4 -0
- package/dist/elements/internal/InternalTextControl/index.js +6 -0
- package/dist/elements/internal/InternalTextControl/index.js.map +1 -0
- package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.d.ts +8 -0
- package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.js +56 -0
- package/dist/elements/internal/InternalTimestampsControl/InternalTimestampsControl.js.map +1 -0
- package/dist/elements/internal/InternalTimestampsControl/index.d.ts +2 -0
- package/dist/elements/internal/InternalTimestampsControl/index.js +4 -0
- package/dist/elements/internal/InternalTimestampsControl/index.js.map +1 -0
- package/dist/elements/private/Dialog/Dialog.d.ts +4 -2
- package/dist/elements/private/Dialog/Dialog.js +3 -1
- package/dist/elements/private/Dialog/Dialog.js.map +1 -1
- package/dist/elements/private/EditableList/EditableList.d.ts +4 -2
- package/dist/elements/private/EditableList/EditableList.js +3 -1
- package/dist/elements/private/EditableList/EditableList.js.map +1 -1
- package/dist/elements/private/FrequencyInput/FrequencyInput.d.ts +3 -1
- package/dist/elements/private/FrequencyInput/FrequencyInput.js +2 -1
- package/dist/elements/private/FrequencyInput/FrequencyInput.js.map +1 -1
- package/dist/elements/public/CollectionPage/CollectionPage.d.ts +4 -3
- package/dist/elements/public/CollectionPage/CollectionPage.js +5 -3
- package/dist/elements/public/CollectionPage/CollectionPage.js.map +1 -1
- package/dist/elements/public/CollectionPage/types.d.ts +1 -0
- package/dist/elements/public/CollectionPage/types.js.map +1 -1
- package/dist/elements/public/CollectionPages/CollectionPages.d.ts +4 -2
- package/dist/elements/public/CollectionPages/CollectionPages.js +3 -1
- package/dist/elements/public/CollectionPages/CollectionPages.js.map +1 -1
- package/dist/elements/public/CopyToClipboard/CopyToClipboard.d.ts +14 -0
- package/dist/elements/public/CopyToClipboard/CopyToClipboard.js +112 -0
- package/dist/elements/public/CopyToClipboard/CopyToClipboard.js.map +1 -0
- package/dist/elements/public/CopyToClipboard/index.d.ts +4 -0
- package/dist/elements/public/CopyToClipboard/index.js +6 -0
- package/dist/elements/public/CopyToClipboard/index.js.map +1 -0
- package/dist/elements/public/CouponDetailCard/CouponDetailCard.d.ts +25 -0
- package/dist/elements/public/CouponDetailCard/CouponDetailCard.js +58 -0
- package/dist/elements/public/CouponDetailCard/CouponDetailCard.js.map +1 -0
- package/dist/elements/public/CouponDetailCard/index.d.ts +5 -0
- package/dist/elements/public/CouponDetailCard/index.js +7 -0
- package/dist/elements/public/CouponDetailCard/index.js.map +1 -0
- package/dist/elements/public/CouponDetailCard/types.d.ts +3 -0
- package/dist/elements/public/CouponDetailCard/types.js +2 -0
- package/dist/elements/public/CouponDetailCard/types.js.map +1 -0
- package/dist/elements/public/CouponForm/CouponForm.js +36 -35
- package/dist/elements/public/CouponForm/CouponForm.js.map +1 -1
- package/dist/elements/public/CouponForm/index.d.ts +1 -0
- package/dist/elements/public/CouponForm/index.js +1 -0
- package/dist/elements/public/CouponForm/index.js.map +1 -1
- package/dist/elements/public/CustomerApi/CustomerApi.d.ts +3 -1
- package/dist/elements/public/CustomerApi/CustomerApi.js +2 -1
- package/dist/elements/public/CustomerApi/CustomerApi.js.map +1 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalChangePassword.d.ts +3 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalChangePassword.js +2 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalChangePassword.js.map +1 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedOutView.d.ts +3 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedOutView.js +2 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalLoggedOutView.js.map +1 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalSubscriptions.d.ts +3 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalSubscriptions.js +2 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalSubscriptions.js.map +1 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalTransactions.d.ts +3 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalTransactions.js +2 -1
- package/dist/elements/public/CustomerPortal/InternalCustomerPortalTransactions.js.map +1 -1
- package/dist/elements/public/DiscountBuilder/DiscountBuilder.d.ts +28 -0
- package/dist/elements/public/DiscountBuilder/DiscountBuilder.js +339 -0
- package/dist/elements/public/DiscountBuilder/DiscountBuilder.js.map +1 -0
- package/dist/elements/public/DiscountBuilder/index.d.ts +2 -0
- package/dist/elements/public/DiscountBuilder/index.js +4 -0
- package/dist/elements/public/DiscountBuilder/index.js.map +1 -0
- package/dist/elements/public/DiscountDetailCard/DiscountDetailCard.d.ts +25 -0
- package/dist/elements/public/DiscountDetailCard/DiscountDetailCard.js +58 -0
- package/dist/elements/public/DiscountDetailCard/DiscountDetailCard.js.map +1 -0
- package/dist/elements/public/DiscountDetailCard/index.d.ts +5 -0
- package/dist/elements/public/DiscountDetailCard/index.js +7 -0
- package/dist/elements/public/DiscountDetailCard/index.js.map +1 -0
- package/dist/elements/public/DiscountDetailCard/types.d.ts +3 -0
- package/dist/elements/public/DiscountDetailCard/types.js +2 -0
- package/dist/elements/public/DiscountDetailCard/types.js.map +1 -0
- package/dist/elements/public/GiftCardForm/GiftCardForm.js +28 -15
- package/dist/elements/public/GiftCardForm/GiftCardForm.js.map +1 -1
- package/dist/elements/public/GiftCardForm/index.d.ts +1 -0
- package/dist/elements/public/GiftCardForm/index.js +1 -0
- package/dist/elements/public/GiftCardForm/index.js.map +1 -1
- package/dist/elements/public/I18n/I18n.d.ts +3 -1
- package/dist/elements/public/I18n/I18n.js +2 -1
- package/dist/elements/public/I18n/I18n.js.map +1 -1
- package/dist/elements/public/ItemCard/ItemCard.d.ts +16 -0
- package/dist/elements/public/ItemCard/ItemCard.js +139 -0
- package/dist/elements/public/ItemCard/ItemCard.js.map +1 -0
- package/dist/elements/public/ItemCard/index.d.ts +4 -0
- package/dist/elements/public/ItemCard/index.js +6 -0
- package/dist/elements/public/ItemCard/index.js.map +1 -0
- package/dist/elements/public/ItemCard/types.d.ts +5 -0
- package/dist/elements/public/ItemCard/types.js +2 -0
- package/dist/elements/public/ItemCard/types.js.map +1 -0
- package/dist/elements/public/ItemForm/ItemForm.d.ts +19 -0
- package/dist/elements/public/ItemForm/ItemForm.js +96 -0
- package/dist/elements/public/ItemForm/ItemForm.js.map +1 -0
- package/dist/elements/public/ItemForm/index.d.ts +19 -0
- package/dist/elements/public/ItemForm/index.js +21 -0
- package/dist/elements/public/ItemForm/index.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.d.ts +6 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.js +23 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/InternalItemFormCartControl.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.d.ts +6 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.js +8 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormCartControl/index.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.d.ts +6 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.js +31 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/InternalItemFormInventoryControl.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.d.ts +5 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.js +7 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormInventoryControl/index.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.d.ts +6 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.js +48 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/InternalItemFormLineItemDiscountControl.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.d.ts +7 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.js +9 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormLineItemDiscountControl/index.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.d.ts +6 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.js +32 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/InternalItemFormShippingControl.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.d.ts +5 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.js +7 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormShippingControl/index.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.d.ts +6 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.js +75 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/InternalItemFormSubscriptionControl.js.map +1 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.d.ts +8 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.js +10 -0
- package/dist/elements/public/ItemForm/internal/InternalItemFormSubscriptionControl/index.js.map +1 -0
- package/dist/elements/public/ItemForm/types.d.ts +3 -0
- package/dist/elements/public/ItemForm/types.js +2 -0
- package/dist/elements/public/ItemForm/types.js.map +1 -0
- package/dist/elements/public/ItemOptionCard/ItemOptionCard.d.ts +25 -0
- package/dist/elements/public/ItemOptionCard/ItemOptionCard.js +56 -0
- package/dist/elements/public/ItemOptionCard/ItemOptionCard.js.map +1 -0
- package/dist/elements/public/ItemOptionCard/index.d.ts +6 -0
- package/dist/elements/public/ItemOptionCard/index.js +8 -0
- package/dist/elements/public/ItemOptionCard/index.js.map +1 -0
- package/dist/elements/public/ItemOptionCard/types.d.ts +11 -0
- package/dist/elements/public/ItemOptionCard/types.js +2 -0
- package/dist/elements/public/ItemOptionCard/types.js.map +1 -0
- package/dist/elements/public/ItemOptionForm/ItemOptionForm.d.ts +12 -0
- package/dist/elements/public/ItemOptionForm/ItemOptionForm.js +23 -0
- package/dist/elements/public/ItemOptionForm/ItemOptionForm.js.map +1 -0
- package/dist/elements/public/ItemOptionForm/index.d.ts +5 -0
- package/dist/elements/public/ItemOptionForm/index.js +7 -0
- package/dist/elements/public/ItemOptionForm/index.js.map +1 -0
- package/dist/elements/public/ItemOptionForm/types.d.ts +3 -0
- package/dist/elements/public/ItemOptionForm/types.js +2 -0
- package/dist/elements/public/ItemOptionForm/types.js.map +1 -0
- package/dist/elements/public/NucleonElement/NucleonElement.d.ts +7 -1
- package/dist/elements/public/NucleonElement/NucleonElement.js +13 -1
- package/dist/elements/public/NucleonElement/NucleonElement.js.map +1 -1
- package/dist/elements/public/Pagination/Pagination.d.ts +3 -1
- package/dist/elements/public/Pagination/Pagination.js +3 -2
- package/dist/elements/public/Pagination/Pagination.js.map +1 -1
- package/dist/elements/public/PaymentCard/PaymentCard.js +1 -1
- package/dist/elements/public/PaymentCard/PaymentCard.js.map +1 -1
- package/dist/elements/public/QueryBuilder/QueryBuilder.d.ts +3 -1
- package/dist/elements/public/QueryBuilder/QueryBuilder.js +2 -1
- package/dist/elements/public/QueryBuilder/QueryBuilder.js.map +1 -1
- package/dist/elements/public/ReportForm/ReportForm.d.ts +9 -9
- package/dist/elements/public/ReportForm/ReportForm.js +159 -73
- package/dist/elements/public/ReportForm/ReportForm.js.map +1 -1
- package/dist/elements/public/ReportForm/index.d.ts +4 -1
- package/dist/elements/public/ReportForm/index.js +4 -1
- package/dist/elements/public/ReportForm/index.js.map +1 -1
- package/dist/elements/public/ReportForm/types.d.ts +2 -4
- package/dist/elements/public/ReportForm/types.js.map +1 -1
- package/dist/elements/public/ReportForm/utils.d.ts +16 -0
- package/dist/elements/public/ReportForm/utils.js +73 -0
- package/dist/elements/public/ReportForm/utils.js.map +1 -0
- package/dist/elements/public/ShipmentCard/ShipmentCard.d.ts +22 -0
- package/dist/elements/public/ShipmentCard/ShipmentCard.js +114 -0
- package/dist/elements/public/ShipmentCard/ShipmentCard.js.map +1 -0
- package/dist/elements/public/ShipmentCard/index.d.ts +7 -0
- package/dist/elements/public/ShipmentCard/index.js +9 -0
- package/dist/elements/public/ShipmentCard/index.js.map +1 -0
- package/dist/elements/public/ShipmentCard/types.d.ts +18 -0
- package/dist/elements/public/ShipmentCard/types.js +2 -0
- package/dist/elements/public/ShipmentCard/types.js.map +1 -0
- package/dist/elements/public/Spinner/Spinner.d.ts +4 -2
- package/dist/elements/public/Spinner/Spinner.js +3 -1
- package/dist/elements/public/Spinner/Spinner.js.map +1 -1
- package/dist/elements/public/SwipeActions/SwipeActions.d.ts +13 -0
- package/dist/elements/public/SwipeActions/SwipeActions.js +116 -0
- package/dist/elements/public/SwipeActions/SwipeActions.js.map +1 -0
- package/dist/elements/public/SwipeActions/index.d.ts +2 -0
- package/dist/elements/public/SwipeActions/index.js +4 -0
- package/dist/elements/public/SwipeActions/index.js.map +1 -0
- package/dist/elements/public/Transaction/Transaction.d.ts +13 -0
- package/dist/elements/public/Transaction/Transaction.js +101 -0
- package/dist/elements/public/Transaction/Transaction.js.map +1 -0
- package/dist/elements/public/Transaction/index.d.ts +19 -0
- package/dist/elements/public/Transaction/index.js +21 -0
- package/dist/elements/public/Transaction/index.js.map +1 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/InternalTransactionActionsControl.d.ts +9 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/InternalTransactionActionsControl.js +69 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/InternalTransactionActionsControl.js.map +1 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.d.ts +4 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.js +6 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionActionsControl/index.js.map +1 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/InternalTransactionCustomerControl.d.ts +5 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/InternalTransactionCustomerControl.js +36 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/InternalTransactionCustomerControl.js.map +1 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/index.d.ts +7 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/index.js +9 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionCustomerControl/index.js.map +1 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/InternalTransactionPostActionControl.d.ts +11 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/InternalTransactionPostActionControl.js +50 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/InternalTransactionPostActionControl.js.map +1 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/index.d.ts +5 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/index.js +7 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionPostActionControl/index.js.map +1 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/InternalTransactionSummaryControl.d.ts +8 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/InternalTransactionSummaryControl.js +77 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/InternalTransactionSummaryControl.js.map +1 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/index.d.ts +4 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/index.js +6 -0
- package/dist/elements/public/Transaction/internal/InternalTransactionSummaryControl/index.js.map +1 -0
- package/dist/elements/public/Transaction/types.d.ts +3 -0
- package/dist/elements/public/Transaction/types.js +2 -0
- package/dist/elements/public/Transaction/types.js.map +1 -0
- package/dist/elements/public/index.d.ts +11 -0
- package/dist/elements/public/index.defined.d.ts +11 -0
- package/dist/elements/public/index.defined.js +11 -0
- package/dist/elements/public/index.defined.js.map +1 -1
- package/dist/elements/public/index.js +11 -0
- package/dist/elements/public/index.js.map +1 -1
- package/dist/mixins/configurable.d.ts +5 -3
- package/dist/mixins/configurable.js +39 -4
- package/dist/mixins/configurable.js.map +1 -1
- package/dist/mixins/inferrable.d.ts +15 -0
- package/dist/mixins/inferrable.js +66 -0
- package/dist/mixins/inferrable.js.map +1 -0
- package/dist/mixins/themeable.js +6637 -4
- package/dist/mixins/themeable.js.map +1 -1
- package/dist/mixins/translatable.d.ts +3 -1
- package/dist/mixins/translatable.js +13 -1
- package/dist/mixins/translatable.js.map +1 -1
- package/package.json +1 -1
- package/dist/cdn/shared-061f64fc.js +0 -1
- package/dist/cdn/shared-21419f10.js +0 -1
- package/dist/cdn/shared-29db2caa.js +0 -230
- package/dist/cdn/shared-2a89f737.js +0 -1
- package/dist/cdn/shared-312fdfb6.js +0 -1
- package/dist/cdn/shared-385ab830.js +0 -1
- package/dist/cdn/shared-39e3ae67.js +0 -1
- package/dist/cdn/shared-4190da71.js +0 -1
- package/dist/cdn/shared-4792a0b8.js +0 -1
- package/dist/cdn/shared-5535f38f.js +0 -15
- package/dist/cdn/shared-56646cd3.js +0 -1
- package/dist/cdn/shared-63eaded9.js +0 -159
- package/dist/cdn/shared-7f0a9790.js +0 -1
- package/dist/cdn/shared-9783e5ce.js +0 -1
- package/dist/cdn/shared-9da4822a.js +0 -12
- package/dist/cdn/shared-b07ef791.js +0 -1
- package/dist/cdn/shared-da709e9d.js +0 -1
- package/dist/cdn/shared-db4aacb2.js +0 -1
- package/dist/cdn/shared-dd4971b5.js +0 -1
- package/dist/cdn/shared-df730f90.js +0 -1
- package/dist/cdn/shared-e94c2670.js +0 -1
- package/dist/cdn/shared-edfe5274.js +0 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import{D as t,r as e,e as n,g as r,f as i,h as s,o,b as a,p as l,j as c,k as d,m as h,c as u,n as p,q as _,s as f,t as m,v as y}from"./shared-ea9af4b0.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
|
+
*/class g{constructor(t){this.value=t.toString()}toString(){return this.value}}function P(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof g)return function(t){if(t instanceof g)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}const b=function(t,...e){const n=document.createElement("template");return n.innerHTML=e.reduce(((e,n,r)=>e+P(n)+t[r+1]),t[0]),n};
|
|
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
|
+
*/let w,v=null,C=window.HTMLImports&&window.HTMLImports.whenReady||null;function S(t){requestAnimationFrame((function(){C?C(t):(v||(v=new Promise((t=>{w=t})),"complete"===document.readyState?w():document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&w()}))),v.then((function(){t&&t()})))}))}
|
|
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
|
+
*/const E="__shadyCSSCachedStyle";let T=null,O=null;class A{constructor(){this.customStyles=[],this.enqueued=!1,S((()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}enqueueDocumentValidation(){!this.enqueued&&O&&(this.enqueued=!0,S(O))}addCustomStyle(t){t.__seenByShadyCSS||(t.__seenByShadyCSS=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}getStyleForCustomStyle(t){if(t[E])return t[E];let e;return e=t.getStyle?t.getStyle():t,e}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const n=t[e];if(n[E])continue;const r=this.getStyleForCustomStyle(n);if(r){const t=r.__appliedElement||r;T&&T(t),n[E]=t}}return t}}A.prototype.addCustomStyle=A.prototype.addCustomStyle,A.prototype.getStyleForCustomStyle=A.prototype.getStyleForCustomStyle,A.prototype.processStyles=A.prototype.processStyles,Object.defineProperties(A.prototype,{transformCallback:{get:()=>T,set(t){T=t}},validateCallback:{get:()=>O,set(t){let e=!1;O||(e=!0),O=t,e&&this.enqueueDocumentValidation()}}});
|
|
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
|
+
*/
|
|
38
|
+
const N=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,x=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,I=/@media\s(.*)/;
|
|
39
|
+
/**
|
|
40
|
+
@license
|
|
41
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
42
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
43
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
44
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
45
|
+
Code distributed by Google as part of the polymer project is also
|
|
46
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
47
|
+
*/
|
|
48
|
+
function L(t,e){for(let n in e)null===n?t.style.removeProperty(n):t.style.setProperty(n,e[n])}function k(t,e){const n=window.getComputedStyle(t).getPropertyValue(e);return n?n.trim():""}function R(t){const e=x.test(t)||N.test(t);return x.lastIndex=0,N.lastIndex=0,e}
|
|
49
|
+
/**
|
|
50
|
+
@license
|
|
51
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
52
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
53
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
54
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
55
|
+
Code distributed by Google as part of the polymer project is also
|
|
56
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
57
|
+
*/const M=!(window.ShadyDOM&&window.ShadyDOM.inUse);let D,F;function z(t){D=(!t||!t.shimcssproperties)&&(M||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(F=window.ShadyCSS.cssBuild);const H=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?D=window.ShadyCSS.nativeCss:window.ShadyCSS?(z(window.ShadyCSS),window.ShadyCSS=void 0):z(window.WebComponents&&window.WebComponents.flags);const B=D,j=new A;
|
|
58
|
+
/**
|
|
59
|
+
@license
|
|
60
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
61
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
62
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
63
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
64
|
+
Code distributed by Google as part of the polymer project is also
|
|
65
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
66
|
+
*/window.ShadyCSS||(window.ShadyCSS={prepareTemplate(t,e,n){},prepareTemplateDom(t,e){},prepareTemplateStyles(t,e,n){},styleSubtree(t,e){j.processStyles(),L(t,e)},styleElement(t){j.processStyles()},styleDocument(t){j.processStyles(),L(document.body,t)},getComputedStyleValue:(t,e)=>k(t,e),flushCustomStyles(){},nativeCss:B,nativeShadow:M,cssBuild:F,disableRuntime:H}),window.ShadyCSS.CustomStyleInterface=j;function Y(e){return t.import(e)}function $(t){let n=t.body?t.body:t;const r=e(n.textContent,t.baseURI),i=document.createElement("style");return i.textContent=r,i}function q(t){const e=t.trim().split(/\s+/),n=[];for(let t=0;t<e.length;t++)n.push(...J(e[t]));return n}function J(t){const e=Y(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...U(e));const n=e.querySelector("template");n&&t.push(...V(n,e.assetpath)),e._styles=t}return e._styles}function V(t,n){if(!t._styles){const r=[],i=t.content.querySelectorAll("style");for(let t=0;t<i.length;t++){let s=i[t],o=s.getAttribute("include");o&&r.push(...q(o).filter((function(t,e,n){return n.indexOf(t)===e}))),n&&(s.textContent=e(s.textContent,n)),r.push(s)}t._styles=r}return t._styles}function U(t){const e=[],n=t.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<n.length;t++){let r=n[t];if(r.import){const t=r.import,n=r.hasAttribute("shady-unscoped");if(n&&!t._unscopedStyle){const e=$(t);e.setAttribute("shady-unscoped",""),t._unscopedStyle=e}else t._style||(t._style=$(t));e.push(n?t._unscopedStyle:t._style)}}return e}function X(t){let e=Y(t);if(e&&void 0===e._cssText){let t=function(t){let e="",n=U(t);for(let t=0;t<n.length;t++)e+=n[t].textContent;return e}
|
|
67
|
+
/**
|
|
68
|
+
@license
|
|
69
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
70
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
71
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
72
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
73
|
+
Code distributed by Google as part of the polymer project is also
|
|
74
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
75
|
+
*/(e),n=e.querySelector("template");n&&(t+=function(t,e){let n="";const r=V(t,e);for(let t=0;t<r.length;t++){let e=r[t];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}(n,e.assetpath)),e._cssText=t||null}return e||console.warn("Could not find style data in module named",t),e&&e._cssText||""}const G=window.ShadyCSS.CustomStyleInterface;class W extends HTMLElement{constructor(){super(),this._style=null,G.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const t=this.querySelector("style");if(!t)return null;this._style=t;const e=t.getAttribute("include");return e&&(t.removeAttribute("include"),t.textContent=function(t){let e=t.trim().split(/\s+/),n="";for(let t=0;t<e.length;t++)n+=X(e[t]);return n}(e)+t.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}window.customElements.define("custom-style",W);
|
|
76
|
+
/**
|
|
77
|
+
@license
|
|
78
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
79
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
80
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
81
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
82
|
+
Code distributed by Google as part of the polymer project is also
|
|
83
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
84
|
+
*/
|
|
85
|
+
let Z=0;const K=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let n=Z++;return function(r){let i=r.__mixinSet;if(i&&i[n])return r;let s=e,o=s.get(r);if(!o){o=t(r),s.set(r,o);let e=Object.create(o.__mixinSet||i||null);e[n]=!0,o.__mixinSet=e}return o}},Q=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t;
|
|
86
|
+
/**
|
|
87
|
+
@license
|
|
88
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
89
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
90
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
91
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
92
|
+
Code distributed by Google as part of the polymer project is also
|
|
93
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
94
|
+
*/
|
|
95
|
+
/**
|
|
96
|
+
@license
|
|
97
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
98
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
99
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
100
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
101
|
+
Code distributed by Google as part of the polymer project is also
|
|
102
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
103
|
+
*/
|
|
104
|
+
function tt(t){return t.indexOf(".")>=0}function et(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function nt(t,e){return 0===t.indexOf(e+".")}function rt(t,e){return 0===e.indexOf(t+".")}function it(t,e,n){return e+n.slice(t.length)}function st(t,e){return t===e||nt(t,e)||rt(t,e)}function ot(t){if(Array.isArray(t)){let e=[];for(let n=0;n<t.length;n++){let r=t[n].toString().split(".");for(let t=0;t<r.length;t++)e.push(r[t])}return e.join(".")}return t}function at(t){return Array.isArray(t)?ot(t).split("."):t.toString().split(".")}function lt(t,e,n){let r=t,i=at(e);for(let t=0;t<i.length;t++){if(!r)return;r=r[i[t]]}return n&&(n.path=i.join(".")),r}function ct(t,e,n){let r=t,i=at(e),s=i[i.length-1];if(i.length>1){for(let t=0;t<i.length-1;t++){if(r=r[i[t]],!r)return}r[s]=n}else r[e]=n;return i.join(".")}
|
|
105
|
+
/**
|
|
106
|
+
@license
|
|
107
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
108
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
109
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
110
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
111
|
+
Code distributed by Google as part of the polymer project is also
|
|
112
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
113
|
+
*/const dt={},ht=/-[a-z]/g,ut=/([A-Z])/g;function pt(t){return dt[t]||(dt[t]=t.indexOf("-")<0?t:t.replace(ht,(t=>t[1].toUpperCase())))}function _t(t){return dt[t]||(dt[t]=t.replace(ut,"-$1").toLowerCase())}
|
|
114
|
+
/**
|
|
115
|
+
@license
|
|
116
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
117
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
118
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
119
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
120
|
+
Code distributed by Google as part of the polymer project is also
|
|
121
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
122
|
+
*/let ft=0,mt=0,yt=[],gt=0,Pt=!1,bt=document.createTextNode("");new window.MutationObserver((function(){Pt=!1;const t=yt.length;for(let e=0;e<t;e++){let t=yt[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}yt.splice(0,t),mt+=t})).observe(bt,{characterData:!0});const wt={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},vt={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},Ct={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},St={run:t=>(Pt||(Pt=!0,bt.textContent=gt++),yt.push(t),ft++),cancel(t){const e=t-mt;if(e>=0){if(!yt[e])throw new Error("invalid async handle: "+t);yt[e]=null}}},Et=St,Tt=K((t=>class extends t{static createProperties(t){const e=this.prototype;for(let n in t)n in e||e._createPropertyAccessor(n)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,n){let r=this.__data[t],i=this._shouldPropertyChange(t,e,r);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=r),this.__data[t]=e,this.__dataPending[t]=e),i}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Et.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(t,e,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,n)),this.__dataCounter--}_shouldPropertiesChange(t,e,n){return Boolean(e)}_propertiesChanged(t,e,n){}_shouldPropertyChange(t,e,n){return n!==e&&(n==n||e==e)}attributeChangedCallback(t,e,n,r){e!==n&&this._attributeToProperty(t,n),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,n,r)}_attributeToProperty(t,e,n){if(!this.__serializing){const r=this.__dataAttributes,i=r&&r[t]||t;this[i]=this._deserializeValue(e,n||this.constructor.typeForProperty(i))}}_propertyToAttribute(t,e,n){this.__serializing=!0,n=arguments.length<3?this[t]:n,this._valueToNodeAttribute(this,n,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,n){const r=this._serializeValue(e);"class"!==n&&"name"!==n&&"slot"!==n||(t=Q(t)),void 0===r?t.removeAttribute(n):t.setAttribute(n,r)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}})),Ot={};let At=HTMLElement.prototype;for(;At;){let t=Object.getOwnPropertyNames(At);for(let e=0;e<t.length;e++)Ot[t[e]]=!0;At=Object.getPrototypeOf(At)}const Nt=K((t=>{const e=Tt(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(pt(t[e]))}static attributeNameForProperty(t){return _t(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){const n=this;n.hasAttribute(t)||this._valueToNodeAttribute(n,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t)try{return JSON.stringify(t)}catch(t){return""}}return super._serializeValue(t)}_deserializeValue(t,e){let n;switch(e){case Object:try{n=JSON.parse(t)}catch(e){n=t}break;case Array:try{n=JSON.parse(t)}catch(e){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:n=isNaN(t)?String(t):Number(t),n=new Date(n);break;default:n=super._deserializeValue(t,e)}return n}_definePropertyAccessor(t,e){!function(t,e){if(!Ot[e]){let n=t[e];void 0!==n&&(t.__data?t._setPendingProperty(e,n):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=n))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),xt={"dom-if":!0,"dom-repeat":!0};
|
|
123
|
+
/**
|
|
124
|
+
@license
|
|
125
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
126
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
127
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
128
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
129
|
+
Code distributed by Google as part of the polymer project is also
|
|
130
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
131
|
+
*/let It=!1,Lt=!1;function kt(t){(function(){if(!It){It=!0;const t=document.createElement("textarea");t.placeholder="a",Lt=t.placeholder===t.textContent}return Lt})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}function Rt(t){let e=t.getAttribute("is");if(e&&xt[e]){let n=t;for(n.removeAttribute("is"),t=n.ownerDocument.createElement(e),n.parentNode.replaceChild(t,n),t.appendChild(n);n.attributes.length;)t.setAttribute(n.attributes[0].name,n.attributes[0].value),n.removeAttribute(n.attributes[0].name)}return t}function Mt(t,e){let n=e.parentInfo&&Mt(t,e.parentInfo);if(!n)return t;for(let t=n.firstChild,r=0;t;t=t.nextSibling)if(e.parentIndex===r++)return t}function Dt(t,e,n,r){r.id&&(e[r.id]=n)}function Ft(t,e,n){if(n.events&&n.events.length)for(let r,i=0,s=n.events;i<s.length&&(r=s[i]);i++)t._addMethodEventListenerToNode(e,r.name,r.value,t)}function zt(t,e,n,r){n.templateInfo&&(e._templateInfo=n.templateInfo,e._parentTemplateInfo=r)}const Ht=K((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let n=t._templateInfo={};n.nodeInfoList=[],n.nestedTemplate=Boolean(e),n.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,n,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,n){return this._parseTemplateNode(t.content,e,n)}static _parseTemplateNode(t,e,n){let r=!1,i=t;return"template"!=i.localName||i.hasAttribute("preserve-content")?"slot"===i.localName&&(e.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(i,e,n)||r,kt(i),i.firstChild&&this._parseTemplateChildNodes(i,e,n),i.hasAttributes&&i.hasAttributes()&&(r=this._parseTemplateNodeAttributes(i,e,n)||r),r||n.noted}static _parseTemplateChildNodes(t,e,n){if("script"!==t.localName&&"style"!==t.localName)for(let r,i=t.firstChild,s=0;i;i=r){if("template"==i.localName&&(i=Rt(i)),r=i.nextSibling,i.nodeType===Node.TEXT_NODE){let n=r;for(;n&&n.nodeType===Node.TEXT_NODE;)i.textContent+=n.textContent,r=n.nextSibling,t.removeChild(n),n=r;if(e.stripWhiteSpace&&!i.textContent.trim()){t.removeChild(i);continue}}let o={parentIndex:s,parentInfo:n};this._parseTemplateNode(i,e,o)&&(o.infoIndex=e.nodeInfoList.push(o)-1),i.parentNode&&s++}}static _parseTemplateNestedTemplate(t,e,n){let r=t,i=this._parseTemplate(r,e);return(i.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),n.templateInfo=i,!0}static _parseTemplateNodeAttributes(t,e,n){let r=!1,i=Array.from(t.attributes);for(let s,o=i.length-1;s=i[o];o--)r=this._parseTemplateNodeAttribute(t,e,n,s.name,s.value)||r;return r}static _parseTemplateNodeAttribute(t,e,n,r,i){return"on-"===r.slice(0,3)?(t.removeAttribute(r),n.events=n.events||[],n.events.push({name:r.slice(3),value:i}),!0):"id"===r&&(n.id=i,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let n=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,r=e.content||t.content,i=document.importNode(r,!0);i.__noInsertionPoint=!e.hasInsertionPoint;let s=i.nodeList=new Array(n.length);i.$={};for(let t,r=0,o=n.length;r<o&&(t=n[r]);r++){let n=s[r]=Mt(i,t);Dt(0,i.$,n,t),zt(0,n,t,e),Ft(this,n,t)}return i=i,i}_addMethodEventListenerToNode(t,e,n,r){let i=function(t,e,n){return t=t._methodHost||t,function(e){t[n]?t[n](e,e.detail):console.warn("listener method `"+n+"` not defined")}}(r=r||t,0,n);return this._addEventListenerToNode(t,e,i),i}_addEventListenerToNode(t,e,n){t.addEventListener(e,n)}_removeEventListenerFromNode(t,e,n){t.removeEventListener(e,n)}}));
|
|
132
|
+
/**
|
|
133
|
+
* @fileoverview
|
|
134
|
+
* @suppress {checkPrototypalTypes}
|
|
135
|
+
* @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
136
|
+
* This code may only be used under the BSD style license found at
|
|
137
|
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
138
|
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
139
|
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
140
|
+
* Google as part of the polymer project is also subject to an additional IP
|
|
141
|
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
142
|
+
*/let Bt=0;const jt=[],Yt={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},$t=/[A-Z]/;function qt(t,e,n){let r=t[e];if(r){if(!t.hasOwnProperty(e)&&(r=t[e]=Object.create(t[e]),n))for(let t in r){let e=r[t],n=r[t]=Array(e.length);for(let t=0;t<e.length;t++)n[t]=e[t]}}else r=t[e]={};return r}function Jt(t,e,n,r,i,s){if(e){let o=!1;const a=Bt++;for(let l in n){let c=e[i?et(l):l];if(c)for(let e,d=0,h=c.length;d<h&&(e=c[d]);d++)e.info&&e.info.lastRun===a||i&&!Ut(l,e.trigger)||(e.info&&(e.info.lastRun=a),e.fn(t,l,n,r,e.info,i,s),o=!0)}return o}return!1}function Vt(t,e,n,r,i,s,o,a){let l=!1,c=e[o?et(r):r];if(c)for(let e,d=0,h=c.length;d<h&&(e=c[d]);d++)e.info&&e.info.lastRun===n||o&&!Ut(r,e.trigger)||(e.info&&(e.info.lastRun=n),e.fn(t,r,i,s,e.info,o,a),l=!0);return l}function Ut(t,e){if(e){let n=e.name;return n==t||!(!e.structured||!nt(n,t))||!(!e.wildcard||!rt(n,t))}return!0}function Xt(t,e,n,r,i){let s="string"==typeof i.method?t[i.method]:i.method,o=i.property;s?s.call(t,t.__data[o],r[o]):i.dynamicFn||console.warn("observer method `"+i.method+"` not defined")}function Gt(t,e,n){let r=et(e);if(r!==e){return Wt(t,_t(r)+"-changed",n[e],e),!0}return!1}function Wt(t,e,n,r){let i={value:n,queueProperty:!0};r&&(i.path=r),Q(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function Zt(t,e,n,r,i,s){let o=(s?et(e):e)!=e?e:null,a=o?lt(t,o):t.__data[e];o&&void 0===a&&(a=n[e]),Wt(t,i.eventName,a,o)}function Kt(t,e,n,r,i){let o=t.__data[e];s&&(o=s(o,i.attrName,"attribute",t)),t._propertyToAttribute(e,i.attrName,o)}function Qt(t,e,n,r){let i=t[Yt.COMPUTE];if(i)if(o){Bt++;const s=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const n=t[Yt.COMPUTE];let r,{counts:i,ready:s,total:o}=function(t){const e=t.__computeInfo,n={},r=t[Yt.COMPUTE],i=[];let s=0;for(let t in e){const r=e[t];s+=n[t]=r.args.filter((t=>!t.literal)).length+(r.dynamicFn?1:0)}for(let t in r)e[t]||i.push(t);return{counts:n,ready:i,total:s}}(t);for(;r=s.shift();){e.set(r,e.size);const t=n[r];t&&t.forEach((t=>{const e=t.info.methodInfo;--o,0==--i[e]&&s.push(e)}))}if(0!==o){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),o=[];for(let t in e)ee(t,i,o,s,r);let a;for(;a=o.shift();)ne(t,"",e,n,a)&&ee(a.methodInfo,i,o,s,r);Object.assign(n,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let s=e;for(;Jt(t,i,s,n,r);)Object.assign(n,t.__dataOld),Object.assign(e,t.__dataPending),s=t.__dataPending,t.__dataPending=null}}const te=(t,e,n)=>{let r=0,i=e.length-1,s=-1;for(;r<=i;){const o=r+i>>1,a=n.get(e[o].methodInfo)-n.get(t.methodInfo);if(a<0)r=o+1;else{if(!(a>0)){s=o;break}i=o-1}}s<0&&(s=i+1),e.splice(s,0,t)},ee=(t,e,n,r,i)=>{const s=e[i?et(t):t];if(s)for(let e=0;e<s.length;e++){const o=s[e];o.info.lastRun===Bt||i&&!Ut(t,o.trigger)||(o.info.lastRun=Bt,te(o.info,n,r))}};function ne(t,e,n,r,i){let s=ce(t,e,n,r,i);if(s===jt)return!1;let o=i.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[o]?t._setPendingProperty(o,s,!0):(t[o]=s,!1)}function re(t,e,n,r,i,s,o){n.bindings=n.bindings||[];let a={kind:r,target:i,parts:s,literal:o,isCompound:1!==s.length};if(n.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||_t(i)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let n=0;n<a.parts.length;n++){let r=a.parts[n];r.compoundIndex=n,ie(t,e,a,r,l)}}function ie(t,e,n,r,i){if(!r.literal)if("attribute"===n.kind&&"-"===n.target[0])console.warn("Cannot set attribute "+n.target+' because "-" is not a valid attribute starting character');else{let s=r.dependencies,o={index:i,binding:n,part:r,evaluator:t};for(let n=0;n<s.length;n++){let r=s[n];"string"==typeof r&&(r=_e(r),r.wildcard=!0),t._addTemplatePropertyEffect(e,r.rootProperty,{fn:se,info:o,trigger:r})}}}function se(t,e,n,r,i,o,a){let l=a[i.index],c=i.binding,d=i.part;if(o&&d.source&&e.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let r=n[e];e=it(d.source,c.target,e),l._setPendingPropertyOrPath(e,r,!1,!0)&&t._enqueueClient(l)}else{let a=i.evaluator._evaluateBinding(t,d,e,n,r,o);a!==jt&&function(t,e,n,r,i){i=function(t,e,n,r){if(n.isCompound){let i=t.__dataCompoundStorage[n.target];i[r.compoundIndex]=e,e=i.join("")}"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e));return e}(e,i,n,r),s&&(i=s(i,n.target,n.kind,e));if("attribute"==n.kind)t._valueToNodeAttribute(e,i,n.target);else{let r=n.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[r]?e[Yt.READ_ONLY]&&e[Yt.READ_ONLY][r]||e._setPendingProperty(r,i)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,r,i)}}(t,l,c,d,a)}}function oe(t,e){if(e.isCompound){let n=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),r=e.parts,i=new Array(r.length);for(let t=0;t<r.length;t++)i[t]=r[t].literal;let s=e.target;n[s]=i,e.literal&&"property"==e.kind&&("className"===s&&(t=Q(t)),t[s]=e.literal)}}function ae(t,e,n){if(n.listenerEvent){let r=n.parts[0];t.addEventListener(n.listenerEvent,(function(t){!function(t,e,n,r,i){let s,o=t.detail,a=o&&o.path;a?(r=it(n,r,a),s=o&&o.value):s=t.currentTarget[n],s=i?!s:s,e[Yt.READ_ONLY]&&e[Yt.READ_ONLY][r]||!e._setPendingPropertyOrPath(r,s,!0,Boolean(a))||o&&o.queueProperty||e._invalidateProperties()}(t,e,n.target,r.source,r.negate)}))}}function le(t,e,n,r,i,s){s=e.static||s&&("object"!=typeof s||s[e.methodName]);let o={methodName:e.methodName,args:e.args,methodInfo:i,dynamicFn:s};for(let i,s=0;s<e.args.length&&(i=e.args[s]);s++)i.literal||t._addPropertyEffect(i.rootProperty,n,{fn:r,info:o,trigger:i});return s&&t._addPropertyEffect(e.methodName,n,{fn:r,info:o}),o}function ce(t,e,n,r,i){let s=t._methodHost||t,o=s[i.methodName];if(o){let r=t._marshalArgs(i.args,e,n);return r===jt?jt:o.apply(s,r)}i.dynamicFn||console.warn("method `"+i.methodName+"` not defined")}const de=[],he=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?((?:[a-zA-Z_$][\\w.:$\\-*]*)\\s*(?:\\(\\s*(?:(?:(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)(?:,\\s*(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*))*)?)\\)\\s*)?)(?:]]|}})","g");function ue(t){let e="";for(let n=0;n<t.length;n++){e+=t[n].literal||""}return e}function pe(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:de};if(e[2].trim()){return function(t,e){return e.args=t.map((function(t){let n=_e(t);return n.literal||(e.static=!1),n}),this),e}(e[2].replace(/\\,/g,",").split(","),t)}return t}return null}function _e(t){let e=t.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),n={name:e,value:"",literal:!1},r=e[0];switch("-"===r&&(r=e[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=e.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(e),n.literal=!0}return n.literal||(n.rootProperty=et(e),n.structured=tt(e),n.structured&&(n.wildcard=".*"==e.slice(-2),n.wildcard&&(n.name=e.slice(0,-2)))),n}function fe(t,e,n){let r=lt(t,n);return void 0===r&&(r=e[n]),r}function me(t,e,r,i){const s={indexSplices:i};n&&!t._overrideLegacyUndefined&&(e.splices=s),t.notifyPath(r+".splices",s),t.notifyPath(r+".length",e.length),n&&!t._overrideLegacyUndefined&&(s.indexSplices=[])}function ye(t,e,n,r,i,s){me(t,e,n,[{index:r,addedCount:i,removed:s,object:e,type:"splice"}])}const ge=K((t=>{const e=Ht(Nt(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return Yt}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Pe.length){let t=Pe[Pe.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[Yt.READ_ONLY];for(let n in t)e&&e[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=t[n])}_addPropertyEffect(t,e,n){this._createPropertyAccessor(t,e==Yt.READ_ONLY);let r=qt(this,e,!0)[t];r||(r=this[e][t]=[]),r.push(n)}_removePropertyEffect(t,e,n){let r=qt(this,e,!0)[t],i=r.indexOf(n);i>=0&&r.splice(i,1)}_hasPropertyEffect(t,e){let n=this[e];return Boolean(n&&n[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,Yt.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,Yt.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,Yt.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,Yt.COMPUTE)}_setPendingPropertyOrPath(t,e,n,r){if(r||et(Array.isArray(t)?t[0]:t)!==t){if(!r){let n=lt(this,t);if(!(t=ct(this,t,e))||!super._shouldPropertyChange(t,e,n))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,n))return function(t,e,n){let r=t.__dataLinkedPaths;if(r){let i;for(let s in r){let o=r[s];rt(s,e)?(i=it(s,o,e),t._setPendingPropertyOrPath(i,n,!0,!0)):rt(o,e)&&(i=it(o,s,e),t._setPendingPropertyOrPath(i,n,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,n);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,n){n===t[e]&&"object"!=typeof n||("className"===e&&(t=Q(t)),t[e]=n)}_setPendingProperty(t,e,n){let r=this.__dataHasPaths&&tt(t),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,i[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),r?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(r||this[Yt.NOTIFY]&&this[Yt.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=n),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let n=t[e];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let n in t)!e&&this[Yt.READ_ONLY]&&this[Yt.READ_ONLY][n]||this._setPendingPropertyOrPath(n,t[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,n){let r,i=this.__dataHasPaths;this.__dataHasPaths=!1,Qt(this,e,n,i),r=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,n,i),this._flushClients(),Jt(this,this[Yt.REFLECT],e,n,i),Jt(this,this[Yt.OBSERVE],e,n,i),r&&function(t,e,n,r,i){let s,o,a=t[Yt.NOTIFY],l=Bt++;for(let o in e)e[o]&&(a&&Vt(t,a,l,o,n,r,i)||i&&Gt(t,o,n))&&(s=!0);s&&(o=t.__dataHost)&&o._invalidateProperties&&o._invalidateProperties()}(this,r,e,n,i),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,n){this[Yt.PROPAGATE]&&Jt(this,this[Yt.PROPAGATE],t,e,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,n)}_runEffectsForTemplate(t,e,n,r){const i=(e,r)=>{Jt(this,t.propertyEffects,e,n,r,t.nodeList);for(let i=t.firstChild;i;i=i.nextSibling)this._runEffectsForTemplate(i,e,n,r)};t.runEffects?t.runEffects(i,e,r):i(e,r)}linkPaths(t,e){t=ot(t),e=ot(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=ot(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let n={path:""};me(this,lt(this,t,n),n.path,e)}get(t,e){return lt(e||this,t)}set(t,e,n){n?ct(n,t,e):this[Yt.READ_ONLY]&&this[Yt.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let n={path:""},r=lt(this,t,n),i=r.length,s=r.push(...e);return e.length&&ye(this,r,n.path,i,e.length,[]),s}pop(t){let e={path:""},n=lt(this,t,e),r=Boolean(n.length),i=n.pop();return r&&ye(this,n,e.path,n.length,0,[i]),i}splice(t,e,n,...r){let i,s={path:""},o=lt(this,t,s);return e<0?e=o.length-Math.floor(-e):e&&(e=Math.floor(e)),i=2===arguments.length?o.splice(e):o.splice(e,n,...r),(r.length||i.length)&&ye(this,o,s.path,e,r.length,i),i}shift(t){let e={path:""},n=lt(this,t,e),r=Boolean(n.length),i=n.shift();return r&&ye(this,n,e.path,0,0,[i]),i}unshift(t,...e){let n={path:""},r=lt(this,t,n),i=r.unshift(...e);return e.length&&ye(this,r,n.path,0,e.length,[]),i}notifyPath(t,e){let n;if(1==arguments.length){let r={path:""};e=lt(this,t,r),n=r.path}else n=Array.isArray(t)?ot(t):t;this._setPendingPropertyOrPath(n,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var n;this._addPropertyEffect(t,Yt.READ_ONLY),e&&(this["_set"+(n=t,n[0].toUpperCase()+n.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,n){let r={property:t,method:e,dynamicFn:Boolean(n)};this._addPropertyEffect(t,Yt.OBSERVE,{fn:Xt,info:r,trigger:{name:t}}),n&&this._addPropertyEffect(e,Yt.OBSERVE,{fn:Xt,info:r,trigger:{name:e}})}_createMethodObserver(t,e){let n=pe(t);if(!n)throw new Error("Malformed observer expression '"+t+"'");le(this,n,Yt.OBSERVE,ce,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,Yt.NOTIFY,{fn:Zt,info:{eventName:_t(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,Yt.REFLECT,{fn:Kt,info:{attrName:e}})}_createComputedProperty(t,e,n){let r=pe(e);if(!r)throw new Error("Malformed computed expression '"+e+"'");const i=le(this,r,Yt.COMPUTE,ne,t,n);qt(this,"__computeInfo")[t]=i}_marshalArgs(t,e,r){const i=this.__data,s=[];for(let o=0,a=t.length;o<a;o++){let{name:a,structured:l,wildcard:c,value:d,literal:h}=t[o];if(!h)if(c){const t=rt(a,e),n=fe(i,r,t?e:a);d={path:t?e:a,value:n,base:t?lt(i,a):n}}else d=l?fe(i,r,a):i[a];if(n&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return jt;s[o]=d}return s}static addPropertyEffect(t,e,n){this.prototype._addPropertyEffect(t,e,n)}static createPropertyObserver(t,e,n){this.prototype._createPropertyObserver(t,e,n)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,n){this.prototype._createComputedProperty(t,e,n)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let n=this.constructor._parseTemplate(t),r=this.__preBoundTemplateInfo==n;if(!r)for(let t in n.propertyEffects)this._createPropertyAccessor(t);if(e)if(n=Object.create(n),n.wasPreBound=r,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,r=e.lastChild;n.parent=e,e.lastChild=n,n.previousSibling=r,r?r.nextSibling=n:e.firstChild=n}else this.__templateInfo=n;else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(t,e,n){(t.hostProps=t.hostProps||{})[e]=!0;let r=t.propertyEffects=t.propertyEffects||{};(r[e]=r[e]||[]).push(n)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),Pe.push(this);let n=super._stampTemplate(t,e);if(Pe.pop(),e.nodeList=n.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=n.firstChild;e;e=e.nextSibling)t.push(e)}return n.templateInfo=e,function(t,e){let{nodeList:n,nodeInfoList:r}=e;if(r.length)for(let e=0;e<r.length;e++){let i=r[e],s=n[e],o=i.bindings;if(o)for(let e=0;e<o.length;e++){let n=o[e];oe(s,n),ae(s,t,n)}s.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:n,nextSibling:r,parent:i}=e;n?n.nextSibling=r:i&&(i.firstChild=r),r?r.previousSibling=n:i&&(i.lastChild=n),e.nextSibling=e.previousSibling=null;let s=e.childNodes;for(let t=0;t<s.length;t++){let e=s[t];Q(Q(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,n,r){let i=e._parseTemplateNode.call(this,t,n,r);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,n);e&&(t.textContent=ue(e)||" ",re(this,n,r,"text","textContent",e),i=!0)}return i}static _parseTemplateNodeAttribute(t,n,r,i,s){let o=this._parseBindings(s,n);if(o){let e=i,s="property";$t.test(i)?s="attribute":"$"==i[i.length-1]&&(i=i.slice(0,-1),s="attribute");let a=ue(o);return a&&"attribute"==s&&("class"==i&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(i)),t.setAttribute(i,a)),"attribute"==s&&"disable-upgrade$"==e&&t.setAttribute(i,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===s&&(i=pt(i)),re(this,n,r,s,i,o,a),!0}return e._parseTemplateNodeAttribute.call(this,t,n,r,i,s)}static _parseTemplateNestedTemplate(t,n,s){let o=e._parseTemplateNestedTemplate.call(this,t,n,s);const a=t.parentNode,l=s.templateInfo,c="dom-if"===a.localName,d="dom-repeat"===a.localName;r&&(c||d)&&(a.removeChild(t),(s=s.parentInfo).templateInfo=l,s.noted=!0,o=!1);let h=l.hostProps;if(i&&c)h&&(n.hostProps=Object.assign(n.hostProps||{},h),r||(s.parentInfo.noted=!0));else{let t="{";for(let e in h){re(this,n,s,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}}return o}static _parseBindings(t,e){let n,r=[],i=0;for(;null!==(n=he.exec(t));){n.index>i&&r.push({literal:t.slice(i,n.index)});let s=n[1][0],o=Boolean(n[2]),a=n[3].trim(),l=!1,c="",d=-1;"{"==s&&(d=a.indexOf("::"))>0&&(c=a.substring(d+2),a=a.substring(0,d),l=!0);let h=pe(a),u=[];if(h){let{args:t,methodName:n}=h;for(let e=0;e<t.length;e++){let n=t[e];n.literal||u.push(n)}let r=e.dynamicFns;(r&&r[n]||h.static)&&(u.push(n),h.dynamicFn=!0)}else u.push(a);r.push({source:a,mode:s,negate:o,customEvent:l,signature:h,dependencies:u,event:c}),i=he.lastIndex}if(i&&i<t.length){let e=t.substring(i);e&&r.push({literal:e})}return r.length?r:null}static _evaluateBinding(t,e,n,r,i,s){let o;return o=e.signature?ce(t,n,r,0,e.signature):n!=e.source?lt(t,e.source):s&&tt(n)?lt(t,n):t.__data[n],e.negate&&(o=!o),o}}})),Pe=[];
|
|
143
|
+
/**
|
|
144
|
+
@license
|
|
145
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
146
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
147
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
148
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
149
|
+
Code distributed by Google as part of the polymer project is also
|
|
150
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
151
|
+
*/
|
|
152
|
+
function be(t){}
|
|
153
|
+
/**
|
|
154
|
+
@license
|
|
155
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
156
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
157
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
158
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
159
|
+
Code distributed by Google as part of the polymer project is also
|
|
160
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
161
|
+
*/const we=K((t=>{const e=Tt(t);function n(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof i?e:null}function r(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const n=t.properties;n&&(e=function(t){const e={};for(let n in t){const r=t[n];e[n]="function"==typeof r?{type:r}:r}return e}(n))}t.__ownProperties=e}return t.__ownProperties}class i extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){this.prototype;const t=this._properties;this.__observedAttributes=t?Object.keys(t).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=n(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=r(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=n(this);this.__properties=Object.assign({},t&&t._properties,r(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i})),ve=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ce=K((n=>{const r=we(ge(n));function i(t,e,n,r){n.computed&&(n.readOnly=!0),n.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,n.computed,r)),n.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!n.computed):!1===n.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),n.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===n.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),n.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===n.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),n.observer&&t._createPropertyObserver(e,n.observer,r[n.observer]),t._addPropertyToAttributeMap(e)}function s(t,e,n,r){if(!ve){const i=e.content.querySelectorAll("style"),s=V(e),o=function(t){let e=Y(t);return e?U(e):[]}(n),a=e.content.firstElementChild;for(let n=0;n<o.length;n++){let i=o[n];i.textContent=t._processStyleText(i.textContent,r),e.content.insertBefore(i,a)}let l=0;for(let e=0;e<s.length;e++){let n=s[e],o=i[l];o!==n?(n=n.cloneNode(!0),o.parentNode.insertBefore(n,o)):l++,n.textContent=t._processStyleText(n.textContent,r)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,n),p&&ve&&_){const n=e.content.querySelectorAll("style");if(n){let e="";Array.from(n).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}}return class extends r{static get polymerElementVersion(){return"3.4.1"}static _finalizeClass(){r._finalizeClass.call(this);const t=((e=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",e))||(e.__ownObservers=e.hasOwnProperty(JSCompiler_renameProperty("observers",e))?e.observers:null),e.__ownObservers);var e;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):a||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)i(this.prototype,e,t[e],t)}static createObservers(t,e){const n=this.prototype;for(let r=0;r<t.length;r++)n._createMethodObserver(t[r],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){const e=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;this._template=void 0!==e?e:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(e){let n=null;if(e&&(!f||m)&&(n=t.import(e,"template"),f&&!n))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${e}`);return n}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const e=this.importMeta;if(e)this._importPath=l(e.url);else{const e=t.import(this.is);this._importPath=e&&e.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=c,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let n in e){let r=e[n];"value"in r&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[n]=r)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let n=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof n.value?n.value.call(this):n.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,n){return e(t,n)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const n=this.importPath;s(this,e,t,n?d(n):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=Q(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),h&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=d(this.importPath)),d(t,e)}static _parseTemplateContent(t,e,n){return e.dynamicFns=e.dynamicFns||this._properties,r._parseTemplateContent.call(this,t,e,n)}static _addTemplatePropertyEffect(t,e,n){return!u||e in this._properties||n.info.part.signature&&n.info.part.signature.static||n.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${e}' used in template but not declared in 'properties'; attribute will not be observed.`),r._addTemplatePropertyEffect.call(this,t,e,n)}}})),Se=Ce(HTMLElement);
|
|
162
|
+
/**
|
|
163
|
+
* @fileoverview
|
|
164
|
+
* @suppress {checkPrototypalTypes}
|
|
165
|
+
* @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
166
|
+
* This code may only be used under the BSD style license found at
|
|
167
|
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
168
|
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
169
|
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
170
|
+
* Google as part of the polymer project is also subject to an additional IP
|
|
171
|
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
172
|
+
*/
|
|
173
|
+
/**
|
|
174
|
+
@license
|
|
175
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
176
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
177
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
178
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
179
|
+
Code distributed by Google as part of the polymer project is also
|
|
180
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
181
|
+
*/
|
|
182
|
+
class Ee{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,Te.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),Te.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(t,e,n){return t instanceof Ee?t._cancelAsync():t=new Ee,t.setConfig(e,n),t}}let Te=new Set;const Oe=function(t){Te.add(t)},Ae=function(){const t=Boolean(Te.size);return Te.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t};
|
|
183
|
+
/**
|
|
184
|
+
@license
|
|
185
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
186
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
187
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
188
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
189
|
+
Code distributed by Google as part of the polymer project is also
|
|
190
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
191
|
+
*/
|
|
192
|
+
let Ne="string"==typeof document.head.style.touchAction,xe="__polymerGestures",Ie="__polymerGesturesHandled",Le="__polymerGesturesTouchAction",ke=["mousedown","mousemove","mouseup","click"],Re=[0,1,4,2],Me=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(t){return!1}}();function De(t){return ke.indexOf(t)>-1}let Fe=!1;function ze(t){if(!De(t)&&"touchend"!==t)return Ne&&Fe&&y?{passive:!0}:void 0}!function(){try{let t=Object.defineProperty({},"passive",{get(){Fe=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}}();let He=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const Be=[],je={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},Ye={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function $e(t){let e=Array.prototype.slice.call(t.labels||[]);if(!e.length){e=[];let n=t.getRootNode();if(t.id){let r=n.querySelectorAll(`label[for = ${t.id}]`);for(let t=0;t<r.length;t++)e.push(r[t])}}return e}let qe=function(t){let e=t.sourceCapabilities;var n;if((!e||e.firesTouchEvents)&&(t[Ie]={skip:!0},"click"===t.type)){let e=!1,r=We(t);for(let t=0;t<r.length;t++){if(r[t].nodeType===Node.ELEMENT_NODE)if("label"===r[t].localName)Be.push(r[t]);else if(n=r[t],je[n.localName]){let n=$e(r[t]);for(let t=0;t<n.length;t++)e=e||Be.indexOf(n[t])>-1}if(r[t]===Ue.mouse.target)return}if(e)return;t.preventDefault(),t.stopPropagation()}};function Je(t){let e=He?["click"]:ke;for(let n,r=0;r<e.length;r++)n=e[r],t?(Be.length=0,document.addEventListener(n,qe,!0)):document.removeEventListener(n,qe,!0)}function Ve(t){let e=t.type;if(!De(e))return!1;if("mousemove"===e){let e=void 0===t.buttons?1:t.buttons;return t instanceof window.MouseEvent&&!Me&&(e=Re[t.which]||0),Boolean(1&e)}return 0===(void 0===t.button?0:t.button)}let Ue={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Xe(t,e,n){t.movefn=e,t.upfn=n,document.addEventListener("mousemove",e),document.addEventListener("mouseup",n)}function Ge(t){document.removeEventListener("mousemove",t.movefn),document.removeEventListener("mouseup",t.upfn),t.movefn=null,t.upfn=null}document.addEventListener("touchend",(function(t){Ue.mouse.mouseIgnoreJob||Je(!0),Ue.mouse.target=We(t)[0],Ue.mouse.mouseIgnoreJob=Ee.debounce(Ue.mouse.mouseIgnoreJob,wt.after(2500),(function(){Je(),Ue.mouse.target=null,Ue.mouse.mouseIgnoreJob=null}))}),!!Fe&&{passive:!0});const We=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:t=>t.composedPath&&t.composedPath()||[],Ze={},Ke=[];function Qe(t){const e=We(t);return e.length>0?e[0]:t.target}function tn(t){let e,n=t.type,r=t.currentTarget.__polymerGestures;if(!r)return;let i=r[n];if(i){if(!t[Ie]&&(t[Ie]={},"touch"===n.slice(0,5))){let e=(t=t).changedTouches[0];if("touchstart"===n&&1===t.touches.length&&(Ue.touch.id=e.identifier),Ue.touch.id!==e.identifier)return;Ne||"touchstart"!==n&&"touchmove"!==n||function(t){let e=t.changedTouches[0],n=t.type;if("touchstart"===n)Ue.touch.x=e.clientX,Ue.touch.y=e.clientY,Ue.touch.scrollDecided=!1;else if("touchmove"===n){if(Ue.touch.scrollDecided)return;Ue.touch.scrollDecided=!0;let n=function(t){let e="auto",n=We(t);for(let t,r=0;r<n.length;r++)if(t=n[r],t[Le]){e=t[Le];break}return e}(t),r=!1,i=Math.abs(Ue.touch.x-e.clientX),s=Math.abs(Ue.touch.y-e.clientY);t.cancelable&&("none"===n?r=!0:"pan-x"===n?r=s>i:"pan-y"===n&&(r=i>s)),r?t.preventDefault():an("track")}}(t)}if(e=t[Ie],!e.skip){for(let n,r=0;r<Ke.length;r++)n=Ke[r],i[n.name]&&!e[n.name]&&n.flow&&n.flow.start.indexOf(t.type)>-1&&n.reset&&n.reset();for(let r,s=0;s<Ke.length;s++)r=Ke[s],i[r.name]&&!e[r.name]&&(e[r.name]=!0,r[n](t))}}}function en(t,e,n){return!!Ze[e]&&(function(t,e,n){let r=Ze[e],i=r.deps,s=r.name,o=t[xe];o||(t[xe]=o={});for(let e,n,r=0;r<i.length;r++)e=i[r],He&&De(e)&&"click"!==e||(n=o[e],n||(o[e]=n={_count:0}),0===n._count&&t.addEventListener(e,tn,ze(e)),n[s]=(n[s]||0)+1,n._count=(n._count||0)+1);t.addEventListener(e,n),r.touchAction&&sn(t,r.touchAction)}(t,e,n),!0)}function nn(t,e,n){return!!Ze[e]&&(function(t,e,n){let r=Ze[e],i=r.deps,s=r.name,o=t[xe];if(o)for(let e,n,r=0;r<i.length;r++)e=i[r],n=o[e],n&&n[s]&&(n[s]=(n[s]||1)-1,n._count=(n._count||1)-1,0===n._count&&t.removeEventListener(e,tn,ze(e)));t.removeEventListener(e,n)}(t,e,n),!0)}function rn(t){Ke.push(t);for(let e=0;e<t.emits.length;e++)Ze[t.emits[e]]=t}function sn(t,e){Ne&&t instanceof HTMLElement&&St.run((()=>{t.style.touchAction=e})),t[Le]=e}function on(t,e,n){let r=new Event(e,{bubbles:!0,cancelable:!0,composed:!0});if(r.detail=n,Q(t).dispatchEvent(r),r.defaultPrevented){let t=n.preventer||n.sourceEvent;t&&t.preventDefault&&t.preventDefault()}}function an(t){let e=function(t){for(let e,n=0;n<Ke.length;n++){e=Ke[n];for(let n,r=0;r<e.emits.length;r++)if(n=e.emits[r],n===t)return e}return null}(t);e.info&&(e.info.prevent=!0)}function ln(t,e,n,r){e&&on(e,t,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:function(t){return an(t)}})}function cn(t,e,n){if(t.prevent)return!1;if(t.started)return!0;let r=Math.abs(t.x-e),i=Math.abs(t.y-n);return r>=5||i>=5}function dn(t,e,n){if(!e)return;let r,i=t.moves[t.moves.length-2],s=t.moves[t.moves.length-1],o=s.x-t.x,a=s.y-t.y,l=0;i&&(r=s.x-i.x,l=s.y-i.y),on(e,"track",{state:t.state,x:n.clientX,y:n.clientY,dx:o,dy:a,ddx:r,ddy:l,sourceEvent:n,hover:function(){return function(t,e){let n=document.elementFromPoint(t,e),r=n;for(;r&&r.shadowRoot&&!window.ShadyDOM;){let i=r;if(r=r.shadowRoot.elementFromPoint(t,e),i===r)break;r&&(n=r)}return n}(n.clientX,n.clientY)}})}function hn(t,e,n){let r=Math.abs(e.clientX-t.x),i=Math.abs(e.clientY-t.y),s=Qe(n||e);!s||Ye[s.localName]&&s.hasAttribute("disabled")||(isNaN(r)||isNaN(i)||r<=25&&i<=25||function(t){if("click"===t.type){if(0===t.detail)return!0;let e=Qe(t);if(!e.nodeType||e.nodeType!==Node.ELEMENT_NODE)return!0;let n=e.getBoundingClientRect(),r=t.pageX,i=t.pageY;return!(r>=n.left&&r<=n.right&&i>=n.top&&i<=n.bottom)}return!1}(e))&&(t.prevent||on(s,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:n}))}
|
|
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
|
+
*/rn({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){Ge(this.info)},mousedown:function(t){if(!Ve(t))return;let e=Qe(t),n=this;Xe(this.info,(function(t){Ve(t)||(ln("up",e,t),Ge(n.info))}),(function(t){Ve(t)&&ln("up",e,t),Ge(n.info)})),ln("down",e,t)},touchstart:function(t){ln("down",Qe(t),t.changedTouches[0],t)},touchend:function(t){ln("up",Qe(t),t.changedTouches[0],t)}}),rn({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(t){this.moves.length>2&&this.moves.shift(),this.moves.push(t)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,Ge(this.info)},mousedown:function(t){if(!Ve(t))return;let e=Qe(t),n=this,r=function(t){let r=t.clientX,i=t.clientY;cn(n.info,r,i)&&(n.info.state=n.info.started?"mouseup"===t.type?"end":"track":"start","start"===n.info.state&&an("tap"),n.info.addMove({x:r,y:i}),Ve(t)||(n.info.state="end",Ge(n.info)),e&&dn(n.info,e,t),n.info.started=!0)};Xe(this.info,r,(function(t){n.info.started&&r(t),Ge(n.info)})),this.info.x=t.clientX,this.info.y=t.clientY},touchstart:function(t){let e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove:function(t){let e=Qe(t),n=t.changedTouches[0],r=n.clientX,i=n.clientY;cn(this.info,r,i)&&("start"===this.info.state&&an("tap"),this.info.addMove({x:r,y:i}),dn(this.info,e,n),this.info.state="track",this.info.started=!0)},touchend:function(t){let e=Qe(t),n=t.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),dn(this.info,e,n))}}),rn({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(t){Ve(t)&&(this.info.x=t.clientX,this.info.y=t.clientY)},click:function(t){Ve(t)&&hn(this.info,t)},touchstart:function(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchend:function(t){hn(this.info,t.changedTouches[0],t)}});const un=K((t=>class extends t{_addEventListenerToNode(t,e,n){en(t,e,n)||super._addEventListenerToNode(t,e,n)}_removeEventListenerFromNode(t,e,n){nn(t,e,n)||super._removeEventListenerFromNode(t,e,n)}}));export{et as A,pt as B,Ee as D,Ce as E,un as G,I as M,Se as P,N as V,vt as a,en as b,F as c,B as d,Oe as e,Ae as f,R as g,b as h,Ct as i,x as j,k,H as l,K as m,M as n,Nt as o,St as p,ve as q,be as r,sn as s,wt as t,L as u,lt as v,Q as w,ge as x,st as y,it as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{T as t}from"./shared-
|
|
1
|
+
import{T as t}from"./shared-c3c424cd.js";import{a as s}from"./shared-ea9af4b0.js";let e,n,a,o,l,i,r=t=>t;class c extends(s(t,"transactions-table")){constructor(){super(...arguments),this.columns=[c.priceColumn,c.summaryColumn,c.statusColumn,c.idColumn,c.dateColumn,c.receiptColumn]}}c.priceColumn={cell:t=>t.html(e||(e=r`
|
|
2
2
|
<foxy-i18n
|
|
3
3
|
data-testclass="i18n totals"
|
|
4
4
|
class="text-m font-semibold font-tnum"
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{s as l}from"./shared-7f33a83a.js";let s;const e=l(s||(s=(l=>l)`
|
|
2
|
+
<svg class="w-full h-full" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M13.1293 19.569C12.6063 19.7786 12.264 20.2821 12.264 20.8416C12.264 21.8442 13.3124 22.5086 14.2296 22.0871L24.1531 17.5264C24.7915 17.233 25.2 16.5986 25.2 15.9008C25.2 15.2022 24.7907 14.5674 24.1515 14.2744L14.2342 9.72862C13.3144 9.30703 12.264 9.97337 12.264 10.9784C12.264 11.5361 12.6032 12.0388 13.1231 12.2513L21.6014 15.9646L13.1293 19.569Z" class="fill-current"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M25.0832 20.8977C24.7867 20.2374 24.0068 19.9404 23.3411 20.2344L13.1498 24.7352C12.4841 25.0292 12.1847 25.8028 12.4811 26.4632C12.7775 27.1235 13.5575 27.4205 14.2232 27.1265L24.4144 22.6257C25.0802 22.3317 25.3796 21.5581 25.0832 20.8977Z" class="fill-current"/>
|
|
5
|
+
</svg>
|
|
6
|
+
`));export{e as o};
|