minerva-design 1.8.0 → 1.10.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/CHANGELOG.md +12 -0
- package/README.md +4 -0
- package/custom-elements.json +356 -0
- package/dist/angular/fesm2022/minerva-angular.mjs +743 -40
- package/dist/angular/fesm2022/minerva-angular.mjs.map +1 -1
- package/dist/angular/types/minerva-angular.d.ts +211 -0
- package/dist/core/contracts.cjs +1 -1
- package/dist/core/contracts.cjs.map +1 -1
- package/dist/core/contracts.js +1 -1
- package/dist/core/contracts.js.map +1 -1
- package/dist/icons/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/icons/_virtual/_rolldown/runtime.js +11 -0
- package/dist/icons/core.cjs +1 -0
- package/dist/icons/core.d.cts +12 -0
- package/dist/icons/core.d.ts +12 -0
- package/dist/icons/core.js +21 -0
- package/dist/icons/engine/canvas2d.cjs +2 -0
- package/dist/icons/engine/canvas2d.cjs.map +1 -0
- package/dist/icons/engine/canvas2d.d.cts +10 -0
- package/dist/icons/engine/canvas2d.d.ts +10 -0
- package/dist/icons/engine/canvas2d.js +47 -0
- package/dist/icons/engine/canvas2d.js.map +1 -0
- package/dist/icons/engine/color.cjs +2 -0
- package/dist/icons/engine/color.cjs.map +1 -0
- package/dist/icons/engine/color.d.cts +9 -0
- package/dist/icons/engine/color.d.ts +9 -0
- package/dist/icons/engine/color.js +115 -0
- package/dist/icons/engine/color.js.map +1 -0
- package/dist/icons/engine/defaults.cjs +2 -0
- package/dist/icons/engine/defaults.cjs.map +1 -0
- package/dist/icons/engine/defaults.d.cts +17 -0
- package/dist/icons/engine/defaults.d.ts +17 -0
- package/dist/icons/engine/defaults.js +39 -0
- package/dist/icons/engine/defaults.js.map +1 -0
- package/dist/icons/engine/define.cjs +2 -0
- package/dist/icons/engine/define.cjs.map +1 -0
- package/dist/icons/engine/define.d.cts +8 -0
- package/dist/icons/engine/define.d.ts +8 -0
- package/dist/icons/engine/define.js +19 -0
- package/dist/icons/engine/define.js.map +1 -0
- package/dist/icons/engine/icon-canvas.cjs +2 -0
- package/dist/icons/engine/icon-canvas.cjs.map +1 -0
- package/dist/icons/engine/icon-canvas.d.cts +13 -0
- package/dist/icons/engine/icon-canvas.d.ts +13 -0
- package/dist/icons/engine/icon-canvas.js +117 -0
- package/dist/icons/engine/icon-canvas.js.map +1 -0
- package/dist/icons/engine/icons/actions.cjs +2 -0
- package/dist/icons/engine/icons/actions.cjs.map +1 -0
- package/dist/icons/engine/icons/actions.d.cts +67 -0
- package/dist/icons/engine/icons/actions.d.ts +67 -0
- package/dist/icons/engine/icons/actions.js +447 -0
- package/dist/icons/engine/icons/actions.js.map +1 -0
- package/dist/icons/engine/icons/arrows.cjs +2 -0
- package/dist/icons/engine/icons/arrows.cjs.map +1 -0
- package/dist/icons/engine/icons/arrows.d.cts +69 -0
- package/dist/icons/engine/icons/arrows.d.ts +69 -0
- package/dist/icons/engine/icons/arrows.js +417 -0
- package/dist/icons/engine/icons/arrows.js.map +1 -0
- package/dist/icons/engine/icons/communication.cjs +2 -0
- package/dist/icons/engine/icons/communication.cjs.map +1 -0
- package/dist/icons/engine/icons/communication.d.cts +21 -0
- package/dist/icons/engine/icons/communication.d.ts +21 -0
- package/dist/icons/engine/icons/communication.js +142 -0
- package/dist/icons/engine/icons/communication.js.map +1 -0
- package/dist/icons/engine/icons/data.cjs +2 -0
- package/dist/icons/engine/icons/data.cjs.map +1 -0
- package/dist/icons/engine/icons/data.d.cts +29 -0
- package/dist/icons/engine/icons/data.d.ts +29 -0
- package/dist/icons/engine/icons/data.js +203 -0
- package/dist/icons/engine/icons/data.js.map +1 -0
- package/dist/icons/engine/icons/devices.cjs +2 -0
- package/dist/icons/engine/icons/devices.cjs.map +1 -0
- package/dist/icons/engine/icons/devices.d.cts +25 -0
- package/dist/icons/engine/icons/devices.d.ts +25 -0
- package/dist/icons/engine/icons/devices.js +188 -0
- package/dist/icons/engine/icons/devices.js.map +1 -0
- package/dist/icons/engine/icons/files.cjs +2 -0
- package/dist/icons/engine/icons/files.cjs.map +1 -0
- package/dist/icons/engine/icons/files.d.cts +33 -0
- package/dist/icons/engine/icons/files.d.ts +33 -0
- package/dist/icons/engine/icons/files.js +218 -0
- package/dist/icons/engine/icons/files.js.map +1 -0
- package/dist/icons/engine/icons/finance.cjs +2 -0
- package/dist/icons/engine/icons/finance.cjs.map +1 -0
- package/dist/icons/engine/icons/finance.d.cts +29 -0
- package/dist/icons/engine/icons/finance.d.ts +29 -0
- package/dist/icons/engine/icons/finance.js +229 -0
- package/dist/icons/engine/icons/finance.js.map +1 -0
- package/dist/icons/engine/icons/index.d.cts +10 -0
- package/dist/icons/engine/icons/index.d.ts +10 -0
- package/dist/icons/engine/icons/interface.cjs +2 -0
- package/dist/icons/engine/icons/interface.cjs.map +1 -0
- package/dist/icons/engine/icons/interface.d.cts +69 -0
- package/dist/icons/engine/icons/interface.d.ts +69 -0
- package/dist/icons/engine/icons/interface.js +471 -0
- package/dist/icons/engine/icons/interface.js.map +1 -0
- package/dist/icons/engine/icons/media.cjs +2 -0
- package/dist/icons/engine/icons/media.cjs.map +1 -0
- package/dist/icons/engine/icons/media.d.cts +41 -0
- package/dist/icons/engine/icons/media.d.ts +41 -0
- package/dist/icons/engine/icons/media.js +266 -0
- package/dist/icons/engine/icons/media.js.map +1 -0
- package/dist/icons/engine/icons/status.cjs +2 -0
- package/dist/icons/engine/icons/status.cjs.map +1 -0
- package/dist/icons/engine/icons/status.d.cts +31 -0
- package/dist/icons/engine/icons/status.d.ts +31 -0
- package/dist/icons/engine/icons/status.js +197 -0
- package/dist/icons/engine/icons/status.js.map +1 -0
- package/dist/icons/engine/path.cjs +3 -0
- package/dist/icons/engine/path.cjs.map +1 -0
- package/dist/icons/engine/path.d.cts +45 -0
- package/dist/icons/engine/path.d.ts +45 -0
- package/dist/icons/engine/path.js +215 -0
- package/dist/icons/engine/path.js.map +1 -0
- package/dist/icons/engine/registry.cjs +2 -0
- package/dist/icons/engine/registry.cjs.map +1 -0
- package/dist/icons/engine/registry.d.cts +13 -0
- package/dist/icons/engine/registry.d.ts +13 -0
- package/dist/icons/engine/registry.js +37 -0
- package/dist/icons/engine/registry.js.map +1 -0
- package/dist/icons/engine/renderers/batch.cjs +2 -0
- package/dist/icons/engine/renderers/batch.cjs.map +1 -0
- package/dist/icons/engine/renderers/batch.d.cts +32 -0
- package/dist/icons/engine/renderers/batch.d.ts +32 -0
- package/dist/icons/engine/renderers/batch.js +51 -0
- package/dist/icons/engine/renderers/batch.js.map +1 -0
- package/dist/icons/engine/renderers/canvas2d.cjs +2 -0
- package/dist/icons/engine/renderers/canvas2d.cjs.map +1 -0
- package/dist/icons/engine/renderers/canvas2d.d.cts +4 -0
- package/dist/icons/engine/renderers/canvas2d.d.ts +4 -0
- package/dist/icons/engine/renderers/canvas2d.js +30 -0
- package/dist/icons/engine/renderers/canvas2d.js.map +1 -0
- package/dist/icons/engine/renderers/detect.cjs +2 -0
- package/dist/icons/engine/renderers/detect.cjs.map +1 -0
- package/dist/icons/engine/renderers/detect.d.cts +13 -0
- package/dist/icons/engine/renderers/detect.d.ts +13 -0
- package/dist/icons/engine/renderers/detect.js +38 -0
- package/dist/icons/engine/renderers/detect.js.map +1 -0
- package/dist/icons/engine/renderers/gl.cjs +2 -0
- package/dist/icons/engine/renderers/gl.cjs.map +1 -0
- package/dist/icons/engine/renderers/gl.d.cts +9 -0
- package/dist/icons/engine/renderers/gl.d.ts +9 -0
- package/dist/icons/engine/renderers/gl.js +79 -0
- package/dist/icons/engine/renderers/gl.js.map +1 -0
- package/dist/icons/engine/renderers/shaders.cjs +58 -0
- package/dist/icons/engine/renderers/shaders.cjs.map +1 -0
- package/dist/icons/engine/renderers/shaders.d.cts +5 -0
- package/dist/icons/engine/renderers/shaders.d.ts +5 -0
- package/dist/icons/engine/renderers/shaders.js +6 -0
- package/dist/icons/engine/renderers/shaders.js.map +1 -0
- package/dist/icons/engine/renderers/types.d.cts +35 -0
- package/dist/icons/engine/renderers/types.d.ts +35 -0
- package/dist/icons/engine/renderers/webgpu.cjs +2 -0
- package/dist/icons/engine/renderers/webgpu.cjs.map +1 -0
- package/dist/icons/engine/renderers/webgpu.d.cts +4 -0
- package/dist/icons/engine/renderers/webgpu.d.ts +4 -0
- package/dist/icons/engine/renderers/webgpu.js +172 -0
- package/dist/icons/engine/renderers/webgpu.js.map +1 -0
- package/dist/icons/engine/surface.cjs +2 -0
- package/dist/icons/engine/surface.cjs.map +1 -0
- package/dist/icons/engine/surface.d.cts +7 -0
- package/dist/icons/engine/surface.d.ts +7 -0
- package/dist/icons/engine/surface.js +150 -0
- package/dist/icons/engine/surface.js.map +1 -0
- package/dist/icons/engine/svg.cjs +2 -0
- package/dist/icons/engine/svg.cjs.map +1 -0
- package/dist/icons/engine/svg.d.cts +13 -0
- package/dist/icons/engine/svg.d.ts +13 -0
- package/dist/icons/engine/svg.js +29 -0
- package/dist/icons/engine/svg.js.map +1 -0
- package/dist/icons/engine/tessellate.cjs +2 -0
- package/dist/icons/engine/tessellate.cjs.map +1 -0
- package/dist/icons/engine/tessellate.d.cts +20 -0
- package/dist/icons/engine/tessellate.d.ts +20 -0
- package/dist/icons/engine/tessellate.js +73 -0
- package/dist/icons/engine/tessellate.js.map +1 -0
- package/dist/icons/engine/theme.cjs +2 -0
- package/dist/icons/engine/theme.cjs.map +1 -0
- package/dist/icons/engine/theme.d.cts +2 -0
- package/dist/icons/engine/theme.d.ts +2 -0
- package/dist/icons/engine/theme.js +22 -0
- package/dist/icons/engine/theme.js.map +1 -0
- package/dist/icons/engine/types.d.cts +120 -0
- package/dist/icons/engine/types.d.ts +120 -0
- package/dist/icons/index.cjs +1 -0
- package/dist/icons/index.d.cts +7 -0
- package/dist/icons/index.d.ts +7 -0
- package/dist/icons/index.js +27 -0
- package/dist/icons/react/DynamicIcon.cjs +2 -0
- package/dist/icons/react/DynamicIcon.cjs.map +1 -0
- package/dist/icons/react/DynamicIcon.d.cts +7 -0
- package/dist/icons/react/DynamicIcon.d.ts +7 -0
- package/dist/icons/react/DynamicIcon.js +16 -0
- package/dist/icons/react/DynamicIcon.js.map +1 -0
- package/dist/icons/react/Icon.cjs +2 -0
- package/dist/icons/react/Icon.cjs.map +1 -0
- package/dist/icons/react/Icon.d.cts +7 -0
- package/dist/icons/react/Icon.d.ts +7 -0
- package/dist/icons/react/Icon.js +101 -0
- package/dist/icons/react/Icon.js.map +1 -0
- package/dist/icons/react/IconCanvas.cjs +2 -0
- package/dist/icons/react/IconCanvas.cjs.map +1 -0
- package/dist/icons/react/IconCanvas.d.cts +9 -0
- package/dist/icons/react/IconCanvas.d.ts +9 -0
- package/dist/icons/react/IconCanvas.js +64 -0
- package/dist/icons/react/IconCanvas.js.map +1 -0
- package/dist/icons/react/createIcon.cjs +2 -0
- package/dist/icons/react/createIcon.cjs.map +1 -0
- package/dist/icons/react/createIcon.d.cts +10 -0
- package/dist/icons/react/createIcon.d.ts +10 -0
- package/dist/icons/react/createIcon.js +18 -0
- package/dist/icons/react/createIcon.js.map +1 -0
- package/dist/icons/react/icons.cjs +2 -0
- package/dist/icons/react/icons.cjs.map +1 -0
- package/dist/icons/react/icons.d.cts +808 -0
- package/dist/icons/react/icons.d.ts +808 -0
- package/dist/icons/react/icons.js +18 -0
- package/dist/icons/react/icons.js.map +1 -0
- package/dist/icons/react/types.d.cts +62 -0
- package/dist/icons/react/types.d.ts +62 -0
- package/dist/vue/icon/DynamicIcon.vue.d.ts +68 -0
- package/dist/vue/icon/DynamicIcon.vue.js +7 -0
- package/dist/vue/icon/DynamicIcon.vue.js.map +1 -0
- package/dist/vue/icon/DynamicIcon.vue_vue_type_script_setup_true_lang.js +43 -0
- package/dist/vue/icon/DynamicIcon.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/icon/Icon.vue.d.ts +69 -0
- package/dist/vue/icon/Icon.vue.js +7 -0
- package/dist/vue/icon/Icon.vue.js.map +1 -0
- package/dist/vue/icon/Icon.vue_vue_type_script_setup_true_lang.js +95 -0
- package/dist/vue/icon/Icon.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/icon/IconCanvas.vue.d.ts +70 -0
- package/dist/vue/icon/IconCanvas.vue.js +7 -0
- package/dist/vue/icon/IconCanvas.vue.js.map +1 -0
- package/dist/vue/icon/IconCanvas.vue_vue_type_script_setup_true_lang.js +64 -0
- package/dist/vue/icon/IconCanvas.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/icon/createIcon.d.ts +30 -0
- package/dist/vue/icon/createIcon.js +15 -0
- package/dist/vue/icon/createIcon.js.map +1 -0
- package/dist/vue/icon/icons.d.ts +202 -0
- package/dist/vue/icon/icons.js +8 -0
- package/dist/vue/icon/icons.js.map +1 -0
- package/dist/vue/icon/index.d.ts +6 -0
- package/dist/vue/icon/index.js +6 -0
- package/dist/vue/icon/props.d.ts +38 -0
- package/dist/vue/icon/props.js +28 -0
- package/dist/vue/icon/props.js.map +1 -0
- package/dist/vue/icons-global.d.ts +9 -0
- package/dist/vue/icons.d.ts +20 -0
- package/dist/vue/icons.js +23 -0
- package/dist/vue/icons.js.map +1 -0
- package/dist/web-components/components/icon/icon-canvas.d.ts +59 -0
- package/dist/web-components/components/icon/icon-canvas.js +89 -0
- package/dist/web-components/components/icon/icon-canvas.js.map +1 -0
- package/dist/web-components/components/icon/icon.d.ts +63 -0
- package/dist/web-components/components/icon/icon.js +116 -0
- package/dist/web-components/components/icon/icon.js.map +1 -0
- package/dist/web-components/components/icon/renderer.d.ts +25 -0
- package/dist/web-components/components/icon/renderer.js +21 -0
- package/dist/web-components/components/icon/renderer.js.map +1 -0
- package/dist/web-components/elements/icon.d.ts +4 -0
- package/dist/web-components/elements/icon.js +8 -0
- package/dist/web-components/elements/icon.js.map +1 -0
- package/dist/web-components/html-custom-data.json +110 -0
- package/dist/web-components/types/react.d.ts +18 -0
- package/dist/web-components/types/solid.d.ts +12 -0
- package/dist/web-components/types/svelte.d.ts +12 -0
- package/dist/web-components/types/vue.d.ts +14 -0
- package/package.json +39 -2
|
@@ -6,6 +6,7 @@ import { FOCUS_SCOPE_UNMOUNT_EVENT, PALETTE_COOKIE_NAME, THEME_COOKIE_NAME, appl
|
|
|
6
6
|
import { FormGroupDirective, NG_VALUE_ACCESSOR, NgControl, NgForm } from "@angular/forms";
|
|
7
7
|
import { DomSanitizer } from "@angular/platform-browser";
|
|
8
8
|
import { boxplotData, bubbleSeries, createChart, createChart3D, createDepthChart, createGraphChart, createOrderBook, createOrderBookHeatmap, createShapeChart, createTimeAndSales, createTradingChart, ganttSeries, heatmapChartOptions, histogramSeries, quadrantChartOptions, quadrantOf, sparklineOptions, waterfallSeries } from "../../charts/core.js";
|
|
9
|
+
import { createIconCanvas, getIcon } from "../../icons/core.js";
|
|
9
10
|
const injectIsBrowser = () => isPlatformBrowser(inject(PLATFORM_ID));
|
|
10
11
|
const staticInputs = (config = {}) => ({
|
|
11
12
|
theme: () => config.theme,
|
|
@@ -3891,7 +3892,7 @@ const ICONS = {
|
|
|
3891
3892
|
nodes: [["path", { d: "M2 12h3V6h5v12h5V6h5v6h2" }]]
|
|
3892
3893
|
}
|
|
3893
3894
|
};
|
|
3894
|
-
var MnIcon = class MnIcon {
|
|
3895
|
+
var MnIcon$1 = class MnIcon$1 {
|
|
3895
3896
|
constructor() {
|
|
3896
3897
|
this.mnIcon = input.required(...ngDevMode ? [{ debugName: "mnIcon" }] : /* istanbul ignore next */ []);
|
|
3897
3898
|
this.size = input("1em", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
@@ -3902,7 +3903,7 @@ var MnIcon = class MnIcon {
|
|
|
3902
3903
|
minVersion: "12.0.0",
|
|
3903
3904
|
version: "22.2.2",
|
|
3904
3905
|
ngImport: i0,
|
|
3905
|
-
type: MnIcon,
|
|
3906
|
+
type: MnIcon$1,
|
|
3906
3907
|
deps: [],
|
|
3907
3908
|
target: i0.ɵɵFactoryTarget.Component
|
|
3908
3909
|
});
|
|
@@ -3911,7 +3912,7 @@ var MnIcon = class MnIcon {
|
|
|
3911
3912
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3912
3913
|
minVersion: "17.0.0",
|
|
3913
3914
|
version: "22.2.2",
|
|
3914
|
-
type: MnIcon,
|
|
3915
|
+
type: MnIcon$1,
|
|
3915
3916
|
isStandalone: true,
|
|
3916
3917
|
selector: "svg[mnIcon]",
|
|
3917
3918
|
inputs: {
|
|
@@ -3985,7 +3986,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3985
3986
|
minVersion: "12.0.0",
|
|
3986
3987
|
version: "22.2.2",
|
|
3987
3988
|
ngImport: i0,
|
|
3988
|
-
type: MnIcon,
|
|
3989
|
+
type: MnIcon$1,
|
|
3989
3990
|
decorators: [{
|
|
3990
3991
|
type: Component,
|
|
3991
3992
|
args: [{
|
|
@@ -4251,7 +4252,7 @@ var MnModal = class MnModal extends MnDialogBase {
|
|
|
4251
4252
|
},
|
|
4252
4253
|
{
|
|
4253
4254
|
kind: "component",
|
|
4254
|
-
type: MnIcon,
|
|
4255
|
+
type: MnIcon$1,
|
|
4255
4256
|
selector: "svg[mnIcon]",
|
|
4256
4257
|
inputs: ["mnIcon", "size"]
|
|
4257
4258
|
},
|
|
@@ -4289,7 +4290,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4289
4290
|
exportAs: "mnModal",
|
|
4290
4291
|
imports: [
|
|
4291
4292
|
MnHook,
|
|
4292
|
-
MnIcon,
|
|
4293
|
+
MnIcon$1,
|
|
4293
4294
|
MnPortal,
|
|
4294
4295
|
NgTemplateOutlet
|
|
4295
4296
|
],
|
|
@@ -5676,7 +5677,7 @@ var MnAutoComplete = class MnAutoComplete extends MnFormValueControl {
|
|
|
5676
5677
|
},
|
|
5677
5678
|
{
|
|
5678
5679
|
kind: "component",
|
|
5679
|
-
type: MnIcon,
|
|
5680
|
+
type: MnIcon$1,
|
|
5680
5681
|
selector: "svg[mnIcon]",
|
|
5681
5682
|
inputs: ["mnIcon", "size"]
|
|
5682
5683
|
},
|
|
@@ -5714,7 +5715,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5714
5715
|
exportAs: "mnAutoComplete",
|
|
5715
5716
|
imports: [
|
|
5716
5717
|
MnHook,
|
|
5717
|
-
MnIcon,
|
|
5718
|
+
MnIcon$1,
|
|
5718
5719
|
MnPortal,
|
|
5719
5720
|
NgTemplateOutlet
|
|
5720
5721
|
],
|
|
@@ -6623,7 +6624,7 @@ var MnCascaderPanel = class MnCascaderPanel {
|
|
|
6623
6624
|
},
|
|
6624
6625
|
{
|
|
6625
6626
|
kind: "component",
|
|
6626
|
-
type: MnIcon,
|
|
6627
|
+
type: MnIcon$1,
|
|
6627
6628
|
selector: "svg[mnIcon]",
|
|
6628
6629
|
inputs: ["mnIcon", "size"]
|
|
6629
6630
|
},
|
|
@@ -6655,7 +6656,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6655
6656
|
exportAs: "mnCascaderPanel",
|
|
6656
6657
|
imports: [
|
|
6657
6658
|
MnHook,
|
|
6658
|
-
MnIcon,
|
|
6659
|
+
MnIcon$1,
|
|
6659
6660
|
NgTemplateOutlet
|
|
6660
6661
|
],
|
|
6661
6662
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -7497,7 +7498,7 @@ var MnCascader = class MnCascader extends MnFormValueControl {
|
|
|
7497
7498
|
},
|
|
7498
7499
|
{
|
|
7499
7500
|
kind: "component",
|
|
7500
|
-
type: MnIcon,
|
|
7501
|
+
type: MnIcon$1,
|
|
7501
7502
|
selector: "svg[mnIcon]",
|
|
7502
7503
|
inputs: ["mnIcon", "size"]
|
|
7503
7504
|
},
|
|
@@ -7547,7 +7548,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7547
7548
|
exportAs: "mnCascader",
|
|
7548
7549
|
imports: [
|
|
7549
7550
|
MnHook,
|
|
7550
|
-
MnIcon,
|
|
7551
|
+
MnIcon$1,
|
|
7551
7552
|
MnPortal,
|
|
7552
7553
|
MnCascaderPanel
|
|
7553
7554
|
],
|
|
@@ -8358,7 +8359,7 @@ var MnCheckbox = class MnCheckbox extends MnFormValueControl {
|
|
|
8358
8359
|
},
|
|
8359
8360
|
{
|
|
8360
8361
|
kind: "component",
|
|
8361
|
-
type: MnIcon,
|
|
8362
|
+
type: MnIcon$1,
|
|
8362
8363
|
selector: "svg[mnIcon]",
|
|
8363
8364
|
inputs: ["mnIcon", "size"]
|
|
8364
8365
|
},
|
|
@@ -8390,7 +8391,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8390
8391
|
exportAs: "mnCheckbox",
|
|
8391
8392
|
imports: [
|
|
8392
8393
|
MnHook,
|
|
8393
|
-
MnIcon,
|
|
8394
|
+
MnIcon$1,
|
|
8394
8395
|
NgTemplateOutlet
|
|
8395
8396
|
],
|
|
8396
8397
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -8925,7 +8926,7 @@ var MnDrawer = class MnDrawer extends MnDialogBase {
|
|
|
8925
8926
|
},
|
|
8926
8927
|
{
|
|
8927
8928
|
kind: "component",
|
|
8928
|
-
type: MnIcon,
|
|
8929
|
+
type: MnIcon$1,
|
|
8929
8930
|
selector: "svg[mnIcon]",
|
|
8930
8931
|
inputs: ["mnIcon", "size"]
|
|
8931
8932
|
},
|
|
@@ -8963,7 +8964,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8963
8964
|
exportAs: "mnDrawer",
|
|
8964
8965
|
imports: [
|
|
8965
8966
|
MnHook,
|
|
8966
|
-
MnIcon,
|
|
8967
|
+
MnIcon$1,
|
|
8967
8968
|
MnPortal,
|
|
8968
8969
|
NgTemplateOutlet
|
|
8969
8970
|
],
|
|
@@ -10997,7 +10998,7 @@ var MnInput = class MnInput extends MnFormValueControl {
|
|
|
10997
10998
|
},
|
|
10998
10999
|
{
|
|
10999
11000
|
kind: "component",
|
|
11000
|
-
type: MnIcon,
|
|
11001
|
+
type: MnIcon$1,
|
|
11001
11002
|
selector: "svg[mnIcon]",
|
|
11002
11003
|
inputs: ["mnIcon", "size"]
|
|
11003
11004
|
},
|
|
@@ -11029,7 +11030,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11029
11030
|
exportAs: "mnInput",
|
|
11030
11031
|
imports: [
|
|
11031
11032
|
MnHook,
|
|
11032
|
-
MnIcon,
|
|
11033
|
+
MnIcon$1,
|
|
11033
11034
|
NgTemplateOutlet
|
|
11034
11035
|
],
|
|
11035
11036
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -11907,7 +11908,7 @@ var MnNumberInput = class MnNumberInput extends MnFormValueControl {
|
|
|
11907
11908
|
]
|
|
11908
11909
|
}, {
|
|
11909
11910
|
kind: "component",
|
|
11910
|
-
type: MnIcon,
|
|
11911
|
+
type: MnIcon$1,
|
|
11911
11912
|
selector: "svg[mnIcon]",
|
|
11912
11913
|
inputs: ["mnIcon", "size"]
|
|
11913
11914
|
}],
|
|
@@ -11926,7 +11927,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11926
11927
|
args: [{
|
|
11927
11928
|
selector: "mn-number-input",
|
|
11928
11929
|
exportAs: "mnNumberInput",
|
|
11929
|
-
imports: [MnHook, MnIcon],
|
|
11930
|
+
imports: [MnHook, MnIcon$1],
|
|
11930
11931
|
encapsulation: ViewEncapsulation.None,
|
|
11931
11932
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11932
11933
|
providers: [provideValueAccessor(() => MnNumberInput)],
|
|
@@ -13137,7 +13138,7 @@ var MnRadio = class MnRadio {
|
|
|
13137
13138
|
},
|
|
13138
13139
|
{
|
|
13139
13140
|
kind: "component",
|
|
13140
|
-
type: MnIcon,
|
|
13141
|
+
type: MnIcon$1,
|
|
13141
13142
|
selector: "svg[mnIcon]",
|
|
13142
13143
|
inputs: ["mnIcon", "size"]
|
|
13143
13144
|
},
|
|
@@ -13169,7 +13170,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
13169
13170
|
exportAs: "mnRadio",
|
|
13170
13171
|
imports: [
|
|
13171
13172
|
MnHook,
|
|
13172
|
-
MnIcon,
|
|
13173
|
+
MnIcon$1,
|
|
13173
13174
|
NgTemplateOutlet
|
|
13174
13175
|
],
|
|
13175
13176
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -14959,7 +14960,7 @@ var MnSelect = class MnSelect extends MnFormValueControl {
|
|
|
14959
14960
|
},
|
|
14960
14961
|
{
|
|
14961
14962
|
kind: "component",
|
|
14962
|
-
type: MnIcon,
|
|
14963
|
+
type: MnIcon$1,
|
|
14963
14964
|
selector: "svg[mnIcon]",
|
|
14964
14965
|
inputs: ["mnIcon", "size"]
|
|
14965
14966
|
},
|
|
@@ -14987,7 +14988,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14987
14988
|
exportAs: "mnSelect",
|
|
14988
14989
|
imports: [
|
|
14989
14990
|
MnHook,
|
|
14990
|
-
MnIcon,
|
|
14991
|
+
MnIcon$1,
|
|
14991
14992
|
MnPortal
|
|
14992
14993
|
],
|
|
14993
14994
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -15359,7 +15360,7 @@ var MnSelectItem = class MnSelectItem {
|
|
|
15359
15360
|
]
|
|
15360
15361
|
}, {
|
|
15361
15362
|
kind: "component",
|
|
15362
|
-
type: MnIcon,
|
|
15363
|
+
type: MnIcon$1,
|
|
15363
15364
|
selector: "svg[mnIcon]",
|
|
15364
15365
|
inputs: ["mnIcon", "size"]
|
|
15365
15366
|
}],
|
|
@@ -15378,7 +15379,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
15378
15379
|
args: [{
|
|
15379
15380
|
selector: "mn-select-item",
|
|
15380
15381
|
exportAs: "mnSelectItem",
|
|
15381
|
-
imports: [MnHook, MnIcon],
|
|
15382
|
+
imports: [MnHook, MnIcon$1],
|
|
15382
15383
|
encapsulation: ViewEncapsulation.None,
|
|
15383
15384
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
15384
15385
|
host: {
|
|
@@ -16361,7 +16362,7 @@ var MnTagInput = class MnTagInput extends MnFormValueControl {
|
|
|
16361
16362
|
]
|
|
16362
16363
|
}, {
|
|
16363
16364
|
kind: "component",
|
|
16364
|
-
type: MnIcon,
|
|
16365
|
+
type: MnIcon$1,
|
|
16365
16366
|
selector: "svg[mnIcon]",
|
|
16366
16367
|
inputs: ["mnIcon", "size"]
|
|
16367
16368
|
}],
|
|
@@ -16380,7 +16381,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16380
16381
|
args: [{
|
|
16381
16382
|
selector: "mn-tag-input",
|
|
16382
16383
|
exportAs: "mnTagInput",
|
|
16383
|
-
imports: [MnHook, MnIcon],
|
|
16384
|
+
imports: [MnHook, MnIcon$1],
|
|
16384
16385
|
encapsulation: ViewEncapsulation.None,
|
|
16385
16386
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16386
16387
|
providers: [provideValueAccessor(() => MnTagInput)],
|
|
@@ -18155,7 +18156,7 @@ var MnTimePicker = class MnTimePicker extends MnFormValueControl {
|
|
|
18155
18156
|
},
|
|
18156
18157
|
{
|
|
18157
18158
|
kind: "component",
|
|
18158
|
-
type: MnIcon,
|
|
18159
|
+
type: MnIcon$1,
|
|
18159
18160
|
selector: "svg[mnIcon]",
|
|
18160
18161
|
inputs: ["mnIcon", "size"]
|
|
18161
18162
|
},
|
|
@@ -18203,7 +18204,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
18203
18204
|
exportAs: "mnTimePicker",
|
|
18204
18205
|
imports: [
|
|
18205
18206
|
MnHook,
|
|
18206
|
-
MnIcon,
|
|
18207
|
+
MnIcon$1,
|
|
18207
18208
|
MnPortal,
|
|
18208
18209
|
MnTimePickerPanel
|
|
18209
18210
|
],
|
|
@@ -18703,7 +18704,7 @@ var MnIconButtonPart = class MnIconButtonPart {
|
|
|
18703
18704
|
]
|
|
18704
18705
|
}, {
|
|
18705
18706
|
kind: "component",
|
|
18706
|
-
type: MnIcon,
|
|
18707
|
+
type: MnIcon$1,
|
|
18707
18708
|
selector: "svg[mnIcon]",
|
|
18708
18709
|
inputs: ["mnIcon", "size"]
|
|
18709
18710
|
}],
|
|
@@ -18721,7 +18722,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
18721
18722
|
type: Component,
|
|
18722
18723
|
args: [{
|
|
18723
18724
|
selector: "div[mnIconButtonPart]",
|
|
18724
|
-
imports: [MnHook, MnIcon],
|
|
18725
|
+
imports: [MnHook, MnIcon$1],
|
|
18725
18726
|
encapsulation: ViewEncapsulation.None,
|
|
18726
18727
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18727
18728
|
host: {
|
|
@@ -19287,7 +19288,7 @@ var MnUpload = class MnUpload extends MnFormValueControl {
|
|
|
19287
19288
|
},
|
|
19288
19289
|
{
|
|
19289
19290
|
kind: "component",
|
|
19290
|
-
type: MnIcon,
|
|
19291
|
+
type: MnIcon$1,
|
|
19291
19292
|
selector: "svg[mnIcon]",
|
|
19292
19293
|
inputs: ["mnIcon", "size"]
|
|
19293
19294
|
},
|
|
@@ -19346,7 +19347,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19346
19347
|
exportAs: "mnUpload",
|
|
19347
19348
|
imports: [
|
|
19348
19349
|
MnHook,
|
|
19349
|
-
MnIcon,
|
|
19350
|
+
MnIcon$1,
|
|
19350
19351
|
MnButton,
|
|
19351
19352
|
MnIconButtonPart
|
|
19352
19353
|
],
|
|
@@ -31855,7 +31856,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
31855
31856
|
}]
|
|
31856
31857
|
}]
|
|
31857
31858
|
});
|
|
31858
|
-
const cssSize = (value) => typeof value === "number" || /^\d+(\.\d+)?$/.test(value) ? `${value}px` : value;
|
|
31859
|
+
const cssSize$1 = (value) => typeof value === "number" || /^\d+(\.\d+)?$/.test(value) ? `${value}px` : value;
|
|
31859
31860
|
const optionalBoolean = (value) => value === void 0 || value === null ? void 0 : booleanAttribute(value);
|
|
31860
31861
|
const CHART_SURFACE = `<div #surface style="position:absolute;inset:0"></div>`;
|
|
31861
31862
|
var MnChartEngine = class MnChartEngine {
|
|
@@ -31868,8 +31869,8 @@ var MnChartEngine = class MnChartEngine {
|
|
|
31868
31869
|
this.engine = signal(null, ...ngDevMode ? [{ debugName: "engine" }] : /* istanbul ignore next */ []);
|
|
31869
31870
|
this.instance = this.engine.asReadonly();
|
|
31870
31871
|
this.surface = viewChild.required("surface", ...ngDevMode ? [{ debugName: "surface" }] : /* istanbul ignore next */ []);
|
|
31871
|
-
this.cssWidth = computed(() => cssSize(this.width() ?? "100%"), ...ngDevMode ? [{ debugName: "cssWidth" }] : /* istanbul ignore next */ []);
|
|
31872
|
-
this.cssHeight = computed(() => cssSize(this.height() ?? this.defaultHeight()), ...ngDevMode ? [{ debugName: "cssHeight" }] : /* istanbul ignore next */ []);
|
|
31872
|
+
this.cssWidth = computed(() => cssSize$1(this.width() ?? "100%"), ...ngDevMode ? [{ debugName: "cssWidth" }] : /* istanbul ignore next */ []);
|
|
31873
|
+
this.cssHeight = computed(() => cssSize$1(this.height() ?? this.defaultHeight()), ...ngDevMode ? [{ debugName: "cssHeight" }] : /* istanbul ignore next */ []);
|
|
31873
31874
|
const injector = inject(Injector);
|
|
31874
31875
|
let offs = [];
|
|
31875
31876
|
afterNextRender(() => {
|
|
@@ -40075,6 +40076,708 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
40075
40076
|
}]
|
|
40076
40077
|
}
|
|
40077
40078
|
});
|
|
40079
|
+
const NUMERIC = /^\d+(\.\d+)?$/;
|
|
40080
|
+
const cssSize = (value) => typeof value === "number" || NUMERIC.test(value) ? `${value}px` : value;
|
|
40081
|
+
const numericSize = (value) => typeof value === "string" && NUMERIC.test(value.trim()) ? Number(value) : value;
|
|
40082
|
+
const ICON_TEMPLATE = `
|
|
40083
|
+
@if (definition(); as icon) {
|
|
40084
|
+
@if (renderer() === "svg") {
|
|
40085
|
+
<svg
|
|
40086
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
40087
|
+
[attr.width]="size()"
|
|
40088
|
+
[attr.height]="size()"
|
|
40089
|
+
viewBox="0 0 24 24"
|
|
40090
|
+
fill="none"
|
|
40091
|
+
[attr.stroke]="color()"
|
|
40092
|
+
[attr.stroke-width]="strokeWidth()"
|
|
40093
|
+
stroke-linecap="round"
|
|
40094
|
+
stroke-linejoin="round"
|
|
40095
|
+
[attr.data-icon]="icon.name"
|
|
40096
|
+
class="minerva-icon"
|
|
40097
|
+
[attr.role]="labelled() ? 'img' : null"
|
|
40098
|
+
[attr.aria-hidden]="labelled() ? null : 'true'"
|
|
40099
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
40100
|
+
[attr.aria-labelledby]="ariaLabelledby() || null"
|
|
40101
|
+
>
|
|
40102
|
+
@if (title()) {
|
|
40103
|
+
<title>{{ title() }}</title>
|
|
40104
|
+
}
|
|
40105
|
+
@for (d of icon.paths; track $index) {
|
|
40106
|
+
<path
|
|
40107
|
+
[attr.d]="d"
|
|
40108
|
+
[attr.vector-effect]="
|
|
40109
|
+
absoluteStrokeWidth() ? 'non-scaling-stroke' : null
|
|
40110
|
+
"
|
|
40111
|
+
/>
|
|
40112
|
+
}
|
|
40113
|
+
</svg>
|
|
40114
|
+
} @else {
|
|
40115
|
+
<canvas
|
|
40116
|
+
#canvas
|
|
40117
|
+
class="minerva-icon"
|
|
40118
|
+
[attr.data-icon]="icon.name"
|
|
40119
|
+
[attr.role]="labelled() ? 'img' : null"
|
|
40120
|
+
[attr.aria-hidden]="labelled() ? null : 'true'"
|
|
40121
|
+
[attr.aria-label]="title() || ariaLabel() || null"
|
|
40122
|
+
[attr.aria-labelledby]="ariaLabelledby() || null"
|
|
40123
|
+
[style.display]="'inline-block'"
|
|
40124
|
+
[style.vertical-align]="'middle'"
|
|
40125
|
+
[style.width]="cssSize()"
|
|
40126
|
+
[style.height]="cssSize()"
|
|
40127
|
+
></canvas>
|
|
40128
|
+
}
|
|
40129
|
+
}
|
|
40130
|
+
`;
|
|
40131
|
+
var MnIconBase = class MnIconBase {
|
|
40132
|
+
constructor() {
|
|
40133
|
+
this.size = input(24, {
|
|
40134
|
+
...ngDevMode ? { debugName: "size" } : /* istanbul ignore next */ {},
|
|
40135
|
+
transform: numericSize
|
|
40136
|
+
});
|
|
40137
|
+
this.color = input("currentColor", ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
|
|
40138
|
+
this.strokeWidth = input(2, {
|
|
40139
|
+
...ngDevMode ? { debugName: "strokeWidth" } : /* istanbul ignore next */ {},
|
|
40140
|
+
transform: numberAttribute
|
|
40141
|
+
});
|
|
40142
|
+
this.absoluteStrokeWidth = input(false, {
|
|
40143
|
+
...ngDevMode ? { debugName: "absoluteStrokeWidth" } : /* istanbul ignore next */ {},
|
|
40144
|
+
transform: booleanAttribute
|
|
40145
|
+
});
|
|
40146
|
+
this.title = input(void 0, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
40147
|
+
this.ariaLabel = input(void 0, {
|
|
40148
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
40149
|
+
alias: "aria-label"
|
|
40150
|
+
});
|
|
40151
|
+
this.ariaLabelledby = input(void 0, {
|
|
40152
|
+
...ngDevMode ? { debugName: "ariaLabelledby" } : /* istanbul ignore next */ {},
|
|
40153
|
+
alias: "aria-labelledby"
|
|
40154
|
+
});
|
|
40155
|
+
this.renderer = input("svg", ...ngDevMode ? [{ debugName: "renderer" }] : /* istanbul ignore next */ []);
|
|
40156
|
+
this.rendererChange = output();
|
|
40157
|
+
this.labelled = computed(() => !!this.title() || !!this.ariaLabel() || !!this.ariaLabelledby(), ...ngDevMode ? [{ debugName: "labelled" }] : /* istanbul ignore next */ []);
|
|
40158
|
+
this.cssSize = computed(() => cssSize(this.size()), ...ngDevMode ? [{ debugName: "cssSize" }] : /* istanbul ignore next */ []);
|
|
40159
|
+
this.canvas = viewChild("canvas", ...ngDevMode ? [{ debugName: "canvas" }] : /* istanbul ignore next */ []);
|
|
40160
|
+
this.measured = signal(null, ...ngDevMode ? [{ debugName: "measured" }] : /* istanbul ignore next */ []);
|
|
40161
|
+
this.factory = signal(null, ...ngDevMode ? [{ debugName: "factory" }] : /* istanbul ignore next */ []);
|
|
40162
|
+
const injector = inject(Injector);
|
|
40163
|
+
let surface = null;
|
|
40164
|
+
let surfaceCanvas = null;
|
|
40165
|
+
let disposed = false;
|
|
40166
|
+
const release = () => {
|
|
40167
|
+
surface?.destroy();
|
|
40168
|
+
surface = null;
|
|
40169
|
+
surfaceCanvas = null;
|
|
40170
|
+
};
|
|
40171
|
+
afterNextRender(() => {
|
|
40172
|
+
effect(() => {
|
|
40173
|
+
if (this.renderer() === "svg" || untracked(this.factory)) return;
|
|
40174
|
+
import("../../icons/engine/surface.js").then(({ createIconSurface }) => {
|
|
40175
|
+
if (!disposed) this.factory.set(createIconSurface);
|
|
40176
|
+
});
|
|
40177
|
+
}, { injector });
|
|
40178
|
+
effect((onCleanup) => {
|
|
40179
|
+
const element = this.canvas()?.nativeElement;
|
|
40180
|
+
const size = this.size();
|
|
40181
|
+
this.measured.set(null);
|
|
40182
|
+
if (!element || typeof size === "number") return;
|
|
40183
|
+
const measure = () => this.measured.set(element.getBoundingClientRect().width);
|
|
40184
|
+
measure();
|
|
40185
|
+
if (typeof ResizeObserver !== "function") return;
|
|
40186
|
+
const observer = new ResizeObserver(measure);
|
|
40187
|
+
observer.observe(element);
|
|
40188
|
+
onCleanup(() => observer.disconnect());
|
|
40189
|
+
}, { injector });
|
|
40190
|
+
effect(() => {
|
|
40191
|
+
const element = this.canvas()?.nativeElement;
|
|
40192
|
+
const create = this.factory();
|
|
40193
|
+
const icon = this.definition();
|
|
40194
|
+
const renderer = this.renderer();
|
|
40195
|
+
const size = this.size();
|
|
40196
|
+
const pixels = typeof size === "number" ? size : this.measured();
|
|
40197
|
+
if (renderer === "svg" || !icon || !element || !create) {
|
|
40198
|
+
release();
|
|
40199
|
+
return;
|
|
40200
|
+
}
|
|
40201
|
+
if (!pixels || pixels <= 0) return;
|
|
40202
|
+
const strokeWidth = this.strokeWidth();
|
|
40203
|
+
const options = {
|
|
40204
|
+
icon,
|
|
40205
|
+
size: pixels,
|
|
40206
|
+
color: this.color(),
|
|
40207
|
+
strokeWidth: this.absoluteStrokeWidth() ? strokeWidth * 24 / pixels : strokeWidth,
|
|
40208
|
+
renderer,
|
|
40209
|
+
onRendererChange: (kind) => this.rendererChange.emit(kind)
|
|
40210
|
+
};
|
|
40211
|
+
untracked(() => {
|
|
40212
|
+
if (surface && surfaceCanvas === element) surface.update(options);
|
|
40213
|
+
else {
|
|
40214
|
+
release();
|
|
40215
|
+
surface = create(element, options);
|
|
40216
|
+
surfaceCanvas = element;
|
|
40217
|
+
}
|
|
40218
|
+
});
|
|
40219
|
+
}, { injector });
|
|
40220
|
+
});
|
|
40221
|
+
inject(DestroyRef).onDestroy(() => {
|
|
40222
|
+
disposed = true;
|
|
40223
|
+
release();
|
|
40224
|
+
});
|
|
40225
|
+
}
|
|
40226
|
+
static {
|
|
40227
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
40228
|
+
minVersion: "12.0.0",
|
|
40229
|
+
version: "22.2.2",
|
|
40230
|
+
ngImport: i0,
|
|
40231
|
+
type: MnIconBase,
|
|
40232
|
+
deps: [],
|
|
40233
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
40234
|
+
});
|
|
40235
|
+
}
|
|
40236
|
+
static {
|
|
40237
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
40238
|
+
minVersion: "17.2.0",
|
|
40239
|
+
version: "22.2.2",
|
|
40240
|
+
type: MnIconBase,
|
|
40241
|
+
isStandalone: true,
|
|
40242
|
+
inputs: {
|
|
40243
|
+
size: {
|
|
40244
|
+
classPropertyName: "size",
|
|
40245
|
+
publicName: "size",
|
|
40246
|
+
isSignal: true,
|
|
40247
|
+
isRequired: false,
|
|
40248
|
+
transformFunction: null
|
|
40249
|
+
},
|
|
40250
|
+
color: {
|
|
40251
|
+
classPropertyName: "color",
|
|
40252
|
+
publicName: "color",
|
|
40253
|
+
isSignal: true,
|
|
40254
|
+
isRequired: false,
|
|
40255
|
+
transformFunction: null
|
|
40256
|
+
},
|
|
40257
|
+
strokeWidth: {
|
|
40258
|
+
classPropertyName: "strokeWidth",
|
|
40259
|
+
publicName: "strokeWidth",
|
|
40260
|
+
isSignal: true,
|
|
40261
|
+
isRequired: false,
|
|
40262
|
+
transformFunction: null
|
|
40263
|
+
},
|
|
40264
|
+
absoluteStrokeWidth: {
|
|
40265
|
+
classPropertyName: "absoluteStrokeWidth",
|
|
40266
|
+
publicName: "absoluteStrokeWidth",
|
|
40267
|
+
isSignal: true,
|
|
40268
|
+
isRequired: false,
|
|
40269
|
+
transformFunction: null
|
|
40270
|
+
},
|
|
40271
|
+
title: {
|
|
40272
|
+
classPropertyName: "title",
|
|
40273
|
+
publicName: "title",
|
|
40274
|
+
isSignal: true,
|
|
40275
|
+
isRequired: false,
|
|
40276
|
+
transformFunction: null
|
|
40277
|
+
},
|
|
40278
|
+
ariaLabel: {
|
|
40279
|
+
classPropertyName: "ariaLabel",
|
|
40280
|
+
publicName: "aria-label",
|
|
40281
|
+
isSignal: true,
|
|
40282
|
+
isRequired: false,
|
|
40283
|
+
transformFunction: null
|
|
40284
|
+
},
|
|
40285
|
+
ariaLabelledby: {
|
|
40286
|
+
classPropertyName: "ariaLabelledby",
|
|
40287
|
+
publicName: "aria-labelledby",
|
|
40288
|
+
isSignal: true,
|
|
40289
|
+
isRequired: false,
|
|
40290
|
+
transformFunction: null
|
|
40291
|
+
},
|
|
40292
|
+
renderer: {
|
|
40293
|
+
classPropertyName: "renderer",
|
|
40294
|
+
publicName: "renderer",
|
|
40295
|
+
isSignal: true,
|
|
40296
|
+
isRequired: false,
|
|
40297
|
+
transformFunction: null
|
|
40298
|
+
}
|
|
40299
|
+
},
|
|
40300
|
+
outputs: { rendererChange: "rendererChange" },
|
|
40301
|
+
host: {
|
|
40302
|
+
properties: {
|
|
40303
|
+
"attr.title": "null",
|
|
40304
|
+
"attr.aria-label": "null",
|
|
40305
|
+
"attr.aria-labelledby": "null"
|
|
40306
|
+
},
|
|
40307
|
+
styleAttribute: "display: contents"
|
|
40308
|
+
},
|
|
40309
|
+
viewQueries: [{
|
|
40310
|
+
propertyName: "canvas",
|
|
40311
|
+
first: true,
|
|
40312
|
+
predicate: ["canvas"],
|
|
40313
|
+
descendants: true,
|
|
40314
|
+
isSignal: true
|
|
40315
|
+
}],
|
|
40316
|
+
ngImport: i0
|
|
40317
|
+
});
|
|
40318
|
+
}
|
|
40319
|
+
};
|
|
40320
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
40321
|
+
minVersion: "12.0.0",
|
|
40322
|
+
version: "22.2.2",
|
|
40323
|
+
ngImport: i0,
|
|
40324
|
+
type: MnIconBase,
|
|
40325
|
+
decorators: [{
|
|
40326
|
+
type: Directive,
|
|
40327
|
+
args: [{ host: {
|
|
40328
|
+
style: "display: contents",
|
|
40329
|
+
"[attr.title]": "null",
|
|
40330
|
+
"[attr.aria-label]": "null",
|
|
40331
|
+
"[attr.aria-labelledby]": "null"
|
|
40332
|
+
} }]
|
|
40333
|
+
}],
|
|
40334
|
+
ctorParameters: () => [],
|
|
40335
|
+
propDecorators: {
|
|
40336
|
+
size: [{
|
|
40337
|
+
type: i0.Input,
|
|
40338
|
+
args: [{
|
|
40339
|
+
isSignal: true,
|
|
40340
|
+
alias: "size",
|
|
40341
|
+
required: false
|
|
40342
|
+
}]
|
|
40343
|
+
}],
|
|
40344
|
+
color: [{
|
|
40345
|
+
type: i0.Input,
|
|
40346
|
+
args: [{
|
|
40347
|
+
isSignal: true,
|
|
40348
|
+
alias: "color",
|
|
40349
|
+
required: false
|
|
40350
|
+
}]
|
|
40351
|
+
}],
|
|
40352
|
+
strokeWidth: [{
|
|
40353
|
+
type: i0.Input,
|
|
40354
|
+
args: [{
|
|
40355
|
+
isSignal: true,
|
|
40356
|
+
alias: "strokeWidth",
|
|
40357
|
+
required: false
|
|
40358
|
+
}]
|
|
40359
|
+
}],
|
|
40360
|
+
absoluteStrokeWidth: [{
|
|
40361
|
+
type: i0.Input,
|
|
40362
|
+
args: [{
|
|
40363
|
+
isSignal: true,
|
|
40364
|
+
alias: "absoluteStrokeWidth",
|
|
40365
|
+
required: false
|
|
40366
|
+
}]
|
|
40367
|
+
}],
|
|
40368
|
+
title: [{
|
|
40369
|
+
type: i0.Input,
|
|
40370
|
+
args: [{
|
|
40371
|
+
isSignal: true,
|
|
40372
|
+
alias: "title",
|
|
40373
|
+
required: false
|
|
40374
|
+
}]
|
|
40375
|
+
}],
|
|
40376
|
+
ariaLabel: [{
|
|
40377
|
+
type: i0.Input,
|
|
40378
|
+
args: [{
|
|
40379
|
+
isSignal: true,
|
|
40380
|
+
alias: "aria-label",
|
|
40381
|
+
required: false
|
|
40382
|
+
}]
|
|
40383
|
+
}],
|
|
40384
|
+
ariaLabelledby: [{
|
|
40385
|
+
type: i0.Input,
|
|
40386
|
+
args: [{
|
|
40387
|
+
isSignal: true,
|
|
40388
|
+
alias: "aria-labelledby",
|
|
40389
|
+
required: false
|
|
40390
|
+
}]
|
|
40391
|
+
}],
|
|
40392
|
+
renderer: [{
|
|
40393
|
+
type: i0.Input,
|
|
40394
|
+
args: [{
|
|
40395
|
+
isSignal: true,
|
|
40396
|
+
alias: "renderer",
|
|
40397
|
+
required: false
|
|
40398
|
+
}]
|
|
40399
|
+
}],
|
|
40400
|
+
rendererChange: [{
|
|
40401
|
+
type: i0.Output,
|
|
40402
|
+
args: ["rendererChange"]
|
|
40403
|
+
}],
|
|
40404
|
+
canvas: [{
|
|
40405
|
+
type: i0.ViewChild,
|
|
40406
|
+
args: ["canvas", { isSignal: true }]
|
|
40407
|
+
}]
|
|
40408
|
+
}
|
|
40409
|
+
});
|
|
40410
|
+
var MnIcon = class MnIcon extends MnIconBase {
|
|
40411
|
+
constructor() {
|
|
40412
|
+
super(...arguments);
|
|
40413
|
+
this.icon = input.required(...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
40414
|
+
this.definition = computed(() => this.icon(), ...ngDevMode ? [{ debugName: "definition" }] : /* istanbul ignore next */ []);
|
|
40415
|
+
}
|
|
40416
|
+
static {
|
|
40417
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
40418
|
+
minVersion: "12.0.0",
|
|
40419
|
+
version: "22.2.2",
|
|
40420
|
+
ngImport: i0,
|
|
40421
|
+
type: MnIcon,
|
|
40422
|
+
deps: null,
|
|
40423
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
40424
|
+
});
|
|
40425
|
+
}
|
|
40426
|
+
static {
|
|
40427
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
40428
|
+
minVersion: "17.0.0",
|
|
40429
|
+
version: "22.2.2",
|
|
40430
|
+
type: MnIcon,
|
|
40431
|
+
isStandalone: true,
|
|
40432
|
+
selector: "mn-icon",
|
|
40433
|
+
inputs: { icon: {
|
|
40434
|
+
classPropertyName: "icon",
|
|
40435
|
+
publicName: "icon",
|
|
40436
|
+
isSignal: true,
|
|
40437
|
+
isRequired: true,
|
|
40438
|
+
transformFunction: null
|
|
40439
|
+
} },
|
|
40440
|
+
usesInheritance: true,
|
|
40441
|
+
ngImport: i0,
|
|
40442
|
+
template: "\n @if (definition(); as icon) {\n @if (renderer() === \"svg\") {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"size()\"\n [attr.height]=\"size()\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n [attr.stroke]=\"color()\"\n [attr.stroke-width]=\"strokeWidth()\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n [attr.data-icon]=\"icon.name\"\n class=\"minerva-icon\"\n [attr.role]=\"labelled() ? 'img' : null\"\n [attr.aria-hidden]=\"labelled() ? null : 'true'\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledby() || null\"\n >\n @if (title()) {\n <title>{{ title() }}</title>\n }\n @for (d of icon.paths; track $index) {\n <path\n [attr.d]=\"d\"\n [attr.vector-effect]=\"\n absoluteStrokeWidth() ? 'non-scaling-stroke' : null\n \"\n />\n }\n </svg>\n } @else {\n <canvas\n #canvas\n class=\"minerva-icon\"\n [attr.data-icon]=\"icon.name\"\n [attr.role]=\"labelled() ? 'img' : null\"\n [attr.aria-hidden]=\"labelled() ? null : 'true'\"\n [attr.aria-label]=\"title() || ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledby() || null\"\n [style.display]=\"'inline-block'\"\n [style.vertical-align]=\"'middle'\"\n [style.width]=\"cssSize()\"\n [style.height]=\"cssSize()\"\n ></canvas>\n }\n }\n",
|
|
40443
|
+
isInline: true,
|
|
40444
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
40445
|
+
});
|
|
40446
|
+
}
|
|
40447
|
+
};
|
|
40448
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
40449
|
+
minVersion: "12.0.0",
|
|
40450
|
+
version: "22.2.2",
|
|
40451
|
+
ngImport: i0,
|
|
40452
|
+
type: MnIcon,
|
|
40453
|
+
decorators: [{
|
|
40454
|
+
type: Component,
|
|
40455
|
+
args: [{
|
|
40456
|
+
selector: "mn-icon",
|
|
40457
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40458
|
+
template: ICON_TEMPLATE
|
|
40459
|
+
}]
|
|
40460
|
+
}],
|
|
40461
|
+
propDecorators: { icon: [{
|
|
40462
|
+
type: i0.Input,
|
|
40463
|
+
args: [{
|
|
40464
|
+
isSignal: true,
|
|
40465
|
+
alias: "icon",
|
|
40466
|
+
required: true
|
|
40467
|
+
}]
|
|
40468
|
+
}] }
|
|
40469
|
+
});
|
|
40470
|
+
var MnDynamicIcon = class MnDynamicIcon extends MnIconBase {
|
|
40471
|
+
constructor() {
|
|
40472
|
+
super(...arguments);
|
|
40473
|
+
this.name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
40474
|
+
this.definition = computed(() => getIcon(this.name()) ?? null, ...ngDevMode ? [{ debugName: "definition" }] : /* istanbul ignore next */ []);
|
|
40475
|
+
}
|
|
40476
|
+
static {
|
|
40477
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
40478
|
+
minVersion: "12.0.0",
|
|
40479
|
+
version: "22.2.2",
|
|
40480
|
+
ngImport: i0,
|
|
40481
|
+
type: MnDynamicIcon,
|
|
40482
|
+
deps: null,
|
|
40483
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
40484
|
+
});
|
|
40485
|
+
}
|
|
40486
|
+
static {
|
|
40487
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
40488
|
+
minVersion: "17.0.0",
|
|
40489
|
+
version: "22.2.2",
|
|
40490
|
+
type: MnDynamicIcon,
|
|
40491
|
+
isStandalone: true,
|
|
40492
|
+
selector: "mn-dynamic-icon",
|
|
40493
|
+
inputs: { name: {
|
|
40494
|
+
classPropertyName: "name",
|
|
40495
|
+
publicName: "name",
|
|
40496
|
+
isSignal: true,
|
|
40497
|
+
isRequired: true,
|
|
40498
|
+
transformFunction: null
|
|
40499
|
+
} },
|
|
40500
|
+
usesInheritance: true,
|
|
40501
|
+
ngImport: i0,
|
|
40502
|
+
template: "\n @if (definition(); as icon) {\n @if (renderer() === \"svg\") {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.width]=\"size()\"\n [attr.height]=\"size()\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n [attr.stroke]=\"color()\"\n [attr.stroke-width]=\"strokeWidth()\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n [attr.data-icon]=\"icon.name\"\n class=\"minerva-icon\"\n [attr.role]=\"labelled() ? 'img' : null\"\n [attr.aria-hidden]=\"labelled() ? null : 'true'\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledby() || null\"\n >\n @if (title()) {\n <title>{{ title() }}</title>\n }\n @for (d of icon.paths; track $index) {\n <path\n [attr.d]=\"d\"\n [attr.vector-effect]=\"\n absoluteStrokeWidth() ? 'non-scaling-stroke' : null\n \"\n />\n }\n </svg>\n } @else {\n <canvas\n #canvas\n class=\"minerva-icon\"\n [attr.data-icon]=\"icon.name\"\n [attr.role]=\"labelled() ? 'img' : null\"\n [attr.aria-hidden]=\"labelled() ? null : 'true'\"\n [attr.aria-label]=\"title() || ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledby() || null\"\n [style.display]=\"'inline-block'\"\n [style.vertical-align]=\"'middle'\"\n [style.width]=\"cssSize()\"\n [style.height]=\"cssSize()\"\n ></canvas>\n }\n }\n",
|
|
40503
|
+
isInline: true,
|
|
40504
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
40505
|
+
});
|
|
40506
|
+
}
|
|
40507
|
+
};
|
|
40508
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
40509
|
+
minVersion: "12.0.0",
|
|
40510
|
+
version: "22.2.2",
|
|
40511
|
+
ngImport: i0,
|
|
40512
|
+
type: MnDynamicIcon,
|
|
40513
|
+
decorators: [{
|
|
40514
|
+
type: Component,
|
|
40515
|
+
args: [{
|
|
40516
|
+
selector: "mn-dynamic-icon",
|
|
40517
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40518
|
+
template: ICON_TEMPLATE
|
|
40519
|
+
}]
|
|
40520
|
+
}],
|
|
40521
|
+
propDecorators: { name: [{
|
|
40522
|
+
type: i0.Input,
|
|
40523
|
+
args: [{
|
|
40524
|
+
isSignal: true,
|
|
40525
|
+
alias: "name",
|
|
40526
|
+
required: true
|
|
40527
|
+
}]
|
|
40528
|
+
}] }
|
|
40529
|
+
});
|
|
40530
|
+
var MnIconCanvas = class MnIconCanvas {
|
|
40531
|
+
constructor() {
|
|
40532
|
+
this.items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
40533
|
+
this.renderer = input("auto", ...ngDevMode ? [{ debugName: "renderer" }] : /* istanbul ignore next */ []);
|
|
40534
|
+
this.width = input("100%", ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
|
|
40535
|
+
this.height = input(240, ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
40536
|
+
this.pixelRatio = input(void 0, ...ngDevMode ? [{ debugName: "pixelRatio" }] : /* istanbul ignore next */ []);
|
|
40537
|
+
this.title = input(void 0, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
40538
|
+
this.ariaLabel = input(void 0, {
|
|
40539
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
40540
|
+
alias: "aria-label"
|
|
40541
|
+
});
|
|
40542
|
+
this.ariaLabelledby = input(void 0, {
|
|
40543
|
+
...ngDevMode ? { debugName: "ariaLabelledby" } : /* istanbul ignore next */ {},
|
|
40544
|
+
alias: "aria-labelledby"
|
|
40545
|
+
});
|
|
40546
|
+
this.rendererChange = output();
|
|
40547
|
+
this.labelled = computed(() => !!this.title() || !!this.ariaLabel() || !!this.ariaLabelledby(), ...ngDevMode ? [{ debugName: "labelled" }] : /* istanbul ignore next */ []);
|
|
40548
|
+
this.cssWidth = computed(() => cssSize(this.width()), ...ngDevMode ? [{ debugName: "cssWidth" }] : /* istanbul ignore next */ []);
|
|
40549
|
+
this.cssHeight = computed(() => cssSize(this.height()), ...ngDevMode ? [{ debugName: "cssHeight" }] : /* istanbul ignore next */ []);
|
|
40550
|
+
this.controller = null;
|
|
40551
|
+
const host = inject(ElementRef).nativeElement;
|
|
40552
|
+
const injector = inject(Injector);
|
|
40553
|
+
afterNextRender(() => {
|
|
40554
|
+
const controller = createIconCanvas(host, {
|
|
40555
|
+
items: untracked(this.items),
|
|
40556
|
+
renderer: untracked(this.renderer),
|
|
40557
|
+
pixelRatio: untracked(this.pixelRatio),
|
|
40558
|
+
onRendererChange: (kind) => this.rendererChange.emit(kind)
|
|
40559
|
+
});
|
|
40560
|
+
this.controller = controller;
|
|
40561
|
+
effect(() => {
|
|
40562
|
+
const items = this.items();
|
|
40563
|
+
untracked(() => controller.setItems(items));
|
|
40564
|
+
}, { injector });
|
|
40565
|
+
effect(() => {
|
|
40566
|
+
const options = {
|
|
40567
|
+
renderer: this.renderer(),
|
|
40568
|
+
pixelRatio: this.pixelRatio()
|
|
40569
|
+
};
|
|
40570
|
+
untracked(() => controller.setOptions(options));
|
|
40571
|
+
}, { injector });
|
|
40572
|
+
});
|
|
40573
|
+
inject(DestroyRef).onDestroy(() => {
|
|
40574
|
+
this.controller?.destroy();
|
|
40575
|
+
this.controller = null;
|
|
40576
|
+
});
|
|
40577
|
+
}
|
|
40578
|
+
getRenderer() {
|
|
40579
|
+
return this.controller?.renderer ?? null;
|
|
40580
|
+
}
|
|
40581
|
+
getCanvas() {
|
|
40582
|
+
return this.controller?.canvas ?? null;
|
|
40583
|
+
}
|
|
40584
|
+
ready() {
|
|
40585
|
+
return this.controller?.ready() ?? Promise.reject(/* @__PURE__ */ new Error("MnIconCanvas is not mounted"));
|
|
40586
|
+
}
|
|
40587
|
+
static {
|
|
40588
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
40589
|
+
minVersion: "12.0.0",
|
|
40590
|
+
version: "22.2.2",
|
|
40591
|
+
ngImport: i0,
|
|
40592
|
+
type: MnIconCanvas,
|
|
40593
|
+
deps: [],
|
|
40594
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
40595
|
+
});
|
|
40596
|
+
}
|
|
40597
|
+
static {
|
|
40598
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
40599
|
+
minVersion: "17.1.0",
|
|
40600
|
+
version: "22.2.2",
|
|
40601
|
+
type: MnIconCanvas,
|
|
40602
|
+
isStandalone: true,
|
|
40603
|
+
selector: "mn-icon-canvas",
|
|
40604
|
+
inputs: {
|
|
40605
|
+
items: {
|
|
40606
|
+
classPropertyName: "items",
|
|
40607
|
+
publicName: "items",
|
|
40608
|
+
isSignal: true,
|
|
40609
|
+
isRequired: true,
|
|
40610
|
+
transformFunction: null
|
|
40611
|
+
},
|
|
40612
|
+
renderer: {
|
|
40613
|
+
classPropertyName: "renderer",
|
|
40614
|
+
publicName: "renderer",
|
|
40615
|
+
isSignal: true,
|
|
40616
|
+
isRequired: false,
|
|
40617
|
+
transformFunction: null
|
|
40618
|
+
},
|
|
40619
|
+
width: {
|
|
40620
|
+
classPropertyName: "width",
|
|
40621
|
+
publicName: "width",
|
|
40622
|
+
isSignal: true,
|
|
40623
|
+
isRequired: false,
|
|
40624
|
+
transformFunction: null
|
|
40625
|
+
},
|
|
40626
|
+
height: {
|
|
40627
|
+
classPropertyName: "height",
|
|
40628
|
+
publicName: "height",
|
|
40629
|
+
isSignal: true,
|
|
40630
|
+
isRequired: false,
|
|
40631
|
+
transformFunction: null
|
|
40632
|
+
},
|
|
40633
|
+
pixelRatio: {
|
|
40634
|
+
classPropertyName: "pixelRatio",
|
|
40635
|
+
publicName: "pixelRatio",
|
|
40636
|
+
isSignal: true,
|
|
40637
|
+
isRequired: false,
|
|
40638
|
+
transformFunction: null
|
|
40639
|
+
},
|
|
40640
|
+
title: {
|
|
40641
|
+
classPropertyName: "title",
|
|
40642
|
+
publicName: "title",
|
|
40643
|
+
isSignal: true,
|
|
40644
|
+
isRequired: false,
|
|
40645
|
+
transformFunction: null
|
|
40646
|
+
},
|
|
40647
|
+
ariaLabel: {
|
|
40648
|
+
classPropertyName: "ariaLabel",
|
|
40649
|
+
publicName: "aria-label",
|
|
40650
|
+
isSignal: true,
|
|
40651
|
+
isRequired: false,
|
|
40652
|
+
transformFunction: null
|
|
40653
|
+
},
|
|
40654
|
+
ariaLabelledby: {
|
|
40655
|
+
classPropertyName: "ariaLabelledby",
|
|
40656
|
+
publicName: "aria-labelledby",
|
|
40657
|
+
isSignal: true,
|
|
40658
|
+
isRequired: false,
|
|
40659
|
+
transformFunction: null
|
|
40660
|
+
}
|
|
40661
|
+
},
|
|
40662
|
+
outputs: { rendererChange: "rendererChange" },
|
|
40663
|
+
host: {
|
|
40664
|
+
properties: {
|
|
40665
|
+
"attr.role": "labelled() ? 'img' : null",
|
|
40666
|
+
"attr.aria-hidden": "labelled() ? null : 'true'",
|
|
40667
|
+
"attr.aria-label": "title() || ariaLabel() || null",
|
|
40668
|
+
"attr.aria-labelledby": "ariaLabelledby() || null",
|
|
40669
|
+
"attr.title": "null",
|
|
40670
|
+
"style.display": "'block'",
|
|
40671
|
+
"style.position": "'relative'",
|
|
40672
|
+
"style.width": "cssWidth()",
|
|
40673
|
+
"style.height": "cssHeight()"
|
|
40674
|
+
},
|
|
40675
|
+
classAttribute: "minerva-icon-canvas"
|
|
40676
|
+
},
|
|
40677
|
+
ngImport: i0,
|
|
40678
|
+
template: "",
|
|
40679
|
+
isInline: true,
|
|
40680
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
40681
|
+
});
|
|
40682
|
+
}
|
|
40683
|
+
};
|
|
40684
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
40685
|
+
minVersion: "12.0.0",
|
|
40686
|
+
version: "22.2.2",
|
|
40687
|
+
ngImport: i0,
|
|
40688
|
+
type: MnIconCanvas,
|
|
40689
|
+
decorators: [{
|
|
40690
|
+
type: Component,
|
|
40691
|
+
args: [{
|
|
40692
|
+
selector: "mn-icon-canvas",
|
|
40693
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40694
|
+
host: {
|
|
40695
|
+
class: "minerva-icon-canvas",
|
|
40696
|
+
"[attr.role]": "labelled() ? 'img' : null",
|
|
40697
|
+
"[attr.aria-hidden]": "labelled() ? null : 'true'",
|
|
40698
|
+
"[attr.aria-label]": "title() || ariaLabel() || null",
|
|
40699
|
+
"[attr.aria-labelledby]": "ariaLabelledby() || null",
|
|
40700
|
+
"[attr.title]": "null",
|
|
40701
|
+
"[style.display]": "'block'",
|
|
40702
|
+
"[style.position]": "'relative'",
|
|
40703
|
+
"[style.width]": "cssWidth()",
|
|
40704
|
+
"[style.height]": "cssHeight()"
|
|
40705
|
+
},
|
|
40706
|
+
template: ""
|
|
40707
|
+
}]
|
|
40708
|
+
}],
|
|
40709
|
+
ctorParameters: () => [],
|
|
40710
|
+
propDecorators: {
|
|
40711
|
+
items: [{
|
|
40712
|
+
type: i0.Input,
|
|
40713
|
+
args: [{
|
|
40714
|
+
isSignal: true,
|
|
40715
|
+
alias: "items",
|
|
40716
|
+
required: true
|
|
40717
|
+
}]
|
|
40718
|
+
}],
|
|
40719
|
+
renderer: [{
|
|
40720
|
+
type: i0.Input,
|
|
40721
|
+
args: [{
|
|
40722
|
+
isSignal: true,
|
|
40723
|
+
alias: "renderer",
|
|
40724
|
+
required: false
|
|
40725
|
+
}]
|
|
40726
|
+
}],
|
|
40727
|
+
width: [{
|
|
40728
|
+
type: i0.Input,
|
|
40729
|
+
args: [{
|
|
40730
|
+
isSignal: true,
|
|
40731
|
+
alias: "width",
|
|
40732
|
+
required: false
|
|
40733
|
+
}]
|
|
40734
|
+
}],
|
|
40735
|
+
height: [{
|
|
40736
|
+
type: i0.Input,
|
|
40737
|
+
args: [{
|
|
40738
|
+
isSignal: true,
|
|
40739
|
+
alias: "height",
|
|
40740
|
+
required: false
|
|
40741
|
+
}]
|
|
40742
|
+
}],
|
|
40743
|
+
pixelRatio: [{
|
|
40744
|
+
type: i0.Input,
|
|
40745
|
+
args: [{
|
|
40746
|
+
isSignal: true,
|
|
40747
|
+
alias: "pixelRatio",
|
|
40748
|
+
required: false
|
|
40749
|
+
}]
|
|
40750
|
+
}],
|
|
40751
|
+
title: [{
|
|
40752
|
+
type: i0.Input,
|
|
40753
|
+
args: [{
|
|
40754
|
+
isSignal: true,
|
|
40755
|
+
alias: "title",
|
|
40756
|
+
required: false
|
|
40757
|
+
}]
|
|
40758
|
+
}],
|
|
40759
|
+
ariaLabel: [{
|
|
40760
|
+
type: i0.Input,
|
|
40761
|
+
args: [{
|
|
40762
|
+
isSignal: true,
|
|
40763
|
+
alias: "aria-label",
|
|
40764
|
+
required: false
|
|
40765
|
+
}]
|
|
40766
|
+
}],
|
|
40767
|
+
ariaLabelledby: [{
|
|
40768
|
+
type: i0.Input,
|
|
40769
|
+
args: [{
|
|
40770
|
+
isSignal: true,
|
|
40771
|
+
alias: "aria-labelledby",
|
|
40772
|
+
required: false
|
|
40773
|
+
}]
|
|
40774
|
+
}],
|
|
40775
|
+
rendererChange: [{
|
|
40776
|
+
type: i0.Output,
|
|
40777
|
+
args: ["rendererChange"]
|
|
40778
|
+
}]
|
|
40779
|
+
}
|
|
40780
|
+
});
|
|
40078
40781
|
var MnConfirmService = class MnConfirmService {
|
|
40079
40782
|
constructor() {
|
|
40080
40783
|
this.requests = signal([], ...ngDevMode ? [{ debugName: "requests" }] : /* istanbul ignore next */ []);
|
|
@@ -40972,7 +41675,7 @@ var MnDatePicker = class MnDatePicker extends MnFormValueControl {
|
|
|
40972
41675
|
},
|
|
40973
41676
|
{
|
|
40974
41677
|
kind: "component",
|
|
40975
|
-
type: MnIcon,
|
|
41678
|
+
type: MnIcon$1,
|
|
40976
41679
|
selector: "svg[mnIcon]",
|
|
40977
41680
|
inputs: ["mnIcon", "size"]
|
|
40978
41681
|
},
|
|
@@ -41000,7 +41703,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
41000
41703
|
exportAs: "mnDatePicker",
|
|
41001
41704
|
imports: [
|
|
41002
41705
|
MnHook,
|
|
41003
|
-
MnIcon,
|
|
41706
|
+
MnIcon$1,
|
|
41004
41707
|
MnPortal
|
|
41005
41708
|
],
|
|
41006
41709
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -41368,6 +42071,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
41368
42071
|
}]
|
|
41369
42072
|
}
|
|
41370
42073
|
});
|
|
41371
|
-
export { CHART_SURFACE, MN_RADIO_GROUP, MN_SCOPE, MinervaScope, MnAlert, MnAppShell, MnAreaChart, MnAutoComplete, MnAvatar, MnAvatarGroup, MnBadge, MnBar3DChart, MnBarChart, MnBookWidgetBase, MnBox, MnBoxPlotChart, MnBubbleChart, MnBulletChart, MnButton, MnCalendarHeatmap, MnCandlestickChart, MnCard, MnCardContent, MnCardDescription, MnCardFooter, MnCardHeader, MnCardTitle, MnCartesianChartBase, MnCascader, MnCascaderPanel, MnChart, MnChart3DBase, MnChartEngine, MnCheckbox, MnChordChart, MnCodeBlock, MnCommandDialog, MnConfig, MnConfirmDialog, MnConfirmProvider, MnConfirmService, MnContextMenu, MnDataTable, MnDatePicker, MnDependencyGraph, MnDepthChart, MnDescriptionList, MnDivider, MnDonutChart, MnDrawer, MnDrawerBody, MnDrawerClose, MnDrawerFooter, MnDrawerHeader, MnDrawerTrigger, MnEmpty, MnFieldBase, MnFloatingBase, MnFormControl, MnFormErrorMessage, MnFormField, MnFormHelperText, MnFormLabel, MnFormLayout, MnFunnelChart, MnGanttChart, MnGaugeChart, MnGraphChart, MnGraphChartBase, MnGridItem, MnHStack, MnHeatmapChart, MnHistogramChart, MnHorizontalBarChart, MnHtmlPreview, MnIconButton, MnInput, MnJsonField, MnKeyValueEditor, MnLine3DChart, MnLineChart, MnList, MnListItem, MnLoadingState, MnMenu, MnMenuBase, MnMixedChart, MnModal, MnModalBody, MnModalClose, MnModalFooter, MnModalHeader, MnModalTrigger, MnMonthCalendar, MnNavTree, MnNumberInput, MnOrderBook, MnOrderBookHeatmap, MnPage, MnPageHeader, MnPageSection, MnPageTab, MnPageTabs, MnPagination, MnPaletteToggle, MnPieBase, MnPieChart, MnPopover, MnPopoverAnchor, MnPopoverClose, MnProgressIndicator, MnProse, MnQuadrantChart, MnRadarChart, MnRadialBarChart, MnRadio, MnRadioGroup, MnRangeAreaChart, MnRating, MnRatingScale, MnResponsiveGrid, MnSankeyChart, MnScatter3DChart, MnScatterChart, MnSelect, MnSelectGroup, MnSelectItem, MnSelectLabel, MnSelectSeparator, MnSeriesChartBase, MnShapeChart, MnShapeChartBase, MnShapeChartCommon, MnSkeleton, MnSkeletonText, MnSparkline, MnSplitLayout, MnStack, MnStackBase, MnStatCard, MnSteps, MnSunburstChart, MnSurface3DChart, MnSwitch, MnTab, MnTabPanel, MnTableBody, MnTableCell, MnTableCellContent, MnTableHead, MnTableHeader, MnTableRoot, MnTableRow, MnTabs, MnTag, MnTagInput, MnTextLink, MnTextarea, MnThemeToggle, MnTimeAndSales, MnTimePicker, MnTimePickerPanel, MnToastRegion, MnToastService, MnToolbar, MnTooltip, MnTooltipProvider, MnTradingChart, MnTreeChart, MnTreemapChart, MnUpload, MnVStack, MnVirtualList, MnWaterfallChart, THEME_SCOPE_ATTRIBUTE, injectMinerva, optionalBoolean, provideEmbeddedMinerva, provideMinerva, sameGraphOptions, themeModeOf, withSeriesType };
|
|
42074
|
+
export { CHART_SURFACE, MN_RADIO_GROUP, MN_SCOPE, MinervaScope, MnAlert, MnAppShell, MnAreaChart, MnAutoComplete, MnAvatar, MnAvatarGroup, MnBadge, MnBar3DChart, MnBarChart, MnBookWidgetBase, MnBox, MnBoxPlotChart, MnBubbleChart, MnBulletChart, MnButton, MnCalendarHeatmap, MnCandlestickChart, MnCard, MnCardContent, MnCardDescription, MnCardFooter, MnCardHeader, MnCardTitle, MnCartesianChartBase, MnCascader, MnCascaderPanel, MnChart, MnChart3DBase, MnChartEngine, MnCheckbox, MnChordChart, MnCodeBlock, MnCommandDialog, MnConfig, MnConfirmDialog, MnConfirmProvider, MnConfirmService, MnContextMenu, MnDataTable, MnDatePicker, MnDependencyGraph, MnDepthChart, MnDescriptionList, MnDivider, MnDonutChart, MnDrawer, MnDrawerBody, MnDrawerClose, MnDrawerFooter, MnDrawerHeader, MnDrawerTrigger, MnDynamicIcon, MnEmpty, MnFieldBase, MnFloatingBase, MnFormControl, MnFormErrorMessage, MnFormField, MnFormHelperText, MnFormLabel, MnFormLayout, MnFunnelChart, MnGanttChart, MnGaugeChart, MnGraphChart, MnGraphChartBase, MnGridItem, MnHStack, MnHeatmapChart, MnHistogramChart, MnHorizontalBarChart, MnHtmlPreview, MnIcon, MnIconBase, MnIconButton, MnIconCanvas, MnInput, MnJsonField, MnKeyValueEditor, MnLine3DChart, MnLineChart, MnList, MnListItem, MnLoadingState, MnMenu, MnMenuBase, MnMixedChart, MnModal, MnModalBody, MnModalClose, MnModalFooter, MnModalHeader, MnModalTrigger, MnMonthCalendar, MnNavTree, MnNumberInput, MnOrderBook, MnOrderBookHeatmap, MnPage, MnPageHeader, MnPageSection, MnPageTab, MnPageTabs, MnPagination, MnPaletteToggle, MnPieBase, MnPieChart, MnPopover, MnPopoverAnchor, MnPopoverClose, MnProgressIndicator, MnProse, MnQuadrantChart, MnRadarChart, MnRadialBarChart, MnRadio, MnRadioGroup, MnRangeAreaChart, MnRating, MnRatingScale, MnResponsiveGrid, MnSankeyChart, MnScatter3DChart, MnScatterChart, MnSelect, MnSelectGroup, MnSelectItem, MnSelectLabel, MnSelectSeparator, MnSeriesChartBase, MnShapeChart, MnShapeChartBase, MnShapeChartCommon, MnSkeleton, MnSkeletonText, MnSparkline, MnSplitLayout, MnStack, MnStackBase, MnStatCard, MnSteps, MnSunburstChart, MnSurface3DChart, MnSwitch, MnTab, MnTabPanel, MnTableBody, MnTableCell, MnTableCellContent, MnTableHead, MnTableHeader, MnTableRoot, MnTableRow, MnTabs, MnTag, MnTagInput, MnTextLink, MnTextarea, MnThemeToggle, MnTimeAndSales, MnTimePicker, MnTimePickerPanel, MnToastRegion, MnToastService, MnToolbar, MnTooltip, MnTooltipProvider, MnTradingChart, MnTreeChart, MnTreemapChart, MnUpload, MnVStack, MnVirtualList, MnWaterfallChart, THEME_SCOPE_ATTRIBUTE, injectMinerva, optionalBoolean, provideEmbeddedMinerva, provideMinerva, sameGraphOptions, themeModeOf, withSeriesType };
|
|
41372
42075
|
|
|
41373
42076
|
//# sourceMappingURL=minerva-angular.mjs.map
|