@onereach/ui-components 7.1.0 → 7.1.1-beta.3553.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/OrList-1bb8cbb1.js +269 -0
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrIconButtonV3/styles.js +12 -3
- package/dist/bundled/v2/components/OrListV3/OrList.js +2 -0
- package/dist/bundled/v2/components/OrListV3/OrList.vue.d.ts +115 -0
- package/dist/bundled/v2/components/OrListV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrListV3/index.js +1 -0
- package/dist/bundled/v2/components/OrListV3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/OrListV3/styles.js +7 -0
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +2 -1
- package/dist/bundled/v2/index.js +2 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-c196d039.js → OrCardCollection.vue_vue_type_script_lang-79c15c42.js} +2 -2
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-da0fa78f.js → OrCode.vue_vue_type_script_lang-c1b79f15.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-16732e9d.js → OrConfirm.vue_vue_type_script_lang-ac0e29e9.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-69238079.js → OrDatePicker.vue_vue_type_script_lang-38ecba3a.js} +3 -3
- package/dist/bundled/v3/{OrDateRangePicker.vue_vue_type_script_lang-dac15e2a.js → OrDateRangePicker.vue_vue_type_script_lang-6c57d848.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-936adb1b.js → OrDateTimePicker.vue_vue_type_script_lang-0b1559d3.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect.vue_vue_type_script_lang-fbc84f84.js → OrDateTimePickerMonthSelect.vue_vue_type_script_lang-0c826945.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-382f7eb9.js → OrDateTimePickerPopoverHeader-f08110c4.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-873efacb.js → OrInlineInput.vue_vue_type_script_lang-eafbf015.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3bb287c6.js → OrInlineTextarea.vue_vue_type_script_lang-6b88499a.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-10d8887d.js → OrInput.vue_vue_type_script_lang-7e02f424.js} +1 -1
- package/dist/bundled/v3/OrList.vue_vue_type_script_lang-8f6fa1e3.js +141 -0
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-7ed03f88.js → OrModal.vue_vue_type_script_lang-0d3b5147.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-169db1c4.js → OrNotification.vue_vue_type_script_lang-dddec4de.js} +1 -1
- package/dist/bundled/v3/{OrResizeablePanel.vue_vue_type_script_lang-923e0936.js → OrResizeablePanel.vue_vue_type_script_lang-f121c786.js} +1 -1
- package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-971ca9ba.js → OrRichTextEditor.vue_vue_type_script_lang-2d4d62a7.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-55ed983e.js → OrSearch.vue_vue_type_script_lang-63479512.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-341d92c2.js → OrSelect.vue_vue_type_script_lang-2848dfcb.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-0076d0c7.js → OrSidebar.vue_vue_type_script_lang-8b27f24b.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-d351634b.js → OrTag.vue_vue_type_script_lang-0658354d.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-3e60bdec.js → OrTagInput.vue_vue_type_script_lang-7d758cdd.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-167b77f1.js → OrTags.vue_vue_type_script_lang-2804af4c.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-0ca99b94.js → OrTimePicker.vue_vue_type_script_lang-2031ee3a.js} +1 -1
- package/dist/bundled/v3/{OrTimeRangePicker.vue_vue_type_script_lang-2c214f17.js → OrTimeRangePicker.vue_vue_type_script_lang-4a548281.js} +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +2 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/index.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +2 -2
- package/dist/bundled/v3/components/OrConfirmV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +2 -2
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.js +2 -2
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrIconButtonV3/styles.js +12 -3
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +2 -2
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v3/components/OrInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrListV3/OrList.js +66 -0
- package/dist/bundled/v3/components/OrListV3/OrList.vue.d.ts +87 -0
- package/dist/bundled/v3/components/OrListV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrListV3/index.js +1 -0
- package/dist/bundled/v3/components/OrListV3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/OrListV3/styles.js +7 -0
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +2 -2
- package/dist/bundled/v3/components/OrModalV3/index.js +1 -1
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +2 -2
- package/dist/bundled/v3/components/OrNotificationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrResizeablePanelV3/OrResizeablePanel.js +2 -2
- package/dist/bundled/v3/components/OrResizeablePanelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +2 -2
- package/dist/bundled/v3/components/OrTagInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +2 -2
- package/dist/bundled/v3/components/OrTagV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +2 -2
- package/dist/bundled/v3/components/OrTagsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.js +2 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +2 -2
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/index.js +1 -1
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +25 -24
- package/dist/bundled/v3/index.js +26 -24
- package/dist/esm/v2/{OrCardCollection-05bb0cd0.js → OrCardCollection-850d1a53.js} +2 -2
- package/dist/esm/v2/{OrCode-829287c3.js → OrCode-74a2c017.js} +2 -2
- package/dist/esm/v2/{OrConfirm-56b56388.js → OrConfirm-0432eb2b.js} +1 -1
- package/dist/esm/v2/{OrDateFormat-5632c163.js → OrDateFormat-18c2d6d0.js} +2 -2
- package/dist/esm/v2/{OrDatePicker-254ef745.js → OrDatePicker-a93d6935.js} +3 -3
- package/dist/esm/v2/{OrDateRangePicker-bddffc8c.js → OrDateRangePicker-23dbcbae.js} +3 -3
- package/dist/esm/v2/{OrDateTimeFormat-bd788e38.js → OrDateTimeFormat-9bdd9080.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-2020ce26.js → OrDateTimePicker-f3f34d06.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-9e9e0c12.js → OrDateTimePicker.vue_rollup-plugin-vue_script-c29ce8a1.js} +2 -2
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-71e1b3e3.js → OrDateTimePickerTimeSelect-8a7abfde.js} +1 -1
- package/dist/esm/v2/{OrIconButton-07c0bd56.js → OrIconButton-4e8eb196.js} +12 -3
- package/dist/esm/v2/{OrInlineInput-13ab6131.js → OrInlineInput-cb952add.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-4a8558a2.js → OrInlineTextarea-29756307.js} +1 -1
- package/dist/esm/v2/{OrInput-47e37630.js → OrInput-b50bd2e4.js} +1 -1
- package/dist/esm/v2/OrList-5c383b3c.js +225 -0
- package/dist/esm/v2/OrListItem-c6b0dd77.js +57 -0
- package/dist/esm/v2/{OrModal-aef72b96.js → OrModal-566e1583.js} +1 -1
- package/dist/esm/v2/{OrNotification-389be03c.js → OrNotification-38ce7050.js} +1 -1
- package/dist/esm/v2/{OrResizeablePanel-bebffe11.js → OrResizeablePanel-1a3e4fb9.js} +1 -1
- package/dist/esm/v2/{OrResizeablePanel.vue_rollup-plugin-vue_script-c798472c.js → OrResizeablePanel.vue_rollup-plugin-vue_script-905a6e99.js} +1 -1
- package/dist/esm/v2/{OrRichTextEditor-0746e943.js → OrRichTextEditor-fd3875e6.js} +3 -3
- package/dist/esm/v2/{OrSearch-9860bd73.js → OrSearch-7706870f.js} +1 -1
- package/dist/esm/v2/{OrSelect-bd77c553.js → OrSelect-82434edc.js} +4 -4
- package/dist/esm/v2/{OrSelectMultipleControl-e891fad1.js → OrSelectMultipleControl-015d6d84.js} +1 -1
- package/dist/esm/v2/{OrSidebar-d24100a9.js → OrSidebar-a526c9c9.js} +3 -3
- package/dist/esm/v2/{OrTag-884d1994.js → OrTag-588e8b0c.js} +1 -1
- package/dist/esm/v2/{OrTagInput-46da8417.js → OrTagInput-13a63cb4.js} +2 -2
- package/dist/esm/v2/{OrTags-a733e716.js → OrTags-72d8626d.js} +1 -1
- package/dist/esm/v2/{OrTimeFormat-5839790f.js → OrTimeFormat-b5155135.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-7fd4a9f8.js → OrTimePicker-bd5dda39.js} +3 -3
- package/dist/esm/v2/{OrTimeRangePicker-73c1da5b.js → OrTimeRangePicker-2de40223.js} +3 -3
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +33 -31
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-code-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-range-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/index.js +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-list-v3/OrList.vue.d.ts +115 -0
- package/dist/esm/v2/components/or-list-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-list-v3/index.js +26 -0
- package/dist/esm/v2/components/or-list-v3/partials/index.d.ts +1 -0
- package/dist/esm/v2/components/or-list-v3/partials/index.js +3 -0
- package/dist/esm/v2/components/or-list-v3/partials/or-list-item/OrListItem.vue.d.ts +8 -0
- package/dist/esm/v2/components/or-list-v3/partials/or-list-item/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-list-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-resizeable-panel-v3/index.js +3 -3
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +4 -4
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-select-v3/partials/index.js +4 -4
- package/dist/esm/v2/components/or-select-v3/partials/or-select-multiple-control/index.js +4 -4
- package/dist/esm/v2/components/or-sidebar-v3/index.js +5 -5
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/esm/v2/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tags-v3/index.js +3 -3
- package/dist/esm/v2/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v2/index.js +33 -31
- package/dist/esm/v2/{props-cc0586c8.js → props-0b1db996.js} +1 -1
- package/dist/esm/v2/{types-786e1747.js → types-2ab271cc.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-1a0a5c94.js → OrCardCollection-5ba59445.js} +2 -2
- package/dist/esm/v3/{OrCode-5e27359d.js → OrCode-a57f7523.js} +2 -2
- package/dist/esm/v3/{OrConfirm-2a0fbf0d.js → OrConfirm-7d4952ce.js} +1 -1
- package/dist/esm/v3/{OrDateFormat-ba906bd3.js → OrDateFormat-aec539a6.js} +2 -2
- package/dist/esm/v3/{OrDatePicker-9743f994.js → OrDatePicker-cfecf070.js} +3 -3
- package/dist/esm/v3/{OrDateRangePicker-2a7f8543.js → OrDateRangePicker-71effdf4.js} +3 -3
- package/dist/esm/v3/{OrDateTimeFormat-ff014557.js → OrDateTimeFormat-e2fad488.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-96aa3e2d.js → OrDateTimePicker-80a9680a.js} +2 -2
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-6a70bbb2.js → OrDateTimePickerTimeSelect-fb574b4c.js} +1 -1
- package/dist/esm/v3/{OrIconButton-c89f733b.js → OrIconButton-e7bb399c.js} +12 -3
- package/dist/esm/v3/{OrInlineInput-87985a49.js → OrInlineInput-16332ab7.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-998beb1f.js → OrInlineTextarea-bb1a3c19.js} +1 -1
- package/dist/esm/v3/{OrInput-74ed60b3.js → OrInput-8a15f221.js} +1 -1
- package/dist/esm/v3/OrList-f2ad37ed.js +182 -0
- package/dist/esm/v3/OrListItem-d89cd659.js +33 -0
- package/dist/esm/v3/{OrModal-ef436909.js → OrModal-03222525.js} +1 -1
- package/dist/esm/v3/{OrNotification-8281be29.js → OrNotification-cdcf80d6.js} +1 -1
- package/dist/esm/v3/{OrResizeablePanel-71e7730f.js → OrResizeablePanel-ea90eb43.js} +1 -1
- package/dist/esm/v3/{OrRichTextEditor-facfb733.js → OrRichTextEditor-167583a6.js} +3 -3
- package/dist/esm/v3/{OrSearch-10f4835b.js → OrSearch-edfff9b8.js} +1 -1
- package/dist/esm/v3/{OrSelect-7428e5f8.js → OrSelect-e7f71d61.js} +4 -4
- package/dist/esm/v3/{OrSelectMultipleControl-64bb859f.js → OrSelectMultipleControl-bbc0bcc6.js} +1 -1
- package/dist/esm/v3/{OrSidebar-459ec28f.js → OrSidebar-88b89b3f.js} +2 -2
- package/dist/esm/v3/{OrTag-32739999.js → OrTag-5487a80b.js} +1 -1
- package/dist/esm/v3/{OrTagInput-9ad92675.js → OrTagInput-f20384ea.js} +2 -2
- package/dist/esm/v3/{OrTags-ba8ef261.js → OrTags-6d7f7cb2.js} +1 -1
- package/dist/esm/v3/{OrTimeFormat-3b0282bb.js → OrTimeFormat-11f17253.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-99fd02c2.js → OrTimePicker-863c6f7f.js} +3 -3
- package/dist/esm/v3/{OrTimeRangePicker-13f1a444.js → OrTimeRangePicker-c2d32cdd.js} +3 -3
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +31 -29
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-code-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-range-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-list-v3/OrList.vue.d.ts +87 -0
- package/dist/esm/v3/components/or-list-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-list-v3/index.js +25 -0
- package/dist/esm/v3/components/or-list-v3/partials/index.d.ts +1 -0
- package/dist/esm/v3/components/or-list-v3/partials/index.js +3 -0
- package/dist/esm/v3/components/or-list-v3/partials/or-list-item/OrListItem.vue.d.ts +5 -0
- package/dist/esm/v3/components/or-list-v3/partials/or-list-item/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-list-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-resizeable-panel-v3/index.js +2 -2
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +4 -4
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-select-v3/partials/index.js +4 -4
- package/dist/esm/v3/components/or-select-v3/partials/or-select-multiple-control/index.js +4 -4
- package/dist/esm/v3/components/or-sidebar-v3/index.js +4 -4
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/esm/v3/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tags-v3/index.js +3 -3
- package/dist/esm/v3/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v3/index.js +31 -29
- package/dist/esm/v3/{props-64389534.js → props-87275fa2.js} +1 -1
- package/dist/esm/v3/{types-e88f53a2.js → types-05a0a1d1.js} +1 -1
- package/package.json +2 -3
- package/src/components/index.ts +1 -0
- package/src/components/or-icon-button-v3/styles.ts +30 -9
- package/src/components/or-list-v3/OrList.vue +234 -0
- package/src/components/or-list-v3/index.ts +2 -0
- package/src/components/or-list-v3/partials/index.ts +1 -0
- package/src/components/or-list-v3/partials/or-list-item/OrListItem.vue +31 -0
- package/src/components/or-list-v3/partials/or-list-item/styles.ts +7 -0
- package/src/components/or-list-v3/styles.ts +7 -0
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-e07a84e9.js → OrDateTimePickerMonthSelect-c7959782.js} +0 -0
- /package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-8a4dcc47.js → OrIconButton.vue_vue_type_script_lang-90648210.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-10dc9508.js → OrToastContainer.vue_vue_type_script_lang-a932333f.js} +0 -0
package/dist/esm/v3/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
7
7
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-2e3a73fb.js';
|
|
8
8
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
9
9
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-8c81a2d5.js';
|
|
10
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
10
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-5ba59445.js';
|
|
11
11
|
export { C as CardPadding, s as OrCardV3 } from './OrCard-ee23cedc.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-5666c954.js';
|
|
13
13
|
export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-f916aeaf.js';
|
|
@@ -21,7 +21,7 @@ export { lintGutter, linter } from '@codemirror/lint';
|
|
|
21
21
|
export { javascript } from '@codemirror/lang-javascript';
|
|
22
22
|
export { json, jsonParseLinter } from '@codemirror/lang-json';
|
|
23
23
|
export { html } from '@codemirror/lang-html';
|
|
24
|
-
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-
|
|
24
|
+
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-a57f7523.js';
|
|
25
25
|
export { EditorView } from '@codemirror/view';
|
|
26
26
|
export { EditorState } from '@codemirror/state';
|
|
27
27
|
export { s as OrCollapse } from './OrCollapse-d7c0afae.js';
|
|
@@ -29,17 +29,17 @@ export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k
|
|
|
29
29
|
export { s as OrCombinedInputV3 } from './OrCombinedInput-a8db90da.js';
|
|
30
30
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from './OrInputBox-5f246763.js';
|
|
31
31
|
export { s as OrConfirm } from './OrConfirm-97ab80b9.js';
|
|
32
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
32
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-7d4952ce.js';
|
|
33
33
|
export { s as OrContextMenuV3 } from './OrContextMenu-c0ff35b6.js';
|
|
34
34
|
export { s as OrMenuV3 } from './OrMenu-72844eb1.js';
|
|
35
35
|
export { P as ContextMenuPlacement, P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-3b07d49e.js';
|
|
36
|
-
export { s as OrDateFormatV3 } from './OrDateFormat-
|
|
37
|
-
export { s as OrDatePickerV3 } from './OrDatePicker-
|
|
38
|
-
export { s as OrDateRangePickerV3 } from './OrDateRangePicker-
|
|
39
|
-
export { s as OrDateTimeFormatV3 } from './OrDateTimeFormat-
|
|
36
|
+
export { s as OrDateFormatV3 } from './OrDateFormat-aec539a6.js';
|
|
37
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-cfecf070.js';
|
|
38
|
+
export { s as OrDateRangePickerV3 } from './OrDateRangePicker-71effdf4.js';
|
|
39
|
+
export { s as OrDateTimeFormatV3 } from './OrDateTimeFormat-e2fad488.js';
|
|
40
40
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-4bfefbcd.js';
|
|
41
|
-
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
42
|
-
export { s as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMobileControl, c as OrDateTimePickerMonthSelect, d as OrDateTimePickerPopoverFooter, e as OrDateTimePickerPopoverHeader, f as OrDateTimePickerTimeControl, g as OrDateTimePickerTimeSelect } from './OrDateTimePickerTimeSelect-
|
|
41
|
+
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-80a9680a.js';
|
|
42
|
+
export { s as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMobileControl, c as OrDateTimePickerMonthSelect, d as OrDateTimePickerPopoverFooter, e as OrDateTimePickerPopoverHeader, f as OrDateTimePickerTimeControl, g as OrDateTimePickerTimeSelect } from './OrDateTimePickerTimeSelect-fb574b4c.js';
|
|
43
43
|
export { D as DateTimePickerTimeFormat, D as TimePickerFormat, D as TimeRangePickerFormat, f as formatDate, a as formatTime, g as getDatePlaceholder, b as getTimePlaceholder } from './getTimePlaceholder-f190a43f.js';
|
|
44
44
|
export { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
45
45
|
export { g as getNextMonthDate } from './getNextMonthDate-00c47169.js';
|
|
@@ -54,26 +54,28 @@ export { F as FormGroupDirection, s as OrFormGroupV3 } from './OrFormGroup-e42d6
|
|
|
54
54
|
export { s as OrHint } from './OrHint-8822005b.js';
|
|
55
55
|
export { s as OrHintV3 } from './OrHint-55d3de35.js';
|
|
56
56
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-f7130a5c.js';
|
|
57
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
57
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-e7bb399c.js';
|
|
58
58
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-3e27d5fb.js';
|
|
59
59
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-01fb2cb2.js';
|
|
60
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
60
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-16332ab7.js';
|
|
61
61
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-a3c4c7dc.js';
|
|
62
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
62
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-bb1a3c19.js';
|
|
63
63
|
export { s as OrInput } from './OrInput-2c3111c2.js';
|
|
64
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
64
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-8a15f221.js';
|
|
65
65
|
export { s as OrLabel } from './OrLabel-a7d99df4.js';
|
|
66
66
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-b826da04.js';
|
|
67
67
|
export { L as LinkColor, s as OrLinkV3 } from './OrLink-0db644bb.js';
|
|
68
68
|
export { s as OrList } from './OrList-aa7b5ef9.js';
|
|
69
69
|
export { s as OrListOfInputs } from './OrListOfInputs-f8740785.js';
|
|
70
|
+
export { s as OrListV3 } from './OrList-f2ad37ed.js';
|
|
71
|
+
export { s as OrListItem } from './OrListItem-d89cd659.js';
|
|
70
72
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-d28a8ebf.js';
|
|
71
73
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-b79022da.js';
|
|
72
74
|
export { s as OrMenuItemV3 } from './OrMenuItem-fdc66517.js';
|
|
73
75
|
export { s as OrModal, O as OrModalSizes } from './OrModal-b2060770.js';
|
|
74
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
76
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-03222525.js';
|
|
75
77
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-1b28dd4a.js';
|
|
76
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
78
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-cdcf80d6.js';
|
|
77
79
|
export { s as OrNumberInput } from './OrNumberInput-e9dcdcbd.js';
|
|
78
80
|
export { s as OrOverflowMenu } from './OrOverflowMenu-440ddf3e.js';
|
|
79
81
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
@@ -86,16 +88,16 @@ export { s as OrRadio } from './OrRadio-40bf2c87.js';
|
|
|
86
88
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
87
89
|
export { s as OrRadioGroupV3 } from './OrRadioGroup-b4b6d364.js';
|
|
88
90
|
export { s as OrRadioV3 } from './OrRadio-50b0ead5.js';
|
|
89
|
-
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-
|
|
90
|
-
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
91
|
+
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-ea90eb43.js';
|
|
92
|
+
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditor-167583a6.js';
|
|
91
93
|
export { s as OrSearch } from './OrSearch-2800e9bf.js';
|
|
92
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
94
|
+
export { s as OrSearchV3 } from './OrSearch-edfff9b8.js';
|
|
93
95
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-6be79b4e.js';
|
|
94
96
|
export { s as OrSelect } from './OrSelect-9520d6e6.js';
|
|
95
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
97
|
+
export { s as OrSelectV3 } from './OrSelect-e7f71d61.js';
|
|
96
98
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-aaf73310.js';
|
|
97
|
-
export { s as OrSidebarV3 } from './OrSidebar-
|
|
98
|
-
export { S as OrSidebarPlacement, S as SidebarPlacement } from './props-
|
|
99
|
+
export { s as OrSidebarV3 } from './OrSidebar-88b89b3f.js';
|
|
100
|
+
export { S as OrSidebarPlacement, S as SidebarPlacement } from './props-87275fa2.js';
|
|
99
101
|
export { s as OrSkeletonCircle } from './OrSkeletonCircle-66e175a0.js';
|
|
100
102
|
export { s as OrSkeletonRect } from './OrSkeletonRect-c694574e.js';
|
|
101
103
|
export { s as OrSkeletonText } from './OrSkeletonText-9a800de4.js';
|
|
@@ -114,21 +116,21 @@ export { s as OrTabV3 } from './OrTab-db771526.js';
|
|
|
114
116
|
export { s as OrTabs } from './OrTabs-3da3ea89.js';
|
|
115
117
|
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-f1773b57.js';
|
|
116
118
|
export { s as OrTag } from './OrTag-1b3b1296.js';
|
|
117
|
-
export { s as OrTagInputV3 } from './OrTagInput-
|
|
118
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
119
|
-
export { s as OrTagsV3, T as TagsOverflow } from './OrTags-
|
|
119
|
+
export { s as OrTagInputV3 } from './OrTagInput-f20384ea.js';
|
|
120
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-5487a80b.js';
|
|
121
|
+
export { s as OrTagsV3, T as TagsOverflow } from './OrTags-6d7f7cb2.js';
|
|
120
122
|
export { s as OrTeleport } from './OrTeleport.vue3-9bce0c02.js';
|
|
121
123
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
122
124
|
export { s as OrTextV3 } from './OrText-d54c951d.js';
|
|
123
125
|
export { s as OrTextarea } from './OrTextarea-7a753c1a.js';
|
|
124
126
|
export { s as OrTextareaV3 } from './OrTextarea-68d6803e.js';
|
|
125
127
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-cb6762c8.js';
|
|
126
|
-
export { s as OrTimeFormatV3 } from './OrTimeFormat-
|
|
127
|
-
export { s as OrTimePickerV3 } from './OrTimePicker-
|
|
128
|
-
export { s as OrTimeRangePickerV3 } from './OrTimeRangePicker-
|
|
128
|
+
export { s as OrTimeFormatV3 } from './OrTimeFormat-11f17253.js';
|
|
129
|
+
export { s as OrTimePickerV3 } from './OrTimePicker-863c6f7f.js';
|
|
130
|
+
export { s as OrTimeRangePickerV3 } from './OrTimeRangePicker-c2d32cdd.js';
|
|
129
131
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-d6f117e2.js';
|
|
130
132
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-05a9c81b.js';
|
|
131
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
133
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-05a0a1d1.js';
|
|
132
134
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-5aa9dc05.js';
|
|
133
135
|
export { s as OrTooltip } from './OrTooltip-7ac03028.js';
|
|
134
136
|
export { s as OrTooltipContent } from './OrTooltipContent-c0042844.js';
|
|
@@ -195,7 +197,7 @@ import './codemirrorView-020fe885.js';
|
|
|
195
197
|
import 'prosemirror-state';
|
|
196
198
|
import 'prosemirror-commands';
|
|
197
199
|
import 'lodash/keyBy';
|
|
198
|
-
import './OrSelectMultipleControl-
|
|
200
|
+
import './OrSelectMultipleControl-bbc0bcc6.js';
|
|
199
201
|
import './OrSelectPlaceholder-10e3bf5e.js';
|
|
200
202
|
import './OrSelectControlInput-3297e30d.js';
|
|
201
203
|
import './OrSelectSingleControl-f969c913.js';
|
|
@@ -6,7 +6,7 @@ import '@onereach/styles/tailwind/plugins/core';
|
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
7
7
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
8
8
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-5aa9dc05.js';
|
|
9
|
-
import { s as script$2 } from './OrIconButton-
|
|
9
|
+
import { s as script$2 } from './OrIconButton-e7bb399c.js';
|
|
10
10
|
import { s as script$3 } from './OrLoader-b79022da.js';
|
|
11
11
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
12
12
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "7.1.0",
|
|
3
|
+
"version": "7.1.1-beta.3553.0",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -175,6 +175,5 @@
|
|
|
175
175
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
176
176
|
},
|
|
177
177
|
"./package.json": "./package.json"
|
|
178
|
-
}
|
|
179
|
-
"gitHead": "a305b998e38bcfeb9d9c03e2f5b1a9cc18e58e9e"
|
|
178
|
+
}
|
|
180
179
|
}
|
package/src/components/index.ts
CHANGED
|
@@ -53,6 +53,7 @@ export * from './or-label-v3';
|
|
|
53
53
|
export * from './or-link-v3';
|
|
54
54
|
export * from './or-list';
|
|
55
55
|
export * from './or-list-of-inputs';
|
|
56
|
+
export * from './or-list-v3';
|
|
56
57
|
export * from './or-loader';
|
|
57
58
|
export * from './or-loader-v3';
|
|
58
59
|
export * from './or-menu-item-v3';
|
|
@@ -39,29 +39,29 @@ export const IconButtonColors: Record<IconButtonColor, string[]> = {
|
|
|
39
39
|
'dark:theme-foreground-outline-dark',
|
|
40
40
|
|
|
41
41
|
// Theme (hover)
|
|
42
|
-
'hover:md:outline-primary-opacity-0-08',
|
|
43
|
-
'dark:hover:md:outline-primary-opacity-0-08-dark',
|
|
44
|
-
|
|
45
42
|
'hover:md:theme-foreground-default',
|
|
46
43
|
'dark:hover:md:theme-foreground-default-dark',
|
|
47
44
|
|
|
48
|
-
|
|
49
|
-
'
|
|
50
|
-
'dark:focus-visible:md:outline-primary-opacity-0-08-dark',
|
|
45
|
+
'hover:md:outline-primary-opacity-0-08',
|
|
46
|
+
'dark:hover:md:outline-primary-opacity-0-08-dark',
|
|
51
47
|
|
|
48
|
+
// Theme (focus)
|
|
52
49
|
'focus-visible:md:theme-foreground-default',
|
|
53
50
|
'dark:focus-visible:md:theme-foreground-default-dark',
|
|
54
51
|
|
|
52
|
+
'focus-visible:md:outline-primary-opacity-0-08',
|
|
53
|
+
'dark:focus-visible:md:outline-primary-opacity-0-08-dark',
|
|
54
|
+
|
|
55
55
|
// Theme (active)
|
|
56
|
+
'active:theme-foreground-default',
|
|
57
|
+
'dark:active:theme-foreground-default-dark',
|
|
58
|
+
|
|
56
59
|
'active:outline-primary-opacity-0-08',
|
|
57
60
|
'dark:active:outline-primary-opacity-0-08-dark',
|
|
58
61
|
|
|
59
62
|
'active:md:outline-primary-opacity-0-16',
|
|
60
63
|
'dark:active:md:outline-primary-opacity-0-16-dark',
|
|
61
64
|
|
|
62
|
-
'active:theme-foreground-default',
|
|
63
|
-
'dark:active:theme-foreground-default-dark',
|
|
64
|
-
|
|
65
65
|
// Theme (selected)
|
|
66
66
|
'selected:theme-foreground-default',
|
|
67
67
|
'dark:selected:theme-foreground-default-dark',
|
|
@@ -88,6 +88,27 @@ export const IconButtonColors: Record<IconButtonColor, string[]> = {
|
|
|
88
88
|
'dark:active:md:outline-primary-opacity-0-16-dark',
|
|
89
89
|
],
|
|
90
90
|
|
|
91
|
+
[IconButtonColor.Primary]: [
|
|
92
|
+
// Theme
|
|
93
|
+
'theme-preset-3-primary',
|
|
94
|
+
'dark:theme-preset-3-primary-dark',
|
|
95
|
+
|
|
96
|
+
// Theme (hover)
|
|
97
|
+
'hover:md:outline-primary-opacity-0-08',
|
|
98
|
+
'dark:hover:md:outline-primary-opacity-0-08-dark',
|
|
99
|
+
|
|
100
|
+
// Theme (focus)
|
|
101
|
+
'focus-visible:md:outline-primary-opacity-0-08',
|
|
102
|
+
'dark:focus-visible:md:outline-primary-opacity-0-08-dark',
|
|
103
|
+
|
|
104
|
+
// Theme (active)
|
|
105
|
+
'active:outline-primary-opacity-0-08',
|
|
106
|
+
'dark:active:outline-primary-opacity-0-08-dark',
|
|
107
|
+
|
|
108
|
+
'active:md:outline-primary-opacity-0-16',
|
|
109
|
+
'dark:active:md:outline-primary-opacity-0-16-dark',
|
|
110
|
+
],
|
|
111
|
+
|
|
91
112
|
[IconButtonColor.Danger]: [
|
|
92
113
|
// Theme
|
|
93
114
|
'theme-preset-3-error',
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
ref="root"
|
|
4
|
+
:class="rootStyles"
|
|
5
|
+
:disabled="disabled ? '' : null"
|
|
6
|
+
>
|
|
7
|
+
<slot
|
|
8
|
+
name="header"
|
|
9
|
+
|
|
10
|
+
v-bind="{
|
|
11
|
+
addItem,
|
|
12
|
+
deleteItem
|
|
13
|
+
}"
|
|
14
|
+
>
|
|
15
|
+
<OrLabel :disabled="disabled">
|
|
16
|
+
{{ label }}
|
|
17
|
+
|
|
18
|
+
<template v-slot:addon>
|
|
19
|
+
<slot name="label-addon" />
|
|
20
|
+
</template>
|
|
21
|
+
</OrLabel>
|
|
22
|
+
</slot>
|
|
23
|
+
|
|
24
|
+
<OrListItem
|
|
25
|
+
v-for="(item, index) in proxyModelValue"
|
|
26
|
+
:key="uuid()"
|
|
27
|
+
:draggable="canReorder"
|
|
28
|
+
@dragstart="onDragStart"
|
|
29
|
+
@dragenter="onDragEnter"
|
|
30
|
+
@dragover="onDragOver"
|
|
31
|
+
@dragleave="onDragLeave"
|
|
32
|
+
@dragend="onDragEnd"
|
|
33
|
+
@drop="onDrop"
|
|
34
|
+
>
|
|
35
|
+
<template v-if="canReorder">
|
|
36
|
+
<OrIcon
|
|
37
|
+
:icon="'drag_handle'"
|
|
38
|
+
:size="'l'"
|
|
39
|
+
/>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<slot
|
|
43
|
+
v-bind="{
|
|
44
|
+
item,
|
|
45
|
+
index,
|
|
46
|
+
items: proxyModelValue,
|
|
47
|
+
addItem,
|
|
48
|
+
deleteItem
|
|
49
|
+
}"
|
|
50
|
+
>
|
|
51
|
+
{{ item }}
|
|
52
|
+
</slot>
|
|
53
|
+
|
|
54
|
+
<template v-if="canDelete">
|
|
55
|
+
<OrIconButton
|
|
56
|
+
:icon="'delete'"
|
|
57
|
+
:disabled="disabled"
|
|
58
|
+
@click="deleteItem(index)"
|
|
59
|
+
/>
|
|
60
|
+
</template>
|
|
61
|
+
</OrListItem>
|
|
62
|
+
|
|
63
|
+
<slot
|
|
64
|
+
name="footer"
|
|
65
|
+
|
|
66
|
+
v-bind="{
|
|
67
|
+
addItem,
|
|
68
|
+
deleteItem
|
|
69
|
+
}"
|
|
70
|
+
>
|
|
71
|
+
<template v-if="canAdd">
|
|
72
|
+
<OrIconButton
|
|
73
|
+
:icon="'add'"
|
|
74
|
+
:disabled="disabled"
|
|
75
|
+
@click="addItem()"
|
|
76
|
+
/>
|
|
77
|
+
</template>
|
|
78
|
+
</slot>
|
|
79
|
+
</div>
|
|
80
|
+
</template>
|
|
81
|
+
|
|
82
|
+
<script lang="ts">
|
|
83
|
+
import { v4 as uuid } from 'uuid';
|
|
84
|
+
import { PropType, computed, defineComponent, ref, toRef } from 'vue-demi';
|
|
85
|
+
import { useProxyModelValue } from '../../hooks';
|
|
86
|
+
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
87
|
+
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
88
|
+
import { OrLabelV3 as OrLabel } from '../or-label-v3';
|
|
89
|
+
import { OrListItem } from './partials';
|
|
90
|
+
import { List } from './styles';
|
|
91
|
+
|
|
92
|
+
export default defineComponent({
|
|
93
|
+
components: {
|
|
94
|
+
OrIcon,
|
|
95
|
+
OrIconButton,
|
|
96
|
+
OrLabel,
|
|
97
|
+
OrListItem,
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
model: {
|
|
101
|
+
prop: 'modelValue',
|
|
102
|
+
event: 'update:modelValue',
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
props: {
|
|
106
|
+
modelValue: {
|
|
107
|
+
type: Array as PropType<object[]>,
|
|
108
|
+
default: () => [],
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
itemProps: {
|
|
112
|
+
type: Object as PropType<object>,
|
|
113
|
+
default: () => ({}),
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
label: {
|
|
117
|
+
type: String,
|
|
118
|
+
default: undefined,
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
disabled: {
|
|
122
|
+
type: Boolean,
|
|
123
|
+
default: false,
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
canAdd: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: true,
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
canDelete: {
|
|
132
|
+
type: Boolean,
|
|
133
|
+
default: true,
|
|
134
|
+
},
|
|
135
|
+
|
|
136
|
+
canReorder: {
|
|
137
|
+
type: Boolean,
|
|
138
|
+
default: true,
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
|
|
142
|
+
emits: [
|
|
143
|
+
'update:modelValue',
|
|
144
|
+
|
|
145
|
+
'add',
|
|
146
|
+
'delete',
|
|
147
|
+
'reorder',
|
|
148
|
+
],
|
|
149
|
+
|
|
150
|
+
expose: [
|
|
151
|
+
'root',
|
|
152
|
+
],
|
|
153
|
+
|
|
154
|
+
setup(props, context) {
|
|
155
|
+
// Refs
|
|
156
|
+
const root = ref<HTMLElement>();
|
|
157
|
+
|
|
158
|
+
// Styles
|
|
159
|
+
const rootStyles = computed(() => [
|
|
160
|
+
'or-list-v3',
|
|
161
|
+
...List,
|
|
162
|
+
]);
|
|
163
|
+
|
|
164
|
+
// State
|
|
165
|
+
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
166
|
+
|
|
167
|
+
// Methods
|
|
168
|
+
function addItem(): void {
|
|
169
|
+
const addedItem = props.itemProps;
|
|
170
|
+
|
|
171
|
+
proxyModelValue.value = [
|
|
172
|
+
...proxyModelValue.value,
|
|
173
|
+
addedItem,
|
|
174
|
+
];
|
|
175
|
+
|
|
176
|
+
context.emit('add', addedItem, proxyModelValue.value.indexOf(addedItem), proxyModelValue.value);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function deleteItem(index: number): void {
|
|
180
|
+
const deletedItem = proxyModelValue.value[index];
|
|
181
|
+
|
|
182
|
+
proxyModelValue.value = proxyModelValue.value.filter((item) => {
|
|
183
|
+
return item !== deletedItem;
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
context.emit('delete', deletedItem, index, proxyModelValue.value);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// Handlers
|
|
190
|
+
function onDragStart(event: DragEvent): void {
|
|
191
|
+
console.log('dragstart', event);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
function onDragEnter(event: DragEvent): void {
|
|
195
|
+
console.log('dragenter', event);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
function onDragOver(event: DragEvent): void {
|
|
199
|
+
console.log('dragover', event);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
function onDragLeave(event: DragEvent): void {
|
|
203
|
+
console.log('dragleave', event);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
function onDragEnd(event: DragEvent): void {
|
|
207
|
+
console.log('dragend', event);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
function onDrop(event: DragEvent): void {
|
|
211
|
+
console.log('drop', event);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
return {
|
|
215
|
+
root,
|
|
216
|
+
rootStyles,
|
|
217
|
+
|
|
218
|
+
proxyModelValue,
|
|
219
|
+
|
|
220
|
+
addItem,
|
|
221
|
+
deleteItem,
|
|
222
|
+
|
|
223
|
+
onDragStart,
|
|
224
|
+
onDragEnter,
|
|
225
|
+
onDragOver,
|
|
226
|
+
onDragLeave,
|
|
227
|
+
onDragEnd,
|
|
228
|
+
onDrop,
|
|
229
|
+
|
|
230
|
+
uuid,
|
|
231
|
+
};
|
|
232
|
+
},
|
|
233
|
+
});
|
|
234
|
+
</script>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OrListItem } from './or-list-item/OrListItem.vue';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
ref="root"
|
|
4
|
+
:class="rootStyles"
|
|
5
|
+
>
|
|
6
|
+
<slot />
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script lang="ts">
|
|
11
|
+
import { computed, defineComponent, ref } from 'vue-demi';
|
|
12
|
+
import { ListItem } from './styles';
|
|
13
|
+
|
|
14
|
+
export default defineComponent({
|
|
15
|
+
setup() {
|
|
16
|
+
// Refs
|
|
17
|
+
const root = ref<HTMLElement>();
|
|
18
|
+
|
|
19
|
+
// Styles
|
|
20
|
+
const rootStyles = computed(() => [
|
|
21
|
+
'or-list-item-v3',
|
|
22
|
+
...ListItem,
|
|
23
|
+
]);
|
|
24
|
+
|
|
25
|
+
return {
|
|
26
|
+
root,
|
|
27
|
+
rootStyles,
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
</script>
|
|
File without changes
|
|
File without changes
|