@spartan-ng/cli 0.0.1-alpha.362 → 0.0.1-alpha.363
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/package.json +1 -1
- package/src/generators/base/lib/build-dependency-array.js +6 -0
- package/src/generators/base/lib/build-dependency-array.js.map +1 -1
- package/src/generators/base/versions.d.ts +1 -0
- package/src/generators/base/versions.js +2 -1
- package/src/generators/base/versions.js.map +1 -1
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-form-field.component.ts.template +1 -1
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input.directive.ts.template +2 -2
- package/src/generators/ui/libs/ui-sonner-helm/files/index.ts.template +0 -9
- package/src/generators/ui/libs/ui-sonner-helm/files/lib/hlm-toaster.component.ts.template +2 -2
- package/src/generators/ui/libs/ui-sonner-helm/generator.d.ts +2 -2
- package/src/generators/ui/primivite-deps.js +5 -5
- package/src/generators/ui/primivite-deps.js.map +1 -1
- package/src/generators/ui/primivites.d.ts +1 -1
- package/src/generators/ui/supported-ui-libraries.json +34 -34
- package/src/generators/ui/libs/helm/files/index.ts.template +0 -1
- package/src/generators/ui/libs/helm/files/lib/hlm-toaster.component.ts.template +0 -64
- package/src/generators/ui/libs/helm/generator.d.ts +0 -3
- package/src/generators/ui/libs/helm/generator.js +0 -12
- package/src/generators/ui/libs/helm/generator.js.map +0 -1
package/package.json
CHANGED
|
@@ -21,8 +21,11 @@ const BRAIN_DEPENDENCY_MAP = {
|
|
|
21
21
|
tabs: versions_1.SPARTAN_TABS_VERSION,
|
|
22
22
|
table: versions_1.SPARTAN_TABLE_VERSION,
|
|
23
23
|
toggle: versions_1.SPARTAN_TOGGLE_VERSION,
|
|
24
|
+
formfield: versions_1.SPARTAN_FORMFIELD_VERSION,
|
|
24
25
|
};
|
|
26
|
+
// TODO: can we combine this with primitive-deps.ts
|
|
25
27
|
const DEPENDENT_ON_DIALOG = ['alertdialog', 'sheet', 'popover'];
|
|
28
|
+
const DEPENDENT_ON_FORMS = ['input', 'select'];
|
|
26
29
|
function buildDependencyArray(options, angularVersion, existingCdkVersion) {
|
|
27
30
|
let dependencies = {
|
|
28
31
|
'@spartan-ng/ui-core': versions_1.SPARTAN_CORE_VERSION,
|
|
@@ -38,6 +41,9 @@ function buildDependencyArray(options, angularVersion, existingCdkVersion) {
|
|
|
38
41
|
if (brainDependencyVersion && DEPENDENT_ON_DIALOG.includes(options.primitiveName)) {
|
|
39
42
|
dependencies = Object.assign(Object.assign({}, dependencies), { '@spartan-ng/ui-dialog-brain': brainDependencyVersion });
|
|
40
43
|
}
|
|
44
|
+
if (brainDependencyVersion && DEPENDENT_ON_FORMS.includes(options.primitiveName)) {
|
|
45
|
+
dependencies = Object.assign(Object.assign({}, dependencies), { '@spartan-ng/ui-forms-brain': brainDependencyVersion });
|
|
46
|
+
}
|
|
41
47
|
if (options.primitiveName === 'icon') {
|
|
42
48
|
dependencies = Object.assign(Object.assign({}, dependencies), { '@ng-icons/core': versions_1.NG_ICONS_VERSION });
|
|
43
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-dependency-array.js","sourceRoot":"","sources":["../../../../../../../libs/cli/src/generators/base/lib/build-dependency-array.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"build-dependency-array.js","sourceRoot":"","sources":["../../../../../../../libs/cli/src/generators/base/lib/build-dependency-array.ts"],"names":[],"mappings":";;;AACA,0CAyBqB;AAErB,MAAM,oBAAoB,GAAG;IAC5B,SAAS,EAAE,0CAA+B;IAC1C,WAAW,EAAE,6CAAkC;IAC/C,MAAM,EAAE,uCAA4B;IACpC,OAAO,EAAE,wCAA6B;IACtC,MAAM,EAAE,uCAA4B;IACpC,SAAS,EAAE,0CAA+B;IAC1C,KAAK,EAAE,sCAA2B;IAClC,IAAI,EAAE,qCAA0B;IAChC,OAAO,EAAE,wCAA6B;IACtC,QAAQ,EAAE,yCAA8B;IACxC,UAAU,EAAE,4CAAiC;IAC7C,MAAM,EAAE,uCAA4B;IACpC,SAAS,EAAE,0CAA+B;IAC1C,KAAK,EAAE,sCAA2B;IAClC,MAAM,EAAE,iCAAsB;IAC9B,IAAI,EAAE,+BAAoB;IAC1B,KAAK,EAAE,gCAAqB;IAC5B,MAAM,EAAE,iCAAsB;IAC9B,SAAS,EAAE,oCAAyB;CACpC,CAAC;AAEF,mDAAmD;AACnD,MAAM,mBAAmB,GAAG,CAAC,aAAa,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;AAChE,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;AAE/C,SAAgB,oBAAoB,CACnC,OAA+B,EAC/B,cAAsB,EACtB,kBAA0B;IAE1B,IAAI,YAAY,GAA2B;QAC1C,qBAAqB,EAAE,+BAAoB;QAC3C,cAAc,EAAE,kBAAkB,aAAlB,kBAAkB,cAAlB,kBAAkB,GAAI,cAAc;KACpD,CAAC;IAEF,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC9B,YAAY,mCAAQ,YAAY,GAAK,OAAO,CAAC,gBAAgB,CAAE,CAAC;IACjE,CAAC;IACD,MAAM,sBAAsB,GAAG,oBAAoB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC3E,IAAI,sBAAsB,EAAE,CAAC;QAC5B,YAAY,mCAAQ,YAAY,KAAE,CAAC,kBAAkB,OAAO,CAAC,aAAa,QAAQ,CAAC,EAAE,sBAAsB,GAAE,CAAC;IAC/G,CAAC;IACD,IAAI,sBAAsB,IAAI,mBAAmB,CAAC,QAAQ,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;QACnF,YAAY,mCAAQ,YAAY,KAAE,6BAA6B,EAAE,sBAAsB,GAAE,CAAC;IAC3F,CAAC;IACD,IAAI,sBAAsB,IAAI,kBAAkB,CAAC,QAAQ,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;QAClF,YAAY,mCAAQ,YAAY,KAAE,4BAA4B,EAAE,sBAAsB,GAAE,CAAC;IAC1F,CAAC;IACD,IAAI,OAAO,CAAC,aAAa,KAAK,MAAM,EAAE,CAAC;QACtC,YAAY,mCAAQ,YAAY,KAAE,gBAAgB,EAAE,2BAAgB,GAAE,CAAC;IACxE,CAAC;IACD,OAAO,YAAY,CAAC;AACrB,CAAC;AA3BD,oDA2BC;AAED,SAAgB,uBAAuB;IACtC,OAAO;QACN,gBAAgB,EAAE,iCAAsB;QACxC,WAAW,EAAE,8BAAmB;QAChC,qBAAqB,EAAE,mCAAwB;KAC/C,CAAC;AACH,CAAC;AAND,0DAMC"}
|
|
@@ -7,6 +7,7 @@ export declare const SPARTAN_COMMAND_BRAIN_VERSION = "0.0.1-alpha.354";
|
|
|
7
7
|
export declare const SPARTAN_COLLAPSIBLE_BRAIN_VERSION = "0.0.1-alpha.354";
|
|
8
8
|
export declare const SPARTAN_CORE_VERSION = "0.0.1-alpha.354";
|
|
9
9
|
export declare const SPARTAN_DIALOG_BRAIN_VERSION = "0.0.1-alpha.354";
|
|
10
|
+
export declare const SPARTAN_FORMFIELD_VERSION = "0.0.1-alpha.354";
|
|
10
11
|
export declare const SPARTAN_HOVERCARD_BRAIN_VERSION = "0.0.1-alpha.354";
|
|
11
12
|
export declare const SPARTAN_LABEL_BRAIN_VERSION = "0.0.1-alpha.354";
|
|
12
13
|
export declare const SPARTAN_MENU_BRAIN_VERSION = "0.0.1-alpha.354";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TAILWIND_ANIMATE_VERSION = exports.TAILWINDCSS_VERSION = exports.TAILWIND_MERGE_VERSION = exports.SPARTAN_TOGGLE_VERSION = exports.SPARTAN_TABLE_VERSION = exports.SPARTAN_TABS_VERSION = exports.SPARTAN_SWITCH_VERSION = exports.SPARTAN_SHEET_BRAIN_VERSION = exports.SPARTAN_SEPARATOR_BRAIN_VERSION = exports.SPARTAN_SELECT_BRAIN_VERSION = exports.SPARTAN_RADIO_GROUP_BRAIN_VERSION = exports.SPARTAN_PROGRESS_BRAIN_VERSION = exports.SPARTAN_POPOVER_BRAIN_VERSION = exports.SPARTAN_MENU_BRAIN_VERSION = exports.SPARTAN_LABEL_BRAIN_VERSION = exports.SPARTAN_HOVERCARD_BRAIN_VERSION = exports.SPARTAN_DIALOG_BRAIN_VERSION = exports.SPARTAN_CORE_VERSION = exports.SPARTAN_COLLAPSIBLE_BRAIN_VERSION = exports.SPARTAN_COMMAND_BRAIN_VERSION = exports.SPARTAN_AVATAR_BRAIN_VERSION = exports.SPARTAN_ALERT_DIALOG_BRAIN_VERSION = exports.SPARTAN_ACCORDION_BRAIN_VERSION = exports.NG_ICONS_VERSION = exports.FALLBACK_ANGULAR_VERSION = void 0;
|
|
3
|
+
exports.TAILWIND_ANIMATE_VERSION = exports.TAILWINDCSS_VERSION = exports.TAILWIND_MERGE_VERSION = exports.SPARTAN_TOGGLE_VERSION = exports.SPARTAN_TABLE_VERSION = exports.SPARTAN_TABS_VERSION = exports.SPARTAN_SWITCH_VERSION = exports.SPARTAN_SHEET_BRAIN_VERSION = exports.SPARTAN_SEPARATOR_BRAIN_VERSION = exports.SPARTAN_SELECT_BRAIN_VERSION = exports.SPARTAN_RADIO_GROUP_BRAIN_VERSION = exports.SPARTAN_PROGRESS_BRAIN_VERSION = exports.SPARTAN_POPOVER_BRAIN_VERSION = exports.SPARTAN_MENU_BRAIN_VERSION = exports.SPARTAN_LABEL_BRAIN_VERSION = exports.SPARTAN_HOVERCARD_BRAIN_VERSION = exports.SPARTAN_FORMFIELD_VERSION = exports.SPARTAN_DIALOG_BRAIN_VERSION = exports.SPARTAN_CORE_VERSION = exports.SPARTAN_COLLAPSIBLE_BRAIN_VERSION = exports.SPARTAN_COMMAND_BRAIN_VERSION = exports.SPARTAN_AVATAR_BRAIN_VERSION = exports.SPARTAN_ALERT_DIALOG_BRAIN_VERSION = exports.SPARTAN_ACCORDION_BRAIN_VERSION = exports.NG_ICONS_VERSION = exports.FALLBACK_ANGULAR_VERSION = void 0;
|
|
4
4
|
// angular dependency
|
|
5
5
|
exports.FALLBACK_ANGULAR_VERSION = '^18.0.0';
|
|
6
6
|
// ng-icon dependency
|
|
@@ -13,6 +13,7 @@ exports.SPARTAN_COMMAND_BRAIN_VERSION = '0.0.1-alpha.354';
|
|
|
13
13
|
exports.SPARTAN_COLLAPSIBLE_BRAIN_VERSION = '0.0.1-alpha.354';
|
|
14
14
|
exports.SPARTAN_CORE_VERSION = '0.0.1-alpha.354';
|
|
15
15
|
exports.SPARTAN_DIALOG_BRAIN_VERSION = '0.0.1-alpha.354';
|
|
16
|
+
exports.SPARTAN_FORMFIELD_VERSION = '0.0.1-alpha.354';
|
|
16
17
|
exports.SPARTAN_HOVERCARD_BRAIN_VERSION = '0.0.1-alpha.354';
|
|
17
18
|
exports.SPARTAN_LABEL_BRAIN_VERSION = '0.0.1-alpha.354';
|
|
18
19
|
exports.SPARTAN_MENU_BRAIN_VERSION = '0.0.1-alpha.354';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/base/versions.ts"],"names":[],"mappings":";;;AAAA,qBAAqB;AACR,QAAA,wBAAwB,GAAG,SAAS,CAAC;AAClD,qBAAqB;AACR,QAAA,gBAAgB,GAAG,SAAS,CAAC;AAC1C,uBAAuB;AACV,QAAA,+BAA+B,GAAG,iBAAiB,CAAC;AACpD,QAAA,kCAAkC,GAAG,iBAAiB,CAAC;AACvD,QAAA,4BAA4B,GAAG,iBAAiB,CAAC;AACjD,QAAA,6BAA6B,GAAG,iBAAiB,CAAC;AAClD,QAAA,iCAAiC,GAAG,iBAAiB,CAAC;AACtD,QAAA,oBAAoB,GAAG,iBAAiB,CAAC;AACzC,QAAA,4BAA4B,GAAG,iBAAiB,CAAC;AACjD,QAAA,+BAA+B,GAAG,iBAAiB,CAAC;AACpD,QAAA,2BAA2B,GAAG,iBAAiB,CAAC;AAChD,QAAA,0BAA0B,GAAG,iBAAiB,CAAC;AAC/C,QAAA,6BAA6B,GAAG,iBAAiB,CAAC;AAClD,QAAA,8BAA8B,GAAG,iBAAiB,CAAC;AACnD,QAAA,iCAAiC,GAAG,iBAAiB,CAAC;AACtD,QAAA,4BAA4B,GAAG,iBAAiB,CAAC;AACjD,QAAA,+BAA+B,GAAG,iBAAiB,CAAC;AACpD,QAAA,2BAA2B,GAAG,iBAAiB,CAAC;AAChD,QAAA,sBAAsB,GAAG,iBAAiB,CAAC;AAC3C,QAAA,oBAAoB,GAAG,iBAAiB,CAAC;AACzC,QAAA,qBAAqB,GAAG,iBAAiB,CAAC;AAC1C,QAAA,sBAAsB,GAAG,iBAAiB,CAAC;AACxD,mBAAmB;AACN,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,mBAAmB,GAAG,QAAQ,CAAC;AAC/B,QAAA,wBAAwB,GAAG,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/base/versions.ts"],"names":[],"mappings":";;;AAAA,qBAAqB;AACR,QAAA,wBAAwB,GAAG,SAAS,CAAC;AAClD,qBAAqB;AACR,QAAA,gBAAgB,GAAG,SAAS,CAAC;AAC1C,uBAAuB;AACV,QAAA,+BAA+B,GAAG,iBAAiB,CAAC;AACpD,QAAA,kCAAkC,GAAG,iBAAiB,CAAC;AACvD,QAAA,4BAA4B,GAAG,iBAAiB,CAAC;AACjD,QAAA,6BAA6B,GAAG,iBAAiB,CAAC;AAClD,QAAA,iCAAiC,GAAG,iBAAiB,CAAC;AACtD,QAAA,oBAAoB,GAAG,iBAAiB,CAAC;AACzC,QAAA,4BAA4B,GAAG,iBAAiB,CAAC;AACjD,QAAA,yBAAyB,GAAG,iBAAiB,CAAC;AAC9C,QAAA,+BAA+B,GAAG,iBAAiB,CAAC;AACpD,QAAA,2BAA2B,GAAG,iBAAiB,CAAC;AAChD,QAAA,0BAA0B,GAAG,iBAAiB,CAAC;AAC/C,QAAA,6BAA6B,GAAG,iBAAiB,CAAC;AAClD,QAAA,8BAA8B,GAAG,iBAAiB,CAAC;AACnD,QAAA,iCAAiC,GAAG,iBAAiB,CAAC;AACtD,QAAA,4BAA4B,GAAG,iBAAiB,CAAC;AACjD,QAAA,+BAA+B,GAAG,iBAAiB,CAAC;AACpD,QAAA,2BAA2B,GAAG,iBAAiB,CAAC;AAChD,QAAA,sBAAsB,GAAG,iBAAiB,CAAC;AAC3C,QAAA,oBAAoB,GAAG,iBAAiB,CAAC;AACzC,QAAA,qBAAqB,GAAG,iBAAiB,CAAC;AAC1C,QAAA,sBAAsB,GAAG,iBAAiB,CAAC;AACxD,mBAAmB;AACN,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,mBAAmB,GAAG,QAAQ,CAAC;AAC/B,QAAA,wBAAwB,GAAG,QAAQ,CAAC"}
|
package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-form-field.component.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, type Signal, computed, contentChild, contentChildren, effect } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import { BrnFormFieldControl } from '@spartan-ng/ui-
|
|
3
|
+
import { BrnFormFieldControl } from '@spartan-ng/ui-formfield-brain';
|
|
4
4
|
import { HlmErrorDirective } from './hlm-error.directive';
|
|
5
5
|
|
|
6
6
|
@Component({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Directive, type DoCheck, Injector, Input, computed, effect, inject, input, signal } from '@angular/core';
|
|
2
2
|
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
3
3
|
import { hlm } from '@spartan-ng/ui-core';
|
|
4
|
-
import { BrnFormFieldControl } from '@spartan-ng/ui-
|
|
4
|
+
import { BrnFormFieldControl } from '@spartan-ng/ui-formfield-brain';
|
|
5
5
|
import { ErrorStateMatcher, ErrorStateTracker } from '@spartan-ng/ui-forms-brain';
|
|
6
6
|
|
|
7
7
|
import { type VariantProps, cva } from 'class-variance-authority';
|
|
@@ -71,7 +71,7 @@ export class HlmInputDirective implements BrnFormFieldControl, DoCheck {
|
|
|
71
71
|
private parentFormGroup = inject(FormGroupDirective, { optional: true });
|
|
72
72
|
|
|
73
73
|
errorState = computed(() => this.errorStateTracker.errorState());
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
constructor() {
|
|
76
76
|
this.errorStateTracker = new ErrorStateTracker(
|
|
77
77
|
this.defaultErrorStateMatcher,
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { HlmToasterComponent } from './lib/hlm-toaster.component';
|
|
3
|
-
|
|
4
1
|
export * from './lib/hlm-toaster.component';
|
|
5
|
-
|
|
6
|
-
@NgModule({
|
|
7
|
-
imports: [HlmToasterComponent],
|
|
8
|
-
exports: [HlmToasterComponent],
|
|
9
|
-
})
|
|
10
|
-
export class HlmToasterModule {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NgxSonnerToaster, ToasterProps } from 'ngx-sonner';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, booleanAttribute, input, numberAttribute } from '@angular/core';
|
|
2
|
+
import { NgxSonnerToaster, type ToasterProps } from 'ngx-sonner';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'hlm-toaster',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { Tree } from '@nx/devkit';
|
|
2
|
+
import { HlmBaseGeneratorSchema } from '../../../base/schema';
|
|
3
3
|
export declare function generator(tree: Tree, options: HlmBaseGeneratorSchema): Promise<import("@nx/devkit").GeneratorCallback>;
|
|
@@ -16,11 +16,10 @@ exports.primitiveDependencies = {
|
|
|
16
16
|
command: ['button', 'icon'],
|
|
17
17
|
contextmenu: [],
|
|
18
18
|
dialog: [],
|
|
19
|
-
|
|
20
|
-
'form-field': [],
|
|
19
|
+
formfield: [],
|
|
21
20
|
hovercard: [],
|
|
22
21
|
icon: [],
|
|
23
|
-
input: ['
|
|
22
|
+
input: ['formfield'],
|
|
24
23
|
label: [],
|
|
25
24
|
menu: ['icon'],
|
|
26
25
|
menubar: [],
|
|
@@ -29,7 +28,7 @@ exports.primitiveDependencies = {
|
|
|
29
28
|
progress: [],
|
|
30
29
|
radiogroup: [],
|
|
31
30
|
scrollarea: [],
|
|
32
|
-
select: ['icon', '
|
|
31
|
+
select: ['icon', 'formfield'],
|
|
33
32
|
separator: [],
|
|
34
33
|
sheet: [],
|
|
35
34
|
skeleton: [],
|
|
@@ -42,9 +41,10 @@ exports.primitiveDependencies = {
|
|
|
42
41
|
tooltip: [],
|
|
43
42
|
};
|
|
44
43
|
const getDependentPrimitives = (primitives) => {
|
|
44
|
+
var _a;
|
|
45
45
|
const dependentPrimitives = new Set();
|
|
46
46
|
for (const primitive of primitives) {
|
|
47
|
-
const deps = exports.primitiveDependencies[primitive];
|
|
47
|
+
const deps = (_a = exports.primitiveDependencies[primitive]) !== null && _a !== void 0 ? _a : [];
|
|
48
48
|
for (const dep of deps) {
|
|
49
49
|
if (!primitives.includes(dep)) {
|
|
50
50
|
// only add the dependent primitive if it's not already in the list of primitives to create
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primivite-deps.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/ui/primivite-deps.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAmC;IACpE,SAAS,EAAE,CAAC,MAAM,CAAC;IACnB,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,QAAQ,CAAC;IACvB,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,EAAE;IACV,
|
|
1
|
+
{"version":3,"file":"primivite-deps.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/ui/primivite-deps.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAmC;IACpE,SAAS,EAAE,CAAC,MAAM,CAAC;IACnB,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,QAAQ,CAAC;IACvB,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,EAAE;CACX,CAAC;AAEK,MAAM,sBAAsB,GAAG,CAAC,UAAuB,EAAe,EAAE;;IAC9E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAa,CAAC;IAEjD,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACpC,MAAM,IAAI,GAAG,MAAA,6BAAqB,CAAC,SAAS,CAAC,mCAAI,EAAE,CAAC;QACpD,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC/B,2FAA2F;gBAC3F,mBAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC9B,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACxC,CAAC,CAAC;AAdW,QAAA,sBAAsB,0BAcjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Primitive = 'accordion' | 'alert' | 'alertdialog' | 'aspectratio' | 'avatar' | 'badge' | 'button' | 'card' | 'carousel' | 'checkbox' | 'collapsible' | 'command' | 'contextmenu' | 'dialog' | '
|
|
1
|
+
export type Primitive = 'accordion' | 'alert' | 'alertdialog' | 'aspectratio' | 'avatar' | 'badge' | 'button' | 'card' | 'carousel' | 'checkbox' | 'collapsible' | 'command' | 'contextmenu' | 'dialog' | 'formfield' | 'hovercard' | 'icon' | 'input' | 'label' | 'menu' | 'menubar' | 'pagination' | 'popover' | 'progress' | 'radiogroup' | 'scrollarea' | 'select' | 'separator' | 'sheet' | 'skeleton' | 'sonner' | 'spinner' | 'switch' | 'table' | 'tabs' | 'toggle' | 'tooltip';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": "^18.0.0",
|
|
6
6
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
7
|
-
"clsx": "^2.
|
|
7
|
+
"clsx": "^2.1.1",
|
|
8
8
|
"@spartan-ng/ui-accordion-brain": "0.0.1-alpha.354",
|
|
9
9
|
"@ng-icons/lucide": "^26.3.0"
|
|
10
10
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@angular/core": "^18.0.0",
|
|
16
16
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
17
17
|
"class-variance-authority": "^0.6.0",
|
|
18
|
-
"clsx": "^
|
|
18
|
+
"clsx": "^2.1.1"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"alertdialog": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@angular/core": "^18.0.0",
|
|
25
25
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
26
|
-
"clsx": "^2.
|
|
26
|
+
"clsx": "^2.1.1",
|
|
27
27
|
"@spartan-ng/ui-alertdialog-brain": "0.0.1-alpha.354",
|
|
28
28
|
"@spartan-ng/ui-dialog-brain": "0.0.1-alpha.354"
|
|
29
29
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@angular/core": "^18.0.0",
|
|
35
35
|
"@angular/cdk": "^18.0.0",
|
|
36
36
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
37
|
-
"clsx": "^
|
|
37
|
+
"clsx": "^2.1.1"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"avatar": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@angular/core": "^18.0.0",
|
|
44
44
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
45
|
-
"clsx": "^2.
|
|
45
|
+
"clsx": "^2.1.1",
|
|
46
46
|
"class-variance-authority": "^0.6.0"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@angular/core": "^18.0.0",
|
|
53
53
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
54
54
|
"class-variance-authority": "^0.6.0",
|
|
55
|
-
"clsx": "^
|
|
55
|
+
"clsx": "^2.1.1"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"button": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@angular/core": "^18.0.0",
|
|
62
62
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
63
63
|
"class-variance-authority": "^0.6.0",
|
|
64
|
-
"clsx": "^
|
|
64
|
+
"clsx": "^2.1.1"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"card": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@angular/core": "^18.0.0",
|
|
71
71
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
72
72
|
"class-variance-authority": "^0.6.0",
|
|
73
|
-
"clsx": "^
|
|
73
|
+
"clsx": "^2.1.1"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"command": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"@angular/core": "^18.0.0",
|
|
80
80
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
81
|
-
"clsx": "^
|
|
81
|
+
"clsx": "^2.1.1"
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"dialog": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@angular/common": "^18.0.0",
|
|
89
89
|
"@angular/cdk": "^18.0.0",
|
|
90
90
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
91
|
-
"clsx": "^2.
|
|
91
|
+
"clsx": "^2.1.1",
|
|
92
92
|
"@spartan-ng/ui-dialog-brain": "0.0.1-alpha.354",
|
|
93
93
|
"@ng-icons/lucide": "^26.3.0"
|
|
94
94
|
}
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
102
102
|
"@ng-icons/core": "^25.1.0",
|
|
103
103
|
"class-variance-authority": "^0.6.0",
|
|
104
|
-
"clsx": "^
|
|
104
|
+
"clsx": "^2.1.1"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"input": {
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"class-variance-authority": "^0.6.0",
|
|
113
113
|
"@spartan-ng/ui-forms-brain": "0.0.1-alpha.354",
|
|
114
114
|
"@spartan-ng/ui-form-field-brain": "0.0.1-alpha.354",
|
|
115
|
-
"clsx": "^
|
|
115
|
+
"clsx": "^2.1.1"
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
"label": {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"@angular/core": "^18.0.0",
|
|
122
122
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
123
123
|
"class-variance-authority": "^0.6.0",
|
|
124
|
-
"clsx": "^2.
|
|
124
|
+
"clsx": "^2.1.1",
|
|
125
125
|
"@spartan-ng/ui-label-brain": "0.0.1-alpha.354"
|
|
126
126
|
}
|
|
127
127
|
},
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@angular/core": "^18.0.0",
|
|
132
132
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
133
133
|
"@ng-icons/lucide": "^26.3.0",
|
|
134
|
-
"clsx": "^2.
|
|
134
|
+
"clsx": "^2.1.1",
|
|
135
135
|
"class-variance-authority": "^0.6.0",
|
|
136
136
|
"@spartan-ng/ui-menu-brain": "0.0.1-alpha.354"
|
|
137
137
|
}
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"peerDependencies": {
|
|
142
142
|
"@angular/core": "^18.0.0",
|
|
143
143
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
144
|
-
"clsx": "^
|
|
144
|
+
"clsx": "^2.1.1"
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
"progress": {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"peerDependencies": {
|
|
150
150
|
"@angular/core": "^18.0.0",
|
|
151
151
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
152
|
-
"clsx": "^
|
|
152
|
+
"clsx": "^2.1.1"
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
155
|
"radiogroup": {
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"peerDependencies": {
|
|
158
158
|
"@angular/core": "^18.0.0",
|
|
159
159
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
160
|
-
"clsx": "^
|
|
160
|
+
"clsx": "^2.1.1"
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
"scrollarea": {
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"@angular/core": "^18.0.0",
|
|
167
167
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
168
168
|
"ngx-scrollbar": "^13.0.1",
|
|
169
|
-
"clsx": "^
|
|
169
|
+
"clsx": "^2.1.1"
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
"separator": {
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"peerDependencies": {
|
|
175
175
|
"@angular/core": "^18.0.0",
|
|
176
176
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
177
|
-
"clsx": "^
|
|
177
|
+
"clsx": "^2.1.1"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
180
|
"sheet": {
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"peerDependencies": {
|
|
183
183
|
"@angular/core": "^18.0.0",
|
|
184
184
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
185
|
-
"clsx": "^2.
|
|
185
|
+
"clsx": "^2.1.1",
|
|
186
186
|
"class-variance-authority": "^0.6.0",
|
|
187
187
|
"@ng-icons/lucide": "^26.3.0",
|
|
188
188
|
"@spartan-ng/ui-sheet-brain": "0.0.1-alpha.354",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"peerDependencies": {
|
|
195
195
|
"@angular/core": "^18.0.0",
|
|
196
196
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
197
|
-
"clsx": "^
|
|
197
|
+
"clsx": "^2.1.1"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
"spinner": {
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"@angular/core": "^18.0.0",
|
|
204
204
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
205
205
|
"class-variance-authority": "^0.6.0",
|
|
206
|
-
"clsx": "^
|
|
206
|
+
"clsx": "^2.1.1"
|
|
207
207
|
}
|
|
208
208
|
},
|
|
209
209
|
"switch": {
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"@angular/core": "^18.0.0",
|
|
213
213
|
"@angular/forms": "^18.0.0",
|
|
214
214
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
215
|
-
"clsx": "^2.
|
|
215
|
+
"clsx": "^2.1.1",
|
|
216
216
|
"@spartan-ng/ui-switch-brain": "0.0.1-alpha.354"
|
|
217
217
|
}
|
|
218
218
|
},
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"peerDependencies": {
|
|
222
222
|
"@angular/core": "^18.0.0",
|
|
223
223
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
224
|
-
"clsx": "^2.
|
|
224
|
+
"clsx": "^2.1.1",
|
|
225
225
|
"class-variance-authority": "^0.6.0",
|
|
226
226
|
"@spartan-ng/ui-tabs-brain": "0.0.1-alpha.354"
|
|
227
227
|
}
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"peerDependencies": {
|
|
232
232
|
"@angular/core": "^18.0.0",
|
|
233
233
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
234
|
-
"clsx": "^2.
|
|
234
|
+
"clsx": "^2.1.1",
|
|
235
235
|
"class-variance-authority": "^0.6.0"
|
|
236
236
|
}
|
|
237
237
|
},
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"peerDependencies": {
|
|
241
241
|
"@angular/core": "^18.0.0",
|
|
242
242
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
243
|
-
"clsx": "^
|
|
243
|
+
"clsx": "^2.1.1"
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
"table": {
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
"@angular/core": "^18.0.0",
|
|
251
251
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
252
252
|
"@spartan-ng/ui-table-brain": "0.0.1-alpha.354",
|
|
253
|
-
"clsx": "^
|
|
253
|
+
"clsx": "^2.1.1"
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
"hovercard": {
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"peerDependencies": {
|
|
259
259
|
"@angular/core": "^18.0.0",
|
|
260
260
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
261
|
-
"clsx": "^
|
|
261
|
+
"clsx": "^2.1.1"
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
264
|
"checkbox": {
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
"@angular/forms": "^18.0.0",
|
|
269
269
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
270
270
|
"@spartan-ng/ui-checkbox-brain": "0.0.1-alpha.354",
|
|
271
|
-
"clsx": "^2.
|
|
271
|
+
"clsx": "^2.1.1",
|
|
272
272
|
"@ng-icons/lucide": "^26.3.0"
|
|
273
273
|
}
|
|
274
274
|
},
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
288
288
|
"@ng-icons/lucide": "^26.3.0",
|
|
289
289
|
"class-variance-authority": "^0.6.0",
|
|
290
|
-
"clsx": "^
|
|
290
|
+
"clsx": "^2.1.1"
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
293
|
"carousel": {
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
"@angular/core": "^18.0.0",
|
|
297
297
|
"@ng-icons/lucide": "^26.3.0",
|
|
298
298
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
299
|
-
"clsx": "^2.
|
|
299
|
+
"clsx": "^2.1.1",
|
|
300
300
|
"embla-carousel-angular": "^14.0.0"
|
|
301
301
|
}
|
|
302
302
|
},
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
308
308
|
"@spartan-ng/ui-select-brain": "0.0.1-alpha.354",
|
|
309
309
|
"class-variance-authority": "^0.6.0",
|
|
310
|
-
"clsx": "^
|
|
310
|
+
"clsx": "^2.1.1"
|
|
311
311
|
}
|
|
312
312
|
},
|
|
313
313
|
"sonner": {
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
"@angular/forms": "^18.0.0",
|
|
318
318
|
"@ng-icons/lucide": "^26.3.0",
|
|
319
319
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
320
|
-
"clsx": "^2.
|
|
320
|
+
"clsx": "^2.1.1",
|
|
321
321
|
"ngx-sonner": "^2.0.0"
|
|
322
322
|
}
|
|
323
323
|
},
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
"@spartan-ng/ui-core": "0.0.1-alpha.354",
|
|
336
336
|
"class-variance-authority": "^0.6.0",
|
|
337
337
|
"@spartan-ng/ui-form-field-brain": "0.0.1-alpha.354",
|
|
338
|
-
"clsx": "^
|
|
338
|
+
"clsx": "^2.1.1"
|
|
339
339
|
}
|
|
340
340
|
},
|
|
341
341
|
"slider": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './lib/hlm-toaster.component';
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, booleanAttribute, input, numberAttribute } from '@angular/core';
|
|
2
|
-
import { NgxSonnerToaster, type ToasterProps } from 'ngx-sonner';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'hlm-toaster',
|
|
6
|
-
standalone: true,
|
|
7
|
-
imports: [NgxSonnerToaster],
|
|
8
|
-
template: `
|
|
9
|
-
<ngx-sonner-toaster
|
|
10
|
-
class="toaster group"
|
|
11
|
-
[invert]="invert()"
|
|
12
|
-
[theme]="theme()"
|
|
13
|
-
[position]="position()"
|
|
14
|
-
[hotKey]="hotKey()"
|
|
15
|
-
[richColors]="richColors()"
|
|
16
|
-
[expand]="expand()"
|
|
17
|
-
[duration]="duration()"
|
|
18
|
-
[visibleToasts]="visibleToasts()"
|
|
19
|
-
[closeButton]="closeButton()"
|
|
20
|
-
[toastOptions]="toastOptions()"
|
|
21
|
-
[offset]="offset()"
|
|
22
|
-
[dir]="dir()"
|
|
23
|
-
[class]="_class()"
|
|
24
|
-
[style]="_style()"
|
|
25
|
-
/>
|
|
26
|
-
`,
|
|
27
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
28
|
-
})
|
|
29
|
-
export class HlmToasterComponent {
|
|
30
|
-
invert = input<ToasterProps['invert'], boolean | string>(false, {
|
|
31
|
-
transform: booleanAttribute,
|
|
32
|
-
});
|
|
33
|
-
theme = input<ToasterProps['theme']>('light');
|
|
34
|
-
position = input<ToasterProps['position']>('bottom-right');
|
|
35
|
-
hotKey = input<ToasterProps['hotkey']>(['altKey', 'KeyT']);
|
|
36
|
-
richColors = input<ToasterProps['richColors'], boolean | string>(false, {
|
|
37
|
-
transform: booleanAttribute,
|
|
38
|
-
});
|
|
39
|
-
expand = input<ToasterProps['expand'], boolean | string>(false, {
|
|
40
|
-
transform: booleanAttribute,
|
|
41
|
-
});
|
|
42
|
-
duration = input<ToasterProps['duration'], number | string>(4000, {
|
|
43
|
-
transform: numberAttribute,
|
|
44
|
-
});
|
|
45
|
-
visibleToasts = input<ToasterProps['visibleToasts'], number | string>(3, {
|
|
46
|
-
transform: numberAttribute,
|
|
47
|
-
});
|
|
48
|
-
closeButton = input<ToasterProps['closeButton'], boolean | string>(false, {
|
|
49
|
-
transform: booleanAttribute,
|
|
50
|
-
});
|
|
51
|
-
toastOptions = input<ToasterProps['toastOptions']>({
|
|
52
|
-
classes: {
|
|
53
|
-
toast:
|
|
54
|
-
'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',
|
|
55
|
-
description: 'group-[.toast]:text-muted-foreground',
|
|
56
|
-
actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',
|
|
57
|
-
cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
offset = input<ToasterProps['offset']>(null);
|
|
61
|
-
dir = input<ToasterProps['dir']>('auto');
|
|
62
|
-
_class = input('', { alias: 'class' });
|
|
63
|
-
_style = input<Record<string, string>>({}, { alias: 'style' });
|
|
64
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.generator = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const generator_1 = require("../../../base/generator");
|
|
6
|
-
function generator(tree, options) {
|
|
7
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
8
|
-
return yield (0, generator_1.default)(tree, Object.assign(Object.assign({}, options), { primitiveName: 'helm', internalName: 'helm', publicName: 'ui-helm-helm' }));
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
exports.generator = generator;
|
|
12
|
-
//# sourceMappingURL=generator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../../libs/cli/src/generators/ui/libs/helm/generator.ts"],"names":[],"mappings":";;;;AACA,uDAAuD;AAGvD,SAAsB,SAAS,CAAC,IAAU,EAAE,OAA+B;;QAC1E,OAAO,MAAM,IAAA,mBAAgB,EAAC,IAAI,kCAC9B,OAAO,KACV,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,cAAc,IACzB,CAAC;IACJ,CAAC;CAAA;AAPD,8BAOC"}
|