m2m-components 4.0.1 → 4.0.3

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 (101) hide show
  1. package/MenuBaseElement.d.mts +1 -1
  2. package/MenuBaseElement.d.ts +1 -1
  3. package/MenuBaseElement.mjs +2 -2
  4. package/{chunk-ISOF65DB.mjs → chunk-34OP4R54.mjs} +2 -2
  5. package/chunk-3X5MOATG.mjs +9 -0
  6. package/chunk-3X5MOATG.mjs.map +1 -0
  7. package/{chunk-ULIEV5F6.mjs → chunk-4WR4CODW.mjs} +3 -3
  8. package/{chunk-2X6HV5XJ.mjs → chunk-AYYVMRUA.mjs} +1 -1
  9. package/chunk-AYYVMRUA.mjs.map +1 -0
  10. package/{chunk-JUBOAWNR.mjs → chunk-BUSDHSUG.mjs} +1 -1
  11. package/{chunk-ZKTYMWRB.mjs → chunk-BVARXTLS.mjs} +616 -182
  12. package/chunk-BVARXTLS.mjs.map +1 -0
  13. package/{chunk-GMPQV5TL.mjs → chunk-FFSKHXBI.mjs} +2 -2
  14. package/{chunk-L74NH4WS.mjs → chunk-KEFPOQJ5.mjs} +2 -2
  15. package/{chunk-5UD6DCZW.mjs → chunk-MHR3UXOP.mjs} +2 -2
  16. package/{chunk-DYNNGZMQ.mjs → chunk-OB2SVLHW.mjs} +2 -2
  17. package/{chunk-NO6ZGO5P.mjs → chunk-P4FPJRVQ.mjs} +2 -2
  18. package/{chunk-WE7B4PI4.mjs → chunk-X7M2BR7Y.mjs} +3 -3
  19. package/{chunk-5V2GM6RK.mjs → chunk-YSF5KXHA.mjs} +2 -2
  20. package/domains.mjs +1 -1
  21. package/endpoints/m2m-notifications.d.mts +1 -1
  22. package/endpoints/m2m-notifications.d.ts +1 -1
  23. package/endpoints/m2m-notifications.mjs +2 -2
  24. package/endpoints/m2m-notifications.v1.d.mts +1 -1
  25. package/endpoints/m2m-notifications.v1.d.ts +1 -1
  26. package/endpoints/m2m-notifications.v1.mjs +2 -2
  27. package/endpoints/m2m-users.d.mts +1 -1
  28. package/endpoints/m2m-users.d.ts +1 -1
  29. package/endpoints/m2m-users.mjs +2 -2
  30. package/endpoints/m2m-users.v1.d.mts +1 -1
  31. package/endpoints/m2m-users.v1.d.ts +1 -1
  32. package/endpoints/m2m-users.v1.mjs +2 -2
  33. package/endpoints/matsuri-forms.d.mts +1 -1
  34. package/endpoints/matsuri-forms.d.ts +1 -1
  35. package/endpoints/matsuri-forms.mjs +2 -2
  36. package/endpoints/matsuri-forms.v1.d.mts +1 -1
  37. package/endpoints/matsuri-forms.v1.d.ts +1 -1
  38. package/endpoints/matsuri-forms.v1.mjs +2 -2
  39. package/feedback/MultipleTextQuestion.mjs +1 -1
  40. package/feedback/SelectQuestion.mjs +1 -1
  41. package/feedback/getRandomId.mjs +1 -1
  42. package/feedback/index.js +614 -180
  43. package/feedback/index.js.map +1 -1
  44. package/feedback/index.mjs +2 -2
  45. package/global.d.d.mts +0 -1
  46. package/global.d.d.ts +0 -1
  47. package/global.d.js.map +1 -1
  48. package/index.mjs +10 -10
  49. package/initM2mComponents.mjs +1 -1
  50. package/m2m-apps-menu.d.mts +1 -1
  51. package/m2m-apps-menu.d.ts +1 -1
  52. package/m2m-apps-menu.mjs +3 -3
  53. package/{m2m-notifications.v1-0186835d.d.ts → m2m-notifications.v1-OgnhtmrU.d.mts} +1 -10
  54. package/m2m-notifications.v1-OgnhtmrU.d.ts +64 -0
  55. package/m2m-releases-link.js +1 -1
  56. package/m2m-releases-link.js.map +1 -1
  57. package/m2m-releases-link.mjs +2 -2
  58. package/m2m-user-menu.d.mts +1 -1
  59. package/m2m-user-menu.d.ts +1 -1
  60. package/m2m-user-menu.mjs +3 -3
  61. package/{m2m-users.v1-c78c72cf.d.ts → m2m-users.v1-d2ArUJsi.d.mts} +1 -33
  62. package/m2m-users.v1-d2ArUJsi.d.ts +257 -0
  63. package/{matsuri-forms.v1-0ffee104.d.ts → matsuri-forms.v1-lw-XWLjX.d.mts} +1 -23
  64. package/matsuri-forms.v1-lw-XWLjX.d.ts +203 -0
  65. package/notification/NotificationProvider.mjs +3 -3
  66. package/notification/ServiceIdProvider.mjs +1 -1
  67. package/notification/api.mjs +3 -3
  68. package/notification/domain.d.mts +1 -1
  69. package/notification/domain.d.ts +1 -1
  70. package/notification/index.mjs +4 -4
  71. package/package.json +11 -11
  72. package/releases/t.d.mts +1 -1
  73. package/releases/t.d.ts +1 -1
  74. package/releases/t.js +1 -1
  75. package/releases/t.js.map +1 -1
  76. package/releases/t.mjs +2 -2
  77. package/storage/client.mjs +1 -1
  78. package/storage/hub.d.mts +1 -1
  79. package/storage/hub.d.ts +1 -1
  80. package/storage/hub.js.map +1 -1
  81. package/storage/hub.mjs +3 -3
  82. package/storage/lib/client.mjs +1 -1
  83. package/storage/lib/hub.d.mts +1 -1
  84. package/storage/lib/hub.d.ts +1 -1
  85. package/storage/lib/hub.js.map +1 -1
  86. package/storage/lib/hub.mjs +2 -2
  87. package/storage/useM2mAuth.mjs +2 -2
  88. package/chunk-2X6HV5XJ.mjs.map +0 -1
  89. package/chunk-H66U7VZB.mjs +0 -9
  90. package/chunk-H66U7VZB.mjs.map +0 -1
  91. package/chunk-ZKTYMWRB.mjs.map +0 -1
  92. /package/{chunk-ISOF65DB.mjs.map → chunk-34OP4R54.mjs.map} +0 -0
  93. /package/{chunk-ULIEV5F6.mjs.map → chunk-4WR4CODW.mjs.map} +0 -0
  94. /package/{chunk-JUBOAWNR.mjs.map → chunk-BUSDHSUG.mjs.map} +0 -0
  95. /package/{chunk-GMPQV5TL.mjs.map → chunk-FFSKHXBI.mjs.map} +0 -0
  96. /package/{chunk-L74NH4WS.mjs.map → chunk-KEFPOQJ5.mjs.map} +0 -0
  97. /package/{chunk-5UD6DCZW.mjs.map → chunk-MHR3UXOP.mjs.map} +0 -0
  98. /package/{chunk-DYNNGZMQ.mjs.map → chunk-OB2SVLHW.mjs.map} +0 -0
  99. /package/{chunk-NO6ZGO5P.mjs.map → chunk-P4FPJRVQ.mjs.map} +0 -0
  100. /package/{chunk-WE7B4PI4.mjs.map → chunk-X7M2BR7Y.mjs.map} +0 -0
  101. /package/{chunk-5V2GM6RK.mjs.map → chunk-YSF5KXHA.mjs.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  'use client'
2
2
  import {
3
3
  FeedbackProvider
4
- } from "../chunk-ZKTYMWRB.mjs";
4
+ } from "../chunk-BVARXTLS.mjs";
5
5
  import "../chunk-IH72EYIB.mjs";
