@mieweb/ui 0.11.0-dev.7 → 0.11.0-dev.9

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 (65) hide show
  1. package/dist/brands/index.cjs +12 -12
  2. package/dist/brands/index.js +3 -3
  3. package/dist/{chunk-WGXJNCRG.cjs → chunk-2GBVJHWN.cjs} +47 -28
  4. package/dist/{chunk-WGXJNCRG.cjs.map → chunk-2GBVJHWN.cjs.map} +1 -1
  5. package/dist/chunk-3TUULOTW.cjs +333 -0
  6. package/dist/chunk-3TUULOTW.cjs.map +1 -0
  7. package/dist/{chunk-OODVC2UD.cjs → chunk-AWSSWNJY.cjs} +2 -2
  8. package/dist/{chunk-OODVC2UD.cjs.map → chunk-AWSSWNJY.cjs.map} +1 -1
  9. package/dist/{chunk-GJPCWR4C.js → chunk-DAAJ3B2T.js} +47 -29
  10. package/dist/chunk-DAAJ3B2T.js.map +1 -0
  11. package/dist/{chunk-QJ2L5RU6.js → chunk-DSQCYX7L.js} +2 -2
  12. package/dist/{chunk-QJ2L5RU6.js.map → chunk-DSQCYX7L.js.map} +1 -1
  13. package/dist/{chunk-JTSKPDPH.cjs → chunk-HIYQ3M5V.cjs} +4 -3
  14. package/dist/chunk-HIYQ3M5V.cjs.map +1 -0
  15. package/dist/chunk-IZY4CMOO.js +715 -0
  16. package/dist/chunk-IZY4CMOO.js.map +1 -0
  17. package/dist/{chunk-753ENNB6.js → chunk-J3QEMZCH.js} +2 -2
  18. package/dist/{chunk-753ENNB6.js.map → chunk-J3QEMZCH.js.map} +1 -1
  19. package/dist/{chunk-VNWJTCBQ.js → chunk-MQOYDQTF.js} +4 -3
  20. package/dist/chunk-MQOYDQTF.js.map +1 -0
  21. package/dist/{chunk-NKG2UNXE.js → chunk-OZKJYLN6.js} +3 -3
  22. package/dist/{chunk-NKG2UNXE.js.map → chunk-OZKJYLN6.js.map} +1 -1
  23. package/dist/{chunk-C66JR43M.cjs → chunk-Q6QLGCL7.cjs} +9 -9
  24. package/dist/{chunk-C66JR43M.cjs.map → chunk-Q6QLGCL7.cjs.map} +1 -1
  25. package/dist/{chunk-NAH65KPK.cjs → chunk-TOJ56HKQ.cjs} +2 -2
  26. package/dist/{chunk-NAH65KPK.cjs.map → chunk-TOJ56HKQ.cjs.map} +1 -1
  27. package/dist/chunk-TRZLN32I.cjs +740 -0
  28. package/dist/chunk-TRZLN32I.cjs.map +1 -0
  29. package/dist/chunk-XQIQX5OB.js +309 -0
  30. package/dist/chunk-XQIQX5OB.js.map +1 -0
  31. package/dist/components/DictationButton/index.cjs +23 -0
  32. package/dist/components/DictationButton/index.cjs.map +1 -0
  33. package/dist/components/DictationButton/index.d.cts +67 -0
  34. package/dist/components/DictationButton/index.d.ts +67 -0
  35. package/dist/components/DictationButton/index.js +6 -0
  36. package/dist/components/DictationButton/index.js.map +1 -0
  37. package/dist/components/Markdown/index.cjs +10 -10
  38. package/dist/components/Markdown/index.js +2 -2
  39. package/dist/components/RecordButton/index.cjs +4 -4
  40. package/dist/components/RecordButton/index.js +1 -1
  41. package/dist/components/SuperChat/index.cjs +3 -3
  42. package/dist/components/SuperChat/index.d.cts +2 -2
  43. package/dist/components/SuperChat/index.d.ts +2 -2
  44. package/dist/components/SuperChat/index.js +1 -1
  45. package/dist/components/SuperChat/plugins/index.cjs +3 -3
  46. package/dist/components/SuperChat/plugins/index.d.cts +2 -2
  47. package/dist/components/SuperChat/plugins/index.d.ts +2 -2
  48. package/dist/components/SuperChat/plugins/index.js +2 -2
  49. package/dist/index.cjs +363 -899
  50. package/dist/index.cjs.map +1 -1
  51. package/dist/index.d.cts +102 -1
  52. package/dist/index.d.ts +102 -1
  53. package/dist/index.js +124 -730
  54. package/dist/index.js.map +1 -1
  55. package/dist/styles.css +1 -1
  56. package/dist/{types-Cx1FHLq2.d.cts → types-DSWbrVkM.d.cts} +1 -1
  57. package/dist/{types-Cx1FHLq2.d.ts → types-DSWbrVkM.d.ts} +1 -1
  58. package/dist/whisperTranscribe-AV752TZI.cjs +81 -0
  59. package/dist/whisperTranscribe-AV752TZI.cjs.map +1 -0
  60. package/dist/whisperTranscribe-UBNUWXUQ.js +4 -0
  61. package/dist/whisperTranscribe-UBNUWXUQ.js.map +1 -0
  62. package/package.json +1 -1
  63. package/dist/chunk-GJPCWR4C.js.map +0 -1
  64. package/dist/chunk-JTSKPDPH.cjs.map +0 -1
  65. package/dist/chunk-VNWJTCBQ.js.map +0 -1
