@xlabs-store/core 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/components/index.d.ts +35 -0
- package/components/index.js +1 -0
- package/components/p-5c86X8JO.js +1 -0
- package/components/p-6KpqCGp9.js +1 -0
- package/components/p-ADwHM_jT.js +1 -0
- package/components/p-AgSyA7Ia.js +1 -0
- package/components/p-B-7Hwizp.js +1 -0
- package/components/p-B-ClGFfy.js +1 -0
- package/components/p-B4R9Mtmk.js +1 -0
- package/components/p-B4rO7Sgt.js +1 -0
- package/components/p-B5Syz0fw.js +1 -0
- package/components/p-B6p-mzW-.js +1 -0
- package/components/p-B8SZP5Xz.js +1 -0
- package/components/p-BBGHXZqR.js +1 -0
- package/components/p-BHLvuyOq.js +1 -0
- package/components/p-BM-ap7lt.js +1 -0
- package/components/p-BOCR5Zk0.js +1 -0
- package/components/p-BPeosvTA.js +1 -0
- package/components/p-BRBrLtOz.js +1 -0
- package/components/p-BSRP2TGa.js +1 -0
- package/components/p-BUjRcJoK.js +1 -0
- package/components/p-BVeQ5W_G.js +1 -0
- package/components/p-BVnVlCcd.js +1 -0
- package/components/p-BZQcq9R_.js +1 -0
- package/components/p-BeIFU-wn.js +1 -0
- package/components/p-BkEgl31q.js +1 -0
- package/components/p-BkPJ1Whr.js +1 -0
- package/components/p-BkevSugc.js +1 -0
- package/components/p-BkiOFW3H.js +1 -0
- package/components/p-BskMfHyY.js +1 -0
- package/components/p-Bu2JqZs8.js +1 -0
- package/components/p-BvjR2Q5Q.js +1 -0
- package/components/p-Bz7MhZ4K.js +1 -0
- package/components/p-C3gvR6nN.js +1 -0
- package/components/p-C70KKm8p.js +1 -0
- package/components/p-C7csgUoA.js +1 -0
- package/components/p-CAPfC5Vn.js +1 -0
- package/components/p-CEBSDVyp.js +1 -0
- package/components/p-CFB6xkAX.js +1 -0
- package/components/p-CGIxdOEm.js +1 -0
- package/components/p-CGYOWZnh.js +1 -0
- package/components/p-CHRrsVXB.js +1 -0
- package/components/p-CKUzvJue.js +1 -0
- package/components/p-CKVSyuIH.js +1 -0
- package/components/p-COpzIi1n.js +1 -0
- package/components/p-CRBPzT4B.js +1 -0
- package/components/p-CSfrs76m.js +1 -0
- package/components/p-C_ZBjXFP.js +1 -0
- package/components/p-Cd919NAP.js +1 -0
- package/components/p-Ce32Mo_Q.js +1 -0
- package/components/p-Ce5L9qbY.js +1 -0
- package/components/p-CeBfFEIa.js +1 -0
- package/components/p-CfhgoXyB.js +1 -0
- package/components/p-Ck6SW8G3.js +1 -0
- package/components/p-Co3Y9VjQ.js +1 -0
- package/components/p-D66tF8_2.js +1 -0
- package/components/p-D7ijqXRY.js +1 -0
- package/components/p-D7n-26Q5.js +1 -0
- package/components/p-D8ew7Rgv.js +1 -0
- package/components/p-DBk4T-b-.js +1 -0
- package/components/p-DD-W_fMF.js +1 -0
- package/components/p-DElCk9ta.js +1 -0
- package/components/p-DEumEVI3.js +1 -0
- package/components/p-DGqQ8PT4.js +1 -0
- package/components/p-DJ1WhSJ4.js +1 -0
- package/components/p-DOxXxhXb.js +1 -0
- package/components/p-DRa4o4c6.js +1 -0
- package/components/p-DTlSrH8_.js +1 -0
- package/components/p-DTvD0UO5.js +1 -0
- package/components/p-DVz50Dd3.js +1 -0
- package/components/p-DZFphzg1.js +1 -0
- package/components/p-DZPUUptR.js +1 -0
- package/components/p-D_xaGiZU.js +1 -0
- package/components/p-DaL42JUi.js +1 -0
- package/components/p-DbRpEXwX.js +1 -0
- package/components/p-DcRlYBIl.js +1 -0
- package/components/p-Dg0xgMke.js +1 -0
- package/components/p-Dgxy93Bg.js +1 -0
- package/components/p-Dky_8i8S.js +1 -0
- package/components/p-DlwlBBr4.js +1 -0
- package/components/p-DoTf8yXn.js +1 -0
- package/components/p-DphUq6Z5.js +1 -0
- package/components/p-DsgWQbJY.js +1 -0
- package/components/p-Dx3yBe39.js +1 -0
- package/components/p-DxKMnrS8.js +1 -0
- package/components/p-O88oQkR1.js +1 -0
- package/components/p-PlUkLT0A.js +1 -0
- package/components/p-QTSiPk0I.js +1 -0
- package/components/p-TC9DZAbC.js +1 -0
- package/components/p-XBF88YT_.js +1 -0
- package/components/p-bVsOg7S9.js +1 -0
- package/components/p-ccpcKv5U.js +1 -0
- package/components/p-en06CSUT.js +1 -0
- package/components/p-g6ZBqIze.js +1 -0
- package/components/p-noTpj1Kh.js +1 -0
- package/components/x-address.d.ts +11 -0
- package/components/x-address.js +1 -0
- package/components/x-affix.d.ts +11 -0
- package/components/x-affix.js +1 -0
- package/components/x-alert.d.ts +11 -0
- package/components/x-alert.js +1 -0
- package/components/x-anchor-link.d.ts +11 -0
- package/components/x-anchor-link.js +1 -0
- package/components/x-anchor.d.ts +11 -0
- package/components/x-anchor.js +1 -0
- package/components/x-app.d.ts +11 -0
- package/components/x-app.js +1 -0
- package/components/x-auto-complete-dropdown-content.d.ts +11 -0
- package/components/x-auto-complete-dropdown-content.js +1 -0
- package/components/x-auto-complete.d.ts +11 -0
- package/components/x-auto-complete.js +1 -0
- package/components/x-avatar.d.ts +11 -0
- package/components/x-avatar.js +1 -0
- package/components/x-back-top.d.ts +11 -0
- package/components/x-back-top.js +1 -0
- package/components/x-badge.d.ts +11 -0
- package/components/x-badge.js +1 -0
- package/components/x-breadcrumb-item.d.ts +11 -0
- package/components/x-breadcrumb-item.js +1 -0
- package/components/x-breadcrumb.d.ts +11 -0
- package/components/x-breadcrumb.js +1 -0
- package/components/x-button.d.ts +11 -0
- package/components/x-button.js +1 -0
- package/components/x-captcha.d.ts +11 -0
- package/components/x-captcha.js +1 -0
- package/components/x-card.d.ts +11 -0
- package/components/x-card.js +1 -0
- package/components/x-carousel.d.ts +11 -0
- package/components/x-carousel.js +1 -0
- package/components/x-cascader-dropdown-content.d.ts +11 -0
- package/components/x-cascader-dropdown-content.js +1 -0
- package/components/x-cascader.d.ts +11 -0
- package/components/x-cascader.js +1 -0
- package/components/x-checkbox.d.ts +11 -0
- package/components/x-checkbox.js +1 -0
- package/components/x-col.d.ts +11 -0
- package/components/x-col.js +1 -0
- package/components/x-collapse-panel.d.ts +11 -0
- package/components/x-collapse-panel.js +1 -0
- package/components/x-collapse.d.ts +11 -0
- package/components/x-collapse.js +1 -0
- package/components/x-color-picker-panel.d.ts +11 -0
- package/components/x-color-picker-panel.js +1 -0
- package/components/x-color-picker.d.ts +11 -0
- package/components/x-color-picker.js +1 -0
- package/components/x-comment.d.ts +11 -0
- package/components/x-comment.js +1 -0
- package/components/x-content.d.ts +11 -0
- package/components/x-content.js +1 -0
- package/components/x-date-picker-dropdown-content.d.ts +11 -0
- package/components/x-date-picker-dropdown-content.js +1 -0
- package/components/x-date-picker.d.ts +11 -0
- package/components/x-date-picker.js +1 -0
- package/components/x-descriptions-item.d.ts +11 -0
- package/components/x-descriptions-item.js +1 -0
- package/components/x-descriptions.d.ts +11 -0
- package/components/x-descriptions.js +1 -0
- package/components/x-divider.d.ts +11 -0
- package/components/x-divider.js +1 -0
- package/components/x-drawer-content.d.ts +11 -0
- package/components/x-drawer-content.js +1 -0
- package/components/x-drawer.d.ts +11 -0
- package/components/x-drawer.js +1 -0
- package/components/x-dropdown-content.d.ts +11 -0
- package/components/x-dropdown-content.js +1 -0
- package/components/x-dropdown.d.ts +11 -0
- package/components/x-dropdown.js +1 -0
- package/components/x-editor.d.ts +11 -0
- package/components/x-editor.js +1 -0
- package/components/x-empty.d.ts +11 -0
- package/components/x-empty.js +1 -0
- package/components/x-finder.d.ts +11 -0
- package/components/x-finder.js +1 -0
- package/components/x-flex.d.ts +11 -0
- package/components/x-flex.js +1 -0
- package/components/x-float-button.d.ts +11 -0
- package/components/x-float-button.js +1 -0
- package/components/x-footer.d.ts +11 -0
- package/components/x-footer.js +1 -0
- package/components/x-form-builder.d.ts +11 -0
- package/components/x-form-builder.js +1 -0
- package/components/x-form-item.d.ts +11 -0
- package/components/x-form-item.js +1 -0
- package/components/x-form.d.ts +11 -0
- package/components/x-form.js +1 -0
- package/components/x-header.d.ts +11 -0
- package/components/x-header.js +1 -0
- package/components/x-icon.d.ts +11 -0
- package/components/x-icon.js +1 -0
- package/components/x-image.d.ts +11 -0
- package/components/x-image.js +1 -0
- package/components/x-infinite-scroll.d.ts +11 -0
- package/components/x-infinite-scroll.js +1 -0
- package/components/x-input-number.d.ts +11 -0
- package/components/x-input-number.js +1 -0
- package/components/x-input.d.ts +11 -0
- package/components/x-input.js +1 -0
- package/components/x-layout.d.ts +11 -0
- package/components/x-layout.js +1 -0
- package/components/x-list-item.d.ts +11 -0
- package/components/x-list-item.js +1 -0
- package/components/x-list.d.ts +11 -0
- package/components/x-list.js +1 -0
- package/components/x-mentions.d.ts +11 -0
- package/components/x-mentions.js +1 -0
- package/components/x-menu-divider.d.ts +11 -0
- package/components/x-menu-divider.js +1 -0
- package/components/x-menu-item-group.d.ts +11 -0
- package/components/x-menu-item-group.js +1 -0
- package/components/x-menu-item.d.ts +11 -0
- package/components/x-menu-item.js +1 -0
- package/components/x-menu-submenu.d.ts +11 -0
- package/components/x-menu-submenu.js +1 -0
- package/components/x-menu.d.ts +11 -0
- package/components/x-menu.js +1 -0
- package/components/x-message.d.ts +11 -0
- package/components/x-message.js +1 -0
- package/components/x-modal-content.d.ts +11 -0
- package/components/x-modal-content.js +1 -0
- package/components/x-modal.d.ts +11 -0
- package/components/x-modal.js +1 -0
- package/components/x-notification.d.ts +11 -0
- package/components/x-notification.js +1 -0
- package/components/x-page-header.d.ts +11 -0
- package/components/x-page-header.js +1 -0
- package/components/x-pagination.d.ts +11 -0
- package/components/x-pagination.js +1 -0
- package/components/x-popconfirm-content.d.ts +11 -0
- package/components/x-popconfirm-content.js +1 -0
- package/components/x-popconfirm.d.ts +11 -0
- package/components/x-popconfirm.js +1 -0
- package/components/x-popover-content.d.ts +11 -0
- package/components/x-popover-content.js +1 -0
- package/components/x-popover.d.ts +11 -0
- package/components/x-popover.js +1 -0
- package/components/x-progress.d.ts +11 -0
- package/components/x-progress.js +1 -0
- package/components/x-qr-code.d.ts +11 -0
- package/components/x-qr-code.js +1 -0
- package/components/x-radio-group.d.ts +11 -0
- package/components/x-radio-group.js +1 -0
- package/components/x-radio.d.ts +11 -0
- package/components/x-radio.js +1 -0
- package/components/x-range-picker-dropdown-content.d.ts +11 -0
- package/components/x-range-picker-dropdown-content.js +1 -0
- package/components/x-range-picker.d.ts +11 -0
- package/components/x-range-picker.js +1 -0
- package/components/x-rate.d.ts +11 -0
- package/components/x-rate.js +1 -0
- package/components/x-result.d.ts +11 -0
- package/components/x-result.js +1 -0
- package/components/x-row.d.ts +11 -0
- package/components/x-row.js +1 -0
- package/components/x-segmented.d.ts +11 -0
- package/components/x-segmented.js +1 -0
- package/components/x-select-dropdown-content.d.ts +11 -0
- package/components/x-select-dropdown-content.js +1 -0
- package/components/x-select-option.d.ts +11 -0
- package/components/x-select-option.js +1 -0
- package/components/x-select.d.ts +11 -0
- package/components/x-select.js +1 -0
- package/components/x-sider.d.ts +11 -0
- package/components/x-sider.js +1 -0
- package/components/x-skeleton.d.ts +11 -0
- package/components/x-skeleton.js +1 -0
- package/components/x-slider.d.ts +11 -0
- package/components/x-slider.js +1 -0
- package/components/x-space.d.ts +11 -0
- package/components/x-space.js +1 -0
- package/components/x-spin.d.ts +11 -0
- package/components/x-spin.js +1 -0
- package/components/x-splitter-panel.d.ts +11 -0
- package/components/x-splitter-panel.js +1 -0
- package/components/x-splitter.d.ts +11 -0
- package/components/x-splitter.js +1 -0
- package/components/x-statistic.d.ts +11 -0
- package/components/x-statistic.js +1 -0
- package/components/x-step.d.ts +11 -0
- package/components/x-step.js +1 -0
- package/components/x-steps.d.ts +11 -0
- package/components/x-steps.js +1 -0
- package/components/x-switch.d.ts +11 -0
- package/components/x-switch.js +1 -0
- package/components/x-tab-pane.d.ts +11 -0
- package/components/x-tab-pane.js +1 -0
- package/components/x-table-cell.d.ts +11 -0
- package/components/x-table-cell.js +1 -0
- package/components/x-table-row.d.ts +11 -0
- package/components/x-table-row.js +1 -0
- package/components/x-table.d.ts +11 -0
- package/components/x-table.js +1 -0
- package/components/x-tabs.d.ts +11 -0
- package/components/x-tabs.js +1 -0
- package/components/x-tag.d.ts +11 -0
- package/components/x-tag.js +1 -0
- package/components/x-textarea.d.ts +11 -0
- package/components/x-textarea.js +1 -0
- package/components/x-time-picker-dropdown-content.d.ts +11 -0
- package/components/x-time-picker-dropdown-content.js +1 -0
- package/components/x-time-picker.d.ts +11 -0
- package/components/x-time-picker.js +1 -0
- package/components/x-timeline-item.d.ts +11 -0
- package/components/x-timeline-item.js +1 -0
- package/components/x-timeline.d.ts +11 -0
- package/components/x-timeline.js +1 -0
- package/components/x-tooltip-content.d.ts +11 -0
- package/components/x-tooltip-content.js +1 -0
- package/components/x-tooltip.d.ts +11 -0
- package/components/x-tooltip.js +1 -0
- package/components/x-tour-panel.d.ts +11 -0
- package/components/x-tour-panel.js +1 -0
- package/components/x-tour.d.ts +11 -0
- package/components/x-tour.js +1 -0
- package/components/x-transfer.d.ts +11 -0
- package/components/x-transfer.js +1 -0
- package/components/x-tree-select-dropdown-content.d.ts +11 -0
- package/components/x-tree-select-dropdown-content.js +1 -0
- package/components/x-tree-select.d.ts +11 -0
- package/components/x-tree-select.js +1 -0
- package/components/x-tree.d.ts +11 -0
- package/components/x-tree.js +1 -0
- package/components/x-typography.d.ts +11 -0
- package/components/x-typography.js +1 -0
- package/components/x-upload.d.ts +11 -0
- package/components/x-upload.js +1 -0
- package/components/x-virtual-scroll.d.ts +11 -0
- package/components/x-virtual-scroll.js +1 -0
- package/components/x-workflow-builder.d.ts +11 -0
- package/components/x-workflow-builder.js +1 -0
- package/components/x-workflow.d.ts +11 -0
- package/components/x-workflow.js +1 -0
- package/dist/cjs/abstract-control-C4D0eNCC.js +277 -0
- package/dist/cjs/config-BP9bROYD.js +63 -0
- package/dist/cjs/index-C7sKs9A2.js +2170 -0
- package/dist/cjs/index.cjs.js +14 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/locale.service-Cz-aZQnr.js +8203 -0
- package/dist/cjs/modal-service-BtAF0mFq.js +399 -0
- package/dist/cjs/notification-service-m6I5U9aG.js +602 -0
- package/dist/cjs/portal-controller-CtYVbhXL.js +504 -0
- package/dist/cjs/schema-builder-CYnX7lKi.js +1505 -0
- package/dist/cjs/tree.service-fxLOCSpD.js +339 -0
- package/dist/cjs/types-DQ-V76ZQ.js +255 -0
- package/dist/cjs/x-address_14.cjs.entry.js +12577 -0
- package/dist/cjs/x-affix.cjs.entry.js +182 -0
- package/dist/cjs/x-alert_11.cjs.entry.js +3239 -0
- package/dist/cjs/x-anchor-link.cjs.entry.js +67 -0
- package/dist/cjs/x-anchor.cjs.entry.js +158 -0
- package/dist/cjs/x-app.cjs.entry.js +137 -0
- package/dist/cjs/x-auto-complete-dropdown-content.cjs.entry.js +69 -0
- package/dist/cjs/x-avatar.cjs.entry.js +269 -0
- package/dist/cjs/x-back-top.cjs.entry.js +89 -0
- package/dist/cjs/x-breadcrumb_5.cjs.entry.js +1554 -0
- package/dist/cjs/x-button.cjs.entry.js +174 -0
- package/dist/cjs/x-card_12.cjs.entry.js +1386 -0
- package/dist/cjs/x-carousel.cjs.entry.js +147 -0
- package/dist/cjs/x-cascader-dropdown-content.cjs.entry.js +364 -0
- package/dist/cjs/x-checkbox_5.cjs.entry.js +1376 -0
- package/dist/cjs/x-collapse-panel.cjs.entry.js +243 -0
- package/dist/cjs/x-collapse.cjs.entry.js +291 -0
- package/dist/cjs/x-color-picker-panel_2.cjs.entry.js +873 -0
- package/dist/cjs/x-color-picker_9.cjs.entry.js +3085 -0
- package/dist/cjs/x-comment.cjs.entry.js +189 -0
- package/dist/cjs/x-date-picker-dropdown-content.cjs.entry.js +757 -0
- package/dist/cjs/x-descriptions-item.cjs.entry.js +108 -0
- package/dist/cjs/x-drawer-content.cjs.entry.js +197 -0
- package/dist/cjs/x-drawer.cjs.entry.js +294 -0
- package/dist/cjs/x-dropdown_2.cjs.entry.js +735 -0
- package/dist/cjs/x-empty.cjs.entry.js +64 -0
- package/dist/cjs/x-finder.cjs.entry.js +647 -0
- package/dist/cjs/x-form-builder.cjs.entry.js +807 -0
- package/dist/cjs/x-icon.cjs.entry.js +144 -0
- package/dist/cjs/x-infinite-scroll.cjs.entry.js +129 -0
- package/dist/cjs/x-list-item.cjs.entry.js +27 -0
- package/dist/cjs/x-list.cjs.entry.js +138 -0
- package/dist/cjs/x-mentions.cjs.entry.js +275 -0
- package/dist/cjs/x-menu-divider.cjs.entry.js +49 -0
- package/dist/cjs/x-menu-item-group.cjs.entry.js +149 -0
- package/dist/cjs/x-menu-submenu.cjs.entry.js +373 -0
- package/dist/cjs/x-message.cjs.entry.js +219 -0
- package/dist/cjs/x-modal-content.cjs.entry.js +217 -0
- package/dist/cjs/x-notification.cjs.entry.js +325 -0
- package/dist/cjs/x-page-header.cjs.entry.js +67 -0
- package/dist/cjs/x-popconfirm-content.cjs.entry.js +72 -0
- package/dist/cjs/x-popconfirm.cjs.entry.js +181 -0
- package/dist/cjs/x-progress.cjs.entry.js +136 -0
- package/dist/cjs/x-qr-code.cjs.entry.js +446 -0
- package/dist/cjs/x-range-picker-dropdown-content.cjs.entry.js +821 -0
- package/dist/cjs/x-select_2.cjs.entry.js +1316 -0
- package/dist/cjs/x-skeleton.cjs.entry.js +75 -0
- package/dist/cjs/x-spin.cjs.entry.js +62 -0
- package/dist/cjs/x-splitter-panel.cjs.entry.js +91 -0
- package/dist/cjs/x-splitter.cjs.entry.js +612 -0
- package/dist/cjs/x-statistic.cjs.entry.js +104 -0
- package/dist/cjs/x-step.cjs.entry.js +179 -0
- package/dist/cjs/x-steps.cjs.entry.js +439 -0
- package/dist/cjs/x-tab-pane.cjs.entry.js +73 -0
- package/dist/cjs/x-table-cell.cjs.entry.js +45 -0
- package/dist/cjs/x-table-row.cjs.entry.js +85 -0
- package/dist/cjs/x-tabs.cjs.entry.js +609 -0
- package/dist/cjs/x-time-picker-dropdown-content.cjs.entry.js +389 -0
- package/dist/cjs/x-timeline-item.cjs.entry.js +50 -0
- package/dist/cjs/x-timeline.cjs.entry.js +52 -0
- package/dist/cjs/x-tour-panel.cjs.entry.js +89 -0
- package/dist/cjs/x-tour.cjs.entry.js +344 -0
- package/dist/cjs/x-tree-select-dropdown-content.cjs.entry.js +439 -0
- package/dist/cjs/x-virtual-scroll.cjs.entry.js +203 -0
- package/dist/cjs/x-workflow-builder.cjs.entry.js +366 -0
- package/dist/cjs/xlabs-store.cjs.js +24 -0
- package/dist/collection/collection-manifest.json +130 -0
- package/dist/collection/components/x-address/vietnam-data.js +28 -0
- package/dist/collection/components/x-address/x-address.css +367 -0
- package/dist/collection/components/x-address/x-address.js +403 -0
- package/dist/collection/components/x-affix/x-affix.css +27 -0
- package/dist/collection/components/x-affix/x-affix.js +299 -0
- package/dist/collection/components/x-alert/x-alert.css +475 -0
- package/dist/collection/components/x-alert/x-alert.js +273 -0
- package/dist/collection/components/x-anchor/x-anchor.css +74 -0
- package/dist/collection/components/x-anchor/x-anchor.js +371 -0
- package/dist/collection/components/x-anchor-link/x-anchor-link.css +43 -0
- package/dist/collection/components/x-anchor-link/x-anchor-link.js +145 -0
- package/dist/collection/components/x-app/x-app.css +14 -0
- package/dist/collection/components/x-app/x-app.js +308 -0
- package/dist/collection/components/x-auto-complete/auto-complete-dropdown-content/auto-complete-dropdown-content.css +410 -0
- package/dist/collection/components/x-auto-complete/auto-complete-dropdown-content/auto-complete-dropdown-content.js +166 -0
- package/dist/collection/components/x-auto-complete/auto-complete-dropdown-content/index.js +1 -0
- package/dist/collection/components/x-auto-complete/auto-complete-dropdown-content/types.js +1 -0
- package/dist/collection/components/x-auto-complete/types.js +61 -0
- package/dist/collection/components/x-auto-complete/x-auto-complete.css +535 -0
- package/dist/collection/components/x-auto-complete/x-auto-complete.js +1829 -0
- package/dist/collection/components/x-avatar/types.js +1 -0
- package/dist/collection/components/x-avatar/x-avatar.css +128 -0
- package/dist/collection/components/x-avatar/x-avatar.js +533 -0
- package/dist/collection/components/x-back-top/x-back-top.css +56 -0
- package/dist/collection/components/x-back-top/x-back-top.js +148 -0
- package/dist/collection/components/x-badge/types.js +1 -0
- package/dist/collection/components/x-badge/x-badge.css +233 -0
- package/dist/collection/components/x-badge/x-badge.js +618 -0
- package/dist/collection/components/x-breadcrumb/x-breadcrumb.css +44 -0
- package/dist/collection/components/x-breadcrumb/x-breadcrumb.js +96 -0
- package/dist/collection/components/x-breadcrumb-item/x-breadcrumb-item.css +63 -0
- package/dist/collection/components/x-breadcrumb-item/x-breadcrumb-item.js +147 -0
- package/dist/collection/components/x-button/x-button.css +278 -0
- package/dist/collection/components/x-button/x-button.js +488 -0
- package/dist/collection/components/x-captcha/x-captcha.css +125 -0
- package/dist/collection/components/x-captcha/x-captcha.js +408 -0
- package/dist/collection/components/x-card/x-card.css +523 -0
- package/dist/collection/components/x-card/x-card.js +389 -0
- package/dist/collection/components/x-carousel/x-carousel.css +417 -0
- package/dist/collection/components/x-carousel/x-carousel.js +257 -0
- package/dist/collection/components/x-cascader/cascader-dropdown-content/cascader-dropdown-content.css +529 -0
- package/dist/collection/components/x-cascader/cascader-dropdown-content/cascader-dropdown-content.js +771 -0
- package/dist/collection/components/x-cascader/cascader-dropdown-content/index.js +2 -0
- package/dist/collection/components/x-cascader/cascader-dropdown-content/types.js +1 -0
- package/dist/collection/components/x-cascader/types.js +1 -0
- package/dist/collection/components/x-cascader/x-cascader.css +691 -0
- package/dist/collection/components/x-cascader/x-cascader.js +1841 -0
- package/dist/collection/components/x-checkbox/types.js +1 -0
- package/dist/collection/components/x-checkbox/x-checkbox.css +541 -0
- package/dist/collection/components/x-checkbox/x-checkbox.js +681 -0
- package/dist/collection/components/x-col/x-col.css +1704 -0
- package/dist/collection/components/x-col/x-col.js +479 -0
- package/dist/collection/components/x-collapse/types.js +1 -0
- package/dist/collection/components/x-collapse/x-collapse.css +384 -0
- package/dist/collection/components/x-collapse/x-collapse.js +579 -0
- package/dist/collection/components/x-collapse-panel/x-collapse-panel.css +486 -0
- package/dist/collection/components/x-collapse-panel/x-collapse-panel.js +500 -0
- package/dist/collection/components/x-color-picker/types.js +251 -0
- package/dist/collection/components/x-color-picker/x-color-picker-panel.css +310 -0
- package/dist/collection/components/x-color-picker/x-color-picker-panel.js +575 -0
- package/dist/collection/components/x-color-picker/x-color-picker.css +446 -0
- package/dist/collection/components/x-color-picker/x-color-picker.js +1209 -0
- package/dist/collection/components/x-comment/types.js +1 -0
- package/dist/collection/components/x-comment/x-comment.css +442 -0
- package/dist/collection/components/x-comment/x-comment.js +306 -0
- package/dist/collection/components/x-content/types.js +1 -0
- package/dist/collection/components/x-content/x-content.css +361 -0
- package/dist/collection/components/x-content/x-content.js +402 -0
- package/dist/collection/components/x-date-picker/date-picker-dropdown-content/date-picker-dropdown-content.css +691 -0
- package/dist/collection/components/x-date-picker/date-picker-dropdown-content/date-picker-dropdown-content.js +1496 -0
- package/dist/collection/components/x-date-picker/date-picker-dropdown-content/index.js +1 -0
- package/dist/collection/components/x-date-picker/date-picker-dropdown-content/types.js +1 -0
- package/dist/collection/components/x-date-picker/types.js +1 -0
- package/dist/collection/components/x-date-picker/x-date-picker.css +804 -0
- package/dist/collection/components/x-date-picker/x-date-picker.js +2110 -0
- package/dist/collection/components/x-descriptions/types.js +1 -0
- package/dist/collection/components/x-descriptions/x-descriptions.css +417 -0
- package/dist/collection/components/x-descriptions/x-descriptions.js +494 -0
- package/dist/collection/components/x-descriptions-item/x-descriptions-item.css +387 -0
- package/dist/collection/components/x-descriptions-item/x-descriptions-item.js +238 -0
- package/dist/collection/components/x-divider/x-divider.css +417 -0
- package/dist/collection/components/x-divider/x-divider.js +263 -0
- package/dist/collection/components/x-drawer/x-drawer.css +333 -0
- package/dist/collection/components/x-drawer/x-drawer.js +623 -0
- package/dist/collection/components/x-drawer-content/x-drawer-content.css +481 -0
- package/dist/collection/components/x-drawer-content/x-drawer-content.js +579 -0
- package/dist/collection/components/x-dropdown/dropdown-content/dropdown-content.css +673 -0
- package/dist/collection/components/x-dropdown/dropdown-content/dropdown-content.js +294 -0
- package/dist/collection/components/x-dropdown/dropdown-content/types.js +1 -0
- package/dist/collection/components/x-dropdown/types.js +1 -0
- package/dist/collection/components/x-dropdown/x-dropdown.css +669 -0
- package/dist/collection/components/x-dropdown/x-dropdown.js +1004 -0
- package/dist/collection/components/x-editor/editor-history.js +118 -0
- package/dist/collection/components/x-editor/editor-normalizer.js +263 -0
- package/dist/collection/components/x-editor/editor-parser.js +326 -0
- package/dist/collection/components/x-editor/editor-selection.js +415 -0
- package/dist/collection/components/x-editor/types.js +33 -0
- package/dist/collection/components/x-editor/x-editor.css +599 -0
- package/dist/collection/components/x-editor/x-editor.js +1636 -0
- package/dist/collection/components/x-empty/x-empty.css +357 -0
- package/dist/collection/components/x-empty/x-empty.js +117 -0
- package/dist/collection/components/x-finder/services/finder-service.js +250 -0
- package/dist/collection/components/x-finder/types.js +1 -0
- package/dist/collection/components/x-finder/x-finder.css +633 -0
- package/dist/collection/components/x-finder/x-finder.js +540 -0
- package/dist/collection/components/x-flex/x-flex.css +344 -0
- package/dist/collection/components/x-flex/x-flex.js +285 -0
- package/dist/collection/components/x-float-button/x-float-button.css +389 -0
- package/dist/collection/components/x-float-button/x-float-button.js +265 -0
- package/dist/collection/components/x-footer/x-footer.css +346 -0
- package/dist/collection/components/x-footer/x-footer.js +29 -0
- package/dist/collection/components/x-form/x-form.css +365 -0
- package/dist/collection/components/x-form/x-form.js +355 -0
- package/dist/collection/components/x-form-builder/services/apis/api-client.js +240 -0
- package/dist/collection/components/x-form-builder/services/constants/index.js +33 -0
- package/dist/collection/components/x-form-builder/services/forms/abstract-control.js +175 -0
- package/dist/collection/components/x-form-builder/services/forms/form-array.js +92 -0
- package/dist/collection/components/x-form-builder/services/forms/form-builder.js +40 -0
- package/dist/collection/components/x-form-builder/services/forms/form-control.js +33 -0
- package/dist/collection/components/x-form-builder/services/forms/form-group.js +150 -0
- package/dist/collection/components/x-form-builder/services/forms/index.js +7 -0
- package/dist/collection/components/x-form-builder/services/forms/types.js +1 -0
- package/dist/collection/components/x-form-builder/services/forms/validators.js +83 -0
- package/dist/collection/components/x-form-builder/services/schema/condition-builder.js +337 -0
- package/dist/collection/components/x-form-builder/services/schema/default-registry.js +440 -0
- package/dist/collection/components/x-form-builder/services/schema/form-mapping.js +176 -0
- package/dist/collection/components/x-form-builder/services/schema/form-registry.js +30 -0
- package/dist/collection/components/x-form-builder/services/schema/schema-actions.js +3 -0
- package/dist/collection/components/x-form-builder/services/schema/schema-builder.js +52 -0
- package/dist/collection/components/x-form-builder/services/schema/schema-validator.js +53 -0
- package/dist/collection/components/x-form-builder/types/api/api-common-types.js +1 -0
- package/dist/collection/components/x-form-builder/types/api/api-interfaces.js +1 -0
- package/dist/collection/components/x-form-builder/types/api/index.js +2 -0
- package/dist/collection/components/x-form-builder/types/common/common-types.js +1 -0
- package/dist/collection/components/x-form-builder/types/common/condition-types.js +1 -0
- package/dist/collection/components/x-form-builder/types/common/field-types-enum.js +1 -0
- package/dist/collection/components/x-form-builder/types/common/index.js +7 -0
- package/dist/collection/components/x-form-builder/types/common/shared-interfaces.js +1 -0
- package/dist/collection/components/x-form-builder/types/common/validation-types.js +1 -0
- package/dist/collection/components/x-form-builder/types/common/value-types.js +1 -0
- package/dist/collection/components/x-form-builder/types/event/event-types.js +1 -0
- package/dist/collection/components/x-form-builder/types/event/index.js +1 -0
- package/dist/collection/components/x-form-builder/types/fields/advanced-fields.js +1 -0
- package/dist/collection/components/x-form-builder/types/fields/base-field.js +1 -0
- package/dist/collection/components/x-form-builder/types/fields/datetime-file-fields.js +1 -0
- package/dist/collection/components/x-form-builder/types/fields/display-fields.js +1 -0
- package/dist/collection/components/x-form-builder/types/fields/form-field-union.js +1 -0
- package/dist/collection/components/x-form-builder/types/fields/index.js +9 -0
- package/dist/collection/components/x-form-builder/types/fields/input-fields.js +1 -0
- package/dist/collection/components/x-form-builder/types/fields/layout-fields.js +1 -0
- package/dist/collection/components/x-form-builder/types/fields/selection-fields.js +10 -0
- package/dist/collection/components/x-form-builder/types/fields/special-input-fields.js +1 -0
- package/dist/collection/components/x-form-builder/types/form/events-types.js +1 -0
- package/dist/collection/components/x-form-builder/types/form/form-config.js +50 -0
- package/dist/collection/components/x-form-builder/types/form/index.js +2 -0
- package/dist/collection/components/x-form-builder/types/form/schema-types.js +1 -0
- package/dist/collection/components/x-form-builder/types/index.js +4 -0
- package/dist/collection/components/x-form-builder/utils/condition-engine.js +118 -0
- package/dist/collection/components/x-form-builder/utils/utils.js +138 -0
- package/dist/collection/components/x-form-builder/utils/values.js +36 -0
- package/dist/collection/components/x-form-builder/x-form-builder.css +3 -0
- package/dist/collection/components/x-form-builder/x-form-builder.js +1017 -0
- package/dist/collection/components/x-form-item/x-form-item.css +564 -0
- package/dist/collection/components/x-form-item/x-form-item.js +538 -0
- package/dist/collection/components/x-header/x-header.css +344 -0
- package/dist/collection/components/x-header/x-header.js +29 -0
- package/dist/collection/components/x-icon/fonts/xlabs-outlined.woff2 +0 -0
- package/dist/collection/components/x-icon/fonts/xlabs-rounded.woff2 +0 -0
- package/dist/collection/components/x-icon/fonts/xlabs-solided.woff2 +0 -0
- package/dist/collection/components/x-icon/icons.js +2716 -0
- package/dist/collection/components/x-icon/x-icon.css +378 -0
- package/dist/collection/components/x-icon/x-icon.js +353 -0
- package/dist/collection/components/x-image/types.js +1 -0
- package/dist/collection/components/x-image/x-image.css +556 -0
- package/dist/collection/components/x-image/x-image.js +628 -0
- package/dist/collection/components/x-infinite-scroll/x-infinite-scroll.css +345 -0
- package/dist/collection/components/x-infinite-scroll/x-infinite-scroll.js +294 -0
- package/dist/collection/components/x-input/types.js +1 -0
- package/dist/collection/components/x-input/x-input.css +640 -0
- package/dist/collection/components/x-input/x-input.js +1449 -0
- package/dist/collection/components/x-input-number/types.js +96 -0
- package/dist/collection/components/x-input-number/x-input-number.css +612 -0
- package/dist/collection/components/x-input-number/x-input-number.js +1488 -0
- package/dist/collection/components/x-layout/x-layout.css +361 -0
- package/dist/collection/components/x-layout/x-layout.js +188 -0
- package/dist/collection/components/x-list/x-list.css +382 -0
- package/dist/collection/components/x-list/x-list.js +373 -0
- package/dist/collection/components/x-list-item/x-list-item.css +351 -0
- package/dist/collection/components/x-list-item/x-list-item.js +31 -0
- package/dist/collection/components/x-mentions/types.js +1 -0
- package/dist/collection/components/x-mentions/x-mentions.css +388 -0
- package/dist/collection/components/x-mentions/x-mentions.js +528 -0
- package/dist/collection/components/x-menu/types.js +1 -0
- package/dist/collection/components/x-menu/x-menu.css +78 -0
- package/dist/collection/components/x-menu/x-menu.js +793 -0
- package/dist/collection/components/x-menu-divider/types.js +1 -0
- package/dist/collection/components/x-menu-divider/x-menu-divider.css +31 -0
- package/dist/collection/components/x-menu-divider/x-menu-divider.js +126 -0
- package/dist/collection/components/x-menu-item/types.js +1 -0
- package/dist/collection/components/x-menu-item/x-menu-item.css +183 -0
- package/dist/collection/components/x-menu-item/x-menu-item.js +449 -0
- package/dist/collection/components/x-menu-item-group/types.js +1 -0
- package/dist/collection/components/x-menu-item-group/x-menu-item-group.css +45 -0
- package/dist/collection/components/x-menu-item-group/x-menu-item-group.js +299 -0
- package/dist/collection/components/x-menu-submenu/types.js +1 -0
- package/dist/collection/components/x-menu-submenu/x-menu-submenu.css +236 -0
- package/dist/collection/components/x-menu-submenu/x-menu-submenu.js +775 -0
- package/dist/collection/components/x-message/message-service.js +263 -0
- package/dist/collection/components/x-message/types.js +1 -0
- package/dist/collection/components/x-message/x-message.css +402 -0
- package/dist/collection/components/x-message/x-message.js +487 -0
- package/dist/collection/components/x-modal/modal-service.js +402 -0
- package/dist/collection/components/x-modal/modal-service.types.js +1 -0
- package/dist/collection/components/x-modal/x-modal.css +468 -0
- package/dist/collection/components/x-modal/x-modal.js +683 -0
- package/dist/collection/components/x-modal-content/index.js +1 -0
- package/dist/collection/components/x-modal-content/types.js +1 -0
- package/dist/collection/components/x-modal-content/x-modal-content.css +749 -0
- package/dist/collection/components/x-modal-content/x-modal-content.js +701 -0
- package/dist/collection/components/x-notification/notification-service.js +335 -0
- package/dist/collection/components/x-notification/types.js +1 -0
- package/dist/collection/components/x-notification/x-notification.css +486 -0
- package/dist/collection/components/x-notification/x-notification.js +788 -0
- package/dist/collection/components/x-page-header/x-page-header.css +406 -0
- package/dist/collection/components/x-page-header/x-page-header.js +159 -0
- package/dist/collection/components/x-pagination/types.js +1 -0
- package/dist/collection/components/x-pagination/x-pagination.css +705 -0
- package/dist/collection/components/x-pagination/x-pagination.js +1241 -0
- package/dist/collection/components/x-popconfirm/popconfirm-content/popconfirm-content.css +456 -0
- package/dist/collection/components/x-popconfirm/popconfirm-content/popconfirm-content.js +244 -0
- package/dist/collection/components/x-popconfirm/x-popconfirm.css +412 -0
- package/dist/collection/components/x-popconfirm/x-popconfirm.js +355 -0
- package/dist/collection/components/x-popover/popover-content/popover-content.css +437 -0
- package/dist/collection/components/x-popover/popover-content/popover-content.js +261 -0
- package/dist/collection/components/x-popover/x-popover.css +442 -0
- package/dist/collection/components/x-popover/x-popover.js +390 -0
- package/dist/collection/components/x-portal/debug.js +42 -0
- package/dist/collection/components/x-portal/index.js +1 -0
- package/dist/collection/components/x-portal/portal-controller.js +146 -0
- package/dist/collection/components/x-portal/positioning.js +332 -0
- package/dist/collection/components/x-portal/types.js +1 -0
- package/dist/collection/components/x-portal/x-portal.js +21 -0
- package/dist/collection/components/x-progress/x-progress.css +424 -0
- package/dist/collection/components/x-progress/x-progress.js +326 -0
- package/dist/collection/components/x-qr-code/x-qr-code.css +37 -0
- package/dist/collection/components/x-qr-code/x-qr-code.js +292 -0
- package/dist/collection/components/x-radio/types.js +1 -0
- package/dist/collection/components/x-radio/x-radio.css +523 -0
- package/dist/collection/components/x-radio/x-radio.js +689 -0
- package/dist/collection/components/x-radio-group/types.js +1 -0
- package/dist/collection/components/x-radio-group/x-radio-group.css +326 -0
- package/dist/collection/components/x-radio-group/x-radio-group.js +531 -0
- package/dist/collection/components/x-range-picker/range-picker-dropdown-content/index.js +1 -0
- package/dist/collection/components/x-range-picker/range-picker-dropdown-content/range-picker-dropdown-content.css +609 -0
- package/dist/collection/components/x-range-picker/range-picker-dropdown-content/range-picker-dropdown-content.js +1497 -0
- package/dist/collection/components/x-range-picker/range-picker-dropdown-content/types.js +1 -0
- package/dist/collection/components/x-range-picker/types.js +1 -0
- package/dist/collection/components/x-range-picker/x-range-picker.css +775 -0
- package/dist/collection/components/x-range-picker/x-range-picker.js +1883 -0
- package/dist/collection/components/x-rate/x-rate.css +396 -0
- package/dist/collection/components/x-rate/x-rate.js +445 -0
- package/dist/collection/components/x-result/types.js +1 -0
- package/dist/collection/components/x-result/x-result.css +434 -0
- package/dist/collection/components/x-result/x-result.js +376 -0
- package/dist/collection/components/x-row/x-row.css +345 -0
- package/dist/collection/components/x-row/x-row.js +196 -0
- package/dist/collection/components/x-segmented/types.js +1 -0
- package/dist/collection/components/x-segmented/x-segmented.css +407 -0
- package/dist/collection/components/x-segmented/x-segmented.js +414 -0
- package/dist/collection/components/x-select/select-dropdown-content/index.js +1 -0
- package/dist/collection/components/x-select/select-dropdown-content/select-dropdown-content.css +827 -0
- package/dist/collection/components/x-select/select-dropdown-content/select-dropdown-content.js +163 -0
- package/dist/collection/components/x-select/select-dropdown-content/types.js +1 -0
- package/dist/collection/components/x-select/types.js +9 -0
- package/dist/collection/components/x-select/x-select.css +823 -0
- package/dist/collection/components/x-select/x-select.js +2247 -0
- package/dist/collection/components/x-select-option/x-select-option.css +379 -0
- package/dist/collection/components/x-select-option/x-select-option.js +207 -0
- package/dist/collection/components/x-sider/x-sider.css +379 -0
- package/dist/collection/components/x-sider/x-sider.js +379 -0
- package/dist/collection/components/x-skeleton/x-skeleton.css +400 -0
- package/dist/collection/components/x-skeleton/x-skeleton.js +221 -0
- package/dist/collection/components/x-slider/types.js +1 -0
- package/dist/collection/components/x-slider/x-slider.css +511 -0
- package/dist/collection/components/x-slider/x-slider.js +785 -0
- package/dist/collection/components/x-space/x-space.css +339 -0
- package/dist/collection/components/x-space/x-space.js +228 -0
- package/dist/collection/components/x-spin/x-spin.css +465 -0
- package/dist/collection/components/x-spin/x-spin.js +142 -0
- package/dist/collection/components/x-splitter/types.js +1 -0
- package/dist/collection/components/x-splitter/x-splitter.css +181 -0
- package/dist/collection/components/x-splitter/x-splitter.js +884 -0
- package/dist/collection/components/x-splitter-panel/types.js +1 -0
- package/dist/collection/components/x-splitter-panel/x-splitter-panel.css +25 -0
- package/dist/collection/components/x-splitter-panel/x-splitter-panel.js +292 -0
- package/dist/collection/components/x-statistic/x-statistic.css +366 -0
- package/dist/collection/components/x-statistic/x-statistic.js +291 -0
- package/dist/collection/components/x-step/types.js +1 -0
- package/dist/collection/components/x-step/x-step.css +801 -0
- package/dist/collection/components/x-step/x-step.js +539 -0
- package/dist/collection/components/x-steps/types.js +1 -0
- package/dist/collection/components/x-steps/x-steps.css +830 -0
- package/dist/collection/components/x-steps/x-steps.js +1032 -0
- package/dist/collection/components/x-switch/types.js +1 -0
- package/dist/collection/components/x-switch/x-switch.css +463 -0
- package/dist/collection/components/x-switch/x-switch.js +356 -0
- package/dist/collection/components/x-tab-pane/x-tab-pane.css +337 -0
- package/dist/collection/components/x-tab-pane/x-tab-pane.js +243 -0
- package/dist/collection/components/x-table/column-util.js +87 -0
- package/dist/collection/components/x-table/types.js +1 -0
- package/dist/collection/components/x-table/x-table.css +898 -0
- package/dist/collection/components/x-table/x-table.js +2464 -0
- package/dist/collection/components/x-table-cell/x-table-cell.css +337 -0
- package/dist/collection/components/x-table-cell/x-table-cell.js +167 -0
- package/dist/collection/components/x-table-row/x-table-row.css +336 -0
- package/dist/collection/components/x-table-row/x-table-row.js +172 -0
- package/dist/collection/components/x-tabs/types.js +1 -0
- package/dist/collection/components/x-tabs/x-tabs.css +664 -0
- package/dist/collection/components/x-tabs/x-tabs.js +1264 -0
- package/dist/collection/components/x-tag/types.js +1 -0
- package/dist/collection/components/x-tag/x-tag.css +1047 -0
- package/dist/collection/components/x-tag/x-tag.js +535 -0
- package/dist/collection/components/x-textarea/x-textarea.css +446 -0
- package/dist/collection/components/x-textarea/x-textarea.js +553 -0
- package/dist/collection/components/x-time-picker/time-picker-dropdown-content/index.js +1 -0
- package/dist/collection/components/x-time-picker/time-picker-dropdown-content/time-picker-dropdown-content.css +409 -0
- package/dist/collection/components/x-time-picker/time-picker-dropdown-content/time-picker-dropdown-content.js +855 -0
- package/dist/collection/components/x-time-picker/time-picker-dropdown-content/types.js +1 -0
- package/dist/collection/components/x-time-picker/types.js +1 -0
- package/dist/collection/components/x-time-picker/x-time-picker.css +653 -0
- package/dist/collection/components/x-time-picker/x-time-picker.js +1454 -0
- package/dist/collection/components/x-timeline/x-timeline.css +404 -0
- package/dist/collection/components/x-timeline/x-timeline.js +129 -0
- package/dist/collection/components/x-timeline-item/x-timeline-item.css +400 -0
- package/dist/collection/components/x-timeline-item/x-timeline-item.js +125 -0
- package/dist/collection/components/x-tooltip/types.js +1 -0
- package/dist/collection/components/x-tooltip/x-tooltip.css +528 -0
- package/dist/collection/components/x-tooltip/x-tooltip.js +1006 -0
- package/dist/collection/components/x-tooltip-content/index.js +1 -0
- package/dist/collection/components/x-tooltip-content/types.js +1 -0
- package/dist/collection/components/x-tooltip-content/x-tooltip-content.css +217 -0
- package/dist/collection/components/x-tooltip-content/x-tooltip-content.js +238 -0
- package/dist/collection/components/x-tour/index.js +1 -0
- package/dist/collection/components/x-tour/types.js +1 -0
- package/dist/collection/components/x-tour/x-tour-panel.css +467 -0
- package/dist/collection/components/x-tour/x-tour-panel.js +265 -0
- package/dist/collection/components/x-tour/x-tour.css +353 -0
- package/dist/collection/components/x-tour/x-tour.js +555 -0
- package/dist/collection/components/x-transfer/types.js +1 -0
- package/dist/collection/components/x-transfer/x-transfer.css +626 -0
- package/dist/collection/components/x-transfer/x-transfer.js +956 -0
- package/dist/collection/components/x-tree/types.js +1 -0
- package/dist/collection/components/x-tree/x-tree.css +703 -0
- package/dist/collection/components/x-tree/x-tree.js +1793 -0
- package/dist/collection/components/x-tree-select/tree-select-dropdown-content/index.js +2 -0
- package/dist/collection/components/x-tree-select/tree-select-dropdown-content/tree-select-dropdown-content.css +635 -0
- package/dist/collection/components/x-tree-select/tree-select-dropdown-content/tree-select-dropdown-content.js +890 -0
- package/dist/collection/components/x-tree-select/tree-select-dropdown-content/types.js +1 -0
- package/dist/collection/components/x-tree-select/types.js +2 -0
- package/dist/collection/components/x-tree-select/x-tree-select.css +790 -0
- package/dist/collection/components/x-tree-select/x-tree-select.js +2750 -0
- package/dist/collection/components/x-typography/x-typography.css +409 -0
- package/dist/collection/components/x-typography/x-typography.js +431 -0
- package/dist/collection/components/x-upload/types.js +1 -0
- package/dist/collection/components/x-upload/x-upload.css +774 -0
- package/dist/collection/components/x-upload/x-upload.js +1452 -0
- package/dist/collection/components/x-virtual-scroll/x-virtual-scroll.css +79 -0
- package/dist/collection/components/x-virtual-scroll/x-virtual-scroll.js +478 -0
- package/dist/collection/components/x-workflow/x-workflow.css +486 -0
- package/dist/collection/components/x-workflow/x-workflow.js +1403 -0
- package/dist/collection/components/x-workflow-builder/x-workflow-builder.css +538 -0
- package/dist/collection/components/x-workflow-builder/x-workflow-builder.js +468 -0
- package/dist/collection/index.js +5 -0
- package/dist/collection/locales/index.js +2 -0
- package/dist/collection/locales/languages/ar_EG.js +120 -0
- package/dist/collection/locales/languages/az_AZ.js +120 -0
- package/dist/collection/locales/languages/bg_BG.js +120 -0
- package/dist/collection/locales/languages/bn_BD.js +120 -0
- package/dist/collection/locales/languages/by_BY.js +120 -0
- package/dist/collection/locales/languages/ca_ES.js +120 -0
- package/dist/collection/locales/languages/cs_CZ.js +120 -0
- package/dist/collection/locales/languages/da_DK.js +120 -0
- package/dist/collection/locales/languages/de_DE.js +120 -0
- package/dist/collection/locales/languages/el_GR.js +120 -0
- package/dist/collection/locales/languages/en_AU.js +120 -0
- package/dist/collection/locales/languages/en_GB.js +120 -0
- package/dist/collection/locales/languages/en_US.js +120 -0
- package/dist/collection/locales/languages/es_ES.js +120 -0
- package/dist/collection/locales/languages/et_EE.js +120 -0
- package/dist/collection/locales/languages/fa_IR.js +120 -0
- package/dist/collection/locales/languages/fi_FI.js +120 -0
- package/dist/collection/locales/languages/fr_BE.js +120 -0
- package/dist/collection/locales/languages/fr_CA.js +120 -0
- package/dist/collection/locales/languages/fr_FR.js +120 -0
- package/dist/collection/locales/languages/ga_IE.js +120 -0
- package/dist/collection/locales/languages/gl_ES.js +120 -0
- package/dist/collection/locales/languages/he_IL.js +120 -0
- package/dist/collection/locales/languages/hi_IN.js +120 -0
- package/dist/collection/locales/languages/hr_HR.js +120 -0
- package/dist/collection/locales/languages/hu_HU.js +120 -0
- package/dist/collection/locales/languages/hy_AM.js +120 -0
- package/dist/collection/locales/languages/id_ID.js +120 -0
- package/dist/collection/locales/languages/index.js +137 -0
- package/dist/collection/locales/languages/is_IS.js +120 -0
- package/dist/collection/locales/languages/it_IT.js +120 -0
- package/dist/collection/locales/languages/ja_JP.js +120 -0
- package/dist/collection/locales/languages/ka_GE.js +120 -0
- package/dist/collection/locales/languages/kk_KZ.js +120 -0
- package/dist/collection/locales/languages/km_KH.js +120 -0
- package/dist/collection/locales/languages/kmr_IQ.js +120 -0
- package/dist/collection/locales/languages/kn_IN.js +120 -0
- package/dist/collection/locales/languages/ko_KR.js +120 -0
- package/dist/collection/locales/languages/ku_IQ.js +120 -0
- package/dist/collection/locales/languages/lt_LT.js +120 -0
- package/dist/collection/locales/languages/lv_LV.js +120 -0
- package/dist/collection/locales/languages/mk_MK.js +120 -0
- package/dist/collection/locales/languages/ml_IN.js +120 -0
- package/dist/collection/locales/languages/mn_MN.js +120 -0
- package/dist/collection/locales/languages/ms_MY.js +120 -0
- package/dist/collection/locales/languages/nb_NO.js +120 -0
- package/dist/collection/locales/languages/ne_NP.js +120 -0
- package/dist/collection/locales/languages/nl_BE.js +120 -0
- package/dist/collection/locales/languages/nl_NL.js +120 -0
- package/dist/collection/locales/languages/pl_PL.js +120 -0
- package/dist/collection/locales/languages/pt_BR.js +120 -0
- package/dist/collection/locales/languages/pt_PT.js +120 -0
- package/dist/collection/locales/languages/ro_RO.js +120 -0
- package/dist/collection/locales/languages/ru_RU.js +120 -0
- package/dist/collection/locales/languages/sk_SK.js +120 -0
- package/dist/collection/locales/languages/sl_SI.js +120 -0
- package/dist/collection/locales/languages/sr_RS.js +120 -0
- package/dist/collection/locales/languages/sv_SE.js +120 -0
- package/dist/collection/locales/languages/ta_IN.js +120 -0
- package/dist/collection/locales/languages/th_TH.js +120 -0
- package/dist/collection/locales/languages/tr_TR.js +120 -0
- package/dist/collection/locales/languages/uk_UA.js +120 -0
- package/dist/collection/locales/languages/ur_PK.js +120 -0
- package/dist/collection/locales/languages/vi_VN.js +120 -0
- package/dist/collection/locales/languages/zh_CN.js +120 -0
- package/dist/collection/locales/languages/zh_HK.js +120 -0
- package/dist/collection/locales/languages/zh_TW.js +120 -0
- package/dist/collection/locales/locale.service.js +179 -0
- package/dist/collection/types.js +11 -0
- package/dist/collection/utils/app-service.js +19 -0
- package/dist/collection/utils/cascader.service.js +142 -0
- package/dist/collection/utils/config.js +59 -0
- package/dist/collection/utils/form/core/abstract-control.js +273 -0
- package/dist/collection/utils/form/core/form-array.js +131 -0
- package/dist/collection/utils/form/core/form-builder.js +56 -0
- package/dist/collection/utils/form/core/form-control.js +69 -0
- package/dist/collection/utils/form/core/form-group.js +163 -0
- package/dist/collection/utils/form/frameworks.js +37 -0
- package/dist/collection/utils/form/types.js +1 -0
- package/dist/collection/utils/form/validators/validators.js +198 -0
- package/dist/collection/utils/index.js +3 -0
- package/dist/collection/utils/qr-code/cache/qr.cache.js +20 -0
- package/dist/collection/utils/qr-code/engine/qr.engine.js +130 -0
- package/dist/collection/utils/qr-code/engine/qr.gf.js +22 -0
- package/dist/collection/utils/qr-code/engine/qr.mask.js +54 -0
- package/dist/collection/utils/qr-code/engine/qr.rs.js +29 -0
- package/dist/collection/utils/qr-code/engine/qr.util.js +0 -0
- package/dist/collection/utils/qr-code/engine/qr.version.js +11 -0
- package/dist/collection/utils/qr-code/renderer/canvas.renderer.js +36 -0
- package/dist/collection/utils/qr-code/renderer/svg.renderer.js +33 -0
- package/dist/collection/utils/qr-code/worker/worker.manager.js +24 -0
- package/dist/collection/utils/table.service.js +150 -0
- package/dist/collection/utils/tree.service.js +335 -0
- package/dist/collection/utils/workflow/flow.service.js +382 -0
- package/dist/collection/utils/workflow/types.js +1 -0
- package/dist/esm/abstract-control-XBF88YT_.js +275 -0
- package/dist/esm/config-BPeosvTA.js +60 -0
- package/dist/esm/index-ig_mFsVk.js +2159 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/locale.service-D66tF8_2.js +8199 -0
- package/dist/esm/modal-service-C_e0SaFZ.js +397 -0
- package/dist/esm/notification-service-DJTSPOq7.js +599 -0
- package/dist/esm/portal-controller-COpzIi1n.js +499 -0
- package/dist/esm/schema-builder-DBPGgJBx.js +1502 -0
- package/dist/esm/tree.service-Dgxy93Bg.js +337 -0
- package/dist/esm/types-C_QdJRdB.js +253 -0
- package/dist/esm/x-address_14.entry.js +12562 -0
- package/dist/esm/x-affix.entry.js +180 -0
- package/dist/esm/x-alert_11.entry.js +3227 -0
- package/dist/esm/x-anchor-link.entry.js +65 -0
- package/dist/esm/x-anchor.entry.js +156 -0
- package/dist/esm/x-app.entry.js +135 -0
- package/dist/esm/x-auto-complete-dropdown-content.entry.js +67 -0
- package/dist/esm/x-avatar.entry.js +267 -0
- package/dist/esm/x-back-top.entry.js +87 -0
- package/dist/esm/x-breadcrumb_5.entry.js +1548 -0
- package/dist/esm/x-button.entry.js +172 -0
- package/dist/esm/x-card_12.entry.js +1373 -0
- package/dist/esm/x-carousel.entry.js +145 -0
- package/dist/esm/x-cascader-dropdown-content.entry.js +362 -0
- package/dist/esm/x-checkbox_5.entry.js +1370 -0
- package/dist/esm/x-collapse-panel.entry.js +241 -0
- package/dist/esm/x-collapse.entry.js +289 -0
- package/dist/esm/x-color-picker-panel_2.entry.js +870 -0
- package/dist/esm/x-color-picker_9.entry.js +3075 -0
- package/dist/esm/x-comment.entry.js +187 -0
- package/dist/esm/x-date-picker-dropdown-content.entry.js +755 -0
- package/dist/esm/x-descriptions-item.entry.js +106 -0
- package/dist/esm/x-drawer-content.entry.js +195 -0
- package/dist/esm/x-drawer.entry.js +292 -0
- package/dist/esm/x-dropdown_2.entry.js +732 -0
- package/dist/esm/x-empty.entry.js +62 -0
- package/dist/esm/x-finder.entry.js +645 -0
- package/dist/esm/x-form-builder.entry.js +805 -0
- package/dist/esm/x-icon.entry.js +142 -0
- package/dist/esm/x-infinite-scroll.entry.js +127 -0
- package/dist/esm/x-list-item.entry.js +25 -0
- package/dist/esm/x-list.entry.js +136 -0
- package/dist/esm/x-mentions.entry.js +273 -0
- package/dist/esm/x-menu-divider.entry.js +47 -0
- package/dist/esm/x-menu-item-group.entry.js +147 -0
- package/dist/esm/x-menu-submenu.entry.js +371 -0
- package/dist/esm/x-message.entry.js +217 -0
- package/dist/esm/x-modal-content.entry.js +215 -0
- package/dist/esm/x-notification.entry.js +323 -0
- package/dist/esm/x-page-header.entry.js +65 -0
- package/dist/esm/x-popconfirm-content.entry.js +70 -0
- package/dist/esm/x-popconfirm.entry.js +179 -0
- package/dist/esm/x-progress.entry.js +134 -0
- package/dist/esm/x-qr-code.entry.js +444 -0
- package/dist/esm/x-range-picker-dropdown-content.entry.js +819 -0
- package/dist/esm/x-select_2.entry.js +1313 -0
- package/dist/esm/x-skeleton.entry.js +73 -0
- package/dist/esm/x-spin.entry.js +60 -0
- package/dist/esm/x-splitter-panel.entry.js +89 -0
- package/dist/esm/x-splitter.entry.js +610 -0
- package/dist/esm/x-statistic.entry.js +102 -0
- package/dist/esm/x-step.entry.js +177 -0
- package/dist/esm/x-steps.entry.js +437 -0
- package/dist/esm/x-tab-pane.entry.js +71 -0
- package/dist/esm/x-table-cell.entry.js +43 -0
- package/dist/esm/x-table-row.entry.js +83 -0
- package/dist/esm/x-tabs.entry.js +607 -0
- package/dist/esm/x-time-picker-dropdown-content.entry.js +387 -0
- package/dist/esm/x-timeline-item.entry.js +48 -0
- package/dist/esm/x-timeline.entry.js +50 -0
- package/dist/esm/x-tour-panel.entry.js +87 -0
- package/dist/esm/x-tour.entry.js +342 -0
- package/dist/esm/x-tree-select-dropdown-content.entry.js +437 -0
- package/dist/esm/x-virtual-scroll.entry.js +201 -0
- package/dist/esm/x-workflow-builder.entry.js +364 -0
- package/dist/esm/xlabs-store.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/x-address/vietnam-data.d.ts +14 -0
- package/dist/types/components/x-address/x-address.d.ts +64 -0
- package/dist/types/components/x-affix/x-affix.d.ts +111 -0
- package/dist/types/components/x-alert/x-alert.d.ts +74 -0
- package/dist/types/components/x-anchor/x-anchor.d.ts +120 -0
- package/dist/types/components/x-anchor-link/x-anchor-link.d.ts +47 -0
- package/dist/types/components/x-app/x-app.d.ts +93 -0
- package/dist/types/components/x-auto-complete/auto-complete-dropdown-content/auto-complete-dropdown-content.d.ts +58 -0
- package/dist/types/components/x-auto-complete/auto-complete-dropdown-content/index.d.ts +2 -0
- package/dist/types/components/x-auto-complete/auto-complete-dropdown-content/types.d.ts +14 -0
- package/dist/types/components/x-auto-complete/types.d.ts +150 -0
- package/dist/types/components/x-auto-complete/x-auto-complete.d.ts +480 -0
- package/dist/types/components/x-avatar/types.d.ts +38 -0
- package/dist/types/components/x-avatar/x-avatar.d.ts +171 -0
- package/dist/types/components/x-back-top/x-back-top.d.ts +59 -0
- package/dist/types/components/x-badge/types.d.ts +23 -0
- package/dist/types/components/x-badge/x-badge.d.ts +184 -0
- package/dist/types/components/x-breadcrumb/x-breadcrumb.d.ts +43 -0
- package/dist/types/components/x-breadcrumb-item/x-breadcrumb-item.d.ts +43 -0
- package/dist/types/components/x-button/x-button.d.ts +121 -0
- package/dist/types/components/x-captcha/x-captcha.d.ts +78 -0
- package/dist/types/components/x-card/x-card.d.ts +139 -0
- package/dist/types/components/x-carousel/x-carousel.d.ts +104 -0
- package/dist/types/components/x-cascader/cascader-dropdown-content/cascader-dropdown-content.d.ts +255 -0
- package/dist/types/components/x-cascader/cascader-dropdown-content/index.d.ts +2 -0
- package/dist/types/components/x-cascader/cascader-dropdown-content/types.d.ts +20 -0
- package/dist/types/components/x-cascader/types.d.ts +143 -0
- package/dist/types/components/x-cascader/x-cascader.d.ts +520 -0
- package/dist/types/components/x-checkbox/types.d.ts +83 -0
- package/dist/types/components/x-checkbox/x-checkbox.d.ts +156 -0
- package/dist/types/components/x-col/x-col.d.ts +89 -0
- package/dist/types/components/x-collapse/types.d.ts +55 -0
- package/dist/types/components/x-collapse/x-collapse.d.ts +157 -0
- package/dist/types/components/x-collapse-panel/x-collapse-panel.d.ts +143 -0
- package/dist/types/components/x-color-picker/types.d.ts +135 -0
- package/dist/types/components/x-color-picker/x-color-picker-panel.d.ts +80 -0
- package/dist/types/components/x-color-picker/x-color-picker.d.ts +328 -0
- package/dist/types/components/x-comment/types.d.ts +20 -0
- package/dist/types/components/x-comment/x-comment.d.ts +111 -0
- package/dist/types/components/x-content/types.d.ts +6 -0
- package/dist/types/components/x-content/x-content.d.ts +64 -0
- package/dist/types/components/x-date-picker/date-picker-dropdown-content/date-picker-dropdown-content.d.ts +376 -0
- package/dist/types/components/x-date-picker/date-picker-dropdown-content/index.d.ts +2 -0
- package/dist/types/components/x-date-picker/date-picker-dropdown-content/types.d.ts +61 -0
- package/dist/types/components/x-date-picker/types.d.ts +28 -0
- package/dist/types/components/x-date-picker/x-date-picker.d.ts +512 -0
- package/dist/types/components/x-descriptions/types.d.ts +41 -0
- package/dist/types/components/x-descriptions/x-descriptions.d.ts +141 -0
- package/dist/types/components/x-descriptions-item/x-descriptions-item.d.ts +70 -0
- package/dist/types/components/x-divider/x-divider.d.ts +82 -0
- package/dist/types/components/x-drawer/x-drawer.d.ts +156 -0
- package/dist/types/components/x-drawer-content/x-drawer-content.d.ts +142 -0
- package/dist/types/components/x-dropdown/dropdown-content/dropdown-content.d.ts +83 -0
- package/dist/types/components/x-dropdown/dropdown-content/types.d.ts +16 -0
- package/dist/types/components/x-dropdown/types.d.ts +119 -0
- package/dist/types/components/x-dropdown/x-dropdown.d.ts +292 -0
- package/dist/types/components/x-editor/editor-history.d.ts +62 -0
- package/dist/types/components/x-editor/editor-normalizer.d.ts +70 -0
- package/dist/types/components/x-editor/editor-parser.d.ts +34 -0
- package/dist/types/components/x-editor/editor-selection.d.ts +92 -0
- package/dist/types/components/x-editor/types.d.ts +62 -0
- package/dist/types/components/x-editor/x-editor.d.ts +279 -0
- package/dist/types/components/x-empty/x-empty.d.ts +45 -0
- package/dist/types/components/x-finder/services/finder-service.d.ts +38 -0
- package/dist/types/components/x-finder/types.d.ts +63 -0
- package/dist/types/components/x-finder/x-finder.d.ts +66 -0
- package/dist/types/components/x-flex/x-flex.d.ts +62 -0
- package/dist/types/components/x-float-button/x-float-button.d.ts +66 -0
- package/dist/types/components/x-footer/x-footer.d.ts +11 -0
- package/dist/types/components/x-form/x-form.d.ts +64 -0
- package/dist/types/components/x-form-builder/services/apis/api-client.d.ts +63 -0
- package/dist/types/components/x-form-builder/services/constants/index.d.ts +2 -0
- package/dist/types/components/x-form-builder/services/forms/abstract-control.d.ts +59 -0
- package/dist/types/components/x-form-builder/services/forms/form-array.d.ts +25 -0
- package/dist/types/components/x-form-builder/services/forms/form-builder.d.ts +17 -0
- package/dist/types/components/x-form-builder/services/forms/form-control.d.ts +14 -0
- package/dist/types/components/x-form-builder/services/forms/form-group.d.ts +33 -0
- package/dist/types/components/x-form-builder/services/forms/index.d.ts +11 -0
- package/dist/types/components/x-form-builder/services/forms/types.d.ts +11 -0
- package/dist/types/components/x-form-builder/services/forms/validators.d.ts +16 -0
- package/dist/types/components/x-form-builder/services/schema/condition-builder.d.ts +39 -0
- package/dist/types/components/x-form-builder/services/schema/default-registry.d.ts +1 -0
- package/dist/types/components/x-form-builder/services/schema/form-mapping.d.ts +26 -0
- package/dist/types/components/x-form-builder/services/schema/form-registry.d.ts +27 -0
- package/dist/types/components/x-form-builder/services/schema/schema-actions.d.ts +3 -0
- package/dist/types/components/x-form-builder/services/schema/schema-builder.d.ts +19 -0
- package/dist/types/components/x-form-builder/services/schema/schema-validator.d.ts +9 -0
- package/dist/types/components/x-form-builder/types/api/api-common-types.d.ts +5 -0
- package/dist/types/components/x-form-builder/types/api/api-interfaces.d.ts +52 -0
- package/dist/types/components/x-form-builder/types/api/index.d.ts +2 -0
- package/dist/types/components/x-form-builder/types/common/common-types.d.ts +49 -0
- package/dist/types/components/x-form-builder/types/common/condition-types.d.ts +53 -0
- package/dist/types/components/x-form-builder/types/common/field-types-enum.d.ts +2 -0
- package/dist/types/components/x-form-builder/types/common/index.d.ts +7 -0
- package/dist/types/components/x-form-builder/types/common/shared-interfaces.d.ts +37 -0
- package/dist/types/components/x-form-builder/types/common/validation-types.d.ts +36 -0
- package/dist/types/components/x-form-builder/types/common/value-types.d.ts +15 -0
- package/dist/types/components/x-form-builder/types/event/event-types.d.ts +16 -0
- package/dist/types/components/x-form-builder/types/event/index.d.ts +1 -0
- package/dist/types/components/x-form-builder/types/fields/advanced-fields.d.ts +125 -0
- package/dist/types/components/x-form-builder/types/fields/base-field.d.ts +49 -0
- package/dist/types/components/x-form-builder/types/fields/datetime-file-fields.d.ts +37 -0
- package/dist/types/components/x-form-builder/types/fields/display-fields.d.ts +92 -0
- package/dist/types/components/x-form-builder/types/fields/form-field-union.d.ts +9 -0
- package/dist/types/components/x-form-builder/types/fields/index.d.ts +9 -0
- package/dist/types/components/x-form-builder/types/fields/input-fields.d.ts +53 -0
- package/dist/types/components/x-form-builder/types/fields/layout-fields.d.ts +55 -0
- package/dist/types/components/x-form-builder/types/fields/selection-fields.d.ts +130 -0
- package/dist/types/components/x-form-builder/types/fields/special-input-fields.d.ts +99 -0
- package/dist/types/components/x-form-builder/types/form/events-types.d.ts +29 -0
- package/dist/types/components/x-form-builder/types/form/form-config.d.ts +0 -0
- package/dist/types/components/x-form-builder/types/form/index.d.ts +2 -0
- package/dist/types/components/x-form-builder/types/form/schema-types.d.ts +134 -0
- package/dist/types/components/x-form-builder/types/index.d.ts +4 -0
- package/dist/types/components/x-form-builder/utils/condition-engine.d.ts +23 -0
- package/dist/types/components/x-form-builder/utils/utils.d.ts +19 -0
- package/dist/types/components/x-form-builder/utils/values.d.ts +8 -0
- package/dist/types/components/x-form-builder/x-form-builder.d.ts +65 -0
- package/dist/types/components/x-form-item/x-form-item.d.ts +94 -0
- package/dist/types/components/x-header/x-header.d.ts +11 -0
- package/dist/types/components/x-icon/icons.d.ts +2717 -0
- package/dist/types/components/x-icon/x-icon.d.ts +89 -0
- package/dist/types/components/x-image/types.d.ts +94 -0
- package/dist/types/components/x-image/x-image.d.ts +150 -0
- package/dist/types/components/x-infinite-scroll/x-infinite-scroll.d.ts +75 -0
- package/dist/types/components/x-input/types.d.ts +14 -0
- package/dist/types/components/x-input/x-input.d.ts +385 -0
- package/dist/types/components/x-input-number/types.d.ts +98 -0
- package/dist/types/components/x-input-number/x-input-number.d.ts +395 -0
- package/dist/types/components/x-layout/x-layout.d.ts +61 -0
- package/dist/types/components/x-list/x-list.d.ts +100 -0
- package/dist/types/components/x-list-item/x-list-item.d.ts +13 -0
- package/dist/types/components/x-mentions/types.d.ts +7 -0
- package/dist/types/components/x-mentions/x-mentions.d.ts +159 -0
- package/dist/types/components/x-menu/types.d.ts +83 -0
- package/dist/types/components/x-menu/x-menu.d.ts +153 -0
- package/dist/types/components/x-menu-divider/types.d.ts +6 -0
- package/dist/types/components/x-menu-divider/x-menu-divider.d.ts +19 -0
- package/dist/types/components/x-menu-item/types.d.ts +8 -0
- package/dist/types/components/x-menu-item/x-menu-item.d.ts +80 -0
- package/dist/types/components/x-menu-item-group/types.d.ts +6 -0
- package/dist/types/components/x-menu-item-group/x-menu-item-group.d.ts +60 -0
- package/dist/types/components/x-menu-submenu/types.d.ts +15 -0
- package/dist/types/components/x-menu-submenu/x-menu-submenu.d.ts +135 -0
- package/dist/types/components/x-message/message-service.d.ts +58 -0
- package/dist/types/components/x-message/types.d.ts +90 -0
- package/dist/types/components/x-message/x-message.d.ts +133 -0
- package/dist/types/components/x-modal/modal-service.d.ts +6 -0
- package/dist/types/components/x-modal/modal-service.types.d.ts +278 -0
- package/dist/types/components/x-modal/x-modal.d.ts +160 -0
- package/dist/types/components/x-modal-content/index.d.ts +1 -0
- package/dist/types/components/x-modal-content/types.d.ts +83 -0
- package/dist/types/components/x-modal-content/x-modal-content.d.ts +174 -0
- package/dist/types/components/x-notification/notification-service.d.ts +83 -0
- package/dist/types/components/x-notification/types.d.ts +112 -0
- package/dist/types/components/x-notification/x-notification.d.ts +212 -0
- package/dist/types/components/x-page-header/x-page-header.d.ts +51 -0
- package/dist/types/components/x-pagination/types.d.ts +104 -0
- package/dist/types/components/x-pagination/x-pagination.d.ts +274 -0
- package/dist/types/components/x-popconfirm/popconfirm-content/popconfirm-content.d.ts +62 -0
- package/dist/types/components/x-popconfirm/x-popconfirm.d.ts +97 -0
- package/dist/types/components/x-popover/popover-content/popover-content.d.ts +71 -0
- package/dist/types/components/x-popover/x-popover.d.ts +99 -0
- package/dist/types/components/x-portal/debug.d.ts +5 -0
- package/dist/types/components/x-portal/index.d.ts +2 -0
- package/dist/types/components/x-portal/portal-controller.d.ts +20 -0
- package/dist/types/components/x-portal/positioning.d.ts +102 -0
- package/dist/types/components/x-portal/types.d.ts +43 -0
- package/dist/types/components/x-portal/x-portal.d.ts +19 -0
- package/dist/types/components/x-progress/x-progress.d.ts +85 -0
- package/dist/types/components/x-qr-code/x-qr-code.d.ts +26 -0
- package/dist/types/components/x-radio/types.d.ts +94 -0
- package/dist/types/components/x-radio/x-radio.d.ts +186 -0
- package/dist/types/components/x-radio-group/types.d.ts +20 -0
- package/dist/types/components/x-radio-group/x-radio-group.d.ts +90 -0
- package/dist/types/components/x-range-picker/range-picker-dropdown-content/index.d.ts +2 -0
- package/dist/types/components/x-range-picker/range-picker-dropdown-content/range-picker-dropdown-content.d.ts +437 -0
- package/dist/types/components/x-range-picker/range-picker-dropdown-content/types.d.ts +48 -0
- package/dist/types/components/x-range-picker/types.d.ts +35 -0
- package/dist/types/components/x-range-picker/x-range-picker.d.ts +457 -0
- package/dist/types/components/x-rate/x-rate.d.ts +129 -0
- package/dist/types/components/x-result/types.d.ts +45 -0
- package/dist/types/components/x-result/x-result.d.ts +120 -0
- package/dist/types/components/x-row/x-row.d.ts +44 -0
- package/dist/types/components/x-segmented/types.d.ts +10 -0
- package/dist/types/components/x-segmented/x-segmented.d.ts +128 -0
- package/dist/types/components/x-select/select-dropdown-content/index.d.ts +2 -0
- package/dist/types/components/x-select/select-dropdown-content/select-dropdown-content.d.ts +52 -0
- package/dist/types/components/x-select/select-dropdown-content/types.d.ts +14 -0
- package/dist/types/components/x-select/types.d.ts +41 -0
- package/dist/types/components/x-select/x-select.d.ts +635 -0
- package/dist/types/components/x-select-option/x-select-option.d.ts +51 -0
- package/dist/types/components/x-sider/x-sider.d.ts +99 -0
- package/dist/types/components/x-skeleton/x-skeleton.d.ts +54 -0
- package/dist/types/components/x-slider/types.d.ts +1 -0
- package/dist/types/components/x-slider/x-slider.d.ts +240 -0
- package/dist/types/components/x-space/x-space.d.ts +54 -0
- package/dist/types/components/x-spin/x-spin.d.ts +41 -0
- package/dist/types/components/x-splitter/types.d.ts +41 -0
- package/dist/types/components/x-splitter/x-splitter.d.ts +187 -0
- package/dist/types/components/x-splitter-panel/types.d.ts +23 -0
- package/dist/types/components/x-splitter-panel/x-splitter-panel.d.ts +67 -0
- package/dist/types/components/x-statistic/x-statistic.d.ts +80 -0
- package/dist/types/components/x-step/types.d.ts +14 -0
- package/dist/types/components/x-step/x-step.d.ts +104 -0
- package/dist/types/components/x-steps/types.d.ts +124 -0
- package/dist/types/components/x-steps/x-steps.d.ts +270 -0
- package/dist/types/components/x-switch/types.d.ts +5 -0
- package/dist/types/components/x-switch/x-switch.d.ts +92 -0
- package/dist/types/components/x-tab-pane/x-tab-pane.d.ts +55 -0
- package/dist/types/components/x-table/column-util.d.ts +26 -0
- package/dist/types/components/x-table/types.d.ts +386 -0
- package/dist/types/components/x-table/x-table.d.ts +552 -0
- package/dist/types/components/x-table-cell/x-table-cell.d.ts +27 -0
- package/dist/types/components/x-table-row/x-table-row.d.ts +24 -0
- package/dist/types/components/x-tabs/types.d.ts +190 -0
- package/dist/types/components/x-tabs/x-tabs.d.ts +359 -0
- package/dist/types/components/x-tag/types.d.ts +27 -0
- package/dist/types/components/x-tag/x-tag.d.ts +148 -0
- package/dist/types/components/x-textarea/x-textarea.d.ts +165 -0
- package/dist/types/components/x-time-picker/time-picker-dropdown-content/index.d.ts +2 -0
- package/dist/types/components/x-time-picker/time-picker-dropdown-content/time-picker-dropdown-content.d.ts +239 -0
- package/dist/types/components/x-time-picker/time-picker-dropdown-content/types.d.ts +28 -0
- package/dist/types/components/x-time-picker/types.d.ts +18 -0
- package/dist/types/components/x-time-picker/x-time-picker.d.ts +378 -0
- package/dist/types/components/x-timeline/x-timeline.d.ts +33 -0
- package/dist/types/components/x-timeline-item/x-timeline-item.d.ts +33 -0
- package/dist/types/components/x-tooltip/types.d.ts +53 -0
- package/dist/types/components/x-tooltip/x-tooltip.d.ts +274 -0
- package/dist/types/components/x-tooltip-content/index.d.ts +1 -0
- package/dist/types/components/x-tooltip-content/types.d.ts +25 -0
- package/dist/types/components/x-tooltip-content/x-tooltip-content.d.ts +57 -0
- package/dist/types/components/x-tour/index.d.ts +1 -0
- package/dist/types/components/x-tour/types.d.ts +71 -0
- package/dist/types/components/x-tour/x-tour-panel.d.ts +73 -0
- package/dist/types/components/x-tour/x-tour.d.ts +158 -0
- package/dist/types/components/x-transfer/types.d.ts +89 -0
- package/dist/types/components/x-transfer/x-transfer.d.ts +291 -0
- package/dist/types/components/x-tree/types.d.ts +163 -0
- package/dist/types/components/x-tree/x-tree.d.ts +406 -0
- package/dist/types/components/x-tree-select/tree-select-dropdown-content/index.d.ts +2 -0
- package/dist/types/components/x-tree-select/tree-select-dropdown-content/tree-select-dropdown-content.d.ts +268 -0
- package/dist/types/components/x-tree-select/tree-select-dropdown-content/types.d.ts +24 -0
- package/dist/types/components/x-tree-select/types.d.ts +100 -0
- package/dist/types/components/x-tree-select/x-tree-select.d.ts +750 -0
- package/dist/types/components/x-typography/x-typography.d.ts +89 -0
- package/dist/types/components/x-upload/types.d.ts +177 -0
- package/dist/types/components/x-upload/x-upload.d.ts +361 -0
- package/dist/types/components/x-virtual-scroll/x-virtual-scroll.d.ts +127 -0
- package/dist/types/components/x-workflow/x-workflow.d.ts +126 -0
- package/dist/types/components/x-workflow-builder/x-workflow-builder.d.ts +69 -0
- package/dist/types/components.d.ts +19048 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/locales/index.d.ts +2 -0
- package/dist/types/locales/languages/ar_EG.d.ts +119 -0
- package/dist/types/locales/languages/az_AZ.d.ts +119 -0
- package/dist/types/locales/languages/bg_BG.d.ts +119 -0
- package/dist/types/locales/languages/bn_BD.d.ts +119 -0
- package/dist/types/locales/languages/by_BY.d.ts +119 -0
- package/dist/types/locales/languages/ca_ES.d.ts +119 -0
- package/dist/types/locales/languages/cs_CZ.d.ts +119 -0
- package/dist/types/locales/languages/da_DK.d.ts +119 -0
- package/dist/types/locales/languages/de_DE.d.ts +119 -0
- package/dist/types/locales/languages/el_GR.d.ts +119 -0
- package/dist/types/locales/languages/en_AU.d.ts +119 -0
- package/dist/types/locales/languages/en_GB.d.ts +119 -0
- package/dist/types/locales/languages/en_US.d.ts +119 -0
- package/dist/types/locales/languages/es_ES.d.ts +119 -0
- package/dist/types/locales/languages/et_EE.d.ts +119 -0
- package/dist/types/locales/languages/fa_IR.d.ts +119 -0
- package/dist/types/locales/languages/fi_FI.d.ts +119 -0
- package/dist/types/locales/languages/fr_BE.d.ts +119 -0
- package/dist/types/locales/languages/fr_CA.d.ts +119 -0
- package/dist/types/locales/languages/fr_FR.d.ts +119 -0
- package/dist/types/locales/languages/ga_IE.d.ts +119 -0
- package/dist/types/locales/languages/gl_ES.d.ts +119 -0
- package/dist/types/locales/languages/he_IL.d.ts +119 -0
- package/dist/types/locales/languages/hi_IN.d.ts +119 -0
- package/dist/types/locales/languages/hr_HR.d.ts +119 -0
- package/dist/types/locales/languages/hu_HU.d.ts +119 -0
- package/dist/types/locales/languages/hy_AM.d.ts +119 -0
- package/dist/types/locales/languages/id_ID.d.ts +119 -0
- package/dist/types/locales/languages/index.d.ts +13 -0
- package/dist/types/locales/languages/is_IS.d.ts +119 -0
- package/dist/types/locales/languages/it_IT.d.ts +119 -0
- package/dist/types/locales/languages/ja_JP.d.ts +119 -0
- package/dist/types/locales/languages/ka_GE.d.ts +119 -0
- package/dist/types/locales/languages/kk_KZ.d.ts +119 -0
- package/dist/types/locales/languages/km_KH.d.ts +119 -0
- package/dist/types/locales/languages/kmr_IQ.d.ts +119 -0
- package/dist/types/locales/languages/kn_IN.d.ts +119 -0
- package/dist/types/locales/languages/ko_KR.d.ts +119 -0
- package/dist/types/locales/languages/ku_IQ.d.ts +119 -0
- package/dist/types/locales/languages/lt_LT.d.ts +119 -0
- package/dist/types/locales/languages/lv_LV.d.ts +119 -0
- package/dist/types/locales/languages/mk_MK.d.ts +119 -0
- package/dist/types/locales/languages/ml_IN.d.ts +119 -0
- package/dist/types/locales/languages/mn_MN.d.ts +119 -0
- package/dist/types/locales/languages/ms_MY.d.ts +119 -0
- package/dist/types/locales/languages/nb_NO.d.ts +119 -0
- package/dist/types/locales/languages/ne_NP.d.ts +119 -0
- package/dist/types/locales/languages/nl_BE.d.ts +119 -0
- package/dist/types/locales/languages/nl_NL.d.ts +119 -0
- package/dist/types/locales/languages/pl_PL.d.ts +119 -0
- package/dist/types/locales/languages/pt_BR.d.ts +119 -0
- package/dist/types/locales/languages/pt_PT.d.ts +119 -0
- package/dist/types/locales/languages/ro_RO.d.ts +119 -0
- package/dist/types/locales/languages/ru_RU.d.ts +119 -0
- package/dist/types/locales/languages/sk_SK.d.ts +119 -0
- package/dist/types/locales/languages/sl_SI.d.ts +119 -0
- package/dist/types/locales/languages/sr_RS.d.ts +119 -0
- package/dist/types/locales/languages/sv_SE.d.ts +119 -0
- package/dist/types/locales/languages/ta_IN.d.ts +119 -0
- package/dist/types/locales/languages/th_TH.d.ts +119 -0
- package/dist/types/locales/languages/tr_TR.d.ts +119 -0
- package/dist/types/locales/languages/uk_UA.d.ts +119 -0
- package/dist/types/locales/languages/ur_PK.d.ts +119 -0
- package/dist/types/locales/languages/vi_VN.d.ts +119 -0
- package/dist/types/locales/languages/zh_CN.d.ts +119 -0
- package/dist/types/locales/languages/zh_HK.d.ts +119 -0
- package/dist/types/locales/languages/zh_TW.d.ts +119 -0
- package/dist/types/locales/locale.service.d.ts +93 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/types.d.ts +59 -0
- package/dist/types/utils/app-service.d.ts +20 -0
- package/dist/types/utils/cascader.service.d.ts +45 -0
- package/dist/types/utils/config.d.ts +47 -0
- package/dist/types/utils/form/core/abstract-control.d.ts +121 -0
- package/dist/types/utils/form/core/form-array.d.ts +51 -0
- package/dist/types/utils/form/core/form-builder.d.ts +45 -0
- package/dist/types/utils/form/core/form-control.d.ts +37 -0
- package/dist/types/utils/form/core/form-group.d.ts +63 -0
- package/dist/types/utils/form/frameworks.d.ts +18 -0
- package/dist/types/utils/form/types.d.ts +8 -0
- package/dist/types/utils/form/validators/validators.d.ts +39 -0
- package/dist/types/utils/index.d.ts +10 -0
- package/dist/types/utils/qr-code/cache/qr.cache.d.ts +7 -0
- package/dist/types/utils/qr-code/engine/qr.engine.d.ts +15 -0
- package/dist/types/utils/qr-code/engine/qr.gf.d.ts +4 -0
- package/dist/types/utils/qr-code/engine/qr.mask.d.ts +2 -0
- package/dist/types/utils/qr-code/engine/qr.rs.d.ts +1 -0
- package/dist/types/utils/qr-code/engine/qr.util.d.ts +0 -0
- package/dist/types/utils/qr-code/engine/qr.version.d.ts +16 -0
- package/dist/types/utils/qr-code/renderer/canvas.renderer.d.ts +6 -0
- package/dist/types/utils/qr-code/renderer/svg.renderer.d.ts +7 -0
- package/dist/types/utils/qr-code/worker/worker.manager.d.ts +12 -0
- package/dist/types/utils/table.service.d.ts +48 -0
- package/dist/types/utils/tree.service.d.ts +85 -0
- package/dist/types/utils/workflow/flow.service.d.ts +61 -0
- package/dist/types/utils/workflow/types.d.ts +120 -0
- package/dist/xlabs-store/fonts/xlabs-outlined.woff2 +0 -0
- package/dist/xlabs-store/fonts/xlabs-rounded.woff2 +0 -0
- package/dist/xlabs-store/fonts/xlabs-solided.woff2 +0 -0
- package/dist/xlabs-store/index.esm.js +1 -0
- package/dist/xlabs-store/p-016194dc.entry.js +1 -0
- package/dist/xlabs-store/p-023259c9.entry.js +1 -0
- package/dist/xlabs-store/p-04a3721a.entry.js +1 -0
- package/dist/xlabs-store/p-072445b7.entry.js +1 -0
- package/dist/xlabs-store/p-0ec21454.entry.js +1 -0
- package/dist/xlabs-store/p-12b6a843.entry.js +1 -0
- package/dist/xlabs-store/p-1a81cf09.entry.js +1 -0
- package/dist/xlabs-store/p-1b019aeb.entry.js +1 -0
- package/dist/xlabs-store/p-262a0673.entry.js +1 -0
- package/dist/xlabs-store/p-34cce823.entry.js +1 -0
- package/dist/xlabs-store/p-3a9fdefe.entry.js +1 -0
- package/dist/xlabs-store/p-40036100.entry.js +1 -0
- package/dist/xlabs-store/p-45f04e8d.entry.js +1 -0
- package/dist/xlabs-store/p-48ba7c34.entry.js +1 -0
- package/dist/xlabs-store/p-48e2c26e.entry.js +1 -0
- package/dist/xlabs-store/p-4ac2e915.entry.js +1 -0
- package/dist/xlabs-store/p-4d7c2a35.entry.js +1 -0
- package/dist/xlabs-store/p-4f67cb33.entry.js +1 -0
- package/dist/xlabs-store/p-502b345e.entry.js +1 -0
- package/dist/xlabs-store/p-555c5e48.entry.js +1 -0
- package/dist/xlabs-store/p-5878525f.entry.js +1 -0
- package/dist/xlabs-store/p-5abbdca7.entry.js +1 -0
- package/dist/xlabs-store/p-6243ca69.entry.js +1 -0
- package/dist/xlabs-store/p-64e7a057.entry.js +1 -0
- package/dist/xlabs-store/p-6530d2ef.entry.js +1 -0
- package/dist/xlabs-store/p-675a39e1.entry.js +1 -0
- package/dist/xlabs-store/p-689c52ef.entry.js +1 -0
- package/dist/xlabs-store/p-69b8cb7d.entry.js +1 -0
- package/dist/xlabs-store/p-6b121c60.entry.js +1 -0
- package/dist/xlabs-store/p-6c75fc39.entry.js +1 -0
- package/dist/xlabs-store/p-6f705deb.entry.js +1 -0
- package/dist/xlabs-store/p-723d362c.entry.js +1 -0
- package/dist/xlabs-store/p-783545e3.entry.js +1 -0
- package/dist/xlabs-store/p-7a8f11b4.entry.js +1 -0
- package/dist/xlabs-store/p-81fb4caf.entry.js +1 -0
- package/dist/xlabs-store/p-863dd67d.entry.js +1 -0
- package/dist/xlabs-store/p-8bcbb4e3.entry.js +1 -0
- package/dist/xlabs-store/p-8bcc219a.entry.js +1 -0
- package/dist/xlabs-store/p-914b0ae2.entry.js +1 -0
- package/dist/xlabs-store/p-96b1939d.entry.js +1 -0
- package/dist/xlabs-store/p-9ac291ea.entry.js +1 -0
- package/dist/xlabs-store/p-9de03a07.entry.js +1 -0
- package/dist/xlabs-store/p-BPeosvTA.js +1 -0
- package/dist/xlabs-store/p-COpzIi1n.js +1 -0
- package/dist/xlabs-store/p-C_QdJRdB.js +1 -0
- package/dist/xlabs-store/p-Ce5L9qbY.js +1 -0
- package/dist/xlabs-store/p-Co3Y9VjQ.js +1 -0
- package/dist/xlabs-store/p-D66tF8_2.js +1 -0
- package/dist/xlabs-store/p-DElCk9ta.js +1 -0
- package/dist/xlabs-store/p-Dgxy93Bg.js +1 -0
- package/dist/xlabs-store/p-XBF88YT_.js +1 -0
- package/dist/xlabs-store/p-a4223feb.entry.js +1 -0
- package/dist/xlabs-store/p-a8c2eca7.entry.js +1 -0
- package/dist/xlabs-store/p-ac9ba3aa.entry.js +1 -0
- package/dist/xlabs-store/p-bd5084b8.entry.js +1 -0
- package/dist/xlabs-store/p-bda322db.entry.js +1 -0
- package/dist/xlabs-store/p-c0ca6f7d.entry.js +1 -0
- package/dist/xlabs-store/p-c4c8840c.entry.js +1 -0
- package/dist/xlabs-store/p-c4d0ce0d.entry.js +1 -0
- package/dist/xlabs-store/p-cd3c3374.entry.js +1 -0
- package/dist/xlabs-store/p-cf4697bc.entry.js +1 -0
- package/dist/xlabs-store/p-d2ec3d4a.entry.js +1 -0
- package/dist/xlabs-store/p-d4d00aff.entry.js +1 -0
- package/dist/xlabs-store/p-d9d0147b.entry.js +1 -0
- package/dist/xlabs-store/p-dd930f2a.entry.js +1 -0
- package/dist/xlabs-store/p-e04836e8.entry.js +1 -0
- package/dist/xlabs-store/p-e14b5f6d.entry.js +1 -0
- package/dist/xlabs-store/p-eb1dd3c2.entry.js +1 -0
- package/dist/xlabs-store/p-f02155e4.entry.js +1 -0
- package/dist/xlabs-store/p-f1331938.entry.js +1 -0
- package/dist/xlabs-store/p-fac0b689.entry.js +1 -0
- package/dist/xlabs-store/p-fd2e1d9c.entry.js +1 -0
- package/dist/xlabs-store/p-fdec5d89.entry.js +1 -0
- package/dist/xlabs-store/p-ffba56b2.entry.js +1 -0
- package/dist/xlabs-store/p-ig_mFsVk.js +2 -0
- package/dist/xlabs-store/xlabs-store.css +1 -0
- package/dist/xlabs-store/xlabs-store.esm.js +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +69 -0
- package/readme.md +50 -0
|
@@ -0,0 +1,1209 @@
|
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
|
2
|
+
import { PortalController } from "../x-portal";
|
|
3
|
+
import { getIcon } from "../../utils/config";
|
|
4
|
+
import { createColor } from "./types";
|
|
5
|
+
/**
|
|
6
|
+
* @component x-color-picker
|
|
7
|
+
* @description Color picker component following Ant Design specification.
|
|
8
|
+
* Uses x-color-picker-panel component rendered in a portal.
|
|
9
|
+
*
|
|
10
|
+
* @slot - Custom trigger content
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* <x-color-picker value="#1677ff"></x-color-picker>
|
|
14
|
+
*/
|
|
15
|
+
export class XColorPicker {
|
|
16
|
+
/**
|
|
17
|
+
* Host element reference.
|
|
18
|
+
*/
|
|
19
|
+
el;
|
|
20
|
+
// ==================== Props ====================
|
|
21
|
+
/**
|
|
22
|
+
* Allow clearing color selected
|
|
23
|
+
* @default false
|
|
24
|
+
* @example
|
|
25
|
+
* <x-color-picker allowClear></x-color-picker>
|
|
26
|
+
*/
|
|
27
|
+
allowClear = false;
|
|
28
|
+
/**
|
|
29
|
+
* Default value of color
|
|
30
|
+
* @example
|
|
31
|
+
* <x-color-picker defaultValue="#ff4d4f"></x-color-picker>
|
|
32
|
+
*/
|
|
33
|
+
defaultValue;
|
|
34
|
+
/**
|
|
35
|
+
* Default format of color
|
|
36
|
+
* @default 'hex'
|
|
37
|
+
* @example
|
|
38
|
+
* <x-color-picker defaultFormat="rgb"></x-color-picker>
|
|
39
|
+
*/
|
|
40
|
+
defaultFormat = 'hex';
|
|
41
|
+
/**
|
|
42
|
+
* Disable ColorPicker
|
|
43
|
+
* @default false
|
|
44
|
+
* @example
|
|
45
|
+
* <x-color-picker disabled></x-color-picker>
|
|
46
|
+
*/
|
|
47
|
+
disabled = false;
|
|
48
|
+
/**
|
|
49
|
+
* Disable Alpha slider
|
|
50
|
+
* @default false
|
|
51
|
+
* @example
|
|
52
|
+
* <x-color-picker disabledAlpha></x-color-picker>
|
|
53
|
+
*/
|
|
54
|
+
disabledAlpha = false;
|
|
55
|
+
/**
|
|
56
|
+
* Disable format selector
|
|
57
|
+
* @default false
|
|
58
|
+
* @example
|
|
59
|
+
* <x-color-picker disabledFormat></x-color-picker>
|
|
60
|
+
*/
|
|
61
|
+
disabledFormat = false;
|
|
62
|
+
/**
|
|
63
|
+
* Format of color
|
|
64
|
+
* @example
|
|
65
|
+
* <x-color-picker format="hsb"></x-color-picker>
|
|
66
|
+
*/
|
|
67
|
+
format;
|
|
68
|
+
/**
|
|
69
|
+
* Whether to show popup
|
|
70
|
+
* @example
|
|
71
|
+
* <x-color-picker open></x-color-picker>
|
|
72
|
+
*/
|
|
73
|
+
open;
|
|
74
|
+
/**
|
|
75
|
+
* Preset colors
|
|
76
|
+
* @example
|
|
77
|
+
* <x-color-picker presets={[{ label: 'Primary', colors: ['#1677ff'] }]}></x-color-picker>
|
|
78
|
+
*/
|
|
79
|
+
presets;
|
|
80
|
+
/**
|
|
81
|
+
* Placement of popup
|
|
82
|
+
* @default 'bottomLeft'
|
|
83
|
+
* @example
|
|
84
|
+
* <x-color-picker placement="topLeft"></x-color-picker>
|
|
85
|
+
*/
|
|
86
|
+
placement = 'bottomLeft';
|
|
87
|
+
/**
|
|
88
|
+
* Show color text
|
|
89
|
+
* @default false
|
|
90
|
+
* @example
|
|
91
|
+
* <x-color-picker showText></x-color-picker>
|
|
92
|
+
*/
|
|
93
|
+
showText = false;
|
|
94
|
+
/**
|
|
95
|
+
* Size of trigger
|
|
96
|
+
* @default 'middle'
|
|
97
|
+
* @example
|
|
98
|
+
* <x-color-picker size="small"></x-color-picker>
|
|
99
|
+
*/
|
|
100
|
+
size = 'middle';
|
|
101
|
+
/**
|
|
102
|
+
* Trigger mode
|
|
103
|
+
* @default 'click'
|
|
104
|
+
* @example
|
|
105
|
+
* <x-color-picker trigger="hover"></x-color-picker>
|
|
106
|
+
*/
|
|
107
|
+
trigger = 'click';
|
|
108
|
+
/**
|
|
109
|
+
* Value of color
|
|
110
|
+
* @example
|
|
111
|
+
* <x-color-picker value="#1677ff"></x-color-picker>
|
|
112
|
+
*/
|
|
113
|
+
value;
|
|
114
|
+
/**
|
|
115
|
+
* Custom class names
|
|
116
|
+
* @example
|
|
117
|
+
* <x-color-picker classNames={{ root: 'my-color-picker' }}></x-color-picker>
|
|
118
|
+
*/
|
|
119
|
+
classNames;
|
|
120
|
+
/**
|
|
121
|
+
* Custom styles
|
|
122
|
+
* @example
|
|
123
|
+
* <x-color-picker styles={{ root: { minWidth: '120px' } }}></x-color-picker>
|
|
124
|
+
*/
|
|
125
|
+
styles;
|
|
126
|
+
// ==================== Events ====================
|
|
127
|
+
/**
|
|
128
|
+
* Callback when value is changed
|
|
129
|
+
* @example
|
|
130
|
+
* <x-color-picker onXChange={(ev) => console.log(ev.detail)}></x-color-picker>
|
|
131
|
+
*/
|
|
132
|
+
xChange;
|
|
133
|
+
/**
|
|
134
|
+
* Called when color pick ends
|
|
135
|
+
* @example
|
|
136
|
+
* <x-color-picker onXChangeComplete={(ev) => console.log(ev.detail)}></x-color-picker>
|
|
137
|
+
*/
|
|
138
|
+
xChangeComplete;
|
|
139
|
+
/**
|
|
140
|
+
* Callback when format is changed
|
|
141
|
+
* @example
|
|
142
|
+
* <x-color-picker onXFormatChange={(ev) => console.log(ev.detail)}></x-color-picker>
|
|
143
|
+
*/
|
|
144
|
+
xFormatChange;
|
|
145
|
+
/**
|
|
146
|
+
* Callback when open is changed
|
|
147
|
+
* @example
|
|
148
|
+
* <x-color-picker onXOpenChange={(ev) => console.log(ev.detail)}></x-color-picker>
|
|
149
|
+
*/
|
|
150
|
+
xOpenChange;
|
|
151
|
+
/**
|
|
152
|
+
* Called when clear
|
|
153
|
+
* @example
|
|
154
|
+
* <x-color-picker onXClear={() => {}}></x-color-picker>
|
|
155
|
+
*/
|
|
156
|
+
xClear;
|
|
157
|
+
// ==================== State ====================
|
|
158
|
+
/**
|
|
159
|
+
* Internal open state for uncontrolled mode.
|
|
160
|
+
*/
|
|
161
|
+
internalOpen = false;
|
|
162
|
+
/**
|
|
163
|
+
* Internal color format.
|
|
164
|
+
*/
|
|
165
|
+
internalFormat = 'hex';
|
|
166
|
+
/**
|
|
167
|
+
* Internal color object.
|
|
168
|
+
*/
|
|
169
|
+
internalColor = null;
|
|
170
|
+
/**
|
|
171
|
+
* Cleared state flag.
|
|
172
|
+
*/
|
|
173
|
+
isCleared = false;
|
|
174
|
+
// ==================== Private Properties ====================
|
|
175
|
+
/**
|
|
176
|
+
* Trigger element reference.
|
|
177
|
+
*/
|
|
178
|
+
triggerRef;
|
|
179
|
+
/**
|
|
180
|
+
* Portal instance for panel.
|
|
181
|
+
*/
|
|
182
|
+
portalInstance = null;
|
|
183
|
+
/**
|
|
184
|
+
* Panel element reference.
|
|
185
|
+
*/
|
|
186
|
+
panelElement = null;
|
|
187
|
+
/**
|
|
188
|
+
* Dragging flag for hover behavior.
|
|
189
|
+
*/
|
|
190
|
+
isDragging = false;
|
|
191
|
+
// ==================== Lifecycle ====================
|
|
192
|
+
/**
|
|
193
|
+
* Initialize format and color.
|
|
194
|
+
* @returns void
|
|
195
|
+
*/
|
|
196
|
+
componentWillLoad() {
|
|
197
|
+
// Initialize format
|
|
198
|
+
this.internalFormat = this.format ?? this.defaultFormat;
|
|
199
|
+
// Initialize color
|
|
200
|
+
const initialValue = this.value ?? this.defaultValue ?? '#1677ff';
|
|
201
|
+
if (typeof initialValue === 'string') {
|
|
202
|
+
this.internalColor = createColor(initialValue);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Cleanup portal on disconnect.
|
|
207
|
+
* @returns void
|
|
208
|
+
*/
|
|
209
|
+
disconnectedCallback() {
|
|
210
|
+
this.destroyPortal();
|
|
211
|
+
}
|
|
212
|
+
// ==================== Watchers ====================
|
|
213
|
+
/**
|
|
214
|
+
* Sync internal color when value changes.
|
|
215
|
+
* @param newValue - New color value.
|
|
216
|
+
* @returns void
|
|
217
|
+
*/
|
|
218
|
+
handleValueChange(newValue) {
|
|
219
|
+
if (typeof newValue === 'string') {
|
|
220
|
+
this.internalColor = createColor(newValue);
|
|
221
|
+
this.isCleared = false;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Sync format when format prop changes.
|
|
226
|
+
* @param newFormat - New format.
|
|
227
|
+
* @returns void
|
|
228
|
+
*/
|
|
229
|
+
handleFormatChange(newFormat) {
|
|
230
|
+
if (newFormat) {
|
|
231
|
+
this.internalFormat = newFormat;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Sync open state when controlled prop changes.
|
|
236
|
+
* @param newOpen - Open state.
|
|
237
|
+
* @returns void
|
|
238
|
+
*/
|
|
239
|
+
handleOpenPropChange(newOpen) {
|
|
240
|
+
if (newOpen !== undefined) {
|
|
241
|
+
this.setOpen(newOpen);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
// ==================== Listeners ====================
|
|
245
|
+
/**
|
|
246
|
+
* Close panel on outside click.
|
|
247
|
+
*
|
|
248
|
+
* Flow:
|
|
249
|
+
* 1. Checks if panel is open.
|
|
250
|
+
* 2. Determines click target.
|
|
251
|
+
* 3. Checks if click is inside the trigger element or the portal panel.
|
|
252
|
+
* 4. If outside both, closes the panel by calling \`setOpen(false)\`.
|
|
253
|
+
*
|
|
254
|
+
* @param e - Mouse event.
|
|
255
|
+
* @returns void
|
|
256
|
+
*/
|
|
257
|
+
handleDocumentClick(e) {
|
|
258
|
+
if (!this.internalOpen)
|
|
259
|
+
return;
|
|
260
|
+
const path = e.composedPath();
|
|
261
|
+
const isInsideTrigger = path.includes(this.el);
|
|
262
|
+
const portalEl = this.portalInstance?.getElement();
|
|
263
|
+
const isInsidePanel = portalEl ? path.includes(portalEl) : false;
|
|
264
|
+
if (!isInsideTrigger && !isInsidePanel) {
|
|
265
|
+
this.setOpen(false);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Close panel on Escape key.
|
|
270
|
+
* @param e - Keyboard event.
|
|
271
|
+
* @returns void
|
|
272
|
+
*/
|
|
273
|
+
handleKeydown(e) {
|
|
274
|
+
if (e.key === 'Escape' && this.internalOpen) {
|
|
275
|
+
this.setOpen(false);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
// ==================== Public Methods ====================
|
|
279
|
+
/**
|
|
280
|
+
* Get current color object
|
|
281
|
+
* @returns Promise<Color | null>
|
|
282
|
+
* @example
|
|
283
|
+
* const color = await el.getColor()
|
|
284
|
+
*/
|
|
285
|
+
async getColor() {
|
|
286
|
+
return this.internalColor;
|
|
287
|
+
}
|
|
288
|
+
// ==================== Private Methods ====================
|
|
289
|
+
/**
|
|
290
|
+
* Update open state and portal.
|
|
291
|
+
*
|
|
292
|
+
* Flow:
|
|
293
|
+
* 1. Checks if disabled; returns if true.
|
|
294
|
+
* 2. Updates `internalOpen` state.
|
|
295
|
+
* 3. Emits `xOpenChange` event.
|
|
296
|
+
* 4. Calls `updatePortal` (if opening) or `destroyPortal` (if closing).
|
|
297
|
+
*
|
|
298
|
+
* @param open - Open state.
|
|
299
|
+
* @returns void
|
|
300
|
+
*/
|
|
301
|
+
setOpen(open) {
|
|
302
|
+
if (this.disabled)
|
|
303
|
+
return;
|
|
304
|
+
this.internalOpen = open;
|
|
305
|
+
this.xOpenChange.emit({ open });
|
|
306
|
+
if (open) {
|
|
307
|
+
this.updatePortal();
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
this.destroyPortal();
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Handle trigger click.
|
|
315
|
+
* @returns void
|
|
316
|
+
*/
|
|
317
|
+
handleTriggerClick = () => {
|
|
318
|
+
if (this.trigger === 'click') {
|
|
319
|
+
this.setOpen(!this.internalOpen);
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* Handle trigger mouse enter.
|
|
324
|
+
* @returns void
|
|
325
|
+
*/
|
|
326
|
+
handleTriggerMouseEnter = () => {
|
|
327
|
+
if (this.trigger === 'hover') {
|
|
328
|
+
this.setOpen(true);
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* Handle trigger mouse leave.
|
|
333
|
+
* @returns void
|
|
334
|
+
*/
|
|
335
|
+
handleTriggerMouseLeave = () => {
|
|
336
|
+
if (this.trigger === 'hover' && !this.isDragging) {
|
|
337
|
+
const portalEl = this.portalInstance?.getElement();
|
|
338
|
+
setTimeout(() => {
|
|
339
|
+
if (!portalEl?.matches(':hover') && !this.el.matches(':hover')) {
|
|
340
|
+
this.setOpen(false);
|
|
341
|
+
}
|
|
342
|
+
}, 100);
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Handle clear action.
|
|
347
|
+
* @param e - Event.
|
|
348
|
+
* @returns void
|
|
349
|
+
*/
|
|
350
|
+
handleClear = (e) => {
|
|
351
|
+
e.stopPropagation();
|
|
352
|
+
this.isCleared = true;
|
|
353
|
+
this.xClear.emit();
|
|
354
|
+
};
|
|
355
|
+
// ==================== Portal Management ====================
|
|
356
|
+
/**
|
|
357
|
+
* Build color picker panel element.
|
|
358
|
+
* @returns HTMLElement
|
|
359
|
+
*/
|
|
360
|
+
buildPanelElement() {
|
|
361
|
+
// Create x-color-picker-panel component
|
|
362
|
+
const panelEl = document.createElement('x-color-picker-panel');
|
|
363
|
+
// Set props on the panel element
|
|
364
|
+
panelEl.color = this.internalColor;
|
|
365
|
+
panelEl.format = this.internalFormat;
|
|
366
|
+
panelEl.disabledAlpha = this.disabledAlpha;
|
|
367
|
+
panelEl.disabledFormat = this.disabledFormat;
|
|
368
|
+
panelEl.presets = this.presets;
|
|
369
|
+
panelEl.allowClear = this.allowClear;
|
|
370
|
+
// Apply custom class and styles
|
|
371
|
+
if (this.classNames?.popup) {
|
|
372
|
+
panelEl.classList.add(...this.classNames.popup.split(' '));
|
|
373
|
+
}
|
|
374
|
+
if (this.styles?.popup) {
|
|
375
|
+
Object.assign(panelEl.style, this.styles.popup);
|
|
376
|
+
}
|
|
377
|
+
// Bind events
|
|
378
|
+
panelEl.addEventListener('colorChange', (e) => {
|
|
379
|
+
this.handleColorChange(e.detail);
|
|
380
|
+
});
|
|
381
|
+
panelEl.addEventListener('colorChangeComplete', (e) => {
|
|
382
|
+
this.xChangeComplete.emit(e.detail);
|
|
383
|
+
this.isDragging = false;
|
|
384
|
+
});
|
|
385
|
+
panelEl.addEventListener('formatChange', (e) => {
|
|
386
|
+
this.internalFormat = e.detail;
|
|
387
|
+
this.xFormatChange.emit({ format: e.detail });
|
|
388
|
+
});
|
|
389
|
+
panelEl.addEventListener('colorClear', () => {
|
|
390
|
+
this.isCleared = true;
|
|
391
|
+
this.xClear.emit();
|
|
392
|
+
this.setOpen(false);
|
|
393
|
+
});
|
|
394
|
+
// Track dragging state
|
|
395
|
+
panelEl.addEventListener('mousedown', () => {
|
|
396
|
+
this.isDragging = true;
|
|
397
|
+
});
|
|
398
|
+
return panelEl;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Get trigger element for portal target.
|
|
402
|
+
* @returns HTMLElement
|
|
403
|
+
*/
|
|
404
|
+
getWrapperEl() {
|
|
405
|
+
return this.triggerRef;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Create or update portal for panel.
|
|
409
|
+
*
|
|
410
|
+
* Flow:
|
|
411
|
+
* 1. Checks if `internalOpen` is true.
|
|
412
|
+
* 2. Builds or reuses the panel element.
|
|
413
|
+
* 3. Uses `PortalController` to render the panel:
|
|
414
|
+
* - Creates new instance if none exists.
|
|
415
|
+
* - Updates existing instance with new content/position.
|
|
416
|
+
* 4. Requests animation frame to ensure position update.
|
|
417
|
+
*
|
|
418
|
+
* @returns void
|
|
419
|
+
*/
|
|
420
|
+
updatePortal() {
|
|
421
|
+
if (!this.internalOpen) {
|
|
422
|
+
this.destroyPortal();
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
this.panelElement = this.buildPanelElement();
|
|
426
|
+
if (!this.portalInstance) {
|
|
427
|
+
this.portalInstance = PortalController.create({
|
|
428
|
+
open: true,
|
|
429
|
+
target: this.getWrapperEl(),
|
|
430
|
+
placement: this.placement,
|
|
431
|
+
content: this.panelElement,
|
|
432
|
+
zIndex: 1050,
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
else {
|
|
436
|
+
this.portalInstance.update({
|
|
437
|
+
open: true,
|
|
438
|
+
target: this.getWrapperEl(),
|
|
439
|
+
placement: this.placement,
|
|
440
|
+
content: this.panelElement,
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
// Update position after render
|
|
444
|
+
requestAnimationFrame(() => {
|
|
445
|
+
if (this.portalInstance) {
|
|
446
|
+
this.portalInstance.update({});
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Destroy portal instance if present.
|
|
452
|
+
* @returns void
|
|
453
|
+
*/
|
|
454
|
+
destroyPortal() {
|
|
455
|
+
if (this.portalInstance) {
|
|
456
|
+
this.portalInstance.destroy();
|
|
457
|
+
this.portalInstance = null;
|
|
458
|
+
this.panelElement = null;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Handle color change from panel.
|
|
463
|
+
* @param color - New color.
|
|
464
|
+
* @returns void
|
|
465
|
+
*/
|
|
466
|
+
handleColorChange(color) {
|
|
467
|
+
this.internalColor = color;
|
|
468
|
+
this.isCleared = false;
|
|
469
|
+
this.value = color.toHexString();
|
|
470
|
+
this.xChange.emit({
|
|
471
|
+
color,
|
|
472
|
+
css: color.toCssString(),
|
|
473
|
+
});
|
|
474
|
+
// Update panel element with new color
|
|
475
|
+
if (this.panelElement) {
|
|
476
|
+
this.panelElement.color = color;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
// ==================== Render ====================
|
|
480
|
+
/**
|
|
481
|
+
* Get display text for current color.
|
|
482
|
+
* @returns string
|
|
483
|
+
*/
|
|
484
|
+
getDisplayText() {
|
|
485
|
+
if (!this.internalColor || this.isCleared)
|
|
486
|
+
return '';
|
|
487
|
+
if (typeof this.showText === 'function') {
|
|
488
|
+
return this.showText(this.internalColor);
|
|
489
|
+
}
|
|
490
|
+
switch (this.internalFormat) {
|
|
491
|
+
case 'rgb':
|
|
492
|
+
return this.internalColor.toRgbString();
|
|
493
|
+
case 'hsb':
|
|
494
|
+
return this.internalColor.toHsbString();
|
|
495
|
+
default:
|
|
496
|
+
return this.internalColor.toHexString().toUpperCase();
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Render down arrow icon.
|
|
501
|
+
* @returns JSX.Element
|
|
502
|
+
*/
|
|
503
|
+
renderDownArrow() {
|
|
504
|
+
return (
|
|
505
|
+
// <svg viewBox="64 64 896 896" focusable="false" width="1em" height="1em" fill="currentColor">
|
|
506
|
+
// <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" />
|
|
507
|
+
// </svg>
|
|
508
|
+
h("x-icon", { name: getIcon('arrowDown') }));
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Render clear icon.
|
|
512
|
+
* @returns JSX.Element
|
|
513
|
+
*/
|
|
514
|
+
renderCloseIcon() {
|
|
515
|
+
return (
|
|
516
|
+
// <svg viewBox="64 64 896 896" focusable="false" width="1em" height="1em" fill="currentColor">
|
|
517
|
+
// <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" />
|
|
518
|
+
// </svg>
|
|
519
|
+
h("x-icon", { name: getIcon('clear') }));
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Render trigger and optional text.
|
|
523
|
+
* @returns JSX.Element
|
|
524
|
+
*/
|
|
525
|
+
render() {
|
|
526
|
+
const hostClasses = {
|
|
527
|
+
'x-color-picker': true,
|
|
528
|
+
'x-color-picker-sm': this.size === 'small',
|
|
529
|
+
'x-color-picker-lg': this.size === 'large',
|
|
530
|
+
'x-color-picker-disabled': this.disabled,
|
|
531
|
+
[this.classNames?.root ?? '']: !!this.classNames?.root,
|
|
532
|
+
};
|
|
533
|
+
const colorValue = this.internalColor && !this.isCleared
|
|
534
|
+
? this.internalColor.toCssString()
|
|
535
|
+
: 'transparent';
|
|
536
|
+
return (h(Host, { key: 'f8f38365b7fd8c36aac0d9dc1799fc568516fea9', class: hostClasses, style: this.styles?.root }, h("div", { key: '8df150a9ac5477f34c21ef391c6a110a9518127e', class: "x-color-picker-trigger", ref: (el) => (this.triggerRef = el), onClick: this.handleTriggerClick, onMouseEnter: this.handleTriggerMouseEnter, onMouseLeave: this.handleTriggerMouseLeave, tabindex: this.disabled ? -1 : 0, role: "button", "aria-haspopup": "true", "aria-expanded": this.internalOpen ? 'true' : 'false' }, h("slot", { key: '77c612bde00f68546e52eb30351f9e26c724bbd8' }, h("div", { key: '19ddcbfc6acea0c985d263abeae54facb1878856', class: {
|
|
537
|
+
'x-color-picker-color-block': true,
|
|
538
|
+
'x-color-picker-color-block-cleared': this.isCleared,
|
|
539
|
+
} }, h("div", { key: 'd6223ba45365f694a1b760fc0779273903a3e080', class: "x-color-picker-color-block-inner", style: { background: colorValue } })), this.showText && (h("span", { key: 'b80debccfafa45df16aeabedfafcc9e0721a3a4d', class: "x-color-picker-text" }, this.getDisplayText())), this.allowClear && !this.isCleared && this.internalColor && (h("span", { key: '8caa5439b9ad31915420be95deb94eff604bc411', class: "x-color-picker-clear", onClick: this.handleClear }, this.renderCloseIcon())), h("span", { key: 'ed22036212268e812ebfe9869918cd31fcebaaef', class: {
|
|
540
|
+
'x-color-picker-arrow': true,
|
|
541
|
+
'x-color-picker-arrow-open': this.internalOpen,
|
|
542
|
+
} }, this.renderDownArrow())))));
|
|
543
|
+
}
|
|
544
|
+
static get is() { return "x-color-picker"; }
|
|
545
|
+
static get encapsulation() { return "shadow"; }
|
|
546
|
+
static get originalStyleUrls() {
|
|
547
|
+
return {
|
|
548
|
+
"$": ["x-color-picker.scss"]
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
static get styleUrls() {
|
|
552
|
+
return {
|
|
553
|
+
"$": ["x-color-picker.css"]
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
static get properties() {
|
|
557
|
+
return {
|
|
558
|
+
"allowClear": {
|
|
559
|
+
"type": "boolean",
|
|
560
|
+
"mutable": false,
|
|
561
|
+
"complexType": {
|
|
562
|
+
"original": "boolean",
|
|
563
|
+
"resolved": "boolean",
|
|
564
|
+
"references": {}
|
|
565
|
+
},
|
|
566
|
+
"required": false,
|
|
567
|
+
"optional": false,
|
|
568
|
+
"docs": {
|
|
569
|
+
"tags": [{
|
|
570
|
+
"name": "default",
|
|
571
|
+
"text": "false"
|
|
572
|
+
}, {
|
|
573
|
+
"name": "example",
|
|
574
|
+
"text": "<x-color-picker allowClear></x-color-picker>"
|
|
575
|
+
}],
|
|
576
|
+
"text": "Allow clearing color selected"
|
|
577
|
+
},
|
|
578
|
+
"getter": false,
|
|
579
|
+
"setter": false,
|
|
580
|
+
"reflect": false,
|
|
581
|
+
"attribute": "allow-clear",
|
|
582
|
+
"defaultValue": "false"
|
|
583
|
+
},
|
|
584
|
+
"defaultValue": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"mutable": false,
|
|
587
|
+
"complexType": {
|
|
588
|
+
"original": "ColorType",
|
|
589
|
+
"resolved": "Color | GradientColorStop[] | string",
|
|
590
|
+
"references": {
|
|
591
|
+
"ColorType": {
|
|
592
|
+
"location": "import",
|
|
593
|
+
"path": "./types",
|
|
594
|
+
"id": "src/components/x-color-picker/types.ts::ColorType",
|
|
595
|
+
"referenceLocation": "ColorType"
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"required": false,
|
|
600
|
+
"optional": true,
|
|
601
|
+
"docs": {
|
|
602
|
+
"tags": [{
|
|
603
|
+
"name": "example",
|
|
604
|
+
"text": "<x-color-picker defaultValue=\"#ff4d4f\"></x-color-picker>"
|
|
605
|
+
}],
|
|
606
|
+
"text": "Default value of color"
|
|
607
|
+
},
|
|
608
|
+
"getter": false,
|
|
609
|
+
"setter": false,
|
|
610
|
+
"reflect": false,
|
|
611
|
+
"attribute": "default-value"
|
|
612
|
+
},
|
|
613
|
+
"defaultFormat": {
|
|
614
|
+
"type": "string",
|
|
615
|
+
"mutable": false,
|
|
616
|
+
"complexType": {
|
|
617
|
+
"original": "ColorFormat",
|
|
618
|
+
"resolved": "\"hex\" | \"hsb\" | \"rgb\"",
|
|
619
|
+
"references": {
|
|
620
|
+
"ColorFormat": {
|
|
621
|
+
"location": "import",
|
|
622
|
+
"path": "./types",
|
|
623
|
+
"id": "src/components/x-color-picker/types.ts::ColorFormat",
|
|
624
|
+
"referenceLocation": "ColorFormat"
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"required": false,
|
|
629
|
+
"optional": false,
|
|
630
|
+
"docs": {
|
|
631
|
+
"tags": [{
|
|
632
|
+
"name": "default",
|
|
633
|
+
"text": "'hex'"
|
|
634
|
+
}, {
|
|
635
|
+
"name": "example",
|
|
636
|
+
"text": "<x-color-picker defaultFormat=\"rgb\"></x-color-picker>"
|
|
637
|
+
}],
|
|
638
|
+
"text": "Default format of color"
|
|
639
|
+
},
|
|
640
|
+
"getter": false,
|
|
641
|
+
"setter": false,
|
|
642
|
+
"reflect": false,
|
|
643
|
+
"attribute": "default-format",
|
|
644
|
+
"defaultValue": "'hex'"
|
|
645
|
+
},
|
|
646
|
+
"disabled": {
|
|
647
|
+
"type": "boolean",
|
|
648
|
+
"mutable": false,
|
|
649
|
+
"complexType": {
|
|
650
|
+
"original": "boolean",
|
|
651
|
+
"resolved": "boolean",
|
|
652
|
+
"references": {}
|
|
653
|
+
},
|
|
654
|
+
"required": false,
|
|
655
|
+
"optional": false,
|
|
656
|
+
"docs": {
|
|
657
|
+
"tags": [{
|
|
658
|
+
"name": "default",
|
|
659
|
+
"text": "false"
|
|
660
|
+
}, {
|
|
661
|
+
"name": "example",
|
|
662
|
+
"text": "<x-color-picker disabled></x-color-picker>"
|
|
663
|
+
}],
|
|
664
|
+
"text": "Disable ColorPicker"
|
|
665
|
+
},
|
|
666
|
+
"getter": false,
|
|
667
|
+
"setter": false,
|
|
668
|
+
"reflect": false,
|
|
669
|
+
"attribute": "disabled",
|
|
670
|
+
"defaultValue": "false"
|
|
671
|
+
},
|
|
672
|
+
"disabledAlpha": {
|
|
673
|
+
"type": "boolean",
|
|
674
|
+
"mutable": false,
|
|
675
|
+
"complexType": {
|
|
676
|
+
"original": "boolean",
|
|
677
|
+
"resolved": "boolean",
|
|
678
|
+
"references": {}
|
|
679
|
+
},
|
|
680
|
+
"required": false,
|
|
681
|
+
"optional": false,
|
|
682
|
+
"docs": {
|
|
683
|
+
"tags": [{
|
|
684
|
+
"name": "default",
|
|
685
|
+
"text": "false"
|
|
686
|
+
}, {
|
|
687
|
+
"name": "example",
|
|
688
|
+
"text": "<x-color-picker disabledAlpha></x-color-picker>"
|
|
689
|
+
}],
|
|
690
|
+
"text": "Disable Alpha slider"
|
|
691
|
+
},
|
|
692
|
+
"getter": false,
|
|
693
|
+
"setter": false,
|
|
694
|
+
"reflect": false,
|
|
695
|
+
"attribute": "disabled-alpha",
|
|
696
|
+
"defaultValue": "false"
|
|
697
|
+
},
|
|
698
|
+
"disabledFormat": {
|
|
699
|
+
"type": "boolean",
|
|
700
|
+
"mutable": false,
|
|
701
|
+
"complexType": {
|
|
702
|
+
"original": "boolean",
|
|
703
|
+
"resolved": "boolean",
|
|
704
|
+
"references": {}
|
|
705
|
+
},
|
|
706
|
+
"required": false,
|
|
707
|
+
"optional": false,
|
|
708
|
+
"docs": {
|
|
709
|
+
"tags": [{
|
|
710
|
+
"name": "default",
|
|
711
|
+
"text": "false"
|
|
712
|
+
}, {
|
|
713
|
+
"name": "example",
|
|
714
|
+
"text": "<x-color-picker disabledFormat></x-color-picker>"
|
|
715
|
+
}],
|
|
716
|
+
"text": "Disable format selector"
|
|
717
|
+
},
|
|
718
|
+
"getter": false,
|
|
719
|
+
"setter": false,
|
|
720
|
+
"reflect": false,
|
|
721
|
+
"attribute": "disabled-format",
|
|
722
|
+
"defaultValue": "false"
|
|
723
|
+
},
|
|
724
|
+
"format": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"mutable": true,
|
|
727
|
+
"complexType": {
|
|
728
|
+
"original": "ColorFormat",
|
|
729
|
+
"resolved": "\"hex\" | \"hsb\" | \"rgb\"",
|
|
730
|
+
"references": {
|
|
731
|
+
"ColorFormat": {
|
|
732
|
+
"location": "import",
|
|
733
|
+
"path": "./types",
|
|
734
|
+
"id": "src/components/x-color-picker/types.ts::ColorFormat",
|
|
735
|
+
"referenceLocation": "ColorFormat"
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"required": false,
|
|
740
|
+
"optional": true,
|
|
741
|
+
"docs": {
|
|
742
|
+
"tags": [{
|
|
743
|
+
"name": "example",
|
|
744
|
+
"text": "<x-color-picker format=\"hsb\"></x-color-picker>"
|
|
745
|
+
}],
|
|
746
|
+
"text": "Format of color"
|
|
747
|
+
},
|
|
748
|
+
"getter": false,
|
|
749
|
+
"setter": false,
|
|
750
|
+
"reflect": false,
|
|
751
|
+
"attribute": "format"
|
|
752
|
+
},
|
|
753
|
+
"open": {
|
|
754
|
+
"type": "boolean",
|
|
755
|
+
"mutable": true,
|
|
756
|
+
"complexType": {
|
|
757
|
+
"original": "boolean",
|
|
758
|
+
"resolved": "boolean",
|
|
759
|
+
"references": {}
|
|
760
|
+
},
|
|
761
|
+
"required": false,
|
|
762
|
+
"optional": true,
|
|
763
|
+
"docs": {
|
|
764
|
+
"tags": [{
|
|
765
|
+
"name": "example",
|
|
766
|
+
"text": "<x-color-picker open></x-color-picker>"
|
|
767
|
+
}],
|
|
768
|
+
"text": "Whether to show popup"
|
|
769
|
+
},
|
|
770
|
+
"getter": false,
|
|
771
|
+
"setter": false,
|
|
772
|
+
"reflect": false,
|
|
773
|
+
"attribute": "open"
|
|
774
|
+
},
|
|
775
|
+
"presets": {
|
|
776
|
+
"type": "unknown",
|
|
777
|
+
"mutable": false,
|
|
778
|
+
"complexType": {
|
|
779
|
+
"original": "PresetColor[]",
|
|
780
|
+
"resolved": "PresetColor[]",
|
|
781
|
+
"references": {
|
|
782
|
+
"PresetColor": {
|
|
783
|
+
"location": "import",
|
|
784
|
+
"path": "./types",
|
|
785
|
+
"id": "src/components/x-color-picker/types.ts::PresetColor",
|
|
786
|
+
"referenceLocation": "PresetColor"
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"required": false,
|
|
791
|
+
"optional": true,
|
|
792
|
+
"docs": {
|
|
793
|
+
"tags": [{
|
|
794
|
+
"name": "example",
|
|
795
|
+
"text": "<x-color-picker presets={[{ label: 'Primary', colors: ['#1677ff'] }]}></x-color-picker>"
|
|
796
|
+
}],
|
|
797
|
+
"text": "Preset colors"
|
|
798
|
+
},
|
|
799
|
+
"getter": false,
|
|
800
|
+
"setter": false
|
|
801
|
+
},
|
|
802
|
+
"placement": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"mutable": false,
|
|
805
|
+
"complexType": {
|
|
806
|
+
"original": "ColorPickerPlacement",
|
|
807
|
+
"resolved": "\"bottom\" | \"bottomLeft\" | \"bottomRight\" | \"top\" | \"topLeft\" | \"topRight\"",
|
|
808
|
+
"references": {
|
|
809
|
+
"ColorPickerPlacement": {
|
|
810
|
+
"location": "import",
|
|
811
|
+
"path": "./types",
|
|
812
|
+
"id": "src/components/x-color-picker/types.ts::ColorPickerPlacement",
|
|
813
|
+
"referenceLocation": "ColorPickerPlacement"
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"required": false,
|
|
818
|
+
"optional": false,
|
|
819
|
+
"docs": {
|
|
820
|
+
"tags": [{
|
|
821
|
+
"name": "default",
|
|
822
|
+
"text": "'bottomLeft'"
|
|
823
|
+
}, {
|
|
824
|
+
"name": "example",
|
|
825
|
+
"text": "<x-color-picker placement=\"topLeft\"></x-color-picker>"
|
|
826
|
+
}],
|
|
827
|
+
"text": "Placement of popup"
|
|
828
|
+
},
|
|
829
|
+
"getter": false,
|
|
830
|
+
"setter": false,
|
|
831
|
+
"reflect": false,
|
|
832
|
+
"attribute": "placement",
|
|
833
|
+
"defaultValue": "'bottomLeft'"
|
|
834
|
+
},
|
|
835
|
+
"showText": {
|
|
836
|
+
"type": "boolean",
|
|
837
|
+
"mutable": false,
|
|
838
|
+
"complexType": {
|
|
839
|
+
"original": "boolean | ((color: Color) => string)",
|
|
840
|
+
"resolved": "((color: Color) => string) | boolean",
|
|
841
|
+
"references": {
|
|
842
|
+
"Color": {
|
|
843
|
+
"location": "import",
|
|
844
|
+
"path": "./types",
|
|
845
|
+
"id": "src/components/x-color-picker/types.ts::Color",
|
|
846
|
+
"referenceLocation": "Color"
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
"required": false,
|
|
851
|
+
"optional": false,
|
|
852
|
+
"docs": {
|
|
853
|
+
"tags": [{
|
|
854
|
+
"name": "default",
|
|
855
|
+
"text": "false"
|
|
856
|
+
}, {
|
|
857
|
+
"name": "example",
|
|
858
|
+
"text": "<x-color-picker showText></x-color-picker>"
|
|
859
|
+
}],
|
|
860
|
+
"text": "Show color text"
|
|
861
|
+
},
|
|
862
|
+
"getter": false,
|
|
863
|
+
"setter": false,
|
|
864
|
+
"reflect": false,
|
|
865
|
+
"attribute": "show-text",
|
|
866
|
+
"defaultValue": "false"
|
|
867
|
+
},
|
|
868
|
+
"size": {
|
|
869
|
+
"type": "string",
|
|
870
|
+
"mutable": false,
|
|
871
|
+
"complexType": {
|
|
872
|
+
"original": "ColorPickerSize",
|
|
873
|
+
"resolved": "\"large\" | \"middle\" | \"small\"",
|
|
874
|
+
"references": {
|
|
875
|
+
"ColorPickerSize": {
|
|
876
|
+
"location": "import",
|
|
877
|
+
"path": "./types",
|
|
878
|
+
"id": "src/components/x-color-picker/types.ts::ColorPickerSize",
|
|
879
|
+
"referenceLocation": "ColorPickerSize"
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"required": false,
|
|
884
|
+
"optional": false,
|
|
885
|
+
"docs": {
|
|
886
|
+
"tags": [{
|
|
887
|
+
"name": "default",
|
|
888
|
+
"text": "'middle'"
|
|
889
|
+
}, {
|
|
890
|
+
"name": "example",
|
|
891
|
+
"text": "<x-color-picker size=\"small\"></x-color-picker>"
|
|
892
|
+
}],
|
|
893
|
+
"text": "Size of trigger"
|
|
894
|
+
},
|
|
895
|
+
"getter": false,
|
|
896
|
+
"setter": false,
|
|
897
|
+
"reflect": false,
|
|
898
|
+
"attribute": "size",
|
|
899
|
+
"defaultValue": "'middle'"
|
|
900
|
+
},
|
|
901
|
+
"trigger": {
|
|
902
|
+
"type": "string",
|
|
903
|
+
"mutable": false,
|
|
904
|
+
"complexType": {
|
|
905
|
+
"original": "ColorPickerTrigger",
|
|
906
|
+
"resolved": "\"click\" | \"hover\"",
|
|
907
|
+
"references": {
|
|
908
|
+
"ColorPickerTrigger": {
|
|
909
|
+
"location": "import",
|
|
910
|
+
"path": "./types",
|
|
911
|
+
"id": "src/components/x-color-picker/types.ts::ColorPickerTrigger",
|
|
912
|
+
"referenceLocation": "ColorPickerTrigger"
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
"required": false,
|
|
917
|
+
"optional": false,
|
|
918
|
+
"docs": {
|
|
919
|
+
"tags": [{
|
|
920
|
+
"name": "default",
|
|
921
|
+
"text": "'click'"
|
|
922
|
+
}, {
|
|
923
|
+
"name": "example",
|
|
924
|
+
"text": "<x-color-picker trigger=\"hover\"></x-color-picker>"
|
|
925
|
+
}],
|
|
926
|
+
"text": "Trigger mode"
|
|
927
|
+
},
|
|
928
|
+
"getter": false,
|
|
929
|
+
"setter": false,
|
|
930
|
+
"reflect": false,
|
|
931
|
+
"attribute": "trigger",
|
|
932
|
+
"defaultValue": "'click'"
|
|
933
|
+
},
|
|
934
|
+
"value": {
|
|
935
|
+
"type": "string",
|
|
936
|
+
"mutable": true,
|
|
937
|
+
"complexType": {
|
|
938
|
+
"original": "ColorType",
|
|
939
|
+
"resolved": "Color | GradientColorStop[] | string",
|
|
940
|
+
"references": {
|
|
941
|
+
"ColorType": {
|
|
942
|
+
"location": "import",
|
|
943
|
+
"path": "./types",
|
|
944
|
+
"id": "src/components/x-color-picker/types.ts::ColorType",
|
|
945
|
+
"referenceLocation": "ColorType"
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
"required": false,
|
|
950
|
+
"optional": true,
|
|
951
|
+
"docs": {
|
|
952
|
+
"tags": [{
|
|
953
|
+
"name": "example",
|
|
954
|
+
"text": "<x-color-picker value=\"#1677ff\"></x-color-picker>"
|
|
955
|
+
}],
|
|
956
|
+
"text": "Value of color"
|
|
957
|
+
},
|
|
958
|
+
"getter": false,
|
|
959
|
+
"setter": false,
|
|
960
|
+
"reflect": false,
|
|
961
|
+
"attribute": "value"
|
|
962
|
+
},
|
|
963
|
+
"classNames": {
|
|
964
|
+
"type": "unknown",
|
|
965
|
+
"mutable": false,
|
|
966
|
+
"complexType": {
|
|
967
|
+
"original": "ColorPickerClassNames",
|
|
968
|
+
"resolved": "ColorPickerClassNames",
|
|
969
|
+
"references": {
|
|
970
|
+
"ColorPickerClassNames": {
|
|
971
|
+
"location": "import",
|
|
972
|
+
"path": "./types",
|
|
973
|
+
"id": "src/components/x-color-picker/types.ts::ColorPickerClassNames",
|
|
974
|
+
"referenceLocation": "ColorPickerClassNames"
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"required": false,
|
|
979
|
+
"optional": true,
|
|
980
|
+
"docs": {
|
|
981
|
+
"tags": [{
|
|
982
|
+
"name": "example",
|
|
983
|
+
"text": "<x-color-picker classNames={{ root: 'my-color-picker' }}></x-color-picker>"
|
|
984
|
+
}],
|
|
985
|
+
"text": "Custom class names"
|
|
986
|
+
},
|
|
987
|
+
"getter": false,
|
|
988
|
+
"setter": false
|
|
989
|
+
},
|
|
990
|
+
"styles": {
|
|
991
|
+
"type": "unknown",
|
|
992
|
+
"mutable": false,
|
|
993
|
+
"complexType": {
|
|
994
|
+
"original": "ColorPickerStyles",
|
|
995
|
+
"resolved": "ColorPickerStyles",
|
|
996
|
+
"references": {
|
|
997
|
+
"ColorPickerStyles": {
|
|
998
|
+
"location": "import",
|
|
999
|
+
"path": "./types",
|
|
1000
|
+
"id": "src/components/x-color-picker/types.ts::ColorPickerStyles",
|
|
1001
|
+
"referenceLocation": "ColorPickerStyles"
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
"required": false,
|
|
1006
|
+
"optional": true,
|
|
1007
|
+
"docs": {
|
|
1008
|
+
"tags": [{
|
|
1009
|
+
"name": "example",
|
|
1010
|
+
"text": "<x-color-picker styles={{ root: { minWidth: '120px' } }}></x-color-picker>"
|
|
1011
|
+
}],
|
|
1012
|
+
"text": "Custom styles"
|
|
1013
|
+
},
|
|
1014
|
+
"getter": false,
|
|
1015
|
+
"setter": false
|
|
1016
|
+
}
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
static get states() {
|
|
1020
|
+
return {
|
|
1021
|
+
"internalOpen": {},
|
|
1022
|
+
"internalFormat": {},
|
|
1023
|
+
"internalColor": {},
|
|
1024
|
+
"isCleared": {}
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1027
|
+
static get events() {
|
|
1028
|
+
return [{
|
|
1029
|
+
"method": "xChange",
|
|
1030
|
+
"name": "xChange",
|
|
1031
|
+
"bubbles": true,
|
|
1032
|
+
"cancelable": true,
|
|
1033
|
+
"composed": true,
|
|
1034
|
+
"docs": {
|
|
1035
|
+
"tags": [{
|
|
1036
|
+
"name": "example",
|
|
1037
|
+
"text": "<x-color-picker onXChange={(ev) => console.log(ev.detail)}></x-color-picker>"
|
|
1038
|
+
}],
|
|
1039
|
+
"text": "Callback when value is changed"
|
|
1040
|
+
},
|
|
1041
|
+
"complexType": {
|
|
1042
|
+
"original": "ColorChangeEventDetail",
|
|
1043
|
+
"resolved": "ColorChangeEventDetail",
|
|
1044
|
+
"references": {
|
|
1045
|
+
"ColorChangeEventDetail": {
|
|
1046
|
+
"location": "import",
|
|
1047
|
+
"path": "./types",
|
|
1048
|
+
"id": "src/components/x-color-picker/types.ts::ColorChangeEventDetail",
|
|
1049
|
+
"referenceLocation": "ColorChangeEventDetail"
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
}, {
|
|
1054
|
+
"method": "xChangeComplete",
|
|
1055
|
+
"name": "xChangeComplete",
|
|
1056
|
+
"bubbles": true,
|
|
1057
|
+
"cancelable": true,
|
|
1058
|
+
"composed": true,
|
|
1059
|
+
"docs": {
|
|
1060
|
+
"tags": [{
|
|
1061
|
+
"name": "example",
|
|
1062
|
+
"text": "<x-color-picker onXChangeComplete={(ev) => console.log(ev.detail)}></x-color-picker>"
|
|
1063
|
+
}],
|
|
1064
|
+
"text": "Called when color pick ends"
|
|
1065
|
+
},
|
|
1066
|
+
"complexType": {
|
|
1067
|
+
"original": "Color",
|
|
1068
|
+
"resolved": "Color",
|
|
1069
|
+
"references": {
|
|
1070
|
+
"Color": {
|
|
1071
|
+
"location": "import",
|
|
1072
|
+
"path": "./types",
|
|
1073
|
+
"id": "src/components/x-color-picker/types.ts::Color",
|
|
1074
|
+
"referenceLocation": "Color"
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
}, {
|
|
1079
|
+
"method": "xFormatChange",
|
|
1080
|
+
"name": "xFormatChange",
|
|
1081
|
+
"bubbles": true,
|
|
1082
|
+
"cancelable": true,
|
|
1083
|
+
"composed": true,
|
|
1084
|
+
"docs": {
|
|
1085
|
+
"tags": [{
|
|
1086
|
+
"name": "example",
|
|
1087
|
+
"text": "<x-color-picker onXFormatChange={(ev) => console.log(ev.detail)}></x-color-picker>"
|
|
1088
|
+
}],
|
|
1089
|
+
"text": "Callback when format is changed"
|
|
1090
|
+
},
|
|
1091
|
+
"complexType": {
|
|
1092
|
+
"original": "FormatChangeEventDetail",
|
|
1093
|
+
"resolved": "FormatChangeEventDetail",
|
|
1094
|
+
"references": {
|
|
1095
|
+
"FormatChangeEventDetail": {
|
|
1096
|
+
"location": "import",
|
|
1097
|
+
"path": "./types",
|
|
1098
|
+
"id": "src/components/x-color-picker/types.ts::FormatChangeEventDetail",
|
|
1099
|
+
"referenceLocation": "FormatChangeEventDetail"
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}, {
|
|
1104
|
+
"method": "xOpenChange",
|
|
1105
|
+
"name": "xOpenChange",
|
|
1106
|
+
"bubbles": true,
|
|
1107
|
+
"cancelable": true,
|
|
1108
|
+
"composed": true,
|
|
1109
|
+
"docs": {
|
|
1110
|
+
"tags": [{
|
|
1111
|
+
"name": "example",
|
|
1112
|
+
"text": "<x-color-picker onXOpenChange={(ev) => console.log(ev.detail)}></x-color-picker>"
|
|
1113
|
+
}],
|
|
1114
|
+
"text": "Callback when open is changed"
|
|
1115
|
+
},
|
|
1116
|
+
"complexType": {
|
|
1117
|
+
"original": "OpenChangeEventDetail",
|
|
1118
|
+
"resolved": "OpenChangeEventDetail",
|
|
1119
|
+
"references": {
|
|
1120
|
+
"OpenChangeEventDetail": {
|
|
1121
|
+
"location": "import",
|
|
1122
|
+
"path": "./types",
|
|
1123
|
+
"id": "src/components/x-color-picker/types.ts::OpenChangeEventDetail",
|
|
1124
|
+
"referenceLocation": "OpenChangeEventDetail"
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
}, {
|
|
1129
|
+
"method": "xClear",
|
|
1130
|
+
"name": "xClear",
|
|
1131
|
+
"bubbles": true,
|
|
1132
|
+
"cancelable": true,
|
|
1133
|
+
"composed": true,
|
|
1134
|
+
"docs": {
|
|
1135
|
+
"tags": [{
|
|
1136
|
+
"name": "example",
|
|
1137
|
+
"text": "<x-color-picker onXClear={() => {}}></x-color-picker>"
|
|
1138
|
+
}],
|
|
1139
|
+
"text": "Called when clear"
|
|
1140
|
+
},
|
|
1141
|
+
"complexType": {
|
|
1142
|
+
"original": "void",
|
|
1143
|
+
"resolved": "void",
|
|
1144
|
+
"references": {}
|
|
1145
|
+
}
|
|
1146
|
+
}];
|
|
1147
|
+
}
|
|
1148
|
+
static get methods() {
|
|
1149
|
+
return {
|
|
1150
|
+
"getColor": {
|
|
1151
|
+
"complexType": {
|
|
1152
|
+
"signature": "() => Promise<Color | null>",
|
|
1153
|
+
"parameters": [],
|
|
1154
|
+
"references": {
|
|
1155
|
+
"Promise": {
|
|
1156
|
+
"location": "global",
|
|
1157
|
+
"id": "global::Promise"
|
|
1158
|
+
},
|
|
1159
|
+
"Color": {
|
|
1160
|
+
"location": "import",
|
|
1161
|
+
"path": "./types",
|
|
1162
|
+
"id": "src/components/x-color-picker/types.ts::Color",
|
|
1163
|
+
"referenceLocation": "Color"
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
"return": "Promise<Color>"
|
|
1167
|
+
},
|
|
1168
|
+
"docs": {
|
|
1169
|
+
"text": "Get current color object",
|
|
1170
|
+
"tags": [{
|
|
1171
|
+
"name": "returns",
|
|
1172
|
+
"text": "Promise<Color | null>"
|
|
1173
|
+
}, {
|
|
1174
|
+
"name": "example",
|
|
1175
|
+
"text": "const color = await el.getColor()"
|
|
1176
|
+
}]
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
static get elementRef() { return "el"; }
|
|
1182
|
+
static get watchers() {
|
|
1183
|
+
return [{
|
|
1184
|
+
"propName": "value",
|
|
1185
|
+
"methodName": "handleValueChange"
|
|
1186
|
+
}, {
|
|
1187
|
+
"propName": "format",
|
|
1188
|
+
"methodName": "handleFormatChange"
|
|
1189
|
+
}, {
|
|
1190
|
+
"propName": "open",
|
|
1191
|
+
"methodName": "handleOpenPropChange"
|
|
1192
|
+
}];
|
|
1193
|
+
}
|
|
1194
|
+
static get listeners() {
|
|
1195
|
+
return [{
|
|
1196
|
+
"name": "click",
|
|
1197
|
+
"method": "handleDocumentClick",
|
|
1198
|
+
"target": "document",
|
|
1199
|
+
"capture": false,
|
|
1200
|
+
"passive": false
|
|
1201
|
+
}, {
|
|
1202
|
+
"name": "keydown",
|
|
1203
|
+
"method": "handleKeydown",
|
|
1204
|
+
"target": "document",
|
|
1205
|
+
"capture": false,
|
|
1206
|
+
"passive": false
|
|
1207
|
+
}];
|
|
1208
|
+
}
|
|
1209
|
+
}
|