6
6
  import "../chunk-IYTHV2XJ.mjs";
7
7
  import "../chunk-FDRD4YS4.mjs";
8
- import "../chunk-JUBOAWNR.mjs";
8
+ import "../chunk-BUSDHSUG.mjs";
9
9
  export {
10
10
  FeedbackProvider
11
11
  };
package/global.d.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- /* eslint-disable no-var */
2
1
  declare global {
3
2
  var M2M_COMPONENTS_ENV: string;
4
3
  }
package/global.d.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /* eslint-disable no-var */
2
1
  declare global {
3
2
  var M2M_COMPONENTS_ENV: string;
4
3
  }
package/global.d.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/global.d.ts"],"sourcesContent":["/* eslint-disable no-var */\ndeclare global {\n var M2M_COMPONENTS_ENV: string;\n}\n\nexport {};\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/global.d.ts"],"sourcesContent":["declare global {\n var M2M_COMPONENTS_ENV: string;\n}\n\nexport {};\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/index.mjs CHANGED
@@ -1,22 +1,22 @@
1
1
  'use client'
2
- import "./chunk-NO6ZGO5P.mjs";
3
- import "./chunk-2X6HV5XJ.mjs";
4
- import "./chunk-ZKTYMWRB.mjs";
2
+ import "./chunk-P4FPJRVQ.mjs";
3
+ import "./chunk-AYYVMRUA.mjs";
4
+ import "./chunk-BVARXTLS.mjs";
5
5
  import "./chunk-IH72EYIB.mjs";
6
6
  import "./chunk-IOZIVEOV.mjs";
7
- import "./chunk-L74NH4WS.mjs";
7
+ import "./chunk-KEFPOQJ5.mjs";
8
8
  import "./chunk-UXYQOQLC.mjs";
9
- import "./chunk-5V2GM6RK.mjs";
9
+ import "./chunk-YSF5KXHA.mjs";
10
10
  import "./chunk-YUHXVW6K.mjs";
11
- import "./chunk-ISOF65DB.mjs";
11
+ import "./chunk-34OP4R54.mjs";
12
12
  import "./chunk-IYTHV2XJ.mjs";
13
13
  import "./chunk-FDRD4YS4.mjs";
14
14
  import "./chunk-4FZMOOVK.mjs";
15
- import "./chunk-ULIEV5F6.mjs";
16
- import "./chunk-WE7B4PI4.mjs";
15
+ import "./chunk-4WR4CODW.mjs";
16
+ import "./chunk-X7M2BR7Y.mjs";
17
17
  import "./chunk-Y36VD6Z6.mjs";
18
18
  import "./chunk-LUTUMV2M.mjs";
