@kanda-libs/ks-component-ts 0.2.248-qa → 0.2.249-qa

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.
Files changed (33) hide show
  1. package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js +3 -3
  2. package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js.map +3 -3
  3. package/app/.yalc/@kanda-libs/ks-component-ts/package.json +2 -2
  4. package/app/.yalc/@kanda-libs/ks-component-ts/yalc.sig +1 -1
  5. package/app/.yalc/@kanda-libs/ks-design-library/dist/index.esm.mjs +2 -2
  6. package/app/.yalc/@kanda-libs/ks-design-library/dist/index.esm.mjs.map +3 -3
  7. package/app/.yalc/@kanda-libs/ks-design-library/package.json +2 -2
  8. package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/constants.ts +3 -0
  9. package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/index.tsx +2 -0
  10. package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/useContentClassNames.ts +6 -2
  11. package/app/.yalc/@kanda-libs/ks-design-library/src/components/ExpandableContent/useExpandableContentProps.ts +3 -2
  12. package/app/.yalc/@kanda-libs/ks-design-library/yalc.sig +1 -1
  13. package/app/yalc.lock +2 -2
  14. package/dist/index.d.ts +10145 -10145
  15. package/dist/index.esm.js +3 -3
  16. package/dist/index.esm.js.map +3 -3
  17. package/package.json +1 -1
  18. package/src/generated/components/parameters/index.ts +4 -0
  19. package/src/generated/components/parameters/xKandaBid.ts +8 -0
  20. package/src/generated/components/parameters/xKandaCid.ts +8 -0
  21. package/src/generated/components/parameters/xKandaEid.ts +8 -0
  22. package/src/generated/components/parameters/xKandaTid.ts +8 -0
  23. package/src/generated/operations/deleteLead.ts +9 -0
  24. package/src/generated/operations/getLead.ts +9 -0
  25. package/src/generated/operations/getLeads.ts +12 -1
  26. package/src/generated/operations/infoEnterprise.ts +10 -2
  27. package/src/generated/operations/postLead.ts +15 -2
  28. package/src/generated/operations/putLead.ts +9 -0
  29. package/src/generated/operations/quoteLead.ts +9 -0
  30. package/src/generated/operations/referLead.ts +9 -0
  31. package/src/generated/operations/tradeLead.ts +9 -0
  32. package/src/generated/operations/tradeQuoteApprovalLead.ts +9 -0
  33. package/src/generated/widget/index.tsx +46932 -46928
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanda-libs/ks-component-ts",
3
- "version": "0.2.248-qa",
3
+ "version": "0.2.249-qa",
4
4
  "description": "Kanda form component library",
5
5
  "main": "dist/index.esm.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,2 +1,6 @@
1
1
  export * from "./format";
2
2
  export * from "./q";
3
+ export * from "./xKandaBid";
4
+ export * from "./xKandaCid";
5
+ export * from "./xKandaEid";
6
+ export * from "./xKandaTid";
@@ -0,0 +1,8 @@
1
+ import { OperationParameter } from "@openapi-io-ts/runtime";
2
+
3
+ export const xKandaBid: OperationParameter = {
4
+ _tag: "FormParameter",
5
+ explode: false,
6
+ in: "header",
7
+ name: "x_kanda_bid",
8
+ };
@@ -0,0 +1,8 @@
1
+ import { OperationParameter } from "@openapi-io-ts/runtime";
2
+
3
+ export const xKandaCid: OperationParameter = {
4
+ _tag: "FormParameter",
5
+ explode: false,
6
+ in: "header",
7
+ name: "x_kanda_cid",
8
+ };
@@ -0,0 +1,8 @@
1
+ import { OperationParameter } from "@openapi-io-ts/runtime";
2
+
3
+ export const xKandaEid: OperationParameter = {
4
+ _tag: "FormParameter",
5
+ explode: false,
6
+ in: "header",
7
+ name: "x_kanda_eid",
8
+ };
@@ -0,0 +1,8 @@
1
+ import { OperationParameter } from "@openapi-io-ts/runtime";
2
+
3
+ export const xKandaTid: OperationParameter = {
4
+ _tag: "FormParameter",
5
+ explode: false,
6
+ in: "header",
7
+ name: "x_kanda_tid",
8
+ };
@@ -1,8 +1,13 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as parameters from "../components/parameters";
2
3
  import * as schemas from "../components/schemas";
3
4
 
4
5
  export type DeleteLeadRequestParameters = {
5
6
  id: string;
7
+ xKandaBid?: string;
8
+ xKandaCid?: string;
9
+ xKandaEid?: string;
10
+ xKandaTid?: string;
6
11
  };
7
12
 
8
13
  export const deleteLeadOperation = {
@@ -19,6 +24,10 @@ export const deleteLeadOperation = {
19
24
  in: "path",
20
25
  name: "id",
21
26
  },
27
+ parameters.xKandaBid,
28
+ parameters.xKandaCid,
29
+ parameters.xKandaEid,
30
+ parameters.xKandaTid,
22
31
  ],
