aq-fe-framework 0.1.800 → 0.1.802
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/{chunk-O6MCWLE3.mjs → chunk-RKSBEIMO.mjs} +362 -4
- package/dist/components/index.mjs +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/coreService/index.mjs +1 -1
- package/dist/modules-features/index.d.mts +8 -1
- package/dist/modules-features/index.mjs +3 -1
- package/dist/shared/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -2664,14 +2664,13 @@ function MyButtonDeleteList(_a) {
|
|
|
2664
2664
|
const mutation = useMutation2({
|
|
2665
2665
|
mutationFn: async () => await onSubmit(),
|
|
2666
2666
|
onSuccess: () => {
|
|
2667
|
-
if (onSuccess) {
|
|
2668
|
-
onSuccess();
|
|
2669
|
-
return;
|
|
2670
|
-
}
|
|
2671
2667
|
loadingState[1](false);
|
|
2672
2668
|
queryClient.invalidateQueries();
|
|
2673
2669
|
utils_notification_show({ crudType: "delete" });
|
|
2674
2670
|
disc[1].close();
|
|
2671
|
+
if (onSuccess) {
|
|
2672
|
+
onSuccess();
|
|
2673
|
+
}
|
|
2675
2674
|
},
|
|
2676
2675
|
onError: () => {
|
|
2677
2676
|
if (onError) {
|
|
@@ -10349,12 +10348,138 @@ var service_codeFormula = __spreadValues({}, createBaseApi(CONTROLLER7, baseAxio
|
|
|
10349
10348
|
import { Select as Select4 } from "@mantine/core";
|
|
10350
10349
|
import { useForm as useForm4 } from "@mantine/form";
|
|
10351
10350
|
import { jsx as jsx104, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
10351
|
+
function CodeFormulaCreate({
|
|
10352
|
+
businessTypeEnum,
|
|
10353
|
+
objectTypeEnum,
|
|
10354
|
+
repeatCycleEnum
|
|
10355
|
+
}) {
|
|
10356
|
+
var _a, _b, _c;
|
|
10357
|
+
const getFirstEnumKey = (enumObj) => {
|
|
10358
|
+
if (!enumObj) return void 0;
|
|
10359
|
+
const keys = Object.keys(enumObj).map(Number).sort((a5, b4) => a5 - b4);
|
|
10360
|
+
return keys[0];
|
|
10361
|
+
};
|
|
10362
|
+
const form = useForm4({
|
|
10363
|
+
initialValues: {
|
|
10364
|
+
code: "",
|
|
10365
|
+
name: "",
|
|
10366
|
+
prefix: "",
|
|
10367
|
+
suffix: "",
|
|
10368
|
+
length: 0,
|
|
10369
|
+
isNumberZeroUsed: false,
|
|
10370
|
+
frequency: getFirstEnumKey(repeatCycleEnum),
|
|
10371
|
+
objectType: getFirstEnumKey(objectTypeEnum),
|
|
10372
|
+
operationType: getFirstEnumKey(businessTypeEnum)
|
|
10373
|
+
},
|
|
10374
|
+
validate: {
|
|
10375
|
+
code: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng",
|
|
10376
|
+
name: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng",
|
|
10377
|
+
length: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
|
|
10378
|
+
}
|
|
10379
|
+
});
|
|
10380
|
+
return /* @__PURE__ */ jsxs51(
|
|
10381
|
+
MyButtonCreate,
|
|
10382
|
+
{
|
|
10383
|
+
form,
|
|
10384
|
+
onSubmit: () => service_codeFormula.create(__spreadProps(__spreadValues({}, form.values), {
|
|
10385
|
+
isEnabled: true
|
|
10386
|
+
})),
|
|
10387
|
+
children: [
|
|
10388
|
+
/* @__PURE__ */ jsx104(
|
|
10389
|
+
MyTextInput2,
|
|
10390
|
+
__spreadValues({
|
|
10391
|
+
withAsterisk: true,
|
|
10392
|
+
label: "M\xE3 b\u1ED9 \u0111\u1EBFm"
|
|
10393
|
+
}, form.getInputProps("code"))
|
|
10394
|
+
),
|
|
10395
|
+
/* @__PURE__ */ jsx104(
|
|
10396
|
+
MyTextInput2,
|
|
10397
|
+
__spreadValues({
|
|
10398
|
+
withAsterisk: true,
|
|
10399
|
+
label: "T\xEAn b\u1ED9 \u0111\u1EBFm"
|
|
10400
|
+
}, form.getInputProps("name"))
|
|
10401
|
+
),
|
|
10402
|
+
businessTypeEnum && /* @__PURE__ */ jsx104(
|
|
10403
|
+
Select4,
|
|
10404
|
+
{
|
|
10405
|
+
clearable: false,
|
|
10406
|
+
label: "Lo\u1EA1i nghi\u1EC7p v\u1EE5",
|
|
10407
|
+
placeholder: "Ch\u1ECDn lo\u1EA1i nghi\u1EC7p v\u1EE5",
|
|
10408
|
+
data: utils_converter_enumToSelectOptions(businessTypeEnum),
|
|
10409
|
+
value: (_a = form.values.operationType) == null ? void 0 : _a.toString(),
|
|
10410
|
+
onChange: (value) => form.setFieldValue(
|
|
10411
|
+
"operationType",
|
|
10412
|
+
value ? Number(value) : void 0
|
|
10413
|
+
)
|
|
10414
|
+
}
|
|
10415
|
+
),
|
|
10416
|
+
objectTypeEnum && /* @__PURE__ */ jsx104(
|
|
10417
|
+
Select4,
|
|
10418
|
+
{
|
|
10419
|
+
clearable: false,
|
|
10420
|
+
label: "Lo\u1EA1i \u0111\u1ED1i t\u01B0\u1EE3ng",
|
|
10421
|
+
placeholder: "Ch\u1ECDn lo\u1EA1i \u0111\u1ED1i t\u01B0\u1EE3ng",
|
|
10422
|
+
data: utils_converter_enumToSelectOptions(objectTypeEnum),
|
|
10423
|
+
value: (_b = form.values.objectType) == null ? void 0 : _b.toString(),
|
|
10424
|
+
onChange: (value) => form.setFieldValue(
|
|
10425
|
+
"objectType",
|
|
10426
|
+
value ? Number(value) : void 0
|
|
10427
|
+
)
|
|
10428
|
+
}
|
|
10429
|
+
),
|
|
10430
|
+
repeatCycleEnum && /* @__PURE__ */ jsx104(
|
|
10431
|
+
Select4,
|
|
10432
|
+
{
|
|
10433
|
+
clearable: false,
|
|
10434
|
+
label: "Chu k\u1EF3 l\u1EB7p l\u1EA1i",
|
|
10435
|
+
placeholder: "Ch\u1ECDn chu k\u1EF3 l\u1EB7p l\u1EA1i",
|
|
10436
|
+
data: utils_converter_enumToSelectOptions(repeatCycleEnum),
|
|
10437
|
+
value: (_c = form.values.frequency) == null ? void 0 : _c.toString(),
|
|
10438
|
+
onChange: (value) => form.setFieldValue(
|
|
10439
|
+
"frequency",
|
|
10440
|
+
value ? Number(value) : void 0
|
|
10441
|
+
)
|
|
10442
|
+
}
|
|
10443
|
+
),
|
|
10444
|
+
/* @__PURE__ */ jsx104(MyTextInput2, __spreadValues({ label: "Ti\u1EC1n t\u1ED1" }, form.getInputProps("prefix"))),
|
|
10445
|
+
/* @__PURE__ */ jsx104(MyTextInput2, __spreadValues({ label: "H\u1EADu t\u1ED1" }, form.getInputProps("suffix"))),
|
|
10446
|
+
/* @__PURE__ */ jsx104(
|
|
10447
|
+
MyNumberInput,
|
|
10448
|
+
__spreadValues({
|
|
10449
|
+
label: "Chi\u1EC1u d\xE0i"
|
|
10450
|
+
}, form.getInputProps("length"))
|
|
10451
|
+
),
|
|
10452
|
+
/* @__PURE__ */ jsx104(
|
|
10453
|
+
MyCheckbox,
|
|
10454
|
+
__spreadProps(__spreadValues({
|
|
10455
|
+
label: "C\xF3 d\xF9ng s\u1ED1 0"
|
|
10456
|
+
}, form.getInputProps("isNumberZeroUsed")), {
|
|
10457
|
+
defaultChecked: form.values.isNumberZeroUsed
|
|
10458
|
+
})
|
|
10459
|
+
)
|
|
10460
|
+
]
|
|
10461
|
+
}
|
|
10462
|
+
);
|
|
10463
|
+
}
|
|
10352
10464
|
|
|
10353
10465
|
// src/modules-features/admin/core/CodeFormula/CodeFormulaDelete.tsx
|
|
10354
10466
|
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
10467
|
+
function CodeFormulaDelete({ id, code }) {
|
|
10468
|
+
return /* @__PURE__ */ jsx105(MyActionIconDelete, { contextData: code, onSubmit: () => service_codeFormula.delete(id) });
|
|
10469
|
+
}
|
|
10355
10470
|
|
|
10356
10471
|
// src/modules-features/admin/core/CodeFormula/CodeFormulaDeleteList.tsx
|
|
10357
10472
|
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
10473
|
+
function CodeFormulaDeleteList({ values }) {
|
|
10474
|
+
return /* @__PURE__ */ jsx106(
|
|
10475
|
+
MyButtonDeleteList,
|
|
10476
|
+
{
|
|
10477
|
+
disabled: values.length === 0,
|
|
10478
|
+
contextData: values.map((item) => item.code).join(", "),
|
|
10479
|
+
onSubmit: () => service_codeFormula.deleteList(values)
|
|
10480
|
+
}
|
|
10481
|
+
);
|
|
10482
|
+
}
|
|
10358
10483
|
|
|
10359
10484
|
// src/modules-features/admin/core/CodeFormula/CodeFormulaRead.tsx
|
|
10360
10485
|
import { Group as Group26 } from "@mantine/core";
|
|
@@ -10366,9 +10491,241 @@ import { Select as Select5 } from "@mantine/core";
|
|
|
10366
10491
|
import { useForm as useForm5 } from "@mantine/form";
|
|
10367
10492
|
import { useEffect as useEffect23 } from "react";
|
|
10368
10493
|
import { jsx as jsx107, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
10494
|
+
function CodeFormulaUpdate({
|
|
10495
|
+
data: data2,
|
|
10496
|
+
businessTypeEnum,
|
|
10497
|
+
objectTypeEnum,
|
|
10498
|
+
repeatCycleEnum
|
|
10499
|
+
}) {
|
|
10500
|
+
var _a, _b, _c;
|
|
10501
|
+
console.log("====================================");
|
|
10502
|
+
console.log(repeatCycleEnum);
|
|
10503
|
+
console.log("====================================");
|
|
10504
|
+
const form = useForm5({
|
|
10505
|
+
validate: {
|
|
10506
|
+
code: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng",
|
|
10507
|
+
name: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng",
|
|
10508
|
+
length: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
|
|
10509
|
+
}
|
|
10510
|
+
});
|
|
10511
|
+
useEffect23(() => {
|
|
10512
|
+
if (data2) {
|
|
10513
|
+
form.setValues(data2);
|
|
10514
|
+
}
|
|
10515
|
+
}, [data2]);
|
|
10516
|
+
return /* @__PURE__ */ jsxs52(
|
|
10517
|
+
MyActionIconUpdate,
|
|
10518
|
+
{
|
|
10519
|
+
form,
|
|
10520
|
+
onSubmit: () => {
|
|
10521
|
+
const body = {
|
|
10522
|
+
id: data2.id,
|
|
10523
|
+
code: form.values.code,
|
|
10524
|
+
name: form.values.name,
|
|
10525
|
+
concurrencyStamp: data2.concurrencyStamp,
|
|
10526
|
+
isEnabled: true,
|
|
10527
|
+
operationType: form.values.operationType,
|
|
10528
|
+
frequency: form.values.frequency,
|
|
10529
|
+
objectType: form.values.objectType,
|
|
10530
|
+
prefix: form.values.prefix,
|
|
10531
|
+
suffix: form.values.suffix,
|
|
10532
|
+
length: form.values.length,
|
|
10533
|
+
isNumberZeroUsed: form.values.isNumberZeroUsed
|
|
10534
|
+
};
|
|
10535
|
+
return service_codeFormula.update(body);
|
|
10536
|
+
},
|
|
10537
|
+
children: [
|
|
10538
|
+
/* @__PURE__ */ jsx107(
|
|
10539
|
+
MyTextInput2,
|
|
10540
|
+
__spreadValues({
|
|
10541
|
+
withAsterisk: true,
|
|
10542
|
+
readOnly: true,
|
|
10543
|
+
label: "M\xE3 b\u1ED9 \u0111\u1EBFm"
|
|
10544
|
+
}, form.getInputProps("code"))
|
|
10545
|
+
),
|
|
10546
|
+
/* @__PURE__ */ jsx107(
|
|
10547
|
+
MyTextInput2,
|
|
10548
|
+
__spreadValues({
|
|
10549
|
+
withAsterisk: true,
|
|
10550
|
+
label: "T\xEAn b\u1ED9 \u0111\u1EBFm"
|
|
10551
|
+
}, form.getInputProps("name"))
|
|
10552
|
+
),
|
|
10553
|
+
businessTypeEnum && /* @__PURE__ */ jsx107(
|
|
10554
|
+
Select5,
|
|
10555
|
+
{
|
|
10556
|
+
clearable: false,
|
|
10557
|
+
label: "Lo\u1EA1i nghi\u1EC7p v\u1EE5",
|
|
10558
|
+
placeholder: "Ch\u1ECDn lo\u1EA1i nghi\u1EC7p v\u1EE5",
|
|
10559
|
+
data: utils_converter_enumToSelectOptions(businessTypeEnum),
|
|
10560
|
+
value: (_a = form.values.operationType) == null ? void 0 : _a.toString(),
|
|
10561
|
+
onChange: (value) => form.setFieldValue(
|
|
10562
|
+
"operationType",
|
|
10563
|
+
value ? Number(value) : void 0
|
|
10564
|
+
)
|
|
10565
|
+
}
|
|
10566
|
+
),
|
|
10567
|
+
objectTypeEnum && /* @__PURE__ */ jsx107(
|
|
10568
|
+
Select5,
|
|
10569
|
+
{
|
|
10570
|
+
clearable: false,
|
|
10571
|
+
label: "Lo\u1EA1i \u0111\u1ED1i t\u01B0\u1EE3ng",
|
|
10572
|
+
placeholder: "Ch\u1ECDn lo\u1EA1i \u0111\u1ED1i t\u01B0\u1EE3ng",
|
|
10573
|
+
data: utils_converter_enumToSelectOptions(objectTypeEnum),
|
|
10574
|
+
value: (_b = form.values.objectType) == null ? void 0 : _b.toString(),
|
|
10575
|
+
onChange: (value) => form.setFieldValue(
|
|
10576
|
+
"objectType",
|
|
10577
|
+
value ? Number(value) : void 0
|
|
10578
|
+
)
|
|
10579
|
+
}
|
|
10580
|
+
),
|
|
10581
|
+
repeatCycleEnum && /* @__PURE__ */ jsx107(
|
|
10582
|
+
Select5,
|
|
10583
|
+
{
|
|
10584
|
+
clearable: false,
|
|
10585
|
+
label: "Chu k\u1EF3 l\u1EB7p l\u1EA1i",
|
|
10586
|
+
placeholder: "Ch\u1ECDn chu k\u1EF3 l\u1EB7p l\u1EA1i",
|
|
10587
|
+
data: utils_converter_enumToSelectOptions(repeatCycleEnum),
|
|
10588
|
+
value: (_c = form.values.frequency) == null ? void 0 : _c.toString(),
|
|
10589
|
+
onChange: (value) => form.setFieldValue(
|
|
10590
|
+
"frequency",
|
|
10591
|
+
value ? Number(value) : void 0
|
|
10592
|
+
)
|
|
10593
|
+
}
|
|
10594
|
+
),
|
|
10595
|
+
/* @__PURE__ */ jsx107(
|
|
10596
|
+
MyTextInput2,
|
|
10597
|
+
__spreadValues({
|
|
10598
|
+
label: "Ti\u1EC1n t\u1ED1"
|
|
10599
|
+
}, form.getInputProps("prefix"))
|
|
10600
|
+
),
|
|
10601
|
+
/* @__PURE__ */ jsx107(
|
|
10602
|
+
MyTextInput2,
|
|
10603
|
+
__spreadValues({
|
|
10604
|
+
label: "H\u1EADu t\u1ED1"
|
|
10605
|
+
}, form.getInputProps("suffix"))
|
|
10606
|
+
),
|
|
10607
|
+
/* @__PURE__ */ jsx107(
|
|
10608
|
+
MyNumberInput,
|
|
10609
|
+
__spreadValues({
|
|
10610
|
+
label: "Chi\u1EC1u d\xE0i"
|
|
10611
|
+
}, form.getInputProps("length"))
|
|
10612
|
+
),
|
|
10613
|
+
/* @__PURE__ */ jsx107(
|
|
10614
|
+
MyCheckbox,
|
|
10615
|
+
__spreadProps(__spreadValues({
|
|
10616
|
+
label: "C\xF3 d\xF9ng s\u1ED1 0"
|
|
10617
|
+
}, form.getInputProps("isNumberZeroUsed")), {
|
|
10618
|
+
defaultChecked: form.values.isNumberZeroUsed
|
|
10619
|
+
})
|
|
10620
|
+
)
|
|
10621
|
+
]
|
|
10622
|
+
}
|
|
10623
|
+
);
|
|
10624
|
+
}
|
|
10369
10625
|
|
|
10370
10626
|
// src/modules-features/admin/core/CodeFormula/CodeFormulaRead.tsx
|
|
10371
10627
|
import { jsx as jsx108, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
10628
|
+
function CodeFormulaRead({
|
|
10629
|
+
businessTypeEnum,
|
|
10630
|
+
objectTypeEnum,
|
|
10631
|
+
repeatCycleEnum
|
|
10632
|
+
}) {
|
|
10633
|
+
const [importData, setImportData] = useState18(false);
|
|
10634
|
+
const form_multiple = useForm6({
|
|
10635
|
+
initialValues: {
|
|
10636
|
+
importedData: []
|
|
10637
|
+
}
|
|
10638
|
+
});
|
|
10639
|
+
const codeConfigQuery = useMyReactQuery({
|
|
10640
|
+
queryKey: [`CodeFormulaRead`],
|
|
10641
|
+
axiosFn: async () => service_codeFormula.getAll()
|
|
10642
|
+
});
|
|
10643
|
+
const columns = useMemo11(() => {
|
|
10644
|
+
const cols = [
|
|
10645
|
+
{
|
|
10646
|
+
header: "M\xE3 b\u1ED9 \u0111\u1EBFm",
|
|
10647
|
+
accessorKey: "code"
|
|
10648
|
+
},
|
|
10649
|
+
{
|
|
10650
|
+
header: "T\xEAn b\u1ED9 \u0111\u1EBFm",
|
|
10651
|
+
accessorKey: "name"
|
|
10652
|
+
}
|
|
10653
|
+
];
|
|
10654
|
+
if (businessTypeEnum) {
|
|
10655
|
+
cols.push({
|
|
10656
|
+
header: "Lo\u1EA1i nghi\u1EC7p v\u1EE5",
|
|
10657
|
+
accessorKey: "operationType",
|
|
10658
|
+
accessorFn: (row) => {
|
|
10659
|
+
var _a;
|
|
10660
|
+
return (_a = businessTypeEnum[row.operationType || 0]) != null ? _a : row.operationType;
|
|
10661
|
+
}
|
|
10662
|
+
});
|
|
10663
|
+
}
|
|
10664
|
+
if (objectTypeEnum) {
|
|
10665
|
+
cols.push({
|
|
10666
|
+
header: "Lo\u1EA1i \u0111\u1ED1i t\u01B0\u1EE3ng",
|
|
10667
|
+
accessorKey: "objectType",
|
|
10668
|
+
accessorFn: (row) => {
|
|
10669
|
+
var _a;
|
|
10670
|
+
return (_a = objectTypeEnum[row.objectType || 0]) != null ? _a : row.objectType;
|
|
10671
|
+
}
|
|
10672
|
+
});
|
|
10673
|
+
}
|
|
10674
|
+
if (repeatCycleEnum) {
|
|
10675
|
+
cols.push({
|
|
10676
|
+
header: "Chu k\u1EF3 l\u1EB7p",
|
|
10677
|
+
accessorKey: "repeatCycle",
|
|
10678
|
+
accessorFn: (row) => {
|
|
10679
|
+
var _a;
|
|
10680
|
+
return (_a = repeatCycleEnum[row.repeatCycle || 0]) != null ? _a : row.repeatCycle;
|
|
10681
|
+
}
|
|
10682
|
+
});
|
|
10683
|
+
}
|
|
10684
|
+
return cols;
|
|
10685
|
+
}, [businessTypeEnum, objectTypeEnum, repeatCycleEnum]);
|
|
10686
|
+
return /* @__PURE__ */ jsx108(
|
|
10687
|
+
MyDataTable,
|
|
10688
|
+
{
|
|
10689
|
+
isLoading: codeConfigQuery.isLoading,
|
|
10690
|
+
isError: codeConfigQuery.isError,
|
|
10691
|
+
enableRowSelection: true,
|
|
10692
|
+
columns,
|
|
10693
|
+
enableRowNumbers: true,
|
|
10694
|
+
exportAble: true,
|
|
10695
|
+
data: codeConfigQuery.data || [],
|
|
10696
|
+
renderTopToolbarCustomActions: ({ table }) => /* @__PURE__ */ jsxs53(Group26, { children: [
|
|
10697
|
+
/* @__PURE__ */ jsx108(CodeFormulaCreate, { businessTypeEnum, objectTypeEnum, repeatCycleEnum }),
|
|
10698
|
+
/* @__PURE__ */ jsx108(
|
|
10699
|
+
CodeFormulaDeleteList,
|
|
10700
|
+
{
|
|
10701
|
+
values: table.getSelectedRowModel().flatRows.map((item) => item.original)
|
|
10702
|
+
}
|
|
10703
|
+
),
|
|
10704
|
+
/* @__PURE__ */ jsx108(
|
|
10705
|
+
AQButtonCreateByImportFile,
|
|
10706
|
+
{
|
|
10707
|
+
setImportedData: setImportData,
|
|
10708
|
+
form: form_multiple,
|
|
10709
|
+
onSubmit: () => {
|
|
10710
|
+
console.log(form_multiple.values);
|
|
10711
|
+
},
|
|
10712
|
+
children: "Import"
|
|
10713
|
+
}
|
|
10714
|
+
)
|
|
10715
|
+
] }),
|
|
10716
|
+
renderRowActions: ({ row }) => /* @__PURE__ */ jsxs53(MyCenterFull, { children: [
|
|
10717
|
+
/* @__PURE__ */ jsx108(CodeFormulaUpdate, { data: row.original, businessTypeEnum, objectTypeEnum, repeatCycleEnum }),
|
|
10718
|
+
/* @__PURE__ */ jsx108(
|
|
10719
|
+
CodeFormulaDelete,
|
|
10720
|
+
{
|
|
10721
|
+
id: row.original.id,
|
|
10722
|
+
code: row.original.code
|
|
10723
|
+
}
|
|
10724
|
+
)
|
|
10725
|
+
] })
|
|
10726
|
+
}
|
|
10727
|
+
);
|
|
10728
|
+
}
|
|
10372
10729
|
|
|
10373
10730
|
// src/modules-features/admin/core/CodeFormula/enum.ts
|
|
10374
10731
|
var ENUM_BUSINESS_TYPE = /* @__PURE__ */ ((ENUM_BUSINESS_TYPE2) => {
|
|
@@ -18108,6 +18465,7 @@ export {
|
|
|
18108
18465
|
F_accountManagement_Delete,
|
|
18109
18466
|
F_accountManagement_Read,
|
|
18110
18467
|
F_accountManagement,
|
|
18468
|
+
CodeFormulaRead,
|
|
18111
18469
|
ENUM_BUSINESS_TYPE,
|
|
18112
18470
|
ENUM_OBJECT_TYPE,
|
|
18113
18471
|
ENUM_REPEAT_CYCLE,
|
package/dist/core/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
MyStatsCard,
|
|
30
30
|
MyTextInput2 as MyTextInput,
|
|
31
31
|
MyWeeklySessionSchedulerPicker
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-RKSBEIMO.mjs";
|
|
33
33
|
import "../chunk-SUH3FFFV.mjs";
|
|
34
34
|
import "../chunk-RJH5TVHS.mjs";
|
|
35
35
|
import "../chunk-7NNLZDND.mjs";
|
|
@@ -59,6 +59,13 @@ interface I_accountManagement_Read extends IBaseEntity {
|
|
|
59
59
|
}
|
|
60
60
|
declare function F_accountManagement_Read(): react_jsx_runtime.JSX.Element;
|
|
61
61
|
|
|
62
|
+
type CodeFormulaReadProps = {
|
|
63
|
+
businessTypeEnum?: Record<number, string>;
|
|
64
|
+
objectTypeEnum?: Record<number, string>;
|
|
65
|
+
repeatCycleEnum?: Record<number, string>;
|
|
66
|
+
};
|
|
67
|
+
declare function CodeFormulaRead({ businessTypeEnum, objectTypeEnum, repeatCycleEnum, }: CodeFormulaReadProps): react_jsx_runtime.JSX.Element;
|
|
68
|
+
|
|
62
69
|
declare enum ENUM_BUSINESS_TYPE {
|
|
63
70
|
'Mã câu hỏi' = 1,
|
|
64
71
|
'Danh sách hoạt động ngoại khóa' = 11
|
|
@@ -992,4 +999,4 @@ interface Feat_TokenExpiredProps {
|
|
|
992
999
|
}
|
|
993
1000
|
declare function Feat_TokenExpired({ loginRedirect }: Feat_TokenExpiredProps): react_jsx_runtime.JSX.Element;
|
|
994
1001
|
|
|
995
|
-
export { AcademicYearsCreate, AcademicYearsDelete, AcademicYearsDeleteList, AcademicYearsRead, AcademicYearsUpdate, DepartmentFeature, ENUM_BUSINESS_TYPE, ENUM_OBJECT_TYPE, ENUM_REPEAT_CYCLE, EmailTemplateCreateUpdateButton, EmailTemplateTable, F_accountManagement, F_accountManagement_Delete, F_accountManagement_Read, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_documentCategories, F_documentCategories_Create, F_documentCategories_Delete, F_documentCategories_Read, F_documentCategories_Select, F_documentCategories_Update, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, F_mailConfig_CreateUpdate, F_mailConfig_Delete, F_mailConfig_Read, F_mailTemplate_CreateUpdate, F_mailTemplate_Delete, F_mailTemplate_Read, F_moduleConfig, F_organizationPolicyDocs, F_organizationPolicyDocs_Create, F_organizationPolicyDocs_Delete, F_organizationPolicyDocs_Update, F_pageContentConfig, F_roleCatalog, F_roleCatalog_Delete, F_roleCatalog_Form, F_roleCatalog_Read, F_securityPolicyDocs, F_securityPolicyDocs_Create, F_securityPolicyDocs_Delete, F_securityPolicyDocs_Update, F_systemUpdateDocs, F_systemUpdateDocs_Create, F_systemUpdateDocs_Delete, F_systemUpdateDocs_Update, F_userGuideDocs, F_userGuideDocs_Create, F_userGuideDocs_Delete, F_userGuideDocs_Read, F_userGuideDocs_Update, F_workflowProcessDocs, F_workflowProcessDocs_Create, F_workflowProcessDocs_Delete, F_workflowProcessDocs_Read, F_workflowProcessDocs_Update, Feat_Authenticate_Login, Feat_Authenticate_Logout, Feat_Authenticate_SSOHandler, Feat_PageContentTable, Feat_RoleManagement, Feat_TokenExpired, Feat_accessControl, Feat_accessControlLevel, type IUnit, type I_accountManagement_Read, type I_moduleConfig_AQModule, MailTemplateDeleteButton, useS_moduleConfig, useStore_Authenticate };
|
|
1002
|
+
export { AcademicYearsCreate, AcademicYearsDelete, AcademicYearsDeleteList, AcademicYearsRead, AcademicYearsUpdate, CodeFormulaRead, DepartmentFeature, ENUM_BUSINESS_TYPE, ENUM_OBJECT_TYPE, ENUM_REPEAT_CYCLE, EmailTemplateCreateUpdateButton, EmailTemplateTable, F_accountManagement, F_accountManagement_Delete, F_accountManagement_Read, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_documentCategories, F_documentCategories_Create, F_documentCategories_Delete, F_documentCategories_Read, F_documentCategories_Select, F_documentCategories_Update, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, F_mailConfig_CreateUpdate, F_mailConfig_Delete, F_mailConfig_Read, F_mailTemplate_CreateUpdate, F_mailTemplate_Delete, F_mailTemplate_Read, F_moduleConfig, F_organizationPolicyDocs, F_organizationPolicyDocs_Create, F_organizationPolicyDocs_Delete, F_organizationPolicyDocs_Update, F_pageContentConfig, F_roleCatalog, F_roleCatalog_Delete, F_roleCatalog_Form, F_roleCatalog_Read, F_securityPolicyDocs, F_securityPolicyDocs_Create, F_securityPolicyDocs_Delete, F_securityPolicyDocs_Update, F_systemUpdateDocs, F_systemUpdateDocs_Create, F_systemUpdateDocs_Delete, F_systemUpdateDocs_Update, F_userGuideDocs, F_userGuideDocs_Create, F_userGuideDocs_Delete, F_userGuideDocs_Read, F_userGuideDocs_Update, F_workflowProcessDocs, F_workflowProcessDocs_Create, F_workflowProcessDocs_Delete, F_workflowProcessDocs_Read, F_workflowProcessDocs_Update, Feat_Authenticate_Login, Feat_Authenticate_Logout, Feat_Authenticate_SSOHandler, Feat_PageContentTable, Feat_RoleManagement, Feat_TokenExpired, Feat_accessControl, Feat_accessControlLevel, type IUnit, type I_accountManagement_Read, type I_moduleConfig_AQModule, MailTemplateDeleteButton, useS_moduleConfig, useStore_Authenticate };
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
AcademicYearsDeleteList,
|
|
5
5
|
AcademicYearsRead,
|
|
6
6
|
AcademicYearsUpdate,
|
|
7
|
+
CodeFormulaRead,
|
|
7
8
|
DepartmentFeature,
|
|
8
9
|
ENUM_BUSINESS_TYPE,
|
|
9
10
|
ENUM_OBJECT_TYPE,
|
|
@@ -112,7 +113,7 @@ import {
|
|
|
112
113
|
MailTemplateDeleteButton,
|
|
113
114
|
useS_moduleConfig,
|
|
114
115
|
useStore_Authenticate
|
|
115
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-RKSBEIMO.mjs";
|
|
116
117
|
import "../chunk-SUH3FFFV.mjs";
|
|
117
118
|
import "../chunk-RJH5TVHS.mjs";
|
|
118
119
|
import "../chunk-7NNLZDND.mjs";
|
|
@@ -130,6 +131,7 @@ export {
|
|
|
130
131
|
AcademicYearsDeleteList,
|
|
131
132
|
AcademicYearsRead,
|
|
132
133
|
AcademicYearsUpdate,
|
|
134
|
+
CodeFormulaRead,
|
|
133
135
|
DepartmentFeature,
|
|
134
136
|
ENUM_BUSINESS_TYPE,
|
|
135
137
|
ENUM_OBJECT_TYPE,
|
package/dist/shared/index.mjs
CHANGED