19
- import "./chunk-5UD6DCZW.mjs";
19
+ import "./chunk-MHR3UXOP.mjs";
20
20
  import "./chunk-B7STDXYN.mjs";
21
- import "./chunk-JUBOAWNR.mjs";
21
+ import "./chunk-BUSDHSUG.mjs";
22
22
  //# sourceMappingURL=index.mjs.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-4FZMOOVK.mjs";
5
5
  import "./chunk-Y36VD6Z6.mjs";
6
6
  import "./chunk-LUTUMV2M.mjs";
7
- import "./chunk-JUBOAWNR.mjs";
7
+ import "./chunk-BUSDHSUG.mjs";
8
8
  export {
9
9
  initM2mComponents
10
10
  };
@@ -12,4 +12,4 @@ declare global {
12
12
  }
13
13
  }
14
14
 
15
- export { M2MAppsMenu, M2MAppsMenuProps };
15
+ export { M2MAppsMenu, type M2MAppsMenuProps };
@@ -12,4 +12,4 @@ declare global {
12
12
  }
13
13
  }
14
14
 
15
- export { M2MAppsMenu, M2MAppsMenuProps };
15
+ export { M2MAppsMenu, type M2MAppsMenuProps };
package/m2m-apps-menu.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use client'
2
2
  import {
3
3
  M2MAppsMenu
4
- } from "./chunk-ULIEV5F6.mjs";
5
- import "./chunk-5UD6DCZW.mjs";
4
+ } from "./chunk-4WR4CODW.mjs";
5
+ import "./chunk-MHR3UXOP.mjs";
6
6
  import "./chunk-B7STDXYN.mjs";
7
- import "./chunk-JUBOAWNR.mjs";
7
+ import "./chunk-BUSDHSUG.mjs";
8
8
  export {
9
9
  M2MAppsMenu
10
10
  };
@@ -58,16 +58,7 @@ declare const v1_root: typeof root;
58
58
  declare const v1_saveSubscription: typeof saveSubscription;
59
59
  declare const v1_updateNotificationStatus: typeof updateNotificationStatus;
60
60
  declare namespace v1 {
61
- export {
62
- v1_findMySubscriptions as findMySubscriptions,
63
- v1_findNotificationsByServiceId as findNotificationsByServiceId,
64
- v1_healthCheck as healthCheck,
65
- v1_m2mNotifications_v1 as m2mNotifications_v1,
66
- v1_registerNotification as registerNotification,
67
- v1_root as root,
68
- v1_saveSubscription as saveSubscription,
69
- v1_updateNotificationStatus as updateNotificationStatus,
70
- };
61
+ export { v1_findMySubscriptions as findMySubscriptions, v1_findNotificationsByServiceId as findNotificationsByServiceId, v1_healthCheck as healthCheck, v1_m2mNotifications_v1 as m2mNotifications_v1, v1_registerNotification as registerNotification, v1_root as root, v1_saveSubscription as saveSubscription, v1_updateNotificationStatus as updateNotificationStatus };
71
62
  }
72
63
 
73
64
  export { registerNotification as a, findMySubscriptions as b, findNotificationsByServiceId as f, healthCheck as h, m2mNotifications_v1 as m, root as r, saveSubscription as s, updateNotificationStatus as u, v1 as v };
@@ -0,0 +1,64 @@
1
+ /**
2
+ * A function that returns the URL part common to the endpoints.
3
+ */
4
+ declare const root: () => string;
5
+ /**
6
+ * health check
7
+ *
8
+ */
9
+ declare const healthCheck: () => string;
10
+ /**
11
+ * 通知を登録する
12
+ *
13
+ */
14
+ declare const registerNotification: () => string;
15
+ /**
16
+ * 自分宛の通知をserviceIdを使って取得する
17
+ *
18
+ */
19
+ declare const findNotificationsByServiceId: ({ id }: {
20
+ id: string;
21
+ }) => string;
22
+ /**
23
+ * 通知のステータスを更新する
24
+ *
25
+ */
26
+ declare const updateNotificationStatus: ({ id }: {
27
+ id: string;
28
+ }) => string;
29
+ /**
30
+ * 通知の購読を更新する
31
+ *
32
+ */
33
+ declare const saveSubscription: () => string;
34
+ /**
35
+ * 自分の購読している通知を取得する
36
+ *
37
+ */
38
+ declare const findMySubscriptions: () => string;
39
+ declare const m2mNotifications_v1: {
40
+ healthCheck: () => string;
41
+ registerNotification: () => string;
42
+ findNotificationsByServiceId: ({ id }: {
43
+ id: string;
44
+ }) => string;
45
+ updateNotificationStatus: ({ id }: {
46
+ id: string;
47
+ }) => string;
48
+ saveSubscription: () => string;
49
+ findMySubscriptions: () => string;
50
+ };
51
+
52
+ declare const v1_findMySubscriptions: typeof findMySubscriptions;
53
+ declare const v1_findNotificationsByServiceId: typeof findNotificationsByServiceId;
54
+ declare const v1_healthCheck: typeof healthCheck;
55
+ declare const v1_m2mNotifications_v1: typeof m2mNotifications_v1;
56
+ declare const v1_registerNotification: typeof registerNotification;
57
+ declare const v1_root: typeof root;
58
+ declare const v1_saveSubscription: typeof saveSubscription;
59
+ declare const v1_updateNotificationStatus: typeof updateNotificationStatus;
60
+ declare namespace v1 {
61
+ export { v1_findMySubscriptions as findMySubscriptions, v1_findNotificationsByServiceId as findNotificationsByServiceId, v1_healthCheck as healthCheck, v1_m2mNotifications_v1 as m2mNotifications_v1, v1_registerNotification as registerNotification, v1_root as root, v1_saveSubscription as saveSubscription, v1_updateNotificationStatus as updateNotificationStatus };
62
+ }
63
+
64
+ export { registerNotification as a, findMySubscriptions as b, findNotificationsByServiceId as f, healthCheck as h, m2mNotifications_v1 as m, root as r, saveSubscription as s, updateNotificationStatus as u, v1 as v };
@@ -37,7 +37,7 @@ var import_lit = require("lit");
37
37
  var import_decorators = require("lit/decorators.js");
