carbon-components-angular 5.67.0 → 5.68.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/checkbox/checkbox-group-host.d.ts +31 -0
- package/checkbox/checkbox-group.component.d.ts +67 -0
- package/checkbox/checkbox.component.d.ts +56 -4
- package/checkbox/checkbox.module.d.ts +5 -3
- package/checkbox/index.d.ts +2 -0
- package/docs/documentation/components/AILabelComponent.html +1 -1
- package/docs/documentation/components/Accordion.html +1 -1
- package/docs/documentation/components/AccordionItem.html +1 -1
- package/docs/documentation/components/ActionableNotification.html +1 -1
- package/docs/documentation/components/AlertModal.html +1 -1
- package/docs/documentation/components/BaseIconButton.html +1 -1
- package/docs/documentation/components/BaseNotification.html +1 -1
- package/docs/documentation/components/BaseTabHeader.html +1 -1
- package/docs/documentation/components/Breadcrumb.html +1 -1
- package/docs/documentation/components/BreadcrumbItemComponent.html +1 -1
- package/docs/documentation/components/ButtonSet.html +1 -1
- package/docs/documentation/components/Checkbox.html +767 -58
- package/docs/documentation/components/CheckboxGroup.html +1401 -0
- package/docs/documentation/components/ClickableTile.html +1 -1
- package/docs/documentation/components/CodeSnippet.html +1 -1
- package/docs/documentation/components/ComboBox.html +1 -1
- package/docs/documentation/components/ComboButtonComponent.html +1 -1
- package/docs/documentation/components/ContainedList.html +1 -1
- package/docs/documentation/components/ContainedListItem.html +1 -1
- package/docs/documentation/components/ContentSwitcher.html +1 -1
- package/docs/documentation/components/ContextMenuComponent.html +1 -1
- package/docs/documentation/components/ContextMenuDividerComponent.html +1 -1
- package/docs/documentation/components/ContextMenuGroupComponent.html +1 -1
- package/docs/documentation/components/ContextMenuItemComponent.html +1 -1
- package/docs/documentation/components/DatePicker.html +1 -1
- package/docs/documentation/components/DatePickerInput.html +1 -1
- package/docs/documentation/components/Dialog.html +1 -1
- package/docs/documentation/components/Documentation.html +1 -1
- package/docs/documentation/components/Dropdown.html +1 -1
- package/docs/documentation/components/DropdownList.html +1 -1
- package/docs/documentation/components/ExpandableTile.html +1 -1
- package/docs/documentation/components/FileComponent.html +1 -1
- package/docs/documentation/components/FileUploader.html +1 -1
- package/docs/documentation/components/Hamburger.html +1 -1
- package/docs/documentation/components/Header.html +1 -1
- package/docs/documentation/components/HeaderAction.html +1 -1
- package/docs/documentation/components/HeaderGlobal.html +1 -1
- package/docs/documentation/components/HeaderItem.html +1 -1
- package/docs/documentation/components/HeaderMenu.html +1 -1
- package/docs/documentation/components/HeaderNavigation.html +1 -1
- package/docs/documentation/components/IconButton.html +1 -1
- package/docs/documentation/components/InlineLoading.html +1 -1
- package/docs/documentation/components/Label.html +1 -1
- package/docs/documentation/components/ListColumn.html +1 -1
- package/docs/documentation/components/ListHeader.html +1 -1
- package/docs/documentation/components/ListRow.html +1 -1
- package/docs/documentation/components/Loading.html +1 -1
- package/docs/documentation/components/MenuButtonComponent.html +1 -1
- package/docs/documentation/components/Modal.html +1 -1
- package/docs/documentation/components/ModalFooter.html +1 -1
- package/docs/documentation/components/ModalHeader.html +1 -1
- package/docs/documentation/components/Notification.html +1 -1
- package/docs/documentation/components/NumberComponent.html +1 -1
- package/docs/documentation/components/OverflowMenu.html +1 -1
- package/docs/documentation/components/OverflowMenuCustomPane.html +1 -1
- package/docs/documentation/components/OverflowMenuOption.html +1 -1
- package/docs/documentation/components/OverflowMenuPane.html +1 -1
- package/docs/documentation/components/Overlay.html +1 -1
- package/docs/documentation/components/Pagination.html +1 -1
- package/docs/documentation/components/PaginationNav.html +1 -1
- package/docs/documentation/components/PaginationNavItem.html +1 -1
- package/docs/documentation/components/PaginationOverflow.html +1 -1
- package/docs/documentation/components/Panel.html +1 -1
- package/docs/documentation/components/PasswordInputLabelComponent.html +1 -1
- package/docs/documentation/components/Placeholder.html +1 -1
- package/docs/documentation/components/PopoverContent.html +1 -1
- package/docs/documentation/components/ProgressBar.html +1 -1
- package/docs/documentation/components/ProgressIndicator.html +1 -1
- package/docs/documentation/components/Radio.html +1 -1
- package/docs/documentation/components/RadioGroup.html +1 -1
- package/docs/documentation/components/Search.html +1 -1
- package/docs/documentation/components/Select.html +1 -1
- package/docs/documentation/components/SelectionTile.html +1 -1
- package/docs/documentation/components/SideNav.html +1 -1
- package/docs/documentation/components/SideNavItem.html +1 -1
- package/docs/documentation/components/SideNavMenu.html +1 -1
- package/docs/documentation/components/SkeletonPlaceholder.html +1 -1
- package/docs/documentation/components/SkeletonText.html +1 -1
- package/docs/documentation/components/Slider.html +1 -1
- package/docs/documentation/components/StructuredList.html +1 -1
- package/docs/documentation/components/SwitcherList.html +1 -1
- package/docs/documentation/components/SwitcherListItem.html +1 -1
- package/docs/documentation/components/Tab.html +1 -1
- package/docs/documentation/components/TabHeaderGroup.html +1 -1
- package/docs/documentation/components/TabHeaders.html +1 -1
- package/docs/documentation/components/TabSkeleton.html +1 -1
- package/docs/documentation/components/Table.html +1 -1
- package/docs/documentation/components/TableBody.html +1 -1
- package/docs/documentation/components/TableCheckbox.html +1 -1
- package/docs/documentation/components/TableContainer.html +1 -1
- package/docs/documentation/components/TableData.html +1 -1
- package/docs/documentation/components/TableExpandButton.html +1 -1
- package/docs/documentation/components/TableExpandedRow.html +1 -1
- package/docs/documentation/components/TableHead.html +1 -1
- package/docs/documentation/components/TableHeadCell.html +1 -1
- package/docs/documentation/components/TableHeadCheckbox.html +1 -1
- package/docs/documentation/components/TableHeadExpand.html +1 -1
- package/docs/documentation/components/TableHeader.html +1 -1
- package/docs/documentation/components/TableHeaderDecorator.html +1 -1
- package/docs/documentation/components/TableRadio.html +1 -1
- package/docs/documentation/components/TableRowComponent.html +1 -1
- package/docs/documentation/components/TableToolbar.html +1 -1
- package/docs/documentation/components/TableToolbarActions.html +1 -1
- package/docs/documentation/components/TableToolbarContent.html +1 -1
- package/docs/documentation/components/TableToolbarSearch.html +1 -1
- package/docs/documentation/components/Tabs.html +1 -1
- package/docs/documentation/components/Tag.html +1 -1
- package/docs/documentation/components/TagFilter.html +1 -1
- package/docs/documentation/components/TagOperationalComponent.html +1 -1
- package/docs/documentation/components/TagSelectableComponent.html +1 -1
- package/docs/documentation/components/TextInputLabelComponent.html +1 -1
- package/docs/documentation/components/TextareaLabelComponent.html +1 -1
- package/docs/documentation/components/Tile.html +1 -1
- package/docs/documentation/components/TileGroup.html +1 -1
- package/docs/documentation/components/TimePicker.html +1 -1
- package/docs/documentation/components/TimePickerSelect.html +1 -1
- package/docs/documentation/components/Toast.html +1 -1
- package/docs/documentation/components/Toggle.html +526 -66
- package/docs/documentation/components/Toggletip.html +1 -1
- package/docs/documentation/components/Tooltip.html +1 -1
- package/docs/documentation/components/TooltipDefinition.html +1 -1
- package/docs/documentation/components/TreeNodeComponent.html +1 -1
- package/docs/documentation/components/TreeViewComponent.html +1 -1
- package/docs/documentation/coverage.html +42 -6
- package/docs/documentation/graph/dependencies.svg +3103 -3057
- package/docs/documentation/interfaces/CheckboxGroupHost.html +417 -0
- package/docs/documentation/js/menu-wc.js +9 -3
- package/docs/documentation/js/menu-wc_es5.js +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/miscellaneous/variables.html +26 -0
- package/docs/documentation/modules/CheckboxModule/dependencies.svg +92 -36
- package/docs/documentation/modules/CheckboxModule.html +116 -39
- package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
- package/docs/documentation/modules/CodeSnippetModule.html +4 -4
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +4 -4
- package/docs/documentation/modules/ComboButtonModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboButtonModule.html +4 -4
- package/docs/documentation/modules/ContextMenuModule/dependencies.svg +52 -52
- package/docs/documentation/modules/ContextMenuModule.html +52 -52
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +42 -46
- package/docs/documentation/modules/DatePickerInputModule.html +42 -46
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +54 -58
- package/docs/documentation/modules/DatePickerModule.html +54 -58
- package/docs/documentation/modules/DialogModule/dependencies.svg +34 -34
- package/docs/documentation/modules/DialogModule.html +34 -34
- package/docs/documentation/modules/DropdownModule/dependencies.svg +70 -70
- package/docs/documentation/modules/DropdownModule.html +70 -70
- package/docs/documentation/modules/FileUploaderModule/dependencies.svg +62 -62
- package/docs/documentation/modules/FileUploaderModule.html +62 -62
- package/docs/documentation/modules/GridModule/dependencies.svg +7 -7
- package/docs/documentation/modules/GridModule.html +7 -7
- package/docs/documentation/modules/I18nModule/dependencies.svg +4 -4
- package/docs/documentation/modules/I18nModule.html +4 -4
- package/docs/documentation/modules/IconModule/dependencies.svg +4 -4
- package/docs/documentation/modules/IconModule.html +4 -4
- package/docs/documentation/modules/InlineLoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/InlineLoadingModule.html +4 -4
- package/docs/documentation/modules/InputModule/dependencies.svg +4 -4
- package/docs/documentation/modules/InputModule.html +4 -4
- package/docs/documentation/modules/LayerModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LayerModule.html +4 -4
- package/docs/documentation/modules/LayoutModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LayoutModule.html +4 -4
- package/docs/documentation/modules/LoadingModule/dependencies.svg +13 -13
- package/docs/documentation/modules/LoadingModule.html +13 -13
- package/docs/documentation/modules/MenuButtonModule/dependencies.svg +4 -4
- package/docs/documentation/modules/MenuButtonModule.html +4 -4
- package/docs/documentation/modules/ModalModule/dependencies.svg +115 -115
- package/docs/documentation/modules/ModalModule.html +115 -115
- package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NFormsModule.html +4 -4
- package/docs/documentation/modules/NotificationModule/dependencies.svg +37 -37
- package/docs/documentation/modules/NotificationModule.html +37 -37
- package/docs/documentation/modules/NumberModule/dependencies.svg +24 -24
- package/docs/documentation/modules/NumberModule.html +24 -24
- package/docs/documentation/modules/PaginationModule/dependencies.svg +56 -56
- package/docs/documentation/modules/PaginationModule.html +56 -56
- package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
- package/docs/documentation/modules/PanelModule.html +36 -36
- package/docs/documentation/modules/PopoverModule/dependencies.svg +4 -4
- package/docs/documentation/modules/PopoverModule.html +4 -4
- package/docs/documentation/modules/ProgressBarModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressBarModule.html +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +58 -62
- package/docs/documentation/modules/RadioModule.html +58 -62
- package/docs/documentation/modules/SearchModule/dependencies.svg +30 -30
- package/docs/documentation/modules/SearchModule.html +30 -30
- package/docs/documentation/modules/SelectModule/dependencies.svg +61 -61
- package/docs/documentation/modules/SelectModule.html +61 -61
- package/docs/documentation/modules/SideNavModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SideNavModule.html +4 -4
- package/docs/documentation/modules/SkeletonModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SkeletonModule.html +4 -4
- package/docs/documentation/modules/SliderModule/dependencies.svg +42 -46
- package/docs/documentation/modules/SliderModule.html +42 -46
- package/docs/documentation/modules/StructuredListModule/dependencies.svg +4 -4
- package/docs/documentation/modules/StructuredListModule.html +4 -4
- package/docs/documentation/modules/TableModule/dependencies.svg +224 -224
- package/docs/documentation/modules/TableModule.html +224 -224
- package/docs/documentation/modules/TabsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TabsModule.html +4 -4
- package/docs/documentation/modules/TagModule/dependencies.svg +37 -37
- package/docs/documentation/modules/TagModule.html +37 -37
- package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
- package/docs/documentation/modules/ThemeModule.html +13 -13
- package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TilesModule.html +4 -4
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerSelectModule.html +4 -4
- package/docs/documentation/modules/ToggleModule/dependencies.svg +7 -7
- package/docs/documentation/modules/ToggleModule.html +7 -7
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggletipModule.html +4 -4
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +4 -4
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +35 -35
- package/docs/documentation/modules/TreeviewModule.html +35 -35
- package/docs/documentation/overview.html +3105 -3059
- package/docs/documentation.json +1002 -127
- package/docs/storybook/9300.537382cc.iframe.bundle.js +1 -0
- package/docs/storybook/955.99b6ac85.iframe.bundle.js +1 -0
- package/docs/storybook/checkbox-checkbox-stories.a40b7a36.iframe.bundle.js +1 -0
- package/docs/storybook/dialog-overflow-menu-overflow-menu-stories.d99d789a.iframe.bundle.js +1 -0
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/index.json +1 -1
- package/docs/storybook/main.4ba3ac58.iframe.bundle.js +1 -0
- package/docs/storybook/modal-modal-stories.02e35bd4.iframe.bundle.js +1 -0
- package/docs/storybook/pagination-pagination-nav-stories.647ce4df.iframe.bundle.js +1 -0
- package/docs/storybook/pagination-pagination-stories.aa18b936.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.018cbdfe.iframe.bundle.js → runtime~main.229d454b.iframe.bundle.js} +1 -1
- package/docs/storybook/stories.json +1 -1
- package/docs/storybook/toggle-toggle-stories.999199e8.iframe.bundle.js +1 -0
- package/esm2020/checkbox/checkbox-group-host.mjs +3 -0
- package/esm2020/checkbox/checkbox-group.component.mjs +201 -0
- package/esm2020/checkbox/checkbox.component.mjs +169 -9
- package/esm2020/checkbox/checkbox.module.mjs +16 -7
- package/esm2020/checkbox/index.mjs +3 -1
- package/esm2020/table/cell/table-checkbox.component.mjs +1 -1
- package/esm2020/table/head/table-head-checkbox.component.mjs +1 -1
- package/esm2020/toggle/toggle.component.mjs +12 -7
- package/fesm2015/carbon-components-angular-checkbox.mjs +385 -15
- package/fesm2015/carbon-components-angular-checkbox.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-table.mjs +2 -2
- package/fesm2015/carbon-components-angular-table.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-toggle.mjs +13 -6
- package/fesm2015/carbon-components-angular-toggle.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-checkbox.mjs +379 -15
- package/fesm2020/carbon-components-angular-checkbox.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-table.mjs +2 -2
- package/fesm2020/carbon-components-angular-table.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-toggle.mjs +11 -6
- package/fesm2020/carbon-components-angular-toggle.mjs.map +1 -1
- package/package.json +1 -1
- package/toggle/toggle.component.d.ts +3 -3
- package/docs/storybook/1895.d3fd5755.iframe.bundle.js +0 -1
- package/docs/storybook/955.754a7cf6.iframe.bundle.js +0 -1
- package/docs/storybook/checkbox-checkbox-stories.3aeae19d.iframe.bundle.js +0 -1
- package/docs/storybook/dialog-overflow-menu-overflow-menu-stories.aa916da9.iframe.bundle.js +0 -1
- package/docs/storybook/main.544b1246.iframe.bundle.js +0 -1
- package/docs/storybook/modal-modal-stories.22f92029.iframe.bundle.js +0 -1
- package/docs/storybook/pagination-pagination-nav-stories.9f6e65be.iframe.bundle.js +0 -1
- package/docs/storybook/pagination-pagination-stories.540698c1.iframe.bundle.js +0 -1
- package/docs/storybook/toggle-toggle-stories.7832edbb.iframe.bundle.js +0 -1
|
@@ -190,7 +190,13 @@
|
|
|
190
190
|
|
|
191
191
|
<tr>
|
|
192
192
|
<td class="col-md-3">template</td>
|
|
193
|
-
<td class="col-md-9"><pre class="line-numbers"><code class="language-html"><div class="cds--form-item cds--checkbox-wrapper"
|
|
193
|
+
<td class="col-md-9"><pre class="line-numbers"><code class="language-html"><div class="cds--form-item cds--checkbox-wrapper"
|
|
194
|
+
[ngClass]="{
|
|
195
|
+
'cds--checkbox-wrapper--invalid': !effectiveReadOnly && effectiveInvalid,
|
|
196
|
+
'cds--checkbox-wrapper--warning': !effectiveReadOnly && !effectiveInvalid && effectiveWarn,
|
|
197
|
+
'cds--checkbox-wrapper--readonly': effectiveReadOnly,
|
|
198
|
+
'cds--checkbox-wrapper--decorator': !!decorator
|
|
199
|
+
}">
|
|
194
200
|
<input
|
|
195
201
|
#inputCheckbox
|
|
196
202
|
class="cds--checkbox"
|
|
@@ -201,20 +207,60 @@
|
|
|
201
207
|
[required]="required"
|
|
202
208
|
[checked]="checked"
|
|
203
209
|
[disabled]="disabled"
|
|
210
|
+
[attr.data-invalid]="(!effectiveReadOnly && effectiveInvalid) ? true : null"
|
|
211
|
+
[attr.aria-readonly]="effectiveReadOnly ? true : null"
|
|
204
212
|
[attr.aria-labelledby]="ariaLabelledby"
|
|
213
|
+
[attr.aria-describedby]="(helperText && !effectiveInvalid && !effectiveWarn) ? helperId : null"
|
|
205
214
|
(change)="onChange($event)"
|
|
206
215
|
(click)="onClick($event)">
|
|
207
216
|
<label
|
|
208
217
|
[for]="id + '_input'"
|
|
209
218
|
[attr.aria-label]="ariaLabel"
|
|
219
|
+
[attr.title]="title || null"
|
|
210
220
|
class="cds--checkbox-label"
|
|
211
221
|
[ngClass]="{
|
|
212
222
|
'cds--skeleton' : skeleton
|
|
213
223
|
}">
|
|
214
224
|
<span [ngClass]="{'cds--visually-hidden' : hideLabel}" class="cds--checkbox-label-text">
|
|
215
225
|
<ng-content></ng-content>
|
|
226
|
+
<ng-container *ngIf="decorator">
|
|
227
|
+
<div class="cds--checkbox-wrapper-inner--decorator">
|
|
228
|
+
<ng-template [ngTemplateOutlet]="decorator"></ng-template>
|
|
229
|
+
</div>
|
|
230
|
+
</ng-container>
|
|
216
231
|
</span>
|
|
217
232
|
</label>
|
|
233
|
+
<div class="cds--checkbox__validation-msg">
|
|
234
|
+
<ng-container *ngIf="!effectiveReadOnly && effectiveInvalid">
|
|
235
|
+
<svg
|
|
236
|
+
cdsIcon="warning--filled"
|
|
237
|
+
size="16"
|
|
238
|
+
class="cds--checkbox__invalid-icon">
|
|
239
|
+
</svg>
|
|
240
|
+
<div class="cds--form-requirement">
|
|
241
|
+
<ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container>
|
|
242
|
+
<ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="$any(invalidText)"></ng-template>
|
|
243
|
+
</div>
|
|
244
|
+
</ng-container>
|
|
245
|
+
<ng-container *ngIf="!effectiveReadOnly && !effectiveInvalid && effectiveWarn">
|
|
246
|
+
<svg
|
|
247
|
+
cdsIcon="warning--alt--filled"
|
|
248
|
+
size="16"
|
|
249
|
+
class="cds--checkbox__invalid-icon cds--checkbox__invalid-icon--warning">
|
|
250
|
+
</svg>
|
|
251
|
+
<div class="cds--form-requirement">
|
|
252
|
+
<ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>
|
|
253
|
+
<ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="$any(warnText)"></ng-template>
|
|
254
|
+
</div>
|
|
255
|
+
</ng-container>
|
|
256
|
+
</div>
|
|
257
|
+
<div
|
|
258
|
+
*ngIf="helperText && !effectiveInvalid && !effectiveWarn"
|
|
259
|
+
class="cds--form__helper-text"
|
|
260
|
+
[id]="helperId">
|
|
261
|
+
<ng-container *ngIf="!isTemplate(helperText)">{{helperText}}</ng-container>
|
|
262
|
+
<ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="$any(helperText)"></ng-template>
|
|
263
|
+
</div>
|
|
218
264
|
</div>
|
|
219
265
|
</code></pre></td>
|
|
220
266
|
</tr>
|
|
@@ -256,6 +302,15 @@
|
|
|
256
302
|
<li>
|
|
257
303
|
<a href="#currentCheckboxState" >currentCheckboxState</a>
|
|
258
304
|
</li>
|
|
305
|
+
<li>
|
|
306
|
+
<span class="modifier">Readonly</span>
|
|
307
|
+
<a href="#helperId" >helperId</a>
|
|
308
|
+
</li>
|
|
309
|
+
<li>
|
|
310
|
+
<span class="modifier">Private</span>
|
|
311
|
+
<span class="modifier">Static</span>
|
|
312
|
+
<a href="#helperIdCounter" >helperIdCounter</a>
|
|
313
|
+
</li>
|
|
259
314
|
<li>
|
|
260
315
|
<span class="modifier"></span>
|
|
261
316
|
<a href="#inputCheckbox" >inputCheckbox</a>
|
|
@@ -285,6 +340,12 @@
|
|
|
285
340
|
<span class="modifier"></span>
|
|
286
341
|
<a href="#focusOut" >focusOut</a>
|
|
287
342
|
</li>
|
|
343
|
+
<li>
|
|
344
|
+
<a href="#isTemplate" >isTemplate</a>
|
|
345
|
+
</li>
|
|
346
|
+
<li>
|
|
347
|
+
<a href="#markForCheckFromGroup" >markForCheckFromGroup</a>
|
|
348
|
+
</li>
|
|
288
349
|
<li>
|
|
289
350
|
<a href="#ngAfterViewInit" >ngAfterViewInit</a>
|
|
290
351
|
</li>
|
|
@@ -341,9 +402,15 @@
|
|
|
341
402
|
<li>
|
|
342
403
|
<a href="#checked" >checked</a>
|
|
343
404
|
</li>
|
|
405
|
+
<li>
|
|
406
|
+
<a href="#decorator" >decorator</a>
|
|
407
|
+
</li>
|
|
344
408
|
<li>
|
|
345
409
|
<a href="#disabled" >disabled</a>
|
|
346
410
|
</li>
|
|
411
|
+
<li>
|
|
412
|
+
<a href="#helperText" >helperText</a>
|
|
413
|
+
</li>
|
|
347
414
|
<li>
|
|
348
415
|
<a href="#hideLabel" >hideLabel</a>
|
|
349
416
|
</li>
|
|
@@ -353,18 +420,36 @@
|
|
|
353
420
|
<li>
|
|
354
421
|
<a href="#indeterminate" >indeterminate</a>
|
|
355
422
|
</li>
|
|
423
|
+
<li>
|
|
424
|
+
<a href="#invalid" >invalid</a>
|
|
425
|
+
</li>
|
|
426
|
+
<li>
|
|
427
|
+
<a href="#invalidText" >invalidText</a>
|
|
428
|
+
</li>
|
|
356
429
|
<li>
|
|
357
430
|
<a href="#name" >name</a>
|
|
358
431
|
</li>
|
|
432
|
+
<li>
|
|
433
|
+
<a href="#readOnly" >readOnly</a>
|
|
434
|
+
</li>
|
|
359
435
|
<li>
|
|
360
436
|
<a href="#required" >required</a>
|
|
361
437
|
</li>
|
|
362
438
|
<li>
|
|
363
439
|
<a href="#skeleton" >skeleton</a>
|
|
364
440
|
</li>
|
|
441
|
+
<li>
|
|
442
|
+
<a href="#title" >title</a>
|
|
443
|
+
</li>
|
|
365
444
|
<li>
|
|
366
445
|
<a href="#value" >value</a>
|
|
367
446
|
</li>
|
|
447
|
+
<li>
|
|
448
|
+
<a href="#warn" >warn</a>
|
|
449
|
+
</li>
|
|
450
|
+
<li>
|
|
451
|
+
<a href="#warnText" >warnText</a>
|
|
452
|
+
</li>
|
|
368
453
|
</ul>
|
|
369
454
|
</td>
|
|
370
455
|
</tr>
|
|
@@ -420,6 +505,15 @@
|
|
|
420
505
|
<li>
|
|
421
506
|
<a href="#checked" >checked</a>
|
|
422
507
|
</li>
|
|
508
|
+
<li>
|
|
509
|
+
<a href="#effectiveReadOnly" >effectiveReadOnly</a>
|
|
510
|
+
</li>
|
|
511
|
+
<li>
|
|
512
|
+
<a href="#effectiveInvalid" >effectiveInvalid</a>
|
|
513
|
+
</li>
|
|
514
|
+
<li>
|
|
515
|
+
<a href="#effectiveWarn" >effectiveWarn</a>
|
|
516
|
+
</li>
|
|
423
517
|
</ul>
|
|
424
518
|
</td>
|
|
425
519
|
</tr>
|
|
@@ -433,12 +527,12 @@
|
|
|
433
527
|
<tbody>
|
|
434
528
|
<tr>
|
|
435
529
|
<td class="col-md-4">
|
|
436
|
-
<code>constructor(changeDetectorRef: ChangeDetectorRef)</code>
|
|
530
|
+
<code>constructor(changeDetectorRef: ChangeDetectorRef, hostGroup: <a href="../interfaces/CheckboxGroupHost.html" target="_self">CheckboxGroupHost | null</a>)</code>
|
|
437
531
|
</td>
|
|
438
532
|
</tr>
|
|
439
533
|
<tr>
|
|
440
534
|
<td class="col-md-4">
|
|
441
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
535
|
+
<div class="io-line">Defined in <a href="" data-line="292" class="link-to-prism">src/checkbox/checkbox.component.ts:292</a></div>
|
|
442
536
|
</td>
|
|
443
537
|
</tr>
|
|
444
538
|
|
|
@@ -469,6 +563,18 @@
|
|
|
469
563
|
</td>
|
|
470
564
|
|
|
471
565
|
</tr>
|
|
566
|
+
<tr>
|
|
567
|
+
<td>hostGroup</td>
|
|
568
|
+
|
|
569
|
+
<td>
|
|
570
|
+
<code><a href="../interfaces/CheckboxGroupHost.html" target="_self" >CheckboxGroupHost | null</a></code>
|
|
571
|
+
</td>
|
|
572
|
+
|
|
573
|
+
<td>
|
|
574
|
+
No
|
|
575
|
+
</td>
|
|
576
|
+
|
|
577
|
+
</tr>
|
|
472
578
|
</tbody>
|
|
473
579
|
</table>
|
|
474
580
|
</div>
|
|
@@ -496,7 +602,7 @@
|
|
|
496
602
|
</tr>
|
|
497
603
|
<tr>
|
|
498
604
|
<td class="col-md-2" colspan="2">
|
|
499
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
605
|
+
<div class="io-line">Defined in <a href="" data-line="160" class="link-to-prism">src/checkbox/checkbox.component.ts:160</a></div>
|
|
500
606
|
</td>
|
|
501
607
|
</tr>
|
|
502
608
|
</tbody>
|
|
@@ -517,7 +623,7 @@
|
|
|
517
623
|
</tr>
|
|
518
624
|
<tr>
|
|
519
625
|
<td class="col-md-2" colspan="2">
|
|
520
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
626
|
+
<div class="io-line">Defined in <a href="" data-line="161" class="link-to-prism">src/checkbox/checkbox.component.ts:161</a></div>
|
|
521
627
|
</td>
|
|
522
628
|
</tr>
|
|
523
629
|
</tbody>
|
|
@@ -538,13 +644,40 @@
|
|
|
538
644
|
</tr>
|
|
539
645
|
<tr>
|
|
540
646
|
<td class="col-md-2" colspan="2">
|
|
541
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
647
|
+
<div class="io-line">Defined in <a href="" data-line="244" class="link-to-prism">src/checkbox/checkbox.component.ts:244</a></div>
|
|
542
648
|
</td>
|
|
543
649
|
</tr>
|
|
544
650
|
<tr>
|
|
545
651
|
<td class="col-md-4">
|
|
546
652
|
<div class="io-description"><p>Sets the <code>checked</code> state. <code>true</code> for checked, <code>false</code> for unchecked</p>
|
|
547
653
|
<p>Allows double binding with the <code>checkedChange</code> Output.</p>
|
|
654
|
+
</div>
|
|
655
|
+
</td>
|
|
656
|
+
</tr>
|
|
657
|
+
</tbody>
|
|
658
|
+
</table>
|
|
659
|
+
<table class="table table-sm table-bordered">
|
|
660
|
+
<tbody>
|
|
661
|
+
<tr>
|
|
662
|
+
<td class="col-md-4">
|
|
663
|
+
<a name="decorator"></a>
|
|
664
|
+
<b>decorator</b>
|
|
665
|
+
</td>
|
|
666
|
+
</tr>
|
|
667
|
+
<tr>
|
|
668
|
+
<td class="col-md-4">
|
|
669
|
+
<i>Type : </i> <code>TemplateRef<any></code>
|
|
670
|
+
|
|
671
|
+
</td>
|
|
672
|
+
</tr>
|
|
673
|
+
<tr>
|
|
674
|
+
<td class="col-md-2" colspan="2">
|
|
675
|
+
<div class="io-line">Defined in <a href="" data-line="205" class="link-to-prism">src/checkbox/checkbox.component.ts:205</a></div>
|
|
676
|
+
</td>
|
|
677
|
+
</tr>
|
|
678
|
+
<tr>
|
|
679
|
+
<td class="col-md-4">
|
|
680
|
+
<div class="io-description"><p>Optional <code>TemplateRef</code> (e.g. AI label) rendered next to the label text.</p>
|
|
548
681
|
</div>
|
|
549
682
|
</td>
|
|
550
683
|
</tr>
|
|
@@ -571,12 +704,40 @@
|
|
|
571
704
|
</tr>
|
|
572
705
|
<tr>
|
|
573
706
|
<td class="col-md-2" colspan="2">
|
|
574
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
707
|
+
<div class="io-line">Defined in <a href="" data-line="135" class="link-to-prism">src/checkbox/checkbox.component.ts:135</a></div>
|
|
575
708
|
</td>
|
|
576
709
|
</tr>
|
|
577
710
|
<tr>
|
|
578
711
|
<td class="col-md-4">
|
|
579
712
|
<div class="io-description"><p>Set to <code>true</code> for a disabled checkbox.</p>
|
|
713
|
+
</div>
|
|
714
|
+
</td>
|
|
715
|
+
</tr>
|
|
716
|
+
</tbody>
|
|
717
|
+
</table>
|
|
718
|
+
<table class="table table-sm table-bordered">
|
|
719
|
+
<tbody>
|
|
720
|
+
<tr>
|
|
721
|
+
<td class="col-md-4">
|
|
722
|
+
<a name="helperText"></a>
|
|
723
|
+
<b>helperText</b>
|
|
724
|
+
</td>
|
|
725
|
+
</tr>
|
|
726
|
+
<tr>
|
|
727
|
+
<td class="col-md-4">
|
|
728
|
+
<i>Type : </i> <code>string | TemplateRef<any></code>
|
|
729
|
+
|
|
730
|
+
</td>
|
|
731
|
+
</tr>
|
|
732
|
+
<tr>
|
|
733
|
+
<td class="col-md-2" colspan="2">
|
|
734
|
+
<div class="io-line">Defined in <a href="" data-line="172" class="link-to-prism">src/checkbox/checkbox.component.ts:172</a></div>
|
|
735
|
+
</td>
|
|
736
|
+
</tr>
|
|
737
|
+
<tr>
|
|
738
|
+
<td class="col-md-4">
|
|
739
|
+
<div class="io-description"><p>Optional helper text displayed below the checkbox label.
|
|
740
|
+
Not shown when <code>invalid</code> or <code>warn</code> is <code>true</code>.</p>
|
|
580
741
|
</div>
|
|
581
742
|
</td>
|
|
582
743
|
</tr>
|
|
@@ -603,7 +764,7 @@
|
|
|
603
764
|
</tr>
|
|
604
765
|
<tr>
|
|
605
766
|
<td class="col-md-2" colspan="2">
|
|
606
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
767
|
+
<div class="io-line">Defined in <a href="" data-line="143" class="link-to-prism">src/checkbox/checkbox.component.ts:143</a></div>
|
|
607
768
|
</td>
|
|
608
769
|
</tr>
|
|
609
770
|
<tr>
|
|
@@ -635,7 +796,7 @@
|
|
|
635
796
|
</tr>
|
|
636
797
|
<tr>
|
|
637
798
|
<td class="col-md-2" colspan="2">
|
|
638
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
799
|
+
<div class="io-line">Defined in <a href="" data-line="151" class="link-to-prism">src/checkbox/checkbox.component.ts:151</a></div>
|
|
639
800
|
</td>
|
|
640
801
|
</tr>
|
|
641
802
|
<tr>
|
|
@@ -662,13 +823,68 @@
|
|
|
662
823
|
</tr>
|
|
663
824
|
<tr>
|
|
664
825
|
<td class="col-md-2" colspan="2">
|
|
665
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
826
|
+
<div class="io-line">Defined in <a href="" data-line="212" class="link-to-prism">src/checkbox/checkbox.component.ts:212</a></div>
|
|
666
827
|
</td>
|
|
667
828
|
</tr>
|
|
668
829
|
<tr>
|
|
669
830
|
<td class="col-md-4">
|
|
670
831
|
<div class="io-description"><p>Set the checkbox's indeterminate state to match the parameter and transition the view to reflect the change.</p>
|
|
671
832
|
<p>Allows double binding with the <code>indeterminateChange</code> Output.</p>
|
|
833
|
+
</div>
|
|
834
|
+
</td>
|
|
835
|
+
</tr>
|
|
836
|
+
</tbody>
|
|
837
|
+
</table>
|
|
838
|
+
<table class="table table-sm table-bordered">
|
|
839
|
+
<tbody>
|
|
840
|
+
<tr>
|
|
841
|
+
<td class="col-md-4">
|
|
842
|
+
<a name="invalid"></a>
|
|
843
|
+
<b>invalid</b>
|
|
844
|
+
</td>
|
|
845
|
+
</tr>
|
|
846
|
+
<tr>
|
|
847
|
+
<td class="col-md-4">
|
|
848
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
849
|
+
|
|
850
|
+
</td>
|
|
851
|
+
</tr>
|
|
852
|
+
<tr>
|
|
853
|
+
<td class="col-md-2" colspan="2">
|
|
854
|
+
<div class="io-line">Defined in <a href="" data-line="178" class="link-to-prism">src/checkbox/checkbox.component.ts:178</a></div>
|
|
855
|
+
</td>
|
|
856
|
+
</tr>
|
|
857
|
+
<tr>
|
|
858
|
+
<td class="col-md-4">
|
|
859
|
+
<div class="io-description"><p>Set to <code>true</code> to show the checkbox in an invalid/error state.
|
|
860
|
+
When omitted inside a <code>cds-checkbox-group</code>, the group's <code>invalid</code> value applies.</p>
|
|
861
|
+
</div>
|
|
862
|
+
</td>
|
|
863
|
+
</tr>
|
|
864
|
+
</tbody>
|
|
865
|
+
</table>
|
|
866
|
+
<table class="table table-sm table-bordered">
|
|
867
|
+
<tbody>
|
|
868
|
+
<tr>
|
|
869
|
+
<td class="col-md-4">
|
|
870
|
+
<a name="invalidText"></a>
|
|
871
|
+
<b>invalidText</b>
|
|
872
|
+
</td>
|
|
873
|
+
</tr>
|
|
874
|
+
<tr>
|
|
875
|
+
<td class="col-md-4">
|
|
876
|
+
<i>Type : </i> <code>string | TemplateRef<any></code>
|
|
877
|
+
|
|
878
|
+
</td>
|
|
879
|
+
</tr>
|
|
880
|
+
<tr>
|
|
881
|
+
<td class="col-md-2" colspan="2">
|
|
882
|
+
<div class="io-line">Defined in <a href="" data-line="183" class="link-to-prism">src/checkbox/checkbox.component.ts:183</a></div>
|
|
883
|
+
</td>
|
|
884
|
+
</tr>
|
|
885
|
+
<tr>
|
|
886
|
+
<td class="col-md-4">
|
|
887
|
+
<div class="io-description"><p>The error message displayed when <code>invalid</code> is <code>true</code>.</p>
|
|
672
888
|
</div>
|
|
673
889
|
</td>
|
|
674
890
|
</tr>
|
|
@@ -690,12 +906,40 @@
|
|
|
690
906
|
</tr>
|
|
691
907
|
<tr>
|
|
692
908
|
<td class="col-md-2" colspan="2">
|
|
693
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
909
|
+
<div class="io-line">Defined in <a href="" data-line="147" class="link-to-prism">src/checkbox/checkbox.component.ts:147</a></div>
|
|
694
910
|
</td>
|
|
695
911
|
</tr>
|
|
696
912
|
<tr>
|
|
697
913
|
<td class="col-md-4">
|
|
698
914
|
<div class="io-description"><p>Sets the name attribute on the <code>input</code> element.</p>
|
|
915
|
+
</div>
|
|
916
|
+
</td>
|
|
917
|
+
</tr>
|
|
918
|
+
</tbody>
|
|
919
|
+
</table>
|
|
920
|
+
<table class="table table-sm table-bordered">
|
|
921
|
+
<tbody>
|
|
922
|
+
<tr>
|
|
923
|
+
<td class="col-md-4">
|
|
924
|
+
<a name="readOnly"></a>
|
|
925
|
+
<b>readOnly</b>
|
|
926
|
+
</td>
|
|
927
|
+
</tr>
|
|
928
|
+
<tr>
|
|
929
|
+
<td class="col-md-4">
|
|
930
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
931
|
+
|
|
932
|
+
</td>
|
|
933
|
+
</tr>
|
|
934
|
+
<tr>
|
|
935
|
+
<td class="col-md-2" colspan="2">
|
|
936
|
+
<div class="io-line">Defined in <a href="" data-line="200" class="link-to-prism">src/checkbox/checkbox.component.ts:200</a></div>
|
|
937
|
+
</td>
|
|
938
|
+
</tr>
|
|
939
|
+
<tr>
|
|
940
|
+
<td class="col-md-4">
|
|
941
|
+
<div class="io-description"><p>When <code>true</code>, the checkbox cannot be toggled (matches <code>readonly</code> attribute semantics for form controls).
|
|
942
|
+
When omitted inside a <code>cds-checkbox-group</code>, the group's <code>readOnly</code> value applies.</p>
|
|
699
943
|
</div>
|
|
700
944
|
</td>
|
|
701
945
|
</tr>
|
|
@@ -717,7 +961,7 @@
|
|
|
717
961
|
</tr>
|
|
718
962
|
<tr>
|
|
719
963
|
<td class="col-md-2" colspan="2">
|
|
720
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
964
|
+
<div class="io-line">Defined in <a href="" data-line="155" class="link-to-prism">src/checkbox/checkbox.component.ts:155</a></div>
|
|
721
965
|
</td>
|
|
722
966
|
</tr>
|
|
723
967
|
<tr>
|
|
@@ -749,12 +993,44 @@
|
|
|
749
993
|
</tr>
|
|
750
994
|
<tr>
|
|
751
995
|
<td class="col-md-2" colspan="2">
|
|
752
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
996
|
+
<div class="io-line">Defined in <a href="" data-line="139" class="link-to-prism">src/checkbox/checkbox.component.ts:139</a></div>
|
|
753
997
|
</td>
|
|
754
998
|
</tr>
|
|
755
999
|
<tr>
|
|
756
1000
|
<td class="col-md-4">
|
|
757
1001
|
<div class="io-description"><p>Set to <code>true</code> for a loading checkbox.</p>
|
|
1002
|
+
</div>
|
|
1003
|
+
</td>
|
|
1004
|
+
</tr>
|
|
1005
|
+
</tbody>
|
|
1006
|
+
</table>
|
|
1007
|
+
<table class="table table-sm table-bordered">
|
|
1008
|
+
<tbody>
|
|
1009
|
+
<tr>
|
|
1010
|
+
<td class="col-md-4">
|
|
1011
|
+
<a name="title"></a>
|
|
1012
|
+
<b>title</b>
|
|
1013
|
+
</td>
|
|
1014
|
+
</tr>
|
|
1015
|
+
<tr>
|
|
1016
|
+
<td class="col-md-4">
|
|
1017
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
1018
|
+
|
|
1019
|
+
</td>
|
|
1020
|
+
</tr>
|
|
1021
|
+
<tr>
|
|
1022
|
+
<td class="col-md-4">
|
|
1023
|
+
<i>Default value : </i><code>""</code>
|
|
1024
|
+
</td>
|
|
1025
|
+
</tr>
|
|
1026
|
+
<tr>
|
|
1027
|
+
<td class="col-md-2" colspan="2">
|
|
1028
|
+
<div class="io-line">Defined in <a href="" data-line="166" class="link-to-prism">src/checkbox/checkbox.component.ts:166</a></div>
|
|
1029
|
+
</td>
|
|
1030
|
+
</tr>
|
|
1031
|
+
<tr>
|
|
1032
|
+
<td class="col-md-4">
|
|
1033
|
+
<div class="io-description"><p>Optional title for the <code><label></code> element.</p>
|
|
758
1034
|
</div>
|
|
759
1035
|
</td>
|
|
760
1036
|
</tr>
|
|
@@ -776,12 +1052,67 @@
|
|
|
776
1052
|
</tr>
|
|
777
1053
|
<tr>
|
|
778
1054
|
<td class="col-md-2" colspan="2">
|
|
779
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1055
|
+
<div class="io-line">Defined in <a href="" data-line="159" class="link-to-prism">src/checkbox/checkbox.component.ts:159</a></div>
|
|
780
1056
|
</td>
|
|
781
1057
|
</tr>
|
|
782
1058
|
<tr>
|
|
783
1059
|
<td class="col-md-4">
|
|
784
1060
|
<div class="io-description"><p>Sets the value attribute on the <code>input</code> element.</p>
|
|
1061
|
+
</div>
|
|
1062
|
+
</td>
|
|
1063
|
+
</tr>
|
|
1064
|
+
</tbody>
|
|
1065
|
+
</table>
|
|
1066
|
+
<table class="table table-sm table-bordered">
|
|
1067
|
+
<tbody>
|
|
1068
|
+
<tr>
|
|
1069
|
+
<td class="col-md-4">
|
|
1070
|
+
<a name="warn"></a>
|
|
1071
|
+
<b>warn</b>
|
|
1072
|
+
</td>
|
|
1073
|
+
</tr>
|
|
1074
|
+
<tr>
|
|
1075
|
+
<td class="col-md-4">
|
|
1076
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1077
|
+
|
|
1078
|
+
</td>
|
|
1079
|
+
</tr>
|
|
1080
|
+
<tr>
|
|
1081
|
+
<td class="col-md-2" colspan="2">
|
|
1082
|
+
<div class="io-line">Defined in <a href="" data-line="189" class="link-to-prism">src/checkbox/checkbox.component.ts:189</a></div>
|
|
1083
|
+
</td>
|
|
1084
|
+
</tr>
|
|
1085
|
+
<tr>
|
|
1086
|
+
<td class="col-md-4">
|
|
1087
|
+
<div class="io-description"><p>Set to <code>true</code> to show the checkbox in a warning state.
|
|
1088
|
+
When omitted inside a <code>cds-checkbox-group</code>, the group's <code>warn</code> value applies.</p>
|
|
1089
|
+
</div>
|
|
1090
|
+
</td>
|
|
1091
|
+
</tr>
|
|
1092
|
+
</tbody>
|
|
1093
|
+
</table>
|
|
1094
|
+
<table class="table table-sm table-bordered">
|
|
1095
|
+
<tbody>
|
|
1096
|
+
<tr>
|
|
1097
|
+
<td class="col-md-4">
|
|
1098
|
+
<a name="warnText"></a>
|
|
1099
|
+
<b>warnText</b>
|
|
1100
|
+
</td>
|
|
1101
|
+
</tr>
|
|
1102
|
+
<tr>
|
|
1103
|
+
<td class="col-md-4">
|
|
1104
|
+
<i>Type : </i> <code>string | TemplateRef<any></code>
|
|
1105
|
+
|
|
1106
|
+
</td>
|
|
1107
|
+
</tr>
|
|
1108
|
+
<tr>
|
|
1109
|
+
<td class="col-md-2" colspan="2">
|
|
1110
|
+
<div class="io-line">Defined in <a href="" data-line="194" class="link-to-prism">src/checkbox/checkbox.component.ts:194</a></div>
|
|
1111
|
+
</td>
|
|
1112
|
+
</tr>
|
|
1113
|
+
<tr>
|
|
1114
|
+
<td class="col-md-4">
|
|
1115
|
+
<div class="io-description"><p>The warning message displayed when <code>warn</code> is <code>true</code> and <code>invalid</code> is <code>false</code>.</p>
|
|
785
1116
|
</div>
|
|
786
1117
|
</td>
|
|
787
1118
|
</tr>
|
|
@@ -806,7 +1137,7 @@
|
|
|
806
1137
|
</tr>
|
|
807
1138
|
<tr>
|
|
808
1139
|
<td class="col-md-2" colspan="2">
|
|
809
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1140
|
+
<div class="io-line">Defined in <a href="" data-line="265" class="link-to-prism">src/checkbox/checkbox.component.ts:265</a></div>
|
|
810
1141
|
</td>
|
|
811
1142
|
</tr>
|
|
812
1143
|
<tr>
|
|
@@ -834,7 +1165,7 @@
|
|
|
834
1165
|
</tr>
|
|
835
1166
|
<tr>
|
|
836
1167
|
<td class="col-md-2" colspan="2">
|
|
837
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1168
|
+
<div class="io-line">Defined in <a href="" data-line="258" class="link-to-prism">src/checkbox/checkbox.component.ts:258</a></div>
|
|
838
1169
|
</td>
|
|
839
1170
|
</tr>
|
|
840
1171
|
<tr>
|
|
@@ -861,7 +1192,7 @@
|
|
|
861
1192
|
</tr>
|
|
862
1193
|
<tr>
|
|
863
1194
|
<td class="col-md-2" colspan="2">
|
|
864
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1195
|
+
<div class="io-line">Defined in <a href="" data-line="271" class="link-to-prism">src/checkbox/checkbox.component.ts:271</a></div>
|
|
865
1196
|
</td>
|
|
866
1197
|
</tr>
|
|
867
1198
|
<tr>
|
|
@@ -896,8 +1227,8 @@ on an indeterminate checkbox.</p>
|
|
|
896
1227
|
|
|
897
1228
|
<tr>
|
|
898
1229
|
<td class="col-md-4">
|
|
899
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
900
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1230
|
+
<div class="io-line">Defined in <a href="" data-line="381"
|
|
1231
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:381</a></div>
|
|
901
1232
|
</td>
|
|
902
1233
|
</tr>
|
|
903
1234
|
|
|
@@ -930,8 +1261,8 @@ on an indeterminate checkbox.</p>
|
|
|
930
1261
|
|
|
931
1262
|
<tr>
|
|
932
1263
|
<td class="col-md-4">
|
|
933
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
934
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1264
|
+
<div class="io-line">Defined in <a href="" data-line="433"
|
|
1265
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:433</a></div>
|
|
935
1266
|
</td>
|
|
936
1267
|
</tr>
|
|
937
1268
|
|
|
@@ -978,14 +1309,123 @@ on an indeterminate checkbox.</p>
|
|
|
978
1309
|
|
|
979
1310
|
<tr>
|
|
980
1311
|
<td class="col-md-4">
|
|
981
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
982
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1312
|
+
<div class="io-line">Defined in <a href="" data-line="381"
|
|
1313
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:381</a></div>
|
|
1314
|
+
</td>
|
|
1315
|
+
</tr>
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
<tr>
|
|
1319
|
+
<td class="col-md-4">
|
|
1320
|
+
|
|
1321
|
+
<div class="io-description">
|
|
1322
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1323
|
+
|
|
1324
|
+
</div>
|
|
1325
|
+
</td>
|
|
1326
|
+
</tr>
|
|
1327
|
+
</tbody>
|
|
1328
|
+
</table>
|
|
1329
|
+
<table class="table table-sm table-bordered">
|
|
1330
|
+
<tbody>
|
|
1331
|
+
<tr>
|
|
1332
|
+
<td class="col-md-4">
|
|
1333
|
+
<a name="isTemplate"></a>
|
|
1334
|
+
<span class="name">
|
|
1335
|
+
<span ><b>isTemplate</b></span>
|
|
1336
|
+
<a href="#isTemplate"><span class="icon ion-ios-link"></span></a>
|
|
1337
|
+
</span>
|
|
1338
|
+
</td>
|
|
1339
|
+
</tr>
|
|
1340
|
+
<tr>
|
|
1341
|
+
<td class="col-md-4">
|
|
1342
|
+
<code>isTemplate(value: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
1343
|
+
</td>
|
|
1344
|
+
</tr>
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
<tr>
|
|
1348
|
+
<td class="col-md-4">
|
|
1349
|
+
<div class="io-line">Defined in <a href="" data-line="455"
|
|
1350
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:455</a></div>
|
|
1351
|
+
</td>
|
|
1352
|
+
</tr>
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
<tr>
|
|
1356
|
+
<td class="col-md-4">
|
|
1357
|
+
<div class="io-description"><p>Returns <code>true</code> when the provided value is a <code>TemplateRef</code>.</p>
|
|
1358
|
+
</div>
|
|
1359
|
+
|
|
1360
|
+
<div class="io-description">
|
|
1361
|
+
<b>Parameters :</b>
|
|
1362
|
+
|
|
1363
|
+
<table class="params">
|
|
1364
|
+
<thead>
|
|
1365
|
+
<tr>
|
|
1366
|
+
<td>Name</td>
|
|
1367
|
+
<td>Type</td>
|
|
1368
|
+
<td>Optional</td>
|
|
1369
|
+
</tr>
|
|
1370
|
+
</thead>
|
|
1371
|
+
<tbody>
|
|
1372
|
+
<tr>
|
|
1373
|
+
<td>value</td>
|
|
1374
|
+
<td>
|
|
1375
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1376
|
+
</td>
|
|
1377
|
+
|
|
1378
|
+
<td>
|
|
1379
|
+
No
|
|
1380
|
+
</td>
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
</tr>
|
|
1384
|
+
</tbody>
|
|
1385
|
+
</table>
|
|
1386
|
+
</div>
|
|
1387
|
+
<div class="io-description">
|
|
1388
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1389
|
+
|
|
1390
|
+
</div>
|
|
1391
|
+
<div class="io-description">
|
|
1392
|
+
|
|
1393
|
+
</div>
|
|
1394
|
+
</td>
|
|
1395
|
+
</tr>
|
|
1396
|
+
</tbody>
|
|
1397
|
+
</table>
|
|
1398
|
+
<table class="table table-sm table-bordered">
|
|
1399
|
+
<tbody>
|
|
1400
|
+
<tr>
|
|
1401
|
+
<td class="col-md-4">
|
|
1402
|
+
<a name="markForCheckFromGroup"></a>
|
|
1403
|
+
<span class="name">
|
|
1404
|
+
<span ><b>markForCheckFromGroup</b></span>
|
|
1405
|
+
<a href="#markForCheckFromGroup"><span class="icon ion-ios-link"></span></a>
|
|
1406
|
+
</span>
|
|
1407
|
+
</td>
|
|
1408
|
+
</tr>
|
|
1409
|
+
<tr>
|
|
1410
|
+
<td class="col-md-4">
|
|
1411
|
+
<code>markForCheckFromGroup()</code>
|
|
1412
|
+
</td>
|
|
1413
|
+
</tr>
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
<tr>
|
|
1417
|
+
<td class="col-md-4">
|
|
1418
|
+
<div class="io-line">Defined in <a href="" data-line="376"
|
|
1419
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:376</a></div>
|
|
983
1420
|
</td>
|
|
984
1421
|
</tr>
|
|
985
1422
|
|
|
986
1423
|
|
|
987
1424
|
<tr>
|
|
988
1425
|
<td class="col-md-4">
|
|
1426
|
+
<div class="io-description"><p>Invoked by <code>CheckboxGroup</code> when group <code>readOnly</code>, <code>invalid</code>, <code>warn</code> change so <code>OnPush</code>
|
|
1427
|
+
checkboxes still refresh inherited state from <code>CHECKBOX_GROUP_HOST</code>.</p>
|
|
1428
|
+
</div>
|
|
989
1429
|
|
|
990
1430
|
<div class="io-description">
|
|
991
1431
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
@@ -1015,8 +1455,8 @@ on an indeterminate checkbox.</p>
|
|
|
1015
1455
|
|
|
1016
1456
|
<tr>
|
|
1017
1457
|
<td class="col-md-4">
|
|
1018
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1019
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1458
|
+
<div class="io-line">Defined in <a href="" data-line="441"
|
|
1459
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:441</a></div>
|
|
1020
1460
|
</td>
|
|
1021
1461
|
</tr>
|
|
1022
1462
|
|
|
@@ -1054,8 +1494,8 @@ on an indeterminate checkbox.</p>
|
|
|
1054
1494
|
|
|
1055
1495
|
<tr>
|
|
1056
1496
|
<td class="col-md-4">
|
|
1057
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1058
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1497
|
+
<div class="io-line">Defined in <a href="" data-line="388"
|
|
1498
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:388</a></div>
|
|
1059
1499
|
</td>
|
|
1060
1500
|
</tr>
|
|
1061
1501
|
|
|
@@ -1123,8 +1563,8 @@ on an indeterminate checkbox.</p>
|
|
|
1123
1563
|
|
|
1124
1564
|
<tr>
|
|
1125
1565
|
<td class="col-md-4">
|
|
1126
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1127
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1566
|
+
<div class="io-line">Defined in <a href="" data-line="395"
|
|
1567
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:395</a></div>
|
|
1128
1568
|
</td>
|
|
1129
1569
|
</tr>
|
|
1130
1570
|
|
|
@@ -1194,8 +1634,8 @@ on an indeterminate checkbox.</p>
|
|
|
1194
1634
|
|
|
1195
1635
|
<tr>
|
|
1196
1636
|
<td class="col-md-4">
|
|
1197
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1198
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1637
|
+
<div class="io-line">Defined in <a href="" data-line="348"
|
|
1638
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:348</a></div>
|
|
1199
1639
|
</td>
|
|
1200
1640
|
</tr>
|
|
1201
1641
|
|
|
@@ -1265,8 +1705,8 @@ on an indeterminate checkbox.</p>
|
|
|
1265
1705
|
|
|
1266
1706
|
<tr>
|
|
1267
1707
|
<td class="col-md-4">
|
|
1268
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1269
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1708
|
+
<div class="io-line">Defined in <a href="" data-line="356"
|
|
1709
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:356</a></div>
|
|
1270
1710
|
</td>
|
|
1271
1711
|
</tr>
|
|
1272
1712
|
|
|
@@ -1341,8 +1781,8 @@ on an indeterminate checkbox.</p>
|
|
|
1341
1781
|
|
|
1342
1782
|
<tr>
|
|
1343
1783
|
<td class="col-md-4">
|
|
1344
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1345
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1784
|
+
<div class="io-line">Defined in <a href="" data-line="462"
|
|
1785
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:462</a></div>
|
|
1346
1786
|
</td>
|
|
1347
1787
|
</tr>
|
|
1348
1788
|
|
|
@@ -1422,8 +1862,8 @@ on an indeterminate checkbox.</p>
|
|
|
1422
1862
|
|
|
1423
1863
|
<tr>
|
|
1424
1864
|
<td class="col-md-4">
|
|
1425
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1426
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1865
|
+
<div class="io-line">Defined in <a href="" data-line="367"
|
|
1866
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:367</a></div>
|
|
1427
1867
|
</td>
|
|
1428
1868
|
</tr>
|
|
1429
1869
|
|
|
@@ -1499,8 +1939,8 @@ on an indeterminate checkbox.</p>
|
|
|
1499
1939
|
|
|
1500
1940
|
<tr>
|
|
1501
1941
|
<td class="col-md-4">
|
|
1502
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1503
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1942
|
+
<div class="io-line">Defined in <a href="" data-line="325"
|
|
1943
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:325</a></div>
|
|
1504
1944
|
</td>
|
|
1505
1945
|
</tr>
|
|
1506
1946
|
|
|
@@ -1538,8 +1978,8 @@ on an indeterminate checkbox.</p>
|
|
|
1538
1978
|
|
|
1539
1979
|
<tr>
|
|
1540
1980
|
<td class="col-md-4">
|
|
1541
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1542
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
1981
|
+
<div class="io-line">Defined in <a href="" data-line="426"
|
|
1982
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:426</a></div>
|
|
1543
1983
|
</td>
|
|
1544
1984
|
</tr>
|
|
1545
1985
|
|
|
@@ -1609,8 +2049,8 @@ on an indeterminate checkbox.</p>
|
|
|
1609
2049
|
|
|
1610
2050
|
<tr>
|
|
1611
2051
|
<td class="col-md-4">
|
|
1612
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1613
|
-
class="link-to-prism">src/checkbox/checkbox.component.ts:
|
|
2052
|
+
<div class="io-line">Defined in <a href="" data-line="340"
|
|
2053
|
+
class="link-to-prism">src/checkbox/checkbox.component.ts:340</a></div>
|
|
1614
2054
|
</td>
|
|
1615
2055
|
</tr>
|
|
1616
2056
|
|
|
@@ -1688,7 +2128,7 @@ on an indeterminate checkbox.</p>
|
|
|
1688
2128
|
</tr>
|
|
1689
2129
|
<tr>
|
|
1690
2130
|
<td class="col-md-4">
|
|
1691
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2131
|
+
<div class="io-line">Defined in <a href="" data-line="276" class="link-to-prism">src/checkbox/checkbox.component.ts:276</a></div>
|
|
1692
2132
|
</td>
|
|
1693
2133
|
</tr>
|
|
1694
2134
|
|
|
@@ -1719,7 +2159,7 @@ on an indeterminate checkbox.</p>
|
|
|
1719
2159
|
</tr>
|
|
1720
2160
|
<tr>
|
|
1721
2161
|
<td class="col-md-4">
|
|
1722
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2162
|
+
<div class="io-line">Defined in <a href="" data-line="280" class="link-to-prism">src/checkbox/checkbox.component.ts:280</a></div>
|
|
1723
2163
|
</td>
|
|
1724
2164
|
</tr>
|
|
1725
2165
|
|
|
@@ -1757,7 +2197,7 @@ on an indeterminate checkbox.</p>
|
|
|
1757
2197
|
</tr>
|
|
1758
2198
|
<tr>
|
|
1759
2199
|
<td class="col-md-4">
|
|
1760
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2200
|
+
<div class="io-line">Defined in <a href="" data-line="128" class="link-to-prism">src/checkbox/checkbox.component.ts:128</a></div>
|
|
1761
2201
|
</td>
|
|
1762
2202
|
</tr>
|
|
1763
2203
|
|
|
@@ -1788,7 +2228,7 @@ on an indeterminate checkbox.</p>
|
|
|
1788
2228
|
</tr>
|
|
1789
2229
|
<tr>
|
|
1790
2230
|
<td class="col-md-4">
|
|
1791
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2231
|
+
<div class="io-line">Defined in <a href="" data-line="285" class="link-to-prism">src/checkbox/checkbox.component.ts:285</a></div>
|
|
1792
2232
|
</td>
|
|
1793
2233
|
</tr>
|
|
1794
2234
|
|
|
@@ -1801,6 +2241,65 @@ on an indeterminate checkbox.</p>
|
|
|
1801
2241
|
|
|
1802
2242
|
</tbody>
|
|
1803
2243
|
</table>
|
|
2244
|
+
<table class="table table-sm table-bordered">
|
|
2245
|
+
<tbody>
|
|
2246
|
+
<tr>
|
|
2247
|
+
<td class="col-md-4">
|
|
2248
|
+
<a name="helperId"></a>
|
|
2249
|
+
<span class="name">
|
|
2250
|
+
<span class="modifier">Readonly</span>
|
|
2251
|
+
<span ><b>helperId</b></span>
|
|
2252
|
+
<a href="#helperId"><span class="icon ion-ios-link"></span></a>
|
|
2253
|
+
</span>
|
|
2254
|
+
</td>
|
|
2255
|
+
</tr>
|
|
2256
|
+
<tr>
|
|
2257
|
+
<td class="col-md-4">
|
|
2258
|
+
<i>Default value : </i><code>`checkbox-helper-${Checkbox.helperIdCounter++}`</code>
|
|
2259
|
+
</td>
|
|
2260
|
+
</tr>
|
|
2261
|
+
<tr>
|
|
2262
|
+
<td class="col-md-4">
|
|
2263
|
+
<div class="io-line">Defined in <a href="" data-line="292" class="link-to-prism">src/checkbox/checkbox.component.ts:292</a></div>
|
|
2264
|
+
</td>
|
|
2265
|
+
</tr>
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
</tbody>
|
|
2269
|
+
</table>
|
|
2270
|
+
<table class="table table-sm table-bordered">
|
|
2271
|
+
<tbody>
|
|
2272
|
+
<tr>
|
|
2273
|
+
<td class="col-md-4">
|
|
2274
|
+
<a name="helperIdCounter"></a>
|
|
2275
|
+
<span class="name">
|
|
2276
|
+
<span class="modifier">Private</span>
|
|
2277
|
+
<span class="modifier">Static</span>
|
|
2278
|
+
<span ><b>helperIdCounter</b></span>
|
|
2279
|
+
<a href="#helperIdCounter"><span class="icon ion-ios-link"></span></a>
|
|
2280
|
+
</span>
|
|
2281
|
+
</td>
|
|
2282
|
+
</tr>
|
|
2283
|
+
<tr>
|
|
2284
|
+
<td class="col-md-4">
|
|
2285
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
2286
|
+
|
|
2287
|
+
</td>
|
|
2288
|
+
</tr>
|
|
2289
|
+
<tr>
|
|
2290
|
+
<td class="col-md-4">
|
|
2291
|
+
<i>Default value : </i><code>0</code>
|
|
2292
|
+
</td>
|
|
2293
|
+
</tr>
|
|
2294
|
+
<tr>
|
|
2295
|
+
<td class="col-md-4">
|
|
2296
|
+
<div class="io-line">Defined in <a href="" data-line="130" class="link-to-prism">src/checkbox/checkbox.component.ts:130</a></div>
|
|
2297
|
+
</td>
|
|
2298
|
+
</tr>
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
</tbody>
|
|
2302
|
+
</table>
|
|
1804
2303
|
<table class="table table-sm table-bordered">
|
|
1805
2304
|
<tbody>
|
|
1806
2305
|
<tr>
|
|
@@ -1830,7 +2329,7 @@ on an indeterminate checkbox.</p>
|
|
|
1830
2329
|
</tr>
|
|
1831
2330
|
<tr>
|
|
1832
2331
|
<td class="col-md-4">
|
|
1833
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2332
|
+
<div class="io-line">Defined in <a href="" data-line="290" class="link-to-prism">src/checkbox/checkbox.component.ts:290</a></div>
|
|
1834
2333
|
</td>
|
|
1835
2334
|
</tr>
|
|
1836
2335
|
|
|
@@ -1867,7 +2366,7 @@ on an indeterminate checkbox.</p>
|
|
|
1867
2366
|
</tr>
|
|
1868
2367
|
<tr>
|
|
1869
2368
|
<td class="col-md-4">
|
|
1870
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2369
|
+
<div class="io-line">Defined in <a href="" data-line="421" class="link-to-prism">src/checkbox/checkbox.component.ts:421</a></div>
|
|
1871
2370
|
</td>
|
|
1872
2371
|
</tr>
|
|
1873
2372
|
|
|
@@ -1898,7 +2397,7 @@ on an indeterminate checkbox.</p>
|
|
|
1898
2397
|
</tr>
|
|
1899
2398
|
<tr>
|
|
1900
2399
|
<td class="col-md-4">
|
|
1901
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2400
|
+
<div class="io-line">Defined in <a href="" data-line="450" class="link-to-prism">src/checkbox/checkbox.component.ts:450</a></div>
|
|
1902
2401
|
</td>
|
|
1903
2402
|
</tr>
|
|
1904
2403
|
|
|
@@ -1933,7 +2432,7 @@ on an indeterminate checkbox.</p>
|
|
|
1933
2432
|
</tr>
|
|
1934
2433
|
<tr>
|
|
1935
2434
|
<td class="col-md-4">
|
|
1936
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2435
|
+
<div class="io-line">Defined in <a href="" data-line="235" class="link-to-prism">src/checkbox/checkbox.component.ts:235</a></div>
|
|
1937
2436
|
</td>
|
|
1938
2437
|
</tr>
|
|
1939
2438
|
<tr>
|
|
@@ -1951,7 +2450,7 @@ on an indeterminate checkbox.</p>
|
|
|
1951
2450
|
</tr>
|
|
1952
2451
|
<tr>
|
|
1953
2452
|
<td class="col-md-4">
|
|
1954
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2453
|
+
<div class="io-line">Defined in <a href="" data-line="212" class="link-to-prism">src/checkbox/checkbox.component.ts:212</a></div>
|
|
1955
2454
|
</td>
|
|
1956
2455
|
</tr>
|
|
1957
2456
|
<tr>
|
|
@@ -2012,7 +2511,7 @@ on an indeterminate checkbox.</p>
|
|
|
2012
2511
|
</tr>
|
|
2013
2512
|
<tr>
|
|
2014
2513
|
<td class="col-md-4">
|
|
2015
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2514
|
+
<div class="io-line">Defined in <a href="" data-line="251" class="link-to-prism">src/checkbox/checkbox.component.ts:251</a></div>
|
|
2016
2515
|
</td>
|
|
2017
2516
|
</tr>
|
|
2018
2517
|
<tr>
|
|
@@ -2030,7 +2529,7 @@ on an indeterminate checkbox.</p>
|
|
|
2030
2529
|
</tr>
|
|
2031
2530
|
<tr>
|
|
2032
2531
|
<td class="col-md-4">
|
|
2033
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2532
|
+
<div class="io-line">Defined in <a href="" data-line="244" class="link-to-prism">src/checkbox/checkbox.component.ts:244</a></div>
|
|
2034
2533
|
</td>
|
|
2035
2534
|
</tr>
|
|
2036
2535
|
<tr>
|
|
@@ -2075,6 +2574,72 @@ on an indeterminate checkbox.</p>
|
|
|
2075
2574
|
</tr>
|
|
2076
2575
|
</tbody>
|
|
2077
2576
|
</table>
|
|
2577
|
+
<table class="table table-sm table-bordered">
|
|
2578
|
+
<tbody>
|
|
2579
|
+
<tr>
|
|
2580
|
+
<td class="col-md-4">
|
|
2581
|
+
<a name="effectiveReadOnly"></a>
|
|
2582
|
+
<span class="name"><b>effectiveReadOnly</b><a href="#effectiveReadOnly"><span class="icon ion-ios-link"></span></a></span>
|
|
2583
|
+
</td>
|
|
2584
|
+
</tr>
|
|
2585
|
+
|
|
2586
|
+
<tr>
|
|
2587
|
+
<td class="col-md-4">
|
|
2588
|
+
<span class="accessor"><b>get</b><code>effectiveReadOnly()</code></span>
|
|
2589
|
+
</td>
|
|
2590
|
+
</tr>
|
|
2591
|
+
<tr>
|
|
2592
|
+
<td class="col-md-4">
|
|
2593
|
+
<div class="io-line">Defined in <a href="" data-line="304" class="link-to-prism">src/checkbox/checkbox.component.ts:304</a></div>
|
|
2594
|
+
</td>
|
|
2595
|
+
</tr>
|
|
2596
|
+
|
|
2597
|
+
</tbody>
|
|
2598
|
+
</table>
|
|
2599
|
+
<table class="table table-sm table-bordered">
|
|
2600
|
+
<tbody>
|
|
2601
|
+
<tr>
|
|
2602
|
+
<td class="col-md-4">
|
|
2603
|
+
<a name="effectiveInvalid"></a>
|
|
2604
|
+
<span class="name"><b>effectiveInvalid</b><a href="#effectiveInvalid"><span class="icon ion-ios-link"></span></a></span>
|
|
2605
|
+
</td>
|
|
2606
|
+
</tr>
|
|
2607
|
+
|
|
2608
|
+
<tr>
|
|
2609
|
+
<td class="col-md-4">
|
|
2610
|
+
<span class="accessor"><b>get</b><code>effectiveInvalid()</code></span>
|
|
2611
|
+
</td>
|
|
2612
|
+
</tr>
|
|
2613
|
+
<tr>
|
|
2614
|
+
<td class="col-md-4">
|
|
2615
|
+
<div class="io-line">Defined in <a href="" data-line="310" class="link-to-prism">src/checkbox/checkbox.component.ts:310</a></div>
|
|
2616
|
+
</td>
|
|
2617
|
+
</tr>
|
|
2618
|
+
|
|
2619
|
+
</tbody>
|
|
2620
|
+
</table>
|
|
2621
|
+
<table class="table table-sm table-bordered">
|
|
2622
|
+
<tbody>
|
|
2623
|
+
<tr>
|
|
2624
|
+
<td class="col-md-4">
|
|
2625
|
+
<a name="effectiveWarn"></a>
|
|
2626
|
+
<span class="name"><b>effectiveWarn</b><a href="#effectiveWarn"><span class="icon ion-ios-link"></span></a></span>
|
|
2627
|
+
</td>
|
|
2628
|
+
</tr>
|
|
2629
|
+
|
|
2630
|
+
<tr>
|
|
2631
|
+
<td class="col-md-4">
|
|
2632
|
+
<span class="accessor"><b>get</b><code>effectiveWarn()</code></span>
|
|
2633
|
+
</td>
|
|
2634
|
+
</tr>
|
|
2635
|
+
<tr>
|
|
2636
|
+
<td class="col-md-4">
|
|
2637
|
+
<div class="io-line">Defined in <a href="" data-line="316" class="link-to-prism">src/checkbox/checkbox.component.ts:316</a></div>
|
|
2638
|
+
</td>
|
|
2639
|
+
</tr>
|
|
2640
|
+
|
|
2641
|
+
</tbody>
|
|
2642
|
+
</table>
|
|
2078
2643
|
</section>
|
|
2079
2644
|
</div>
|
|
2080
2645
|
|
|
@@ -2087,13 +2652,17 @@ on an indeterminate checkbox.</p>
|
|
|
2087
2652
|
Component,
|
|
2088
2653
|
ElementRef,
|
|
2089
2654
|
EventEmitter,
|
|
2655
|
+
Inject,
|
|
2090
2656
|
Input,
|
|
2657
|
+
Optional,
|
|
2091
2658
|
Output,
|
|
2659
|
+
TemplateRef,
|
|
2092
2660
|
ViewChild,
|
|
2093
2661
|
HostListener
|
|
2094
2662
|
} from "@angular/core";
|
|
2095
2663
|
import { NG_VALUE_ACCESSOR, ControlValueAccessor } from "@angular/forms";
|
|
2096
2664
|
import { CheckboxValue } from "./checkbox.types";
|
|
2665
|
+
import { CHECKBOX_GROUP_HOST, CheckboxGroupHost } from "./checkbox-group-host";
|
|
2097
2666
|
|
|
2098
2667
|
/**
|
|
2099
2668
|
* Defines the set of states for a checkbox component.
|
|
@@ -2117,7 +2686,13 @@ export enum CheckboxState {
|
|
|
2117
2686
|
@Component({
|
|
2118
2687
|
selector: "cds-checkbox, ibm-checkbox",
|
|
2119
2688
|
template: `
|
|
2120
|
-
<div class="cds--form-item cds--checkbox-wrapper"
|
|
2689
|
+
<div class="cds--form-item cds--checkbox-wrapper"
|
|
2690
|
+
[ngClass]="{
|
|
2691
|
+
'cds--checkbox-wrapper--invalid': !effectiveReadOnly && effectiveInvalid,
|
|
2692
|
+
'cds--checkbox-wrapper--warning': !effectiveReadOnly && !effectiveInvalid && effectiveWarn,
|
|
2693
|
+
'cds--checkbox-wrapper--readonly': effectiveReadOnly,
|
|
2694
|
+
'cds--checkbox-wrapper--decorator': !!decorator
|
|
2695
|
+
}">
|
|
2121
2696
|
<input
|
|
2122
2697
|
#inputCheckbox
|
|
2123
2698
|
class="cds--checkbox"
|
|
@@ -2128,20 +2703,60 @@ export enum CheckboxState {
|
|
|
2128
2703
|
[required]="required"
|
|
2129
2704
|
[checked]="checked"
|
|
2130
2705
|
[disabled]="disabled"
|
|
2706
|
+
[attr.data-invalid]="(!effectiveReadOnly && effectiveInvalid) ? true : null"
|
|
2707
|
+
[attr.aria-readonly]="effectiveReadOnly ? true : null"
|
|
2131
2708
|
[attr.aria-labelledby]="ariaLabelledby"
|
|
2709
|
+
[attr.aria-describedby]="(helperText && !effectiveInvalid && !effectiveWarn) ? helperId : null"
|
|
2132
2710
|
(change)="onChange($event)"
|
|
2133
2711
|
(click)="onClick($event)">
|
|
2134
2712
|
<label
|
|
2135
2713
|
[for]="id + '_input'"
|
|
2136
2714
|
[attr.aria-label]="ariaLabel"
|
|
2715
|
+
[attr.title]="title || null"
|
|
2137
2716
|
class="cds--checkbox-label"
|
|
2138
2717
|
[ngClass]="{
|
|
2139
2718
|
'cds--skeleton' : skeleton
|
|
2140
2719
|
}">
|
|
2141
2720
|
<span [ngClass]="{'cds--visually-hidden' : hideLabel}" class="cds--checkbox-label-text">
|
|
2142
2721
|
<ng-content></ng-content>
|
|
2722
|
+
<ng-container *ngIf="decorator">
|
|
2723
|
+
<div class="cds--checkbox-wrapper-inner--decorator">
|
|
2724
|
+
<ng-template [ngTemplateOutlet]="decorator"></ng-template>
|
|
2725
|
+
</div>
|
|
2726
|
+
</ng-container>
|
|
2143
2727
|
</span>
|
|
2144
2728
|
</label>
|
|
2729
|
+
<div class="cds--checkbox__validation-msg">
|
|
2730
|
+
<ng-container *ngIf="!effectiveReadOnly && effectiveInvalid">
|
|
2731
|
+
<svg
|
|
2732
|
+
cdsIcon="warning--filled"
|
|
2733
|
+
size="16"
|
|
2734
|
+
class="cds--checkbox__invalid-icon">
|
|
2735
|
+
</svg>
|
|
2736
|
+
<div class="cds--form-requirement">
|
|
2737
|
+
<ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container>
|
|
2738
|
+
<ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="$any(invalidText)"></ng-template>
|
|
2739
|
+
</div>
|
|
2740
|
+
</ng-container>
|
|
2741
|
+
<ng-container *ngIf="!effectiveReadOnly && !effectiveInvalid && effectiveWarn">
|
|
2742
|
+
<svg
|
|
2743
|
+
cdsIcon="warning--alt--filled"
|
|
2744
|
+
size="16"
|
|
2745
|
+
class="cds--checkbox__invalid-icon cds--checkbox__invalid-icon--warning">
|
|
2746
|
+
</svg>
|
|
2747
|
+
<div class="cds--form-requirement">
|
|
2748
|
+
<ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>
|
|
2749
|
+
<ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="$any(warnText)"></ng-template>
|
|
2750
|
+
</div>
|
|
2751
|
+
</ng-container>
|
|
2752
|
+
</div>
|
|
2753
|
+
<div
|
|
2754
|
+
*ngIf="helperText && !effectiveInvalid && !effectiveWarn"
|
|
2755
|
+
class="cds--form__helper-text"
|
|
2756
|
+
[id]="helperId">
|
|
2757
|
+
<ng-container *ngIf="!isTemplate(helperText)">{{helperText}}</ng-container>
|
|
2758
|
+
<ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="$any(helperText)"></ng-template>
|
|
2759
|
+
</div>
|
|
2145
2760
|
</div>
|
|
2146
2761
|
`,
|
|
2147
2762
|
providers: [
|
|
@@ -2159,6 +2774,8 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
|
|
|
2159
2774
|
*/
|
|
2160
2775
|
static checkboxCount = 0;
|
|
2161
2776
|
|
|
2777
|
+
private static helperIdCounter = 0;
|
|
2778
|
+
|
|
2162
2779
|
/**
|
|
2163
2780
|
* Set to `true` for a disabled checkbox.
|
|
2164
2781
|
*/
|
|
@@ -2190,6 +2807,50 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
|
|
|
2190
2807
|
@Input() ariaLabel: string;
|
|
2191
2808
|
@Input() ariaLabelledby: string;
|
|
2192
2809
|
|
|
2810
|
+
/**
|
|
2811
|
+
* Optional title for the `<label>` element.
|
|
2812
|
+
*/
|
|
2813
|
+
@Input() title = "";
|
|
2814
|
+
|
|
2815
|
+
/**
|
|
2816
|
+
* Optional helper text displayed below the checkbox label.
|
|
2817
|
+
* Not shown when `invalid` or `warn` is `true`.
|
|
2818
|
+
*/
|
|
2819
|
+
@Input() helperText: string | TemplateRef<any>;
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* Set to `true` to show the checkbox in an invalid/error state.
|
|
2823
|
+
* When omitted inside a `cds-checkbox-group`, the group's `invalid` value applies.
|
|
2824
|
+
*/
|
|
2825
|
+
@Input() invalid?: boolean;
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* The error message displayed when `invalid` is `true`.
|
|
2829
|
+
*/
|
|
2830
|
+
@Input() invalidText: string | TemplateRef<any>;
|
|
2831
|
+
|
|
2832
|
+
/**
|
|
2833
|
+
* Set to `true` to show the checkbox in a warning state.
|
|
2834
|
+
* When omitted inside a `cds-checkbox-group`, the group's `warn` value applies.
|
|
2835
|
+
*/
|
|
2836
|
+
@Input() warn?: boolean;
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* The warning message displayed when `warn` is `true` and `invalid` is `false`.
|
|
2840
|
+
*/
|
|
2841
|
+
@Input() warnText: string | TemplateRef<any>;
|
|
2842
|
+
|
|
2843
|
+
/**
|
|
2844
|
+
* When `true`, the checkbox cannot be toggled (matches `readonly` attribute semantics for form controls).
|
|
2845
|
+
* When omitted inside a `cds-checkbox-group`, the group's `readOnly` value applies.
|
|
2846
|
+
*/
|
|
2847
|
+
@Input() readOnly?: boolean;
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* Optional `TemplateRef` (e.g. AI label) rendered next to the label text.
|
|
2851
|
+
*/
|
|
2852
|
+
@Input() decorator: TemplateRef<any>;
|
|
2853
|
+
|
|
2193
2854
|
/**
|
|
2194
2855
|
* Set the checkbox's indeterminate state to match the parameter and transition the view to reflect the change.
|
|
2195
2856
|
*
|
|
@@ -2275,17 +2936,43 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
|
|
|
2275
2936
|
*/
|
|
2276
2937
|
@ViewChild("inputCheckbox") inputCheckbox: ElementRef;
|
|
2277
2938
|
|
|
2939
|
+
readonly helperId = `checkbox-helper-${Checkbox.helperIdCounter++}`;
|
|
2940
|
+
|
|
2278
2941
|
/**
|
|
2279
2942
|
* Creates an instance of `Checkbox`.
|
|
2280
2943
|
*/
|
|
2281
|
-
constructor(
|
|
2944
|
+
constructor(
|
|
2945
|
+
protected changeDetectorRef: ChangeDetectorRef,
|
|
2946
|
+
@Optional() @Inject(CHECKBOX_GROUP_HOST) private hostGroup: CheckboxGroupHost | null
|
|
2947
|
+
) {
|
|
2282
2948
|
Checkbox.checkboxCount++;
|
|
2283
2949
|
}
|
|
2284
2950
|
|
|
2951
|
+
get effectiveReadOnly(): boolean {
|
|
2952
|
+
const own = this.readOnly;
|
|
2953
|
+
const group = this.hostGroup?.readOnly ?? false;
|
|
2954
|
+
return !!(own !== undefined ? own : group);
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
get effectiveInvalid(): boolean {
|
|
2958
|
+
const own = this.invalid;
|
|
2959
|
+
const group = this.hostGroup?.invalid ?? false;
|
|
2960
|
+
return !!(own !== undefined ? own : group);
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
get effectiveWarn(): boolean {
|
|
2964
|
+
const own = this.warn;
|
|
2965
|
+
const group = this.hostGroup?.warn ?? false;
|
|
2966
|
+
return !!(own !== undefined ? own : group);
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2285
2969
|
/**
|
|
2286
2970
|
* Toggle the selected state of the checkbox.
|
|
2287
2971
|
*/
|
|
2288
2972
|
public toggle() {
|
|
2973
|
+
if (this.effectiveReadOnly) {
|
|
2974
|
+
return;
|
|
2975
|
+
}
|
|
2289
2976
|
// Flip checked and reset indeterminate
|
|
2290
2977
|
this.setChecked(!this.checked, true);
|
|
2291
2978
|
}
|
|
@@ -2329,6 +3016,14 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
|
|
|
2329
3016
|
this.changeDetectorRef.markForCheck();
|
|
2330
3017
|
}
|
|
2331
3018
|
|
|
3019
|
+
/**
|
|
3020
|
+
* Invoked by `CheckboxGroup` when group `readOnly`, `invalid`, `warn` change so `OnPush`
|
|
3021
|
+
* checkboxes still refresh inherited state from `CHECKBOX_GROUP_HOST`.
|
|
3022
|
+
*/
|
|
3023
|
+
markForCheckFromGroup(): void {
|
|
3024
|
+
this.changeDetectorRef.markForCheck();
|
|
3025
|
+
}
|
|
3026
|
+
|
|
2332
3027
|
@HostListener("focusout")
|
|
2333
3028
|
focusOut() {
|
|
2334
3029
|
this.onTouched();
|
|
@@ -2345,6 +3040,13 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
|
|
|
2345
3040
|
* Handles click events on the `Checkbox` and emits changes to other classes.
|
|
2346
3041
|
*/
|
|
2347
3042
|
onClick(event: Event) {
|
|
3043
|
+
if (this.effectiveReadOnly) {
|
|
3044
|
+
event.preventDefault();
|
|
3045
|
+
if (this.click.observers.length) {
|
|
3046
|
+
this.click.emit();
|
|
3047
|
+
}
|
|
3048
|
+
return;
|
|
3049
|
+
}
|
|
2348
3050
|
if (this.click.observers.length) {
|
|
2349
3051
|
// Disable default checkbox activation behavior which flips checked and resets indeterminate.
|
|
2350
3052
|
// This allows the parent component to control the checked/indeterminate properties.
|
|
@@ -2394,6 +3096,13 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
|
|
|
2394
3096
|
*/
|
|
2395
3097
|
propagateChange = (_: any) => {};
|
|
2396
3098
|
|
|
3099
|
+
/**
|
|
3100
|
+
* Returns `true` when the provided value is a `TemplateRef`.
|
|
3101
|
+
*/
|
|
3102
|
+
isTemplate(value: any): boolean {
|
|
3103
|
+
return value instanceof TemplateRef;
|
|
3104
|
+
}
|
|
3105
|
+
|
|
2397
3106
|
/**
|
|
2398
3107
|
* Sets checked state and optionally resets indeterminate state.
|
|
2399
3108
|
*/
|
|
@@ -2442,8 +3151,8 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
|
|
|
2442
3151
|
<script src="../js/libs/htmlparser.js"></script>
|
|
2443
3152
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
2444
3153
|
<script>
|
|
2445
|
-
var COMPONENT_TEMPLATE = '<div><div class="cds--form-item cds--checkbox-wrapper"> <input #inputCheckbox class="cds--checkbox" type="checkbox" [id]="id + \'_input\'" [value]="value" [name]="name" [required]="required" [checked]="checked" [disabled]="disabled" [attr.aria-labelledby]="ariaLabelledby" (change)="onChange($event)" (click)="onClick($event)"> <label [for]="id + \'_input\'" [attr.aria-label]="ariaLabel" class="cds--checkbox-label" [ngClass]="{ \'cds--skeleton\' : skeleton }"> <span [ngClass]="{\'cds--visually-hidden\' : hideLabel}" class="cds--checkbox-label-text"> <ng-content></ng-content> </span> </label></div> </div>'
|
|
2446
|
-
var COMPONENTS = [{'name': 'Accordion', 'selector': 'cds-accordion, ibm-accordion'},{'name': 'AccordionItem', 'selector': 'cds-accordion-item, ibm-accordion-item'},{'name': 'ActionableNotification', 'selector': 'cds-actionable-notification, ibm-actionable-notification'},{'name': 'AILabelComponent', 'selector': 'cds-ai-label, ibm-ai-label'},{'name': 'AlertModal', 'selector': 'cds-alert-modal, ibm-alert-modal'},{'name': 'BaseIconButton', 'selector': ''},{'name': 'BaseNotification', 'selector': ''},{'name': 'BaseTabHeader', 'selector': ''},{'name': 'Breadcrumb', 'selector': 'cds-breadcrumb, ibm-breadcrumb'},{'name': 'BreadcrumbItemComponent', 'selector': 'cds-breadcrumb-item, ibm-breadcrumb-item'},{'name': 'ButtonSet', 'selector': 'cds-button-set, ibm-button-set'},{'name': 'Checkbox', 'selector': 'cds-checkbox, ibm-checkbox'},{'name': 'ClickableTile', 'selector': 'cds-clickable-tile, ibm-clickable-tile'},{'name': 'CodeSnippet', 'selector': 'cds-code-snippet, ibm-code-snippet'},{'name': 'ComboBox', 'selector': 'cds-combo-box, ibm-combo-box'},{'name': 'ComboButtonComponent', 'selector': 'cds-combo-button'},{'name': 'ContainedList', 'selector': 'cds-contained-list, ibm-contained-list'},{'name': 'ContainedListItem', 'selector': 'cds-contained-list-item, ibm-contained-list-item'},{'name': 'ContentSwitcher', 'selector': 'cds-content-switcher, ibm-content-switcher'},{'name': 'ContextMenuComponent', 'selector': 'cds-menu, cds-context-menu, ibm-context-menu'},{'name': 'ContextMenuDividerComponent', 'selector': 'cds-menu-divider, cds-context-menu-divider, ibm-context-menu-divider'},{'name': 'ContextMenuGroupComponent', 'selector': 'cds-menu-group, cds-context-menu-group, ibm-context-menu-group'},{'name': 'ContextMenuItemComponent', 'selector': 'cds-menu-item, cds-context-menu-item, ibm-context-menu-item'},{'name': 'DatePicker', 'selector': 'cds-date-picker, ibm-date-picker'},{'name': 'DatePickerInput', 'selector': 'cds-date-picker-input, ibm-date-picker-input'},{'name': 'Dialog', 'selector': 'cds-dialog, ibm-dialog'},{'name': 'Documentation', 'selector': 'cds-documentation'},{'name': 'Dropdown', 'selector': 'cds-dropdown, ibm-dropdown'},{'name': 'DropdownList', 'selector': 'cds-dropdown-list, ibm-dropdown-list'},{'name': 'ExpandableTile', 'selector': 'cds-expandable-tile, ibm-expandable-tile'},{'name': 'FileComponent', 'selector': 'cds-file, ibm-file'},{'name': 'FileUploader', 'selector': 'cds-file-uploader, ibm-file-uploader'},{'name': 'Hamburger', 'selector': 'cds-hamburger, ibm-hamburger'},{'name': 'Header', 'selector': 'cds-header, ibm-header'},{'name': 'HeaderAction', 'selector': 'cds-header-action, ibm-header-action'},{'name': 'HeaderGlobal', 'selector': 'cds-header-global, ibm-header-global'},{'name': 'HeaderItem', 'selector': 'cds-header-item, ibm-header-item'},{'name': 'HeaderMenu', 'selector': 'cds-header-menu, ibm-header-menu'},{'name': 'HeaderNavigation', 'selector': 'cds-header-navigation, ibm-header-navigation'},{'name': 'IconButton', 'selector': 'cds-icon-button, ibm-icon-button'},{'name': 'InlineLoading', 'selector': 'cds-inline-loading, ibm-inline-loading'},{'name': 'Label', 'selector': 'cds-label, ibm-label'},{'name': 'ListColumn', 'selector': 'cds-list-column, ibm-list-column'},{'name': 'ListHeader', 'selector': 'cds-list-header, ibm-list-header'},{'name': 'ListRow', 'selector': 'cds-list-row, ibm-list-row'},{'name': 'Loading', 'selector': 'cds-loading, ibm-loading'},{'name': 'MenuButtonComponent', 'selector': 'cds-menu-button'},{'name': 'Modal', 'selector': 'cds-modal, ibm-modal'},{'name': 'ModalFooter', 'selector': 'cds-modal-footer, ibm-modal-footer'},{'name': 'ModalHeader', 'selector': 'cds-modal-header, ibm-modal-header'},{'name': 'Notification', 'selector': 'cds-notification, cds-inline-notification, ibm-notification, ibm-inline-notification'},{'name': 'NumberComponent', 'selector': 'cds-number, ibm-number'},{'name': 'OverflowMenu', 'selector': 'cds-overflow-menu, ibm-overflow-menu'},{'name': 'OverflowMenuCustomPane', 'selector': 'cds-overflow-custom-menu-pane, ibm-overflow-custom-menu-pane'},{'name': 'OverflowMenuOption', 'selector': 'cds-overflow-menu-option, ibm-overflow-menu-option'},{'name': 'OverflowMenuPane', 'selector': 'cds-overflow-menu-pane, ibm-overflow-menu-pane'},{'name': 'Overlay', 'selector': 'cds-overlay, ibm-overlay'},{'name': 'Pagination', 'selector': 'cds-pagination, ibm-pagination'},{'name': 'PaginationNav', 'selector': 'cds-pagination-nav, ibm-pagination-navm'},{'name': 'PaginationNavItem', 'selector': 'cds-pagination-nav-item, ibm-pagination-nav-item'},{'name': 'PaginationOverflow', 'selector': 'cds-pagination-overflow, ibm-pagination-overflow'},{'name': 'Panel', 'selector': 'cds-panel, ibm-panel'},{'name': 'PasswordInputLabelComponent', 'selector': 'cds-password-label, ibm-password-label'},{'name': 'Placeholder', 'selector': 'cds-placeholder, ibm-placeholder'},{'name': 'PopoverContent', 'selector': 'cds-popover-content, ibm-popover-content'},{'name': 'ProgressBar', 'selector': 'cds-progress-bar, ibm-progress-bar'},{'name': 'ProgressIndicator', 'selector': 'cds-progress-indicator, ibm-progress-indicator'},{'name': 'Radio', 'selector': 'cds-radio, ibm-radio'},{'name': 'RadioGroup', 'selector': 'cds-radio-group, ibm-radio-group'},{'name': 'Search', 'selector': 'cds-search, ibm-search'},{'name': 'Select', 'selector': 'cds-select, ibm-select'},{'name': 'SelectionTile', 'selector': 'cds-selection-tile, ibm-selection-tile'},{'name': 'SideNav', 'selector': 'cds-sidenav, ibm-sidenav'},{'name': 'SideNavItem', 'selector': 'cds-sidenav-item, ibm-sidenav-item'},{'name': 'SideNavMenu', 'selector': 'cds-sidenav-menu, ibm-sidenav-menu'},{'name': 'SkeletonPlaceholder', 'selector': 'cds-skeleton-placeholder, ibm-skeleton-placeholder'},{'name': 'SkeletonText', 'selector': 'cds-skeleton-text, ibm-skeleton-text'},{'name': 'Slider', 'selector': 'cds-slider, ibm-slider'},{'name': 'StructuredList', 'selector': 'cds-structured-list, ibm-structured-list'},{'name': 'SwitcherList', 'selector': 'cds-switcher-list, ibm-switcher-list'},{'name': 'SwitcherListItem', 'selector': 'cds-switcher-list-item, ibm-switcher-list-item'},{'name': 'Tab', 'selector': 'cds-tab, ibm-tab'},{'name': 'TabHeaderGroup', 'selector': 'cds-tab-header-group, ibm-tab-header-group'},{'name': 'TabHeaders', 'selector': 'cds-tab-headers, ibm-tab-headers'},{'name': 'Table', 'selector': 'cds-table, ibm-table'},{'name': 'TableBody', 'selector': '[cdsTableBody], [ibmTableBody]'},{'name': 'TableCheckbox', 'selector': '[cdsTableCheckbox], [ibmTableCheckbox]'},{'name': 'TableContainer', 'selector': 'cds-table-container, ibm-table-container'},{'name': 'TableData', 'selector': '[cdsTableData], [ibmTableData]'},{'name': 'TableExpandButton', 'selector': '[cdsTableExpandButton], [ibmTableExpandButton]'},{'name': 'TableExpandedRow', 'selector': '[cdsTableExpandedRow], [ibmTableExpandedRow]'},{'name': 'TableHead', 'selector': '[cdsTableHead], [ibmTableHead]'},{'name': 'TableHeadCell', 'selector': '[cdsTableHeadCell], [ibmTableHeadCell]'},{'name': 'TableHeadCheckbox', 'selector': '[cdsTableHeadCheckbox], [ibmTableHeadCheckbox]'},{'name': 'TableHeader', 'selector': 'cds-table-header, ibm-table-header'},{'name': 'TableHeaderDecorator', 'selector': 'cds-table-header-decorator, ibm-table-header-decorator'},{'name': 'TableHeadExpand', 'selector': '[cdsTableHeadExpand], [ibmTableHeadExpand]'},{'name': 'TableRadio', 'selector': '[cdsTableRadio], [ibmTableRadio]'},{'name': 'TableRowComponent', 'selector': '[cdsTableRow], [ibmTableRow]'},{'name': 'TableToolbar', 'selector': 'cds-table-toolbar, ibm-table-toolbar'},{'name': 'TableToolbarActions', 'selector': 'cds-table-toolbar-actions, ibm-table-toolbar-actions'},{'name': 'TableToolbarContent', 'selector': 'cds-table-toolbar-content, ibm-table-toolbar-content'},{'name': 'TableToolbarSearch', 'selector': 'cds-table-toolbar-search, ibm-table-toolbar-search'},{'name': 'Tabs', 'selector': 'cds-tabs, ibm-tabs'},{'name': 'TabSkeleton', 'selector': 'cds-tabs-skeleton, ibm-tabs-skeleton'},{'name': 'Tag', 'selector': 'cds-tag, ibm-tag'},{'name': 'TagFilter', 'selector': 'cds-tag-filter, ibm-tag-filter'},{'name': 'TagOperationalComponent', 'selector': 'cds-tag-operational, ibm-tag-operational'},{'name': 'TagSelectableComponent', 'selector': 'cds-tag-selectable, ibm-tag-selectable'},{'name': 'TextareaLabelComponent', 'selector': 'cds-textarea-label, ibm-textarea-label'},{'name': 'TextInputLabelComponent', 'selector': 'cds-text-label, ibm-text-label'},{'name': 'Tile', 'selector': 'cds-tile, ibm-tile'},{'name': 'TileGroup', 'selector': 'cds-tile-group, ibm-tile-group'},{'name': 'TimePicker', 'selector': 'cds-timepicker, ibm-timepicker'},{'name': 'TimePickerSelect', 'selector': 'cds-timepicker-select, ibm-timepicker-select'},{'name': 'Toast', 'selector': 'cds-toast, ibm-toast'},{'name': 'Toggle', 'selector': 'cds-toggle, ibm-toggle'},{'name': 'Toggletip', 'selector': 'cds-toggletip, ibm-toggletip'},{'name': 'Tooltip', 'selector': 'cds-tooltip, ibm-tooltip'},{'name': 'TooltipDefinition', 'selector': 'cds-tooltip-definition, ibm-tooltip-definition'},{'name': 'TreeNodeComponent', 'selector': 'cds-tree-node'},{'name': 'TreeViewComponent', 'selector': 'cds-tree-view'}];
|
|
3154
|
+
var COMPONENT_TEMPLATE = '<div><div class="cds--form-item cds--checkbox-wrapper" [ngClass]="{ \'cds--checkbox-wrapper--invalid\': !effectiveReadOnly && effectiveInvalid, \'cds--checkbox-wrapper--warning\': !effectiveReadOnly && !effectiveInvalid && effectiveWarn, \'cds--checkbox-wrapper--readonly\': effectiveReadOnly, \'cds--checkbox-wrapper--decorator\': !!decorator }"> <input #inputCheckbox class="cds--checkbox" type="checkbox" [id]="id + \'_input\'" [value]="value" [name]="name" [required]="required" [checked]="checked" [disabled]="disabled" [attr.data-invalid]="(!effectiveReadOnly && effectiveInvalid) ? true : null" [attr.aria-readonly]="effectiveReadOnly ? true : null" [attr.aria-labelledby]="ariaLabelledby" [attr.aria-describedby]="(helperText && !effectiveInvalid && !effectiveWarn) ? helperId : null" (change)="onChange($event)" (click)="onClick($event)"> <label [for]="id + \'_input\'" [attr.aria-label]="ariaLabel" [attr.title]="title || null" class="cds--checkbox-label" [ngClass]="{ \'cds--skeleton\' : skeleton }"> <span [ngClass]="{\'cds--visually-hidden\' : hideLabel}" class="cds--checkbox-label-text"> <ng-content></ng-content> <ng-container *ngIf="decorator"> <div class="cds--checkbox-wrapper-inner--decorator"> <ng-template [ngTemplateOutlet]="decorator"></ng-template> </div> </ng-container> </span> </label> <div class="cds--checkbox__validation-msg"> <ng-container *ngIf="!effectiveReadOnly && effectiveInvalid"> <svg cdsIcon="warning--filled" size="16" class="cds--checkbox__invalid-icon"> </svg> <div class="cds--form-requirement"> <ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container> <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="$any(invalidText)"></ng-template> </div> </ng-container> <ng-container *ngIf="!effectiveReadOnly && !effectiveInvalid && effectiveWarn"> <svg cdsIcon="warning--alt--filled" size="16" class="cds--checkbox__invalid-icon cds--checkbox__invalid-icon--warning"> </svg> <div class="cds--form-requirement"> <ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container> <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="$any(warnText)"></ng-template> </div> </ng-container> </div> <div *ngIf="helperText && !effectiveInvalid && !effectiveWarn" class="cds--form__helper-text" [id]="helperId"> <ng-container *ngIf="!isTemplate(helperText)">{{helperText}}</ng-container> <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="$any(helperText)"></ng-template> </div></div> </div>'
|
|
3155
|
+
var COMPONENTS = [{'name': 'Accordion', 'selector': 'cds-accordion, ibm-accordion'},{'name': 'AccordionItem', 'selector': 'cds-accordion-item, ibm-accordion-item'},{'name': 'ActionableNotification', 'selector': 'cds-actionable-notification, ibm-actionable-notification'},{'name': 'AILabelComponent', 'selector': 'cds-ai-label, ibm-ai-label'},{'name': 'AlertModal', 'selector': 'cds-alert-modal, ibm-alert-modal'},{'name': 'BaseIconButton', 'selector': ''},{'name': 'BaseNotification', 'selector': ''},{'name': 'BaseTabHeader', 'selector': ''},{'name': 'Breadcrumb', 'selector': 'cds-breadcrumb, ibm-breadcrumb'},{'name': 'BreadcrumbItemComponent', 'selector': 'cds-breadcrumb-item, ibm-breadcrumb-item'},{'name': 'ButtonSet', 'selector': 'cds-button-set, ibm-button-set'},{'name': 'Checkbox', 'selector': 'cds-checkbox, ibm-checkbox'},{'name': 'CheckboxGroup', 'selector': 'cds-checkbox-group, ibm-checkbox-group'},{'name': 'ClickableTile', 'selector': 'cds-clickable-tile, ibm-clickable-tile'},{'name': 'CodeSnippet', 'selector': 'cds-code-snippet, ibm-code-snippet'},{'name': 'ComboBox', 'selector': 'cds-combo-box, ibm-combo-box'},{'name': 'ComboButtonComponent', 'selector': 'cds-combo-button'},{'name': 'ContainedList', 'selector': 'cds-contained-list, ibm-contained-list'},{'name': 'ContainedListItem', 'selector': 'cds-contained-list-item, ibm-contained-list-item'},{'name': 'ContentSwitcher', 'selector': 'cds-content-switcher, ibm-content-switcher'},{'name': 'ContextMenuComponent', 'selector': 'cds-menu, cds-context-menu, ibm-context-menu'},{'name': 'ContextMenuDividerComponent', 'selector': 'cds-menu-divider, cds-context-menu-divider, ibm-context-menu-divider'},{'name': 'ContextMenuGroupComponent', 'selector': 'cds-menu-group, cds-context-menu-group, ibm-context-menu-group'},{'name': 'ContextMenuItemComponent', 'selector': 'cds-menu-item, cds-context-menu-item, ibm-context-menu-item'},{'name': 'DatePicker', 'selector': 'cds-date-picker, ibm-date-picker'},{'name': 'DatePickerInput', 'selector': 'cds-date-picker-input, ibm-date-picker-input'},{'name': 'Dialog', 'selector': 'cds-dialog, ibm-dialog'},{'name': 'Documentation', 'selector': 'cds-documentation'},{'name': 'Dropdown', 'selector': 'cds-dropdown, ibm-dropdown'},{'name': 'DropdownList', 'selector': 'cds-dropdown-list, ibm-dropdown-list'},{'name': 'ExpandableTile', 'selector': 'cds-expandable-tile, ibm-expandable-tile'},{'name': 'FileComponent', 'selector': 'cds-file, ibm-file'},{'name': 'FileUploader', 'selector': 'cds-file-uploader, ibm-file-uploader'},{'name': 'Hamburger', 'selector': 'cds-hamburger, ibm-hamburger'},{'name': 'Header', 'selector': 'cds-header, ibm-header'},{'name': 'HeaderAction', 'selector': 'cds-header-action, ibm-header-action'},{'name': 'HeaderGlobal', 'selector': 'cds-header-global, ibm-header-global'},{'name': 'HeaderItem', 'selector': 'cds-header-item, ibm-header-item'},{'name': 'HeaderMenu', 'selector': 'cds-header-menu, ibm-header-menu'},{'name': 'HeaderNavigation', 'selector': 'cds-header-navigation, ibm-header-navigation'},{'name': 'IconButton', 'selector': 'cds-icon-button, ibm-icon-button'},{'name': 'InlineLoading', 'selector': 'cds-inline-loading, ibm-inline-loading'},{'name': 'Label', 'selector': 'cds-label, ibm-label'},{'name': 'ListColumn', 'selector': 'cds-list-column, ibm-list-column'},{'name': 'ListHeader', 'selector': 'cds-list-header, ibm-list-header'},{'name': 'ListRow', 'selector': 'cds-list-row, ibm-list-row'},{'name': 'Loading', 'selector': 'cds-loading, ibm-loading'},{'name': 'MenuButtonComponent', 'selector': 'cds-menu-button'},{'name': 'Modal', 'selector': 'cds-modal, ibm-modal'},{'name': 'ModalFooter', 'selector': 'cds-modal-footer, ibm-modal-footer'},{'name': 'ModalHeader', 'selector': 'cds-modal-header, ibm-modal-header'},{'name': 'Notification', 'selector': 'cds-notification, cds-inline-notification, ibm-notification, ibm-inline-notification'},{'name': 'NumberComponent', 'selector': 'cds-number, ibm-number'},{'name': 'OverflowMenu', 'selector': 'cds-overflow-menu, ibm-overflow-menu'},{'name': 'OverflowMenuCustomPane', 'selector': 'cds-overflow-custom-menu-pane, ibm-overflow-custom-menu-pane'},{'name': 'OverflowMenuOption', 'selector': 'cds-overflow-menu-option, ibm-overflow-menu-option'},{'name': 'OverflowMenuPane', 'selector': 'cds-overflow-menu-pane, ibm-overflow-menu-pane'},{'name': 'Overlay', 'selector': 'cds-overlay, ibm-overlay'},{'name': 'Pagination', 'selector': 'cds-pagination, ibm-pagination'},{'name': 'PaginationNav', 'selector': 'cds-pagination-nav, ibm-pagination-navm'},{'name': 'PaginationNavItem', 'selector': 'cds-pagination-nav-item, ibm-pagination-nav-item'},{'name': 'PaginationOverflow', 'selector': 'cds-pagination-overflow, ibm-pagination-overflow'},{'name': 'Panel', 'selector': 'cds-panel, ibm-panel'},{'name': 'PasswordInputLabelComponent', 'selector': 'cds-password-label, ibm-password-label'},{'name': 'Placeholder', 'selector': 'cds-placeholder, ibm-placeholder'},{'name': 'PopoverContent', 'selector': 'cds-popover-content, ibm-popover-content'},{'name': 'ProgressBar', 'selector': 'cds-progress-bar, ibm-progress-bar'},{'name': 'ProgressIndicator', 'selector': 'cds-progress-indicator, ibm-progress-indicator'},{'name': 'Radio', 'selector': 'cds-radio, ibm-radio'},{'name': 'RadioGroup', 'selector': 'cds-radio-group, ibm-radio-group'},{'name': 'Search', 'selector': 'cds-search, ibm-search'},{'name': 'Select', 'selector': 'cds-select, ibm-select'},{'name': 'SelectionTile', 'selector': 'cds-selection-tile, ibm-selection-tile'},{'name': 'SideNav', 'selector': 'cds-sidenav, ibm-sidenav'},{'name': 'SideNavItem', 'selector': 'cds-sidenav-item, ibm-sidenav-item'},{'name': 'SideNavMenu', 'selector': 'cds-sidenav-menu, ibm-sidenav-menu'},{'name': 'SkeletonPlaceholder', 'selector': 'cds-skeleton-placeholder, ibm-skeleton-placeholder'},{'name': 'SkeletonText', 'selector': 'cds-skeleton-text, ibm-skeleton-text'},{'name': 'Slider', 'selector': 'cds-slider, ibm-slider'},{'name': 'StructuredList', 'selector': 'cds-structured-list, ibm-structured-list'},{'name': 'SwitcherList', 'selector': 'cds-switcher-list, ibm-switcher-list'},{'name': 'SwitcherListItem', 'selector': 'cds-switcher-list-item, ibm-switcher-list-item'},{'name': 'Tab', 'selector': 'cds-tab, ibm-tab'},{'name': 'TabHeaderGroup', 'selector': 'cds-tab-header-group, ibm-tab-header-group'},{'name': 'TabHeaders', 'selector': 'cds-tab-headers, ibm-tab-headers'},{'name': 'Table', 'selector': 'cds-table, ibm-table'},{'name': 'TableBody', 'selector': '[cdsTableBody], [ibmTableBody]'},{'name': 'TableCheckbox', 'selector': '[cdsTableCheckbox], [ibmTableCheckbox]'},{'name': 'TableContainer', 'selector': 'cds-table-container, ibm-table-container'},{'name': 'TableData', 'selector': '[cdsTableData], [ibmTableData]'},{'name': 'TableExpandButton', 'selector': '[cdsTableExpandButton], [ibmTableExpandButton]'},{'name': 'TableExpandedRow', 'selector': '[cdsTableExpandedRow], [ibmTableExpandedRow]'},{'name': 'TableHead', 'selector': '[cdsTableHead], [ibmTableHead]'},{'name': 'TableHeadCell', 'selector': '[cdsTableHeadCell], [ibmTableHeadCell]'},{'name': 'TableHeadCheckbox', 'selector': '[cdsTableHeadCheckbox], [ibmTableHeadCheckbox]'},{'name': 'TableHeader', 'selector': 'cds-table-header, ibm-table-header'},{'name': 'TableHeaderDecorator', 'selector': 'cds-table-header-decorator, ibm-table-header-decorator'},{'name': 'TableHeadExpand', 'selector': '[cdsTableHeadExpand], [ibmTableHeadExpand]'},{'name': 'TableRadio', 'selector': '[cdsTableRadio], [ibmTableRadio]'},{'name': 'TableRowComponent', 'selector': '[cdsTableRow], [ibmTableRow]'},{'name': 'TableToolbar', 'selector': 'cds-table-toolbar, ibm-table-toolbar'},{'name': 'TableToolbarActions', 'selector': 'cds-table-toolbar-actions, ibm-table-toolbar-actions'},{'name': 'TableToolbarContent', 'selector': 'cds-table-toolbar-content, ibm-table-toolbar-content'},{'name': 'TableToolbarSearch', 'selector': 'cds-table-toolbar-search, ibm-table-toolbar-search'},{'name': 'Tabs', 'selector': 'cds-tabs, ibm-tabs'},{'name': 'TabSkeleton', 'selector': 'cds-tabs-skeleton, ibm-tabs-skeleton'},{'name': 'Tag', 'selector': 'cds-tag, ibm-tag'},{'name': 'TagFilter', 'selector': 'cds-tag-filter, ibm-tag-filter'},{'name': 'TagOperationalComponent', 'selector': 'cds-tag-operational, ibm-tag-operational'},{'name': 'TagSelectableComponent', 'selector': 'cds-tag-selectable, ibm-tag-selectable'},{'name': 'TextareaLabelComponent', 'selector': 'cds-textarea-label, ibm-textarea-label'},{'name': 'TextInputLabelComponent', 'selector': 'cds-text-label, ibm-text-label'},{'name': 'Tile', 'selector': 'cds-tile, ibm-tile'},{'name': 'TileGroup', 'selector': 'cds-tile-group, ibm-tile-group'},{'name': 'TimePicker', 'selector': 'cds-timepicker, ibm-timepicker'},{'name': 'TimePickerSelect', 'selector': 'cds-timepicker-select, ibm-timepicker-select'},{'name': 'Toast', 'selector': 'cds-toast, ibm-toast'},{'name': 'Toggle', 'selector': 'cds-toggle, ibm-toggle'},{'name': 'Toggletip', 'selector': 'cds-toggletip, ibm-toggletip'},{'name': 'Tooltip', 'selector': 'cds-tooltip, ibm-tooltip'},{'name': 'TooltipDefinition', 'selector': 'cds-tooltip-definition, ibm-tooltip-definition'},{'name': 'TreeNodeComponent', 'selector': 'cds-tree-node'},{'name': 'TreeViewComponent', 'selector': 'cds-tree-view'}];
|
|
2447
3156
|
var DIRECTIVES = [{'name': 'AbstractDropdownView', 'selector': '[cdsAbstractDropdownView], [ibmAbstractDropdownView]'},{'name': 'ActionableButton', 'selector': '[cdsActionableButton], [ibmActionableButton]'},{'name': 'ActionableSubtitle', 'selector': '[cdsActionableSubtitle], [ibmActionableSubtitle]'},{'name': 'ActionableTitle', 'selector': '[cdsActionableTitle], [ibmActionableTitle]'},{'name': 'AILabelActions', 'selector': '[cdsAILabelActions], [ibmAILabelActions]'},{'name': 'AILabelContent', 'selector': '[cdsAILabelContent], [ibmAILabelContent]'},{'name': 'AILabelPopoverDirective', 'selector': '[cdsAILabelPopover]'},{'name': 'BaseModal', 'selector': '[cdsBaseModal], [ibmBaseModal]'},{'name': 'Button', 'selector': '[cdsButton], [ibmButton]'},{'name': 'ClickableTileIconDirective', 'selector': '[cdsClickableTileIcon], [ibmClickableTileIcon]'},{'name': 'ColumnDirective', 'selector': '[cdsCol], [ibmCol]'},{'name': 'ContentSwitcherOption', 'selector': '[cdsContentOption], [ibmContentOption]'},{'name': 'DialogDirective', 'selector': '[cdsDialog], [ibmDialog]'},{'name': 'ExpandableTileAboveFoldDirective', 'selector': '[cdsAboveFold], [ibmAboveFold]'},{'name': 'ExpandableTileBelowFoldDirective', 'selector': '[cdsBelowFold], [ibmBelowFold]'},{'name': 'ExpandedRowHover', 'selector': '[cdsExpandedRowHover], [ibmExpandedRowHover]'},{'name': 'GridDirective', 'selector': '[cdsGrid], [ibmGrid]'},{'name': 'IconDirective', 'selector': '[cdsIcon], [ibmIcon]'},{'name': 'LayerDirective', 'selector': '[cdsLayer], [ibmLayer]'},{'name': 'Link', 'selector': '[cdsLink], [ibmLink]'},{'name': 'LinkIconDirective', 'selector': '[ibmLinkIcon], [cdsLinkIcon]'},{'name': 'List', 'selector': '[cdsList], [ibmList]'},{'name': 'ListItemDirective', 'selector': '[cdsListItem], [ibmListItem]'},{'name': 'ModalContent', 'selector': '[cdsModalContent], [ibmModalContent]'},{'name': 'ModalContentText', 'selector': '[cdsModalContentText], [ibmModalContentText]'},{'name': 'ModalHeaderHeading', 'selector': '[cdsModalHeaderHeading], [ibmModalHeaderHeading]'},{'name': 'ModalHeaderLabel', 'selector': '[cdsModalHeaderLabel], [ibmModalHeaderLabel]'},{'name': 'NotificationSubtitle', 'selector': '[cdsNotificationSubtitle], [ibmNotificationSubtitle]'},{'name': 'NotificationTitle', 'selector': '[cdsNotificationTitle], [ibmNotificationTitle]'},{'name': 'OptGroup', 'selector': 'optgroup'},{'name': 'Option', 'selector': 'option'},{'name': 'OverflowMenuDirective', 'selector': '[cdsOverflowMenu], [ibmOverflowMenu]'},{'name': 'PasswordInput', 'selector': '[cdsPassword], [ibmPassword]'},{'name': 'PopoverContainer', 'selector': '[cdsPopover], [ibmPopover]'},{'name': 'RouterLinkExtendedDirective', 'selector': '[routerLink]'},{'name': 'RowDirective', 'selector': '[cdsRow], [ibmRow]'},{'name': 'ScrollableList', 'selector': '[cdsScrollableList], [ibmScrollableList]'},{'name': 'StackDirective', 'selector': '[cdsStack], [ibmStack]'},{'name': 'TabHeader', 'selector': '[cdsTabHeader], [ibmTabHeader]'},{'name': 'TableDirective', 'selector': '[cdsTable], [ibmTable]'},{'name': 'TableHeadCellLabel', 'selector': '[cdsTableHeadCellLabel], [ibmTableHeadCellLabel]'},{'name': 'TableHeaderDescription', 'selector': '[cdsTableHeaderDescription], [ibmTableHeaderDescription]'},{'name': 'TableHeaderTitle', 'selector': '[cdsTableHeaderTitle], [ibmTableHeaderTitle]'},{'name': 'TagIconDirective', 'selector': '[cdsTagIcon], [ibmTagIcon]'},{'name': 'TextArea', 'selector': '[cdsTextArea], [ibmTextArea]'},{'name': 'TextInput', 'selector': '[cdsText], [ibmText]'},{'name': 'ThemeDirective', 'selector': '[cdsTheme], [ibmTheme]'},{'name': 'ToastCaption', 'selector': '[cdsToastCaption], [ibmToastCaption]'},{'name': 'ToastSubtitle', 'selector': '[cdsToastSubtitle], [ibmToastSubtitle]'},{'name': 'ToastTitle', 'selector': '[cdsToastTitle], [ibmToastTitle]'},{'name': 'ToggletipAction', 'selector': '[cdsToggletipAction], [ibmToggletipAction]'},{'name': 'ToggletipButton', 'selector': '[cdsToggletipButton], [ibmToggletipButton]'},{'name': 'ToggletipContent', 'selector': '[cdsToggletipContent], [ibmToggletipContent]'},{'name': 'ToggletipLabel', 'selector': '[cdsToggletipLabel], [ibmToggletipLabel]'}];
|
|
2448
3157
|
var ACTUAL_COMPONENT = {'name': 'Checkbox'};
|
|
2449
3158
|
</script>
|