shirkasoft-ui-components 1.14.0 → 2.0.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/README.md +4 -8
- package/fesm2022/shirkasoft-ui-components-breadcrumb.mjs +189 -100
- package/fesm2022/shirkasoft-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-button.mjs +363 -69
- package/fesm2022/shirkasoft-ui-components-button.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-chart.mjs +206 -142
- package/fesm2022/shirkasoft-ui-components-chart.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-config.mjs +905 -843
- package/fesm2022/shirkasoft-ui-components-config.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-confirm-dialog.mjs +307 -142
- package/fesm2022/shirkasoft-ui-components-confirm-dialog.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-date-picker.mjs +1624 -1440
- package/fesm2022/shirkasoft-ui-components-date-picker.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-fieldset.mjs +347 -92
- package/fesm2022/shirkasoft-ui-components-fieldset.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-file-upload.mjs +484 -300
- package/fesm2022/shirkasoft-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-icons.mjs +1028 -533
- package/fesm2022/shirkasoft-ui-components-icons.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-knob.mjs +389 -201
- package/fesm2022/shirkasoft-ui-components-knob.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-loading.mjs +505 -128
- package/fesm2022/shirkasoft-ui-components-loading.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-modal.mjs +311 -314
- package/fesm2022/shirkasoft-ui-components-modal.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-notification.mjs +188 -142
- package/fesm2022/shirkasoft-ui-components-notification.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-price-input.mjs +517 -327
- package/fesm2022/shirkasoft-ui-components-price-input.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-rail-sidebar.mjs +669 -289
- package/fesm2022/shirkasoft-ui-components-rail-sidebar.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-select.mjs +1014 -819
- package/fesm2022/shirkasoft-ui-components-select.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-sidebar.mjs +508 -184
- package/fesm2022/shirkasoft-ui-components-sidebar.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-skeleton.mjs +197 -57
- package/fesm2022/shirkasoft-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-table.mjs +1916 -1698
- package/fesm2022/shirkasoft-ui-components-table.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tabs.mjs +419 -175
- package/fesm2022/shirkasoft-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tag.mjs +175 -49
- package/fesm2022/shirkasoft-ui-components-tag.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-text-field.mjs +687 -402
- package/fesm2022/shirkasoft-ui-components-text-field.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-theme-picker.mjs +310 -124
- package/fesm2022/shirkasoft-ui-components-theme-picker.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-theme.mjs +141 -174
- package/fesm2022/shirkasoft-ui-components-theme.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-timeline.mjs +791 -203
- package/fesm2022/shirkasoft-ui-components-timeline.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-toggle.mjs +179 -109
- package/fesm2022/shirkasoft-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tooltip.mjs +244 -180
- package/fesm2022/shirkasoft-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-utils.mjs +95 -134
- package/fesm2022/shirkasoft-ui-components-utils.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-wizard.mjs +673 -165
- package/fesm2022/shirkasoft-ui-components-wizard.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components.mjs +0 -9
- package/package.json +5 -5
- package/types/shirkasoft-ui-components-breadcrumb.d.ts +59 -44
- package/types/shirkasoft-ui-components-button.d.ts +142 -49
- package/types/shirkasoft-ui-components-chart.d.ts +59 -44
- package/types/shirkasoft-ui-components-config.d.ts +193 -204
- package/types/shirkasoft-ui-components-confirm-dialog.d.ts +107 -66
- package/types/shirkasoft-ui-components-date-picker.d.ts +527 -398
- package/types/shirkasoft-ui-components-fieldset.d.ts +135 -60
- package/types/shirkasoft-ui-components-file-upload.d.ts +176 -112
- package/types/shirkasoft-ui-components-icons.d.ts +1302 -1294
- package/types/shirkasoft-ui-components-knob.d.ts +144 -78
- package/types/shirkasoft-ui-components-loading.d.ts +155 -64
- package/types/shirkasoft-ui-components-modal.d.ts +134 -136
- package/types/shirkasoft-ui-components-notification.d.ts +63 -59
- package/types/shirkasoft-ui-components-price-input.d.ts +198 -113
- package/types/shirkasoft-ui-components-rail-sidebar.d.ts +262 -142
- package/types/shirkasoft-ui-components-select.d.ts +301 -196
- package/types/shirkasoft-ui-components-sidebar.d.ts +198 -93
- package/types/shirkasoft-ui-components-skeleton.d.ts +68 -27
- package/types/shirkasoft-ui-components-table.d.ts +849 -660
- package/types/shirkasoft-ui-components-tabs.d.ts +102 -61
- package/types/shirkasoft-ui-components-tag.d.ts +54 -23
- package/types/shirkasoft-ui-components-text-field.d.ts +231 -127
- package/types/shirkasoft-ui-components-theme-picker.d.ts +92 -58
- package/types/shirkasoft-ui-components-theme.d.ts +56 -64
- package/types/shirkasoft-ui-components-timeline.d.ts +325 -150
- package/types/shirkasoft-ui-components-toggle.d.ts +73 -49
- package/types/shirkasoft-ui-components-tooltip.d.ts +64 -43
- package/types/shirkasoft-ui-components-utils.d.ts +15 -16
- package/types/shirkasoft-ui-components-wizard.d.ts +236 -87
- package/types/shirkasoft-ui-components.d.ts +1 -2
- package/fesm2022/shirkasoft-ui-components.mjs.map +0 -1
|
@@ -1,59 +1,179 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { ShkIconDirective } from
|
|
4
|
-
import { getIcon } from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, computed, input, output } from "@angular/core";
|
|
3
|
+
import { ShkIconDirective } from "shirkasoft-ui-components/icons";
|
|
4
|
+
import { getIcon } from "shirkasoft-ui-components/utils";
|
|
5
|
+
var ButtonComponent = class ButtonComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
8
|
+
this.icon = input("", ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
9
|
+
this.iconPos = input("left", ...ngDevMode ? [{ debugName: "iconPos" }] : /* istanbul ignore next */ []);
|
|
10
|
+
this.severity = input("primary", ...ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []);
|
|
11
|
+
this.outlined = input(false, ...ngDevMode ? [{ debugName: "outlined" }] : /* istanbul ignore next */ []);
|
|
12
|
+
this.text = input(false, ...ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []);
|
|
13
|
+
this.raised = input(false, ...ngDevMode ? [{ debugName: "raised" }] : /* istanbul ignore next */ []);
|
|
14
|
+
this.rounded = input(false, ...ngDevMode ? [{ debugName: "rounded" }] : /* istanbul ignore next */ []);
|
|
15
|
+
this.size = input(void 0, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
16
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
17
|
+
this.loading = input(false, ...ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []);
|
|
18
|
+
this.loadingIcon = input("refresh", ...ngDevMode ? [{ debugName: "loadingIcon" }] : /* istanbul ignore next */ []);
|
|
19
|
+
this.loadingText = input("", ...ngDevMode ? [{ debugName: "loadingText" }] : /* istanbul ignore next */ []);
|
|
20
|
+
this.type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
21
|
+
this.ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
22
|
+
this.title = input("", ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
23
|
+
this.style = input({}, ...ngDevMode ? [{ debugName: "style" }] : /* istanbul ignore next */ []);
|
|
24
|
+
this.styleClass = input("", ...ngDevMode ? [{ debugName: "styleClass" }] : /* istanbul ignore next */ []);
|
|
25
|
+
this.onClick = output();
|
|
26
|
+
this.getIcon = getIcon;
|
|
27
|
+
this.iconOnly = computed(() => !this.label() && !!this.icon(), ...ngDevMode ? [{ debugName: "iconOnly" }] : /* istanbul ignore next */ []);
|
|
28
|
+
}
|
|
29
|
+
static {
|
|
30
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
31
|
+
minVersion: "12.0.0",
|
|
32
|
+
version: "22.3.2",
|
|
33
|
+
ngImport: i0,
|
|
34
|
+
type: ButtonComponent,
|
|
35
|
+
deps: [],
|
|
36
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
static {
|
|
40
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
41
|
+
minVersion: "17.0.0",
|
|
42
|
+
version: "22.3.2",
|
|
43
|
+
type: ButtonComponent,
|
|
44
|
+
isStandalone: true,
|
|
45
|
+
selector: "shk-button",
|
|
46
|
+
inputs: {
|
|
47
|
+
label: {
|
|
48
|
+
classPropertyName: "label",
|
|
49
|
+
publicName: "label",
|
|
50
|
+
isSignal: true,
|
|
51
|
+
isRequired: false,
|
|
52
|
+
transformFunction: null
|
|
53
|
+
},
|
|
54
|
+
icon: {
|
|
55
|
+
classPropertyName: "icon",
|
|
56
|
+
publicName: "icon",
|
|
57
|
+
isSignal: true,
|
|
58
|
+
isRequired: false,
|
|
59
|
+
transformFunction: null
|
|
60
|
+
},
|
|
61
|
+
iconPos: {
|
|
62
|
+
classPropertyName: "iconPos",
|
|
63
|
+
publicName: "iconPos",
|
|
64
|
+
isSignal: true,
|
|
65
|
+
isRequired: false,
|
|
66
|
+
transformFunction: null
|
|
67
|
+
},
|
|
68
|
+
severity: {
|
|
69
|
+
classPropertyName: "severity",
|
|
70
|
+
publicName: "severity",
|
|
71
|
+
isSignal: true,
|
|
72
|
+
isRequired: false,
|
|
73
|
+
transformFunction: null
|
|
74
|
+
},
|
|
75
|
+
outlined: {
|
|
76
|
+
classPropertyName: "outlined",
|
|
77
|
+
publicName: "outlined",
|
|
78
|
+
isSignal: true,
|
|
79
|
+
isRequired: false,
|
|
80
|
+
transformFunction: null
|
|
81
|
+
},
|
|
82
|
+
text: {
|
|
83
|
+
classPropertyName: "text",
|
|
84
|
+
publicName: "text",
|
|
85
|
+
isSignal: true,
|
|
86
|
+
isRequired: false,
|
|
87
|
+
transformFunction: null
|
|
88
|
+
},
|
|
89
|
+
raised: {
|
|
90
|
+
classPropertyName: "raised",
|
|
91
|
+
publicName: "raised",
|
|
92
|
+
isSignal: true,
|
|
93
|
+
isRequired: false,
|
|
94
|
+
transformFunction: null
|
|
95
|
+
},
|
|
96
|
+
rounded: {
|
|
97
|
+
classPropertyName: "rounded",
|
|
98
|
+
publicName: "rounded",
|
|
99
|
+
isSignal: true,
|
|
100
|
+
isRequired: false,
|
|
101
|
+
transformFunction: null
|
|
102
|
+
},
|
|
103
|
+
size: {
|
|
104
|
+
classPropertyName: "size",
|
|
105
|
+
publicName: "size",
|
|
106
|
+
isSignal: true,
|
|
107
|
+
isRequired: false,
|
|
108
|
+
transformFunction: null
|
|
109
|
+
},
|
|
110
|
+
disabled: {
|
|
111
|
+
classPropertyName: "disabled",
|
|
112
|
+
publicName: "disabled",
|
|
113
|
+
isSignal: true,
|
|
114
|
+
isRequired: false,
|
|
115
|
+
transformFunction: null
|
|
116
|
+
},
|
|
117
|
+
loading: {
|
|
118
|
+
classPropertyName: "loading",
|
|
119
|
+
publicName: "loading",
|
|
120
|
+
isSignal: true,
|
|
121
|
+
isRequired: false,
|
|
122
|
+
transformFunction: null
|
|
123
|
+
},
|
|
124
|
+
loadingIcon: {
|
|
125
|
+
classPropertyName: "loadingIcon",
|
|
126
|
+
publicName: "loadingIcon",
|
|
127
|
+
isSignal: true,
|
|
128
|
+
isRequired: false,
|
|
129
|
+
transformFunction: null
|
|
130
|
+
},
|
|
131
|
+
loadingText: {
|
|
132
|
+
classPropertyName: "loadingText",
|
|
133
|
+
publicName: "loadingText",
|
|
134
|
+
isSignal: true,
|
|
135
|
+
isRequired: false,
|
|
136
|
+
transformFunction: null
|
|
137
|
+
},
|
|
138
|
+
type: {
|
|
139
|
+
classPropertyName: "type",
|
|
140
|
+
publicName: "type",
|
|
141
|
+
isSignal: true,
|
|
142
|
+
isRequired: false,
|
|
143
|
+
transformFunction: null
|
|
144
|
+
},
|
|
145
|
+
ariaLabel: {
|
|
146
|
+
classPropertyName: "ariaLabel",
|
|
147
|
+
publicName: "ariaLabel",
|
|
148
|
+
isSignal: true,
|
|
149
|
+
isRequired: false,
|
|
150
|
+
transformFunction: null
|
|
151
|
+
},
|
|
152
|
+
title: {
|
|
153
|
+
classPropertyName: "title",
|
|
154
|
+
publicName: "title",
|
|
155
|
+
isSignal: true,
|
|
156
|
+
isRequired: false,
|
|
157
|
+
transformFunction: null
|
|
158
|
+
},
|
|
159
|
+
style: {
|
|
160
|
+
classPropertyName: "style",
|
|
161
|
+
publicName: "style",
|
|
162
|
+
isSignal: true,
|
|
163
|
+
isRequired: false,
|
|
164
|
+
transformFunction: null
|
|
165
|
+
},
|
|
166
|
+
styleClass: {
|
|
167
|
+
classPropertyName: "styleClass",
|
|
168
|
+
publicName: "styleClass",
|
|
169
|
+
isSignal: true,
|
|
170
|
+
isRequired: false,
|
|
171
|
+
transformFunction: null
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
outputs: { onClick: "onClick" },
|
|
175
|
+
ngImport: i0,
|
|
176
|
+
template: `
|
|
57
177
|
<button
|
|
58
178
|
[attr.type]="type()"
|
|
59
179
|
class="shk-button"
|
|
@@ -93,11 +213,36 @@ class ButtonComponent {
|
|
|
93
213
|
}
|
|
94
214
|
<ng-content></ng-content>
|
|
95
215
|
</button>
|
|
96
|
-
`,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
216
|
+
`,
|
|
217
|
+
isInline: true,
|
|
218
|
+
styles: [":host{display:inline-block}.shk-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;border:1px solid transparent;font-size:.875rem;font-weight:500;line-height:1.25rem;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,color .15s ease-in-out,box-shadow .15s ease-in-out,opacity .15s ease-in-out}.shk-button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--shk-focus-offset, #fff),0 0 0 4px color-mix(in srgb,var(--shk-btn-accent, var(--shk-primary-500)) 55%,transparent)}:host-context(.dark) .shk-button:focus-visible{--shk-focus-offset: var(--shk-surface-50)}.shk-button:active:not(:disabled){transform:translateY(.5px)}.shk-button:disabled{opacity:.55;cursor:not-allowed}.shk-button-icon{width:1rem;height:1rem;flex-shrink:0}.shk-button-primary{--shk-btn-bg: var(--shk-primary-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-primary-600);--shk-btn-accent: var(--shk-primary-600)}.shk-button-secondary{--shk-btn-bg: var(--shk-surface-100);--shk-btn-color: var(--shk-surface-700);--shk-btn-border: var(--shk-surface-200);--shk-btn-accent: var(--shk-surface-600)}.shk-button-success{--shk-btn-bg: var(--shk-success-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-success-600);--shk-btn-accent: var(--shk-success-600)}.shk-button-info{--shk-btn-bg: var(--shk-info-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-info-600);--shk-btn-accent: var(--shk-info-600)}.shk-button-warning{--shk-btn-bg: var(--shk-warning-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-warning-600);--shk-btn-accent: var(--shk-warning-600)}.shk-button-danger{--shk-btn-bg: var(--shk-error-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-error-600);--shk-btn-accent: var(--shk-error-600)}.shk-button-help{--shk-btn-bg: var(--shk-primary-500);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-primary-500);--shk-btn-accent: var(--shk-primary-500)}.shk-button-contrast{--shk-btn-bg: var(--shk-surface-900);--shk-btn-color: var(--shk-surface-50);--shk-btn-border: var(--shk-surface-900);--shk-btn-accent: var(--shk-surface-900)}.shk-button{background-color:var(--shk-btn-bg);color:var(--shk-btn-color);border-color:var(--shk-btn-border);box-shadow:0 1px 2px #0000000d}.shk-button:hover:not(:disabled){background-color:color-mix(in srgb,var(--shk-btn-bg) 88%,#000000)}.shk-button-outlined,.shk-button-text{background-color:transparent;color:var(--shk-btn-accent);box-shadow:none}.shk-button-outlined{border-color:color-mix(in srgb,var(--shk-btn-accent) 45%,transparent)}:host-context(.dark) .shk-button-outlined,:host-context(.dark) .shk-button-text{--shk-btn-accent-dark: color-mix(in srgb, var(--shk-btn-accent) 65%, #ffffff);color:var(--shk-btn-accent-dark)}:host-context(.dark) .shk-button-outlined{border-color:color-mix(in srgb,var(--shk-btn-accent-dark) 40%,transparent)}.shk-button-text{border-color:transparent}.shk-button-text:hover:not(:disabled),.shk-button-outlined:hover:not(:disabled){background-color:color-mix(in srgb,var(--shk-btn-accent) 10%,transparent)}.shk-button-outlined:hover:not(:disabled){border-color:var(--shk-btn-accent)}.shk-button-raised{box-shadow:0 1px 2px #0000000f,0 4px 8px #0000001a}.shk-button-rounded{border-radius:9999px}.shk-button-sm{padding:.375rem .75rem;font-size:.8125rem}.shk-button-sm .shk-button-icon{width:.875rem;height:.875rem}.shk-button-lg{padding:.75rem 1.5rem;font-size:1rem}.shk-button-lg .shk-button-icon{width:1.25rem;height:1.25rem}.shk-button-icon-only{padding:.5rem}.shk-button-sm.shk-button-icon-only{padding:.375rem}.shk-button-lg.shk-button-icon-only{padding:.75rem}.shk-button-icon-right{flex-direction:row-reverse}.shk-button-icon-top{flex-direction:column}.shk-button-icon-bottom{flex-direction:column-reverse}.shk-button-loading .shk-button-spin{animation:shk-button-spin 1s linear infinite}@keyframes shk-button-spin{to{transform:rotate(360deg)}}\n"],
|
|
219
|
+
dependencies: [{
|
|
220
|
+
kind: "directive",
|
|
221
|
+
type: ShkIconDirective,
|
|
222
|
+
selector: "svg[shkIcon]",
|
|
223
|
+
inputs: [
|
|
224
|
+
"shkIcon",
|
|
225
|
+
"size",
|
|
226
|
+
"strokeWidth",
|
|
227
|
+
"color"
|
|
228
|
+
]
|
|
229
|
+
}],
|
|
230
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
235
|
+
minVersion: "12.0.0",
|
|
236
|
+
version: "22.3.2",
|
|
237
|
+
ngImport: i0,
|
|
238
|
+
type: ButtonComponent,
|
|
239
|
+
decorators: [{
|
|
240
|
+
type: Component,
|
|
241
|
+
args: [{
|
|
242
|
+
selector: "shk-button",
|
|
243
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
244
|
+
imports: [ShkIconDirective],
|
|
245
|
+
template: `
|
|
101
246
|
<button
|
|
102
247
|
[attr.type]="type()"
|
|
103
248
|
class="shk-button"
|
|
@@ -137,12 +282,161 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.27", ngImpo
|
|
|
137
282
|
}
|
|
138
283
|
<ng-content></ng-content>
|
|
139
284
|
</button>
|
|
140
|
-
`,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
285
|
+
`,
|
|
286
|
+
styles: [":host{display:inline-block}.shk-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;border:1px solid transparent;font-size:.875rem;font-weight:500;line-height:1.25rem;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,color .15s ease-in-out,box-shadow .15s ease-in-out,opacity .15s ease-in-out}.shk-button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--shk-focus-offset, #fff),0 0 0 4px color-mix(in srgb,var(--shk-btn-accent, var(--shk-primary-500)) 55%,transparent)}:host-context(.dark) .shk-button:focus-visible{--shk-focus-offset: var(--shk-surface-50)}.shk-button:active:not(:disabled){transform:translateY(.5px)}.shk-button:disabled{opacity:.55;cursor:not-allowed}.shk-button-icon{width:1rem;height:1rem;flex-shrink:0}.shk-button-primary{--shk-btn-bg: var(--shk-primary-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-primary-600);--shk-btn-accent: var(--shk-primary-600)}.shk-button-secondary{--shk-btn-bg: var(--shk-surface-100);--shk-btn-color: var(--shk-surface-700);--shk-btn-border: var(--shk-surface-200);--shk-btn-accent: var(--shk-surface-600)}.shk-button-success{--shk-btn-bg: var(--shk-success-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-success-600);--shk-btn-accent: var(--shk-success-600)}.shk-button-info{--shk-btn-bg: var(--shk-info-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-info-600);--shk-btn-accent: var(--shk-info-600)}.shk-button-warning{--shk-btn-bg: var(--shk-warning-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-warning-600);--shk-btn-accent: var(--shk-warning-600)}.shk-button-danger{--shk-btn-bg: var(--shk-error-600);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-error-600);--shk-btn-accent: var(--shk-error-600)}.shk-button-help{--shk-btn-bg: var(--shk-primary-500);--shk-btn-color: #ffffff;--shk-btn-border: var(--shk-primary-500);--shk-btn-accent: var(--shk-primary-500)}.shk-button-contrast{--shk-btn-bg: var(--shk-surface-900);--shk-btn-color: var(--shk-surface-50);--shk-btn-border: var(--shk-surface-900);--shk-btn-accent: var(--shk-surface-900)}.shk-button{background-color:var(--shk-btn-bg);color:var(--shk-btn-color);border-color:var(--shk-btn-border);box-shadow:0 1px 2px #0000000d}.shk-button:hover:not(:disabled){background-color:color-mix(in srgb,var(--shk-btn-bg) 88%,#000000)}.shk-button-outlined,.shk-button-text{background-color:transparent;color:var(--shk-btn-accent);box-shadow:none}.shk-button-outlined{border-color:color-mix(in srgb,var(--shk-btn-accent) 45%,transparent)}:host-context(.dark) .shk-button-outlined,:host-context(.dark) .shk-button-text{--shk-btn-accent-dark: color-mix(in srgb, var(--shk-btn-accent) 65%, #ffffff);color:var(--shk-btn-accent-dark)}:host-context(.dark) .shk-button-outlined{border-color:color-mix(in srgb,var(--shk-btn-accent-dark) 40%,transparent)}.shk-button-text{border-color:transparent}.shk-button-text:hover:not(:disabled),.shk-button-outlined:hover:not(:disabled){background-color:color-mix(in srgb,var(--shk-btn-accent) 10%,transparent)}.shk-button-outlined:hover:not(:disabled){border-color:var(--shk-btn-accent)}.shk-button-raised{box-shadow:0 1px 2px #0000000f,0 4px 8px #0000001a}.shk-button-rounded{border-radius:9999px}.shk-button-sm{padding:.375rem .75rem;font-size:.8125rem}.shk-button-sm .shk-button-icon{width:.875rem;height:.875rem}.shk-button-lg{padding:.75rem 1.5rem;font-size:1rem}.shk-button-lg .shk-button-icon{width:1.25rem;height:1.25rem}.shk-button-icon-only{padding:.5rem}.shk-button-sm.shk-button-icon-only{padding:.375rem}.shk-button-lg.shk-button-icon-only{padding:.75rem}.shk-button-icon-right{flex-direction:row-reverse}.shk-button-icon-top{flex-direction:column}.shk-button-icon-bottom{flex-direction:column-reverse}.shk-button-loading .shk-button-spin{animation:shk-button-spin 1s linear infinite}@keyframes shk-button-spin{to{transform:rotate(360deg)}}\n"]
|
|
287
|
+
}]
|
|
288
|
+
}],
|
|
289
|
+
propDecorators: {
|
|
290
|
+
label: [{
|
|
291
|
+
type: i0.Input,
|
|
292
|
+
args: [{
|
|
293
|
+
isSignal: true,
|
|
294
|
+
alias: "label",
|
|
295
|
+
required: false
|
|
296
|
+
}]
|
|
297
|
+
}],
|
|
298
|
+
icon: [{
|
|
299
|
+
type: i0.Input,
|
|
300
|
+
args: [{
|
|
301
|
+
isSignal: true,
|
|
302
|
+
alias: "icon",
|
|
303
|
+
required: false
|
|
304
|
+
}]
|
|
305
|
+
}],
|
|
306
|
+
iconPos: [{
|
|
307
|
+
type: i0.Input,
|
|
308
|
+
args: [{
|
|
309
|
+
isSignal: true,
|
|
310
|
+
alias: "iconPos",
|
|
311
|
+
required: false
|
|
312
|
+
}]
|
|
313
|
+
}],
|
|
314
|
+
severity: [{
|
|
315
|
+
type: i0.Input,
|
|
316
|
+
args: [{
|
|
317
|
+
isSignal: true,
|
|
318
|
+
alias: "severity",
|
|
319
|
+
required: false
|
|
320
|
+
}]
|
|
321
|
+
}],
|
|
322
|
+
outlined: [{
|
|
323
|
+
type: i0.Input,
|
|
324
|
+
args: [{
|
|
325
|
+
isSignal: true,
|
|
326
|
+
alias: "outlined",
|
|
327
|
+
required: false
|
|
328
|
+
}]
|
|
329
|
+
}],
|
|
330
|
+
text: [{
|
|
331
|
+
type: i0.Input,
|
|
332
|
+
args: [{
|
|
333
|
+
isSignal: true,
|
|
334
|
+
alias: "text",
|
|
335
|
+
required: false
|
|
336
|
+
}]
|
|
337
|
+
}],
|
|
338
|
+
raised: [{
|
|
339
|
+
type: i0.Input,
|
|
340
|
+
args: [{
|
|
341
|
+
isSignal: true,
|
|
342
|
+
alias: "raised",
|
|
343
|
+
required: false
|
|
344
|
+
}]
|
|
345
|
+
}],
|
|
346
|
+
rounded: [{
|
|
347
|
+
type: i0.Input,
|
|
348
|
+
args: [{
|
|
349
|
+
isSignal: true,
|
|
350
|
+
alias: "rounded",
|
|
351
|
+
required: false
|
|
352
|
+
}]
|
|
353
|
+
}],
|
|
354
|
+
size: [{
|
|
355
|
+
type: i0.Input,
|
|
356
|
+
args: [{
|
|
357
|
+
isSignal: true,
|
|
358
|
+
alias: "size",
|
|
359
|
+
required: false
|
|
360
|
+
}]
|
|
361
|
+
}],
|
|
362
|
+
disabled: [{
|
|
363
|
+
type: i0.Input,
|
|
364
|
+
args: [{
|
|
365
|
+
isSignal: true,
|
|
366
|
+
alias: "disabled",
|
|
367
|
+
required: false
|
|
368
|
+
}]
|
|
369
|
+
}],
|
|
370
|
+
loading: [{
|
|
371
|
+
type: i0.Input,
|
|
372
|
+
args: [{
|
|
373
|
+
isSignal: true,
|
|
374
|
+
alias: "loading",
|
|
375
|
+
required: false
|
|
376
|
+
}]
|
|
377
|
+
}],
|
|
378
|
+
loadingIcon: [{
|
|
379
|
+
type: i0.Input,
|
|
380
|
+
args: [{
|
|
381
|
+
isSignal: true,
|
|
382
|
+
alias: "loadingIcon",
|
|
383
|
+
required: false
|
|
384
|
+
}]
|
|
385
|
+
}],
|
|
386
|
+
loadingText: [{
|
|
387
|
+
type: i0.Input,
|
|
388
|
+
args: [{
|
|
389
|
+
isSignal: true,
|
|
390
|
+
alias: "loadingText",
|
|
391
|
+
required: false
|
|
392
|
+
}]
|
|
393
|
+
}],
|
|
394
|
+
type: [{
|
|
395
|
+
type: i0.Input,
|
|
396
|
+
args: [{
|
|
397
|
+
isSignal: true,
|
|
398
|
+
alias: "type",
|
|
399
|
+
required: false
|
|
400
|
+
}]
|
|
401
|
+
}],
|
|
402
|
+
ariaLabel: [{
|
|
403
|
+
type: i0.Input,
|
|
404
|
+
args: [{
|
|
405
|
+
isSignal: true,
|
|
406
|
+
alias: "ariaLabel",
|
|
407
|
+
required: false
|
|
408
|
+
}]
|
|
409
|
+
}],
|
|
410
|
+
title: [{
|
|
411
|
+
type: i0.Input,
|
|
412
|
+
args: [{
|
|
413
|
+
isSignal: true,
|
|
414
|
+
alias: "title",
|
|
415
|
+
required: false
|
|
416
|
+
}]
|
|
417
|
+
}],
|
|
418
|
+
style: [{
|
|
419
|
+
type: i0.Input,
|
|
420
|
+
args: [{
|
|
421
|
+
isSignal: true,
|
|
422
|
+
alias: "style",
|
|
423
|
+
required: false
|
|
424
|
+
}]
|
|
425
|
+
}],
|
|
426
|
+
styleClass: [{
|
|
427
|
+
type: i0.Input,
|
|
428
|
+
args: [{
|
|
429
|
+
isSignal: true,
|
|
430
|
+
alias: "styleClass",
|
|
431
|
+
required: false
|
|
432
|
+
}]
|
|
433
|
+
}],
|
|
434
|
+
onClick: [{
|
|
435
|
+
type: i0.Output,
|
|
436
|
+
args: ["onClick"]
|
|
437
|
+
}]
|
|
438
|
+
}
|
|
439
|
+
});
|
|
147
440
|
export { ButtonComponent };
|
|
148
|
-
|
|
441
|
+
|
|
442
|
+
//# sourceMappingURL=shirkasoft-ui-components-button.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shirkasoft-ui-components-button.mjs","sources":["../../../projects/ui-components/button/button.component.ts","../../../projects/ui-components/button/shirkasoft-ui-components-button.ts"],"sourcesContent":["import { Component, computed, input, output, ChangeDetectionStrategy } from '@angular/core';\nimport { ShkIconDirective } from 'shirkasoft-ui-components/icons';\nimport { getIcon } from 'shirkasoft-ui-components/utils';\n\nexport type ButtonSeverity =\n 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast';\nexport type ButtonSize = 'small' | 'large';\nexport type ButtonIconPosition = 'left' | 'right' | 'top' | 'bottom';\n\n/**\n * Shirkasoft UI Components.\n * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).\n * Belongs to Shirkasoft.\n */\n\n/** Generic button with icon, severity variants, loading state and sizes. */\n@Component({\n selector: 'shk-button',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ShkIconDirective],\n template: `\n <button\n [attr.type]=\"type()\"\n class=\"shk-button\"\n [class.shk-button-primary]=\"severity() === 'primary' || !severity()\"\n [class.shk-button-secondary]=\"severity() === 'secondary'\"\n [class.shk-button-success]=\"severity() === 'success'\"\n [class.shk-button-info]=\"severity() === 'info'\"\n [class.shk-button-warning]=\"severity() === 'warning'\"\n [class.shk-button-danger]=\"severity() === 'danger'\"\n [class.shk-button-help]=\"severity() === 'help'\"\n [class.shk-button-contrast]=\"severity() === 'contrast'\"\n [class.shk-button-outlined]=\"outlined()\"\n [class.shk-button-text]=\"text()\"\n [class.shk-button-raised]=\"raised()\"\n [class.shk-button-rounded]=\"rounded()\"\n [class.shk-button-sm]=\"size() === 'small'\"\n [class.shk-button-lg]=\"size() === 'large'\"\n [class.shk-button-icon-right]=\"iconPos() === 'right'\"\n [class.shk-button-icon-top]=\"iconPos() === 'top'\"\n [class.shk-button-icon-bottom]=\"iconPos() === 'bottom'\"\n [class.shk-button-icon-only]=\"iconOnly()\"\n [class.shk-button-loading]=\"loading()\"\n [class]=\"styleClass()\"\n [style]=\"style()\"\n [disabled]=\"disabled() || loading()\"\n [attr.aria-label]=\"ariaLabel() || undefined\"\n [attr.title]=\"title() || undefined\"\n (click)=\"onClick.emit($event)\"\n >\n @if (loading()) {\n <svg [shkIcon]=\"getIcon(loadingIcon())\" class=\"shk-button-icon shk-button-spin\"></svg>\n } @else if (icon()) {\n <svg [shkIcon]=\"getIcon(icon())\" class=\"shk-button-icon\"></svg>\n }\n @if (label()) {\n <span>{{ loading() && loadingText() ? loadingText() : label() }}</span>\n }\n <ng-content></ng-content>\n </button>\n `,\n styles: [\n `\n :host {\n display: inline-block;\n }\n .shk-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n padding: 0.5rem 1rem;\n border-radius: 0.5rem;\n border: 1px solid transparent;\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.25rem;\n cursor: pointer;\n user-select: none;\n white-space: nowrap;\n transition:\n background-color 0.15s ease-in-out,\n border-color 0.15s ease-in-out,\n color 0.15s ease-in-out,\n box-shadow 0.15s ease-in-out,\n opacity 0.15s ease-in-out;\n }\n .shk-button:focus-visible {\n outline: none;\n box-shadow:\n 0 0 0 2px var(--shk-focus-offset, #fff),\n 0 0 0 4px color-mix(in srgb, var(--shk-btn-accent, var(--shk-primary-500)) 55%, transparent);\n }\n :host-context(.dark) .shk-button:focus-visible {\n --shk-focus-offset: var(--shk-surface-50);\n }\n .shk-button:active:not(:disabled) {\n transform: translateY(0.5px);\n }\n .shk-button:disabled {\n opacity: 0.55;\n cursor: not-allowed;\n }\n .shk-button-icon {\n width: 1rem;\n height: 1rem;\n flex-shrink: 0;\n }\n\n .shk-button-primary {\n --shk-btn-bg: var(--shk-primary-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-primary-600);\n --shk-btn-accent: var(--shk-primary-600);\n }\n .shk-button-secondary {\n --shk-btn-bg: var(--shk-surface-100);\n --shk-btn-color: var(--shk-surface-700);\n --shk-btn-border: var(--shk-surface-200);\n --shk-btn-accent: var(--shk-surface-600);\n }\n .shk-button-success {\n --shk-btn-bg: var(--shk-success-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-success-600);\n --shk-btn-accent: var(--shk-success-600);\n }\n .shk-button-info {\n --shk-btn-bg: var(--shk-info-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-info-600);\n --shk-btn-accent: var(--shk-info-600);\n }\n .shk-button-warning {\n --shk-btn-bg: var(--shk-warning-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-warning-600);\n --shk-btn-accent: var(--shk-warning-600);\n }\n .shk-button-danger {\n --shk-btn-bg: var(--shk-error-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-error-600);\n --shk-btn-accent: var(--shk-error-600);\n }\n .shk-button-help {\n --shk-btn-bg: var(--shk-primary-500);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-primary-500);\n --shk-btn-accent: var(--shk-primary-500);\n }\n .shk-button-contrast {\n --shk-btn-bg: var(--shk-surface-900);\n --shk-btn-color: var(--shk-surface-50);\n --shk-btn-border: var(--shk-surface-900);\n --shk-btn-accent: var(--shk-surface-900);\n }\n\n .shk-button {\n background-color: var(--shk-btn-bg);\n color: var(--shk-btn-color);\n border-color: var(--shk-btn-border);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n }\n .shk-button:hover:not(:disabled) {\n background-color: color-mix(in srgb, var(--shk-btn-bg) 88%, #000000);\n }\n /* Outlined/text use the severity accent (not the solid text color, which\n is white for most severities and made them invisible on light bg). */\n .shk-button-outlined,\n .shk-button-text {\n background-color: transparent;\n color: var(--shk-btn-accent);\n box-shadow: none;\n }\n .shk-button-outlined {\n border-color: color-mix(in srgb, var(--shk-btn-accent) 45%, transparent);\n }\n /* Lighter accent on dark backgrounds to keep text contrast. */\n :host-context(.dark) .shk-button-outlined,\n :host-context(.dark) .shk-button-text {\n --shk-btn-accent-dark: color-mix(in srgb, var(--shk-btn-accent) 65%, #ffffff);\n color: var(--shk-btn-accent-dark);\n }\n :host-context(.dark) .shk-button-outlined {\n border-color: color-mix(in srgb, var(--shk-btn-accent-dark) 40%, transparent);\n }\n .shk-button-text {\n border-color: transparent;\n }\n .shk-button-text:hover:not(:disabled),\n .shk-button-outlined:hover:not(:disabled) {\n background-color: color-mix(in srgb, var(--shk-btn-accent) 10%, transparent);\n }\n .shk-button-outlined:hover:not(:disabled) {\n border-color: var(--shk-btn-accent);\n }\n .shk-button-raised {\n box-shadow:\n 0 1px 2px rgba(0, 0, 0, 0.06),\n 0 4px 8px rgba(0, 0, 0, 0.1);\n }\n .shk-button-rounded {\n border-radius: 9999px;\n }\n .shk-button-sm {\n padding: 0.375rem 0.75rem;\n font-size: 0.8125rem;\n }\n .shk-button-sm .shk-button-icon {\n width: 0.875rem;\n height: 0.875rem;\n }\n .shk-button-lg {\n padding: 0.75rem 1.5rem;\n font-size: 1rem;\n }\n .shk-button-lg .shk-button-icon {\n width: 1.25rem;\n height: 1.25rem;\n }\n .shk-button-icon-only {\n padding: 0.5rem;\n }\n .shk-button-sm.shk-button-icon-only {\n padding: 0.375rem;\n }\n .shk-button-lg.shk-button-icon-only {\n padding: 0.75rem;\n }\n .shk-button-icon-right {\n flex-direction: row-reverse;\n }\n .shk-button-icon-top {\n flex-direction: column;\n }\n .shk-button-icon-bottom {\n flex-direction: column-reverse;\n }\n .shk-button-loading .shk-button-spin {\n animation: shk-button-spin 1s linear infinite;\n }\n @keyframes shk-button-spin {\n to {\n transform: rotate(360deg);\n }\n }\n `,\n ],\n})\nexport class ButtonComponent {\n /** Text shown inside the button. */\n label = input<string>('');\n /** Optional leading icon: registered name (e.g. `'plus'`) or `IconNode` data. */\n icon = input<string | any>('');\n /** Position of the icon relative to the label. */\n iconPos = input<ButtonIconPosition>('left');\n /** Color variant. Defaults to 'primary'. */\n severity = input<ButtonSeverity>('primary');\n /** Transparent background with a colored border. */\n outlined = input<boolean>(false);\n /** Borderless button with a colored label. */\n text = input<boolean>(false);\n /** Adds a soft shadow. */\n raised = input<boolean>(false);\n /** Fully rounded corners (pill). */\n rounded = input<boolean>(false);\n /** Size variant. */\n size = input<ButtonSize | undefined>(undefined);\n /** Disables the button. */\n disabled = input<boolean>(false);\n /** Shows a spinner and disables the button. */\n loading = input<boolean>(false);\n /** Icon shown while loading. Defaults to 'refresh'. */\n loadingIcon = input<string>('refresh');\n /** Optional text shown instead of the label while loading. */\n loadingText = input<string>('');\n /** Native button type. */\n type = input<'button' | 'submit' | 'reset'>('button');\n /** Accessible label when the button is icon-only. */\n ariaLabel = input<string>('');\n /** Native title tooltip. */\n title = input<string>('');\n /** Inline styles applied to the button. */\n style = input<Record<string, string | number>>({});\n /** Extra CSS classes. */\n styleClass = input<string>('');\n\n /** Emitted on click with the original MouseEvent. */\n onClick = output<MouseEvent>();\n\n protected getIcon = getIcon;\n\n protected iconOnly = computed(() => !this.label() && !!this.icon());\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AASA;;;;AAIG;AAEH;MA2Oa,eAAe,CAAA;AA1O5B,IAAA,WAAA,GAAA;;AA4OE,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;;AAEzB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAe,EAAE,2EAAC;;AAE9B,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAqB,MAAM,8EAAC;;AAE3C,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAiB,SAAS,+EAAC;;AAE3C,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;;AAEhC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAU,KAAK,2EAAC;;AAE5B,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAU,KAAK,6EAAC;;AAE9B,QAAA,IAAA,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iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAtOhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,26HAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAzCS,gBAAgB,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,aAAA,EAAA,OAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAuOf,eAAe,EAAA,UAAA,EAAA,CAAA;kBA1O3B,SAAS;+BACE,YAAY,EAAA,eAAA,EACL,uBAAuB,CAAC,MAAM,WACtC,CAAC,gBAAgB,CAAC,EAAA,QAAA,EACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCT,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,26HAAA,CAAA,EAAA;;;AC5DH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"shirkasoft-ui-components-button.mjs","names":[],"sources":["../../../projects/ui-components/button/button.component.ts"],"sourcesContent":["import { Component, computed, input, output, ChangeDetectionStrategy } from '@angular/core';\nimport { ShkIconDirective } from 'shirkasoft-ui-components/icons';\nimport { getIcon } from 'shirkasoft-ui-components/utils';\n\nexport type ButtonSeverity =\n 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast';\nexport type ButtonSize = 'small' | 'large';\nexport type ButtonIconPosition = 'left' | 'right' | 'top' | 'bottom';\n\n/**\n * Shirkasoft UI Components.\n * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).\n * Belongs to Shirkasoft.\n */\n\n/** Generic button with icon, severity variants, loading state and sizes. */\n@Component({\n selector: 'shk-button',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ShkIconDirective],\n template: `\n <button\n [attr.type]=\"type()\"\n class=\"shk-button\"\n [class.shk-button-primary]=\"severity() === 'primary' || !severity()\"\n [class.shk-button-secondary]=\"severity() === 'secondary'\"\n [class.shk-button-success]=\"severity() === 'success'\"\n [class.shk-button-info]=\"severity() === 'info'\"\n [class.shk-button-warning]=\"severity() === 'warning'\"\n [class.shk-button-danger]=\"severity() === 'danger'\"\n [class.shk-button-help]=\"severity() === 'help'\"\n [class.shk-button-contrast]=\"severity() === 'contrast'\"\n [class.shk-button-outlined]=\"outlined()\"\n [class.shk-button-text]=\"text()\"\n [class.shk-button-raised]=\"raised()\"\n [class.shk-button-rounded]=\"rounded()\"\n [class.shk-button-sm]=\"size() === 'small'\"\n [class.shk-button-lg]=\"size() === 'large'\"\n [class.shk-button-icon-right]=\"iconPos() === 'right'\"\n [class.shk-button-icon-top]=\"iconPos() === 'top'\"\n [class.shk-button-icon-bottom]=\"iconPos() === 'bottom'\"\n [class.shk-button-icon-only]=\"iconOnly()\"\n [class.shk-button-loading]=\"loading()\"\n [class]=\"styleClass()\"\n [style]=\"style()\"\n [disabled]=\"disabled() || loading()\"\n [attr.aria-label]=\"ariaLabel() || undefined\"\n [attr.title]=\"title() || undefined\"\n (click)=\"onClick.emit($event)\"\n >\n @if (loading()) {\n <svg [shkIcon]=\"getIcon(loadingIcon())\" class=\"shk-button-icon shk-button-spin\"></svg>\n } @else if (icon()) {\n <svg [shkIcon]=\"getIcon(icon())\" class=\"shk-button-icon\"></svg>\n }\n @if (label()) {\n <span>{{ loading() && loadingText() ? loadingText() : label() }}</span>\n }\n <ng-content></ng-content>\n </button>\n `,\n styles: [\n `\n :host {\n display: inline-block;\n }\n .shk-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n padding: 0.5rem 1rem;\n border-radius: 0.5rem;\n border: 1px solid transparent;\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.25rem;\n cursor: pointer;\n user-select: none;\n white-space: nowrap;\n transition:\n background-color 0.15s ease-in-out,\n border-color 0.15s ease-in-out,\n color 0.15s ease-in-out,\n box-shadow 0.15s ease-in-out,\n opacity 0.15s ease-in-out;\n }\n .shk-button:focus-visible {\n outline: none;\n box-shadow:\n 0 0 0 2px var(--shk-focus-offset, #fff),\n 0 0 0 4px color-mix(in srgb, var(--shk-btn-accent, var(--shk-primary-500)) 55%, transparent);\n }\n :host-context(.dark) .shk-button:focus-visible {\n --shk-focus-offset: var(--shk-surface-50);\n }\n .shk-button:active:not(:disabled) {\n transform: translateY(0.5px);\n }\n .shk-button:disabled {\n opacity: 0.55;\n cursor: not-allowed;\n }\n .shk-button-icon {\n width: 1rem;\n height: 1rem;\n flex-shrink: 0;\n }\n\n .shk-button-primary {\n --shk-btn-bg: var(--shk-primary-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-primary-600);\n --shk-btn-accent: var(--shk-primary-600);\n }\n .shk-button-secondary {\n --shk-btn-bg: var(--shk-surface-100);\n --shk-btn-color: var(--shk-surface-700);\n --shk-btn-border: var(--shk-surface-200);\n --shk-btn-accent: var(--shk-surface-600);\n }\n .shk-button-success {\n --shk-btn-bg: var(--shk-success-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-success-600);\n --shk-btn-accent: var(--shk-success-600);\n }\n .shk-button-info {\n --shk-btn-bg: var(--shk-info-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-info-600);\n --shk-btn-accent: var(--shk-info-600);\n }\n .shk-button-warning {\n --shk-btn-bg: var(--shk-warning-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-warning-600);\n --shk-btn-accent: var(--shk-warning-600);\n }\n .shk-button-danger {\n --shk-btn-bg: var(--shk-error-600);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-error-600);\n --shk-btn-accent: var(--shk-error-600);\n }\n .shk-button-help {\n --shk-btn-bg: var(--shk-primary-500);\n --shk-btn-color: #ffffff;\n --shk-btn-border: var(--shk-primary-500);\n --shk-btn-accent: var(--shk-primary-500);\n }\n .shk-button-contrast {\n --shk-btn-bg: var(--shk-surface-900);\n --shk-btn-color: var(--shk-surface-50);\n --shk-btn-border: var(--shk-surface-900);\n --shk-btn-accent: var(--shk-surface-900);\n }\n\n .shk-button {\n background-color: var(--shk-btn-bg);\n color: var(--shk-btn-color);\n border-color: var(--shk-btn-border);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n }\n .shk-button:hover:not(:disabled) {\n background-color: color-mix(in srgb, var(--shk-btn-bg) 88%, #000000);\n }\n /* Outlined/text use the severity accent (not the solid text color, which\n is white for most severities and made them invisible on light bg). */\n .shk-button-outlined,\n .shk-button-text {\n background-color: transparent;\n color: var(--shk-btn-accent);\n box-shadow: none;\n }\n .shk-button-outlined {\n border-color: color-mix(in srgb, var(--shk-btn-accent) 45%, transparent);\n }\n /* Lighter accent on dark backgrounds to keep text contrast. */\n :host-context(.dark) .shk-button-outlined,\n :host-context(.dark) .shk-button-text {\n --shk-btn-accent-dark: color-mix(in srgb, var(--shk-btn-accent) 65%, #ffffff);\n color: var(--shk-btn-accent-dark);\n }\n :host-context(.dark) .shk-button-outlined {\n border-color: color-mix(in srgb, var(--shk-btn-accent-dark) 40%, transparent);\n }\n .shk-button-text {\n border-color: transparent;\n }\n .shk-button-text:hover:not(:disabled),\n .shk-button-outlined:hover:not(:disabled) {\n background-color: color-mix(in srgb, var(--shk-btn-accent) 10%, transparent);\n }\n .shk-button-outlined:hover:not(:disabled) {\n border-color: var(--shk-btn-accent);\n }\n .shk-button-raised {\n box-shadow:\n 0 1px 2px rgba(0, 0, 0, 0.06),\n 0 4px 8px rgba(0, 0, 0, 0.1);\n }\n .shk-button-rounded {\n border-radius: 9999px;\n }\n .shk-button-sm {\n padding: 0.375rem 0.75rem;\n font-size: 0.8125rem;\n }\n .shk-button-sm .shk-button-icon {\n width: 0.875rem;\n height: 0.875rem;\n }\n .shk-button-lg {\n padding: 0.75rem 1.5rem;\n font-size: 1rem;\n }\n .shk-button-lg .shk-button-icon {\n width: 1.25rem;\n height: 1.25rem;\n }\n .shk-button-icon-only {\n padding: 0.5rem;\n }\n .shk-button-sm.shk-button-icon-only {\n padding: 0.375rem;\n }\n .shk-button-lg.shk-button-icon-only {\n padding: 0.75rem;\n }\n .shk-button-icon-right {\n flex-direction: row-reverse;\n }\n .shk-button-icon-top {\n flex-direction: column;\n }\n .shk-button-icon-bottom {\n flex-direction: column-reverse;\n }\n .shk-button-loading .shk-button-spin {\n animation: shk-button-spin 1s linear infinite;\n }\n @keyframes shk-button-spin {\n to {\n transform: rotate(360deg);\n }\n }\n `,\n ],\n})\nexport class ButtonComponent {\n /** Text shown inside the button. */\n label = input<string>('');\n /** Optional leading icon: registered name (e.g. `'plus'`) or `IconNode` data. */\n icon = input<string | any>('');\n /** Position of the icon relative to the label. */\n iconPos = input<ButtonIconPosition>('left');\n /** Color variant. Defaults to 'primary'. */\n severity = input<ButtonSeverity>('primary');\n /** Transparent background with a colored border. */\n outlined = input<boolean>(false);\n /** Borderless button with a colored label. */\n text = input<boolean>(false);\n /** Adds a soft shadow. */\n raised = input<boolean>(false);\n /** Fully rounded corners (pill). */\n rounded = input<boolean>(false);\n /** Size variant. */\n size = input<ButtonSize | undefined>(undefined);\n /** Disables the button. */\n disabled = input<boolean>(false);\n /** Shows a spinner and disables the button. */\n loading = input<boolean>(false);\n /** Icon shown while loading. Defaults to 'refresh'. */\n loadingIcon = input<string>('refresh');\n /** Optional text shown instead of the label while loading. */\n loadingText = input<string>('');\n /** Native button type. */\n type = input<'button' | 'submit' | 'reset'>('button');\n /** Accessible label when the button is icon-only. */\n ariaLabel = input<string>('');\n /** Native title tooltip. */\n title = input<string>('');\n /** Inline styles applied to the button. */\n style = input<Record<string, string | number>>({});\n /** Extra CSS classes. */\n styleClass = input<string>('');\n\n /** Emitted on click with the original MouseEvent. */\n onClick = output<MouseEvent>();\n\n protected getIcon = getIcon;\n\n protected iconOnly = computed(() => !this.label() && !!this.icon());\n}\n"],"mappings":";;;;AA0PA,IAAa,kBAAb,MAAa,gBAAe;CA1O5B,cAAA;EA4OE,KAAA,QAAQ,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAEzB,KAAA,OAAO,MAAoB,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAE9B,KAAA,UAAU,MAA0B,QAAO,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EAE3C,KAAA,WAAW,MAAsB,WAAU,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;EAE3C,KAAA,WAAW,MAAe,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;EAEhC,KAAA,OAAO,MAAe,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAE5B,KAAA,SAAS,MAAe,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;EAE9B,KAAA,UAAU,MAAe,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EAE/B,KAAA,OAAO,MAA8B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAE/C,KAAA,WAAW,MAAe,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA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