phx-react 1.3.832 → 1.3.834

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.
@@ -11,10 +11,7 @@ function PHXResetDropdownByUrl(configUrlApply, key) {
11
11
  if (selectedItem_1) {
12
12
  setSelectedValue(function (preState) {
13
13
  var _a;
14
- return (tslib_1.__assign(tslib_1.__assign({}, preState), (_a = {}, _a[key] = {
15
- id: +selectedId_1,
16
- name: selectedItem_1 === null || selectedItem_1 === void 0 ? void 0 : selectedItem_1.name
17
- }, _a)));
14
+ return (tslib_1.__assign(tslib_1.__assign({}, preState), (_a = {}, _a[key] = tslib_1.__assign({ id: +selectedId_1, name: selectedItem_1 === null || selectedItem_1 === void 0 ? void 0 : selectedItem_1.name }, selectedItem_1), _a)));
18
15
  });
19
16
  }
20
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PHXResetDropdownByUrl.js","sourceRoot":"","sources":["../../../../../src/components/Func/PHXUrlApply/PHXResetDropdownByUrl.ts"],"names":[],"mappings":";;;AAEA,2CAA2C;AAC3C,SAAwB,qBAAqB,CAAC,cAA+B,EAAE,GAAe;IAC5F,IAAI,cAAc,IAAI,GAAG,EAAE;QACjB,IAAA,UAAU,GAAqC,cAAc,WAAnD,EAAE,YAAY,GAAuB,cAAc,aAArC,EAAE,gBAAgB,GAAK,cAAc,iBAAnB,CAAmB;QACrE,IAAM,YAAU,GAAG,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;QAExC,IAAI,YAAU,IAAI,UAAU,EAAE;YAC5B,IAAM,cAAY,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,CAAC,UAAC,IAAS,IAAK,OAAA,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,MAAK,CAAC,YAAU,EAAxB,CAAwB,CAAC,CAAA;YAC9E,IAAI,cAAY,EAAE;gBAChB,gBAAgB,CAAC,UAAC,QAAa;;oBAAK,OAAA,uCAC/B,QAAQ,gBACV,GAAG,IAAG;wBACL,EAAE,EAAE,CAAC,YAAU;wBACf,IAAI,EAAE,cAAY,aAAZ,cAAY,uBAAZ,cAAY,CAAE,IAAI;qBACzB,OACD;gBANkC,CAMlC,CAAC,CAAA;aACJ;SACF;KACF;AACH,CAAC;AAlBD,2CAkBC"}
1
+ {"version":3,"file":"PHXResetDropdownByUrl.js","sourceRoot":"","sources":["../../../../../src/components/Func/PHXUrlApply/PHXResetDropdownByUrl.ts"],"names":[],"mappings":";;;AAEA,2CAA2C;AAC3C,SAAwB,qBAAqB,CAAC,cAA+B,EAAE,GAAe;IAC5F,IAAI,cAAc,IAAI,GAAG,EAAE;QACjB,IAAA,UAAU,GAAqC,cAAc,WAAnD,EAAE,YAAY,GAAuB,cAAc,aAArC,EAAE,gBAAgB,GAAK,cAAc,iBAAnB,CAAmB;QACrE,IAAM,YAAU,GAAG,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;QAExC,IAAI,YAAU,IAAI,UAAU,EAAE;YAC5B,IAAM,cAAY,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,CAAC,UAAC,IAAS,IAAK,OAAA,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,MAAK,CAAC,YAAU,EAAxB,CAAwB,CAAC,CAAA;YAC9E,IAAI,cAAY,EAAE;gBAChB,gBAAgB,CAAC,UAAC,QAAa;;oBAAK,OAAA,uCAC/B,QAAQ,gBACV,GAAG,uBACF,EAAE,EAAE,CAAC,YAAU,EACf,IAAI,EAAE,cAAY,aAAZ,cAAY,uBAAZ,cAAY,CAAE,IAAI,IACrB,cAAY,QAEjB;gBAPkC,CAOlC,CAAC,CAAA;aACJ;SACF;KACF;AACH,CAAC;AAnBD,2CAmBC"}
@@ -1,8 +1,7 @@
1
- import { AppRouterInstance } from 'next/dist/shared/lib/app-router-context.shared-runtime';
2
1
  import { ReadonlyURLSearchParams } from 'next/navigation';
3
2
  export type KeyParams = 'year' | 'semester' | 'month' | 'education_level' | 'grade' | 'classroom' | 'program' | 'tuition_group_type' | 'tuition_service_type' | 'tuition_campaign_type' | 'tuition_project_code' | 'export_import_module' | 'export_import_status' | 'civilized_point_group' | 'civilized_point_content' | 'civilized_point_method' | 'civilized_point_classification' | 'bus_status' | 'bus_route' | 'bus_direction' | 'bus_pickup_type' | 'bus_service_type' | 'district' | 'import_student_identity' | 'store_campaign' | 'store_method' | 'store_category';
4
3
  export type ConfigUrlApply = {
5
- router: AppRouterInstance;
4
+ router: any;
6
5
  searchParams: ReadonlyURLSearchParams;
7
6
  listOption: Array<any>;
8
7
  setSelectedValue: any;
@@ -9,10 +9,7 @@ export default function PHXResetDropdownByUrl(configUrlApply, key) {
9
9
  if (selectedItem_1) {
10
10
  setSelectedValue(function (preState) {
11
11
  var _a;
12
- return (__assign(__assign({}, preState), (_a = {}, _a[key] = {
13
- id: +selectedId_1,
14
- name: selectedItem_1 === null || selectedItem_1 === void 0 ? void 0 : selectedItem_1.name
15
- }, _a)));
12
+ return (__assign(__assign({}, preState), (_a = {}, _a[key] = __assign({ id: +selectedId_1, name: selectedItem_1 === null || selectedItem_1 === void 0 ? void 0 : selectedItem_1.name }, selectedItem_1), _a)));
16
13
  });
17
14
  }
18
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PHXResetDropdownByUrl.js","sourceRoot":"","sources":["../../../../../src/components/Func/PHXUrlApply/PHXResetDropdownByUrl.ts"],"names":[],"mappings":";AAEA,2CAA2C;AAC3C,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,cAA+B,EAAE,GAAe;IAC5F,IAAI,cAAc,IAAI,GAAG,EAAE;QACjB,IAAA,UAAU,GAAqC,cAAc,WAAnD,EAAE,YAAY,GAAuB,cAAc,aAArC,EAAE,gBAAgB,GAAK,cAAc,iBAAnB,CAAmB;QACrE,IAAM,YAAU,GAAG,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;QAExC,IAAI,YA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E,EAAE,CAAC,YAAU,EACf,IAAI,EAAE,cAAY,aAAZ,cAAY,uBAAZ,cAAY,CAAE,IAAI,IACrB,cAAY,QAEjB;gBAPkC,CAOlC,CAAC,CAAA;aACJ;SACF;KACF;AACH,CAAC"}
@@ -1,8 +1,7 @@
1
- import { AppRouterInstance } from 'next/dist/shared/lib/app-router-context.shared-runtime';
2
1
  import { ReadonlyURLSearchParams } from 'next/navigation';
3
2
  export type KeyParams = 'year' | 'semester' | 'month' | 'education_level' | 'grade' | 'classroom' | 'program' | 'tuition_group_type' | 'tuition_service_type' | 'tuition_campaign_type' | 'tuition_project_code' | 'export_import_module' | 'export_import_status' | 'civilized_point_group' | 'civilized_point_content' | 'civilized_point_method' | 'civilized_point_classification' | 'bus_status' | 'bus_route' | 'bus_direction' | 'bus_pickup_type' | 'bus_service_type' | 'district' | 'import_student_identity' | 'store_campaign' | 'store_method' | 'store_category';
4
3
  export type ConfigUrlApply = {
5
- router: AppRouterInstance;
4
+ router: any;
6
5
  searchParams: ReadonlyURLSearchParams;
7
6
  listOption: Array<any>;
8
7
  setSelectedValue: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phx-react",
3
- "version": "1.3.832",
3
+ "version": "1.3.834",
4
4
  "description": "PHX REACT",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",