@arclux/arc-ui-angular 1.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/LICENSE +21 -0
- package/README.md +56 -0
- package/package.json +71 -0
- package/src/application/AppShell.ts +14 -0
- package/src/application/AuthShell.ts +14 -0
- package/src/application/Breadcrumb.ts +15 -0
- package/src/application/BreadcrumbItem.ts +14 -0
- package/src/application/Container.ts +14 -0
- package/src/application/DashboardGrid.ts +16 -0
- package/src/application/Footer.ts +15 -0
- package/src/application/NavItem.ts +16 -0
- package/src/application/NavigationMenu.ts +15 -0
- package/src/application/NotificationPanel.ts +18 -0
- package/src/application/PageHeader.ts +15 -0
- package/src/application/PageLayout.ts +16 -0
- package/src/application/Resizable.ts +19 -0
- package/src/application/ScrollSpy.ts +18 -0
- package/src/application/Section.ts +14 -0
- package/src/application/SettingsLayout.ts +14 -0
- package/src/application/Sidebar.ts +18 -0
- package/src/application/SidebarLink.ts +15 -0
- package/src/application/SidebarSection.ts +17 -0
- package/src/application/SplitPane.ts +18 -0
- package/src/application/SpyLink.ts +14 -0
- package/src/application/StatusBar.ts +14 -0
- package/src/application/Toolbar.ts +16 -0
- package/src/application/TopBar.ts +17 -0
- package/src/application/index.ts +23 -0
- package/src/content/Accordion.ts +15 -0
- package/src/content/AccordionItem.ts +14 -0
- package/src/content/AnimatedNumber.ts +20 -0
- package/src/content/AspectRatio.ts +14 -0
- package/src/content/Avatar.ts +16 -0
- package/src/content/AvatarGroup.ts +15 -0
- package/src/content/Badge.ts +14 -0
- package/src/content/Callout.ts +14 -0
- package/src/content/Card.ts +14 -0
- package/src/content/Carousel.ts +21 -0
- package/src/content/CodeBlock.ts +17 -0
- package/src/content/Collapsible.ts +16 -0
- package/src/content/ColorSwatch.ts +16 -0
- package/src/content/Column.ts +17 -0
- package/src/content/DataTable.ts +23 -0
- package/src/content/Divider.ts +16 -0
- package/src/content/EmptyState.ts +15 -0
- package/src/content/FeatureCard.ts +17 -0
- package/src/content/Highlight.ts +16 -0
- package/src/content/Icon.ts +16 -0
- package/src/content/InfiniteScroll.ts +18 -0
- package/src/content/Kbd.ts +13 -0
- package/src/content/Link.ts +17 -0
- package/src/content/Markdown.ts +14 -0
- package/src/content/Marquee.ts +17 -0
- package/src/content/Meter.ts +20 -0
- package/src/content/ScrollArea.ts +15 -0
- package/src/content/Skeleton.ts +16 -0
- package/src/content/Spinner.ts +15 -0
- package/src/content/Stack.ts +18 -0
- package/src/content/Stat.ts +15 -0
- package/src/content/Step.ts +14 -0
- package/src/content/Stepper.ts +15 -0
- package/src/content/Table.ts +17 -0
- package/src/content/Tag.ts +17 -0
- package/src/content/Text.ts +15 -0
- package/src/content/Timeline.ts +14 -0
- package/src/content/TimelineItem.ts +15 -0
- package/src/content/Truncate.ts +16 -0
- package/src/content/ValueCard.ts +16 -0
- package/src/content/index.ts +37 -0
- package/src/feedback/Alert.ts +17 -0
- package/src/feedback/CommandItem.ts +15 -0
- package/src/feedback/CommandPalette.ts +20 -0
- package/src/feedback/ContextMenu.ts +21 -0
- package/src/feedback/Dialog.ts +19 -0
- package/src/feedback/DropdownMenu.ts +18 -0
- package/src/feedback/HoverCard.ts +19 -0
- package/src/feedback/Modal.ts +19 -0
- package/src/feedback/NotificationPanel.ts +18 -0
- package/src/feedback/Popover.ts +17 -0
- package/src/feedback/Progress.ts +18 -0
- package/src/feedback/Sheet.ts +18 -0
- package/src/feedback/Toast.ts +17 -0
- package/src/feedback/Tooltip.ts +17 -0
- package/src/index.ts +116 -0
- package/src/input/Button.ts +18 -0
- package/src/input/Calendar.ts +21 -0
- package/src/input/Checkbox.ts +20 -0
- package/src/input/Chip.ts +17 -0
- package/src/input/ColorPicker.ts +24 -0
- package/src/input/Combobox.ts +22 -0
- package/src/input/CopyButton.ts +17 -0
- package/src/input/DatePicker.ts +24 -0
- package/src/input/FileUpload.ts +22 -0
- package/src/input/Form.ts +18 -0
- package/src/input/IconButton.ts +21 -0
- package/src/input/Input.ts +24 -0
- package/src/input/MultiSelect.ts +22 -0
- package/src/input/NumberInput.ts +20 -0
- package/src/input/OtpInput.ts +18 -0
- package/src/input/PinInput.ts +22 -0
- package/src/input/Radio.ts +15 -0
- package/src/input/RadioGroup.ts +19 -0
- package/src/input/Rating.ts +18 -0
- package/src/input/Search.ts +25 -0
- package/src/input/SegmentedControl.ts +17 -0
- package/src/input/Select.ts +21 -0
- package/src/input/Slider.ts +21 -0
- package/src/input/SortableList.ts +20 -0
- package/src/input/Suggestion.ts +14 -0
- package/src/input/Textarea.ts +24 -0
- package/src/input/ThemeToggle.ts +17 -0
- package/src/input/Toggle.ts +18 -0
- package/src/layout/AppShell.ts +17 -0
- package/src/layout/AuthShell.ts +14 -0
- package/src/layout/Container.ts +14 -0
- package/src/layout/DashboardGrid.ts +16 -0
- package/src/layout/PageHeader.ts +15 -0
- package/src/layout/PageLayout.ts +16 -0
- package/src/layout/Resizable.ts +19 -0
- package/src/layout/Section.ts +14 -0
- package/src/layout/SettingsLayout.ts +14 -0
- package/src/layout/SplitPane.ts +18 -0
- package/src/layout/StatusBar.ts +14 -0
- package/src/layout/Toolbar.ts +16 -0
- package/src/navigation/Breadcrumb.ts +15 -0
- package/src/navigation/BreadcrumbItem.ts +14 -0
- package/src/navigation/Drawer.ts +17 -0
- package/src/navigation/Footer.ts +15 -0
- package/src/navigation/Link.ts +17 -0
- package/src/navigation/NavItem.ts +16 -0
- package/src/navigation/NavigationMenu.ts +19 -0
- package/src/navigation/Pagination.ts +17 -0
- package/src/navigation/ScrollSpy.ts +18 -0
- package/src/navigation/ScrollToTop.ts +18 -0
- package/src/navigation/Sidebar.ts +18 -0
- package/src/navigation/SidebarLink.ts +15 -0
- package/src/navigation/SidebarSection.ts +17 -0
- package/src/navigation/SpyLink.ts +14 -0
- package/src/navigation/Tab.ts +14 -0
- package/src/navigation/Tabs.ts +17 -0
- package/src/navigation/TopBar.ts +18 -0
- package/src/navigation/TreeItem.ts +16 -0
- package/src/navigation/TreeView.ts +17 -0
- package/src/reactive/Accordion.ts +15 -0
- package/src/reactive/AccordionItem.ts +14 -0
- package/src/reactive/Alert.ts +17 -0
- package/src/reactive/Button.ts +18 -0
- package/src/reactive/Calendar.ts +21 -0
- package/src/reactive/Carousel.ts +21 -0
- package/src/reactive/Checkbox.ts +20 -0
- package/src/reactive/Chip.ts +17 -0
- package/src/reactive/Collapsible.ts +16 -0
- package/src/reactive/ColorPicker.ts +24 -0
- package/src/reactive/Column.ts +17 -0
- package/src/reactive/Combobox.ts +22 -0
- package/src/reactive/CommandItem.ts +15 -0
- package/src/reactive/CommandPalette.ts +20 -0
- package/src/reactive/ContextMenu.ts +21 -0
- package/src/reactive/CopyButton.ts +17 -0
- package/src/reactive/DataTable.ts +23 -0
- package/src/reactive/DatePicker.ts +24 -0
- package/src/reactive/Dialog.ts +19 -0
- package/src/reactive/Drawer.ts +17 -0
- package/src/reactive/DropdownMenu.ts +18 -0
- package/src/reactive/FileUpload.ts +22 -0
- package/src/reactive/Form.ts +18 -0
- package/src/reactive/HoverCard.ts +19 -0
- package/src/reactive/IconButton.ts +21 -0
- package/src/reactive/InfiniteScroll.ts +18 -0
- package/src/reactive/Input.ts +24 -0
- package/src/reactive/Modal.ts +19 -0
- package/src/reactive/MultiSelect.ts +22 -0
- package/src/reactive/NumberInput.ts +20 -0
- package/src/reactive/OtpInput.ts +18 -0
- package/src/reactive/Pagination.ts +17 -0
- package/src/reactive/PinInput.ts +22 -0
- package/src/reactive/Popover.ts +17 -0
- package/src/reactive/Progress.ts +18 -0
- package/src/reactive/Radio.ts +15 -0
- package/src/reactive/RadioGroup.ts +19 -0
- package/src/reactive/Rating.ts +18 -0
- package/src/reactive/ScrollToTop.ts +18 -0
- package/src/reactive/Search.ts +25 -0
- package/src/reactive/SegmentedControl.ts +17 -0
- package/src/reactive/Select.ts +21 -0
- package/src/reactive/Sheet.ts +18 -0
- package/src/reactive/Slider.ts +21 -0
- package/src/reactive/SortableList.ts +20 -0
- package/src/reactive/Suggestion.ts +14 -0
- package/src/reactive/Tab.ts +14 -0
- package/src/reactive/Tabs.ts +17 -0
- package/src/reactive/Tag.ts +17 -0
- package/src/reactive/Textarea.ts +24 -0
- package/src/reactive/ThemeToggle.ts +17 -0
- package/src/reactive/Toast.ts +17 -0
- package/src/reactive/Toggle.ts +18 -0
- package/src/reactive/Tooltip.ts +17 -0
- package/src/reactive/TreeItem.ts +16 -0
- package/src/reactive/TreeView.ts +17 -0
- package/src/reactive/Truncate.ts +16 -0
- package/src/reactive/index.ts +53 -0
- package/src/shared/MenuDivider.ts +13 -0
- package/src/shared/MenuItem.ts +16 -0
- package/src/shared/Option.ts +16 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-form',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-form [attr.action]="action" [attr.method]="method" [novalidate]="novalidate" (arc-invalid)="arcInvalid.emit($event)" (arc-submit)="arcSubmit.emit($event)"><ng-content /></arc-form>`,
|
|
11
|
+
})
|
|
12
|
+
export class Form {
|
|
13
|
+
@Input() action: string = '';
|
|
14
|
+
@Input() method: string = '';
|
|
15
|
+
@Input() novalidate: boolean = false;
|
|
16
|
+
@Output() arcInvalid = new EventEmitter<CustomEvent>();
|
|
17
|
+
@Output() arcSubmit = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-icon-button',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-icon-button [attr.name]="name" [attr.text]="text" [attr.variant]="variant" [attr.size]="size" [attr.label]="label" [attr.href]="href" [disabled]="disabled" [attr.type]="type"><ng-content /></arc-icon-button>`,
|
|
11
|
+
})
|
|
12
|
+
export class IconButton {
|
|
13
|
+
@Input() name: string = '';
|
|
14
|
+
@Input() text: string = '';
|
|
15
|
+
@Input() variant: 'ghost' | 'secondary' | 'primary' = 'ghost';
|
|
16
|
+
@Input() size: 'xs' | 'sm' | 'md' | 'lg' = 'md';
|
|
17
|
+
@Input() label: string = '';
|
|
18
|
+
@Input() href: string = '';
|
|
19
|
+
@Input() disabled: boolean = false;
|
|
20
|
+
@Input() type: string = 'button';
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-input',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-input [attr.type]="type" [attr.name]="name" [attr.label]="label" [attr.placeholder]="placeholder" [attr.value]="value" [disabled]="disabled" [required]="required" [multiline]="multiline" [attr.rows]="rows" (arc-input)="arcInput.emit($event)" (arc-change)="arcChange.emit($event)"><ng-content /></arc-input>`,
|
|
11
|
+
})
|
|
12
|
+
export class Input {
|
|
13
|
+
@Input() type: string = 'text';
|
|
14
|
+
@Input() name: string = '';
|
|
15
|
+
@Input() label: string = '';
|
|
16
|
+
@Input() placeholder: string = '';
|
|
17
|
+
@Input() value: string = '';
|
|
18
|
+
@Input() disabled: boolean = false;
|
|
19
|
+
@Input() required: boolean = false;
|
|
20
|
+
@Input() multiline: boolean = false;
|
|
21
|
+
@Input() rows: number = 5;
|
|
22
|
+
@Output() arcInput = new EventEmitter<CustomEvent>();
|
|
23
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-multi-select',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-multi-select [attr.value]="value" [attr.placeholder]="placeholder" [attr.label]="label" [disabled]="disabled" [attr._query]="_query" [attr._open]="_open" [attr._activeIndex]="_activeIndex" [attr._options]="_options" (arc-change)="arcChange.emit($event)"><ng-content /></arc-multi-select>`,
|
|
11
|
+
})
|
|
12
|
+
export class MultiSelect {
|
|
13
|
+
@Input() value: unknown[] = [];
|
|
14
|
+
@Input() placeholder: string = '';
|
|
15
|
+
@Input() label: string = '';
|
|
16
|
+
@Input() disabled: boolean = false;
|
|
17
|
+
@Input() _query: string = '';
|
|
18
|
+
@Input() _open: string = false;
|
|
19
|
+
@Input() _activeIndex: string = -1;
|
|
20
|
+
@Input() _options: string = [];
|
|
21
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-number-input',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-number-input [attr.value]="value" [attr.min]="min" [attr.max]="max" [attr.step]="step" [attr.label]="label" [disabled]="disabled" (arc-change)="arcChange.emit($event)"><ng-content /></arc-number-input>`,
|
|
11
|
+
})
|
|
12
|
+
export class NumberInput {
|
|
13
|
+
@Input() value: number = 0;
|
|
14
|
+
@Input() min: number = 'undefined';
|
|
15
|
+
@Input() max: number = 'undefined';
|
|
16
|
+
@Input() step: number = 1;
|
|
17
|
+
@Input() label: string = '';
|
|
18
|
+
@Input() disabled: boolean = false;
|
|
19
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-otp-input',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-otp-input [attr.length]="length" [attr.value]="value" [disabled]="disabled" [attr.type]="type" (arc-change)="arcChange.emit($event)"><ng-content /></arc-otp-input>`,
|
|
11
|
+
})
|
|
12
|
+
export class OtpInput {
|
|
13
|
+
@Input() length: number = 6;
|
|
14
|
+
@Input() value: string = '';
|
|
15
|
+
@Input() disabled: boolean = false;
|
|
16
|
+
@Input() type: string = 'number';
|
|
17
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-pin-input',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-pin-input [attr.length]="length" [attr.value]="value" [disabled]="disabled" [mask]="mask" [attr.type]="type" [attr.separator]="separator" [attr.label]="label" (arc-change)="arcChange.emit($event)" (arc-complete)="arcComplete.emit($event)"><ng-content /></arc-pin-input>`,
|
|
11
|
+
})
|
|
12
|
+
export class PinInput {
|
|
13
|
+
@Input() length: number = 4;
|
|
14
|
+
@Input() value: string = '';
|
|
15
|
+
@Input() disabled: boolean = false;
|
|
16
|
+
@Input() mask: boolean = false;
|
|
17
|
+
@Input() type: string = 'number';
|
|
18
|
+
@Input() separator: number = 0;
|
|
19
|
+
@Input() label: string = '';
|
|
20
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
21
|
+
@Output() arcComplete = new EventEmitter<CustomEvent>();
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-radio',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-radio [attr.value]="value" [disabled]="disabled"><ng-content /></arc-radio>`,
|
|
11
|
+
})
|
|
12
|
+
export class Radio {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() disabled: boolean = false;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-radio-group',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-radio-group [attr.value]="value" [attr.name]="name" [disabled]="disabled" [attr.orientation]="orientation" [attr._radios]="_radios" (arc-change)="arcChange.emit($event)"><ng-content /></arc-radio-group>`,
|
|
11
|
+
})
|
|
12
|
+
export class RadioGroup {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() name: string = '';
|
|
15
|
+
@Input() disabled: boolean = false;
|
|
16
|
+
@Input() orientation: 'horizontal' = 'vertical';
|
|
17
|
+
@Input() _radios: string = [];
|
|
18
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-rating',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-rating [attr.value]="value" [attr.max]="max" [disabled]="disabled" [readonly]="readonly" (arc-change)="arcChange.emit($event)"><ng-content /></arc-rating>`,
|
|
11
|
+
})
|
|
12
|
+
export class Rating {
|
|
13
|
+
@Input() value: number = 0;
|
|
14
|
+
@Input() max: number = 5;
|
|
15
|
+
@Input() disabled: boolean = false;
|
|
16
|
+
@Input() readonly: boolean = false;
|
|
17
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-search',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-search [attr.value]="value" [attr.placeholder]="placeholder" [attr.label]="label" [disabled]="disabled" [loading]="loading" [attr._open]="_open" [attr._activeIndex]="_activeIndex" [attr._suggestions]="_suggestions" (arc-input)="arcInput.emit($event)" (arc-clear)="arcClear.emit($event)" (arc-change)="arcChange.emit($event)" (arc-select)="arcSelect.emit($event)"><ng-content /></arc-search>`,
|
|
11
|
+
})
|
|
12
|
+
export class Search {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() placeholder: string = 'Search...';
|
|
15
|
+
@Input() label: string = '';
|
|
16
|
+
@Input() disabled: boolean = false;
|
|
17
|
+
@Input() loading: boolean = false;
|
|
18
|
+
@Input() _open: string = false;
|
|
19
|
+
@Input() _activeIndex: string = -1;
|
|
20
|
+
@Input() _suggestions: string = [];
|
|
21
|
+
@Output() arcInput = new EventEmitter<CustomEvent>();
|
|
22
|
+
@Output() arcClear = new EventEmitter<CustomEvent>();
|
|
23
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
24
|
+
@Output() arcSelect = new EventEmitter<CustomEvent>();
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-segmented-control',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-segmented-control [attr.value]="value" [disabled]="disabled" [attr._options]="_options" (arc-change)="arcChange.emit($event)"><ng-content /></arc-segmented-control>`,
|
|
11
|
+
})
|
|
12
|
+
export class SegmentedControl {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() disabled: boolean = false;
|
|
15
|
+
@Input() _options: string = [];
|
|
16
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-select',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-select [attr.value]="value" [attr.placeholder]="placeholder" [attr.label]="label" [attr.name]="name" [disabled]="disabled" [open]="open" [attr._options]="_options" (arc-change)="arcChange.emit($event)"><ng-content /></arc-select>`,
|
|
11
|
+
})
|
|
12
|
+
export class Select {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() placeholder: string = 'Select...';
|
|
15
|
+
@Input() label: string = '';
|
|
16
|
+
@Input() name: string = '';
|
|
17
|
+
@Input() disabled: boolean = false;
|
|
18
|
+
@Input() open: boolean = false;
|
|
19
|
+
@Input() _options: string = [];
|
|
20
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-slider',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-slider [attr.value]="value" [attr.min]="min" [attr.max]="max" [attr.step]="step" [disabled]="disabled" [attr.label]="label" (arc-input)="arcInput.emit($event)" (arc-change)="arcChange.emit($event)"><ng-content /></arc-slider>`,
|
|
11
|
+
})
|
|
12
|
+
export class Slider {
|
|
13
|
+
@Input() value: number = 0;
|
|
14
|
+
@Input() min: number = 0;
|
|
15
|
+
@Input() max: number = 100;
|
|
16
|
+
@Input() step: number = 1;
|
|
17
|
+
@Input() disabled: boolean = false;
|
|
18
|
+
@Input() label: string = '';
|
|
19
|
+
@Output() arcInput = new EventEmitter<CustomEvent>();
|
|
20
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-sortable-list',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-sortable-list [disabled]="disabled" [attr._items]="_items" [attr._dragIndex]="_dragIndex" [attr._overIndex]="_overIndex" [attr._kbSelected]="_kbSelected" [attr._kbMoving]="_kbMoving" (arc-change)="arcChange.emit($event)"><ng-content /></arc-sortable-list>`,
|
|
11
|
+
})
|
|
12
|
+
export class SortableList {
|
|
13
|
+
@Input() disabled: boolean = false;
|
|
14
|
+
@Input() _items: string = [];
|
|
15
|
+
@Input() _dragIndex: string = -1;
|
|
16
|
+
@Input() _overIndex: string = -1;
|
|
17
|
+
@Input() _kbSelected: string = -1;
|
|
18
|
+
@Input() _kbMoving: string = false;
|
|
19
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-suggestion',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-suggestion [attr.value]="value"><ng-content /></arc-suggestion>`,
|
|
11
|
+
})
|
|
12
|
+
export class Suggestion {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-textarea',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-textarea [attr.value]="value" [attr.placeholder]="placeholder" [attr.label]="label" [attr.rows]="rows" [attr.maxlength]="maxlength" [disabled]="disabled" [readonly]="readonly" [attr.resize]="resize" [attr.error]="error" (arc-input)="arcInput.emit($event)" (arc-change)="arcChange.emit($event)"><ng-content /></arc-textarea>`,
|
|
11
|
+
})
|
|
12
|
+
export class Textarea {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() placeholder: string = '';
|
|
15
|
+
@Input() label: string = '';
|
|
16
|
+
@Input() rows: number = 4;
|
|
17
|
+
@Input() maxlength: number = 0;
|
|
18
|
+
@Input() disabled: boolean = false;
|
|
19
|
+
@Input() readonly: boolean = false;
|
|
20
|
+
@Input() resize: 'none' | 'vertical' | 'horizontal' | 'both' = 'vertical';
|
|
21
|
+
@Input() error: string = '';
|
|
22
|
+
@Output() arcInput = new EventEmitter<CustomEvent>();
|
|
23
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-theme-toggle',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-theme-toggle [attr.theme]="theme" [disabled]="disabled" [iconOnly]="iconOnly" (arc-change)="arcChange.emit($event)"><ng-content /></arc-theme-toggle>`,
|
|
11
|
+
})
|
|
12
|
+
export class ThemeToggle {
|
|
13
|
+
@Input() theme: string = 'auto';
|
|
14
|
+
@Input() disabled: boolean = false;
|
|
15
|
+
@Input() iconOnly: boolean = false;
|
|
16
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-toggle',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-toggle [checked]="checked" [disabled]="disabled" [attr.label]="label" [attr.name]="name" (arc-change)="arcChange.emit($event)"><ng-content /></arc-toggle>`,
|
|
11
|
+
})
|
|
12
|
+
export class Toggle {
|
|
13
|
+
@Input() checked: boolean = false;
|
|
14
|
+
@Input() disabled: boolean = false;
|
|
15
|
+
@Input() label: string = '';
|
|
16
|
+
@Input() name: string = '';
|
|
17
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-app-shell',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-app-shell [sidebarOpen]="sidebarOpen" [attr.breakpoint]="breakpoint" [attr._mobile]="_mobile" [attr._hasToc]="_hasToc"><ng-content /></arc-app-shell>`,
|
|
11
|
+
})
|
|
12
|
+
export class AppShell {
|
|
13
|
+
@Input() sidebarOpen: boolean = false;
|
|
14
|
+
@Input() breakpoint: number = 900;
|
|
15
|
+
@Input() _mobile: string = false;
|
|
16
|
+
@Input() _hasToc: string = false;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-auth-shell',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-auth-shell [attr.variant]="variant"><ng-content /></arc-auth-shell>`,
|
|
11
|
+
})
|
|
12
|
+
export class AuthShell {
|
|
13
|
+
@Input() variant: string = 'centered';
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-container',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-container [narrow]="narrow"><ng-content /></arc-container>`,
|
|
11
|
+
})
|
|
12
|
+
export class Container {
|
|
13
|
+
@Input() narrow: boolean = false;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-dashboard-grid',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-dashboard-grid [attr.columns]="columns" [attr.gap]="gap" [attr.minColumnWidth]="minColumnWidth"><ng-content /></arc-dashboard-grid>`,
|
|
11
|
+
})
|
|
12
|
+
export class DashboardGrid {
|
|
13
|
+
@Input() columns: number = 3;
|
|
14
|
+
@Input() gap: string = 'var(--space-lg)';
|
|
15
|
+
@Input() minColumnWidth: string = '280px';
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-page-header',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-page-header [attr.heading]="heading" [attr.description]="description"><ng-content /></arc-page-header>`,
|
|
11
|
+
})
|
|
12
|
+
export class PageHeader {
|
|
13
|
+
@Input() heading: string = '';
|
|
14
|
+
@Input() description: string = '';
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-page-layout',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-page-layout [attr.layout]="layout" [attr.maxWidth]="maxWidth" [attr.gap]="gap"><ng-content /></arc-page-layout>`,
|
|
11
|
+
})
|
|
12
|
+
export class PageLayout {
|
|
13
|
+
@Input() layout: string = 'centered';
|
|
14
|
+
@Input() maxWidth: string = '1120px';
|
|
15
|
+
@Input() gap: string = 'var(--space-xl)';
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-resizable',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-resizable [attr.direction]="direction" [attr.minSize]="minSize" [attr.maxSize]="maxSize" [attr.size]="size" [attr._dragging]="_dragging" (arc-resize)="arcResize.emit($event)"><ng-content /></arc-resizable>`,
|
|
11
|
+
})
|
|
12
|
+
export class Resizable {
|
|
13
|
+
@Input() direction: 'horizontal' | 'vertical' = 'horizontal';
|
|
14
|
+
@Input() minSize: number = 100;
|
|
15
|
+
@Input() maxSize: number = Infinity;
|
|
16
|
+
@Input() size: number = 300;
|
|
17
|
+
@Input() _dragging: string = false;
|
|
18
|
+
@Output() arcResize = new EventEmitter<CustomEvent>();
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-section',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-section [attr.label]="label"><ng-content /></arc-section>`,
|
|
11
|
+
})
|
|
12
|
+
export class Section {
|
|
13
|
+
@Input() label: string = '';
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-settings-layout',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-settings-layout [attr.navPosition]="navPosition"><ng-content /></arc-settings-layout>`,
|
|
11
|
+
})
|
|
12
|
+
export class SettingsLayout {
|
|
13
|
+
@Input() navPosition: string = 'left';
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-split-pane',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-split-pane [attr.orientation]="orientation" [attr.ratio]="ratio" [attr.minRatio]="minRatio" [attr.maxRatio]="maxRatio" (arc-resize)="arcResize.emit($event)"><ng-content /></arc-split-pane>`,
|
|
11
|
+
})
|
|
12
|
+
export class SplitPane {
|
|
13
|
+
@Input() orientation: string = 'horizontal';
|
|
14
|
+
@Input() ratio: number = 0.5;
|
|
15
|
+
@Input() minRatio: number = 0.15;
|
|
16
|
+
@Input() maxRatio: number = 0.85;
|
|
17
|
+
@Output() arcResize = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-status-bar',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-status-bar [attr.position]="position"><ng-content /></arc-status-bar>`,
|
|
11
|
+
})
|
|
12
|
+
export class StatusBar {
|
|
13
|
+
@Input() position: string = 'static';
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-toolbar',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-toolbar [sticky]="sticky" [attr.size]="size" [border]="border"><ng-content /></arc-toolbar>`,
|
|
11
|
+
})
|
|
12
|
+
export class Toolbar {
|
|
13
|
+
@Input() sticky: boolean = false;
|
|
14
|
+
@Input() size: string = 'md';
|
|
15
|
+
@Input() border: boolean = true;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-breadcrumb',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-breadcrumb [attr._items]="_items" (arc-navigate)="arcNavigate.emit($event)"><ng-content /></arc-breadcrumb>`,
|
|
11
|
+
})
|
|
12
|
+
export class Breadcrumb {
|
|
13
|
+
@Input() _items: string = [];
|
|
14
|
+
@Output() arcNavigate = new EventEmitter<CustomEvent>();
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-breadcrumb-item',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-breadcrumb-item [attr.href]="href"><ng-content /></arc-breadcrumb-item>`,
|
|
11
|
+
})
|
|
12
|
+
export class BreadcrumbItem {
|
|
13
|
+
@Input() href: string = '';
|
|
14
|
+
}
|