@mieweb/ui 0.7.2-dev.3 → 0.7.2-dev.4
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/brands/index.cjs +17 -17
- package/dist/brands/index.js +4 -4
- package/dist/chunk-7C226TQI.js +76 -0
- package/dist/chunk-7C226TQI.js.map +1 -0
- package/dist/{chunk-VA7QN4DX.cjs → chunk-JDHIBJ5K.cjs} +2 -2
- package/dist/{chunk-VA7QN4DX.cjs.map → chunk-JDHIBJ5K.cjs.map} +1 -1
- package/dist/{chunk-BCJFOSZX.js → chunk-MO65V64I.js} +2 -2
- package/dist/{chunk-BCJFOSZX.js.map → chunk-MO65V64I.js.map} +1 -1
- package/dist/chunk-SEN7FIF3.cjs +158 -0
- package/dist/chunk-SEN7FIF3.cjs.map +1 -0
- package/dist/components/Q/index.cjs +109 -0
- package/dist/components/Q/index.cjs.map +1 -0
- package/dist/components/Q/index.d.cts +27 -0
- package/dist/components/Q/index.d.ts +27 -0
- package/dist/components/Q/index.js +4 -0
- package/dist/components/Q/index.js.map +1 -0
- package/dist/index.cjs +324 -324
- package/dist/index.js +19 -19
- package/dist/q.cjs +109 -0
- package/dist/q.cjs.map +1 -0
- package/dist/q.d.cts +5 -0
- package/dist/q.d.ts +5 -0
- package/dist/q.js +4 -0
- package/dist/q.js.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +19 -4
package/dist/brands/index.cjs
CHANGED
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJDHIBJ5K_cjs = require('../chunk-JDHIBJ5K.cjs');
|
|
4
|
+
var chunkP52GA3GJ_cjs = require('../chunk-P52GA3GJ.cjs');
|
|
5
|
+
var chunkLCQGAOAZ_cjs = require('../chunk-LCQGAOAZ.cjs');
|
|
4
6
|
var chunkZ5J4NTPL_cjs = require('../chunk-Z5J4NTPL.cjs');
|
|
5
7
|
var chunkU7VQUOLS_cjs = require('../chunk-U7VQUOLS.cjs');
|
|
8
|
+
var chunkRR2MJBGV_cjs = require('../chunk-RR2MJBGV.cjs');
|
|
6
9
|
var chunkX7S76WB7_cjs = require('../chunk-X7S76WB7.cjs');
|
|
7
|
-
var chunkP52GA3GJ_cjs = require('../chunk-P52GA3GJ.cjs');
|
|
8
|
-
var chunkLCQGAOAZ_cjs = require('../chunk-LCQGAOAZ.cjs');
|
|
9
10
|
var chunkJ644FU54_cjs = require('../chunk-J644FU54.cjs');
|
|
10
11
|
var chunkWNJRS7Y7_cjs = require('../chunk-WNJRS7Y7.cjs');
|
|
11
12
|
var chunkUCGUA3QV_cjs = require('../chunk-UCGUA3QV.cjs');
|
|
12
|
-
var chunkRR2MJBGV_cjs = require('../chunk-RR2MJBGV.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "brands", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkJDHIBJ5K_cjs.brands; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "enterpriseHealthBrand", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkP52GA3GJ_cjs.enterpriseHealthBrand; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "miewebBrand", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkLCQGAOAZ_cjs.miewebBrand; }
|
|
19
27
|
});
|
|
20
28
|
Object.defineProperty(exports, "wagglelineBrand", {
|
|
21
29
|
enumerable: true,
|
|
@@ -25,17 +33,13 @@ Object.defineProperty(exports, "webchartBrand", {
|
|
|
25
33
|
enumerable: true,
|
|
26
34
|
get: function () { return chunkU7VQUOLS_cjs.webchartBrand; }
|
|
27
35
|
});
|
|
28
|
-
Object.defineProperty(exports, "
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunkX7S76WB7_cjs.defaultBrand; }
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "enterpriseHealthBrand", {
|
|
36
|
+
Object.defineProperty(exports, "ozwellBrand", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkRR2MJBGV_cjs.ozwellBrand; }
|
|
35
39
|
});
|
|
36
|
-
Object.defineProperty(exports, "
|
|
40
|
+
Object.defineProperty(exports, "defaultBrand", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkX7S76WB7_cjs.defaultBrand; }
|
|
39
43
|
});
|
|
40
44
|
Object.defineProperty(exports, "createBrandPreset", {
|
|
41
45
|
enumerable: true,
|
|
@@ -57,9 +61,5 @@ Object.defineProperty(exports, "ccmeBrand", {
|
|
|
57
61
|
enumerable: true,
|
|
58
62
|
get: function () { return chunkUCGUA3QV_cjs.ccmeBrand; }
|
|
59
63
|
});
|
|
60
|
-
Object.defineProperty(exports, "ozwellBrand", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () { return chunkRR2MJBGV_cjs.ozwellBrand; }
|
|
63
|
-
});
|
|
64
64
|
//# sourceMappingURL=index.cjs.map
|
|
65
65
|
//# sourceMappingURL=index.cjs.map
|
package/dist/brands/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { brands } from '../chunk-
|
|
1
|
+
export { brands } from '../chunk-MO65V64I.js';
|
|
2
|
+
export { enterpriseHealthBrand } from '../chunk-MTZPVOP6.js';
|
|
3
|
+
export { miewebBrand } from '../chunk-NERS5ZT6.js';
|
|
2
4
|
export { wagglelineBrand } from '../chunk-2NTYAALC.js';
|
|
3
5
|
export { webchartBrand } from '../chunk-CW66SO5O.js';
|
|
6
|
+
export { ozwellBrand } from '../chunk-5YUBQIC7.js';
|
|
4
7
|
export { defaultBrand } from '../chunk-PSTGFXQG.js';
|
|
5
|
-
export { enterpriseHealthBrand } from '../chunk-MTZPVOP6.js';
|
|
6
|
-
export { miewebBrand } from '../chunk-NERS5ZT6.js';
|
|
7
8
|
export { createBrandPreset, generateBrandCSS, generateTailwindTheme } from '../chunk-WOYUQ4AT.js';
|
|
8
9
|
export { bluehiveBrand } from '../chunk-3T7QGLNB.js';
|
|
9
10
|
export { ccmeBrand } from '../chunk-SCQRJPSV.js';
|
|
10
|
-
export { ozwellBrand } from '../chunk-5YUBQIC7.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { cn } from './chunk-TQONQSJO.js';
|
|
2
|
+
import { deriveDefaultConfig, defaultSchema, AgentConfigGenerator } from '@mieweb/q';
|
|
3
|
+
export { AgentConfigGenerator, ConfigEditor, FormBuilder, GENERIC_TOOLS, Header, TIMEZONES, ToolBuilder, configToQuestionnaire, configToYaml, copyToClipboard, defaultSchema, deriveDefaultConfig, downloadConfig, questionnaireToConfig, validateConfig, yamlToConfig } from '@mieweb/q';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
export { UniversalAgentConfigGenerator, brands, generateBrandCSS } from '@mieweb/q/universal';
|
|
6
|
+
|
|
7
|
+
function Q({ className, style, ...props }) {
|
|
8
|
+
return /* @__PURE__ */ jsx(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
"data-slot": "q",
|
|
12
|
+
className: cn("h-full min-h-0 w-full", className),
|
|
13
|
+
style,
|
|
14
|
+
children: /* @__PURE__ */ jsx(AgentConfigGenerator, { ...props })
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
var qTwilioAgentSchema = defaultSchema;
|
|
19
|
+
var qAgentSchema = {
|
|
20
|
+
schemaType: "mieforms-v1.0",
|
|
21
|
+
title: "Agent Configuration",
|
|
22
|
+
fields: [
|
|
23
|
+
{
|
|
24
|
+
id: "sec-basic",
|
|
25
|
+
fieldType: "section",
|
|
26
|
+
title: "Basic Info",
|
|
27
|
+
fields: [
|
|
28
|
+
{
|
|
29
|
+
id: "name",
|
|
30
|
+
fieldType: "text",
|
|
31
|
+
question: "Agent Name",
|
|
32
|
+
answer: "New Agent",
|
|
33
|
+
required: false
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
id: "instructions",
|
|
37
|
+
fieldType: "longtext",
|
|
38
|
+
question: "Instructions",
|
|
39
|
+
answer: "You are a helpful assistant.",
|
|
40
|
+
required: false
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: "sec-generation",
|
|
46
|
+
fieldType: "section",
|
|
47
|
+
title: "Generation Settings",
|
|
48
|
+
fields: [
|
|
49
|
+
{
|
|
50
|
+
id: "temperature",
|
|
51
|
+
fieldType: "text",
|
|
52
|
+
question: "Temperature (0.0 - 1.0)",
|
|
53
|
+
answer: "0.7",
|
|
54
|
+
required: false,
|
|
55
|
+
configType: "number"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
};
|
|
61
|
+
var qLandingPageAgentConfig = {
|
|
62
|
+
...deriveDefaultConfig(qAgentSchema),
|
|
63
|
+
name: "Landing Page Assistant",
|
|
64
|
+
instructions: "You are a helpful assistant for a demo page that shows user profile information (name, address, zip code). When the user asks about their current information or details, call the appropriate tool.",
|
|
65
|
+
temperature: 0.7
|
|
66
|
+
};
|
|
67
|
+
function createQAgentConfig() {
|
|
68
|
+
return deriveDefaultConfig(qAgentSchema);
|
|
69
|
+
}
|
|
70
|
+
function createQTwilioAgentConfig() {
|
|
71
|
+
return deriveDefaultConfig(qTwilioAgentSchema);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export { Q, createQAgentConfig, createQTwilioAgentConfig, qAgentSchema, qLandingPageAgentConfig, qTwilioAgentSchema };
|
|
75
|
+
//# sourceMappingURL=chunk-7C226TQI.js.map
|
|
76
|
+
//# sourceMappingURL=chunk-7C226TQI.js.map
|
|
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UACX,QAAA,EAAU,yBAAA;AAAA,UACV,MAAA,EAAQ,KAAA;AAAA,UACR,QAAA,EAAU,KAAA;AAAA,UACV,UAAA,EAAY;AAAA;AACd;AACF;AACF;AAEJ;AAEO,IAAM,uBAAA,GAAmC;AAAA,EAC9C,GAAG,oBAAoB,YAAY,CAAA;AAAA,EACnC,IAAA,EAAM,wBAAA;AAAA,EACN,YAAA,EACE,sMAAA;AAAA,EACF,WAAA,EAAa;AACf;AAEO,SAAS,kBAAA,GAAqB;AACnC,EAAA,OAAO,oBAAoB,YAAY,CAAA;AACzC;AAEO,SAAS,wBAAA,GAA2B;AACzC,EAAA,OAAO,oBAAoB,kBAAkB,CAAA;AAC/C","file":"chunk-7C226TQI.js","sourcesContent":["import type * as React from 'react';\nimport {\n AgentConfigGenerator,\n type AgentConfigGeneratorProps,\n type QConfig,\n type QSchema,\n} from '@mieweb/q';\nimport { cn } from '../../utils/cn';\n\nexport type { QConfig, QSchema };\n\nexport interface QProps extends AgentConfigGeneratorProps {\n /** Additional class name for the Q container. */\n className?: string;\n /** Inline styles for the Q container. */\n style?: React.CSSProperties;\n}\n\n/**\n * Q is the agent config generator form surface.\n *\n * It wraps the published @mieweb/q form generator so it can be consumed through\n * @mieweb/ui/q while keeping Q's heavier dependencies out of the main UI entry.\n */\nexport function Q({ className, style, ...props }: QProps) {\n return (\n <div\n data-slot=\"q\"\n className={cn('h-full min-h-0 w-full', className)}\n style={style}\n >\n <AgentConfigGenerator {...props} />\n </div>\n );\n}\n","import {\n defaultSchema,\n deriveDefaultConfig,\n type QConfig,\n type QSchema,\n} from '@mieweb/q';\n\nexport const qTwilioAgentSchema = defaultSchema;\n\nexport const qAgentSchema: QSchema = {\n schemaType: 'mieforms-v1.0',\n title: 'Agent Configuration',\n fields: [\n {\n id: 'sec-basic',\n fieldType: 'section',\n title: 'Basic Info',\n fields: [\n {\n id: 'name',\n fieldType: 'text',\n question: 'Agent Name',\n answer: 'New Agent',\n required: false,\n },\n {\n id: 'instructions',\n fieldType: 'longtext',\n question: 'Instructions',\n answer: 'You are a helpful assistant.',\n required: false,\n },\n ],\n },\n {\n id: 'sec-generation',\n fieldType: 'section',\n title: 'Generation Settings',\n fields: [\n {\n id: 'temperature',\n fieldType: 'text',\n question: 'Temperature (0.0 - 1.0)',\n answer: '0.7',\n required: false,\n configType: 'number',\n },\n ],\n },\n ],\n};\n\nexport const qLandingPageAgentConfig: QConfig = {\n ...deriveDefaultConfig(qAgentSchema),\n name: 'Landing Page Assistant',\n instructions:\n 'You are a helpful assistant for a demo page that shows user profile information (name, address, zip code). When the user asks about their current information or details, call the appropriate tool.',\n temperature: 0.7,\n};\n\nexport function createQAgentConfig() {\n return deriveDefaultConfig(qAgentSchema);\n}\n\nexport function createQTwilioAgentConfig() {\n return deriveDefaultConfig(qTwilioAgentSchema);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/brands/index.ts"],"names":[],"mappings":";;;AAkCO,IAAM,MAAA,GAAS;AAAA,EACpB,QAAA,EAAU,MAAM,OAAO,uBAAY,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,aAAa,CAAA;AAAA,EAChE,IAAA,EAAM,MAAM,OAAO,mBAAQ,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,SAAS,CAAA;AAAA,EACpD,OAAA,EAAS,MAAM,OAAO,wBAAW,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,YAAY,CAAA;AAAA,EAC7D,mBAAA,EAAqB,MACnB,OAAO,kCAAqB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,qBAAqB,CAAA;AAAA,EACnE,MAAA,EAAQ,MAAM,OAAO,uBAAU,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,WAAW,CAAA;AAAA,EAC1D,MAAA,EAAQ,MAAM,OAAO,qBAAU,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,C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related types, utilities, and configurations.\n */\n\n// Types and utilities\nexport type {\n BrandConfig,\n BrandColors,\n BrandTypography,\n BrandBorderRadius,\n BrandBoxShadow,\n ColorScale,\n SemanticColors,\n} from './types';\n\nexport {\n generateBrandCSS,\n generateTailwindTheme,\n createBrandPreset,\n} from './types';\n\n// Brand configurations\nexport { bluehiveBrand } from './bluehive';\nexport { ccmeBrand } from './ccme';\nexport { defaultBrand } from './default';\nexport { enterpriseHealthBrand } from './enterprise-health';\nexport { miewebBrand } from './mieweb';\nexport { ozwellBrand } from './ozwell';\nexport { wagglelineBrand } from './waggleline';\nexport { webchartBrand } from './webchart';\n\n// All brands for iteration\nexport const brands = {\n bluehive: () => import('./bluehive').then((m) => m.bluehiveBrand),\n ccme: () => import('./ccme').then((m) => m.ccmeBrand),\n default: () => import('./default').then((m) => m.defaultBrand),\n 'enterprise-health': () =>\n import('./enterprise-health').then((m) => m.enterpriseHealthBrand),\n mieweb: () => import('./mieweb').then((m) => m.miewebBrand),\n ozwell: () => import('./ozwell').then((m) => m.ozwellBrand),\n waggleline: () => import('./waggleline').then((m) => m.wagglelineBrand),\n webchart: () => import('./webchart').then((m) => m.webchartBrand),\n} as const;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/brands/index.ts"],"names":[],"mappings":";AAkCO,IAAM,MAAA,GAAS;AAAA,EACpB,QAAA,EAAU,MAAM,OAAO,sBAAY,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,aAAa,CAAA;AAAA,EAChE,IAAA,EAAM,MAAM,OAAO,kBAAQ,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,SAAS,CAAA;AAAA,EACpD,OAAA,EAAS,MAAM,OAAO,uBAAW,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,YAAY,CAAA;AAAA,EAC7D,mBAAA,EAAqB,MACnB,OAAO,iCAAqB,EAAE,IAAA,CAAK,CAAC,CAAA,KA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CAAC,CAAA,KAAM,CAAA,CAAE,eAAe,CAAA;AAAA,EACtE,QAAA,EAAU,MAAM,OAAO,wBAAY,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,aAAa;AAClE","file":"chunk-MO65V64I.js","sourcesContent":["/**\n * @mieweb/ui Brand System\n *\n * Export all brand-related types, utilities, and configurations.\n */\n\n// Types and utilities\nexport type {\n BrandConfig,\n BrandColors,\n BrandTypography,\n BrandBorderRadius,\n BrandBoxShadow,\n ColorScale,\n SemanticColors,\n} from './types';\n\nexport {\n generateBrandCSS,\n generateTailwindTheme,\n createBrandPreset,\n} from './types';\n\n// Brand configurations\nexport { bluehiveBrand } from './bluehive';\nexport { ccmeBrand } from './ccme';\nexport { defaultBrand } from './default';\nexport { enterpriseHealthBrand } from './enterprise-health';\nexport { miewebBrand } from './mieweb';\nexport { ozwellBrand } from './ozwell';\nexport { wagglelineBrand } from './waggleline';\nexport { webchartBrand } from './webchart';\n\n// All brands for iteration\nexport const brands = {\n bluehive: () => import('./bluehive').then((m) => m.bluehiveBrand),\n ccme: () => import('./ccme').then((m) => m.ccmeBrand),\n default: () => import('./default').then((m) => m.defaultBrand),\n 'enterprise-health': () =>\n import('./enterprise-health').then((m) => m.enterpriseHealthBrand),\n mieweb: () => import('./mieweb').then((m) => m.miewebBrand),\n ozwell: () => import('./ozwell').then((m) => m.ozwellBrand),\n waggleline: () => import('./waggleline').then((m) => m.wagglelineBrand),\n webchart: () => import('./webchart').then((m) => m.webchartBrand),\n} as const;\n"]}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkS5RVSXDV_cjs = require('./chunk-S5RVSXDV.cjs');
|
|
4
|
+
var q = require('@mieweb/q');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var universal = require('@mieweb/q/universal');
|
|
7
|
+
|
|
8
|
+
function Q({ className, style, ...props }) {
|
|
9
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
"data-slot": "q",
|
|
13
|
+
className: chunkS5RVSXDV_cjs.cn("h-full min-h-0 w-full", className),
|
|
14
|
+
style,
|
|
15
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(q.AgentConfigGenerator, { ...props })
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
var qTwilioAgentSchema = q.defaultSchema;
|
|
20
|
+
var qAgentSchema = {
|
|
21
|
+
schemaType: "mieforms-v1.0",
|
|
22
|
+
title: "Agent Configuration",
|
|
23
|
+
fields: [
|
|
24
|
+
{
|
|
25
|
+
id: "sec-basic",
|
|
26
|
+
fieldType: "section",
|
|
27
|
+
title: "Basic Info",
|
|
28
|
+
fields: [
|
|
29
|
+
{
|
|
30
|
+
id: "name",
|
|
31
|
+
fieldType: "text",
|
|
32
|
+
question: "Agent Name",
|
|
33
|
+
answer: "New Agent",
|
|
34
|
+
required: false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: "instructions",
|
|
38
|
+
fieldType: "longtext",
|
|
39
|
+
question: "Instructions",
|
|
40
|
+
answer: "You are a helpful assistant.",
|
|
41
|
+
required: false
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: "sec-generation",
|
|
47
|
+
fieldType: "section",
|
|
48
|
+
title: "Generation Settings",
|
|
49
|
+
fields: [
|
|
50
|
+
{
|
|
51
|
+
id: "temperature",
|
|
52
|
+
fieldType: "text",
|
|
53
|
+
question: "Temperature (0.0 - 1.0)",
|
|
54
|
+
answer: "0.7",
|
|
55
|
+
required: false,
|
|
56
|
+
configType: "number"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
};
|
|
62
|
+
var qLandingPageAgentConfig = {
|
|
63
|
+
...q.deriveDefaultConfig(qAgentSchema),
|
|
64
|
+
name: "Landing Page Assistant",
|
|
65
|
+
instructions: "You are a helpful assistant for a demo page that shows user profile information (name, address, zip code). When the user asks about their current information or details, call the appropriate tool.",
|
|
66
|
+
temperature: 0.7
|
|
67
|
+
};
|
|
68
|
+
function createQAgentConfig() {
|
|
69
|
+
return q.deriveDefaultConfig(qAgentSchema);
|
|
70
|
+
}
|
|
71
|
+
function createQTwilioAgentConfig() {
|
|
72
|
+
return q.deriveDefaultConfig(qTwilioAgentSchema);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
Object.defineProperty(exports, "AgentConfigGenerator", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return q.AgentConfigGenerator; }
|
|
78
|
+
});
|
|
79
|
+
Object.defineProperty(exports, "ConfigEditor", {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () { return q.ConfigEditor; }
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "FormBuilder", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () { return q.FormBuilder; }
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(exports, "GENERIC_TOOLS", {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function () { return q.GENERIC_TOOLS; }
|
|
90
|
+
});
|
|
91
|
+
Object.defineProperty(exports, "Header", {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
get: function () { return q.Header; }
|
|
94
|
+
});
|
|
95
|
+
Object.defineProperty(exports, "TIMEZONES", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () { return q.TIMEZONES; }
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "ToolBuilder", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return q.ToolBuilder; }
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(exports, "configToQuestionnaire", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () { return q.configToQuestionnaire; }
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, "configToYaml", {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () { return q.configToYaml; }
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(exports, "copyToClipboard", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function () { return q.copyToClipboard; }
|
|
114
|
+
});
|
|
115
|
+
Object.defineProperty(exports, "defaultSchema", {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function () { return q.defaultSchema; }
|
|
118
|
+
});
|
|
119
|
+
Object.defineProperty(exports, "deriveDefaultConfig", {
|
|
120
|
+
enumerable: true,
|
|
121
|
+
get: function () { return q.deriveDefaultConfig; }
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "downloadConfig", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () { return q.downloadConfig; }
|
|
126
|
+
});
|
|
127
|
+
Object.defineProperty(exports, "questionnaireToConfig", {
|
|
128
|
+
enumerable: true,
|
|
129
|
+
get: function () { return q.questionnaireToConfig; }
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(exports, "validateConfig", {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () { return q.validateConfig; }
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(exports, "yamlToConfig", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () { return q.yamlToConfig; }
|
|
138
|
+
});
|
|
139
|
+
Object.defineProperty(exports, "UniversalAgentConfigGenerator", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function () { return universal.UniversalAgentConfigGenerator; }
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, "brands", {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () { return universal.brands; }
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "generateBrandCSS", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () { return universal.generateBrandCSS; }
|
|
150
|
+
});
|
|
151
|
+
exports.Q = Q;
|
|
152
|
+
exports.createQAgentConfig = createQAgentConfig;
|
|
153
|
+
exports.createQTwilioAgentConfig = createQTwilioAgentConfig;
|
|
154
|
+
exports.qAgentSchema = qAgentSchema;
|
|
155
|
+
exports.qLandingPageAgentConfig = qLandingPageAgentConfig;
|
|
156
|
+
exports.qTwilioAgentSchema = qTwilioAgentSchema;
|
|
157
|
+
//# sourceMappingURL=chunk-SEN7FIF3.cjs.map
|
|
158
|
+
//# sourceMappingURL=chunk-SEN7FIF3.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Q/Q.tsx","../src/components/Q/presets.ts"],"names":["jsx","cn","AgentConfigGenerator","defaultSchema","deriveDefaultConfig"],"mappings":";;;;;;;AAwBO,SAAS,EAAE,EAAE,SAAA,EAAW,KAAA,EAAO,GAAG,OAAM,EAAW;AACxD,EAAA,uBACEA,cAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,WAAA,EAAU,GAAA;AAAA,MACV,SAAA,EAAWC,oBAAA,CAAG,uBAAA,EAAyB,SAAS,CAAA;AAAA,MAChD,KAAA;AAAA,MAEA,QAAA,kBAAAD,cAAA,CAACE,sBAAA,EAAA,EAAsB,GAAG,KAAA,EAAO;AAAA;AAAA,GACnC;AAEJ;AC3BO,IAAM,kBAAA,GAAqBC;AAE3B,IAAM,YAAA,GAAwB;AAAA,EACnC,UAAA,EAAY,eAAA;AAAA,EACZ,KAAA,EAAO,qBAAA;AAAA,EACP,MAAA,EAAQ;AAAA,IACN;AAAA,MACE,EAAA,EAAI,WAAA;AAAA,MACJ,SAAA,EAAW,SAAA;AAAA,MACX,KAAA,EAAO,YAAA;AAAA,MACP,MAAA,EAAQ;AAAA,QACN;AAAA,UACE,EAAA,EAAI,MAAA;AAAA,UACJ,SAAA,EAAW,MAAA;AAAA,UACX,QAAA,EAAU,YAAA;AAAA,UACV,MAAA,EAAQ,WAAA;AAAA,UACR,QAAA,EAAU;AAAA,SACZ;AAAA,QACA;AAAA,UACE,EAAA,EAAI,cAAA;AAAA,UACJ,SAAA,EAAW,UAAA;AAAA,UACX,QAAA,EAAU,cAAA;AAAA,UACV,MAAA,EAAQ,8BAAA;AAAA,UACR,QAAA,EAAU;AAAA;AACZ;AACF,KACF;AAAA,IACA;AAAA,MACE,EAAA,EAAI,gBAAA;AAAA,MACJ,SAAA,EAAW,SAAA;AAAA,MACX,KAAA,EAAO,qBAAA;AAAA,MACP,MAAA,EAAQ;AAAA,QACN;AAAA,UACE,EAAA,EAAI,aAAA;AAAA,UACJ,SAAA,EAAW,MAAA;AAAA,UACX,QAAA,EAAU,yBAAA;AAAA,UACV,MAAA,EAAQ,KAAA;AAAA,UACR,QAAA,EAAU,KAAA;AAAA,UACV,UAAA,EAAY;AAAA;AACd;AACF;AACF;AAEJ;AAEO,IAAM,uBAAA,GAAmC;AAAA,EAC9C,GAAGC,sBAAoB,YAAY,CAAA;AAAA,EACnC,IAAA,EAAM,wBAAA;AAAA,EACN,YAAA,EACE,sMAAA;AAAA,EACF,WAAA,EAAa;AACf;AAEO,SAAS,kBAAA,GAAqB;AACnC,EAAA,OAAOA,sBAAoB,YAAY,CAAA;AACzC;AAEO,SAAS,wBAAA,GAA2B;AACzC,EAAA,OAAOA,sBAAoB,kBAAkB,CAAA;AAC/C","file":"chunk-SEN7FIF3.cjs","sourcesContent":["import type * as React from 'react';\nimport {\n AgentConfigGenerator,\n type AgentConfigGeneratorProps,\n type QConfig,\n type QSchema,\n} from '@mieweb/q';\nimport { cn } from '../../utils/cn';\n\nexport type { QConfig, QSchema };\n\nexport interface QProps extends AgentConfigGeneratorProps {\n /** Additional class name for the Q container. */\n className?: string;\n /** Inline styles for the Q container. */\n style?: React.CSSProperties;\n}\n\n/**\n * Q is the agent config generator form surface.\n *\n * It wraps the published @mieweb/q form generator so it can be consumed through\n * @mieweb/ui/q while keeping Q's heavier dependencies out of the main UI entry.\n */\nexport function Q({ className, style, ...props }: QProps) {\n return (\n <div\n data-slot=\"q\"\n className={cn('h-full min-h-0 w-full', className)}\n style={style}\n >\n <AgentConfigGenerator {...props} />\n </div>\n );\n}\n","import {\n defaultSchema,\n deriveDefaultConfig,\n type QConfig,\n type QSchema,\n} from '@mieweb/q';\n\nexport const qTwilioAgentSchema = defaultSchema;\n\nexport const qAgentSchema: QSchema = {\n schemaType: 'mieforms-v1.0',\n title: 'Agent Configuration',\n fields: [\n {\n id: 'sec-basic',\n fieldType: 'section',\n title: 'Basic Info',\n fields: [\n {\n id: 'name',\n fieldType: 'text',\n question: 'Agent Name',\n answer: 'New Agent',\n required: false,\n },\n {\n id: 'instructions',\n fieldType: 'longtext',\n question: 'Instructions',\n answer: 'You are a helpful assistant.',\n required: false,\n },\n ],\n },\n {\n id: 'sec-generation',\n fieldType: 'section',\n title: 'Generation Settings',\n fields: [\n {\n id: 'temperature',\n fieldType: 'text',\n question: 'Temperature (0.0 - 1.0)',\n answer: '0.7',\n required: false,\n configType: 'number',\n },\n ],\n },\n ],\n};\n\nexport const qLandingPageAgentConfig: QConfig = {\n ...deriveDefaultConfig(qAgentSchema),\n name: 'Landing Page Assistant',\n instructions:\n 'You are a helpful assistant for a demo page that shows user profile information (name, address, zip code). When the user asks about their current information or details, call the appropriate tool.',\n temperature: 0.7,\n};\n\nexport function createQAgentConfig() {\n return deriveDefaultConfig(qAgentSchema);\n}\n\nexport function createQTwilioAgentConfig() {\n return deriveDefaultConfig(qTwilioAgentSchema);\n}\n"]}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkSEN7FIF3_cjs = require('../../chunk-SEN7FIF3.cjs');
|
|
4
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "AgentConfigGenerator", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkSEN7FIF3_cjs.AgentConfigGenerator; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "ConfigEditor", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkSEN7FIF3_cjs.ConfigEditor; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "FormBuilder", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkSEN7FIF3_cjs.FormBuilder; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "GENERIC_TOOLS", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkSEN7FIF3_cjs.GENERIC_TOOLS; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "Header", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkSEN7FIF3_cjs.Header; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "Q", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkSEN7FIF3_cjs.Q; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "TIMEZONES", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkSEN7FIF3_cjs.TIMEZONES; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "ToolBuilder", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkSEN7FIF3_cjs.ToolBuilder; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "UniversalAgentConfigGenerator", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkSEN7FIF3_cjs.UniversalAgentConfigGenerator; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "brands", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkSEN7FIF3_cjs.brands; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "configToQuestionnaire", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkSEN7FIF3_cjs.configToQuestionnaire; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "configToYaml", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkSEN7FIF3_cjs.configToYaml; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "copyToClipboard", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkSEN7FIF3_cjs.copyToClipboard; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "createQAgentConfig", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkSEN7FIF3_cjs.createQAgentConfig; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "createQTwilioAgentConfig", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkSEN7FIF3_cjs.createQTwilioAgentConfig; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "defaultSchema", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkSEN7FIF3_cjs.defaultSchema; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "deriveDefaultConfig", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkSEN7FIF3_cjs.deriveDefaultConfig; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "downloadConfig", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkSEN7FIF3_cjs.downloadConfig; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "generateBrandCSS", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkSEN7FIF3_cjs.generateBrandCSS; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "qAgentSchema", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkSEN7FIF3_cjs.qAgentSchema; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "qLandingPageAgentConfig", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkSEN7FIF3_cjs.qLandingPageAgentConfig; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "qTwilioAgentSchema", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkSEN7FIF3_cjs.qTwilioAgentSchema; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "questionnaireToConfig", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkSEN7FIF3_cjs.questionnaireToConfig; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "validateConfig", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkSEN7FIF3_cjs.validateConfig; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "yamlToConfig", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkSEN7FIF3_cjs.yamlToConfig; }
|
|
107
|
+
});
|
|
108
|
+
//# sourceMappingURL=index.cjs.map
|
|
109
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AgentConfigGeneratorProps, QConfig, QSchema } from '@mieweb/q';
|
|
2
|
+
export { AgentConfigGenerator, AgentConfigGeneratorProps, ConfigEditor, ConfigEditorProps, FormBuilder, FormBuilderProps, GENERIC_TOOLS, Header, HeaderProps, QConfig, QDownloadMode, QSchema, TIMEZONES, ToolBuilder, ToolBuilderProps, configToQuestionnaire, configToYaml, copyToClipboard, defaultSchema, deriveDefaultConfig, downloadConfig, questionnaireToConfig, validateConfig, yamlToConfig } from '@mieweb/q';
|
|
3
|
+
export { UniversalAgentConfigGenerator, UniversalAgentConfigGeneratorOptions, brands, generateBrandCSS } from '@mieweb/q/universal';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
|
|
7
|
+
interface QProps extends AgentConfigGeneratorProps {
|
|
8
|
+
/** Additional class name for the Q container. */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Inline styles for the Q container. */
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Q is the agent config generator form surface.
|
|
15
|
+
*
|
|
16
|
+
* It wraps the published @mieweb/q form generator so it can be consumed through
|
|
17
|
+
* @mieweb/ui/q while keeping Q's heavier dependencies out of the main UI entry.
|
|
18
|
+
*/
|
|
19
|
+
declare function Q({ className, style, ...props }: QProps): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
declare const qTwilioAgentSchema: QSchema;
|
|
22
|
+
declare const qAgentSchema: QSchema;
|
|
23
|
+
declare const qLandingPageAgentConfig: QConfig;
|
|
24
|
+
declare function createQAgentConfig(): QConfig;
|
|
25
|
+
declare function createQTwilioAgentConfig(): QConfig;
|
|
26
|
+
|
|
27
|
+
export { Q, type QProps, createQAgentConfig, createQTwilioAgentConfig, qAgentSchema, qLandingPageAgentConfig, qTwilioAgentSchema };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AgentConfigGeneratorProps, QConfig, QSchema } from '@mieweb/q';
|
|
2
|
+
export { AgentConfigGenerator, AgentConfigGeneratorProps, ConfigEditor, ConfigEditorProps, FormBuilder, FormBuilderProps, GENERIC_TOOLS, Header, HeaderProps, QConfig, QDownloadMode, QSchema, TIMEZONES, ToolBuilder, ToolBuilderProps, configToQuestionnaire, configToYaml, copyToClipboard, defaultSchema, deriveDefaultConfig, downloadConfig, questionnaireToConfig, validateConfig, yamlToConfig } from '@mieweb/q';
|
|
3
|
+
export { UniversalAgentConfigGenerator, UniversalAgentConfigGeneratorOptions, brands, generateBrandCSS } from '@mieweb/q/universal';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
|
|
7
|
+
interface QProps extends AgentConfigGeneratorProps {
|
|
8
|
+
/** Additional class name for the Q container. */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Inline styles for the Q container. */
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Q is the agent config generator form surface.
|
|
15
|
+
*
|
|
16
|
+
* It wraps the published @mieweb/q form generator so it can be consumed through
|
|
17
|
+
* @mieweb/ui/q while keeping Q's heavier dependencies out of the main UI entry.
|
|
18
|
+
*/
|
|
19
|
+
declare function Q({ className, style, ...props }: QProps): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
declare const qTwilioAgentSchema: QSchema;
|
|
22
|
+
declare const qAgentSchema: QSchema;
|
|
23
|
+
declare const qLandingPageAgentConfig: QConfig;
|
|
24
|
+
declare function createQAgentConfig(): QConfig;
|
|
25
|
+
declare function createQTwilioAgentConfig(): QConfig;
|
|
26
|
+
|
|
27
|
+
export { Q, type QProps, createQAgentConfig, createQTwilioAgentConfig, qAgentSchema, qLandingPageAgentConfig, qTwilioAgentSchema };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { AgentConfigGenerator, ConfigEditor, FormBuilder, GENERIC_TOOLS, Header, Q, TIMEZONES, ToolBuilder, UniversalAgentConfigGenerator, brands, configToQuestionnaire, configToYaml, copyToClipboard, createQAgentConfig, createQTwilioAgentConfig, defaultSchema, deriveDefaultConfig, downloadConfig, generateBrandCSS, qAgentSchema, qLandingPageAgentConfig, qTwilioAgentSchema, questionnaireToConfig, validateConfig, yamlToConfig } from '../../chunk-7C226TQI.js';
|
|
2
|
+
import '../../chunk-TQONQSJO.js';
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|