@@ -1,22 +1,26 @@
1
1
  'use strict';
2
2
 
3
- var chunkOODVC2UD_cjs = require('../chunk-OODVC2UD.cjs');
3
+ var chunkAWSSWNJY_cjs = require('../chunk-AWSSWNJY.cjs');
4
+ var chunkX7S76WB7_cjs = require('../chunk-X7S76WB7.cjs');
4
5
  var chunkNM7O7RY5_cjs = require('../chunk-NM7O7RY5.cjs');
5
6
  var chunkLCQGAOAZ_cjs = require('../chunk-LCQGAOAZ.cjs');
6
7
  var chunkZ5J4NTPL_cjs = require('../chunk-Z5J4NTPL.cjs');
7
8
  var chunkU7VQUOLS_cjs = require('../chunk-U7VQUOLS.cjs');
9
+ var chunkUCGUA3QV_cjs = require('../chunk-UCGUA3QV.cjs');
8
10
  var chunkRR2MJBGV_cjs = require('../chunk-RR2MJBGV.cjs');
9
- var chunkX7S76WB7_cjs = require('../chunk-X7S76WB7.cjs');
10
11
  var chunkNGQRS7AW_cjs = require('../chunk-NGQRS7AW.cjs');
11
12
  var chunk3ZWCIPFT_cjs = require('../chunk-3ZWCIPFT.cjs');
12
- var chunkUCGUA3QV_cjs = require('../chunk-UCGUA3QV.cjs');
13
13
  require('../chunk-EUAMEVVI.cjs');
14
14
 
15
15
 
16
16
 
17
17
  Object.defineProperty(exports, "brands", {
18
18
  enumerable: true,
19
- get: function () { return chunkOODVC2UD_cjs.brands; }
19
+ get: function () { return chunkAWSSWNJY_cjs.brands; }
20
+ });
21
+ Object.defineProperty(exports, "defaultBrand", {
22
+ enumerable: true,
23
+ get: function () { return chunkX7S76WB7_cjs.defaultBrand; }
20
24
  });