38
38
 
39
39
  // src/releases/t.ts
40
- var t = "01HE43KV6SW3JX4EA86JWX5NMW";
40
+ var t = "01HNH05WSZV46175VERV6VVBVD";
41
41
 
42
42
  // src/m2m-releases-link.ts
43
43
  var RELEASE_URL = "https://matsuri-releases-api.vercel.app/product";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/m2m-releases-link.ts","../src/releases/t.ts"],"sourcesContent":["import { LitElement, css, html } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport { t } from \"./releases/t\";\n\nconst RELEASE_URL = \"https://matsuri-releases-api.vercel.app/product\";\n\n@customElement(\"m2m-releases-link\")\nexport class M2mReleaseLink extends LitElement {\n static readonly styles = css`\n :host a {\n display: block;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 42px;\n height: 42px;\n padding: 0px;\n color: rgba(0, 0, 0, 0.87);\n cursor: pointer;\n background-color: transparent;\n border: none;\n transition: background-color 0.2s ease 0s;\n appearance: none;\n &:hover {\n background-color: rgba(0, 0, 0, 0.05);\n }\n }\n `;\n\n @property({ type: String, attribute: \"product\" })\n product = \"\";\n\n render() {\n return html`<a\n href=\"${RELEASE_URL}/${this.product}?t=${t}\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n title=\"リリース情報\"\n >\n <span></span>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32px\"\n height=\"32px\"\n viewBox=\"0 0 24 24\"\n >\n <path\n fill=\"currentColor\"\n d=\"M7 20h4c0 1.1-.9 2-2 2s-2-.9-2-2zm-2-1h8v-2H5v2zm11.5-9.5c0 3.82-2.66 5.86-3.77 6.5H5.27c-1.11-.64-3.77-2.68-3.77-6.5C1.5 5.36 4.86 2 9 2s7.5 3.36 7.5 7.5zm-2 0C14.5 6.47 12.03 4 9 4S3.5 6.47 3.5 9.5c0 2.47 1.49 3.89 2.35 4.5h6.3c.86-.61 2.35-2.03 2.35-4.5zm6.87-2.13L20 8l1.37.63L22 10l.63-1.37L24 8l-1.37-.63L22 6l-.63 1.37zM19 6l.94-2.06L22 3l-2.06-.94L19 0l-.94 2.06L16 3l2.06.94L19 6z\"\n />\n </svg>\n </a>`;\n }\n}\n","export const t = \"01HE43KV6SW3JX4EA86JWX5NMW\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAsC;AACtC,wBAAwC;;;ACDjC,IAAM,IAAI;;;ADIjB,IAAM,cAAc;AAGb,IAAM,iBAAN,cAA6B,sBAAW;AAAA,EAAxC;AAAA;AAuBL,mBAAU;AAAA;AAAA,EAEV,SAAS;AACP,WAAO;AAAA,cACG,WAAW,IAAI,KAAK,OAAO,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkB9C;AACF;AA9Ca,eACK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBzB;AAAA,MADC,4BAAS,EAAE,MAAM,QAAQ,WAAW,UAAU,CAAC;AAAA,GAtBrC,eAuBX;AAvBW,iBAAN;AAAA,MADN,iCAAc,mBAAmB;AAAA,GACrB;","names":[]}
