ptechcore_ui 1.0.17 → 1.0.19
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/index.cjs +215 -87
- package/dist/index.d.cts +202 -38
- package/dist/index.d.ts +202 -38
- package/dist/index.js +244 -90
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3696,7 +3696,7 @@ var useAlert = () => {
|
|
|
3696
3696
|
};
|
|
3697
3697
|
|
|
3698
3698
|
// src/components/common/CommonSelect.tsx
|
|
3699
|
-
import { useEffect as
|
|
3699
|
+
import { useEffect as useEffect15, useState as useState23 } from "react";
|
|
3700
3700
|
|
|
3701
3701
|
// src/services/VendorServices.ts
|
|
3702
3702
|
var VENDORS_API_URL = `${API_URL}/accounting/vendors/`;
|
|
@@ -3775,7 +3775,7 @@ import { Fragment as Fragment62, jsx as jsx142, jsxs as jsxs102 } from "react/js
|
|
|
3775
3775
|
import { createContext as createContext42, useContext as useContext42, useState as useState112, useCallback as useCallback22 } from "react";
|
|
3776
3776
|
import { jsx as jsx152, jsxs as jsxs112 } from "react/jsx-runtime";
|
|
3777
3777
|
import { jsx as jsx162, jsxs as jsxs122 } from "react/jsx-runtime";
|
|
3778
|
-
import { useEffect as
|
|
3778
|
+
import { useEffect as useEffect14, useState as useState20 } from "react";
|
|
3779
3779
|
import { jsx as jsx172 } from "react/jsx-runtime";
|
|
3780
3780
|
import { jsx as jsx222, jsxs as jsxs132 } from "react/jsx-runtime";
|
|
3781
3781
|
import { Link as Link32 } from "react-router-dom";
|
|
@@ -3830,7 +3830,7 @@ import { Fragment as Fragment622, jsx as jsx1422, jsxs as jsxs1022 } from "react
|
|
|
3830
3830
|
import { createContext as createContext422, useContext as useContext422, useState as useState1122, useCallback as useCallback222 } from "react";
|
|
3831
3831
|
import { jsx as jsx1522, jsxs as jsxs1122 } from "react/jsx-runtime";
|
|
3832
3832
|
import { jsx as jsx1622, jsxs as jsxs1222 } from "react/jsx-runtime";
|
|
3833
|
-
import { useEffect as
|
|
3833
|
+
import { useEffect as useEffect13, useState as useState18 } from "react";
|
|
3834
3834
|
import { jsx as jsx1722 } from "react/jsx-runtime";
|
|
3835
3835
|
import { jsx as jsx2222, jsxs as jsxs1322 } from "react/jsx-runtime";
|
|
3836
3836
|
import { Link as Link322 } from "react-router-dom";
|
|
@@ -3878,13 +3878,123 @@ import { ArrowDownAZ as ArrowDownAZ222, ArrowDownUp as ArrowDownUp222, ArrowUpAZ
|
|
|
3878
3878
|
import { Fragment as Fragment4222, jsx as jsx12222, jsxs as jsxs8222 } from "react/jsx-runtime";
|
|
3879
3879
|
import { useState as useState10222, useEffect as useEffect8222 } from "react";
|
|
3880
3880
|
import { useState as useState9222, useRef as useRef222, useEffect as useEffect7222 } from "react";
|
|
3881
|
-
import { Search as Search3222, ChevronDown as ChevronDown222, X as X4222 } from "lucide-react";
|
|
3881
|
+
import { Search as Search3222, ChevronDown as ChevronDown222, X as X4222, RefreshCw as RefreshCw222, Plus as Plus322 } from "lucide-react";
|
|
3882
3882
|
import { Fragment as Fragment5222, jsx as jsx13222, jsxs as jsxs9222 } from "react/jsx-runtime";
|
|
3883
|
-
import { X as X5222, Plus as
|
|
3883
|
+
import { X as X5222, Plus as Plus2222, Trash2 as Trash2222, Users as Users222, Loader as Loader2222, RotateCcw as RotateCcw222, Ban as Ban222, Eye as Eye2222, FileText as FileText2222, History as History222 } from "lucide-react";
|
|
3884
3884
|
import { Fragment as Fragment6222, jsx as jsx14222, jsxs as jsxs10222 } from "react/jsx-runtime";
|
|
3885
3885
|
import { createContext as createContext4222, useContext as useContext4222, useState as useState11222, useCallback as useCallback2222 } from "react";
|
|
3886
3886
|
import { jsx as jsx15222, jsxs as jsxs11222 } from "react/jsx-runtime";
|
|
3887
3887
|
import { jsx as jsx16222, jsxs as jsxs12222 } from "react/jsx-runtime";
|
|
3888
|
+
import { useEffect as useEffect12, useState as useState16 } from "react";
|
|
3889
|
+
import { jsx as jsx17222 } from "react/jsx-runtime";
|
|
3890
|
+
import { jsx as jsx22222, jsxs as jsxs13222 } from "react/jsx-runtime";
|
|
3891
|
+
import { Link as Link3222 } from "react-router-dom";
|
|
3892
|
+
import { jsx as jsx32222, jsxs as jsxs22222 } from "react/jsx-runtime";
|
|
3893
|
+
import React42222, { useState as useState52222, useEffect as useEffect42222 } from "react";
|
|
3894
|
+
import { useLocation as useLocation3222, useNavigate as useNavigate3222 } from "react-router-dom";
|
|
3895
|
+
import {
|
|
3896
|
+
Settings as Settings3222,
|
|
3897
|
+
ChevronLeft as ChevronLeft3222,
|
|
3898
|
+
ChevronRight as ChevronRight2222,
|
|
3899
|
+
Search as Search4222,
|
|
3900
|
+
Bell as Bell2222,
|
|
3901
|
+
User as User2222,
|
|
3902
|
+
LogOut as LogOut2222,
|
|
3903
|
+
Menu as Menu3222,
|
|
3904
|
+
X as X22222,
|
|
3905
|
+
Palette as Palette2222,
|
|
3906
|
+
DollarSign as DollarSign2222,
|
|
3907
|
+
HelpCircle as HelpCircle2222,
|
|
3908
|
+
Building2 as Building22222
|
|
3909
|
+
} from "lucide-react";
|
|
3910
|
+
import { clsx as clsx2222 } from "clsx";
|
|
3911
|
+
import { twMerge as twMerge2222 } from "tailwind-merge";
|
|
3912
|
+
import { createContext as createContext5222, useContext as useContext5222, useState as useState12222, useEffect as useEffect9222 } from "react";
|
|
3913
|
+
import { jsx as jsx42222 } from "react/jsx-runtime";
|
|
3914
|
+
import { createContext as createContext22222, useContext as useContext22222, useEffect as useEffect22222, useState as useState22222 } from "react";
|
|
3915
|
+
import { jsx as jsx52222 } from "react/jsx-runtime";
|
|
3916
|
+
import { createContext as createContext32222, useContext as useContext32222, useState as useState32222, useCallback as useCallback3222 } from "react";
|
|
3917
|
+
import { jsx as jsx62222 } from "react/jsx-runtime";
|
|
3918
|
+
import { useState as useState42222, useEffect as useEffect32222 } from "react";
|
|
3919
|
+
import { jsx as jsx72222, jsxs as jsxs32222 } from "react/jsx-runtime";
|
|
3920
|
+
import { X as X6222, Loader as Loader3222, Eye as Eye3222, FileText as FileText3222, Check as Check2222, XCircle as XCircle3222, Edit as Edit2222, CheckCircle as CheckCircle3222, Clock as Clock2222, AlertCircle as AlertCircle2222, User as UserIcon2222, Send as Send2222 } from "lucide-react";
|
|
3921
|
+
import { useParams as useParams2222, useSearchParams as useSearchParams3222 } from "react-router-dom";
|
|
3922
|
+
import { Fragment as Fragment7222, jsx as jsx82222, jsxs as jsxs42222 } from "react/jsx-runtime";
|
|
3923
|
+
import { Fragment as Fragment22222, jsx as jsx92222, jsxs as jsxs52222 } from "react/jsx-runtime";
|
|
3924
|
+
import { useEffect as useEffect52222, useState as useState62222 } from "react";
|
|
3925
|
+
import { CheckCircle as CheckCircle22222, XCircle as XCircle22222, AlertTriangle as AlertTriangle2222, Info as Info2222, X as X32222 } from "lucide-react";
|
|
3926
|
+
import { jsx as jsx102222, jsxs as jsxs62222 } from "react/jsx-runtime";
|
|
3927
|
+
import { ChevronLeft as ChevronLeft22222, Download as Download3222, Menu as Menu22222, Settings as Settings22222 } from "lucide-react";
|
|
3928
|
+
import { useState as useState72222 } from "react";
|
|
3929
|
+
import { Fragment as Fragment32222, jsx as jsx112222, jsxs as jsxs72222 } from "react/jsx-runtime";
|
|
3930
|
+
import { useEffect as useEffect62222, useState as useState82222 } from "react";
|
|
3931
|
+
import { useLocation as useLocation22222, useNavigate as useNavigate22222, useSearchParams as useSearchParams22222, Link as Link22222 } from "react-router-dom";
|
|
3932
|
+
import { ArrowDownAZ as ArrowDownAZ2222, ArrowDownUp as ArrowDownUp2222, ArrowUpAZ as ArrowUpAZ2222, Download as Download22222, Filter as Filter2222, MoreVertical as MoreVertical2222, Printer as Printer2222, Search as Search22222 } from "lucide-react";
|
|
3933
|
+
import { Fragment as Fragment42222, jsx as jsx122222, jsxs as jsxs82222 } from "react/jsx-runtime";
|
|
3934
|
+
import { useState as useState102222, useEffect as useEffect82222 } from "react";
|
|
3935
|
+
import { useState as useState92222, useRef as useRef2222, useEffect as useEffect72222 } from "react";
|
|
3936
|
+
import { Search as Search32222, ChevronDown as ChevronDown2222, X as X42222, RefreshCw as RefreshCw2222, Plus as Plus3222 } from "lucide-react";
|
|
3937
|
+
import { Fragment as Fragment52222, jsx as jsx132222, jsxs as jsxs92222 } from "react/jsx-runtime";
|
|
3938
|
+
import { X as X52222, Plus as Plus22222, Trash2 as Trash22222, Users as Users2222, Loader as Loader22222, RotateCcw as RotateCcw2222, Ban as Ban2222, Eye as Eye22222, FileText as FileText22222, History as History2222 } from "lucide-react";
|
|
3939
|
+
import { Fragment as Fragment62222, jsx as jsx142222, jsxs as jsxs102222 } from "react/jsx-runtime";
|
|
3940
|
+
import { createContext as createContext42222, useContext as useContext42222, useState as useState112222, useCallback as useCallback22222 } from "react";
|
|
3941
|
+
import { jsx as jsx152222, jsxs as jsxs112222 } from "react/jsx-runtime";
|
|
3942
|
+
import { jsx as jsx162222, jsxs as jsxs122222 } from "react/jsx-runtime";
|
|
3943
|
+
import { useEffect as useEffect11, useState as useState14 } from "react";
|
|
3944
|
+
import { jsx as jsx172222 } from "react/jsx-runtime";
|
|
3945
|
+
import { jsx as jsx222222, jsxs as jsxs132222 } from "react/jsx-runtime";
|
|
3946
|
+
import { Link as Link32222 } from "react-router-dom";
|
|
3947
|
+
import { jsx as jsx322222, jsxs as jsxs222222 } from "react/jsx-runtime";
|
|
3948
|
+
import React422222, { useState as useState522222, useEffect as useEffect422222 } from "react";
|
|
3949
|
+
import { useLocation as useLocation32222, useNavigate as useNavigate32222 } from "react-router-dom";
|
|
3950
|
+
import {
|
|
3951
|
+
Settings as Settings32222,
|
|
3952
|
+
ChevronLeft as ChevronLeft32222,
|
|
3953
|
+
ChevronRight as ChevronRight22222,
|
|
3954
|
+
Search as Search42222,
|
|
3955
|
+
Bell as Bell22222,
|
|
3956
|
+
User as User22222,
|
|
3957
|
+
LogOut as LogOut22222,
|
|
3958
|
+
Menu as Menu32222,
|
|
3959
|
+
X as X222222,
|
|
3960
|
+
Palette as Palette22222,
|
|
3961
|
+
DollarSign as DollarSign22222,
|
|
3962
|
+
HelpCircle as HelpCircle22222,
|
|
3963
|
+
Building2 as Building222222
|
|
3964
|
+
} from "lucide-react";
|
|
3965
|
+
import { clsx as clsx22222 } from "clsx";
|
|
3966
|
+
import { twMerge as twMerge22222 } from "tailwind-merge";
|
|
3967
|
+
import { createContext as createContext52222, useContext as useContext52222, useState as useState122222, useEffect as useEffect92222 } from "react";
|
|
3968
|
+
import { jsx as jsx422222 } from "react/jsx-runtime";
|
|
3969
|
+
import { createContext as createContext222222, useContext as useContext222222, useEffect as useEffect222222, useState as useState222222 } from "react";
|
|
3970
|
+
import { jsx as jsx522222 } from "react/jsx-runtime";
|
|
3971
|
+
import { createContext as createContext322222, useContext as useContext322222, useState as useState322222, useCallback as useCallback32222 } from "react";
|
|
3972
|
+
import { jsx as jsx622222 } from "react/jsx-runtime";
|
|
3973
|
+
import { useState as useState422222, useEffect as useEffect322222 } from "react";
|
|
3974
|
+
import { jsx as jsx722222, jsxs as jsxs322222 } from "react/jsx-runtime";
|
|
3975
|
+
import { X as X62222, Loader as Loader32222, Eye as Eye32222, FileText as FileText32222, Check as Check22222, XCircle as XCircle32222, Edit as Edit22222, CheckCircle as CheckCircle32222, Clock as Clock22222, AlertCircle as AlertCircle22222, User as UserIcon22222, Send as Send22222 } from "lucide-react";
|
|
3976
|
+
import { useParams as useParams22222, useSearchParams as useSearchParams32222 } from "react-router-dom";
|
|
3977
|
+
import { Fragment as Fragment72222, jsx as jsx822222, jsxs as jsxs422222 } from "react/jsx-runtime";
|
|
3978
|
+
import { Fragment as Fragment222222, jsx as jsx922222, jsxs as jsxs522222 } from "react/jsx-runtime";
|
|
3979
|
+
import { useEffect as useEffect522222, useState as useState622222 } from "react";
|
|
3980
|
+
import { CheckCircle as CheckCircle222222, XCircle as XCircle222222, AlertTriangle as AlertTriangle22222, Info as Info22222, X as X322222 } from "lucide-react";
|
|
3981
|
+
import { jsx as jsx1022222, jsxs as jsxs622222 } from "react/jsx-runtime";
|
|
3982
|
+
import { ChevronLeft as ChevronLeft222222, Download as Download32222, Menu as Menu222222, Settings as Settings222222 } from "lucide-react";
|
|
3983
|
+
import { useState as useState722222 } from "react";
|
|
3984
|
+
import { Fragment as Fragment322222, jsx as jsx1122222, jsxs as jsxs722222 } from "react/jsx-runtime";
|
|
3985
|
+
import { useEffect as useEffect622222, useState as useState822222 } from "react";
|
|
3986
|
+
import { useLocation as useLocation222222, useNavigate as useNavigate222222, useSearchParams as useSearchParams222222, Link as Link222222 } from "react-router-dom";
|
|
3987
|
+
import { ArrowDownAZ as ArrowDownAZ22222, ArrowDownUp as ArrowDownUp22222, ArrowUpAZ as ArrowUpAZ22222, Download as Download222222, Filter as Filter22222, MoreVertical as MoreVertical22222, Printer as Printer22222, Search as Search222222 } from "lucide-react";
|
|
3988
|
+
import { Fragment as Fragment422222, jsx as jsx1222222, jsxs as jsxs822222 } from "react/jsx-runtime";
|
|
3989
|
+
import { useState as useState1022222, useEffect as useEffect822222 } from "react";
|
|
3990
|
+
import { useState as useState922222, useRef as useRef22222, useEffect as useEffect722222 } from "react";
|
|
3991
|
+
import { Search as Search322222, ChevronDown as ChevronDown22222, X as X422222 } from "lucide-react";
|
|
3992
|
+
import { Fragment as Fragment522222, jsx as jsx1322222, jsxs as jsxs922222 } from "react/jsx-runtime";
|
|
3993
|
+
import { X as X522222, Plus as Plus32222, Trash2 as Trash222222, Users as Users22222, Loader as Loader222222, RotateCcw as RotateCcw22222, Ban as Ban22222, Eye as Eye222222, FileText as FileText222222, History as History22222 } from "lucide-react";
|
|
3994
|
+
import { Fragment as Fragment622222, jsx as jsx1422222, jsxs as jsxs1022222 } from "react/jsx-runtime";
|
|
3995
|
+
import { createContext as createContext422222, useContext as useContext422222, useState as useState1122222, useCallback as useCallback222222 } from "react";
|
|
3996
|
+
import { jsx as jsx1522222, jsxs as jsxs1122222 } from "react/jsx-runtime";
|
|
3997
|
+
import { jsx as jsx1622222, jsxs as jsxs1222222 } from "react/jsx-runtime";
|
|
3888
3998
|
import { useState as useState13 } from "react";
|
|
3889
3999
|
import { jsx as jsx18, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
3890
4000
|
import { jsx as jsx19, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
@@ -3892,6 +4002,14 @@ import { useState as useState15 } from "react";
|
|
|
3892
4002
|
import { jsx as jsx20, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
3893
4003
|
import { jsx as jsx21, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3894
4004
|
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4005
|
+
import { useState as useState17 } from "react";
|
|
4006
|
+
import { jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
4007
|
+
import { jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
4008
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
4009
|
+
import { useState as useState19 } from "react";
|
|
4010
|
+
import { jsx as jsx27, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
4011
|
+
import { jsx as jsx28, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
4012
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
3895
4013
|
var PrimaryButton2 = ({
|
|
3896
4014
|
loading = false,
|
|
3897
4015
|
children,
|
|
@@ -3974,8 +4092,9 @@ var TextInput2 = (props) => {
|
|
|
3974
4092
|
return /* @__PURE__ */ jsx32(InputField2, { ...props, type: "text" });
|
|
3975
4093
|
};
|
|
3976
4094
|
var ThemeContext2 = createContext5(void 0);
|
|
3977
|
-
var
|
|
3978
|
-
var
|
|
4095
|
+
var chooseEnv2 = localStorage.getItem("env") ?? "prod";
|
|
4096
|
+
var ADDRESS_IP2 = chooseEnv2 === "prod" ? "back.rewise.praeduim-tech.com" : "localhost:8000";
|
|
4097
|
+
var ADDRESS_IP_URL2 = chooseEnv2 === "prod" ? `https://${ADDRESS_IP2}/` : `http://${ADDRESS_IP2}/`;
|
|
3979
4098
|
var API_URL2 = `${ADDRESS_IP_URL2}api`;
|
|
3980
4099
|
var API_BASE_URL3 = `${API_URL2}/core/auth/`;
|
|
3981
4100
|
var SessionContext2 = createContext22(void 0);
|
|
@@ -3986,8 +4105,9 @@ var APPROVAL_API_URL2 = `${API_URL2}/approvals/cases/`;
|
|
|
3986
4105
|
var AlertContext2 = createContext42(void 0);
|
|
3987
4106
|
var VENDORS_API_URL2 = `${API_URL2}/accounting/vendors/`;
|
|
3988
4107
|
var ThemeContext22 = createContext52(void 0);
|
|
3989
|
-
var
|
|
3990
|
-
var
|
|
4108
|
+
var chooseEnv22 = localStorage.getItem("env") ?? "prod";
|
|
4109
|
+
var ADDRESS_IP22 = chooseEnv22 === "prod" ? "back.rewise.praeduim-tech.com" : "localhost:8000";
|
|
4110
|
+
var ADDRESS_IP_URL22 = chooseEnv22 === "prod" ? `https://${ADDRESS_IP22}/` : `http://${ADDRESS_IP22}/`;
|
|
3991
4111
|
var API_URL22 = `${ADDRESS_IP_URL22}api`;
|
|
3992
4112
|
var API_BASE_URL32 = `${API_URL22}/core/auth/`;
|
|
3993
4113
|
var SessionContext22 = createContext222(void 0);
|
|
@@ -4008,18 +4128,50 @@ var USERS_API_URL222 = `${API_URL222}/core/users/`;
|
|
|
4008
4128
|
var ToastContext222 = createContext3222(void 0);
|
|
4009
4129
|
var APPROVAL_API_URL222 = `${API_URL222}/approvals/cases/`;
|
|
4010
4130
|
var AlertContext222 = createContext4222(void 0);
|
|
4011
|
-
var
|
|
4012
|
-
var
|
|
4013
|
-
var
|
|
4014
|
-
var
|
|
4015
|
-
var
|
|
4016
|
-
var
|
|
4017
|
-
var
|
|
4018
|
-
var
|
|
4131
|
+
var VENDORS_API_URL222 = `${API_URL222}/accounting/vendors/`;
|
|
4132
|
+
var ThemeContext2222 = createContext5222(void 0);
|
|
4133
|
+
var ADDRESS_IP2222 = "localhost:8000";
|
|
4134
|
+
var ADDRESS_IP_URL2222 = `http://${ADDRESS_IP2222}/`;
|
|
4135
|
+
var API_URL2222 = `${ADDRESS_IP_URL2222}api`;
|
|
4136
|
+
var API_BASE_URL3222 = `${API_URL2222}/core/auth/`;
|
|
4137
|
+
var SessionContext2222 = createContext22222(void 0);
|
|
4138
|
+
var API_BASE_URL22222 = `${API_URL2222}/core/auth/`;
|
|
4139
|
+
var USERS_API_URL2222 = `${API_URL2222}/core/users/`;
|
|
4140
|
+
var ToastContext2222 = createContext32222(void 0);
|
|
4141
|
+
var APPROVAL_API_URL2222 = `${API_URL2222}/approvals/cases/`;
|
|
4142
|
+
var AlertContext2222 = createContext42222(void 0);
|
|
4143
|
+
var VENDORS_API_URL2222 = `${API_URL2222}/accounting/vendors/`;
|
|
4144
|
+
var ThemeContext22222 = createContext52222(void 0);
|
|
4145
|
+
var ADDRESS_IP22222 = "localhost:8000";
|
|
4146
|
+
var ADDRESS_IP_URL22222 = `http://${ADDRESS_IP22222}/`;
|
|
4147
|
+
var API_URL22222 = `${ADDRESS_IP_URL22222}api`;
|
|
4148
|
+
var API_BASE_URL32222 = `${API_URL22222}/core/auth/`;
|
|
4149
|
+
var SessionContext22222 = createContext222222(void 0);
|
|
4150
|
+
var API_BASE_URL222222 = `${API_URL22222}/core/auth/`;
|
|
4151
|
+
var USERS_API_URL22222 = `${API_URL22222}/core/users/`;
|
|
4152
|
+
var ToastContext22222 = createContext322222(void 0);
|
|
4153
|
+
var APPROVAL_API_URL22222 = `${API_URL22222}/approvals/cases/`;
|
|
4154
|
+
var AlertContext22222 = createContext422222(void 0);
|
|
4155
|
+
var URI = `${API_URL2222}/core/departments/`;
|
|
4156
|
+
var URI2 = `${API_URL2222}/accounting/profit-or-cost-center/`;
|
|
4157
|
+
var COST_URI = `${API_URL2222}/accounting/cost-center/`;
|
|
4158
|
+
var PROFIT_URI = `${API_URL2222}/accounting/profit-center/`;
|
|
4159
|
+
var URI3 = `${API_URL222}/core/departments/`;
|
|
4160
|
+
var URI4 = `${API_URL222}/accounting/profit-or-cost-center/`;
|
|
4161
|
+
var COST_URI2 = `${API_URL222}/accounting/cost-center/`;
|
|
4162
|
+
var PROFIT_URI2 = `${API_URL222}/accounting/profit-center/`;
|
|
4163
|
+
var URI5 = `${API_URL22}/core/departments/`;
|
|
4164
|
+
var URI6 = `${API_URL22}/accounting/profit-or-cost-center/`;
|
|
4165
|
+
var COST_URI3 = `${API_URL22}/accounting/cost-center/`;
|
|
4166
|
+
var PROFIT_URI3 = `${API_URL22}/accounting/profit-center/`;
|
|
4167
|
+
var URI7 = `${API_URL2}/core/departments/`;
|
|
4168
|
+
var URI8 = `${API_URL2}/accounting/profit-or-cost-center/`;
|
|
4169
|
+
var COST_URI4 = `${API_URL2}/accounting/cost-center/`;
|
|
4170
|
+
var PROFIT_URI4 = `${API_URL2}/accounting/profit-center/`;
|
|
4019
4171
|
|
|
4020
4172
|
// src/components/common/FormVendor.tsx
|
|
4021
|
-
import { useState as
|
|
4022
|
-
import { jsx as
|
|
4173
|
+
import { useState as useState21 } from "react";
|
|
4174
|
+
import { jsx as jsx30, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
4023
4175
|
var MinimalVendorForm = ({
|
|
4024
4176
|
isOpen,
|
|
4025
4177
|
onClose,
|
|
@@ -4028,13 +4180,13 @@ var MinimalVendorForm = ({
|
|
|
4028
4180
|
refresh = () => {
|
|
4029
4181
|
}
|
|
4030
4182
|
}) => {
|
|
4031
|
-
const [formData, setFormData] =
|
|
4183
|
+
const [formData, setFormData] = useState21(object || {
|
|
4032
4184
|
from_module: from ?? null,
|
|
4033
4185
|
legal_name: "",
|
|
4034
4186
|
trading_name: ""
|
|
4035
4187
|
});
|
|
4036
|
-
const [errors, setErrors] =
|
|
4037
|
-
const [loading, setLoading] =
|
|
4188
|
+
const [errors, setErrors] = useState21({});
|
|
4189
|
+
const [loading, setLoading] = useState21(false);
|
|
4038
4190
|
const { token } = useSession();
|
|
4039
4191
|
const { success, error: showError } = useToast();
|
|
4040
4192
|
const handleInputChange = (e) => {
|
|
@@ -4093,7 +4245,7 @@ var MinimalVendorForm = ({
|
|
|
4093
4245
|
}
|
|
4094
4246
|
};
|
|
4095
4247
|
if (!isOpen) return null;
|
|
4096
|
-
return /* @__PURE__ */
|
|
4248
|
+
return /* @__PURE__ */ jsx30(
|
|
4097
4249
|
Modals_default2,
|
|
4098
4250
|
{
|
|
4099
4251
|
title: "Ajouter un fournisseur",
|
|
@@ -4101,9 +4253,9 @@ var MinimalVendorForm = ({
|
|
|
4101
4253
|
description: ``,
|
|
4102
4254
|
open: isOpen,
|
|
4103
4255
|
onClose,
|
|
4104
|
-
children: /* @__PURE__ */
|
|
4105
|
-
/* @__PURE__ */
|
|
4106
|
-
/* @__PURE__ */
|
|
4256
|
+
children: /* @__PURE__ */ jsxs23("form", { onSubmit: handleSubmit, className: "p-", children: [
|
|
4257
|
+
/* @__PURE__ */ jsx30("div", { className: "space-y-4", children: /* @__PURE__ */ jsxs23("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
4258
|
+
/* @__PURE__ */ jsx30(
|
|
4107
4259
|
TextInput2,
|
|
4108
4260
|
{
|
|
4109
4261
|
label: "Raison sociale",
|
|
@@ -4115,7 +4267,7 @@ var MinimalVendorForm = ({
|
|
|
4115
4267
|
onChange: handleInputChange
|
|
4116
4268
|
}
|
|
4117
4269
|
),
|
|
4118
|
-
/* @__PURE__ */
|
|
4270
|
+
/* @__PURE__ */ jsx30(
|
|
4119
4271
|
TextInput2,
|
|
4120
4272
|
{
|
|
4121
4273
|
label: "Nom commercial",
|
|
@@ -4126,8 +4278,8 @@ var MinimalVendorForm = ({
|
|
|
4126
4278
|
}
|
|
4127
4279
|
)
|
|
4128
4280
|
] }) }),
|
|
4129
|
-
/* @__PURE__ */
|
|
4130
|
-
/* @__PURE__ */
|
|
4281
|
+
/* @__PURE__ */ jsxs23("div", { className: "flex justify-between pt-6 mt-8", children: [
|
|
4282
|
+
/* @__PURE__ */ jsx30(
|
|
4131
4283
|
"button",
|
|
4132
4284
|
{
|
|
4133
4285
|
type: "button",
|
|
@@ -4136,7 +4288,7 @@ var MinimalVendorForm = ({
|
|
|
4136
4288
|
children: "Annuler"
|
|
4137
4289
|
}
|
|
4138
4290
|
),
|
|
4139
|
-
/* @__PURE__ */
|
|
4291
|
+
/* @__PURE__ */ jsx30(
|
|
4140
4292
|
Buttons_default2,
|
|
4141
4293
|
{
|
|
4142
4294
|
type: "button",
|
|
@@ -4152,43 +4304,43 @@ var MinimalVendorForm = ({
|
|
|
4152
4304
|
};
|
|
4153
4305
|
|
|
4154
4306
|
// src/services/DepartmentServices.ts
|
|
4155
|
-
var
|
|
4307
|
+
var URI9 = `${API_URL}/core/departments/`;
|
|
4156
4308
|
var DepartmentServices = {
|
|
4157
|
-
create: (data) => FetchApi.post(`${
|
|
4158
|
-
get: (id) => FetchApi.get(`${
|
|
4159
|
-
list: (params) => FetchApi.get(`${
|
|
4160
|
-
update: (id, data) => FetchApi.put(`${
|
|
4161
|
-
delete: (id) => FetchApi.delete(`${
|
|
4309
|
+
create: (data) => FetchApi.post(`${URI9}`, data),
|
|
4310
|
+
get: (id) => FetchApi.get(`${URI9}${id}/`),
|
|
4311
|
+
list: (params) => FetchApi.get(`${URI9}?${new URLSearchParams(params).toString()}`),
|
|
4312
|
+
update: (id, data) => FetchApi.put(`${URI9}${id}/`, data),
|
|
4313
|
+
delete: (id) => FetchApi.delete(`${URI9}${id}/`)
|
|
4162
4314
|
};
|
|
4163
4315
|
|
|
4164
4316
|
// src/services/ProfitCostsServices.ts
|
|
4165
|
-
var
|
|
4166
|
-
var
|
|
4317
|
+
var URI10 = `${API_URL}/accounting/profit-or-cost-center/`;
|
|
4318
|
+
var COST_URI5 = `${API_URL}/accounting/cost-center/`;
|
|
4167
4319
|
var CostServices = {
|
|
4168
|
-
create: (data) => FetchApi.post(`${
|
|
4169
|
-
get: (id) => FetchApi.get(`${
|
|
4170
|
-
list: (params) => FetchApi.get(`${
|
|
4171
|
-
update: (id, data) => FetchApi.put(`${
|
|
4172
|
-
delete: (id) => FetchApi.delete(`${
|
|
4320
|
+
create: (data) => FetchApi.post(`${COST_URI5}`, data),
|
|
4321
|
+
get: (id) => FetchApi.get(`${COST_URI5}${id}/`),
|
|
4322
|
+
list: (params) => FetchApi.get(`${COST_URI5}?${new URLSearchParams(params).toString()}`),
|
|
4323
|
+
update: (id, data) => FetchApi.put(`${COST_URI5}${id}/`, data),
|
|
4324
|
+
delete: (id) => FetchApi.delete(`${COST_URI5}${id}/`)
|
|
4173
4325
|
};
|
|
4174
|
-
var
|
|
4326
|
+
var PROFIT_URI5 = `${API_URL}/accounting/profit-center/`;
|
|
4175
4327
|
|
|
4176
4328
|
// src/components/common/CommonSelect.tsx
|
|
4177
|
-
import { jsx as
|
|
4329
|
+
import { jsx as jsx31, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
4178
4330
|
var SelectVendor = ({
|
|
4179
4331
|
value,
|
|
4180
4332
|
onSelect
|
|
4181
4333
|
}) => {
|
|
4182
|
-
const [showModal, setShowModal] =
|
|
4183
|
-
const [selectedVendor, setSelectedVendor] =
|
|
4334
|
+
const [showModal, setShowModal] = useState23(false);
|
|
4335
|
+
const [selectedVendor, setSelectedVendor] = useState23(null);
|
|
4184
4336
|
const { token, activeBusinessEntity } = useSession();
|
|
4185
|
-
const [vendors, setVendors] =
|
|
4337
|
+
const [vendors, setVendors] = useState23(() => {
|
|
4186
4338
|
const cacheKey = `vendors_cache_${activeBusinessEntity?.id || "default"}`;
|
|
4187
4339
|
const cached = sessionStorage.getItem(cacheKey);
|
|
4188
4340
|
return cached ? JSON.parse(cached) : [];
|
|
4189
4341
|
});
|
|
4190
|
-
const [loadingVendors, setLoadingVendors] =
|
|
4191
|
-
|
|
4342
|
+
const [loadingVendors, setLoadingVendors] = useState23(false);
|
|
4343
|
+
useEffect15(() => {
|
|
4192
4344
|
const cacheKey = `vendors_cache_${activeBusinessEntity?.id || "default"}`;
|
|
4193
4345
|
const cached = sessionStorage.getItem(cacheKey);
|
|
4194
4346
|
if (!cached) {
|
|
@@ -4226,9 +4378,9 @@ var SelectVendor = ({
|
|
|
4226
4378
|
sessionStorage.removeItem(cacheKey);
|
|
4227
4379
|
loadVendors();
|
|
4228
4380
|
};
|
|
4229
|
-
return /* @__PURE__ */
|
|
4230
|
-
/* @__PURE__ */
|
|
4231
|
-
/* @__PURE__ */
|
|
4381
|
+
return /* @__PURE__ */ jsxs24("div", { children: [
|
|
4382
|
+
/* @__PURE__ */ jsx31("div", { className: "flex justify-between ", children: /* @__PURE__ */ jsx31("label", { className: "block text-sm font-medium text-gray-700 mb-2", children: "Ajouter un fournisseur" }) }),
|
|
4383
|
+
/* @__PURE__ */ jsx31(
|
|
4232
4384
|
SearchableSelect,
|
|
4233
4385
|
{
|
|
4234
4386
|
value,
|
|
@@ -4244,8 +4396,8 @@ var SelectVendor = ({
|
|
|
4244
4396
|
},
|
|
4245
4397
|
"fourni" + value
|
|
4246
4398
|
),
|
|
4247
|
-
loadingVendors && /* @__PURE__ */
|
|
4248
|
-
showModal && /* @__PURE__ */
|
|
4399
|
+
loadingVendors && /* @__PURE__ */ jsx31("p", { className: "text-sm text-gray-500 mt-2", children: "Chargement des fournisseurs..." }),
|
|
4400
|
+
showModal && /* @__PURE__ */ jsx31(
|
|
4249
4401
|
MinimalVendorForm,
|
|
4250
4402
|
{
|
|
4251
4403
|
object: selectedVendor,
|
|
@@ -4262,13 +4414,13 @@ var SelectUser = ({
|
|
|
4262
4414
|
onSelect
|
|
4263
4415
|
}) => {
|
|
4264
4416
|
const { token, activeBusinessEntity } = useSession();
|
|
4265
|
-
const [users, setUsers] =
|
|
4417
|
+
const [users, setUsers] = useState23(() => {
|
|
4266
4418
|
const cacheKey = `users_cache_${activeBusinessEntity?.id || "default"}`;
|
|
4267
4419
|
const cached = sessionStorage.getItem(cacheKey);
|
|
4268
4420
|
return cached ? JSON.parse(cached) : [];
|
|
4269
4421
|
});
|
|
4270
|
-
const [loading, setLoading] =
|
|
4271
|
-
|
|
4422
|
+
const [loading, setLoading] = useState23(false);
|
|
4423
|
+
useEffect15(() => {
|
|
4272
4424
|
const cacheKey = `users_cache_${activeBusinessEntity?.id || "default"}`;
|
|
4273
4425
|
const cached = sessionStorage.getItem(cacheKey);
|
|
4274
4426
|
if (!cached) {
|
|
@@ -4304,19 +4456,19 @@ var SelectUser = ({
|
|
|
4304
4456
|
return users.map((user) => ({
|
|
4305
4457
|
value: user.id,
|
|
4306
4458
|
label: `${user.first_name} ${user.last_name}`,
|
|
4307
|
-
content: /* @__PURE__ */
|
|
4308
|
-
/* @__PURE__ */
|
|
4459
|
+
content: /* @__PURE__ */ jsx31("div", { className: "flex items-center space-x-3", children: /* @__PURE__ */ jsxs24("div", { className: "flex-1", children: [
|
|
4460
|
+
/* @__PURE__ */ jsxs24("div", { className: "font-medium text-gray-900", children: [
|
|
4309
4461
|
user.first_name,
|
|
4310
4462
|
" ",
|
|
4311
4463
|
user.last_name
|
|
4312
4464
|
] }),
|
|
4313
|
-
/* @__PURE__ */
|
|
4465
|
+
/* @__PURE__ */ jsx31("div", { className: "text-sm text-gray-500", children: user.email })
|
|
4314
4466
|
] }) })
|
|
4315
4467
|
}));
|
|
4316
4468
|
};
|
|
4317
|
-
return /* @__PURE__ */
|
|
4318
|
-
/* @__PURE__ */
|
|
4319
|
-
/* @__PURE__ */
|
|
4469
|
+
return /* @__PURE__ */ jsxs24("div", { children: [
|
|
4470
|
+
/* @__PURE__ */ jsx31("div", { className: "flex justify-between ", children: /* @__PURE__ */ jsx31("label", { className: "block text-sm font-medium text-gray-700 mb-2", children: "S\xE9lectionner un utilisateur" }) }),
|
|
4471
|
+
/* @__PURE__ */ jsx31(
|
|
4320
4472
|
SearchableSelect,
|
|
4321
4473
|
{
|
|
4322
4474
|
value,
|
|
@@ -4329,7 +4481,7 @@ var SelectUser = ({
|
|
|
4329
4481
|
},
|
|
4330
4482
|
"user" + value
|
|
4331
4483
|
),
|
|
4332
|
-
loading && /* @__PURE__ */
|
|
4484
|
+
loading && /* @__PURE__ */ jsx31("p", { className: "text-sm text-gray-500 mt-2", children: "Chargement des utilisateurs..." })
|
|
4333
4485
|
] });
|
|
4334
4486
|
};
|
|
4335
4487
|
var SelectDepartment = ({
|
|
@@ -4337,13 +4489,13 @@ var SelectDepartment = ({
|
|
|
4337
4489
|
onSelect
|
|
4338
4490
|
}) => {
|
|
4339
4491
|
const { token, activeBusinessEntity } = useSession();
|
|
4340
|
-
const [departments, setDepartments] =
|
|
4492
|
+
const [departments, setDepartments] = useState23(() => {
|
|
4341
4493
|
const cacheKey = `departments_cache_${activeBusinessEntity?.id || "default"}`;
|
|
4342
4494
|
const cached = sessionStorage.getItem(cacheKey);
|
|
4343
4495
|
return cached ? JSON.parse(cached) : [];
|
|
4344
4496
|
});
|
|
4345
|
-
const [loading, setLoading] =
|
|
4346
|
-
|
|
4497
|
+
const [loading, setLoading] = useState23(false);
|
|
4498
|
+
useEffect15(() => {
|
|
4347
4499
|
const cacheKey = `departments_cache_${activeBusinessEntity?.id || "default"}`;
|
|
4348
4500
|
const cached = sessionStorage.getItem(cacheKey);
|
|
4349
4501
|
if (!cached) {
|
|
@@ -4379,9 +4531,9 @@ var SelectDepartment = ({
|
|
|
4379
4531
|
label: dept.name
|
|
4380
4532
|
}));
|
|
4381
4533
|
};
|
|
4382
|
-
return /* @__PURE__ */
|
|
4383
|
-
/* @__PURE__ */
|
|
4384
|
-
/* @__PURE__ */
|
|
4534
|
+
return /* @__PURE__ */ jsxs24("div", { children: [
|
|
4535
|
+
/* @__PURE__ */ jsx31("div", { className: "flex justify-between ", children: /* @__PURE__ */ jsx31("label", { className: "block text-sm font-medium text-gray-700 mb-2", children: "S\xE9lectionner un d\xE9partement" }) }),
|
|
4536
|
+
/* @__PURE__ */ jsx31(
|
|
4385
4537
|
SearchableSelect,
|
|
4386
4538
|
{
|
|
4387
4539
|
value,
|
|
@@ -4394,7 +4546,7 @@ var SelectDepartment = ({
|
|
|
4394
4546
|
},
|
|
4395
4547
|
"dept" + value
|
|
4396
4548
|
),
|
|
4397
|
-
loading && /* @__PURE__ */
|
|
4549
|
+
loading && /* @__PURE__ */ jsx31("p", { className: "text-sm text-gray-500 mt-2", children: "Chargement des d\xE9partements..." })
|
|
4398
4550
|
] });
|
|
4399
4551
|
};
|
|
4400
4552
|
var SelectCostCenter = ({
|
|
@@ -4402,13 +4554,13 @@ var SelectCostCenter = ({
|
|
|
4402
4554
|
onSelect
|
|
4403
4555
|
}) => {
|
|
4404
4556
|
const { token, activeBusinessEntity } = useSession();
|
|
4405
|
-
const [costCenters, setCostCenters] =
|
|
4557
|
+
const [costCenters, setCostCenters] = useState23(() => {
|
|
4406
4558
|
const cacheKey = `cost_centers_cache_${activeBusinessEntity?.id || "default"}`;
|
|
4407
4559
|
const cached = sessionStorage.getItem(cacheKey);
|
|
4408
4560
|
return cached ? JSON.parse(cached) : [];
|
|
4409
4561
|
});
|
|
4410
|
-
const [loading, setLoading] =
|
|
4411
|
-
|
|
4562
|
+
const [loading, setLoading] = useState23(false);
|
|
4563
|
+
useEffect15(() => {
|
|
4412
4564
|
const cacheKey = `cost_centers_cache_${activeBusinessEntity?.id || "default"}`;
|
|
4413
4565
|
const cached = sessionStorage.getItem(cacheKey);
|
|
4414
4566
|
if (!cached) {
|
|
@@ -4442,18 +4594,18 @@ var SelectCostCenter = ({
|
|
|
4442
4594
|
return costCenters.map((center) => ({
|
|
4443
4595
|
value: center.id,
|
|
4444
4596
|
label: `${center.code ? `[${center.code}] ` : ""}${center.name}`,
|
|
4445
|
-
content: /* @__PURE__ */
|
|
4446
|
-
/* @__PURE__ */
|
|
4447
|
-
center.code && /* @__PURE__ */
|
|
4597
|
+
content: /* @__PURE__ */ jsx31("div", { className: "flex items-center space-x-3", children: /* @__PURE__ */ jsxs24("div", { className: "flex-1", children: [
|
|
4598
|
+
/* @__PURE__ */ jsx31("div", { className: "font-medium text-gray-900", children: center.name }),
|
|
4599
|
+
center.code && /* @__PURE__ */ jsxs24("div", { className: "text-sm text-gray-500", children: [
|
|
4448
4600
|
"Code: ",
|
|
4449
4601
|
center.code
|
|
4450
4602
|
] })
|
|
4451
4603
|
] }) })
|
|
4452
4604
|
}));
|
|
4453
4605
|
};
|
|
4454
|
-
return /* @__PURE__ */
|
|
4455
|
-
/* @__PURE__ */
|
|
4456
|
-
/* @__PURE__ */
|
|
4606
|
+
return /* @__PURE__ */ jsxs24("div", { children: [
|
|
4607
|
+
/* @__PURE__ */ jsx31("div", { className: "flex justify-between ", children: /* @__PURE__ */ jsx31("label", { className: "block text-sm font-medium text-gray-700 mb-2", children: "S\xE9lectionner un centre de co\xFBt" }) }),
|
|
4608
|
+
/* @__PURE__ */ jsx31(
|
|
4457
4609
|
SearchableSelect,
|
|
4458
4610
|
{
|
|
4459
4611
|
value,
|
|
@@ -4466,12 +4618,12 @@ var SelectCostCenter = ({
|
|
|
4466
4618
|
},
|
|
4467
4619
|
"cost" + value
|
|
4468
4620
|
),
|
|
4469
|
-
loading && /* @__PURE__ */
|
|
4621
|
+
loading && /* @__PURE__ */ jsx31("p", { className: "text-sm text-gray-500 mt-2", children: "Chargement des centres de co\xFBt..." })
|
|
4470
4622
|
] });
|
|
4471
4623
|
};
|
|
4472
4624
|
|
|
4473
4625
|
// src/components/common/Choices.tsx
|
|
4474
|
-
import { jsx as
|
|
4626
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
4475
4627
|
var CHOICES = {
|
|
4476
4628
|
INVOICE_TYPES: [
|
|
4477
4629
|
{ value: "sale", label: { fr: "Vente", en: "Sale", default: "Sale" } },
|
|
@@ -4729,7 +4881,7 @@ var InvoiceTypeSelector = ({
|
|
|
4729
4881
|
value: item.value,
|
|
4730
4882
|
label: item.label[language]
|
|
4731
4883
|
}));
|
|
4732
|
-
return /* @__PURE__ */
|
|
4884
|
+
return /* @__PURE__ */ jsx33(
|
|
4733
4885
|
SearchableSelect,
|
|
4734
4886
|
{
|
|
4735
4887
|
value,
|
|
@@ -4752,7 +4904,7 @@ var PaymentMethodSelector = ({
|
|
|
4752
4904
|
value: item.value,
|
|
4753
4905
|
label: item.label[language]
|
|
4754
4906
|
}));
|
|
4755
|
-
return /* @__PURE__ */
|
|
4907
|
+
return /* @__PURE__ */ jsx33(
|
|
4756
4908
|
SearchableSelect,
|
|
4757
4909
|
{
|
|
4758
4910
|
value,
|
|
@@ -4775,7 +4927,7 @@ var TemplateFNESelector = ({
|
|
|
4775
4927
|
value: item.value,
|
|
4776
4928
|
label: item.label[language]
|
|
4777
4929
|
}));
|
|
4778
|
-
return /* @__PURE__ */
|
|
4930
|
+
return /* @__PURE__ */ jsx33(
|
|
4779
4931
|
SearchableSelect,
|
|
4780
4932
|
{
|
|
4781
4933
|
value,
|
|
@@ -4798,7 +4950,7 @@ var ForeignCurrencySelector = ({
|
|
|
4798
4950
|
value: item.value,
|
|
4799
4951
|
label: item.label[language]
|
|
4800
4952
|
}));
|
|
4801
|
-
return /* @__PURE__ */
|
|
4953
|
+
return /* @__PURE__ */ jsx33(
|
|
4802
4954
|
SearchableSelect,
|
|
4803
4955
|
{
|
|
4804
4956
|
value,
|
|
@@ -4822,7 +4974,7 @@ var TaxSelector = ({
|
|
|
4822
4974
|
value: item.value,
|
|
4823
4975
|
label: item.label[language]
|
|
4824
4976
|
}));
|
|
4825
|
-
return /* @__PURE__ */
|
|
4977
|
+
return /* @__PURE__ */ jsx33(
|
|
4826
4978
|
SearchableSelect,
|
|
4827
4979
|
{
|
|
4828
4980
|
value,
|
|
@@ -4850,7 +5002,7 @@ var LegalFormSelector = ({
|
|
|
4850
5002
|
value: item.value,
|
|
4851
5003
|
label: item.label[language] ?? item.label.default
|
|
4852
5004
|
}));
|
|
4853
|
-
return /* @__PURE__ */
|
|
5005
|
+
return /* @__PURE__ */ jsx33(
|
|
4854
5006
|
SearchableSelect,
|
|
4855
5007
|
{
|
|
4856
5008
|
value,
|
|
@@ -4873,7 +5025,7 @@ var CountrySelector = ({
|
|
|
4873
5025
|
value: item.value,
|
|
4874
5026
|
label: item.label[language]
|
|
4875
5027
|
}));
|
|
4876
|
-
return /* @__PURE__ */
|
|
5028
|
+
return /* @__PURE__ */ jsx33(
|
|
4877
5029
|
SearchableSelect,
|
|
4878
5030
|
{
|
|
4879
5031
|
value,
|
|
@@ -4892,7 +5044,9 @@ export {
|
|
|
4892
5044
|
ApprovalAnswerModal,
|
|
4893
5045
|
ApprovalAnswerPage,
|
|
4894
5046
|
ApprovalPreviewAnswer_default as ApprovalPreviewAnswer,
|
|
5047
|
+
ApprovalServices,
|
|
4895
5048
|
ApprovalWorkflow_default as ApprovalWorkflow,
|
|
5049
|
+
AuthServices,
|
|
4896
5050
|
Choices_default as CHOICES,
|
|
4897
5051
|
CountrySelector,
|
|
4898
5052
|
DateInput,
|