@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,37 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
export { AvatarGroup } from './AvatarGroup.js';
|
|
3
|
+
export { Badge } from './Badge.js';
|
|
4
|
+
export { Callout } from './Callout.js';
|
|
5
|
+
export { Card } from './Card.js';
|
|
6
|
+
export { CodeBlock } from './CodeBlock.js';
|
|
7
|
+
export { ColorSwatch } from './ColorSwatch.js';
|
|
8
|
+
export { Divider } from './Divider.js';
|
|
9
|
+
export { EmptyState } from './EmptyState.js';
|
|
10
|
+
export { FeatureCard } from './FeatureCard.js';
|
|
11
|
+
export { Icon } from './Icon.js';
|
|
12
|
+
export { Kbd } from './Kbd.js';
|
|
13
|
+
export { Link } from './Link.js';
|
|
14
|
+
export { Skeleton } from './Skeleton.js';
|
|
15
|
+
export { Spinner } from './Spinner.js';
|
|
16
|
+
export { Step } from './Step.js';
|
|
17
|
+
export { Stepper } from './Stepper.js';
|
|
18
|
+
export { Table } from './Table.js';
|
|
19
|
+
export { Text } from './Text.js';
|
|
20
|
+
export { TimelineItem } from './TimelineItem.js';
|
|
21
|
+
export { ValueCard } from './ValueCard.js';
|
|
22
|
+
export { AnimatedNumber } from './AnimatedNumber.js';
|
|
23
|
+
export { AspectRatio } from './AspectRatio.js';
|
|
24
|
+
export { Highlight } from './Highlight.js';
|
|
25
|
+
export { Markdown } from './Markdown.js';
|
|
26
|
+
export { Marquee } from './Marquee.js';
|
|
27
|
+
export { Meter } from './Meter.js';
|
|
28
|
+
export { ScrollArea } from './ScrollArea.js';
|
|
29
|
+
export { Stack } from './Stack.js';
|
|
30
|
+
export { AccordionItem } from './AccordionItem.js';
|
|
31
|
+
export { Carousel } from './Carousel.js';
|
|
32
|
+
export { Collapsible } from './Collapsible.js';
|
|
33
|
+
export { Column } from './Column.js';
|
|
34
|
+
export { DataTable } from './DataTable.js';
|
|
35
|
+
export { InfiniteScroll } from './InfiniteScroll.js';
|
|
36
|
+
export { Tag } from './Tag.js';
|
|
37
|
+
export { Truncate } from './Truncate.js';
|
|
@@ -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-alert',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-alert [attr.variant]="variant" [dismissible]="dismissible" [attr.heading]="heading" (arc-dismiss)="arcDismiss.emit($event)"><ng-content /></arc-alert>`,
|
|
11
|
+
})
|
|
12
|
+
export class Alert {
|
|
13
|
+
@Input() variant: 'info' | 'success' | 'warning' | 'error' = 'info';
|
|
14
|
+
@Input() dismissible: boolean = false;
|
|
15
|
+
@Input() heading: string = '';
|
|
16
|
+
@Output() arcDismiss = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -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-command-item',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-command-item [attr.shortcut]="shortcut" [attr.icon]="icon"><ng-content /></arc-command-item>`,
|
|
11
|
+
})
|
|
12
|
+
export class CommandItem {
|
|
13
|
+
@Input() shortcut: string = '';
|
|
14
|
+
@Input() icon: string = '';
|
|
15
|
+
}
|
|
@@ -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-command-palette',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-command-palette [open]="open" [attr.placeholder]="placeholder" [attr._query]="_query" [attr._focusedIndex]="_focusedIndex" [attr._items]="_items" (arc-select)="arcSelect.emit($event)" (arc-close)="arcClose.emit($event)"><ng-content /></arc-command-palette>`,
|
|
11
|
+
})
|
|
12
|
+
export class CommandPalette {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() placeholder: string = 'Type a command...';
|
|
15
|
+
@Input() _query: string = '';
|
|
16
|
+
@Input() _focusedIndex: string = 0;
|
|
17
|
+
@Input() _items: string = [];
|
|
18
|
+
@Output() arcSelect = new EventEmitter<CustomEvent>();
|
|
19
|
+
@Output() arcClose = new EventEmitter<CustomEvent>();
|
|
20
|
+
}
|
|
@@ -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-context-menu',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-context-menu [open]="open" [attr._x]="_x" [attr._y]="_y" [attr._activeIndex]="_activeIndex" [attr._children]="_children" (arc-open)="arcOpen.emit($event)" (arc-close)="arcClose.emit($event)" (arc-select)="arcSelect.emit($event)"><ng-content /></arc-context-menu>`,
|
|
11
|
+
})
|
|
12
|
+
export class ContextMenu {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() _x: string = 0;
|
|
15
|
+
@Input() _y: string = 0;
|
|
16
|
+
@Input() _activeIndex: string = -1;
|
|
17
|
+
@Input() _children: string = [];
|
|
18
|
+
@Output() arcOpen = new EventEmitter<CustomEvent>();
|
|
19
|
+
@Output() arcClose = new EventEmitter<CustomEvent>();
|
|
20
|
+
@Output() arcSelect = new EventEmitter<CustomEvent>();
|
|
21
|
+
}
|
|
@@ -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-dialog',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-dialog [open]="open" [attr.heading]="heading" [attr.message]="message" [attr.variant]="variant" (arc-confirm)="arcConfirm.emit($event)" (arc-cancel)="arcCancel.emit($event)"><ng-content /></arc-dialog>`,
|
|
11
|
+
})
|
|
12
|
+
export class Dialog {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() heading: string = '';
|
|
15
|
+
@Input() message: string = '';
|
|
16
|
+
@Input() variant: 'danger' = 'default';
|
|
17
|
+
@Output() arcConfirm = new EventEmitter<CustomEvent>();
|
|
18
|
+
@Output() arcCancel = 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-dropdown-menu',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-dropdown-menu [open]="open" [attr._focusedIndex]="_focusedIndex" [attr._children]="_children" (arc-close)="arcClose.emit($event)" (arc-select)="arcSelect.emit($event)"><ng-content /></arc-dropdown-menu>`,
|
|
11
|
+
})
|
|
12
|
+
export class DropdownMenu {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() _focusedIndex: string = -1;
|
|
15
|
+
@Input() _children: string = [];
|
|
16
|
+
@Output() arcClose = new EventEmitter<CustomEvent>();
|
|
17
|
+
@Output() arcSelect = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
|
@@ -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-hover-card',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-hover-card [attr.position]="position" [attr.openDelay]="openDelay" [attr.closeDelay]="closeDelay" [attr._visible]="_visible" (arc-open)="arcOpen.emit($event)" (arc-close)="arcClose.emit($event)"><ng-content /></arc-hover-card>`,
|
|
11
|
+
})
|
|
12
|
+
export class HoverCard {
|
|
13
|
+
@Input() position: 'bottom' | 'top' | 'left' | 'right' = 'bottom';
|
|
14
|
+
@Input() openDelay: number = 400;
|
|
15
|
+
@Input() closeDelay: number = 300;
|
|
16
|
+
@Input() _visible: string = false;
|
|
17
|
+
@Output() arcOpen = new EventEmitter<CustomEvent>();
|
|
18
|
+
@Output() arcClose = new EventEmitter<CustomEvent>();
|
|
19
|
+
}
|
|
@@ -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-modal',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-modal [open]="open" [attr.heading]="heading" [attr.size]="size" [closable]="closable" (arc-close)="arcClose.emit($event)" (arc-open)="arcOpen.emit($event)"><ng-content /></arc-modal>`,
|
|
11
|
+
})
|
|
12
|
+
export class Modal {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() heading: string = '';
|
|
15
|
+
@Input() size: 'sm' | 'md' | 'lg' = 'md';
|
|
16
|
+
@Input() closable: boolean = true;
|
|
17
|
+
@Output() arcClose = new EventEmitter<CustomEvent>();
|
|
18
|
+
@Output() arcOpen = 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-notification-panel',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-notification-panel [open]="open" [attr.position]="position" [attr.maxHeight]="maxHeight" (arc-open)="arcOpen.emit($event)" (arc-close)="arcClose.emit($event)"><ng-content /></arc-notification-panel>`,
|
|
11
|
+
})
|
|
12
|
+
export class NotificationPanel {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() position: string = 'top-right';
|
|
15
|
+
@Input() maxHeight: string = '400px';
|
|
16
|
+
@Output() arcOpen = new EventEmitter<CustomEvent>();
|
|
17
|
+
@Output() arcClose = 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, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-popover',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-popover [open]="open" [attr.position]="position" [attr.trigger]="trigger" (arc-close)="arcClose.emit($event)"><ng-content /></arc-popover>`,
|
|
11
|
+
})
|
|
12
|
+
export class Popover {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() position: 'bottom' | 'top' | 'left' | 'right' = 'bottom';
|
|
15
|
+
@Input() trigger: string = '';
|
|
16
|
+
@Output() arcClose = 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 } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-progress',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-progress [attr.value]="value" [attr.variant]="variant" [attr.size]="size" [indeterminate]="indeterminate" [attr.label]="label"><ng-content /></arc-progress>`,
|
|
11
|
+
})
|
|
12
|
+
export class Progress {
|
|
13
|
+
@Input() value: number = 0;
|
|
14
|
+
@Input() variant: string = 'bar';
|
|
15
|
+
@Input() size: 'sm' | 'md' | 'lg' = 'md';
|
|
16
|
+
@Input() indeterminate: boolean = false;
|
|
17
|
+
@Input() label: string = '';
|
|
18
|
+
}
|
|
@@ -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-sheet',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-sheet [open]="open" [attr.side]="side" [attr.heading]="heading" (arc-close)="arcClose.emit($event)" (arc-open)="arcOpen.emit($event)"><ng-content /></arc-sheet>`,
|
|
11
|
+
})
|
|
12
|
+
export class Sheet {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() side: 'bottom' | 'right' = 'bottom';
|
|
15
|
+
@Input() heading: string = '';
|
|
16
|
+
@Output() arcClose = new EventEmitter<CustomEvent>();
|
|
17
|
+
@Output() arcOpen = 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, Output, EventEmitter } from '@angular/core';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'arc-toast',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-toast [attr.position]="position" [attr.duration]="duration" [attr._toasts]="_toasts" (arc-dismiss)="arcDismiss.emit($event)"><ng-content /></arc-toast>`,
|
|
11
|
+
})
|
|
12
|
+
export class Toast {
|
|
13
|
+
@Input() position: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center' = 'top-right';
|
|
14
|
+
@Input() duration: number = 4000;
|
|
15
|
+
@Input() _toasts: string = [];
|
|
16
|
+
@Output() arcDismiss = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -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-tooltip',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-tooltip [attr.content]="content" [attr.position]="position" [attr.delay]="delay" [attr._visible]="_visible"><ng-content /></arc-tooltip>`,
|
|
11
|
+
})
|
|
12
|
+
export class Tooltip {
|
|
13
|
+
@Input() content: string = '';
|
|
14
|
+
@Input() position: 'top' | 'bottom' | 'left' | 'right' = 'top';
|
|
15
|
+
@Input() delay: number = 200;
|
|
16
|
+
@Input() _visible: string = false;
|
|
17
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
export { AvatarGroup } from './content/AvatarGroup.js';
|
|
3
|
+
export { Avatar } from './content/Avatar.js';
|
|
4
|
+
export { Badge } from './content/Badge.js';
|
|
5
|
+
export { Callout } from './content/Callout.js';
|
|
6
|
+
export { Card } from './content/Card.js';
|
|
7
|
+
export { CodeBlock } from './content/CodeBlock.js';
|
|
8
|
+
export { ColorSwatch } from './content/ColorSwatch.js';
|
|
9
|
+
export { Divider } from './content/Divider.js';
|
|
10
|
+
export { EmptyState } from './content/EmptyState.js';
|
|
11
|
+
export { FeatureCard } from './content/FeatureCard.js';
|
|
12
|
+
export { Icon } from './content/Icon.js';
|
|
13
|
+
export { Kbd } from './content/Kbd.js';
|
|
14
|
+
export { Link } from './content/Link.js';
|
|
15
|
+
export { Skeleton } from './content/Skeleton.js';
|
|
16
|
+
export { Spinner } from './content/Spinner.js';
|
|
17
|
+
export { Stat } from './content/Stat.js';
|
|
18
|
+
export { Step } from './content/Step.js';
|
|
19
|
+
export { Stepper } from './content/Stepper.js';
|
|
20
|
+
export { Table } from './content/Table.js';
|
|
21
|
+
export { Text } from './content/Text.js';
|
|
22
|
+
export { TimelineItem } from './content/TimelineItem.js';
|
|
23
|
+
export { Timeline } from './content/Timeline.js';
|
|
24
|
+
export { ValueCard } from './content/ValueCard.js';
|
|
25
|
+
export { AccordionItem } from './reactive/AccordionItem.js';
|
|
26
|
+
export { Accordion } from './reactive/Accordion.js';
|
|
27
|
+
export { Alert } from './reactive/Alert.js';
|
|
28
|
+
export { Button } from './reactive/Button.js';
|
|
29
|
+
export { Calendar } from './reactive/Calendar.js';
|
|
30
|
+
export { Checkbox } from './reactive/Checkbox.js';
|
|
31
|
+
export { Column } from './reactive/Column.js';
|
|
32
|
+
export { Combobox } from './reactive/Combobox.js';
|
|
33
|
+
export { CommandItem } from './reactive/CommandItem.js';
|
|
34
|
+
export { CommandPalette } from './reactive/CommandPalette.js';
|
|
35
|
+
export { ContextMenu } from './reactive/ContextMenu.js';
|
|
36
|
+
export { CopyButton } from './reactive/CopyButton.js';
|
|
37
|
+
export { DataTable } from './reactive/DataTable.js';
|
|
38
|
+
export { DatePicker } from './reactive/DatePicker.js';
|
|
39
|
+
export { Drawer } from './reactive/Drawer.js';
|
|
40
|
+
export { DropdownMenu } from './reactive/DropdownMenu.js';
|
|
41
|
+
export { FileUpload } from './reactive/FileUpload.js';
|
|
42
|
+
export { Form } from './reactive/Form.js';
|
|
43
|
+
export { HoverCard } from './reactive/HoverCard.js';
|
|
44
|
+
export { IconButton } from './reactive/IconButton.js';
|
|
45
|
+
export { Input } from './reactive/Input.js';
|
|
46
|
+
export { Modal } from './reactive/Modal.js';
|
|
47
|
+
export { MultiSelect } from './reactive/MultiSelect.js';
|
|
48
|
+
export { Pagination } from './reactive/Pagination.js';
|
|
49
|
+
export { Popover } from './reactive/Popover.js';
|
|
50
|
+
export { Progress } from './reactive/Progress.js';
|
|
51
|
+
export { RadioGroup } from './reactive/RadioGroup.js';
|
|
52
|
+
export { Radio } from './reactive/Radio.js';
|
|
53
|
+
export { Search } from './reactive/Search.js';
|
|
54
|
+
export { Select } from './reactive/Select.js';
|
|
55
|
+
export { Slider } from './reactive/Slider.js';
|
|
56
|
+
export { Suggestion } from './reactive/Suggestion.js';
|
|
57
|
+
export { Tab } from './reactive/Tab.js';
|
|
58
|
+
export { Tabs } from './reactive/Tabs.js';
|
|
59
|
+
export { Tag } from './reactive/Tag.js';
|
|
60
|
+
export { Textarea } from './reactive/Textarea.js';
|
|
61
|
+
export { ThemeToggle } from './reactive/ThemeToggle.js';
|
|
62
|
+
export { Toast } from './reactive/Toast.js';
|
|
63
|
+
export { Toggle } from './reactive/Toggle.js';
|
|
64
|
+
export { Tooltip } from './reactive/Tooltip.js';
|
|
65
|
+
export { TreeItem } from './reactive/TreeItem.js';
|
|
66
|
+
export { TreeView } from './reactive/TreeView.js';
|
|
67
|
+
export { AppShell } from './application/AppShell.js';
|
|
68
|
+
export { AuthShell } from './application/AuthShell.js';
|
|
69
|
+
export { BreadcrumbItem } from './application/BreadcrumbItem.js';
|
|
70
|
+
export { Breadcrumb } from './application/Breadcrumb.js';
|
|
71
|
+
export { Container } from './application/Container.js';
|
|
72
|
+
export { DashboardGrid } from './application/DashboardGrid.js';
|
|
73
|
+
export { Footer } from './application/Footer.js';
|
|
74
|
+
export { NavItem } from './application/NavItem.js';
|
|
75
|
+
export { NavigationMenu } from './application/NavigationMenu.js';
|
|
76
|
+
export { NotificationPanel } from './application/NotificationPanel.js';
|
|
77
|
+
export { PageHeader } from './application/PageHeader.js';
|
|
78
|
+
export { PageLayout } from './application/PageLayout.js';
|
|
79
|
+
export { Resizable } from './application/Resizable.js';
|
|
80
|
+
export { ScrollSpy } from './application/ScrollSpy.js';
|
|
81
|
+
export { Section } from './application/Section.js';
|
|
82
|
+
export { SettingsLayout } from './application/SettingsLayout.js';
|
|
83
|
+
export { SidebarLink } from './application/SidebarLink.js';
|
|
84
|
+
export { SidebarSection } from './application/SidebarSection.js';
|
|
85
|
+
export { Sidebar } from './application/Sidebar.js';
|
|
86
|
+
export { SplitPane } from './application/SplitPane.js';
|
|
87
|
+
export { SpyLink } from './application/SpyLink.js';
|
|
88
|
+
export { StatusBar } from './application/StatusBar.js';
|
|
89
|
+
export { Toolbar } from './application/Toolbar.js';
|
|
90
|
+
export { TopBar } from './application/TopBar.js';
|
|
91
|
+
export { AnimatedNumber } from './content/AnimatedNumber.js';
|
|
92
|
+
export { AspectRatio } from './content/AspectRatio.js';
|
|
93
|
+
export { Highlight } from './content/Highlight.js';
|
|
94
|
+
export { Markdown } from './content/Markdown.js';
|
|
95
|
+
export { Marquee } from './content/Marquee.js';
|
|
96
|
+
export { Meter } from './content/Meter.js';
|
|
97
|
+
export { ScrollArea } from './content/ScrollArea.js';
|
|
98
|
+
export { Stack } from './content/Stack.js';
|
|
99
|
+
export { Carousel } from './reactive/Carousel.js';
|
|
100
|
+
export { Chip } from './reactive/Chip.js';
|
|
101
|
+
export { Collapsible } from './reactive/Collapsible.js';
|
|
102
|
+
export { ColorPicker } from './reactive/ColorPicker.js';
|
|
103
|
+
export { Dialog } from './reactive/Dialog.js';
|
|
104
|
+
export { InfiniteScroll } from './reactive/InfiniteScroll.js';
|
|
105
|
+
export { NumberInput } from './reactive/NumberInput.js';
|
|
106
|
+
export { OtpInput } from './reactive/OtpInput.js';
|
|
107
|
+
export { PinInput } from './reactive/PinInput.js';
|
|
108
|
+
export { Rating } from './reactive/Rating.js';
|
|
109
|
+
export { ScrollToTop } from './reactive/ScrollToTop.js';
|
|
110
|
+
export { SegmentedControl } from './reactive/SegmentedControl.js';
|
|
111
|
+
export { Sheet } from './reactive/Sheet.js';
|
|
112
|
+
export { SortableList } from './reactive/SortableList.js';
|
|
113
|
+
export { Truncate } from './reactive/Truncate.js';
|
|
114
|
+
export { MenuDivider } from './shared/MenuDivider.js';
|
|
115
|
+
export { MenuItem } from './shared/MenuItem.js';
|
|
116
|
+
export { Option } from './shared/Option.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
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-button',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-button [attr.variant]="variant" [attr.size]="size" [attr.href]="href" [disabled]="disabled" [attr.type]="type"><ng-content /></arc-button>`,
|
|
11
|
+
})
|
|
12
|
+
export class Button {
|
|
13
|
+
@Input() variant: 'primary' | 'secondary' | 'ghost' = 'primary';
|
|
14
|
+
@Input() size: 'sm' | 'md' | 'lg' = 'md';
|
|
15
|
+
@Input() href: string = '';
|
|
16
|
+
@Input() disabled: boolean = false;
|
|
17
|
+
@Input() type: string = 'button';
|
|
18
|
+
}
|
|
@@ -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-calendar',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-calendar [attr.value]="value" [attr.min]="min" [attr.max]="max" [attr.month]="month" [attr.year]="year" [attr._focusedDay]="_focusedDay" (arc-navigate)="arcNavigate.emit($event)" (arc-change)="arcChange.emit($event)"><ng-content /></arc-calendar>`,
|
|
11
|
+
})
|
|
12
|
+
export class Calendar {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() min: string = '';
|
|
15
|
+
@Input() max: string = '';
|
|
16
|
+
@Input() month: number = 'now.getMonth()';
|
|
17
|
+
@Input() year: number = 'now.getFullYear()';
|
|
18
|
+
@Input() _focusedDay: string = 'null';
|
|
19
|
+
@Output() arcNavigate = 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-checkbox',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-checkbox [checked]="checked" [indeterminate]="indeterminate" [disabled]="disabled" [attr.label]="label" [attr.name]="name" [attr.value]="value" (arc-change)="arcChange.emit($event)"><ng-content /></arc-checkbox>`,
|
|
11
|
+
})
|
|
12
|
+
export class Checkbox {
|
|
13
|
+
@Input() checked: boolean = false;
|
|
14
|
+
@Input() indeterminate: boolean = false;
|
|
15
|
+
@Input() disabled: boolean = false;
|
|
16
|
+
@Input() label: string = '';
|
|
17
|
+
@Input() name: string = '';
|
|
18
|
+
@Input() value: string = '';
|
|
19
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
20
|
+
}
|
|
@@ -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-chip',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-chip [selected]="selected" [disabled]="disabled" [attr.value]="value" (arc-change)="arcChange.emit($event)"><ng-content /></arc-chip>`,
|
|
11
|
+
})
|
|
12
|
+
export class Chip {
|
|
13
|
+
@Input() selected: boolean = false;
|
|
14
|
+
@Input() disabled: boolean = false;
|
|
15
|
+
@Input() value: string = '';
|
|
16
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -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-color-picker',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-color-picker [attr.value]="value" [attr.presets]="presets" [disabled]="disabled" [attr.label]="label" [attr._hue]="_hue" [attr._sat]="_sat" [attr._lit]="_lit" [attr._hexInput]="_hexInput" [attr._draggingArea]="_draggingArea" [attr._draggingHue]="_draggingHue" (arc-change)="arcChange.emit($event)"><ng-content /></arc-color-picker>`,
|
|
11
|
+
})
|
|
12
|
+
export class ColorPicker {
|
|
13
|
+
@Input() value: string = '#4d7ef7';
|
|
14
|
+
@Input() presets: unknown[] = [];
|
|
15
|
+
@Input() disabled: boolean = false;
|
|
16
|
+
@Input() label: string = '';
|
|
17
|
+
@Input() _hue: string = 225;
|
|
18
|
+
@Input() _sat: string = 92;
|
|
19
|
+
@Input() _lit: string = 64;
|
|
20
|
+
@Input() _hexInput: string = '#4d7ef7';
|
|
21
|
+
@Input() _draggingArea: string = false;
|
|
22
|
+
@Input() _draggingHue: string = false;
|
|
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-combobox',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-combobox [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-combobox>`,
|
|
11
|
+
})
|
|
12
|
+
export class Combobox {
|
|
13
|
+
@Input() value: string = '';
|
|
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,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-copy-button',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-copy-button [attr.value]="value" [disabled]="disabled" [attr._copied]="_copied" (arc-copy)="arcCopy.emit($event)"><ng-content /></arc-copy-button>`,
|
|
11
|
+
})
|
|
12
|
+
export class CopyButton {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() disabled: boolean = false;
|
|
15
|
+
@Input() _copied: string = false;
|
|
16
|
+
@Output() arcCopy = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -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-date-picker',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-date-picker [attr.value]="value" [attr.min]="min" [attr.max]="max" [attr.placeholder]="placeholder" [disabled]="disabled" [attr.label]="label" [attr._open]="_open" [attr._viewMonth]="_viewMonth" [attr._viewYear]="_viewYear" [attr._mode]="_mode" (arc-change)="arcChange.emit($event)"><ng-content /></arc-date-picker>`,
|
|
11
|
+
})
|
|
12
|
+
export class DatePicker {
|
|
13
|
+
@Input() value: string = '';
|
|
14
|
+
@Input() min: string = '';
|
|
15
|
+
@Input() max: string = '';
|
|
16
|
+
@Input() placeholder: string = 'Select date';
|
|
17
|
+
@Input() disabled: boolean = false;
|
|
18
|
+
@Input() label: string = '';
|
|
19
|
+
@Input() _open: string = false;
|
|
20
|
+
@Input() _viewMonth: string = 'today.getMonth()';
|
|
21
|
+
@Input() _viewYear: string = 'today.getFullYear()';
|
|
22
|
+
@Input() _mode: string = 'days';
|
|
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-file-upload',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-file-upload [attr.accept]="accept" [multiple]="multiple" [attr.maxSize]="maxSize" [disabled]="disabled" [attr._files]="_files" [attr._dragOver]="_dragOver" [attr._error]="_error" (arc-change)="arcChange.emit($event)" (arc-remove)="arcRemove.emit($event)"><ng-content /></arc-file-upload>`,
|
|
11
|
+
})
|
|
12
|
+
export class FileUpload {
|
|
13
|
+
@Input() accept: string = '';
|
|
14
|
+
@Input() multiple: boolean = false;
|
|
15
|
+
@Input() maxSize: number = 0;
|
|
16
|
+
@Input() disabled: boolean = false;
|
|
17
|
+
@Input() _files: string = [];
|
|
18
|
+
@Input() _dragOver: string = false;
|
|
19
|
+
@Input() _error: string = '';
|
|
20
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
21
|
+
@Output() arcRemove = new EventEmitter<CustomEvent>();
|
|
22
|
+
}
|