1
+ {"version":3,"sources":["../src/m2m-releases-link.ts","../src/releases/t.ts"],"sourcesContent":["import { LitElement, css, html } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport { t } from \"./releases/t\";\n\nconst RELEASE_URL = \"https://matsuri-releases-api.vercel.app/product\";\n\n@customElement(\"m2m-releases-link\")\nexport class M2mReleaseLink extends LitElement {\n static readonly styles = css`\n :host a {\n display: block;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 42px;\n height: 42px;\n padding: 0px;\n color: rgba(0, 0, 0, 0.87);\n cursor: pointer;\n background-color: transparent;\n border: none;\n transition: background-color 0.2s ease 0s;\n appearance: none;\n &:hover {\n background-color: rgba(0, 0, 0, 0.05);\n }\n }\n `;\n\n @property({ type: String, attribute: \"product\" })\n product = \"\";\n\n render() {\n return html`<a\n href=\"${RELEASE_URL}/${this.product}?t=${t}\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n title=\"リリース情報\"\n >\n <span></span>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32px\"\n height=\"32px\"\n viewBox=\"0 0 24 24\"\n >\n <path\n fill=\"currentColor\"\n d=\"M7 20h4c0 1.1-.9 2-2 2s-2-.9-2-2zm-2-1h8v-2H5v2zm11.5-9.5c0 3.82-2.66 5.86-3.77 6.5H5.27c-1.11-.64-3.77-2.68-3.77-6.5C1.5 5.36 4.86 2 9 2s7.5 3.36 7.5 7.5zm-2 0C14.5 6.47 12.03 4 9 4S3.5 6.47 3.5 9.5c0 2.47 1.49 3.89 2.35 4.5h6.3c.86-.61 2.35-2.03 2.35-4.5zm6.87-2.13L20 8l1.37.63L22 10l.63-1.37L24 8l-1.37-.63L22 6l-.63 1.37zM19 6l.94-2.06L22 3l-2.06-.94L19 0l-.94 2.06L16 3l2.06.94L19 6z\"\n />\n </svg>\n </a>`;\n }\n}\n","export const t = \"01HNH05WSZV46175VERV6VVBVD\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAsC;AACtC,wBAAwC;;;ACDjC,IAAM,IAAI;;;ADIjB,IAAM,cAAc;AAGb,IAAM,iBAAN,cAA6B,sBAAW;AAAA,EAAxC;AAAA;AAuBL,mBAAU;AAAA;AAAA,EAEV,SAAS;AACP,WAAO;AAAA,cACG,WAAW,IAAI,KAAK,OAAO,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkB9C;AACF;AA9Ca,eACK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBzB;AAAA,MADC,4BAAS,EAAE,MAAM,QAAQ,WAAW,UAAU,CAAC;AAAA,GAtBrC,eAuBX;AAvBW,iBAAN;AAAA,MADN,iCAAc,mBAAmB;AAAA,GACrB;","names":[]}
@@ -1,10 +1,10 @@
1
1
  'use client'
2
2
  import {
3
3
  t
4
- } from "./chunk-H66U7VZB.mjs";
4
+ } from "./chunk-3X5MOATG.mjs";
5
5
  import {
6
6
  __decorateClass
7
- } from "./chunk-JUBOAWNR.mjs";
7
+ } from "./chunk-BUSDHSUG.mjs";
8
8
 
9
9
  // src/m2m-releases-link.ts
10
10
  import { LitElement, css, html } from "lit";
@@ -13,4 +13,4 @@ declare global {
13
13
  }
14
14
  }
15
15
 
16
- export { M2MUserMenu, M2MUserMenuProps };
16
+ export { M2MUserMenu, type M2MUserMenuProps };
@@ -13,4 +13,4 @@ declare global {
13
13
  }
14
14
  }
15
15
 
16
- export { M2MUserMenu, M2MUserMenuProps };
16
+ export { M2MUserMenu, type M2MUserMenuProps };
package/m2m-user-menu.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use client'
2
2
  import {
3
3
  M2MUserMenu
4
- } from "./chunk-WE7B4PI4.mjs";
4
+ } from "./chunk-X7M2BR7Y.mjs";
5
5
  import "./chunk-Y36VD6Z6.mjs";
6
6
  import "./chunk-LUTUMV2M.mjs";
7
- import "./chunk-5UD6DCZW.mjs";
7
+ import "./chunk-MHR3UXOP.mjs";
8
8
  import "./chunk-B7STDXYN.mjs";
9
- import "./chunk-JUBOAWNR.mjs";
9
+ import "./chunk-BUSDHSUG.mjs";
10
10
  export {
11
11
  M2MUserMenu
12
12
  };
@@ -251,39 +251,7 @@ declare const v1_updateUser: typeof updateUser;
251
251
  declare const v1_updateUserByAdmin: typeof updateUserByAdmin;
252
252
  declare const v1_updateUserPatch: typeof updateUserPatch;
253
253
  declare namespace v1 {
254
- export {
255
- v1_activateUser as activateUser,
256
- v1_activateUserByAdmin as activateUserByAdmin,
257
- v1_createCompany as createCompany,
258
- v1_createUser as createUser,
259
- v1_deactivateUser as deactivateUser,
260
- v1_findCompaniesByIds as findCompaniesByIds,
261
- v1_findUserByEmail as findUserByEmail,
262
- v1_findUserById as findUserById,
263
- v1_findUsersByCompanyId as findUsersByCompanyId,
264
- v1_generateToken as generateToken,
265
- v1_generateUserToken as generateUserToken,
266
- v1_getCompany as getCompany,
267
- v1_getJwks as getJwks,
268
- v1_getPublicKeys as getPublicKeys,
269
- v1_healthCheck as healthCheck,
270
- v1_login as login,
271
- v1_loginWithMFA as loginWithMFA,
272
- v1_loginWithSlash as loginWithSlash,
273
- v1_m2mUsers_v1 as m2mUsers_v1,
274
- v1_publishMFACode as publishMFACode,
275
- v1_resetPassword as resetPassword,
276
- v1_root as root,
277
- v1_sendActivationEmail as sendActivationEmail,
278
- v1_sendResetPasswordEmail as sendResetPasswordEmail,
279
- v1_setAuthorityScope as setAuthorityScope,
280
- v1_updateAuthority as updateAuthority,
281
- v1_updateCompany as updateCompany,
282
- v1_updateCompanyPatch as updateCompanyPatch,
283
- v1_updateUser as updateUser,
284
- v1_updateUserByAdmin as updateUserByAdmin,
285
- v1_updateUserPatch as updateUserPatch,
286
- };
254
+ export { v1_activateUser as activateUser, v1_activateUserByAdmin as activateUserByAdmin, v1_createCompany as createCompany, v1_createUser as createUser, v1_deactivateUser as deactivateUser, v1_findCompaniesByIds as findCompaniesByIds, v1_findUserByEmail as findUserByEmail, v1_findUserById as findUserById, v1_findUsersByCompanyId as findUsersByCompanyId, v1_generateToken as generateToken, v1_generateUserToken as generateUserToken, v1_getCompany as getCompany, v1_getJwks as getJwks, v1_getPublicKeys as getPublicKeys, v1_healthCheck as healthCheck, v1_login as login, v1_loginWithMFA as loginWithMFA, v1_loginWithSlash as loginWithSlash, v1_m2mUsers_v1 as m2mUsers_v1, v1_publishMFACode as publishMFACode, v1_resetPassword as resetPassword, v1_root as root, v1_sendActivationEmail as sendActivationEmail, v1_sendResetPasswordEmail as sendResetPasswordEmail, v1_setAuthorityScope as setAuthorityScope, v1_updateAuthority as updateAuthority, v1_updateCompany as updateCompany, v1_updateCompanyPatch as updateCompanyPatch, v1_updateUser as updateUser, v1_updateUserByAdmin as updateUserByAdmin, v1_updateUserPatch as updateUserPatch };
287
255
  }
