xv-webcomponents 0.1.42 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +129 -129
- package/dist/types/components/xv-button/xv-button.d.ts +12 -21
- package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +0 -1
- package/dist/types/components/xv-header/xv-header.d.ts +2 -0
- package/dist/types/components/xv-table/_vars.d.ts +5 -1
- package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +1 -2
- package/dist/types/components/xv-text-input/_vars.d.ts +5 -0
- package/dist/types/components/xv-text-input/xv-text-input.d.ts +11 -10
- package/dist/types/components/xv-tooltip/xv-tooltip.d.ts +8 -10
- package/dist/types/components/xv-user-menu/interfaces/MenuItem.d.ts +0 -0
- package/dist/types/components/xv-user-menu/xv-user-menu.d.ts +41 -0
- package/dist/types/components.d.ts +105 -508
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/types/enum.d.ts +0 -5
- package/dist/xv-webcomponents/_vars-FbbDWn6g.js +13 -0
- package/dist/xv-webcomponents/_vars-FbbDWn6g.js.map +1 -0
- package/dist/{collection/components/xv-progress-indicator/_vars.js → xv-webcomponents/_vars-IZ3lIQzL.js} +7 -3
- package/dist/xv-webcomponents/_vars-IZ3lIQzL.js.map +1 -0
- package/dist/xv-webcomponents/enum-DTBL51oP.js +13 -0
- package/dist/xv-webcomponents/enum-DTBL51oP.js.map +1 -0
- package/dist/xv-webcomponents/index-rZAC0WRb.js +4238 -0
- package/dist/xv-webcomponents/index-rZAC0WRb.js.map +1 -0
- package/dist/xv-webcomponents/index.esm.js +13 -1
- package/dist/xv-webcomponents/index.esm.js.map +1 -1
- package/dist/xv-webcomponents/loader.esm.js.map +1 -1
- package/dist/{collection/utils/utils.js → xv-webcomponents/utils-1tk8kwKx.js} +11 -7
- package/dist/xv-webcomponents/utils-1tk8kwKx.js.map +1 -0
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js +36 -0
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-accordion-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-accordion-v2.entry.js +41 -0
- package/dist/xv-webcomponents/xv-accordion-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.esm.js.map +1 -1
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js +18 -0
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-button-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-button-v2.entry.js +35 -0
- package/dist/xv-webcomponents/xv-button-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-card-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-card-v2.entry.js +19 -0
- package/dist/xv-webcomponents/xv-card-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.js +106 -0
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.js +36 -0
- package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-dropdown-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-dropdown-v2.entry.js +136 -0
- package/dist/xv-webcomponents/xv-dropdown-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-footer.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-footer.entry.js +30 -0
- package/dist/xv-webcomponents/xv-footer.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-header.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-header.entry.js +81 -0
- package/dist/xv-webcomponents/xv-header.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-link-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-link-v2.entry.js +27 -0
- package/dist/xv-webcomponents/xv-link-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-loader-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-loader-v2.entry.js +33 -0
- package/dist/xv-webcomponents/xv-loader-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-login-modal.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-login-modal.entry.js +89 -0
- package/dist/xv-webcomponents/xv-login-modal.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-modal-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-modal-v2.entry.js +78 -0
- package/dist/xv-webcomponents/xv-modal-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-notification-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-notification-v2.entry.js +50 -0
- package/dist/xv-webcomponents/xv-notification-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.js +32 -0
- package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.js +74 -0
- package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js +21 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js +75 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-tab-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-tab-v2.entry.js +21 -0
- package/dist/xv-webcomponents/xv-tab-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-cell.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-cell.entry.js +41 -0
- package/dist/xv-webcomponents/xv-table-v2-cell.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-expand.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-expand.entry.js +29 -0
- package/dist/xv-webcomponents/xv-table-v2-expand.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-row.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-row.entry.js +66 -0
- package/dist/xv-webcomponents/xv-table-v2-row.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2.entry.js +53 -0
- package/dist/xv-webcomponents/xv-table-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-tabs-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-tabs-v2.entry.js +109 -0
- package/dist/xv-webcomponents/xv-tabs-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-tag-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-tag-v2.entry.js +29 -0
- package/dist/xv-webcomponents/xv-tag-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-text-input-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-text-input-v2.entry.js +65 -0
- package/dist/xv-webcomponents/xv-text-input-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.js +24 -0
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-user-menu.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-user-menu.entry.js +43 -0
- package/dist/xv-webcomponents/xv-user-menu.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +49 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
- package/package.json +53 -53
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
- package/dist/cjs/index-BE3kw7I4.js +0 -36
- package/dist/cjs/index-BE3kw7I4.js.map +0 -1
- package/dist/cjs/index-MLh9SbX2.js +0 -1917
- package/dist/cjs/index-MLh9SbX2.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -10
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -16
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/xv-accordion-v2_34.cjs.entry.js +0 -3510
- package/dist/cjs/xv-accordion-v2_34.cjs.entry.js.map +0 -1
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +0 -20
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js.map +0 -1
- package/dist/cjs/xv-breadcrumbs-v2.entry.cjs.js.map +0 -1
- package/dist/cjs/xv-webcomponents.cjs.js +0 -28
- package/dist/cjs/xv-webcomponents.cjs.js.map +0 -1
- package/dist/collection/assets/fonts/fontawesome5/fa-brands-400.svg +0 -3717
- package/dist/collection/assets/fonts/fontawesome5/fa-duotone-900.svg +0 -15326
- package/dist/collection/assets/fonts/fontawesome5/fa-light-300.svg +0 -12420
- package/dist/collection/assets/fonts/fontawesome5/fa-regular-400.svg +0 -11323
- package/dist/collection/assets/fonts/fontawesome5/fa-solid-900.svg +0 -9653
- package/dist/collection/collection-manifest.json +0 -46
- package/dist/collection/components/xv-accordion/xv-accordion.css +0 -3
- package/dist/collection/components/xv-accordion/xv-accordion.js +0 -163
- package/dist/collection/components/xv-accordion/xv-accordion.js.map +0 -1
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.css +0 -68
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +0 -132
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js.map +0 -1
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.css +0 -3
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +0 -19
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js.map +0 -1
- package/dist/collection/components/xv-button/xv-button-v2.css +0 -173
- package/dist/collection/components/xv-button/xv-button.js +0 -229
- package/dist/collection/components/xv-button/xv-button.js.map +0 -1
- package/dist/collection/components/xv-card/xv-card.css +0 -63
- package/dist/collection/components/xv-card/xv-card.js +0 -122
- package/dist/collection/components/xv-card/xv-card.js.map +0 -1
- package/dist/collection/components/xv-checkbox/xv-checkbox.css +0 -138
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +0 -402
- package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +0 -1
- package/dist/collection/components/xv-data-table/_vars.js +0 -3
- package/dist/collection/components/xv-data-table/_vars.js.map +0 -1
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.css +0 -90
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +0 -182
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js.map +0 -1
- package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.css +0 -7
- package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.js +0 -101
- package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.js.map +0 -1
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.css +0 -71
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js +0 -354
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js.map +0 -1
- package/dist/collection/components/xv-data-table/xv-data-table.css +0 -104
- package/dist/collection/components/xv-data-table/xv-data-table.js +0 -114
- package/dist/collection/components/xv-data-table/xv-data-table.js.map +0 -1
- package/dist/collection/components/xv-dropdown/_vars.js +0 -2
- package/dist/collection/components/xv-dropdown/_vars.js.map +0 -1
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.css +0 -14
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +0 -153
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js.map +0 -1
- package/dist/collection/components/xv-dropdown/xv-dropdown.css +0 -232
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +0 -443
- package/dist/collection/components/xv-dropdown/xv-dropdown.js.map +0 -1
- package/dist/collection/components/xv-file-uploader/_vars.js +0 -6
- package/dist/collection/components/xv-file-uploader/_vars.js.map +0 -1
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.css +0 -136
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +0 -448
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js.map +0 -1
- package/dist/collection/components/xv-footer/xv-footer.css +0 -230
- package/dist/collection/components/xv-footer/xv-footer.js +0 -37
- package/dist/collection/components/xv-footer/xv-footer.js.map +0 -1
- package/dist/collection/components/xv-header/xv-header.css +0 -22587
- package/dist/collection/components/xv-header/xv-header.js +0 -54
- package/dist/collection/components/xv-header/xv-header.js.map +0 -1
- package/dist/collection/components/xv-link/xv-link.css +0 -67
- package/dist/collection/components/xv-link/xv-link.js +0 -132
- package/dist/collection/components/xv-link/xv-link.js.map +0 -1
- package/dist/collection/components/xv-loader/xv-loader.css +0 -65
- package/dist/collection/components/xv-loader/xv-loader.js +0 -106
- package/dist/collection/components/xv-loader/xv-loader.js.map +0 -1
- package/dist/collection/components/xv-login-modal/xv-login-modal.css +0 -22575
- package/dist/collection/components/xv-login-modal/xv-login-modal.js +0 -146
- package/dist/collection/components/xv-login-modal/xv-login-modal.js.map +0 -1
- package/dist/collection/components/xv-modal/xv-modal.css +0 -102
- package/dist/collection/components/xv-modal/xv-modal.js +0 -226
- package/dist/collection/components/xv-modal/xv-modal.js.map +0 -1
- package/dist/collection/components/xv-notification/_vars.js +0 -8
- package/dist/collection/components/xv-notification/_vars.js.map +0 -1
- package/dist/collection/components/xv-notification/xv-notification.css +0 -113
- package/dist/collection/components/xv-notification/xv-notification.js +0 -118
- package/dist/collection/components/xv-notification/xv-notification.js.map +0 -1
- package/dist/collection/components/xv-number-input/xv-number-input.css +0 -128
- package/dist/collection/components/xv-number-input/xv-number-input.js +0 -373
- package/dist/collection/components/xv-number-input/xv-number-input.js.map +0 -1
- package/dist/collection/components/xv-overflow-menu/_vars.js +0 -6
- package/dist/collection/components/xv-overflow-menu/_vars.js.map +0 -1
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.css +0 -45
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +0 -137
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js.map +0 -1
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.css +0 -105
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +0 -202
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js.map +0 -1
- package/dist/collection/components/xv-progress-indicator/_vars.js.map +0 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.css +0 -96
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +0 -54
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js.map +0 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.css +0 -45
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +0 -157
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js.map +0 -1
- package/dist/collection/components/xv-table/_vars.js +0 -3
- package/dist/collection/components/xv-table/_vars.js.map +0 -1
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +0 -93
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +0 -160
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js.map +0 -1
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +0 -58
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +0 -76
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js.map +0 -1
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +0 -39
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +0 -333
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js.map +0 -1
- package/dist/collection/components/xv-table/xv-table.css +0 -137
- package/dist/collection/components/xv-table/xv-table.js +0 -159
- package/dist/collection/components/xv-table/xv-table.js.map +0 -1
- package/dist/collection/components/xv-tabs/_vars.js +0 -11
- package/dist/collection/components/xv-tabs/_vars.js.map +0 -1
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.css +0 -10
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +0 -106
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js.map +0 -1
- package/dist/collection/components/xv-tabs/xv-tabs.css +0 -139
- package/dist/collection/components/xv-tabs/xv-tabs.js +0 -221
- package/dist/collection/components/xv-tabs/xv-tabs.js.map +0 -1
- package/dist/collection/components/xv-tag/xv-tag.css +0 -97
- package/dist/collection/components/xv-tag/xv-tag.js +0 -158
- package/dist/collection/components/xv-tag/xv-tag.js.map +0 -1
- package/dist/collection/components/xv-text-input/xv-text-input.css +0 -144
- package/dist/collection/components/xv-text-input/xv-text-input.js +0 -324
- package/dist/collection/components/xv-text-input/xv-text-input.js.map +0 -1
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.css +0 -95
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +0 -201
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js.map +0 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.css +0 -43
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +0 -114
- package/dist/collection/components/xv-tooltip/xv-tooltip.js.map +0 -1
- package/dist/collection/index.js +0 -11
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/scss/xv/images/xv-sprite.svg +0 -1
- package/dist/collection/scss/xv/sprite/images/xv-sprite.svg +0 -1
- package/dist/collection/types/enum.js +0 -15
- package/dist/collection/types/enum.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -6
- package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
- package/dist/esm/index-DLYJiP99.js +0 -1907
- package/dist/esm/index-DLYJiP99.js.map +0 -1
- package/dist/esm/index-NvoCloOY.js +0 -31
- package/dist/esm/index-NvoCloOY.js.map +0 -1
- package/dist/esm/index.js +0 -4
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -14
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/xv-accordion-v2_34.entry.js +0 -3475
- package/dist/esm/xv-accordion-v2_34.entry.js.map +0 -1
- package/dist/esm/xv-breadcrumbs-v2.entry.js +0 -18
- package/dist/esm/xv-breadcrumbs-v2.entry.js.map +0 -1
- package/dist/esm/xv-webcomponents.js +0 -24
- package/dist/esm/xv-webcomponents.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/xv-data-table/_vars.d.ts +0 -11
- package/dist/types/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.d.ts +0 -13
- package/dist/types/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.d.ts +0 -9
- package/dist/types/components/xv-data-table/xv-data-table-row/xv-data-table-row.d.ts +0 -25
- package/dist/types/components/xv-data-table/xv-data-table.d.ts +0 -9
- package/dist/types/components/xv-file-uploader/_vars.d.ts +0 -4
- package/dist/types/components/xv-file-uploader/xv-file-uploader.d.ts +0 -36
- package/dist/types/components/xv-number-input/xv-number-input.d.ts +0 -26
- package/dist/types/components/xv-toggle-tip/xv-toggle-tip.d.ts +0 -19
- package/dist/xv-webcomponents/p-5b63a259.entry.js +0 -2
- package/dist/xv-webcomponents/p-5b63a259.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-9c06f44c.entry.js +0 -2
- package/dist/xv-webcomponents/p-9c06f44c.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-DLYJiP99.js +0 -3
- package/dist/xv-webcomponents/p-DLYJiP99.js.map +0 -1
- package/dist/xv-webcomponents/p-DQuL1Twl.js +0 -2
- package/dist/xv-webcomponents/p-DQuL1Twl.js.map +0 -1
- package/dist/xv-webcomponents/p-NvoCloOY.js +0 -2
- package/dist/xv-webcomponents/p-NvoCloOY.js.map +0 -1
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--progress-indicator-icon-size: 22px;
|
|
3
|
-
--progress-indicator-font-size: var(--fz-md, 14px);
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: flex-start;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
font-family: var(--ff-body, inherit);
|
|
8
|
-
overflow-x: auto;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
:host([variant=horizontal]) ::slotted(xv-progress-indicator-v2-item) {
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
column-gap: var(--gap-xs, 8px);
|
|
14
|
-
justify-content: flex-start;
|
|
15
|
-
padding-left: 0;
|
|
16
|
-
white-space: nowrap;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
text-overflow: ellipsis;
|
|
19
|
-
text-align: left;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
:host([size=xs]) {
|
|
23
|
-
--progress-indicator-icon-size: 14px;
|
|
24
|
-
--progress-indicator-font-size: var(--fz-md, 14px);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([size=sm]) {
|
|
28
|
-
--progress-indicator-icon-size: 16px;
|
|
29
|
-
--progress-indicator-font-size: var(--fz-md, 14px);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
:host([size=md]) {
|
|
33
|
-
--progress-indicator-icon-size: 22px;
|
|
34
|
-
--progress-indicator-font-size: var(--fz-md, 14px);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
:host([size=lg]) {
|
|
38
|
-
--progress-indicator-icon-size: 24px;
|
|
39
|
-
--progress-indicator-font-size: var(--fz-lg, 18px);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
:host([size=xl]) {
|
|
43
|
-
--progress-indicator-icon-size: 32px;
|
|
44
|
-
--progress-indicator-font-size: var(--fz-xl, 20px);
|
|
45
|
-
}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./_vars";
|
|
3
|
-
import { SIZE_VAR } from "../../types/enum";
|
|
4
|
-
import { forEach } from "../../utils/utils";
|
|
5
|
-
export class XvProgressIndicator {
|
|
6
|
-
constructor() {
|
|
7
|
-
/**
|
|
8
|
-
* Current progress
|
|
9
|
-
* from 0 to 100
|
|
10
|
-
*/
|
|
11
|
-
this.progress = 0;
|
|
12
|
-
/**
|
|
13
|
-
* Progress variant
|
|
14
|
-
* enum PROGRESS_VARIANTS
|
|
15
|
-
* possible option `horizontal`
|
|
16
|
-
*/
|
|
17
|
-
this.variant = PROGRESS_VARIANTS.DEFAULT;
|
|
18
|
-
/**
|
|
19
|
-
* Size of progress
|
|
20
|
-
* enum SIZE_VAR
|
|
21
|
-
* possible options `XS | SM | MD | LG | XL`
|
|
22
|
-
*/
|
|
23
|
-
this.size = SIZE_VAR.MD;
|
|
24
|
-
}
|
|
25
|
-
// Update 'xv-progress-indicator-item' done status
|
|
26
|
-
updateChildItems() {
|
|
27
|
-
const items = this.el.children;
|
|
28
|
-
const itemsCount = this.el.childElementCount;
|
|
29
|
-
const progressPerItem = 100 / itemsCount;
|
|
30
|
-
if (!items.length || !itemsCount)
|
|
31
|
-
return;
|
|
32
|
-
forEach(items, (item, index) => {
|
|
33
|
-
var _a;
|
|
34
|
-
const itemProgressStart = index * progressPerItem;
|
|
35
|
-
let status;
|
|
36
|
-
const localProgress = Math.min(Math.max((this.progress - itemProgressStart) / progressPerItem, 0), 1) * 100;
|
|
37
|
-
if (localProgress >= 100) {
|
|
38
|
-
status = PROGRESS_ITEM_STATUS.DONE;
|
|
39
|
-
}
|
|
40
|
-
else if (localProgress > 0) {
|
|
41
|
-
status = PROGRESS_ITEM_STATUS.IN_PROGRESS;
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
status = PROGRESS_ITEM_STATUS.NO_STARTED;
|
|
45
|
-
}
|
|
46
|
-
// Set item current status
|
|
47
|
-
item.setAttribute('status', status);
|
|
48
|
-
// Update progress line
|
|
49
|
-
const line = (_a = item === null || item === void 0 ? void 0 : item.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.line');
|
|
50
|
-
if (line)
|
|
51
|
-
line.style.width = `${localProgress}%`;
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
// Load initial done status
|
|
55
|
-
componentDidLoad() {
|
|
56
|
-
this.updateChildItems();
|
|
57
|
-
}
|
|
58
|
-
render() {
|
|
59
|
-
return (h(Host, { key: '05e84a5e734b88c4d2a3c2206e4e5ea75c0fc969', variant: this.variant, size: this.size, class: { 'xv-progress-indicator': true } }, h("slot", { key: '12dcb64216cfc45663d73d66bbd3225be005e897' })));
|
|
60
|
-
}
|
|
61
|
-
static get is() { return "xv-progress-indicator-v2"; }
|
|
62
|
-
static get encapsulation() { return "shadow"; }
|
|
63
|
-
static get originalStyleUrls() {
|
|
64
|
-
return {
|
|
65
|
-
"$": ["xv-progress-indicator.scss"]
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
static get styleUrls() {
|
|
69
|
-
return {
|
|
70
|
-
"$": ["xv-progress-indicator.css"]
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
static get properties() {
|
|
74
|
-
return {
|
|
75
|
-
"progress": {
|
|
76
|
-
"type": "number",
|
|
77
|
-
"attribute": "progress",
|
|
78
|
-
"mutable": false,
|
|
79
|
-
"complexType": {
|
|
80
|
-
"original": "number",
|
|
81
|
-
"resolved": "number",
|
|
82
|
-
"references": {}
|
|
83
|
-
},
|
|
84
|
-
"required": false,
|
|
85
|
-
"optional": false,
|
|
86
|
-
"docs": {
|
|
87
|
-
"tags": [],
|
|
88
|
-
"text": "Current progress\nfrom 0 to 100"
|
|
89
|
-
},
|
|
90
|
-
"getter": false,
|
|
91
|
-
"setter": false,
|
|
92
|
-
"reflect": true,
|
|
93
|
-
"defaultValue": "0"
|
|
94
|
-
},
|
|
95
|
-
"variant": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"attribute": "variant",
|
|
98
|
-
"mutable": false,
|
|
99
|
-
"complexType": {
|
|
100
|
-
"original": "PROGRESS_VARIANTS",
|
|
101
|
-
"resolved": "PROGRESS_VARIANTS.DEFAULT | PROGRESS_VARIANTS.HORIZONTAL",
|
|
102
|
-
"references": {
|
|
103
|
-
"PROGRESS_VARIANTS": {
|
|
104
|
-
"location": "import",
|
|
105
|
-
"path": "./_vars",
|
|
106
|
-
"id": "src/components/xv-progress-indicator/_vars.ts::PROGRESS_VARIANTS"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"required": false,
|
|
111
|
-
"optional": false,
|
|
112
|
-
"docs": {
|
|
113
|
-
"tags": [],
|
|
114
|
-
"text": "Progress variant\nenum PROGRESS_VARIANTS\npossible option `horizontal`"
|
|
115
|
-
},
|
|
116
|
-
"getter": false,
|
|
117
|
-
"setter": false,
|
|
118
|
-
"reflect": false,
|
|
119
|
-
"defaultValue": "PROGRESS_VARIANTS.DEFAULT"
|
|
120
|
-
},
|
|
121
|
-
"size": {
|
|
122
|
-
"type": "string",
|
|
123
|
-
"attribute": "size",
|
|
124
|
-
"mutable": false,
|
|
125
|
-
"complexType": {
|
|
126
|
-
"original": "SIZE_VAR",
|
|
127
|
-
"resolved": "SIZE_VAR.LG | SIZE_VAR.MD | SIZE_VAR.SM | SIZE_VAR.XL | SIZE_VAR.XS",
|
|
128
|
-
"references": {
|
|
129
|
-
"SIZE_VAR": {
|
|
130
|
-
"location": "import",
|
|
131
|
-
"path": "../../types/enum",
|
|
132
|
-
"id": "src/types/enum.ts::SIZE_VAR"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"required": false,
|
|
137
|
-
"optional": false,
|
|
138
|
-
"docs": {
|
|
139
|
-
"tags": [],
|
|
140
|
-
"text": "Size of progress\nenum SIZE_VAR\npossible options `XS | SM | MD | LG | XL`"
|
|
141
|
-
},
|
|
142
|
-
"getter": false,
|
|
143
|
-
"setter": false,
|
|
144
|
-
"reflect": false,
|
|
145
|
-
"defaultValue": "SIZE_VAR.MD"
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
static get elementRef() { return "el"; }
|
|
150
|
-
static get watchers() {
|
|
151
|
-
return [{
|
|
152
|
-
"propName": "progress",
|
|
153
|
-
"methodName": "updateChildItems"
|
|
154
|
-
}];
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
//# sourceMappingURL=xv-progress-indicator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xv-progress-indicator.js","sourceRoot":"","sources":["../../../src/components/xv-progress-indicator/xv-progress-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAO5C,MAAM,OAAO,mBAAmB;IALhC;QAOE;;;WAGG;QACsB,aAAQ,GAAW,CAAC,CAAC;QAC9C;;;;WAIG;QACK,YAAO,GAAsB,iBAAiB,CAAC,OAAO,CAAC;QAC/D;;;;WAIG;QACK,SAAI,GAAa,QAAQ,CAAC,EAAE,CAAC;KA+CtC;IA7CC,kDAAkD;IAElD,gBAAgB;QACd,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC;QAC7C,MAAM,eAAe,GAAG,GAAG,GAAG,UAAU,CAAC;QAEzC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,UAAU;YAAE,OAAO;QAEzC,OAAO,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;;YAC7B,MAAM,iBAAiB,GAAG,KAAK,GAAG,eAAe,CAAC;YAClD,IAAI,MAA4B,CAAC;YACjC,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAC5B,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,iBAAiB,CAAC,GAAG,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,CACtE,GAAG,GAAG,CAAC;YAER,IAAI,aAAa,IAAI,GAAG,EAAE,CAAC;gBACzB,MAAM,GAAG,oBAAoB,CAAC,IAAI,CAAC;YACrC,CAAC;iBAAM,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC;gBAC7B,MAAM,GAAG,oBAAoB,CAAC,WAAW,CAAC;YAC5C,CAAC;iBAAM,CAAC;gBACN,MAAM,GAAG,oBAAoB,CAAC,UAAU,CAAC;YAC3C,CAAC;YAED,0BAA0B;YACzB,IAAoB,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;YAErD,uBAAuB;YACvB,MAAM,IAAI,GAAG,MAAC,IAAoB,aAApB,IAAI,uBAAJ,IAAI,CAAkB,UAAU,0CAAE,aAAa,CAAC,OAAO,CAAgB,CAAC;YACtF,IAAI,IAAI;gBAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,aAAa,GAAG,CAAC;QACnD,CAAC,CAAC,CAAC;IACL,CAAC;IAED,2BAA2B;IAC3B,gBAAgB;QACd,IAAI,CAAC,gBAAgB,EAAE,CAAA;IACzB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,uBAAuB,EAAE,IAAI,EAAE;YACpF,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop, Watch, Element } from '@stencil/core';\nimport { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from './_vars';\nimport { SIZE_VAR } from '../../types/enum';\nimport { forEach } from '../../utils/utils';\n\n@Component({\n tag: 'xv-progress-indicator-v2',\n styleUrl: 'xv-progress-indicator.scss',\n shadow: true,\n})\nexport class XvProgressIndicator {\n @Element() el: HTMLElement;\n /**\n * Current progress\n * from 0 to 100\n */\n @Prop({ reflect: true }) progress: number = 0;\n /**\n * Progress variant\n * enum PROGRESS_VARIANTS\n * possible option `horizontal`\n */\n @Prop() variant: PROGRESS_VARIANTS = PROGRESS_VARIANTS.DEFAULT;\n /**\n * Size of progress\n * enum SIZE_VAR\n * possible options `XS | SM | MD | LG | XL`\n */\n @Prop() size: SIZE_VAR = SIZE_VAR.MD;\n\n // Update 'xv-progress-indicator-item' done status\n @Watch('progress')\n updateChildItems() {\n const items = this.el.children;\n const itemsCount = this.el.childElementCount;\n const progressPerItem = 100 / itemsCount;\n\n if (!items.length || !itemsCount) return;\n\n forEach(items, (item, index) => {\n const itemProgressStart = index * progressPerItem;\n let status: PROGRESS_ITEM_STATUS;\n const localProgress = Math.min(\n Math.max((this.progress - itemProgressStart) / progressPerItem, 0), 1\n ) * 100;\n\n if (localProgress >= 100) {\n status = PROGRESS_ITEM_STATUS.DONE;\n } else if (localProgress > 0) {\n status = PROGRESS_ITEM_STATUS.IN_PROGRESS;\n } else {\n status = PROGRESS_ITEM_STATUS.NO_STARTED;\n }\n\n // Set item current status\n (item as HTMLElement).setAttribute('status', status);\n\n // Update progress line\n const line = (item as HTMLElement)?.shadowRoot?.querySelector('.line') as HTMLElement;\n if (line) line.style.width = `${localProgress}%`;\n });\n }\n\n // Load initial done status\n componentDidLoad() {\n this.updateChildItems()\n }\n\n render() {\n return (\n <Host variant={this.variant} size={this.size} class={{ 'xv-progress-indicator': true }}>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_vars.js","sourceRoot":"","sources":["../../../src/components/xv-table/_vars.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAAC;AAC9C,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC","sourcesContent":["import { XV_SORT_DIR } from '../../types/enum';\n\nexport interface SelectRowDto {\n name: string;\n checked: boolean;\n value?: string | number | object;\n partial?: boolean;\n header?: boolean;\n expandable?: boolean;\n}\n\nexport const XV_EXPANDABLE_KEY = 'expandable';\nexport const XV_TABLE_TAG = 'xv-table-v2';\n\nexport interface XVTableSortDto {\n name?: string;\n value: XV_SORT_DIR;\n}\n"]}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
:host {
|
|
3
|
-
white-space: nowrap;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
text-overflow: ellipsis;
|
|
6
|
-
padding: var(--xv-table-padding-y) var(--xv-table-padding-x);
|
|
7
|
-
color: var(--text-primary, #333);
|
|
8
|
-
font-family: var(--ff-body, Tahoma);
|
|
9
|
-
font-size: 14px;
|
|
10
|
-
font-style: normal;
|
|
11
|
-
font-weight: 400;
|
|
12
|
-
line-height: 1.2;
|
|
13
|
-
letter-spacing: 0.16px;
|
|
14
|
-
transition: 0.25s ease-in-out background-color;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:host([multiline]) {
|
|
18
|
-
display: -webkit-box;
|
|
19
|
-
-webkit-line-clamp: 2;
|
|
20
|
-
-webkit-box-orient: vertical;
|
|
21
|
-
white-space: initial;
|
|
22
|
-
padding-bottom: 1px;
|
|
23
|
-
padding-top: 0;
|
|
24
|
-
line-height: 1.2;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([align=left]) {
|
|
28
|
-
text-align: left;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:host([align=right]) {
|
|
32
|
-
text-align: right;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
:host([align=center]) {
|
|
36
|
-
text-align: center;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
:host([sort]) {
|
|
40
|
-
position: relative;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
user-select: none;
|
|
43
|
-
}
|
|
44
|
-
:host([sort]):before, :host([sort]):after {
|
|
45
|
-
font-size: 12px;
|
|
46
|
-
line-height: 10px;
|
|
47
|
-
display: inline-flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
position: absolute;
|
|
52
|
-
right: 8px;
|
|
53
|
-
pointer-events: none;
|
|
54
|
-
transition: 350ms ease-in-out opacity;
|
|
55
|
-
opacity: 0;
|
|
56
|
-
}
|
|
57
|
-
:host([sort]):before {
|
|
58
|
-
content: "▲";
|
|
59
|
-
top: 50%;
|
|
60
|
-
transform: translateY(calc(-50% - 5px));
|
|
61
|
-
}
|
|
62
|
-
:host([sort])::after {
|
|
63
|
-
content: "▼";
|
|
64
|
-
top: 50%;
|
|
65
|
-
transform: translateY(calc(-50% + 5px));
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
:host([sort]:hover) {
|
|
69
|
-
background-color: var(--layer-accent-hover-01, #E3E3E3);
|
|
70
|
-
}
|
|
71
|
-
:host([sort]:hover)::before, :host([sort]:hover)::after {
|
|
72
|
-
opacity: 1;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host([sort=asc]) {
|
|
76
|
-
background-color: var(--layer-accent-active-01, #D1D1D1);
|
|
77
|
-
}
|
|
78
|
-
:host([sort=asc])::before {
|
|
79
|
-
opacity: 1;
|
|
80
|
-
}
|
|
81
|
-
:host([sort=asc])::after {
|
|
82
|
-
display: none;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
:host([sort=desc]) {
|
|
86
|
-
background-color: var(--layer-accent-active-01, #D1D1D1);
|
|
87
|
-
}
|
|
88
|
-
:host([sort=desc])::before {
|
|
89
|
-
display: none;
|
|
90
|
-
}
|
|
91
|
-
:host([sort=desc])::after {
|
|
92
|
-
opacity: 1;
|
|
93
|
-
}
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { forEach, uidGenerator } from "../../../utils/utils";
|
|
3
|
-
import { XV_SORT_DIR } from "../../../types/enum";
|
|
4
|
-
export class XvTableCell {
|
|
5
|
-
handleSort() {
|
|
6
|
-
if (this.sort === undefined)
|
|
7
|
-
return;
|
|
8
|
-
let sort = this.sort;
|
|
9
|
-
if (this.sort === '')
|
|
10
|
-
sort = XV_SORT_DIR.NONE;
|
|
11
|
-
this.sort = sort === XV_SORT_DIR.NONE ?
|
|
12
|
-
XV_SORT_DIR.ASC : sort === XV_SORT_DIR.ASC ?
|
|
13
|
-
XV_SORT_DIR.DESC : XV_SORT_DIR.NONE;
|
|
14
|
-
forEach(this.el.parentElement.children, (cell) => {
|
|
15
|
-
if (cell !== this.el && cell.hasAttribute('sort')) {
|
|
16
|
-
cell.setAttribute('sort', 'none');
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
if (!this.name)
|
|
20
|
-
this.name = uidGenerator();
|
|
21
|
-
this.sortChange.emit({ name: this.name, value: this.sort });
|
|
22
|
-
}
|
|
23
|
-
;
|
|
24
|
-
render() {
|
|
25
|
-
return (h(Host, { key: '81ba9b0d8bd1652b30259af7a177b27185c49dee' }, h("slot", { key: '5b0517d3001ba92944f2032307541d7db6eb7b27' })));
|
|
26
|
-
}
|
|
27
|
-
static get is() { return "xv-table-v2-cell"; }
|
|
28
|
-
static get encapsulation() { return "shadow"; }
|
|
29
|
-
static get originalStyleUrls() {
|
|
30
|
-
return {
|
|
31
|
-
"$": ["xv-table-cell.scss"]
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
static get styleUrls() {
|
|
35
|
-
return {
|
|
36
|
-
"$": ["xv-table-cell.css"]
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
static get properties() {
|
|
40
|
-
return {
|
|
41
|
-
"multiline": {
|
|
42
|
-
"type": "boolean",
|
|
43
|
-
"attribute": "multiline",
|
|
44
|
-
"mutable": false,
|
|
45
|
-
"complexType": {
|
|
46
|
-
"original": "boolean",
|
|
47
|
-
"resolved": "boolean",
|
|
48
|
-
"references": {}
|
|
49
|
-
},
|
|
50
|
-
"required": false,
|
|
51
|
-
"optional": true,
|
|
52
|
-
"docs": {
|
|
53
|
-
"tags": [],
|
|
54
|
-
"text": ""
|
|
55
|
-
},
|
|
56
|
-
"getter": false,
|
|
57
|
-
"setter": false,
|
|
58
|
-
"reflect": true
|
|
59
|
-
},
|
|
60
|
-
"name": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"attribute": "name",
|
|
63
|
-
"mutable": true,
|
|
64
|
-
"complexType": {
|
|
65
|
-
"original": "string",
|
|
66
|
-
"resolved": "string",
|
|
67
|
-
"references": {}
|
|
68
|
-
},
|
|
69
|
-
"required": false,
|
|
70
|
-
"optional": true,
|
|
71
|
-
"docs": {
|
|
72
|
-
"tags": [],
|
|
73
|
-
"text": ""
|
|
74
|
-
},
|
|
75
|
-
"getter": false,
|
|
76
|
-
"setter": false,
|
|
77
|
-
"reflect": true
|
|
78
|
-
},
|
|
79
|
-
"align": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"attribute": "align",
|
|
82
|
-
"mutable": false,
|
|
83
|
-
"complexType": {
|
|
84
|
-
"original": "'left' | 'right' | 'center'",
|
|
85
|
-
"resolved": "\"center\" | \"left\" | \"right\"",
|
|
86
|
-
"references": {}
|
|
87
|
-
},
|
|
88
|
-
"required": false,
|
|
89
|
-
"optional": true,
|
|
90
|
-
"docs": {
|
|
91
|
-
"tags": [],
|
|
92
|
-
"text": ""
|
|
93
|
-
},
|
|
94
|
-
"getter": false,
|
|
95
|
-
"setter": false,
|
|
96
|
-
"reflect": true
|
|
97
|
-
},
|
|
98
|
-
"sort": {
|
|
99
|
-
"type": "string",
|
|
100
|
-
"attribute": "sort",
|
|
101
|
-
"mutable": true,
|
|
102
|
-
"complexType": {
|
|
103
|
-
"original": "XV_SORT_DIR | ''",
|
|
104
|
-
"resolved": "\"\" | XV_SORT_DIR.ASC | XV_SORT_DIR.DESC | XV_SORT_DIR.NONE",
|
|
105
|
-
"references": {
|
|
106
|
-
"XV_SORT_DIR": {
|
|
107
|
-
"location": "import",
|
|
108
|
-
"path": "../../../types/enum",
|
|
109
|
-
"id": "src/types/enum.ts::XV_SORT_DIR"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"required": false,
|
|
114
|
-
"optional": true,
|
|
115
|
-
"docs": {
|
|
116
|
-
"tags": [],
|
|
117
|
-
"text": ""
|
|
118
|
-
},
|
|
119
|
-
"getter": false,
|
|
120
|
-
"setter": false,
|
|
121
|
-
"reflect": true
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
static get events() {
|
|
126
|
-
return [{
|
|
127
|
-
"method": "sortChange",
|
|
128
|
-
"name": "sortChange",
|
|
129
|
-
"bubbles": true,
|
|
130
|
-
"cancelable": true,
|
|
131
|
-
"composed": true,
|
|
132
|
-
"docs": {
|
|
133
|
-
"tags": [],
|
|
134
|
-
"text": ""
|
|
135
|
-
},
|
|
136
|
-
"complexType": {
|
|
137
|
-
"original": "XVTableSortDto",
|
|
138
|
-
"resolved": "XVTableSortDto",
|
|
139
|
-
"references": {
|
|
140
|
-
"XVTableSortDto": {
|
|
141
|
-
"location": "import",
|
|
142
|
-
"path": "../_vars",
|
|
143
|
-
"id": "src/components/xv-table/_vars.ts::XVTableSortDto"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}];
|
|
148
|
-
}
|
|
149
|
-
static get elementRef() { return "el"; }
|
|
150
|
-
static get listeners() {
|
|
151
|
-
return [{
|
|
152
|
-
"name": "click",
|
|
153
|
-
"method": "handleSort",
|
|
154
|
-
"target": undefined,
|
|
155
|
-
"capture": false,
|
|
156
|
-
"passive": false
|
|
157
|
-
}];
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
//# sourceMappingURL=xv-table-cell.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xv-table-cell.js","sourceRoot":"","sources":["../../../../src/components/xv-table/xv-table-cell/xv-table-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/F,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAOlD,MAAM,OAAO,WAAW;IAStB,UAAU;QACR,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS;YAAE,OAAO;QACpC,IAAI,IAAI,GAAqB,IAAI,CAAC,IAAI,CAAC;QACvC,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE;YAAE,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;QAE9C,IAAI,CAAC,IAAI,GAAG,IAAI,KAAK,WAAW,CAAC,IAAI,CAAC,CAAC;YACrC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,GAAG,CAAC,CAAC;YAC1C,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC;QAExC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;YAC/C,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;gBAClD,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YACpC,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,CAAC,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,YAAY,EAAE,CAAC;QAC3C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAC9D,CAAC;IAAA,CAAC;IAEF,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YAAC,8DAAQ,CAAO,CACtB,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Element, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport { XVTableSortDto } from '../_vars';\nimport { forEach, uidGenerator } from '../../../utils/utils';\nimport { XV_SORT_DIR } from '../../../types/enum';\n\n@Component({\n tag: 'xv-table-v2-cell',\n styleUrl: 'xv-table-cell.scss',\n shadow: true,\n})\nexport class XvTableCell {\n @Element() el: HTMLElement;\n @Prop({ reflect: true }) multiline?: boolean;\n @Prop({ reflect: true, mutable: true }) name?: string;\n @Prop({ reflect: true }) align?: 'left' | 'right' | 'center';\n @Prop({ reflect: true, mutable: true }) sort?: XV_SORT_DIR | '';\n @Event({ eventName: 'sortChange' }) sortChange: EventEmitter<XVTableSortDto>;\n\n @Listen('click')\n handleSort() {\n if (this.sort === undefined) return;\n let sort: XV_SORT_DIR | '' = this.sort;\n if (this.sort === '') sort = XV_SORT_DIR.NONE;\n\n this.sort = sort === XV_SORT_DIR.NONE ?\n XV_SORT_DIR.ASC : sort === XV_SORT_DIR.ASC ?\n XV_SORT_DIR.DESC : XV_SORT_DIR.NONE;\n\n forEach(this.el.parentElement.children, (cell) => {\n if (cell !== this.el && cell.hasAttribute('sort')) {\n cell.setAttribute('sort', 'none');\n }\n });\n\n if (!this.name) this.name = uidGenerator();\n this.sortChange.emit({ name: this.name, value: this.sort });\n };\n\n render() {\n return (\n <Host><slot /></Host>\n );\n }\n}\n"]}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
position: relative;
|
|
4
|
-
transition: 0.25s ease-in-out background-color;
|
|
5
|
-
}
|
|
6
|
-
:host .expand-btn {
|
|
7
|
-
z-index: 9;
|
|
8
|
-
position: absolute;
|
|
9
|
-
left: max(10px, var(--xv-table-padding-x));
|
|
10
|
-
top: max(2px, var(--xv-table-padding-y) + 2px);
|
|
11
|
-
background-color: transparent;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
outline: none;
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
display: block;
|
|
18
|
-
width: 8.5px;
|
|
19
|
-
height: 8.5px;
|
|
20
|
-
border-top: none;
|
|
21
|
-
border-left: none;
|
|
22
|
-
border-right: 2px solid var(--icon-primary, #333);
|
|
23
|
-
border-bottom: 2px solid var(--icon-primary, #333);
|
|
24
|
-
transform: rotate(45deg);
|
|
25
|
-
transform-origin: center center;
|
|
26
|
-
transition: 0.2s ease-in-out transform;
|
|
27
|
-
}
|
|
28
|
-
:host .expand-btn:disabled {
|
|
29
|
-
cursor: not-allowed;
|
|
30
|
-
opacity: 0.5;
|
|
31
|
-
}
|
|
32
|
-
:host .expand-btn.open {
|
|
33
|
-
transform: rotate(-135deg);
|
|
34
|
-
}
|
|
35
|
-
:host .expandableContent {
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
margin: 0;
|
|
38
|
-
padding: 0;
|
|
39
|
-
max-height: 0;
|
|
40
|
-
transition: 250ms ease max-height;
|
|
41
|
-
}
|
|
42
|
-
:host .expandableContent.open {
|
|
43
|
-
max-height: 600px;
|
|
44
|
-
}
|
|
45
|
-
:host ::slotted([slot=expandable]) {
|
|
46
|
-
display: grid;
|
|
47
|
-
align-items: center;
|
|
48
|
-
}
|
|
49
|
-
:host ::slotted(xv-table-v2-row),
|
|
50
|
-
:host ::slotted([slot=expandable]) {
|
|
51
|
-
padding-inline-start: calc(max(10px, var(--xv-table-padding-x)) * 2 + 10px);
|
|
52
|
-
}
|
|
53
|
-
:host ::slotted([disabled]) {
|
|
54
|
-
pointer-events: none;
|
|
55
|
-
opacity: 0.4;
|
|
56
|
-
cursor: not-allowed;
|
|
57
|
-
user-select: none;
|
|
58
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { XV_EXPANDABLE_KEY } from "../_vars";
|
|
3
|
-
import { setAttr } from "../../../utils/utils";
|
|
4
|
-
export class XvTableExpand {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.open = false;
|
|
7
|
-
this.disabled = false;
|
|
8
|
-
this.handleExpand = () => {
|
|
9
|
-
this.open = !this.open;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return (h(Host, { key: '6176a4e0845dbae0f6e28b7a31110e8b2ce6b6d9' }, h("button", { key: 'a4d9b8ec62e9a791f24355cba0397af7c5ad8fa6', class: { 'expand-btn': true, open: this.open }, disabled: this.disabled, onClick: this.handleExpand }), h("slot", { key: '9d4d815a424de28794a334c1ffeac6613b3bf380', name: XV_EXPANDABLE_KEY }), h("div", { key: '4acce147075c142a356f3fcb5cbe9cc5ccaea4c0', class: { expandableContent: true, open: this.open } }, h("slot", { key: '0e46f8843b84ddd7bf362b3c5178373b466fb96e' }))));
|
|
14
|
-
}
|
|
15
|
-
componentDidLoad() {
|
|
16
|
-
setAttr(this.el.parentElement, XV_EXPANDABLE_KEY, true);
|
|
17
|
-
}
|
|
18
|
-
static get is() { return "xv-table-v2-expand"; }
|
|
19
|
-
static get encapsulation() { return "shadow"; }
|
|
20
|
-
static get originalStyleUrls() {
|
|
21
|
-
return {
|
|
22
|
-
"$": ["xv-table-expand.scss"]
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
static get styleUrls() {
|
|
26
|
-
return {
|
|
27
|
-
"$": ["xv-table-expand.css"]
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
static get properties() {
|
|
31
|
-
return {
|
|
32
|
-
"open": {
|
|
33
|
-
"type": "boolean",
|
|
34
|
-
"attribute": "open",
|
|
35
|
-
"mutable": true,
|
|
36
|
-
"complexType": {
|
|
37
|
-
"original": "boolean",
|
|
38
|
-
"resolved": "boolean",
|
|
39
|
-
"references": {}
|
|
40
|
-
},
|
|
41
|
-
"required": false,
|
|
42
|
-
"optional": false,
|
|
43
|
-
"docs": {
|
|
44
|
-
"tags": [],
|
|
45
|
-
"text": ""
|
|
46
|
-
},
|
|
47
|
-
"getter": false,
|
|
48
|
-
"setter": false,
|
|
49
|
-
"reflect": true,
|
|
50
|
-
"defaultValue": "false"
|
|
51
|
-
},
|
|
52
|
-
"disabled": {
|
|
53
|
-
"type": "boolean",
|
|
54
|
-
"attribute": "disabled",
|
|
55
|
-
"mutable": false,
|
|
56
|
-
"complexType": {
|
|
57
|
-
"original": "boolean",
|
|
58
|
-
"resolved": "boolean",
|
|
59
|
-
"references": {}
|
|
60
|
-
},
|
|
61
|
-
"required": false,
|
|
62
|
-
"optional": false,
|
|
63
|
-
"docs": {
|
|
64
|
-
"tags": [],
|
|
65
|
-
"text": ""
|
|
66
|
-
},
|
|
67
|
-
"getter": false,
|
|
68
|
-
"setter": false,
|
|
69
|
-
"reflect": true,
|
|
70
|
-
"defaultValue": "false"
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
static get elementRef() { return "el"; }
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=xv-table-expand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xv-table-expand.js","sourceRoot":"","sources":["../../../../src/components/xv-table/xv-table-expand/xv-table-expand.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAO/C,MAAM,OAAO,aAAa;IAL1B;QAO0C,SAAI,GAAY,KAAK,CAAC;QACrC,aAAQ,GAAY,KAAK,CAAC;QAE3C,iBAAY,GAAG,GAAG,EAAE;YAC1B,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;QACzB,CAAC,CAAC;KAoBH;IAlBC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,+DACE,KAAK,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAC9C,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,YAAY,GAC1B;YACF,6DAAM,IAAI,EAAE,iBAAiB,GAAI;YAEjC,4DAAK,KAAK,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;gBAAE,8DAAQ,CAAM,CACnE,CACR,CAAC;IACJ,CAAC;IAED,gBAAgB;QACd,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,iBAAiB,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Element, Prop } from '@stencil/core';\nimport { XV_EXPANDABLE_KEY } from '../_vars';\nimport { setAttr } from '../../../utils/utils';\n\n@Component({\n tag: 'xv-table-v2-expand',\n styleUrl: 'xv-table-expand.scss',\n shadow: true,\n})\nexport class XvTableExpand {\n @Element() el: HTMLElement;\n @Prop({ reflect: true, mutable: true }) open: boolean = false;\n @Prop({ reflect: true }) disabled: boolean = false;\n\n private handleExpand = () => {\n this.open = !this.open;\n };\n\n render() {\n return (\n <Host>\n <button\n class={{ 'expand-btn': true, open: this.open }}\n disabled={this.disabled}\n onClick={this.handleExpand}\n />\n <slot name={XV_EXPANDABLE_KEY} />\n\n <div class={{ expandableContent: true, open: this.open }}><slot /></div>\n </Host>\n );\n }\n\n componentDidLoad() {\n setAttr(this.el.parentElement, XV_EXPANDABLE_KEY, true);\n }\n}\n"]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template-columns: var(--xv-table-cols-template, repeat(auto-fit, minmax(0, 1fr)));
|
|
4
|
-
border-bottom: 1px solid #E3E3E3;
|
|
5
|
-
border-right: 1px solid #E3E3E3;
|
|
6
|
-
border-left: 1px solid #E3E3E3;
|
|
7
|
-
min-height: var(--xv-table-min-height);
|
|
8
|
-
align-items: center;
|
|
9
|
-
align-content: center;
|
|
10
|
-
transition: 0.25s ease-in-out background-color;
|
|
11
|
-
}
|
|
12
|
-
:host .cell-control {
|
|
13
|
-
min-height: 20px;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:host([variant]) {
|
|
20
|
-
grid-template-columns: minmax(47.97px, min-content) var(--xv-table-cols-template, repeat(auto-fit, minmax(0, 1fr)));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
:host([hover]:not([header]):hover) {
|
|
24
|
-
background-color: var(--layer-hover-01, #E9E9E9);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([checked]) {
|
|
28
|
-
background-color: var(--layer-selected-01, #E3E3E3);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:host([checked]:hover) {
|
|
32
|
-
background-color: var(--layer-selected-hover-01, #DADADA);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
:host([header]) {
|
|
36
|
-
background-color: var(--layer-accent-01, #F7F7F7);
|
|
37
|
-
box-shadow: 0 0 0 1px #E3E3E3 inset;
|
|
38
|
-
border-bottom: none;
|
|
39
|
-
}
|