23
32
  requestDefaultHeaders: { Accept: "application/json" },
24
33
  } as const;
@@ -1,8 +1,13 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as parameters from "../components/parameters";
2
3
  import * as schemas from "../components/schemas";
3
4
 
4
5
  export type GetLeadRequestParameters = {
5
6
  id: string;
7
+ xKandaBid?: string;
8
+ xKandaCid?: string;
9
+ xKandaEid?: string;
10
+ xKandaTid?: string;
6
11
  };
7
12
 
8
13
  export const getLeadOperation = {
@@ -19,6 +24,10 @@ export const getLeadOperation = {
19
24
  in: "path",
20
25
  name: "id",
21
26
  },
27
+ parameters.xKandaBid,
28
+ parameters.xKandaCid,
29
+ parameters.xKandaEid,
30
+ parameters.xKandaTid,
22
31
  ],
23
32
  requestDefaultHeaders: { Accept: "application/json" },
24
33
  } as const;
@@ -6,6 +6,10 @@ import * as schemas from "../components/schemas";
6
6
  export type GetLeadsRequestParameters = {
7
7
  format?: "reduced" | "full";
8
8
  q?: string;
9
+ xKandaBid?: string;
10
+ xKandaCid?: string;
11
+ xKandaEid?: string;
12
+ xKandaTid?: string;
9
13
  };
10
14
 
11
15
  export const getLeadsOperation = {
@@ -15,7 +19,14 @@ export const getLeadsOperation = {
15
19
  "200": { _tag: "JsonResponse", decoder: t.array(schemas.Lead) },
16
20
  default: { _tag: "JsonResponse", decoder: schemas.Error },
17
21
  },
18
- parameters: [parameters.format, parameters.q],
22
+ parameters: [
23
+ parameters.format,
24
+ parameters.q,
25
+ parameters.xKandaBid,
26
+ parameters.xKandaCid,
27
+ parameters.xKandaEid,
28
+ parameters.xKandaTid,
29
+ ],
19
30
  requestDefaultHeaders: { Accept: "application/json" },
20
31
  } as const;
21
32
 
@@ -1,9 +1,11 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as t from "io-ts";
2
3
  import * as schemas from "../components/schemas";
3
4
 
4
5
  export type InfoEnterpriseRequestParameters = {
5
6
  eid?: string;
6
7
  bid?: string;
8
+ subdomain?: string;
7
9
  branch_code?: string;
8
10
  };
9
11
 
