@kumori/aurora-wui-components 0.0.295-dev4335.3 → 0.0.295
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/components/axebow-underline-tab-selector/axebow-underline-tab-selector.d.ts.map +1 -1
- package/dist/components/table-chart/table-chart.d.ts +0 -1
- package/dist/components/table-chart/table-chart.d.ts.map +1 -1
- package/dist/index.js +1 -46
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/components/axebow-underline-tab-selector/axebow-underline-tab-selector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-underline-tab-selector.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-underline-tab-selector/axebow-underline-tab-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAkB,MAAM,KAAK,CAAC;AAKvD,qBACa,0BAA2B,SAAQ,UAAU;IACT,QAAQ,UAAS;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEtC,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,YAAY,CAAiB;IAE9C,OAAO,CAAC,SAAS,CAAiC;IAElD,MAAM,CAAC,MAAM,4BAgBX;IAEF,iBAAiB;IAOjB,oBAAoB;IAKpB,SAAS,CAAC,YAAY;IAItB,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"axebow-underline-tab-selector.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-underline-tab-selector/axebow-underline-tab-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAkB,MAAM,KAAK,CAAC;AAKvD,qBACa,0BAA2B,SAAQ,UAAU;IACT,QAAQ,UAAS;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEtC,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,YAAY,CAAiB;IAE9C,OAAO,CAAC,SAAS,CAAiC;IAElD,MAAM,CAAC,MAAM,4BAgBX;IAEF,iBAAiB;IAOjB,oBAAoB;IAKpB,SAAS,CAAC,YAAY;IAItB,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IASzD,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,UAAU;IAMlB,MAAM;CAkCP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-chart.d.ts","sourceRoot":"","sources":["../../../src/components/table-chart/table-chart.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAIvD,qBACa,UAAW,SAAQ,UAAU;IACZ,SAAS,EAAE,MAAM,iBAAiB,CAAU;IAC5C,OAAO,SAAM;IACd,WAAW,EAAE,MAAM,EAAE,CAAM;IACtB,aAAa,EAAE,YAAY,EAAE,CAAM;IACnC,YAAY,EAAE,YAAY,CAAM;IACpC,MAAM,SAAU;IAE5C,OAAO,CAAC,aAAa,CAAsB;
|
|
1
|
+
{"version":3,"file":"table-chart.d.ts","sourceRoot":"","sources":["../../../src/components/table-chart/table-chart.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAIvD,qBACa,UAAW,SAAQ,UAAU;IACZ,SAAS,EAAE,MAAM,iBAAiB,CAAU;IAC5C,OAAO,SAAM;IACd,WAAW,EAAE,MAAM,EAAE,CAAM;IACtB,aAAa,EAAE,YAAY,EAAE,CAAM;IACnC,YAAY,EAAE,YAAY,CAAM;IACpC,MAAM,SAAU;IAE5C,OAAO,CAAC,aAAa,CAAsB;IAE3C,MAAM,CAAC,MAAM,4BAQX;IAEF,OAAO,CAAC,WAAW;IA0BnB,SAAS,CAAC,YAAY;IAItB,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IA4BzD,oBAAoB;IAQpB,MAAM;CASP"}
|
package/dist/index.js
CHANGED
|
@@ -8922,15 +8922,9 @@ var TableChart = class TableChart extends LitElement {
|
|
|
8922
8922
|
this.chartOptions = {};
|
|
8923
8923
|
this.height = "4rem";
|
|
8924
8924
|
this.chartInstance = null;
|
|
8925
|
-
this._resizeObserver = null;
|
|
8926
8925
|
}
|
|
8927
8926
|
static {
|
|
8928
8927
|
this.styles = [unsafeCSS(tailwind_default), css`
|
|
8929
|
-
:host {
|
|
8930
|
-
display: block;
|
|
8931
|
-
width: 100%;
|
|
8932
|
-
height: 100%;
|
|
8933
|
-
}
|
|
8934
8928
|
canvas {
|
|
8935
8929
|
width: 100% !important;
|
|
8936
8930
|
height: 100% !important;
|
|
@@ -8949,17 +8943,6 @@ var TableChart = class TableChart extends LitElement {
|
|
|
8949
8943
|
return;
|
|
8950
8944
|
}
|
|
8951
8945
|
if (this.chartInstance) return;
|
|
8952
|
-
console.log("[DIAG table-chart] createChart attempt", {
|
|
8953
|
-
chartId: this.chartId,
|
|
8954
|
-
offsetWidth: this.offsetWidth,
|
|
8955
|
-
offsetHeight: this.offsetHeight,
|
|
8956
|
-
canvasClientWidth: canvas.clientWidth,
|
|
8957
|
-
canvasClientHeight: canvas.clientHeight
|
|
8958
|
-
});
|
|
8959
|
-
if (this.offsetWidth === 0 || this.offsetHeight === 0) {
|
|
8960
|
-
console.log("[DIAG table-chart] createChart SKIPPED (zero size)", this.chartId);
|
|
8961
|
-
return;
|
|
8962
|
-
}
|
|
8963
8946
|
this.chartInstance = new Chart(ctx, {
|
|
8964
8947
|
type: this.chartType,
|
|
8965
8948
|
data: {
|
|
@@ -8968,22 +8951,9 @@ var TableChart = class TableChart extends LitElement {
|
|
|
8968
8951
|
},
|
|
8969
8952
|
options: this.chartOptions
|
|
8970
8953
|
});
|
|
8971
|
-
console.log("[DIAG table-chart] createChart SUCCEEDED", this.chartId);
|
|
8972
8954
|
}
|
|
8973
8955
|
firstUpdated() {
|
|
8974
|
-
console.log("[DIAG table-chart] firstUpdated", this.chartId, {
|
|
8975
|
-
offsetWidth: this.offsetWidth,
|
|
8976
|
-
offsetHeight: this.offsetHeight
|
|
8977
|
-
});
|
|
8978
8956
|
this.createChart();
|
|
8979
|
-
this._resizeObserver = new ResizeObserver((entries) => {
|
|
8980
|
-
console.log("[DIAG table-chart] ResizeObserver fired", this.chartId, {
|
|
8981
|
-
contentRect: entries[0].contentRect,
|
|
8982
|
-
hasChartInstance: !!this.chartInstance
|
|
8983
|
-
});
|
|
8984
|
-
if (!this.chartInstance) this.createChart();
|
|
8985
|
-
});
|
|
8986
|
-
this._resizeObserver.observe(this);
|
|
8987
8957
|
}
|
|
8988
8958
|
updated(changedProperties) {
|
|
8989
8959
|
super.updated(changedProperties);
|
|
@@ -9006,8 +8976,6 @@ var TableChart = class TableChart extends LitElement {
|
|
|
9006
8976
|
}
|
|
9007
8977
|
disconnectedCallback() {
|
|
9008
8978
|
super.disconnectedCallback();
|
|
9009
|
-
this._resizeObserver?.disconnect();
|
|
9010
|
-
this._resizeObserver = null;
|
|
9011
8979
|
if (this.chartInstance) {
|
|
9012
8980
|
this.chartInstance.destroy();
|
|
9013
8981
|
this.chartInstance = null;
|
|
@@ -9932,15 +9900,7 @@ var AxebowUnderlineTabSelector = class AxebowUnderlineTabSelector extends LitEle
|
|
|
9932
9900
|
this._updateTabCount();
|
|
9933
9901
|
}
|
|
9934
9902
|
updated(changedProperties) {
|
|
9935
|
-
|
|
9936
|
-
changedHasActiveTab: changedProperties.has("activeTab"),
|
|
9937
|
-
activeTabProp: this.activeTab,
|
|
9938
|
-
internalActiveTabBefore: this._activeTab
|
|
9939
|
-
});
|
|
9940
|
-
if (changedProperties.has("activeTab") && this.activeTab !== void 0 && this._activeTab !== this.activeTab) {
|
|
9941
|
-
this._activeTab = this.activeTab;
|
|
9942
|
-
console.log("[DIAG axebow-underline-tab-selector] synced internal _activeTab to prop", this._activeTab);
|
|
9943
|
-
}
|
|
9903
|
+
if (changedProperties.has("activeTab") && this.activeTab !== void 0 && this._activeTab !== this.activeTab) this._activeTab = this.activeTab;
|
|
9944
9904
|
if (changedProperties.has("disabled")) this.toggleAttribute("disabled", this.disabled);
|
|
9945
9905
|
}
|
|
9946
9906
|
_updateTabCount() {
|
|
@@ -9963,11 +9923,6 @@ var AxebowUnderlineTabSelector = class AxebowUnderlineTabSelector extends LitEle
|
|
|
9963
9923
|
}));
|
|
9964
9924
|
}
|
|
9965
9925
|
render() {
|
|
9966
|
-
console.log("[DIAG axebow-underline-tab-selector] render", {
|
|
9967
|
-
internalActiveTab: this._activeTab,
|
|
9968
|
-
activeTabProp: this.activeTab,
|
|
9969
|
-
tabCount: this._tabCount
|
|
9970
|
-
});
|
|
9971
9926
|
const tabs = Array.from({ length: this._tabCount }, (_, i) => i);
|
|
9972
9927
|
return html`
|
|
9973
9928
|
<div class="w-293.5 flex">
|