288
256
 
289
257
  export { getPublicKeys as A, publishMFACode as B, loginWithMFA as C, generateToken as D, generateUserToken as E, m2mUsers_v1 as F, updateCompanyPatch as a, createUser as b, createCompany as c, findUserById as d, updateUser as e, findCompaniesByIds as f, getCompany as g, healthCheck as h, updateUserPatch as i, activateUserByAdmin as j, deactivateUser as k, resetPassword as l, sendActivationEmail as m, activateUser as n, setAuthorityScope as o, findUserByEmail as p, updateAuthority as q, root as r, sendResetPasswordEmail as s, findUsersByCompanyId as t, updateCompany as u, v1 as v, updateUserByAdmin as w, login as x, loginWithSlash as y, getJwks as z };
@@ -0,0 +1,257 @@
1
+ /**
2
+ * A function that returns the URL part common to the endpoints.
3
+ */
4
+ declare const root: () => string;
5
+ /**
6
+ * ヘルスチェック
7
+ *
8
+ */
9
+ declare const healthCheck: () => string;
10
+ /**
11
+ * 会社を作成する
12
+ *
13
+ */
14
+ declare const createCompany: () => string;
15
+ /**
16
+ * 会社情報を取得する
17
+ *
18
+ */
19
+ declare const getCompany: ({ id }: {
20
+ id: string;
21
+ }) => string;
22
+ /**
23
+ * 会社情報を更新する
24
+ *
25
+ */
26
+ declare const updateCompany: () => string;
27
+ /**
28
+ * 会社情報を更新する
29
+ *
30
+ */
31
+ declare const updateCompanyPatch: () => string;
32
+ /**
33
+ * idを指定して複数の会社情報を取得する
34
+ * @param {string} company_ids a,b,c
35
+ */
36
+ declare const findCompaniesByIds: ({ company_ids, }: {
37
+ company_ids?: string | undefined;
38
+ }) => string;
39
+ /**
40
+ * ユーザーを作成する
41
+ *
42
+ */
43
+ declare const createUser: () => string;
44
+ /**
45
+ * ユーザーを取得する
46
+ *
47
+ */
48
+ declare const findUserById: ({ id }: {
49
+ id: string;
50
+ }) => string;
51
+ /**
52
+ * ユーザーを更新する
53
+ *
54
+ */
55
+ declare const updateUser: ({ id }: {
56
+ id: string;
57
+ }) => string;
58
+ /**
59
+ * ユーザーを更新する
60
+ *
61
+ */
62
+ declare const updateUserPatch: ({ id }: {
63
+ id: string;
64
+ }) => string;
65
+ /**
66
+ * ユーザーを強制的に有効化する
67
+ *
68
+ */
69
+ declare const activateUserByAdmin: ({ id }: {
70
+ id: string;
71
+ }) => string;
72
+ /**
73
+ * ユーザーを無効化する
74
+ *
75
+ */
76
+ declare const deactivateUser: ({ id }: {
77
+ id: string;
78
+ }) => string;
79
+ /**
80
+ * パスワードリセットのメールを送信する
81
+ *
82
+ */
83
+ declare const sendResetPasswordEmail: () => string;
84
+ /**
85
+ * パスワードをリセットする
86
+ *
87
+ */
88
+ declare const resetPassword: () => string;
89
+ /**
90
+ * アクティベーションメールを送信する
91
+ *
92
+ */
93
+ declare const sendActivationEmail: () => string;
94
+ /**
95
+ * ユーザーを有効化する
96
+ *
97
+ */
98
+ declare const activateUser: () => string;
99
+ /**
100
+ * 認可スコープを設定する
101
+ *
102
+ */
103
+ declare const setAuthorityScope: () => string;
104
+ /**
105
+ * メールを指定してユーザーを取得する
106
+ *
107
+ */
108
+ declare const findUserByEmail: () => string;
109
+ /**
110
+ * ユーザーの権限を更新する
111
+ *
112
+ */
113
+ declare const updateAuthority: ({ id }: {
114
+ id: string;
115
+ }) => string;
116
+ /**
117
+ * companyIdからユーザーを取得する
118
+ * @param {string} statuses BeforeVerification,Active,Deactivated
119
+ */
120
+ declare const findUsersByCompanyId: ({ statuses }: {
121
+ statuses?: string | undefined;
122
+ }) => string;
123
+ /**
124
+ * ユーザー情報をAdminが変更する
125
+ *
126
+ */
127
+ declare const updateUserByAdmin: ({ id }: {
128
+ id: string;
129
+ }) => string;
130
+ /**
131
+ * ログインする
132
+ *
133
+ */
134
+ declare const login: () => string;
135
+ /**
136
+ * ログインする
137
+ *
138
+ */
139
+ declare const loginWithSlash: () => string;
140
+ /**
141
+ * JWKを取得する
142
+ *
143
+ */
144
+ declare const getJwks: () => string;
145
+ /**
146
+ * 公開鍵を取得する
147
+ *
148
+ */
149
+ declare const getPublicKeys: () => string;
150
+ /**
151
+ * MFAのコードを発行する
152
+ *
153
+ */
154
+ declare const publishMFACode: () => string;
155
+ /**
156
+ * MFAを使ってログインする
157
+ *
158
+ */
159
+ declare const loginWithMFA: () => string;
160
+ /**
161
+ * usersに存在しないアカウントのトークンを作成する(deprecated)
162
+ *
163
+ */
164
+ declare const generateToken: () => string;
165
+ /**
166
+ * usersに存在しないアカウントのトークンを作成する
167
+ *
168
+ */
169
+ declare const generateUserToken: () => string;
170
+ declare const m2mUsers_v1: {
171
+ healthCheck: () => string;
172
+ createCompany: () => string;
173
+ getCompany: ({ id }: {
174
+ id: string;
175
+ }) => string;
176
+ updateCompany: () => string;
177
+ updateCompanyPatch: () => string;
178
+ findCompaniesByIds: ({ company_ids, }: {
179
+ company_ids?: string | undefined;
180
+ }) => string;
181
+ createUser: () => string;
182
+ findUserById: ({ id }: {
183
+ id: string;
184
+ }) => string;
185
+ updateUser: ({ id }: {
186
+ id: string;
187
+ }) => string;
188
+ updateUserPatch: ({ id }: {
189
+ id: string;
190
+ }) => string;
191
+ activateUserByAdmin: ({ id }: {
192
+ id: string;
193
+ }) => string;
194
+ deactivateUser: ({ id }: {
195
+ id: string;
196
+ }) => string;
197
+ sendResetPasswordEmail: () => string;
198
+ resetPassword: () => string;
199
+ sendActivationEmail: () => string;
200
+ activateUser: () => string;
201
+ setAuthorityScope: () => string;
202
+ findUserByEmail: () => string;
203
+ updateAuthority: ({ id }: {
204
+ id: string;
205
+ }) => string;
206
+ findUsersByCompanyId: ({ statuses }: {
207
+ statuses?: string | undefined;
208
+ }) => string;
209
+ updateUserByAdmin: ({ id }: {
210
+ id: string;
211
+ }) => string;
212
+ login: () => string;
213
+ loginWithSlash: () => string;
214
+ getJwks: () => string;
215
+ getPublicKeys: () => string;
216
+ publishMFACode: () => string;
217
+ loginWithMFA: () => string;
218
+ generateToken: () => string;
219
+ generateUserToken: () => string;
220
+ };
221
+
222
+ declare const v1_activateUser: typeof activateUser;
223
+ declare const v1_activateUserByAdmin: typeof activateUserByAdmin;
224
+ declare const v1_createCompany: typeof createCompany;
225
+ declare const v1_createUser: typeof createUser;
226
+ declare const v1_deactivateUser: typeof deactivateUser;
227
+ declare const v1_findCompaniesByIds: typeof findCompaniesByIds;
228
+ declare const v1_findUserByEmail: typeof findUserByEmail;
229
+ declare const v1_findUserById: typeof findUserById;
230
+ declare const v1_findUsersByCompanyId: typeof findUsersByCompanyId;
231
+ declare const v1_generateToken: typeof generateToken;
232
+ declare const v1_generateUserToken: typeof generateUserToken;
233
+ declare const v1_getCompany: typeof getCompany;
234
+ declare const v1_getJwks: typeof getJwks;
235
+ declare const v1_getPublicKeys: typeof getPublicKeys;
236
+ declare const v1_healthCheck: typeof healthCheck;
237
+ declare const v1_login: typeof login;
238
+ declare const v1_loginWithMFA: typeof loginWithMFA;
239
+ declare const v1_loginWithSlash: typeof loginWithSlash;
240
+ declare const v1_m2mUsers_v1: typeof m2mUsers_v1;
241
+ declare const v1_publishMFACode: typeof publishMFACode;
242
+ declare const v1_resetPassword: typeof resetPassword;
243
+ declare const v1_root: typeof root;
244
+ declare const v1_sendActivationEmail: typeof sendActivationEmail;
245
+ declare const v1_sendResetPasswordEmail: typeof sendResetPasswordEmail;
246
+ declare const v1_setAuthorityScope: typeof setAuthorityScope;
247
+ declare const v1_updateAuthority: typeof updateAuthority;
248
+ declare const v1_updateCompany: typeof updateCompany;
249
+ declare const v1_updateCompanyPatch: typeof updateCompanyPatch;
250
+ declare const v1_updateUser: typeof updateUser;
251
+ declare const v1_updateUserByAdmin: typeof updateUserByAdmin;
252
+ declare const v1_updateUserPatch: typeof updateUserPatch;
253
+ declare namespace v1 {
254
+ export { v1_activateUser as activateUser, v1_activateUserByAdmin as activateUserByAdmin, v1_createCompany as createCompany, v1_createUser as createUser, v1_deactivateUser as deactivateUser, v1_findCompaniesByIds as findCompaniesByIds, v1_findUserByEmail as findUserByEmail, v1_findUserById as findUserById, v1_findUsersByCompanyId as findUsersByCompanyId, v1_generateToken as generateToken, v1_generateUserToken as generateUserToken, v1_getCompany as getCompany, v1_getJwks as getJwks, v1_getPublicKeys as getPublicKeys, v1_healthCheck as healthCheck, v1_login as login, v1_loginWithMFA as loginWithMFA, v1_loginWithSlash as loginWithSlash, v1_m2mUsers_v1 as m2mUsers_v1, v1_publishMFACode as publishMFACode, v1_resetPassword as resetPassword, v1_root as root, v1_sendActivationEmail as sendActivationEmail, v1_sendResetPasswordEmail as sendResetPasswordEmail, v1_setAuthorityScope as setAuthorityScope, v1_updateAuthority as updateAuthority, v1_updateCompany as updateCompany, v1_updateCompanyPatch as updateCompanyPatch, v1_updateUser as updateUser, v1_updateUserByAdmin as updateUserByAdmin, v1_updateUserPatch as updateUserPatch };
255
+ }
256
+
257
+ export { getPublicKeys as A, publishMFACode as B, loginWithMFA as C, generateToken as D, generateUserToken as E, m2mUsers_v1 as F, updateCompanyPatch as a, createUser as b, createCompany as c, findUserById as d, updateUser as e, findCompaniesByIds as f, getCompany as g, healthCheck as h, updateUserPatch as i, activateUserByAdmin as j, deactivateUser as k, resetPassword as l, sendActivationEmail as m, activateUser as n, setAuthorityScope as o, findUserByEmail as p, updateAuthority as q, root as r, sendResetPasswordEmail as s, findUsersByCompanyId as t, updateCompany as u, v1 as v, updateUserByAdmin as w, login as x, loginWithSlash as y, getJwks as z };
@@ -197,29 +197,7 @@ declare const v1_signUpWithGoogle: typeof signUpWithGoogle;
197
197
  declare const v1_submissionCreate: typeof submissionCreate;
