Some checks failed
Lock Threads / action (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Publish Chatwoot EE docker images / build (linux/amd64, ubuntu-latest) (push) Has been cancelled
Publish Chatwoot EE docker images / build (linux/arm64, ubuntu-22.04-arm) (push) Has been cancelled
Publish Chatwoot EE docker images / merge (push) Has been cancelled
Publish Chatwoot CE docker images / build (linux/amd64, ubuntu-latest) (push) Has been cancelled
Publish Chatwoot CE docker images / build (linux/arm64, ubuntu-22.04-arm) (push) Has been cancelled
Publish Chatwoot CE docker images / merge (push) Has been cancelled
Run Chatwoot CE spec / lint-backend (push) Has been cancelled
Run Chatwoot CE spec / lint-frontend (push) Has been cancelled
Run Chatwoot CE spec / frontend-tests (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (0, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (1, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (10, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (11, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (12, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (13, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (14, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (15, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (2, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (3, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (4, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (5, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (6, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (7, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (8, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (9, 16) (push) Has been cancelled
Run Linux nightly installer / nightly (push) Has been cancelled
- Add Logistics component with progress tracking - Add OrderDetail component for order information - Support data-driven steps and actions - Add blue color scale to widget SCSS - Fix node overflow and progress bar rendering issues - Add English translations for dashboard components Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
56 lines
1.6 KiB
JavaScript
56 lines
1.6 KiB
JavaScript
// [NOTE][DEPRECATED] This method is to be deprecated, please do not add new components to this file.
|
|
/* eslint no-plusplus: 0 */
|
|
import Code from './Code.vue';
|
|
import ColorPicker from './widgets/ColorPicker.vue';
|
|
import ConfirmDeleteModal from './widgets/modal/ConfirmDeleteModal.vue';
|
|
import ConfirmModal from './widgets/modal/ConfirmationModal.vue';
|
|
import DeleteModal from './widgets/modal/DeleteModal.vue';
|
|
import DropdownItem from 'shared/components/ui/dropdown/DropdownItem.vue';
|
|
import DropdownMenu from 'shared/components/ui/dropdown/DropdownMenu.vue';
|
|
import FeatureToggle from './widgets/FeatureToggle.vue';
|
|
import Input from './widgets/forms/Input.vue';
|
|
import PhoneInput from './widgets/forms/PhoneInput.vue';
|
|
import Label from './ui/Label.vue';
|
|
import LoadingState from './widgets/LoadingState.vue';
|
|
import ModalHeader from './ModalHeader.vue';
|
|
import Modal from './Modal.vue';
|
|
import Spinner from 'shared/components/Spinner.vue';
|
|
import Tabs from './ui/Tabs/Tabs.vue';
|
|
import TabsItem from './ui/Tabs/TabsItem.vue';
|
|
import DatePicker from './ui/DatePicker/DatePicker.vue';
|
|
|
|
const WootUIKit = {
|
|
Code,
|
|
ColorPicker,
|
|
ConfirmDeleteModal,
|
|
ConfirmModal,
|
|
DeleteModal,
|
|
DropdownItem,
|
|
DropdownMenu,
|
|
FeatureToggle,
|
|
Input,
|
|
PhoneInput,
|
|
Label,
|
|
LoadingState,
|
|
Modal,
|
|
ModalHeader,
|
|
Spinner,
|
|
Tabs,
|
|
TabsItem,
|
|
DatePicker,
|
|
install(Vue) {
|
|
const keys = Object.keys(this);
|
|
keys.pop(); // remove 'install' from keys
|
|
let i = keys.length;
|
|
while (i--) {
|
|
Vue.component(`woot${keys[i]}`, this[keys[i]]);
|
|
}
|
|
},
|
|
};
|
|
|
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
window.Vue.use(WootUIKit);
|
|
}
|
|
|
|
export default WootUIKit;
|