21
25
  Object.defineProperty(exports, "enterpriseHealthBrand", {
22
26
  enumerable: true,
@@ -34,13 +38,13 @@ Object.defineProperty(exports, "webchartBrand", {
34
38
  enumerable: true,
35
39
  get: function () { return chunkU7VQUOLS_cjs.webchartBrand; }
36
40
  });
37
- Object.defineProperty(exports, "ozwellBrand", {
41
+ Object.defineProperty(exports, "ccmeBrand", {
38
42
  enumerable: true,
39
- get: function () { return chunkRR2MJBGV_cjs.ozwellBrand; }
43
+ get: function () { return chunkUCGUA3QV_cjs.ccmeBrand; }
40
44
  });
41
- Object.defineProperty(exports, "defaultBrand", {
45
+ Object.defineProperty(exports, "ozwellBrand", {
42
46
  enumerable: true,
43
- get: function () { return chunkX7S76WB7_cjs.defaultBrand; }
47
+ get: function () { return chunkRR2MJBGV_cjs.ozwellBrand; }
44
48
  });
45
49
  Object.defineProperty(exports, "createBrandPreset", {
46
50
  enumerable: true,
@@ -58,9 +62,5 @@ Object.defineProperty(exports, "bluehiveBrand", {
58
62
  enumerable: true,
59
63
  get: function () { return chunk3ZWCIPFT_cjs.bluehiveBrand; }
60
64
  });
61
- Object.defineProperty(exports, "ccmeBrand", {
62
- enumerable: true,
63
- get: function () { return chunkUCGUA3QV_cjs.ccmeBrand; }
64
- });
65
65
  //# sourceMappingURL=index.cjs.map
66
66
  //# sourceMappingURL=index.cjs.map
@@ -1,13 +1,13 @@
1
- export { brands } from '../chunk-753ENNB6.js';
1
+ export { brands } from '../chunk-J3QEMZCH.js';
2
+ export { defaultBrand } from '../chunk-PSTGFXQG.js';
2
3
  export { enterpriseHealthBrand } from '../chunk-Q77TE5DZ.js';
3
4
  export { miewebBrand } from '../chunk-NERS5ZT6.js';
4
5
  export { wagglelineBrand } from '../chunk-2NTYAALC.js';
5
6
  export { webchartBrand } from '../chunk-CW66SO5O.js';
7
+ export { ccmeBrand } from '../chunk-SCQRJPSV.js';
6
8
  export { ozwellBrand } from '../chunk-5YUBQIC7.js';
7
- export { defaultBrand } from '../chunk-PSTGFXQG.js';
8
9
  export { createBrandPreset, generateBrandCSS, generateTailwindTheme } from '../chunk-5GOWFNQ6.js';
9
10
  export { bluehiveBrand } from '../chunk-PJEL5ZZV.js';
10
- export { ccmeBrand } from '../chunk-SCQRJPSV.js';
11
11
  import '../chunk-PX6F3LHL.js';
12
12
  //# sourceMappingURL=index.js.map
13
13
  //# sourceMappingURL=index.js.map
@@ -1107,6 +1107,7 @@ function ComposerSelector({
1107
1107
  options,
1108
1108
  value,
1109
1109
  onChange,
1110
+ actions,
1110
1111
  label,
1111
1112
  triggerLabel,
1112
1113
  icon,
@@ -1116,7 +1117,7 @@ function ComposerSelector({
1116
1117
  const [open, setOpen] = React__namespace.useState(false);
1117
1118
  if (disabled && open) setOpen(false);
1118
1119
  const selected = options.find((option) => option.id === value) ?? null;
1119
- return /* @__PURE__ */ jsxRuntime.jsx(
1120
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1120
1121
  chunkPINIBEIU_cjs.Dropdown,
1121
1122
  {
1122
1123
  placement: "top-start",
@@ -1138,32 +1139,49 @@ function ComposerSelector({
1138
1139
  ]
1139
1140
  }
1140
1141
  ),
1141
- children: options.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
1142
- chunkPINIBEIU_cjs.DropdownItem,
1143
- {
1144
- icon: option.icon,
1145
- role: "menuitemradio",
1146
- "aria-checked": option.id === value,
1147
- onClick: () => {
1148
- setOpen(false);
1149
- onChange?.(option.id);
1142
+ children: [
1143
+ options.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
1144
+ chunkPINIBEIU_cjs.DropdownItem,
1145
+ {
1146
+ icon: option.icon,
1147
+ role: "menuitemradio",
1148
+ "aria-checked": option.id === value,
1149
+ onClick: () => {
1150
+ setOpen(false);
1151
+ onChange?.(option.id);
1152
+ },
1153
+ children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full items-center justify-between gap-2", children: [
1154
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "min-w-0", children: [
1155
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate", children: option.label }),
1156
+ option.description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate text-xs text-neutral-500 dark:text-neutral-400", children: option.description })
1157
+ ] }),
1158
+ option.id === value && /* @__PURE__ */ jsxRuntime.jsx(
1159
+ chunkL7L5S2HO_cjs.Check,
1160
+ {
1161
+ className: "text-primary-600 dark:text-primary-400 h-4 w-4 shrink-0",
1162
+ "aria-hidden": "true"
1163
+ }
1164
+ )
1165
+ ] })
1150
1166
  },
1151
- children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full items-center justify-between gap-2", children: [
1152
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "min-w-0", children: [
1153
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate", children: option.label }),
1154
- option.description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate text-xs text-neutral-500 dark:text-neutral-400", children: option.description })
1155
- ] }),
1156
- option.id === value && /* @__PURE__ */ jsxRuntime.jsx(
1157
- chunkL7L5S2HO_cjs.Check,
1158
- {
1159
- className: "text-primary-600 dark:text-primary-400 h-4 w-4 shrink-0",
1160
- "aria-hidden": "true"
1161
- }
1162
- )
1163
- ] })
1164
- },
1165
- option.id
1166
- ))
1167
+ option.id
1168
+ )),
1169
+ actions && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1170
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPINIBEIU_cjs.DropdownSeparator, {}),
1171
+ actions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
1172
+ chunkPINIBEIU_cjs.DropdownItem,
1173
+ {
1174
+ icon: action.icon,
1175
+ onClick: () => {
1176
+ setOpen(false);
1177
+ action.onSelect();
1178
+ },
1179
+ children: action.label
1180
+ },
1181
+ action.id
1182
+ ))
1183
+ ] })
1184
+ ]
1167
1185
  }
