@ongov/ontario-design-system-component-library-angular 4.3.0 → 5.0.0-alpha.1
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/dist/component-library/esm2020/lib/component-library.module.mjs +1 -1
- package/dist/component-library/esm2020/lib/stencil-generated/components.mjs +30 -4
- package/dist/component-library/esm2020/lib/stencil-generated/index.mjs +2 -1
- package/dist/component-library/fesm2015/angular-component-library.mjs +31 -5
- package/dist/component-library/fesm2015/angular-component-library.mjs.map +1 -1
- package/dist/component-library/fesm2020/angular-component-library.mjs +31 -5
- package/dist/component-library/fesm2020/angular-component-library.mjs.map +1 -1
- package/dist/component-library/lib/component-library.module.d.ts +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +47 -4
- package/dist/component-library/lib/stencil-generated/index.d.ts +1 -1
- package/package.json +4 -4
- package/projects/component-library/src/lib/stencil-generated/components.ts +90 -9
- package/projects/component-library/src/lib/stencil-generated/index.ts +1 -0
|
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./stencil-generated/components";
|
|
3
3
|
export declare class ComponentLibraryModule {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentLibraryModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentLibraryModule, [typeof i1.OntarioAccordion, typeof i1.OntarioAside, typeof i1.OntarioBackToTop, typeof i1.OntarioBadge, typeof i1.OntarioBlockquote, typeof i1.OntarioButton, typeof i1.OntarioCallout, typeof i1.OntarioCard, typeof i1.OntarioCardCollection, typeof i1.OntarioCheckboxes, typeof i1.OntarioCriticalAlert, typeof i1.OntarioDateInput, typeof i1.OntarioDropdownList, typeof i1.OntarioFieldset, typeof i1.OntarioFooter, typeof i1.OntarioHeader, typeof i1.OntarioHintExpander, typeof i1.OntarioHintText, typeof i1.OntarioIconAccessibility, typeof i1.OntarioIconAccount, typeof i1.OntarioIconAdd, typeof i1.OntarioIconAddAlt, typeof i1.OntarioIconAlertError, typeof i1.OntarioIconAlertInformation, typeof i1.OntarioIconAlertSuccess, typeof i1.OntarioIconAlertWarning, typeof i1.OntarioIconArrowUp, typeof i1.OntarioIconAttach, typeof i1.OntarioIconBookmarkOff, typeof i1.OntarioIconBookmarkOn, typeof i1.OntarioIconCalendar, typeof i1.OntarioIconCamera, typeof i1.OntarioIconChevronDown, typeof i1.OntarioIconChevronLeft, typeof i1.OntarioIconChevronRight, typeof i1.OntarioIconChevronUp, typeof i1.OntarioIconClock, typeof i1.OntarioIconClose, typeof i1.OntarioIconCloseHeader, typeof i1.OntarioIconCloud, typeof i1.OntarioIconCollapse, typeof i1.OntarioIconCreditCard, typeof i1.OntarioIconCriticalAlertWarning, typeof i1.OntarioIconDelete, typeof i1.OntarioIconDocument, typeof i1.OntarioIconDownload, typeof i1.OntarioIconDropdownArrow, typeof i1.OntarioIconEdit, typeof i1.OntarioIconEmail, typeof i1.OntarioIconExpand, typeof i1.OntarioIconExport, typeof i1.OntarioIconFacebook, typeof i1.OntarioIconFacebookAlt, typeof i1.OntarioIconFavouriteOff, typeof i1.OntarioIconFavouriteOn, typeof i1.OntarioIconFilter, typeof i1.OntarioIconFlickr, typeof i1.OntarioIconGrid, typeof i1.OntarioIconHelp, typeof i1.OntarioIconInstagram, typeof i1.OntarioIconInteracEn, typeof i1.OntarioIconInteracEnAlt, typeof i1.OntarioIconInteracFr, typeof i1.OntarioIconInteracFrAlt, typeof i1.OntarioIconLinkedin, typeof i1.OntarioIconLinkedinAlt, typeof i1.OntarioIconList, typeof i1.OntarioIconLiveChat, typeof i1.OntarioIconLocationOff, typeof i1.OntarioIconLocationOn, typeof i1.OntarioIconLockOff, typeof i1.OntarioIconLockOn, typeof i1.OntarioIconMap, typeof i1.OntarioIconMastercard, typeof i1.OntarioIconMastercardAlt, typeof i1.OntarioIconMediaFastForward, typeof i1.OntarioIconMediaFastRewind, typeof i1.OntarioIconMediaPause, typeof i1.OntarioIconMediaPlay, typeof i1.OntarioIconMediaStop, typeof i1.OntarioIconMenu, typeof i1.OntarioIconMenuHeader, typeof i1.OntarioIconMicrophoneOff, typeof i1.OntarioIconMicrophoneOn, typeof i1.OntarioIconMoreVertical, typeof i1.OntarioIconNewWindow, typeof i1.OntarioIconNext, typeof i1.OntarioIconNotification, typeof i1.OntarioIconPasswordHide, typeof i1.OntarioIconPasswordShow, typeof i1.OntarioIconPhone, typeof i1.OntarioIconPhoto, typeof i1.OntarioIconPinLocationOff, typeof i1.OntarioIconPinLocationOn, typeof i1.OntarioIconPrevious, typeof i1.OntarioIconPrint, typeof i1.OntarioIconRemove, typeof i1.OntarioIconRemoveAlt, typeof i1.OntarioIconReplay, typeof i1.OntarioIconRssFeed, typeof i1.OntarioIconSave, typeof i1.OntarioIconSearch, typeof i1.OntarioIconSearchWhite, typeof i1.OntarioIconSentiment1, typeof i1.OntarioIconSentiment2, typeof i1.OntarioIconSentiment3, typeof i1.OntarioIconSentiment4, typeof i1.OntarioIconSentiment5, typeof i1.OntarioIconSettings, typeof i1.OntarioIconShare, typeof i1.OntarioIconSort, typeof i1.OntarioIconTag, typeof i1.OntarioIconTextMessage, typeof i1.OntarioIconTimer, typeof i1.OntarioIconTransportBicycle, typeof i1.OntarioIconTransportBus, typeof i1.OntarioIconTransportCar, typeof i1.OntarioIconTransportWalk, typeof i1.OntarioIconTty, typeof i1.OntarioIconTwitter, typeof i1.OntarioIconTwitterAlt, typeof i1.OntarioIconUpload, typeof i1.OntarioIconVideo, typeof i1.OntarioIconVisa, typeof i1.OntarioIconVoteDislike, typeof i1.OntarioIconVoteLike, typeof i1.OntarioIconVpnKey, typeof i1.OntarioIconWheelchair, typeof i1.OntarioIconWifi, typeof i1.OntarioIconYoutube, typeof i1.OntarioInput, typeof i1.OntarioLanguageToggle, typeof i1.OntarioLoadingIndicator, typeof i1.OntarioPageAlert, typeof i1.OntarioRadioButtons, typeof i1.OntarioStepIndicator, typeof i1.OntarioTable, typeof i1.OntarioTextarea], never, [typeof i1.OntarioAccordion, typeof i1.OntarioAside, typeof i1.OntarioBackToTop, typeof i1.OntarioBadge, typeof i1.OntarioBlockquote, typeof i1.OntarioButton, typeof i1.OntarioCallout, typeof i1.OntarioCard, typeof i1.OntarioCardCollection, typeof i1.OntarioCheckboxes, typeof i1.OntarioCriticalAlert, typeof i1.OntarioDateInput, typeof i1.OntarioDropdownList, typeof i1.OntarioFieldset, typeof i1.OntarioFooter, typeof i1.OntarioHeader, typeof i1.OntarioHintExpander, typeof i1.OntarioHintText, typeof i1.OntarioIconAccessibility, typeof i1.OntarioIconAccount, typeof i1.OntarioIconAdd, typeof i1.OntarioIconAddAlt, typeof i1.OntarioIconAlertError, typeof i1.OntarioIconAlertInformation, typeof i1.OntarioIconAlertSuccess, typeof i1.OntarioIconAlertWarning, typeof i1.OntarioIconArrowUp, typeof i1.OntarioIconAttach, typeof i1.OntarioIconBookmarkOff, typeof i1.OntarioIconBookmarkOn, typeof i1.OntarioIconCalendar, typeof i1.OntarioIconCamera, typeof i1.OntarioIconChevronDown, typeof i1.OntarioIconChevronLeft, typeof i1.OntarioIconChevronRight, typeof i1.OntarioIconChevronUp, typeof i1.OntarioIconClock, typeof i1.OntarioIconClose, typeof i1.OntarioIconCloseHeader, typeof i1.OntarioIconCloud, typeof i1.OntarioIconCollapse, typeof i1.OntarioIconCreditCard, typeof i1.OntarioIconCriticalAlertWarning, typeof i1.OntarioIconDelete, typeof i1.OntarioIconDocument, typeof i1.OntarioIconDownload, typeof i1.OntarioIconDropdownArrow, typeof i1.OntarioIconEdit, typeof i1.OntarioIconEmail, typeof i1.OntarioIconExpand, typeof i1.OntarioIconExport, typeof i1.OntarioIconFacebook, typeof i1.OntarioIconFacebookAlt, typeof i1.OntarioIconFavouriteOff, typeof i1.OntarioIconFavouriteOn, typeof i1.OntarioIconFilter, typeof i1.OntarioIconFlickr, typeof i1.OntarioIconGrid, typeof i1.OntarioIconHelp, typeof i1.OntarioIconInstagram, typeof i1.OntarioIconInteracEn, typeof i1.OntarioIconInteracEnAlt, typeof i1.OntarioIconInteracFr, typeof i1.OntarioIconInteracFrAlt, typeof i1.OntarioIconLinkedin, typeof i1.OntarioIconLinkedinAlt, typeof i1.OntarioIconList, typeof i1.OntarioIconLiveChat, typeof i1.OntarioIconLocationOff, typeof i1.OntarioIconLocationOn, typeof i1.OntarioIconLockOff, typeof i1.OntarioIconLockOn, typeof i1.OntarioIconMap, typeof i1.OntarioIconMastercard, typeof i1.OntarioIconMastercardAlt, typeof i1.OntarioIconMediaFastForward, typeof i1.OntarioIconMediaFastRewind, typeof i1.OntarioIconMediaPause, typeof i1.OntarioIconMediaPlay, typeof i1.OntarioIconMediaStop, typeof i1.OntarioIconMenu, typeof i1.OntarioIconMenuHeader, typeof i1.OntarioIconMicrophoneOff, typeof i1.OntarioIconMicrophoneOn, typeof i1.OntarioIconMoreVertical, typeof i1.OntarioIconNewWindow, typeof i1.OntarioIconNext, typeof i1.OntarioIconNotification, typeof i1.OntarioIconPasswordHide, typeof i1.OntarioIconPasswordShow, typeof i1.OntarioIconPhone, typeof i1.OntarioIconPhoto, typeof i1.OntarioIconPinLocationOff, typeof i1.OntarioIconPinLocationOn, typeof i1.OntarioIconPrevious, typeof i1.OntarioIconPrint, typeof i1.OntarioIconRemove, typeof i1.OntarioIconRemoveAlt, typeof i1.OntarioIconReplay, typeof i1.OntarioIconRssFeed, typeof i1.OntarioIconSave, typeof i1.OntarioIconSearch, typeof i1.OntarioIconSearchWhite, typeof i1.OntarioIconSentiment1, typeof i1.OntarioIconSentiment2, typeof i1.OntarioIconSentiment3, typeof i1.OntarioIconSentiment4, typeof i1.OntarioIconSentiment5, typeof i1.OntarioIconSettings, typeof i1.OntarioIconShare, typeof i1.OntarioIconSort, typeof i1.OntarioIconTag, typeof i1.OntarioIconTextMessage, typeof i1.OntarioIconTimer, typeof i1.OntarioIconTransportBicycle, typeof i1.OntarioIconTransportBus, typeof i1.OntarioIconTransportCar, typeof i1.OntarioIconTransportWalk, typeof i1.OntarioIconTty, typeof i1.OntarioIconTwitter, typeof i1.OntarioIconTwitterAlt, typeof i1.OntarioIconUpload, typeof i1.OntarioIconVideo, typeof i1.OntarioIconVisa, typeof i1.OntarioIconVoteDislike, typeof i1.OntarioIconVoteLike, typeof i1.OntarioIconVpnKey, typeof i1.OntarioIconWheelchair, typeof i1.OntarioIconWifi, typeof i1.OntarioIconYoutube, typeof i1.OntarioInput, typeof i1.OntarioLanguageToggle, typeof i1.OntarioLoadingIndicator, typeof i1.OntarioPageAlert, typeof i1.OntarioRadioButtons, typeof i1.OntarioStepIndicator, typeof i1.OntarioTable, typeof i1.OntarioTextarea]>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentLibraryModule, [typeof i1.OntarioAccordion, typeof i1.OntarioAside, typeof i1.OntarioBackToTop, typeof i1.OntarioBadge, typeof i1.OntarioBlockquote, typeof i1.OntarioButton, typeof i1.OntarioCallout, typeof i1.OntarioCard, typeof i1.OntarioCardCollection, typeof i1.OntarioCheckboxes, typeof i1.OntarioCriticalAlert, typeof i1.OntarioDateInput, typeof i1.OntarioDropdownList, typeof i1.OntarioFieldset, typeof i1.OntarioFooter, typeof i1.OntarioHeader, typeof i1.OntarioHintExpander, typeof i1.OntarioHintText, typeof i1.OntarioIconAccessibility, typeof i1.OntarioIconAccount, typeof i1.OntarioIconAdd, typeof i1.OntarioIconAddAlt, typeof i1.OntarioIconAlertError, typeof i1.OntarioIconAlertInformation, typeof i1.OntarioIconAlertSuccess, typeof i1.OntarioIconAlertWarning, typeof i1.OntarioIconArrowUp, typeof i1.OntarioIconAttach, typeof i1.OntarioIconBookmarkOff, typeof i1.OntarioIconBookmarkOn, typeof i1.OntarioIconCalendar, typeof i1.OntarioIconCamera, typeof i1.OntarioIconChevronDown, typeof i1.OntarioIconChevronLeft, typeof i1.OntarioIconChevronRight, typeof i1.OntarioIconChevronUp, typeof i1.OntarioIconClock, typeof i1.OntarioIconClose, typeof i1.OntarioIconCloseHeader, typeof i1.OntarioIconCloud, typeof i1.OntarioIconCollapse, typeof i1.OntarioIconCreditCard, typeof i1.OntarioIconCriticalAlertWarning, typeof i1.OntarioIconDelete, typeof i1.OntarioIconDocument, typeof i1.OntarioIconDownload, typeof i1.OntarioIconDropdownArrow, typeof i1.OntarioIconEdit, typeof i1.OntarioIconEmail, typeof i1.OntarioIconExpand, typeof i1.OntarioIconExport, typeof i1.OntarioIconFacebook, typeof i1.OntarioIconFacebookAlt, typeof i1.OntarioIconFavouriteOff, typeof i1.OntarioIconFavouriteOn, typeof i1.OntarioIconFilter, typeof i1.OntarioIconFlickr, typeof i1.OntarioIconGrid, typeof i1.OntarioIconHelp, typeof i1.OntarioIconInstagram, typeof i1.OntarioIconInteracEn, typeof i1.OntarioIconInteracEnAlt, typeof i1.OntarioIconInteracFr, typeof i1.OntarioIconInteracFrAlt, typeof i1.OntarioIconLinkedin, typeof i1.OntarioIconLinkedinAlt, typeof i1.OntarioIconList, typeof i1.OntarioIconLiveChat, typeof i1.OntarioIconLocationOff, typeof i1.OntarioIconLocationOn, typeof i1.OntarioIconLockOff, typeof i1.OntarioIconLockOn, typeof i1.OntarioIconMap, typeof i1.OntarioIconMastercard, typeof i1.OntarioIconMastercardAlt, typeof i1.OntarioIconMediaFastForward, typeof i1.OntarioIconMediaFastRewind, typeof i1.OntarioIconMediaPause, typeof i1.OntarioIconMediaPlay, typeof i1.OntarioIconMediaStop, typeof i1.OntarioIconMenu, typeof i1.OntarioIconMenuHeader, typeof i1.OntarioIconMicrophoneOff, typeof i1.OntarioIconMicrophoneOn, typeof i1.OntarioIconMoreVertical, typeof i1.OntarioIconNewWindow, typeof i1.OntarioIconNext, typeof i1.OntarioIconNotification, typeof i1.OntarioIconPasswordHide, typeof i1.OntarioIconPasswordShow, typeof i1.OntarioIconPhone, typeof i1.OntarioIconPhoto, typeof i1.OntarioIconPinLocationOff, typeof i1.OntarioIconPinLocationOn, typeof i1.OntarioIconPrevious, typeof i1.OntarioIconPrint, typeof i1.OntarioIconRemove, typeof i1.OntarioIconRemoveAlt, typeof i1.OntarioIconReplay, typeof i1.OntarioIconRssFeed, typeof i1.OntarioIconSave, typeof i1.OntarioIconSearch, typeof i1.OntarioIconSearchWhite, typeof i1.OntarioIconSentiment1, typeof i1.OntarioIconSentiment2, typeof i1.OntarioIconSentiment3, typeof i1.OntarioIconSentiment4, typeof i1.OntarioIconSentiment5, typeof i1.OntarioIconSettings, typeof i1.OntarioIconShare, typeof i1.OntarioIconSort, typeof i1.OntarioIconTag, typeof i1.OntarioIconTextMessage, typeof i1.OntarioIconTimer, typeof i1.OntarioIconTransportBicycle, typeof i1.OntarioIconTransportBus, typeof i1.OntarioIconTransportCar, typeof i1.OntarioIconTransportWalk, typeof i1.OntarioIconTty, typeof i1.OntarioIconTwitter, typeof i1.OntarioIconTwitterAlt, typeof i1.OntarioIconUpload, typeof i1.OntarioIconVideo, typeof i1.OntarioIconVisa, typeof i1.OntarioIconVoteDislike, typeof i1.OntarioIconVoteLike, typeof i1.OntarioIconVpnKey, typeof i1.OntarioIconWheelchair, typeof i1.OntarioIconWifi, typeof i1.OntarioIconYoutube, typeof i1.OntarioInput, typeof i1.OntarioLanguageToggle, typeof i1.OntarioLoadingIndicator, typeof i1.OntarioPageAlert, typeof i1.OntarioRadioButtons, typeof i1.OntarioSearchBox, typeof i1.OntarioStepIndicator, typeof i1.OntarioTable, typeof i1.OntarioTextarea], never, [typeof i1.OntarioAccordion, typeof i1.OntarioAside, typeof i1.OntarioBackToTop, typeof i1.OntarioBadge, typeof i1.OntarioBlockquote, typeof i1.OntarioButton, typeof i1.OntarioCallout, typeof i1.OntarioCard, typeof i1.OntarioCardCollection, typeof i1.OntarioCheckboxes, typeof i1.OntarioCriticalAlert, typeof i1.OntarioDateInput, typeof i1.OntarioDropdownList, typeof i1.OntarioFieldset, typeof i1.OntarioFooter, typeof i1.OntarioHeader, typeof i1.OntarioHintExpander, typeof i1.OntarioHintText, typeof i1.OntarioIconAccessibility, typeof i1.OntarioIconAccount, typeof i1.OntarioIconAdd, typeof i1.OntarioIconAddAlt, typeof i1.OntarioIconAlertError, typeof i1.OntarioIconAlertInformation, typeof i1.OntarioIconAlertSuccess, typeof i1.OntarioIconAlertWarning, typeof i1.OntarioIconArrowUp, typeof i1.OntarioIconAttach, typeof i1.OntarioIconBookmarkOff, typeof i1.OntarioIconBookmarkOn, typeof i1.OntarioIconCalendar, typeof i1.OntarioIconCamera, typeof i1.OntarioIconChevronDown, typeof i1.OntarioIconChevronLeft, typeof i1.OntarioIconChevronRight, typeof i1.OntarioIconChevronUp, typeof i1.OntarioIconClock, typeof i1.OntarioIconClose, typeof i1.OntarioIconCloseHeader, typeof i1.OntarioIconCloud, typeof i1.OntarioIconCollapse, typeof i1.OntarioIconCreditCard, typeof i1.OntarioIconCriticalAlertWarning, typeof i1.OntarioIconDelete, typeof i1.OntarioIconDocument, typeof i1.OntarioIconDownload, typeof i1.OntarioIconDropdownArrow, typeof i1.OntarioIconEdit, typeof i1.OntarioIconEmail, typeof i1.OntarioIconExpand, typeof i1.OntarioIconExport, typeof i1.OntarioIconFacebook, typeof i1.OntarioIconFacebookAlt, typeof i1.OntarioIconFavouriteOff, typeof i1.OntarioIconFavouriteOn, typeof i1.OntarioIconFilter, typeof i1.OntarioIconFlickr, typeof i1.OntarioIconGrid, typeof i1.OntarioIconHelp, typeof i1.OntarioIconInstagram, typeof i1.OntarioIconInteracEn, typeof i1.OntarioIconInteracEnAlt, typeof i1.OntarioIconInteracFr, typeof i1.OntarioIconInteracFrAlt, typeof i1.OntarioIconLinkedin, typeof i1.OntarioIconLinkedinAlt, typeof i1.OntarioIconList, typeof i1.OntarioIconLiveChat, typeof i1.OntarioIconLocationOff, typeof i1.OntarioIconLocationOn, typeof i1.OntarioIconLockOff, typeof i1.OntarioIconLockOn, typeof i1.OntarioIconMap, typeof i1.OntarioIconMastercard, typeof i1.OntarioIconMastercardAlt, typeof i1.OntarioIconMediaFastForward, typeof i1.OntarioIconMediaFastRewind, typeof i1.OntarioIconMediaPause, typeof i1.OntarioIconMediaPlay, typeof i1.OntarioIconMediaStop, typeof i1.OntarioIconMenu, typeof i1.OntarioIconMenuHeader, typeof i1.OntarioIconMicrophoneOff, typeof i1.OntarioIconMicrophoneOn, typeof i1.OntarioIconMoreVertical, typeof i1.OntarioIconNewWindow, typeof i1.OntarioIconNext, typeof i1.OntarioIconNotification, typeof i1.OntarioIconPasswordHide, typeof i1.OntarioIconPasswordShow, typeof i1.OntarioIconPhone, typeof i1.OntarioIconPhoto, typeof i1.OntarioIconPinLocationOff, typeof i1.OntarioIconPinLocationOn, typeof i1.OntarioIconPrevious, typeof i1.OntarioIconPrint, typeof i1.OntarioIconRemove, typeof i1.OntarioIconRemoveAlt, typeof i1.OntarioIconReplay, typeof i1.OntarioIconRssFeed, typeof i1.OntarioIconSave, typeof i1.OntarioIconSearch, typeof i1.OntarioIconSearchWhite, typeof i1.OntarioIconSentiment1, typeof i1.OntarioIconSentiment2, typeof i1.OntarioIconSentiment3, typeof i1.OntarioIconSentiment4, typeof i1.OntarioIconSentiment5, typeof i1.OntarioIconSettings, typeof i1.OntarioIconShare, typeof i1.OntarioIconSort, typeof i1.OntarioIconTag, typeof i1.OntarioIconTextMessage, typeof i1.OntarioIconTimer, typeof i1.OntarioIconTransportBicycle, typeof i1.OntarioIconTransportBus, typeof i1.OntarioIconTransportCar, typeof i1.OntarioIconTransportWalk, typeof i1.OntarioIconTty, typeof i1.OntarioIconTwitter, typeof i1.OntarioIconTwitterAlt, typeof i1.OntarioIconUpload, typeof i1.OntarioIconVideo, typeof i1.OntarioIconVisa, typeof i1.OntarioIconVoteDislike, typeof i1.OntarioIconVoteLike, typeof i1.OntarioIconVpnKey, typeof i1.OntarioIconWheelchair, typeof i1.OntarioIconWifi, typeof i1.OntarioIconYoutube, typeof i1.OntarioInput, typeof i1.OntarioLanguageToggle, typeof i1.OntarioLoadingIndicator, typeof i1.OntarioPageAlert, typeof i1.OntarioRadioButtons, typeof i1.OntarioSearchBox, typeof i1.OntarioStepIndicator, typeof i1.OntarioTable, typeof i1.OntarioTextarea]>;
|
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<ComponentLibraryModule>;
|
|
7
7
|
}
|
|
@@ -7,9 +7,13 @@ import type { InputFocusBlurEvent as IOntarioDropdownListInputFocusBlurEvent } f
|
|
|
7
7
|
import type { InputInputEvent as IOntarioInputInputInputEvent } from '@ongov/ontario-design-system-component-library';
|
|
8
8
|
import type { InputInteractionEvent as IOntarioInputInputInteractionEvent } from '@ongov/ontario-design-system-component-library';
|
|
9
9
|
import type { InputFocusBlurEvent as IOntarioInputInputFocusBlurEvent } from '@ongov/ontario-design-system-component-library';
|
|
10
|
+
import type { Language as IOntarioLanguageToggleLanguage } from '@ongov/ontario-design-system-component-library';
|
|
10
11
|
import type { HeaderLanguageToggleEventDetails as IOntarioLanguageToggleHeaderLanguageToggleEventDetails } from '@ongov/ontario-design-system-component-library';
|
|
11
12
|
import type { RadioAndCheckboxChangeEvent as IOntarioRadioButtonsRadioAndCheckboxChangeEvent } from '@ongov/ontario-design-system-component-library';
|
|
12
13
|
import type { InputFocusBlurEvent as IOntarioRadioButtonsInputFocusBlurEvent } from '@ongov/ontario-design-system-component-library';
|
|
14
|
+
import type { InputInputEvent as IOntarioSearchBoxInputInputEvent } from '@ongov/ontario-design-system-component-library';
|
|
15
|
+
import type { InputInteractionEvent as IOntarioSearchBoxInputInteractionEvent } from '@ongov/ontario-design-system-component-library';
|
|
16
|
+
import type { InputFocusBlurEvent as IOntarioSearchBoxInputFocusBlurEvent } from '@ongov/ontario-design-system-component-library';
|
|
13
17
|
import type { InputInputEvent as IOntarioTextareaInputInputEvent } from '@ongov/ontario-design-system-component-library';
|
|
14
18
|
import type { InputInteractionEvent as IOntarioTextareaInputInteractionEvent } from '@ongov/ontario-design-system-component-library';
|
|
15
19
|
import type { InputFocusBlurEvent as IOntarioTextareaInputFocusBlurEvent } from '@ongov/ontario-design-system-component-library';
|
|
@@ -82,7 +86,7 @@ export declare class OntarioCard {
|
|
|
82
86
|
protected el: HTMLElement;
|
|
83
87
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
84
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<OntarioCard, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OntarioCard, "ontario-card", never, { "ariaLabelText": "ariaLabelText"; "cardLink": "cardLink"; "
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OntarioCard, "ontario-card", never, { "ariaLabelText": "ariaLabelText"; "cardLink": "cardLink"; "description": "description"; "headerColour": "headerColour"; "horizontalImagePositionType": "horizontalImagePositionType"; "horizontalImageSizeType": "horizontalImageSizeType"; "image": "image"; "label": "label"; "layout": "layout"; }, {}, never, ["*"], false, never>;
|
|
86
90
|
}
|
|
87
91
|
export declare interface OntarioCard extends Components.OntarioCard {
|
|
88
92
|
}
|
|
@@ -1294,11 +1298,15 @@ export declare class OntarioLanguageToggle {
|
|
|
1294
1298
|
}
|
|
1295
1299
|
export declare interface OntarioLanguageToggle extends Components.OntarioLanguageToggle {
|
|
1296
1300
|
/**
|
|
1297
|
-
*
|
|
1301
|
+
* Event that fires during the setAppLanguageHandler() method.
|
|
1302
|
+
|
|
1303
|
+
The event contains the current language (after language logic has already occurred).
|
|
1298
1304
|
*/
|
|
1299
|
-
setAppLanguage: EventEmitter<CustomEvent<
|
|
1305
|
+
setAppLanguage: EventEmitter<CustomEvent<IOntarioLanguageToggleLanguage>>;
|
|
1300
1306
|
/**
|
|
1301
|
-
*
|
|
1307
|
+
* Event that fires when the language toggle is pressed/clicked.
|
|
1308
|
+
|
|
1309
|
+
The event contains the oldLanguage along with the newLanguage.
|
|
1302
1310
|
*/
|
|
1303
1311
|
headerLanguageToggled: EventEmitter<CustomEvent<IOntarioLanguageToggleHeaderLanguageToggleEventDetails>>;
|
|
1304
1312
|
}
|
|
@@ -1347,6 +1355,41 @@ export declare interface OntarioRadioButtons extends Components.OntarioRadioButt
|
|
|
1347
1355
|
errorMessage: string;
|
|
1348
1356
|
}>>;
|
|
1349
1357
|
}
|
|
1358
|
+
export declare class OntarioSearchBox {
|
|
1359
|
+
protected z: NgZone;
|
|
1360
|
+
protected el: HTMLElement;
|
|
1361
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1362
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OntarioSearchBox, never>;
|
|
1363
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OntarioSearchBox, "ontario-search-box", never, { "caption": "caption"; "customOnBlur": "customOnBlur"; "customOnChange": "customOnChange"; "customOnFocus": "customOnFocus"; "customOnInput": "customOnInput"; "elementId": "elementId"; "hintText": "hintText"; "language": "language"; "performSearch": "performSearch"; "required": "required"; "value": "value"; }, {}, never, ["*"], false, never>;
|
|
1364
|
+
}
|
|
1365
|
+
export declare interface OntarioSearchBox extends Components.OntarioSearchBox {
|
|
1366
|
+
/**
|
|
1367
|
+
* Emitted when the search is submitted.
|
|
1368
|
+
Below is an example on how to hook into the event to get the event details. @example <script>
|
|
1369
|
+
document.getElementById('ontario-search-box').addEventListener('searchOnSubmit', (event) => {
|
|
1370
|
+
const searchValue = event.detail;
|
|
1371
|
+
console.log('Search submitted with value:', searchValue);
|
|
1372
|
+
};
|
|
1373
|
+
</script>
|
|
1374
|
+
*/
|
|
1375
|
+
searchOnSubmit: EventEmitter<CustomEvent<string>>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Emitted when a input occurs when an input has been changed.
|
|
1378
|
+
*/
|
|
1379
|
+
inputOnInput: EventEmitter<CustomEvent<IOntarioSearchBoxInputInputEvent>>;
|
|
1380
|
+
/**
|
|
1381
|
+
* Emitted when a keyboard input or mouse event occurs when an input has been changed.
|
|
1382
|
+
*/
|
|
1383
|
+
inputOnChange: EventEmitter<CustomEvent<IOntarioSearchBoxInputInteractionEvent>>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Emitted when a keyboard input event occurs when an input has lost focus.
|
|
1386
|
+
*/
|
|
1387
|
+
inputOnBlur: EventEmitter<CustomEvent<IOntarioSearchBoxInputFocusBlurEvent>>;
|
|
1388
|
+
/**
|
|
1389
|
+
* Emitted when a keyboard input event occurs when an input has gained focus.
|
|
1390
|
+
*/
|
|
1391
|
+
inputOnFocus: EventEmitter<CustomEvent<IOntarioSearchBoxInputFocusBlurEvent>>;
|
|
1392
|
+
}
|
|
1350
1393
|
export declare class OntarioStepIndicator {
|
|
1351
1394
|
protected z: NgZone;
|
|
1352
1395
|
protected el: HTMLElement;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.OntarioAccordion | typeof d.OntarioAside | typeof d.OntarioBackToTop | typeof d.OntarioBadge | typeof d.OntarioBlockquote | typeof d.OntarioButton | typeof d.OntarioCallout | typeof d.OntarioCard | typeof d.OntarioCardCollection | typeof d.OntarioCheckboxes | typeof d.OntarioCriticalAlert | typeof d.OntarioDateInput | typeof d.OntarioDropdownList | typeof d.OntarioFieldset | typeof d.OntarioFooter | typeof d.OntarioHeader | typeof d.OntarioHintExpander | typeof d.OntarioHintText | typeof d.OntarioIconAccessibility | typeof d.OntarioIconAccount | typeof d.OntarioIconAdd | typeof d.OntarioIconAddAlt | typeof d.OntarioIconAlertError | typeof d.OntarioIconAlertInformation | typeof d.OntarioIconAlertSuccess | typeof d.OntarioIconAlertWarning | typeof d.OntarioIconArrowUp | typeof d.OntarioIconAttach | typeof d.OntarioIconBookmarkOff | typeof d.OntarioIconBookmarkOn | typeof d.OntarioIconCalendar | typeof d.OntarioIconCamera | typeof d.OntarioIconChevronDown | typeof d.OntarioIconChevronLeft | typeof d.OntarioIconChevronRight | typeof d.OntarioIconChevronUp | typeof d.OntarioIconClock | typeof d.OntarioIconClose | typeof d.OntarioIconCloseHeader | typeof d.OntarioIconCloud | typeof d.OntarioIconCollapse | typeof d.OntarioIconCreditCard | typeof d.OntarioIconCriticalAlertWarning | typeof d.OntarioIconDelete | typeof d.OntarioIconDocument | typeof d.OntarioIconDownload | typeof d.OntarioIconDropdownArrow | typeof d.OntarioIconEdit | typeof d.OntarioIconEmail | typeof d.OntarioIconExpand | typeof d.OntarioIconExport | typeof d.OntarioIconFacebook | typeof d.OntarioIconFacebookAlt | typeof d.OntarioIconFavouriteOff | typeof d.OntarioIconFavouriteOn | typeof d.OntarioIconFilter | typeof d.OntarioIconFlickr | typeof d.OntarioIconGrid | typeof d.OntarioIconHelp | typeof d.OntarioIconInstagram | typeof d.OntarioIconInteracEn | typeof d.OntarioIconInteracEnAlt | typeof d.OntarioIconInteracFr | typeof d.OntarioIconInteracFrAlt | typeof d.OntarioIconLinkedin | typeof d.OntarioIconLinkedinAlt | typeof d.OntarioIconList | typeof d.OntarioIconLiveChat | typeof d.OntarioIconLocationOff | typeof d.OntarioIconLocationOn | typeof d.OntarioIconLockOff | typeof d.OntarioIconLockOn | typeof d.OntarioIconMap | typeof d.OntarioIconMastercard | typeof d.OntarioIconMastercardAlt | typeof d.OntarioIconMediaFastForward | typeof d.OntarioIconMediaFastRewind | typeof d.OntarioIconMediaPause | typeof d.OntarioIconMediaPlay | typeof d.OntarioIconMediaStop | typeof d.OntarioIconMenu | typeof d.OntarioIconMenuHeader | typeof d.OntarioIconMicrophoneOff | typeof d.OntarioIconMicrophoneOn | typeof d.OntarioIconMoreVertical | typeof d.OntarioIconNewWindow | typeof d.OntarioIconNext | typeof d.OntarioIconNotification | typeof d.OntarioIconPasswordHide | typeof d.OntarioIconPasswordShow | typeof d.OntarioIconPhone | typeof d.OntarioIconPhoto | typeof d.OntarioIconPinLocationOff | typeof d.OntarioIconPinLocationOn | typeof d.OntarioIconPrevious | typeof d.OntarioIconPrint | typeof d.OntarioIconRemove | typeof d.OntarioIconRemoveAlt | typeof d.OntarioIconReplay | typeof d.OntarioIconRssFeed | typeof d.OntarioIconSave | typeof d.OntarioIconSearch | typeof d.OntarioIconSearchWhite | typeof d.OntarioIconSentiment1 | typeof d.OntarioIconSentiment2 | typeof d.OntarioIconSentiment3 | typeof d.OntarioIconSentiment4 | typeof d.OntarioIconSentiment5 | typeof d.OntarioIconSettings | typeof d.OntarioIconShare | typeof d.OntarioIconSort | typeof d.OntarioIconTag | typeof d.OntarioIconTextMessage | typeof d.OntarioIconTimer | typeof d.OntarioIconTransportBicycle | typeof d.OntarioIconTransportBus | typeof d.OntarioIconTransportCar | typeof d.OntarioIconTransportWalk | typeof d.OntarioIconTty | typeof d.OntarioIconTwitter | typeof d.OntarioIconTwitterAlt | typeof d.OntarioIconUpload | typeof d.OntarioIconVideo | typeof d.OntarioIconVisa | typeof d.OntarioIconVoteDislike | typeof d.OntarioIconVoteLike | typeof d.OntarioIconVpnKey | typeof d.OntarioIconWheelchair | typeof d.OntarioIconWifi | typeof d.OntarioIconYoutube | typeof d.OntarioInput | typeof d.OntarioLanguageToggle | typeof d.OntarioLoadingIndicator | typeof d.OntarioPageAlert | typeof d.OntarioRadioButtons | typeof d.OntarioStepIndicator | typeof d.OntarioTable | typeof d.OntarioTextarea)[];
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.OntarioAccordion | typeof d.OntarioAside | typeof d.OntarioBackToTop | typeof d.OntarioBadge | typeof d.OntarioBlockquote | typeof d.OntarioButton | typeof d.OntarioCallout | typeof d.OntarioCard | typeof d.OntarioCardCollection | typeof d.OntarioCheckboxes | typeof d.OntarioCriticalAlert | typeof d.OntarioDateInput | typeof d.OntarioDropdownList | typeof d.OntarioFieldset | typeof d.OntarioFooter | typeof d.OntarioHeader | typeof d.OntarioHintExpander | typeof d.OntarioHintText | typeof d.OntarioIconAccessibility | typeof d.OntarioIconAccount | typeof d.OntarioIconAdd | typeof d.OntarioIconAddAlt | typeof d.OntarioIconAlertError | typeof d.OntarioIconAlertInformation | typeof d.OntarioIconAlertSuccess | typeof d.OntarioIconAlertWarning | typeof d.OntarioIconArrowUp | typeof d.OntarioIconAttach | typeof d.OntarioIconBookmarkOff | typeof d.OntarioIconBookmarkOn | typeof d.OntarioIconCalendar | typeof d.OntarioIconCamera | typeof d.OntarioIconChevronDown | typeof d.OntarioIconChevronLeft | typeof d.OntarioIconChevronRight | typeof d.OntarioIconChevronUp | typeof d.OntarioIconClock | typeof d.OntarioIconClose | typeof d.OntarioIconCloseHeader | typeof d.OntarioIconCloud | typeof d.OntarioIconCollapse | typeof d.OntarioIconCreditCard | typeof d.OntarioIconCriticalAlertWarning | typeof d.OntarioIconDelete | typeof d.OntarioIconDocument | typeof d.OntarioIconDownload | typeof d.OntarioIconDropdownArrow | typeof d.OntarioIconEdit | typeof d.OntarioIconEmail | typeof d.OntarioIconExpand | typeof d.OntarioIconExport | typeof d.OntarioIconFacebook | typeof d.OntarioIconFacebookAlt | typeof d.OntarioIconFavouriteOff | typeof d.OntarioIconFavouriteOn | typeof d.OntarioIconFilter | typeof d.OntarioIconFlickr | typeof d.OntarioIconGrid | typeof d.OntarioIconHelp | typeof d.OntarioIconInstagram | typeof d.OntarioIconInteracEn | typeof d.OntarioIconInteracEnAlt | typeof d.OntarioIconInteracFr | typeof d.OntarioIconInteracFrAlt | typeof d.OntarioIconLinkedin | typeof d.OntarioIconLinkedinAlt | typeof d.OntarioIconList | typeof d.OntarioIconLiveChat | typeof d.OntarioIconLocationOff | typeof d.OntarioIconLocationOn | typeof d.OntarioIconLockOff | typeof d.OntarioIconLockOn | typeof d.OntarioIconMap | typeof d.OntarioIconMastercard | typeof d.OntarioIconMastercardAlt | typeof d.OntarioIconMediaFastForward | typeof d.OntarioIconMediaFastRewind | typeof d.OntarioIconMediaPause | typeof d.OntarioIconMediaPlay | typeof d.OntarioIconMediaStop | typeof d.OntarioIconMenu | typeof d.OntarioIconMenuHeader | typeof d.OntarioIconMicrophoneOff | typeof d.OntarioIconMicrophoneOn | typeof d.OntarioIconMoreVertical | typeof d.OntarioIconNewWindow | typeof d.OntarioIconNext | typeof d.OntarioIconNotification | typeof d.OntarioIconPasswordHide | typeof d.OntarioIconPasswordShow | typeof d.OntarioIconPhone | typeof d.OntarioIconPhoto | typeof d.OntarioIconPinLocationOff | typeof d.OntarioIconPinLocationOn | typeof d.OntarioIconPrevious | typeof d.OntarioIconPrint | typeof d.OntarioIconRemove | typeof d.OntarioIconRemoveAlt | typeof d.OntarioIconReplay | typeof d.OntarioIconRssFeed | typeof d.OntarioIconSave | typeof d.OntarioIconSearch | typeof d.OntarioIconSearchWhite | typeof d.OntarioIconSentiment1 | typeof d.OntarioIconSentiment2 | typeof d.OntarioIconSentiment3 | typeof d.OntarioIconSentiment4 | typeof d.OntarioIconSentiment5 | typeof d.OntarioIconSettings | typeof d.OntarioIconShare | typeof d.OntarioIconSort | typeof d.OntarioIconTag | typeof d.OntarioIconTextMessage | typeof d.OntarioIconTimer | typeof d.OntarioIconTransportBicycle | typeof d.OntarioIconTransportBus | typeof d.OntarioIconTransportCar | typeof d.OntarioIconTransportWalk | typeof d.OntarioIconTty | typeof d.OntarioIconTwitter | typeof d.OntarioIconTwitterAlt | typeof d.OntarioIconUpload | typeof d.OntarioIconVideo | typeof d.OntarioIconVisa | typeof d.OntarioIconVoteDislike | typeof d.OntarioIconVoteLike | typeof d.OntarioIconVpnKey | typeof d.OntarioIconWheelchair | typeof d.OntarioIconWifi | typeof d.OntarioIconYoutube | typeof d.OntarioInput | typeof d.OntarioLanguageToggle | typeof d.OntarioLoadingIndicator | typeof d.OntarioPageAlert | typeof d.OntarioRadioButtons | typeof d.OntarioSearchBox | typeof d.OntarioStepIndicator | typeof d.OntarioTable | typeof d.OntarioTextarea)[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ongov/ontario-design-system-component-library-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.1",
|
|
4
4
|
"description": "Angular specific wrapper for ontario-design-system-component-library",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@angular/platform-browser": "^15.2.9",
|
|
43
43
|
"@angular/platform-browser-dynamic": "^15.2.9",
|
|
44
44
|
"@angular/router": "^15.2.9",
|
|
45
|
-
"@ongov/ontario-design-system-component-library": "
|
|
46
|
-
"@ongov/ontario-design-system-global-styles": "4.3.
|
|
45
|
+
"@ongov/ontario-design-system-component-library": "5.0.0-alpha.1",
|
|
46
|
+
"@ongov/ontario-design-system-global-styles": "4.3.1-alpha.1",
|
|
47
47
|
"copyfiles": "^2.4.1",
|
|
48
48
|
"rxjs": "~7.8.0",
|
|
49
49
|
"tslib": "^2.3.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"ng-packagr": "^15.2.2",
|
|
62
62
|
"typescript": "~4.9.4"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "2941db5cb66d3a161e359f36543b489922853b02"
|
|
65
65
|
}
|
|
@@ -150,13 +150,13 @@ export declare interface OntarioCallout extends Components.OntarioCallout {}
|
|
|
150
150
|
inputs: [
|
|
151
151
|
'ariaLabelText',
|
|
152
152
|
'cardLink',
|
|
153
|
-
'cardType',
|
|
154
153
|
'description',
|
|
155
|
-
'
|
|
154
|
+
'headerColour',
|
|
156
155
|
'horizontalImagePositionType',
|
|
157
156
|
'horizontalImageSizeType',
|
|
158
157
|
'image',
|
|
159
158
|
'label',
|
|
159
|
+
'layout',
|
|
160
160
|
],
|
|
161
161
|
})
|
|
162
162
|
@Component({
|
|
@@ -167,13 +167,13 @@ export declare interface OntarioCallout extends Components.OntarioCallout {}
|
|
|
167
167
|
inputs: [
|
|
168
168
|
'ariaLabelText',
|
|
169
169
|
'cardLink',
|
|
170
|
-
'cardType',
|
|
171
170
|
'description',
|
|
172
|
-
'
|
|
171
|
+
'headerColour',
|
|
173
172
|
'horizontalImagePositionType',
|
|
174
173
|
'horizontalImageSizeType',
|
|
175
174
|
'image',
|
|
176
175
|
'label',
|
|
176
|
+
'layout',
|
|
177
177
|
],
|
|
178
178
|
})
|
|
179
179
|
export class OntarioCard {
|
|
@@ -2910,16 +2910,21 @@ export class OntarioLanguageToggle {
|
|
|
2910
2910
|
}
|
|
2911
2911
|
}
|
|
2912
2912
|
|
|
2913
|
+
import type { Language as IOntarioLanguageToggleLanguage } from '@ongov/ontario-design-system-component-library';
|
|
2913
2914
|
import type { HeaderLanguageToggleEventDetails as IOntarioLanguageToggleHeaderLanguageToggleEventDetails } from '@ongov/ontario-design-system-component-library';
|
|
2914
2915
|
|
|
2915
2916
|
export declare interface OntarioLanguageToggle extends Components.OntarioLanguageToggle {
|
|
2916
2917
|
/**
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2918
|
+
* Event that fires during the setAppLanguageHandler() method.
|
|
2919
|
+
|
|
2920
|
+
The event contains the current language (after language logic has already occurred).
|
|
2921
|
+
*/
|
|
2922
|
+
setAppLanguage: EventEmitter<CustomEvent<IOntarioLanguageToggleLanguage>>;
|
|
2920
2923
|
/**
|
|
2921
|
-
|
|
2922
|
-
|
|
2924
|
+
* Event that fires when the language toggle is pressed/clicked.
|
|
2925
|
+
|
|
2926
|
+
The event contains the oldLanguage along with the newLanguage.
|
|
2927
|
+
*/
|
|
2923
2928
|
headerLanguageToggled: EventEmitter<CustomEvent<IOntarioLanguageToggleHeaderLanguageToggleEventDetails>>;
|
|
2924
2929
|
}
|
|
2925
2930
|
|
|
@@ -3028,6 +3033,82 @@ export declare interface OntarioRadioButtons extends Components.OntarioRadioButt
|
|
|
3028
3033
|
inputErrorOccurred: EventEmitter<CustomEvent<{ errorMessage: string }>>;
|
|
3029
3034
|
}
|
|
3030
3035
|
|
|
3036
|
+
@ProxyCmp({
|
|
3037
|
+
inputs: [
|
|
3038
|
+
'caption',
|
|
3039
|
+
'customOnBlur',
|
|
3040
|
+
'customOnChange',
|
|
3041
|
+
'customOnFocus',
|
|
3042
|
+
'customOnInput',
|
|
3043
|
+
'elementId',
|
|
3044
|
+
'hintText',
|
|
3045
|
+
'language',
|
|
3046
|
+
'performSearch',
|
|
3047
|
+
'required',
|
|
3048
|
+
'value',
|
|
3049
|
+
],
|
|
3050
|
+
})
|
|
3051
|
+
@Component({
|
|
3052
|
+
selector: 'ontario-search-box',
|
|
3053
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3054
|
+
template: '<ng-content></ng-content>',
|
|
3055
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3056
|
+
inputs: [
|
|
3057
|
+
'caption',
|
|
3058
|
+
'customOnBlur',
|
|
3059
|
+
'customOnChange',
|
|
3060
|
+
'customOnFocus',
|
|
3061
|
+
'customOnInput',
|
|
3062
|
+
'elementId',
|
|
3063
|
+
'hintText',
|
|
3064
|
+
'language',
|
|
3065
|
+
'performSearch',
|
|
3066
|
+
'required',
|
|
3067
|
+
'value',
|
|
3068
|
+
],
|
|
3069
|
+
})
|
|
3070
|
+
export class OntarioSearchBox {
|
|
3071
|
+
protected el: HTMLElement;
|
|
3072
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
3073
|
+
c.detach();
|
|
3074
|
+
this.el = r.nativeElement;
|
|
3075
|
+
proxyOutputs(this, this.el, ['searchOnSubmit', 'inputOnInput', 'inputOnChange', 'inputOnBlur', 'inputOnFocus']);
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
import type { InputInputEvent as IOntarioSearchBoxInputInputEvent } from '@ongov/ontario-design-system-component-library';
|
|
3080
|
+
import type { InputInteractionEvent as IOntarioSearchBoxInputInteractionEvent } from '@ongov/ontario-design-system-component-library';
|
|
3081
|
+
import type { InputFocusBlurEvent as IOntarioSearchBoxInputFocusBlurEvent } from '@ongov/ontario-design-system-component-library';
|
|
3082
|
+
|
|
3083
|
+
export declare interface OntarioSearchBox extends Components.OntarioSearchBox {
|
|
3084
|
+
/**
|
|
3085
|
+
* Emitted when the search is submitted.
|
|
3086
|
+
Below is an example on how to hook into the event to get the event details. @example <script>
|
|
3087
|
+
document.getElementById('ontario-search-box').addEventListener('searchOnSubmit', (event) => {
|
|
3088
|
+
const searchValue = event.detail;
|
|
3089
|
+
console.log('Search submitted with value:', searchValue);
|
|
3090
|
+
};
|
|
3091
|
+
</script>
|
|
3092
|
+
*/
|
|
3093
|
+
searchOnSubmit: EventEmitter<CustomEvent<string>>;
|
|
3094
|
+
/**
|
|
3095
|
+
* Emitted when a input occurs when an input has been changed.
|
|
3096
|
+
*/
|
|
3097
|
+
inputOnInput: EventEmitter<CustomEvent<IOntarioSearchBoxInputInputEvent>>;
|
|
3098
|
+
/**
|
|
3099
|
+
* Emitted when a keyboard input or mouse event occurs when an input has been changed.
|
|
3100
|
+
*/
|
|
3101
|
+
inputOnChange: EventEmitter<CustomEvent<IOntarioSearchBoxInputInteractionEvent>>;
|
|
3102
|
+
/**
|
|
3103
|
+
* Emitted when a keyboard input event occurs when an input has lost focus.
|
|
3104
|
+
*/
|
|
3105
|
+
inputOnBlur: EventEmitter<CustomEvent<IOntarioSearchBoxInputFocusBlurEvent>>;
|
|
3106
|
+
/**
|
|
3107
|
+
* Emitted when a keyboard input event occurs when an input has gained focus.
|
|
3108
|
+
*/
|
|
3109
|
+
inputOnFocus: EventEmitter<CustomEvent<IOntarioSearchBoxInputFocusBlurEvent>>;
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3031
3112
|
@ProxyCmp({
|
|
3032
3113
|
inputs: [
|
|
3033
3114
|
'backButtonUrl',
|