198
198
  declare const v1_submissionGet: typeof submissionGet;
199
199
  declare namespace v1 {
200
- export {
201
- v1_formActivateSheetFeature as formActivateSheetFeature,
202
- v1_formCreate as formCreate,
203
- v1_formFindAll as formFindAll,
204
- v1_formGet as formGet,
205
- v1_formGetByRevision as formGetByRevision,
206
- v1_formPublish as formPublish,
207
- v1_formPublishStatusChangeToPrivate as formPublishStatusChangeToPrivate,
208
- v1_formQuestionCreate as formQuestionCreate,
209
- v1_formQuestionDelete as formQuestionDelete,
210
- v1_formQuestionInsert as formQuestionInsert,
211
- v1_formQuestionUpdate as formQuestionUpdate,
212
- v1_formUpdate as formUpdate,
213
- v1_formsCreateNewRevision as formsCreateNewRevision,
214
- v1_guestFormGet as guestFormGet,
215
- v1_healthCheck as healthCheck,
216
- v1_matsuriForms_v1 as matsuriForms_v1,
217
- v1_root as root,
218
- v1_signInWithGoogle as signInWithGoogle,
219
- v1_signUpWithGoogle as signUpWithGoogle,
220
- v1_submissionCreate as submissionCreate,
221
- v1_submissionGet as submissionGet,
222
- };
200
+ export { v1_formActivateSheetFeature as formActivateSheetFeature, v1_formCreate as formCreate, v1_formFindAll as formFindAll, v1_formGet as formGet, v1_formGetByRevision as formGetByRevision, v1_formPublish as formPublish, v1_formPublishStatusChangeToPrivate as formPublishStatusChangeToPrivate, v1_formQuestionCreate as formQuestionCreate, v1_formQuestionDelete as formQuestionDelete, v1_formQuestionInsert as formQuestionInsert, v1_formQuestionUpdate as formQuestionUpdate, v1_formUpdate as formUpdate, v1_formsCreateNewRevision as formsCreateNewRevision, v1_guestFormGet as guestFormGet, v1_healthCheck as healthCheck, v1_matsuriForms_v1 as matsuriForms_v1, v1_root as root, v1_signInWithGoogle as signInWithGoogle, v1_signUpWithGoogle as signUpWithGoogle, v1_submissionCreate as submissionCreate, v1_submissionGet as submissionGet };
223
201
  }
224
202
 
225
203
  export { formGetByRevision as a, formCreate as b, formFindAll as c, formUpdate as d, formActivateSheetFeature as e, formGet as f, formPublishStatusChangeToPrivate as g, healthCheck as h, formsCreateNewRevision as i, formPublish as j, formQuestionCreate as k, formQuestionInsert as l, formQuestionDelete as m, formQuestionUpdate as n, submissionCreate as o, guestFormGet as p, signInWithGoogle as q, root as r, submissionGet as s, signUpWithGoogle as t, matsuriForms_v1 as u, v1 as v };