@apptimate/ui 5.1.0 → 5.2.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/package.json +1 -1
- package/src/common-components/item-wizard/ItemFormWizard.tsx +8 -1
- package/src/common-components/item-wizard/SkuConfigModal.tsx +6 -1
- package/src/common-components/pickers/BrandPicker.tsx +5 -1
- package/src/common-components/pickers/CategoryPicker.tsx +5 -1
- package/src/common-components/pickers/EntityPickerModal.tsx +4 -1
- package/src/common-components/pickers/PartyPicker.tsx +5 -1
- package/src/common-components/pickers/UomGroupPicker.tsx +5 -1
- package/src/common-components/pickers/UomPicker.tsx +6 -1
- package/src/common-components/pickers/WarehousePicker.tsx +5 -1
- package/src/components/shared/CustomerSelectorComponent.tsx +7 -1
- package/src/components/shared/ImageUploadComponent.tsx +4 -1
- package/src/components/shared/PaymentModeComponent.tsx +6 -1
- package/src/components/shared/ProductSelectorComponent.tsx +7 -1
package/package.json
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from "react";
|
|
4
|
-
import { Input
|
|
4
|
+
import { Input } from '../../base-components/Input';
|
|
5
|
+
import { Select } from '../../base-components/Select';
|
|
6
|
+
import { Button } from '../../base-components/Button';
|
|
7
|
+
import { WizardModal } from '../../base-components/WizardModal';
|
|
8
|
+
import { Checkbox } from '../../base-components/Checkbox';
|
|
9
|
+
import { HintIcon } from '../../base-components/HintIcon';
|
|
10
|
+
import { TagsInput } from '../../base-components/TagsInput';
|
|
11
|
+
|
|
5
12
|
import { CategoryPicker, BrandPicker } from "../pickers";
|
|
6
13
|
import { UomPicker } from "../pickers/UomPicker";
|
|
7
14
|
import { ChevronLeft, ChevronRight, Settings, Trash, Trash2, Plus } from "lucide-react";
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect } from "react";
|
|
4
|
-
import { Modal
|
|
4
|
+
import { Modal } from '../../base-components/Modal';
|
|
5
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
6
|
+
import { Button } from '../../base-components/Button';
|
|
7
|
+
import { Select } from '../../base-components/Select';
|
|
8
|
+
import { Input } from '../../base-components/Input';
|
|
9
|
+
|
|
5
10
|
import { saveInventorySetting, getInventorySetting, getItemCategoryCount } from "@apptimate/core-lib";
|
|
6
11
|
import { Trash2, Plus } from "lucide-react";
|
|
7
12
|
import toast from "react-hot-toast";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from "react";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from '../../base-components/Button';
|
|
5
|
+
import { Input } from '../../base-components/Input';
|
|
6
|
+
import { Modal } from '../../base-components/Modal';
|
|
7
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
8
|
+
|
|
5
9
|
import { Plus, Package } from "lucide-react";
|
|
6
10
|
import {
|
|
7
11
|
EntityPickerModal,
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback, useEffect } from "react";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from '../../base-components/Button';
|
|
5
|
+
import { Input } from '../../base-components/Input';
|
|
6
|
+
import { Modal } from '../../base-components/Modal';
|
|
7
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
8
|
+
|
|
5
9
|
import { Plus, List, GitBranch, ChevronRight, ChevronDown, FolderOpen } from "lucide-react";
|
|
6
10
|
import {
|
|
7
11
|
EntityPickerModal,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect, useCallback, ReactNode } from "react";
|
|
4
|
-
import { Modal
|
|
4
|
+
import { Modal } from '../../base-components/Modal';
|
|
5
|
+
import { Input } from '../../base-components/Input';
|
|
6
|
+
import { Button } from '../../base-components/Button';
|
|
7
|
+
|
|
5
8
|
import { Search, Plus, X, Check } from "lucide-react";
|
|
6
9
|
|
|
7
10
|
/* ──────────────────────────────────────────────────────────────────────────
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback, useEffect } from "react";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from '../../base-components/Button';
|
|
5
|
+
import { Input } from '../../base-components/Input';
|
|
6
|
+
import { Modal } from '../../base-components/Modal';
|
|
7
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
8
|
+
|
|
5
9
|
import { Plus, User } from "lucide-react";
|
|
6
10
|
import {
|
|
7
11
|
EntityPickerModal,
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback, useEffect } from "react";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from '../../base-components/Button';
|
|
5
|
+
import { Input } from '../../base-components/Input';
|
|
6
|
+
import { Modal } from '../../base-components/Modal';
|
|
7
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
8
|
+
|
|
5
9
|
import { Plus, Folder } from "lucide-react";
|
|
6
10
|
import {
|
|
7
11
|
EntityPickerModal,
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from "react";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from '../../base-components/Button';
|
|
5
|
+
import { Input } from '../../base-components/Input';
|
|
6
|
+
import { Modal } from '../../base-components/Modal';
|
|
7
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
8
|
+
import { Select } from '../../base-components/Select';
|
|
9
|
+
|
|
5
10
|
import { Plus, Ruler } from "lucide-react";
|
|
6
11
|
import {
|
|
7
12
|
EntityPickerModal,
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from "react";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from '../../base-components/Button';
|
|
5
|
+
import { Input } from '../../base-components/Input';
|
|
6
|
+
import { Modal } from '../../base-components/Modal';
|
|
7
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
8
|
+
|
|
5
9
|
import { Plus, Warehouse } from "lucide-react";
|
|
6
10
|
import {
|
|
7
11
|
EntityPickerModal,
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React, { useState, useEffect, useCallback, useRef } from "react";
|
|
3
|
-
import { Modal
|
|
3
|
+
import { Modal } from '../../base-components/Modal';
|
|
4
|
+
import { Button } from '../../base-components/Button';
|
|
5
|
+
import { Input } from '../../base-components/Input';
|
|
6
|
+
import { Pagination } from '../../base-components/Pagination';
|
|
7
|
+
import { EmptyState } from '../../base-components/EmptyState';
|
|
8
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
9
|
+
|
|
4
10
|
import { Search, User, Phone, Mail, MapPin, X } from "lucide-react";
|
|
5
11
|
import toast from "react-hot-toast";
|
|
6
12
|
import { sendRequest, IApiResponse } from "@apptimate/core-lib";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React, { useState, useRef, useCallback } from "react";
|
|
3
|
-
import { Button
|
|
3
|
+
import { Button } from '../../base-components/Button';
|
|
4
|
+
import { Modal } from '../../base-components/Modal';
|
|
5
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
6
|
+
|
|
4
7
|
import { Upload, X, Star, GripVertical, ImagePlus, Trash2 } from "lucide-react";
|
|
5
8
|
import toast from "react-hot-toast";
|
|
6
9
|
import { sendRequest } from "@apptimate/core-lib";
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect, useCallback } from "react";
|
|
4
|
-
import { Input
|
|
4
|
+
import { Input } from '../../base-components/Input';
|
|
5
|
+
import { Modal } from '../../base-components/Modal';
|
|
6
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
7
|
+
import { Button } from '../../base-components/Button';
|
|
8
|
+
import { Badge } from '../../base-components/Badge';
|
|
9
|
+
|
|
5
10
|
import { Banknote, CreditCard, Building2, Smartphone, FileText, Plus, X, Search, ArrowRight, AlertTriangle, Clock } from "lucide-react";
|
|
6
11
|
|
|
7
12
|
// ── Types ────────────────────────────────────────────────────────────────
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React, { useState, useEffect, useCallback, useRef } from "react";
|
|
3
|
-
import { Modal
|
|
3
|
+
import { Modal } from '../../base-components/Modal';
|
|
4
|
+
import { Button } from '../../base-components/Button';
|
|
5
|
+
import { Pagination } from '../../base-components/Pagination';
|
|
6
|
+
import { EmptyState } from '../../base-components/EmptyState';
|
|
7
|
+
import { ModalFooter } from '../../base-components/Modal';
|
|
8
|
+
import { Badge } from '../../base-components/Badge';
|
|
9
|
+
|
|
4
10
|
import { Search, Package, X, Tag, Barcode } from "lucide-react";
|
|
5
11
|
import toast from "react-hot-toast";
|
|
6
12
|
import { sendRequest, IApiResponse } from "@apptimate/core-lib";
|