@@ -11,7 +13,7 @@ export const infoEnterpriseOperation = {
11
13
  path: "/api/info/enterprise",
12
14
  method: "get",
13
15
  responses: {
14
- "200": { _tag: "JsonResponse", decoder: schemas.Enterprise },
16
+ "200": { _tag: "JsonResponse", decoder: t.array(schemas.Enterprise) },
15
17
  default: { _tag: "JsonResponse", decoder: schemas.Error },
16
18
  },
17
19
  parameters: [
@@ -27,6 +29,12 @@ export const infoEnterpriseOperation = {
27
29
  in: "query",
28
30
  name: "bid",
29
31
  },
32
+ {
33
+ _tag: "FormParameter",
34
+ explode: true,
35
+ in: "query",
36
+ name: "subdomain",
37
+ },
30
38
  {
31
39
  _tag: "FormParameter",
32
40
  explode: true,
@@ -39,5 +47,5 @@ export const infoEnterpriseOperation = {
39
47
 
40
48
  export type InfoEnterpriseRequestFunction = RequestFunction<
41
49
  { params: InfoEnterpriseRequestParameters },
42
- schemas.Enterprise
50
+ Array<schemas.Enterprise>
43
51
  >;
@@ -1,6 +1,14 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as parameters from "../components/parameters";
2
3
  import * as schemas from "../components/schemas";
3
4
 
5
+ export type PostLeadRequestParameters = {
6
+ xKandaBid?: string;
7
+ xKandaCid?: string;
8
+ xKandaEid?: string;
9
+ xKandaTid?: string;
10
+ };
11
+
4
12
  export const postLeadOperation = {
5
13
  path: "/api/lead",
6
14
  method: "post",
@@ -8,7 +16,12 @@ export const postLeadOperation = {
8
16
  "200": { _tag: "JsonResponse", decoder: schemas.Lead },
9
17
  default: { _tag: "JsonResponse", decoder: schemas.Error },
10
18
  },
11
- parameters: [],
19
+ parameters: [
20
+ parameters.xKandaBid,
21
+ parameters.xKandaCid,
22
+ parameters.xKandaEid,
23
+ parameters.xKandaTid,
24
+ ],
12
25
  requestDefaultHeaders: {
13
26
  "Content-Type": "application/json",
14
27
  Accept: "application/json",
@@ -19,6 +32,6 @@ export const postLeadOperation = {
19
32
  } as const;
20
33
 
21
34
  export type PostLeadRequestFunction = RequestFunction<
22
- { body: schemas.LeadApplicant },
35
+ { params: PostLeadRequestParameters; body: schemas.LeadApplicant },
23
36
  schemas.Lead
24
37
  >;
@@ -1,8 +1,13 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as parameters from "../components/parameters";
2
3
  import * as schemas from "../components/schemas";
3
4
 
4
5
  export type PutLeadRequestParameters = {
5
6
  id: string;
7
+ xKandaBid?: string;
8
+ xKandaCid?: string;
9
+ xKandaEid?: string;
10
+ xKandaTid?: string;
6
11
  };
7
12
 
8
13
  export const putLeadOperation = {
@@ -19,6 +24,10 @@ export const putLeadOperation = {
19
24
  in: "path",
20
25
  name: "id",
21
26
  },
27
+ parameters.xKandaBid,
28
+ parameters.xKandaCid,
29
+ parameters.xKandaEid,
30
+ parameters.xKandaTid,
22
31
  ],
23
32
  requestDefaultHeaders: {
24
33
  "Content-Type": "application/json",
@@ -1,8 +1,13 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as parameters from "../components/parameters";
2
3
  import * as schemas from "../components/schemas";
3
4
 
4
5
  export type QuoteLeadRequestParameters = {
5
6
  id: string;
7
+ xKandaBid?: string;
8
+ xKandaCid?: string;
9
+ xKandaEid?: string;
10
+ xKandaTid?: string;
6
11
  };
7
12
 
8
13
  export const quoteLeadOperation = {
@@ -19,6 +24,10 @@ export const quoteLeadOperation = {
19
24
  in: "path",
20
25
  name: "id",
21
26
  },
27
+ parameters.xKandaBid,
28
+ parameters.xKandaCid,
29
+ parameters.xKandaEid,
30
+ parameters.xKandaTid,
22
31
  ],
23
32
  requestDefaultHeaders: {
24
33
  "Content-Type": "application/json",
@@ -1,9 +1,14 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
2
  import * as t from "io-ts";
3
+ import * as parameters from "../components/parameters";
3
4
  import * as schemas from "../components/schemas";
4
5
 
5
6
  export type ReferLeadRequestParameters = {
6
7
  id: string;
8
+ xKandaBid?: string;
9
+ xKandaCid?: string;
10
+ xKandaEid?: string;
11
+ xKandaTid?: string;
7
12
  };
8
13
 
9
14
  export const ReferLeadRequestBodySchema = t.type({
@@ -28,6 +33,10 @@ export const referLeadOperation = {
28
33
  in: "path",
29
34
  name: "id",
30
35
  },
36
+ parameters.xKandaBid,
37
+ parameters.xKandaCid,
38
+ parameters.xKandaEid,
39
+ parameters.xKandaTid,
31
40
  ],
32
41
  requestDefaultHeaders: {
33
42
  "Content-Type": "application/json",
@@ -1,8 +1,13 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as parameters from "../components/parameters";
2
3
  import * as schemas from "../components/schemas";
3
4
 
4
5
  export type TradeLeadRequestParameters = {
5
6
  id: string;
7
+ xKandaBid?: string;
8
+ xKandaCid?: string;
9
+ xKandaEid?: string;
10
+ xKandaTid?: string;
6
11
  };
7
12
 
8
13
  export const tradeLeadOperation = {
@@ -19,6 +24,10 @@ export const tradeLeadOperation = {
19
24
  in: "path",
20
25
  name: "id",
21
26
  },
27
+ parameters.xKandaBid,
28
+ parameters.xKandaCid,
29
+ parameters.xKandaEid,
30
+ parameters.xKandaTid,
22
31
  ],
23
32
  requestDefaultHeaders: {
24
33
  "Content-Type": "application/json",
@@ -1,8 +1,13 @@
1
1
  import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as parameters from "../components/parameters";
2
3
  import * as schemas from "../components/schemas";
3
4
 
4
5
  export type TradeQuoteApprovalLeadRequestParameters = {
5
6
  id: string;
7
+ xKandaBid?: string;
8
+ xKandaCid?: string;
9
+ xKandaEid?: string;
10
+ xKandaTid?: string;
6
11
  };
7
12
 
8
13
  export const tradeQuoteApprovalLeadOperation = {
@@ -19,6 +24,10 @@ export const tradeQuoteApprovalLeadOperation = {
19
24
  in: "path",
20
25
  name: "id",
21
26
  },
27
+ parameters.xKandaBid,
28
+ parameters.xKandaCid,
29
+ parameters.xKandaEid,
30
+ parameters.xKandaTid,
22
31
  ],
23
32
  requestDefaultHeaders: { Accept: "application/json" },
24
33
  } as const;