@blank-software/core-components 0.0.1 → 0.0.2
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/fesm2022/blank-software-core-components.mjs +118 -2
- package/fesm2022/blank-software-core-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/accordion/accordion.css +5 -0
- package/src/lib/alert/alert.css +27 -0
- package/src/lib/avatar/avatar.css +0 -0
- package/src/lib/badge/badge.css +0 -0
- package/src/lib/breadcrumb/breadcrumb.css +0 -0
- package/src/lib/button/button.css +83 -0
- package/src/lib/card/card.css +31 -0
- package/src/lib/checkbox/checkbox.css +53 -0
- package/src/lib/date-picker/date-picker.css +0 -0
- package/src/lib/dropdown/dropdown.css +0 -0
- package/src/lib/file-upload/file-upload.css +0 -0
- package/src/lib/footer/footer.css +0 -0
- package/src/lib/form-field/form-field.css +0 -0
- package/src/lib/header/header.css +23 -0
- package/src/lib/icon/icon.css +0 -0
- package/src/lib/input/input.css +29 -0
- package/src/lib/label/label.css +27 -0
- package/src/lib/modal/modal-dialog.css +117 -0
- package/src/lib/modal/modal.css +69 -0
- package/src/lib/navigation/navigation.css +0 -0
- package/src/lib/pagination/pagination.css +76 -0
- package/src/lib/progress-bar/progress-bar.css +88 -0
- package/src/lib/radio/radio.css +35 -0
- package/src/lib/search-bar/search-bar.css +0 -0
- package/src/lib/select/select.css +75 -0
- package/src/lib/sidebar/sidebar.css +41 -0
- package/src/lib/skeleton/skeleton.css +46 -0
- package/src/lib/spinner/spinner.css +0 -0
- package/src/lib/stepper/stepper.css +0 -0
- package/src/lib/table/table.css +97 -0
- package/src/lib/tabs/tabs.css +0 -0
- package/src/lib/toggle/toggle.css +52 -0
- package/src/lib/tooltip/tooltip.css +0 -0
- package/src/styles/index.css +34 -0
- package/src/styles/theme.css +133 -0
- package/types/blank-software-core-components.d.ts +51 -2
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@reference "tailwindcss";
|
|
2
|
+
|
|
3
|
+
/* ── Base ── */
|
|
4
|
+
.skeleton-base {
|
|
5
|
+
@apply bg-ink-200 rounded-md;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.skeleton-animated {
|
|
9
|
+
@apply animate-pulse;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* ── Text ── */
|
|
13
|
+
.skeleton-text-container {
|
|
14
|
+
@apply flex flex-col gap-2;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.skeleton-text {
|
|
18
|
+
@apply h-3;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* ── Circular ── */
|
|
22
|
+
.skeleton-circular {
|
|
23
|
+
@apply rounded-full;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* ── Rectangular ── */
|
|
27
|
+
.skeleton-rectangular {
|
|
28
|
+
@apply rounded-base;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* ── Table ── */
|
|
32
|
+
.skeleton-table {
|
|
33
|
+
@apply flex flex-col gap-2;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.skeleton-table-row {
|
|
37
|
+
@apply flex gap-2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.skeleton-table-header-cell {
|
|
41
|
+
@apply h-4 flex-1 bg-ink-300 rounded-md;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.skeleton-table-cell {
|
|
45
|
+
@apply h-3 flex-1;
|
|
46
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@reference "tailwindcss";
|
|
2
|
+
|
|
3
|
+
/* ── Wrapper ── */
|
|
4
|
+
.table-wrapper {
|
|
5
|
+
@apply w-full;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* ── Search ── */
|
|
9
|
+
.table-search {
|
|
10
|
+
@apply relative mb-4;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.table-search-icon {
|
|
14
|
+
@apply absolute left-3 top-1/2 -translate-y-1/2 text-ink-400 pointer-events-none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.table-search-input {
|
|
18
|
+
@apply w-full pl-10 pr-4 py-2.5 text-sm border border-ink-300 rounded-base bg-surface text-ink-900
|
|
19
|
+
placeholder:text-ink-400
|
|
20
|
+
transition-colors duration-200
|
|
21
|
+
focus:outline-none focus:ring-4 focus:ring-primary-200 focus:border-primary;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* ── Scroll container ── */
|
|
25
|
+
.table-scroll {
|
|
26
|
+
@apply overflow-x-auto border border-ink-200 rounded-base;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* ── Table ── */
|
|
30
|
+
.table {
|
|
31
|
+
@apply w-full text-sm;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* ── Header ── */
|
|
35
|
+
.table-th {
|
|
36
|
+
@apply px-4 py-3 text-left text-xs font-semibold uppercase tracking-wider text-ink-500 bg-surface-muted;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.table-th-content {
|
|
40
|
+
@apply inline-flex items-center gap-1.5;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.table-th-sortable {
|
|
44
|
+
@apply cursor-pointer select-none transition-colors duration-150 hover:text-ink-700 hover:bg-ink-100;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* ── Sort icon ── */
|
|
48
|
+
.table-sort-icon {
|
|
49
|
+
@apply transition-opacity duration-150;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.table-sort-none {
|
|
53
|
+
@apply opacity-30;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.table-sort-asc {
|
|
57
|
+
@apply opacity-100;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.table-sort-desc {
|
|
61
|
+
@apply opacity-100;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* ── Body cells ── */
|
|
65
|
+
.table-td {
|
|
66
|
+
@apply px-4 py-3 text-ink-900 border-b border-ink-100;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* ── Striped rows ── */
|
|
70
|
+
.table-striped-row tbody tr:nth-child(even) {
|
|
71
|
+
@apply bg-ink-50;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* ── Striped columns ── */
|
|
75
|
+
.table-striped-column td:nth-child(even),
|
|
76
|
+
.table-striped-column th:nth-child(even) {
|
|
77
|
+
@apply bg-ink-50;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* ── Hover ── */
|
|
81
|
+
.table-hover tbody tr {
|
|
82
|
+
@apply transition-colors duration-150;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.table-hover tbody tr:hover {
|
|
86
|
+
@apply bg-primary-50;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* ── Empty state ── */
|
|
90
|
+
.table-empty {
|
|
91
|
+
@apply px-4 py-12 text-center text-ink-400;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* ── Pagination ── */
|
|
95
|
+
.table-pagination {
|
|
96
|
+
@apply flex justify-end mt-4;
|
|
97
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@reference "tailwindcss";
|
|
2
|
+
|
|
3
|
+
/* ── Wrapper button ── */
|
|
4
|
+
.toggle {
|
|
5
|
+
@apply inline-flex items-center cursor-pointer
|
|
6
|
+
disabled:opacity-50 disabled:cursor-not-allowed;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* ── Track ── */
|
|
10
|
+
.toggle-track {
|
|
11
|
+
@apply relative bg-ink-300 rounded-full transition-colors duration-200 inline-flex items-center;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.toggle-track-checked {
|
|
15
|
+
@apply bg-primary;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* ── Thumb ── */
|
|
19
|
+
.toggle-thumb {
|
|
20
|
+
@apply absolute bg-white rounded-full shadow-sm transition-transform duration-200;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* ── Sizes ── */
|
|
24
|
+
.toggle-sm .toggle-track {
|
|
25
|
+
@apply w-8 h-5;
|
|
26
|
+
}
|
|
27
|
+
.toggle-sm .toggle-thumb {
|
|
28
|
+
@apply w-3.5 h-3.5 left-0.5;
|
|
29
|
+
}
|
|
30
|
+
.toggle-sm .toggle-thumb-checked {
|
|
31
|
+
@apply translate-x-3.5;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.toggle-md .toggle-track {
|
|
35
|
+
@apply w-11 h-6;
|
|
36
|
+
}
|
|
37
|
+
.toggle-md .toggle-thumb {
|
|
38
|
+
@apply w-4.5 h-4.5 left-0.5;
|
|
39
|
+
}
|
|
40
|
+
.toggle-md .toggle-thumb-checked {
|
|
41
|
+
@apply translate-x-5;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.toggle-lg .toggle-track {
|
|
45
|
+
@apply w-14 h-8;
|
|
46
|
+
}
|
|
47
|
+
.toggle-lg .toggle-thumb {
|
|
48
|
+
@apply w-6 h-6 left-1;
|
|
49
|
+
}
|
|
50
|
+
.toggle-lg .toggle-thumb-checked {
|
|
51
|
+
@apply translate-x-6;
|
|
52
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import './theme.css';
|
|
2
|
+
@import '../lib/accordion/accordion.css';
|
|
3
|
+
@import '../lib/alert/alert.css';
|
|
4
|
+
@import '../lib/avatar/avatar.css';
|
|
5
|
+
@import '../lib/badge/badge.css';
|
|
6
|
+
@import '../lib/breadcrumb/breadcrumb.css';
|
|
7
|
+
@import '../lib/button/button.css';
|
|
8
|
+
@import '../lib/card/card.css';
|
|
9
|
+
@import '../lib/checkbox/checkbox.css';
|
|
10
|
+
@import '../lib/date-picker/date-picker.css';
|
|
11
|
+
@import '../lib/dropdown/dropdown.css';
|
|
12
|
+
@import '../lib/file-upload/file-upload.css';
|
|
13
|
+
@import '../lib/footer/footer.css';
|
|
14
|
+
@import '../lib/form-field/form-field.css';
|
|
15
|
+
@import '../lib/header/header.css';
|
|
16
|
+
@import '../lib/icon/icon.css';
|
|
17
|
+
@import '../lib/input/input.css';
|
|
18
|
+
@import '../lib/label/label.css';
|
|
19
|
+
@import '../lib/modal/modal.css';
|
|
20
|
+
@import '../lib/modal/modal-dialog.css';
|
|
21
|
+
@import '../lib/navigation/navigation.css';
|
|
22
|
+
@import '../lib/pagination/pagination.css';
|
|
23
|
+
@import '../lib/progress-bar/progress-bar.css';
|
|
24
|
+
@import '../lib/radio/radio.css';
|
|
25
|
+
@import '../lib/search-bar/search-bar.css';
|
|
26
|
+
@import '../lib/select/select.css';
|
|
27
|
+
@import '../lib/sidebar/sidebar.css';
|
|
28
|
+
@import '../lib/skeleton/skeleton.css';
|
|
29
|
+
@import '../lib/spinner/spinner.css';
|
|
30
|
+
@import '../lib/stepper/stepper.css';
|
|
31
|
+
@import '../lib/table/table.css';
|
|
32
|
+
@import '../lib/tabs/tabs.css';
|
|
33
|
+
@import '../lib/toggle/toggle.css';
|
|
34
|
+
@import '../lib/tooltip/tooltip.css';
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
@theme {
|
|
2
|
+
/* ===========================================
|
|
3
|
+
* COLORS - Primary (Brand Purple #5C00C2)
|
|
4
|
+
* =========================================== */
|
|
5
|
+
--color-primary: #5c00c2;
|
|
6
|
+
--color-primary-50: #faf5ff;
|
|
7
|
+
--color-primary-100: #f1e4ff;
|
|
8
|
+
--color-primary-200: #e0c8ff;
|
|
9
|
+
--color-primary-300: #c99eff;
|
|
10
|
+
--color-primary-400: #ad6aff;
|
|
11
|
+
--color-primary-500: #9238ff;
|
|
12
|
+
--color-primary-600: #5c00c2;
|
|
13
|
+
--color-primary-700: #4d00a3;
|
|
14
|
+
--color-primary-800: #3f0085;
|
|
15
|
+
--color-primary-900: #300066;
|
|
16
|
+
--color-primary-950: #1d003d;
|
|
17
|
+
|
|
18
|
+
/* ===========================================
|
|
19
|
+
* COLORS - Success (Green #87ED6B)
|
|
20
|
+
* =========================================== */
|
|
21
|
+
--color-success: #87ed6b;
|
|
22
|
+
--color-success-50: #f0fde8;
|
|
23
|
+
--color-success-100: #ddfbcd;
|
|
24
|
+
--color-success-200: #bdf69f;
|
|
25
|
+
--color-success-300: #96ec6f;
|
|
26
|
+
--color-success-400: #87ed6b;
|
|
27
|
+
--color-success-500: #52d224;
|
|
28
|
+
--color-success-600: #3ba91a;
|
|
29
|
+
--color-success-700: #2e8117;
|
|
30
|
+
--color-success-800: #286518;
|
|
31
|
+
--color-success-900: #235518;
|
|
32
|
+
--color-success-950: #0e2f09;
|
|
33
|
+
|
|
34
|
+
/* ===========================================
|
|
35
|
+
* COLORS - Ink / Neutral (#0F172A based)
|
|
36
|
+
* =========================================== */
|
|
37
|
+
--color-ink: #0f172a;
|
|
38
|
+
--color-ink-50: #f8fafc;
|
|
39
|
+
--color-ink-100: #f1f5f9;
|
|
40
|
+
--color-ink-200: #e2e8f0;
|
|
41
|
+
--color-ink-300: #cbd5e1;
|
|
42
|
+
--color-ink-400: #94a3b8;
|
|
43
|
+
--color-ink-500: #64748b;
|
|
44
|
+
--color-ink-600: #475569;
|
|
45
|
+
--color-ink-700: #334155;
|
|
46
|
+
--color-ink-800: #1e293b;
|
|
47
|
+
--color-ink-900: #0f172a;
|
|
48
|
+
--color-ink-950: #020617;
|
|
49
|
+
|
|
50
|
+
/* ===========================================
|
|
51
|
+
* COLORS - Warning (Amber)
|
|
52
|
+
* =========================================== */
|
|
53
|
+
--color-warning: #f59e0b;
|
|
54
|
+
--color-warning-50: #fffbeb;
|
|
55
|
+
--color-warning-100: #fef3c7;
|
|
56
|
+
--color-warning-200: #fde68a;
|
|
57
|
+
--color-warning-300: #fcd34d;
|
|
58
|
+
--color-warning-400: #fbbf24;
|
|
59
|
+
--color-warning-500: #f59e0b;
|
|
60
|
+
--color-warning-600: #d97706;
|
|
61
|
+
--color-warning-700: #b45309;
|
|
62
|
+
--color-warning-800: #92400e;
|
|
63
|
+
--color-warning-900: #78350f;
|
|
64
|
+
--color-warning-950: #451a03;
|
|
65
|
+
|
|
66
|
+
/* ===========================================
|
|
67
|
+
* COLORS - Error / Danger (Red)
|
|
68
|
+
* =========================================== */
|
|
69
|
+
--color-error: #ef4444;
|
|
70
|
+
--color-error-50: #fef2f2;
|
|
71
|
+
--color-error-100: #fee2e2;
|
|
72
|
+
--color-error-200: #fecaca;
|
|
73
|
+
--color-error-300: #fca5a5;
|
|
74
|
+
--color-error-400: #f87171;
|
|
75
|
+
--color-error-500: #ef4444;
|
|
76
|
+
--color-error-600: #dc2626;
|
|
77
|
+
--color-error-700: #b91c1c;
|
|
78
|
+
--color-error-800: #991b1b;
|
|
79
|
+
--color-error-900: #7f1d1d;
|
|
80
|
+
--color-error-950: #450a0a;
|
|
81
|
+
|
|
82
|
+
/* ===========================================
|
|
83
|
+
* COLORS - Info (Blue)
|
|
84
|
+
* =========================================== */
|
|
85
|
+
--color-info: #3b82f6;
|
|
86
|
+
--color-info-50: #eff6ff;
|
|
87
|
+
--color-info-100: #dbeafe;
|
|
88
|
+
--color-info-200: #bfdbfe;
|
|
89
|
+
--color-info-300: #93c5fd;
|
|
90
|
+
--color-info-400: #60a5fa;
|
|
91
|
+
--color-info-500: #3b82f6;
|
|
92
|
+
--color-info-600: #2563eb;
|
|
93
|
+
--color-info-700: #1d4ed8;
|
|
94
|
+
--color-info-800: #1e40af;
|
|
95
|
+
--color-info-900: #1e3a8a;
|
|
96
|
+
--color-info-950: #172554;
|
|
97
|
+
|
|
98
|
+
/* ===========================================
|
|
99
|
+
* COLORS - Surface (Backgrounds)
|
|
100
|
+
* =========================================== */
|
|
101
|
+
--color-surface: #ffffff;
|
|
102
|
+
--color-surface-dim: #f8fafc;
|
|
103
|
+
--color-surface-muted: #f1f5f9;
|
|
104
|
+
|
|
105
|
+
/* ===========================================
|
|
106
|
+
* TYPOGRAPHY - Font Families
|
|
107
|
+
* =========================================== */
|
|
108
|
+
--font-sans:
|
|
109
|
+
'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
|
|
110
|
+
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
111
|
+
|
|
112
|
+
/* ===========================================
|
|
113
|
+
* BORDER RADIUS
|
|
114
|
+
* =========================================== */
|
|
115
|
+
--radius-xs: 0.125rem;
|
|
116
|
+
--radius-sm: 0.25rem;
|
|
117
|
+
--radius-md: 0.375rem;
|
|
118
|
+
--radius-base: 0.7rem;
|
|
119
|
+
--radius-lg: 0.5rem;
|
|
120
|
+
--radius-xl: 0.75rem;
|
|
121
|
+
--radius-2xl: 1rem;
|
|
122
|
+
--radius-3xl: 1.5rem;
|
|
123
|
+
--radius-full: 9999px;
|
|
124
|
+
|
|
125
|
+
/* ===========================================
|
|
126
|
+
* SHADOWS
|
|
127
|
+
* =========================================== */
|
|
128
|
+
--shadow-xs: 0 1px 2px 0 rgb(15 23 42 / 0.04);
|
|
129
|
+
--shadow-sm: 0 1px 3px 0 rgb(15 23 42 / 0.06), 0 1px 2px -1px rgb(15 23 42 / 0.06);
|
|
130
|
+
--shadow-md: 0 4px 6px -1px rgb(15 23 42 / 0.07), 0 2px 4px -2px rgb(15 23 42 / 0.05);
|
|
131
|
+
--shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.07), 0 4px 6px -4px rgb(15 23 42 / 0.04);
|
|
132
|
+
--shadow-xl: 0 20px 25px -5px rgb(15 23 42 / 0.08), 0 8px 10px -6px rgb(15 23 42 / 0.04);
|
|
133
|
+
}
|
|
@@ -154,6 +154,55 @@ declare class Modal {
|
|
|
154
154
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Modal, "bsc-modal", never, { "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; "isSignal": true; }; "confirmDisabled": { "alias": "confirmDisabled"; "required": false; "isSignal": true; }; "confirmText": { "alias": "confirmText"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "confirmed": "confirmed"; "open": "openChange"; }, never, ["*", "[modalFooter]"], true, never>;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
+
type ModalDialogType = 'confirm' | 'success' | 'error';
|
|
158
|
+
interface ModalDialogOptions {
|
|
159
|
+
title?: string;
|
|
160
|
+
text?: string;
|
|
161
|
+
type?: ModalDialogType;
|
|
162
|
+
size?: Size;
|
|
163
|
+
confirmText?: string;
|
|
164
|
+
cancelText?: string;
|
|
165
|
+
showCancel?: boolean;
|
|
166
|
+
closeOnBackdrop?: boolean;
|
|
167
|
+
closeOnEsc?: boolean;
|
|
168
|
+
}
|
|
169
|
+
interface ModalDialogResult {
|
|
170
|
+
confirmed: boolean;
|
|
171
|
+
}
|
|
172
|
+
declare class ModalDialog {
|
|
173
|
+
readonly cancelText: _angular_core.WritableSignal<string>;
|
|
174
|
+
readonly closeOnBackdrop: _angular_core.WritableSignal<boolean>;
|
|
175
|
+
readonly closeOnEsc: _angular_core.WritableSignal<boolean>;
|
|
176
|
+
readonly confirmText: _angular_core.WritableSignal<string>;
|
|
177
|
+
readonly open: _angular_core.WritableSignal<boolean>;
|
|
178
|
+
readonly showCancel: _angular_core.WritableSignal<boolean>;
|
|
179
|
+
readonly size: _angular_core.WritableSignal<Size>;
|
|
180
|
+
readonly text: _angular_core.WritableSignal<string>;
|
|
181
|
+
readonly title: _angular_core.WritableSignal<string>;
|
|
182
|
+
readonly type: _angular_core.WritableSignal<ModalDialogType>;
|
|
183
|
+
private readonly panel;
|
|
184
|
+
private resolvePromise;
|
|
185
|
+
configure(options: ModalDialogOptions): Promise<ModalDialogResult>;
|
|
186
|
+
protected confirm(): void;
|
|
187
|
+
protected dismiss(): void;
|
|
188
|
+
protected onBackdropClick(): void;
|
|
189
|
+
protected onEscKey(): void;
|
|
190
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalDialog, never>;
|
|
191
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalDialog, "bsc-modal-dialog", never, {}, {}, never, never, true, never>;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
declare class ModalService {
|
|
195
|
+
private readonly appRef;
|
|
196
|
+
private readonly document;
|
|
197
|
+
private readonly injector;
|
|
198
|
+
confirm(options: Omit<ModalDialogOptions, 'type'>): Promise<ModalDialogResult>;
|
|
199
|
+
error(options: Omit<ModalDialogOptions, 'type'>): Promise<ModalDialogResult>;
|
|
200
|
+
fire(options: ModalDialogOptions): Promise<ModalDialogResult>;
|
|
201
|
+
success(options: Omit<ModalDialogOptions, 'type'>): Promise<ModalDialogResult>;
|
|
202
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalService, never>;
|
|
203
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ModalService>;
|
|
204
|
+
}
|
|
205
|
+
|
|
157
206
|
declare class Navigation {
|
|
158
207
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Navigation, never>;
|
|
159
208
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Navigation, "bsc-navigation", never, {}, {}, never, never, true, never>;
|
|
@@ -348,5 +397,5 @@ declare class Tooltip {
|
|
|
348
397
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tooltip, "bsc-tooltip", never, {}, {}, never, never, true, never>;
|
|
349
398
|
}
|
|
350
399
|
|
|
351
|
-
export { Accordion, AccordionItem, Alert, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, DatePicker, Dropdown, FileUpload, Footer, FormField, Header, Icon, Input, Label, Modal, Navigation, Pagination, ProgressBar, Radio, SearchBar, Select, Sidebar, SidebarService, Skeleton, Spinner, Stepper, Table, Tabs, Toggle, Tooltip };
|
|
352
|
-
export type { AlertVariant, ButtonShape, ButtonVariant, CardVariant, ProgressBarLabelPosition, ProgressBarVariant, SelectOption, Size, SkeletonVariant, SortDirection, SortState, State, StripedDirection, TableColumn };
|
|
400
|
+
export { Accordion, AccordionItem, Alert, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, DatePicker, Dropdown, FileUpload, Footer, FormField, Header, Icon, Input, Label, Modal, ModalDialog, ModalService, Navigation, Pagination, ProgressBar, Radio, SearchBar, Select, Sidebar, SidebarService, Skeleton, Spinner, Stepper, Table, Tabs, Toggle, Tooltip };
|
|
401
|
+
export type { AlertVariant, ButtonShape, ButtonVariant, CardVariant, ModalDialogOptions, ModalDialogResult, ModalDialogType, ProgressBarLabelPosition, ProgressBarVariant, SelectOption, Size, SkeletonVariant, SortDirection, SortState, State, StripedDirection, TableColumn };
|