1168
1186
  );
1169
1187
  }
@@ -2028,6 +2046,7 @@ exports.AttachmentPreviewItem = AttachmentPreviewItem;
2028
2046
  exports.CameraButton = CameraButton;
2029
2047
  exports.ChatComposer = ChatComposer;
2030
2048
  exports.ComposerModelSelector = ComposerModelSelector;
2049
+ exports.ComposerSelector = ComposerSelector;
2031
2050
  exports.DEFAULT_ACCEPTED_FILE_TYPES = DEFAULT_ACCEPTED_FILE_TYPES;
2032
2051
  exports.DEFAULT_MAX_FILE_SIZE = DEFAULT_MAX_FILE_SIZE;
2033
2052
  exports.DragDropZone = DragDropZone;
@@ -2035,5 +2054,5 @@ exports.generateAttachmentId = generateAttachmentId;
2035
2054
  exports.getFileType = getFileType;
2036
2055
  exports.notifyComposerMigrationOnce = notifyComposerMigrationOnce;
2037
2056
  exports.validateFile = validateFile;
2038
- //# sourceMappingURL=chunk-WGXJNCRG.cjs.map
2039
- //# sourceMappingURL=chunk-WGXJNCRG.cjs.map
2057
+ //# sourceMappingURL=chunk-2GBVJHWN.cjs.map
2058
+ //# sourceMappingURL=chunk-2GBVJHWN.cjs.map