@circutor/charts 0.1.0 → 0.3.0
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/bundler/index.d.ts +35 -0
- package/dist/bundler/index.js +1 -0
- package/dist/bundler/itic-chart.d.ts +11 -0
- package/dist/bundler/itic-chart.js +1 -0
- package/dist/charts/charts.esm.js +1 -1
- package/dist/charts/p-7d11d611.entry.js +25 -0
- package/dist/charts/p-BPCJmLvQ.js +3 -0
- package/dist/cjs/charts.cjs.js +2 -2
- package/dist/cjs/{index-_N-tWlJj.js → index-dJHivNOd.js} +21 -0
- package/dist/cjs/itic-chart.cjs.entry.js +489 -77
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/itic-chart/index.js +133 -6
- package/dist/collection/components/itic-chart/itic-chart.css +5 -0
- package/dist/collection/components/itic-chart/itic-chart.i18n.js +26 -0
- package/dist/collection/components/itic-chart/itic-chart.options.js +115 -32
- package/dist/collection/components/itic-chart/itic-chart.phases.js +55 -0
- package/dist/components/index.js +1 -1
- package/dist/components/itic-chart.js +3 -3
- package/dist/esm/charts.js +3 -3
- package/dist/esm/{index--cwjvYaF.js → index-BPCJmLvQ.js} +20 -1
- package/dist/esm/itic-chart.entry.js +489 -77
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/itic-chart/index.d.ts +29 -2
- package/dist/types/components/itic-chart/itic-chart.i18n.d.ts +13 -0
- package/dist/types/components/itic-chart/itic-chart.options.d.ts +53 -4
- package/dist/types/components/itic-chart/itic-chart.phases.d.ts +17 -0
- package/dist/types/components.d.ts +43 -4
- package/dist/types/index.d.ts +1 -1
- package/package.json +11 -7
- package/readme.md +273 -37
- package/dist/charts/p--cwjvYaF.js +0 -3
- package/dist/charts/p-35caac53.entry.js +0 -25
package/dist/esm/charts.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index
|
|
2
|
-
export { s as setNonce } from './index
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-BPCJmLvQ.js';
|
|
2
|
+
export { s as setNonce } from './index-BPCJmLvQ.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -17,5 +17,5 @@ var patchBrowser = () => {
|
|
|
17
17
|
|
|
18
18
|
patchBrowser().then(async (options) => {
|
|
19
19
|
await globalScripts();
|
|
20
|
-
return bootstrapLazy([["itic-chart",[[1,"itic-chart",{"groups":[1]},null,{"groups":[{"onGroupsChange":0}]}]]]], options);
|
|
20
|
+
return bootstrapLazy([["itic-chart",[[1,"itic-chart",{"groups":[1],"locale":[1],"timeZone":[1,"time-zone"]},null,{"groups":[{"onGroupsChange":0}],"locale":[{"onLocaleChange":0}],"timeZone":[{"onTimeZoneChange":0}]}]]]], options);
|
|
21
21
|
});
|
|
@@ -471,6 +471,25 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
|
471
471
|
}
|
|
472
472
|
return propValue;
|
|
473
473
|
};
|
|
474
|
+
var getElement = (ref) => {
|
|
475
|
+
var _a;
|
|
476
|
+
return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
// src/runtime/event-emitter.ts
|
|
480
|
+
var createEvent = (ref, name, flags) => {
|
|
481
|
+
const elm = getElement(ref);
|
|
482
|
+
return {
|
|
483
|
+
emit: (detail) => {
|
|
484
|
+
return emitEvent(elm, name, {
|
|
485
|
+
bubbles: true,
|
|
486
|
+
composed: true,
|
|
487
|
+
cancelable: true,
|
|
488
|
+
detail
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
};
|
|
474
493
|
var emitEvent = (elm, name, opts) => {
|
|
475
494
|
const ev = plt.ce(name, opts);
|
|
476
495
|
elm.dispatchEvent(ev);
|
|
@@ -1439,4 +1458,4 @@ function transformTag(tag) {
|
|
|
1439
1458
|
return tag;
|
|
1440
1459
|
}
|
|
1441
1460
|
|
|
1442
|
-
export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1461
|
+
export { bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|