phx-react 1.3.980 → 1.3.982
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/cjs/components/Sortable/Sortable.d.ts +2 -1
- package/dist/cjs/components/Sortable/Sortable.js +2 -2
- package/dist/cjs/components/Sortable/Sortable.js.map +1 -1
- package/dist/cjs/query/school-year-v3/index.d.ts +1 -1
- package/dist/cjs/query/school-year-v3/index.js +1 -1
- package/dist/cjs/query/school-year-v3/index.js.map +1 -1
- package/dist/esm/components/Sortable/Sortable.d.ts +2 -1
- package/dist/esm/components/Sortable/Sortable.js +2 -2
- package/dist/esm/components/Sortable/Sortable.js.map +1 -1
- package/dist/esm/query/school-year-v3/index.d.ts +1 -1
- package/dist/esm/query/school-year-v3/index.js +1 -1
- package/dist/esm/query/school-year-v3/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -17,5 +17,6 @@ export interface ISortGroupProps<T extends ItemInterface> {
|
|
|
17
17
|
* @param group mảng các item trong group
|
|
18
18
|
*/
|
|
19
19
|
setList: (id: number | string, group: T[]) => void;
|
|
20
|
+
className?: string;
|
|
20
21
|
}
|
|
21
|
-
export default function Sortable<T extends ItemInterface>({ id, list, group, enableBorder, renderItem, setList, }: ISortGroupProps<T>): React.JSX.Element;
|
|
22
|
+
export default function Sortable<T extends ItemInterface>({ id, list, group, enableBorder, renderItem, setList, className, }: ISortGroupProps<T>): React.JSX.Element;
|
|
@@ -4,11 +4,11 @@ var tslib_1 = require("tslib");
|
|
|
4
4
|
var react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
var react_sortablejs_1 = require("react-sortablejs");
|
|
6
6
|
function Sortable(_a) {
|
|
7
|
-
var id = _a.id, list = _a.list, group = _a.group, _b = _a.enableBorder, enableBorder = _b === void 0 ? false : _b, renderItem = _a.renderItem, setList = _a.setList;
|
|
7
|
+
var id = _a.id, list = _a.list, group = _a.group, _b = _a.enableBorder, enableBorder = _b === void 0 ? false : _b, renderItem = _a.renderItem, setList = _a.setList, className = _a.className;
|
|
8
8
|
return (react_1["default"].createElement("div", { className: enableBorder ? 'shadow-xs rounded-lg bg-white border border-gray-200' : '' },
|
|
9
9
|
react_1["default"].createElement(react_sortablejs_1.ReactSortable, { list: list, setList: function (val) {
|
|
10
10
|
setList(id, val);
|
|
11
|
-
}, group: group, animation: 150, fallbackOnBody: true, handle: '.drag-item', swapThreshold: 0.65, chosenClass: 'phx-item-chosen', ghostClass: 'phx-item-ghost', dragClass: 'phx-item-drag' }, list.map(function (item, index) { return (react_1["default"].createElement("div", { key: item.id }, renderItem(item, index))); }))));
|
|
11
|
+
}, group: group, animation: 150, fallbackOnBody: true, handle: '.drag-item', swapThreshold: 0.65, chosenClass: 'phx-item-chosen', ghostClass: 'phx-item-ghost', dragClass: 'phx-item-drag', className: className }, list.map(function (item, index) { return (react_1["default"].createElement("div", { key: item.id }, renderItem(item, index))); }))));
|
|
12
12
|
}
|
|
13
13
|
exports["default"] = Sortable;
|
|
14
14
|
//# sourceMappingURL=Sortable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sortable.js","sourceRoot":"","sources":["../../../../src/components/Sortable/Sortable.tsx"],"names":[],"mappings":";;;AAAA,wDAAyB;AACzB,qDAA+D;
|
|
1
|
+
{"version":3,"file":"Sortable.js","sourceRoot":"","sources":["../../../../src/components/Sortable/Sortable.tsx"],"names":[],"mappings":";;;AAAA,wDAAyB;AACzB,qDAA+D;AAsB/D,SAAwB,QAAQ,CAA0B,EAQrC;QAPnB,EAAE,QAAA,EACF,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,oBAAoB,EAApB,YAAY,mBAAG,KAAK,KAAA,EACpB,UAAU,gBAAA,EACV,OAAO,aAAA,EACP,SAAS,eAAA;IAET,OAAO,CACL,0CAAK,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,sDAAsD,CAAC,CAAC,CAAC,EAAE;QACxF,iCAAC,gCAAa,IACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,UAAC,GAAG;gBACX,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC,CAAA;YAClB,CAAC,EACD,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,GAAG,EACd,cAAc,EAAE,IAAI,EACpB,MAAM,EAAC,YAAY,EACnB,aAAa,EAAE,IAAI,EACnB,WAAW,EAAC,iBAAiB,EAC7B,UAAU,EAAC,gBAAgB,EAC3B,SAAS,EAAC,eAAe,EACzB,SAAS,EAAE,SAAS,IAEnB,IAAI,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,IAAK,OAAA,CACzB,0CAAK,GAAG,EAAE,IAAI,CAAC,EAAE,IAAG,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAO,CACnD,EAF0B,CAE1B,CAAC,CACY,CACZ,CACP,CAAA;AACH,CAAC;AAhCD,8BAgCC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n }\n }\n";
|
|
1
|
+
export declare const querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(where: {deleted_at: {_is_null: true}}) {\n id\n start_date\n end_date\n }\n }\n }\n }\n";
|
|
2
2
|
export declare const getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n }\n school_course {\n course_name\n id\n code\n }\n }\n }\n";
|
|
3
3
|
export declare const querySchoolYearHocvuV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, hoc_vu_end_at: { _gte: $gte }, hoc_vu_start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n }\n }\n";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
exports.__esModule = true;
|
|
3
3
|
exports.querySchoolYearHocvuV3 = exports.getActiveAndNextSchoolYearV3 = exports.querySchoolYearV3 = void 0;
|
|
4
|
-
exports.querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n }\n }\n";
|
|
4
|
+
exports.querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(where: {deleted_at: {_is_null: true}}) {\n id\n start_date\n end_date\n }\n }\n }\n }\n";
|
|
5
5
|
exports.getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n }\n school_course {\n course_name\n id\n code\n }\n }\n }\n";
|
|
6
6
|
exports.querySchoolYearHocvuV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, hoc_vu_end_at: { _gte: $gte }, hoc_vu_start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n }\n }\n";
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/query/school-year-v3/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/query/school-year-v3/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,65BAwChC,CAAA;AAEY,QAAA,4BAA4B,GAAG,uoBA4B3C,CAAA;AAEY,QAAA,sBAAsB,GAAG,o0BAmCrC,CAAA"}
|
|
@@ -17,5 +17,6 @@ export interface ISortGroupProps<T extends ItemInterface> {
|
|
|
17
17
|
* @param group mảng các item trong group
|
|
18
18
|
*/
|
|
19
19
|
setList: (id: number | string, group: T[]) => void;
|
|
20
|
+
className?: string;
|
|
20
21
|
}
|
|
21
|
-
export default function Sortable<T extends ItemInterface>({ id, list, group, enableBorder, renderItem, setList, }: ISortGroupProps<T>): React.JSX.Element;
|
|
22
|
+
export default function Sortable<T extends ItemInterface>({ id, list, group, enableBorder, renderItem, setList, className, }: ISortGroupProps<T>): React.JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ReactSortable } from 'react-sortablejs';
|
|
3
3
|
export default function Sortable(_a) {
|
|
4
|
-
var id = _a.id, list = _a.list, group = _a.group, _b = _a.enableBorder, enableBorder = _b === void 0 ? false : _b, renderItem = _a.renderItem, setList = _a.setList;
|
|
4
|
+
var id = _a.id, list = _a.list, group = _a.group, _b = _a.enableBorder, enableBorder = _b === void 0 ? false : _b, renderItem = _a.renderItem, setList = _a.setList, className = _a.className;
|
|
5
5
|
return (React.createElement("div", { className: enableBorder ? 'shadow-xs rounded-lg bg-white border border-gray-200' : '' },
|
|
6
6
|
React.createElement(ReactSortable, { list: list, setList: function (val) {
|
|
7
7
|
setList(id, val);
|
|
8
|
-
}, group: group, animation: 150, fallbackOnBody: true, handle: '.drag-item', swapThreshold: 0.65, chosenClass: 'phx-item-chosen', ghostClass: 'phx-item-ghost', dragClass: 'phx-item-drag' }, list.map(function (item, index) { return (React.createElement("div", { key: item.id }, renderItem(item, index))); }))));
|
|
8
|
+
}, group: group, animation: 150, fallbackOnBody: true, handle: '.drag-item', swapThreshold: 0.65, chosenClass: 'phx-item-chosen', ghostClass: 'phx-item-ghost', dragClass: 'phx-item-drag', className: className }, list.map(function (item, index) { return (React.createElement("div", { key: item.id }, renderItem(item, index))); }))));
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=Sortable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sortable.js","sourceRoot":"","sources":["../../../../src/components/Sortable/Sortable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAiB,aAAa,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"Sortable.js","sourceRoot":"","sources":["../../../../src/components/Sortable/Sortable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAiB,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAsB/D,MAAM,CAAC,OAAO,UAAU,QAAQ,CAA0B,EAQrC;QAPnB,EAAE,QAAA,EACF,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,oBAAoB,EAApB,YAAY,mBAAG,KAAK,KAAA,EACpB,UAAU,gBAAA,EACV,OAAO,aAAA,EACP,SAAS,eAAA;IAET,OAAO,CACL,6BAAK,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,sDAAsD,CAAC,CAAC,CAAC,EAAE;QACxF,oBAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,UAAC,GAAG;gBACX,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC,CAAA;YAClB,CAAC,EACD,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,GAAG,EACd,cAAc,EAAE,IAAI,EACpB,MAAM,EAAC,YAAY,EACnB,aAAa,EAAE,IAAI,EACnB,WAAW,EAAC,iBAAiB,EAC7B,UAAU,EAAC,gBAAgB,EAC3B,SAAS,EAAC,eAAe,EACzB,SAAS,EAAE,SAAS,IAEnB,IAAI,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,IAAK,OAAA,CACzB,6BAAK,GAAG,EAAE,IAAI,CAAC,EAAE,IAAG,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAO,CACnD,EAF0B,CAE1B,CAAC,CACY,CACZ,CACP,CAAA;AACH,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n }\n }\n";
|
|
1
|
+
export declare const querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(where: {deleted_at: {_is_null: true}}) {\n id\n start_date\n end_date\n }\n }\n }\n }\n";
|
|
2
2
|
export declare const getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n }\n school_course {\n course_name\n id\n code\n }\n }\n }\n";
|
|
3
3
|
export declare const querySchoolYearHocvuV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, hoc_vu_end_at: { _gte: $gte }, hoc_vu_start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n }\n }\n";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export var querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n }\n }\n";
|
|
1
|
+
export var querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(where: {deleted_at: {_is_null: true}}) {\n id\n start_date\n end_date\n }\n }\n }\n }\n";
|
|
2
2
|
export var getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n }\n school_course {\n course_name\n id\n code\n }\n }\n }\n";
|
|
3
3
|
export var querySchoolYearHocvuV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, hoc_vu_end_at: { _gte: $gte }, hoc_vu_start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n }\n }\n";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/query/school-year-v3/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iBAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/query/school-year-v3/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iBAAiB,GAAG,65BAwChC,CAAA;AAED,MAAM,CAAC,IAAM,4BAA4B,GAAG,uoBA4B3C,CAAA;AAED,MAAM,CAAC,IAAM,sBAAsB,GAAG,o0BAmCrC,CAAA"}
|