carbon-components-angular 5.26.1 → 5.26.2
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/README.md +2 -1
- package/docs/documentation/classes/CheckboxExportedTests.html +168 -108
- package/docs/documentation/classes/ComponentTests.html +150 -90
- package/docs/documentation/classes/DataGridInteractionModel.html +341 -289
- package/docs/documentation/classes/IconCache.html +191 -131
- package/docs/documentation/classes/IconMemoryCache.html +194 -134
- package/docs/documentation/classes/IconNameNotFoundError.html +70 -6
- package/docs/documentation/classes/IconSizeNotFoundError.html +70 -6
- package/docs/documentation/classes/NumberChange.html +69 -5
- package/docs/documentation/classes/Overridable.html +110 -48
- package/docs/documentation/classes/PaginationModel.html +69 -5
- package/docs/documentation/classes/RadioChange.html +69 -5
- package/docs/documentation/classes/TableAdapter.html +354 -302
- package/docs/documentation/classes/TableCellAdapter.html +69 -5
- package/docs/documentation/classes/TableDomAdapter.html +610 -566
- package/docs/documentation/classes/TableHeaderItem.html +169 -109
- package/docs/documentation/classes/TableItem.html +73 -9
- package/docs/documentation/classes/TableModel.html +1250 -1234
- package/docs/documentation/classes/TableRow.html +70 -6
- package/docs/documentation/classes/TableRowAdapter.html +69 -5
- package/docs/documentation/components/Accordion.html +90 -26
- package/docs/documentation/components/AccordionItem.html +118 -56
- package/docs/documentation/components/ActionableNotification.html +146 -84
- package/docs/documentation/components/AlertModal.html +175 -115
- package/docs/documentation/components/BaseIconButton.html +69 -5
- package/docs/documentation/components/BaseNotification.html +134 -72
- package/docs/documentation/components/BaseTabHeader.html +186 -126
- package/docs/documentation/components/Breadcrumb.html +141 -79
- package/docs/documentation/components/BreadcrumbItemComponent.html +114 -52
- package/docs/documentation/components/ButtonSet.html +70 -6
- package/docs/documentation/components/Checkbox.html +482 -434
- package/docs/documentation/components/ClickableTile.html +106 -44
- package/docs/documentation/components/CodeSnippet.html +136 -72
- package/docs/documentation/components/ComboBox.html +757 -719
- package/docs/documentation/components/ContainedList.html +112 -50
- package/docs/documentation/components/ContainedListItem.html +122 -60
- package/docs/documentation/components/ContentSwitcher.html +127 -65
- package/docs/documentation/components/ContextMenuComponent.html +167 -107
- package/docs/documentation/components/ContextMenuDividerComponent.html +69 -5
- package/docs/documentation/components/ContextMenuGroupComponent.html +127 -65
- package/docs/documentation/components/ContextMenuItemComponent.html +281 -221
- package/docs/documentation/components/DatePicker.html +743 -703
- package/docs/documentation/components/DatePickerInput.html +269 -215
- package/docs/documentation/components/Dialog.html +318 -264
- package/docs/documentation/components/Documentation.html +96 -32
- package/docs/documentation/components/Dropdown.html +661 -617
- package/docs/documentation/components/DropdownList.html +679 -639
- package/docs/documentation/components/ExpandableTile.html +99 -35
- package/docs/documentation/components/FileComponent.html +78 -14
- package/docs/documentation/components/FileUploader.html +475 -431
- package/docs/documentation/components/Hamburger.html +81 -17
- package/docs/documentation/components/Header.html +143 -83
- package/docs/documentation/components/HeaderAction.html +79 -15
- package/docs/documentation/components/HeaderGlobal.html +69 -5
- package/docs/documentation/components/HeaderItem.html +105 -43
- package/docs/documentation/components/HeaderMenu.html +200 -140
- package/docs/documentation/components/HeaderNavigation.html +69 -5
- package/docs/documentation/components/IconButton.html +138 -76
- package/docs/documentation/components/InlineLoading.html +70 -6
- package/docs/documentation/components/Label.html +129 -67
- package/docs/documentation/components/ListColumn.html +70 -6
- package/docs/documentation/components/ListHeader.html +90 -26
- package/docs/documentation/components/ListRow.html +166 -104
- package/docs/documentation/components/Loading.html +70 -6
- package/docs/documentation/components/Modal.html +191 -131
- package/docs/documentation/components/ModalFooter.html +69 -5
- package/docs/documentation/components/ModalHeader.html +83 -19
- package/docs/documentation/components/Notification.html +146 -84
- package/docs/documentation/components/NumberComponent.html +389 -337
- package/docs/documentation/components/OverflowMenu.html +110 -48
- package/docs/documentation/components/OverflowMenuCustomPane.html +398 -346
- package/docs/documentation/components/OverflowMenuOption.html +106 -42
- package/docs/documentation/components/OverflowMenuPane.html +426 -374
- package/docs/documentation/components/Overlay.html +106 -44
- package/docs/documentation/components/Pagination.html +73 -9
- package/docs/documentation/components/PaginationNav.html +188 -128
- package/docs/documentation/components/PaginationNavItem.html +71 -7
- package/docs/documentation/components/PaginationOverflow.html +107 -45
- package/docs/documentation/components/Panel.html +69 -5
- package/docs/documentation/components/PasswordInputLabelComponent.html +137 -75
- package/docs/documentation/components/Placeholder.html +80 -16
- package/docs/documentation/components/PopoverContent.html +78 -14
- package/docs/documentation/components/ProgressBar.html +106 -44
- package/docs/documentation/components/ProgressIndicator.html +216 -158
- package/docs/documentation/components/Radio.html +237 -181
- package/docs/documentation/components/RadioGroup.html +412 -360
- package/docs/documentation/components/Search.html +509 -463
- package/docs/documentation/components/Select.html +337 -285
- package/docs/documentation/components/SelectionTile.html +158 -98
- package/docs/documentation/components/SideNav.html +78 -14
- package/docs/documentation/components/SideNavItem.html +149 -89
- package/docs/documentation/components/SideNavMenu.html +107 -43
- package/docs/documentation/components/SkeletonPlaceholder.html +70 -6
- package/docs/documentation/components/SkeletonText.html +124 -62
- package/docs/documentation/components/Slider.html +840 -810
- package/docs/documentation/components/StructuredList.html +211 -153
- package/docs/documentation/components/SwitcherList.html +70 -6
- package/docs/documentation/components/SwitcherListItem.html +105 -43
- package/docs/documentation/components/Tab.html +267 -53
- package/docs/documentation/components/TabHeaderGroup.html +316 -260
- package/docs/documentation/components/TabHeaders.html +425 -373
- package/docs/documentation/components/TabSkeleton.html +69 -5
- package/docs/documentation/components/Table.html +973 -947
- package/docs/documentation/components/TableBody.html +241 -185
- package/docs/documentation/components/TableCheckbox.html +119 -57
- package/docs/documentation/components/TableContainer.html +78 -14
- package/docs/documentation/components/TableData.html +69 -5
- package/docs/documentation/components/TableExpandButton.html +78 -14
- package/docs/documentation/components/TableExpandedRow.html +141 -81
- package/docs/documentation/components/TableHead.html +124 -60
- package/docs/documentation/components/TableHeadCell.html +116 -52
- package/docs/documentation/components/TableHeadCheckbox.html +78 -14
- package/docs/documentation/components/TableHeadExpand.html +69 -5
- package/docs/documentation/components/TableHeader.html +69 -5
- package/docs/documentation/components/TableRadio.html +119 -57
- package/docs/documentation/components/TableRowComponent.html +123 -59
- package/docs/documentation/components/TableToolbar.html +79 -15
- package/docs/documentation/components/TableToolbarActions.html +69 -5
- package/docs/documentation/components/TableToolbarContent.html +69 -5
- package/docs/documentation/components/TableToolbarSearch.html +563 -517
- package/docs/documentation/components/Tabs.html +130 -68
- package/docs/documentation/components/Tag.html +70 -6
- package/docs/documentation/components/TagFilter.html +150 -90
- package/docs/documentation/components/TextInputLabelComponent.html +118 -56
- package/docs/documentation/components/TextareaLabelComponent.html +118 -56
- package/docs/documentation/components/Tile.html +70 -6
- package/docs/documentation/components/TileGroup.html +247 -191
- package/docs/documentation/components/TimePicker.html +321 -269
- package/docs/documentation/components/TimePickerSelect.html +382 -330
- package/docs/documentation/components/Toast.html +155 -93
- package/docs/documentation/components/Toggle.html +568 -522
- package/docs/documentation/components/Toggletip.html +491 -441
- package/docs/documentation/components/Tooltip.html +578 -534
- package/docs/documentation/components/TooltipDefinition.html +559 -513
- package/docs/documentation/components/TreeNodeComponent.html +353 -303
- package/docs/documentation/components/TreeViewComponent.html +155 -93
- package/docs/documentation/coverage.html +71 -7
- package/docs/documentation/dependencies.html +69 -5
- package/docs/documentation/directives/AbstractDropdownView.html +347 -291
- package/docs/documentation/directives/ActionableButton.html +69 -5
- package/docs/documentation/directives/ActionableSubtitle.html +69 -5
- package/docs/documentation/directives/ActionableTitle.html +69 -5
- package/docs/documentation/directives/BaseModal.html +79 -15
- package/docs/documentation/directives/Button.html +71 -7
- package/docs/documentation/directives/ColumnDirective.html +108 -44
- package/docs/documentation/directives/ContentSwitcherOption.html +162 -102
- package/docs/documentation/directives/DialogDirective.html +322 -268
- package/docs/documentation/directives/ExpandableTileAboveFoldDirective.html +69 -5
- package/docs/documentation/directives/ExpandableTileBelowFoldDirective.html +69 -5
- package/docs/documentation/directives/ExpandedRowHover.html +145 -85
- package/docs/documentation/directives/GridDirective.html +89 -25
- package/docs/documentation/directives/IconDirective.html +158 -98
- package/docs/documentation/directives/LayerDirective.html +79 -15
- package/docs/documentation/directives/Link.html +70 -6
- package/docs/documentation/directives/List.html +70 -6
- package/docs/documentation/directives/ListItemDirective.html +69 -5
- package/docs/documentation/directives/ModalContent.html +69 -5
- package/docs/documentation/directives/ModalContentText.html +69 -5
- package/docs/documentation/directives/ModalHeaderHeading.html +69 -5
- package/docs/documentation/directives/ModalHeaderLabel.html +69 -5
- package/docs/documentation/directives/NotificationSubtitle.html +69 -5
- package/docs/documentation/directives/NotificationTitle.html +69 -5
- package/docs/documentation/directives/OptGroup.html +69 -5
- package/docs/documentation/directives/Option.html +69 -5
- package/docs/documentation/directives/OverflowMenuDirective.html +377 -323
- package/docs/documentation/directives/PasswordInput.html +78 -14
- package/docs/documentation/directives/PopoverContainer.html +305 -249
- package/docs/documentation/directives/RowDirective.html +69 -5
- package/docs/documentation/directives/ScrollableList.html +419 -371
- package/docs/documentation/directives/StackDirective.html +70 -6
- package/docs/documentation/directives/TabHeader.html +107 -43
- package/docs/documentation/directives/TableDirective.html +69 -5
- package/docs/documentation/directives/TableHeadCellLabel.html +69 -5
- package/docs/documentation/directives/TableHeaderDescription.html +69 -5
- package/docs/documentation/directives/TableHeaderTitle.html +69 -5
- package/docs/documentation/directives/TextArea.html +70 -6
- package/docs/documentation/directives/TextInput.html +70 -6
- package/docs/documentation/directives/ThemeDirective.html +79 -15
- package/docs/documentation/directives/ToastCaption.html +69 -5
- package/docs/documentation/directives/ToastSubtitle.html +69 -5
- package/docs/documentation/directives/ToastTitle.html +69 -5
- package/docs/documentation/directives/ToggletipAction.html +69 -5
- package/docs/documentation/directives/ToggletipButton.html +69 -5
- package/docs/documentation/directives/ToggletipContent.html +69 -5
- package/docs/documentation/directives/ToggletipLabel.html +69 -5
- package/docs/documentation/index.html +78 -8
- package/docs/documentation/injectables/AnimationFrameService.html +69 -5
- package/docs/documentation/injectables/AnimationFrameServiceSingleton.html +120 -58
- package/docs/documentation/injectables/BaseModalService.html +159 -99
- package/docs/documentation/injectables/ContextMenuSelectionService.html +189 -131
- package/docs/documentation/injectables/DialogService.html +212 -152
- package/docs/documentation/injectables/DocumentService.html +170 -110
- package/docs/documentation/injectables/DropdownService.html +285 -229
- package/docs/documentation/injectables/ElementService.html +127 -65
- package/docs/documentation/injectables/EventService.html +194 -134
- package/docs/documentation/injectables/ExperimentalService.html +276 -220
- package/docs/documentation/injectables/GridService.html +110 -48
- package/docs/documentation/injectables/I18n.html +506 -458
- package/docs/documentation/injectables/IconService.html +309 -255
- package/docs/documentation/injectables/ModalService.html +215 -157
- package/docs/documentation/injectables/NotificationDisplayService.html +110 -48
- package/docs/documentation/injectables/NotificationService.html +349 -295
- package/docs/documentation/injectables/PlaceholderService.html +475 -427
- package/docs/documentation/injectables/TreeViewService.html +115 -53
- package/docs/documentation/interfaces/ActionableContent.html +70 -6
- package/docs/documentation/interfaces/AlertModalData.html +69 -5
- package/docs/documentation/interfaces/BreadcrumbItem.html +69 -5
- package/docs/documentation/interfaces/CloseMeta.html +69 -5
- package/docs/documentation/interfaces/DataGridPosition.html +69 -5
- package/docs/documentation/interfaces/DialogConfig.html +69 -5
- package/docs/documentation/interfaces/ElementVisibilityEvent.html +69 -5
- package/docs/documentation/interfaces/ExpandableTileTranslations.html +69 -5
- package/docs/documentation/interfaces/Experiment.html +69 -5
- package/docs/documentation/interfaces/FileItem.html +69 -5
- package/docs/documentation/interfaces/HeaderItemInterface.html +69 -5
- package/docs/documentation/interfaces/IconDescriptor.html +69 -5
- package/docs/documentation/interfaces/ListItem.html +70 -6
- package/docs/documentation/interfaces/ModalButton.html +69 -5
- package/docs/documentation/interfaces/NavigationItem.html +69 -5
- package/docs/documentation/interfaces/Node.html +69 -5
- package/docs/documentation/interfaces/NotificationAction.html +69 -5
- package/docs/documentation/interfaces/NotificationContent.html +69 -5
- package/docs/documentation/interfaces/NotificationLink.html +69 -5
- package/docs/documentation/interfaces/PaginationNavTranslations.html +69 -5
- package/docs/documentation/interfaces/PaginationTranslations.html +69 -5
- package/docs/documentation/interfaces/ScrollCustomEvent.html +70 -6
- package/docs/documentation/interfaces/SideNavItemInterface.html +70 -6
- package/docs/documentation/interfaces/Step.html +69 -5
- package/docs/documentation/interfaces/TableTranslations.html +69 -5
- package/docs/documentation/interfaces/TileSelection.html +69 -5
- package/docs/documentation/interfaces/ToastContent.html +70 -6
- package/docs/documentation/interfaces/TooltipConfig.html +69 -5
- package/docs/documentation/js/libs/bootstrap-native.js +2 -1
- package/docs/documentation/js/libs/es6-shim.min.js +11 -10
- package/docs/documentation/js/libs/tablesort.min.js +3 -3
- package/docs/documentation/js/libs/tablesort.number.min.js +2 -2
- package/docs/documentation/js/libs/vis.min.js +1 -1
- package/docs/documentation/js/menu-wc_es5.js +17 -19
- package/docs/documentation/js/menu.js +0 -55
- package/docs/documentation/js/search/search.js +71 -56
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/license.html +72 -8
- package/docs/documentation/miscellaneous/enumerations.html +69 -5
- package/docs/documentation/miscellaneous/functions.html +831 -819
- package/docs/documentation/miscellaneous/typealiases.html +69 -5
- package/docs/documentation/miscellaneous/variables.html +70 -6
- package/docs/documentation/modules/AccordionModule.html +69 -5
- package/docs/documentation/modules/BreadcrumbModule.html +69 -5
- package/docs/documentation/modules/ButtonModule.html +69 -5
- package/docs/documentation/modules/CheckboxModule.html +69 -5
- package/docs/documentation/modules/CodeSnippetModule.html +69 -5
- package/docs/documentation/modules/ComboBoxModule.html +69 -5
- package/docs/documentation/modules/ContainedListModule.html +69 -5
- package/docs/documentation/modules/ContentSwitcherModule.html +69 -5
- package/docs/documentation/modules/ContextMenuModule.html +69 -5
- package/docs/documentation/modules/DatePickerInputModule.html +69 -5
- package/docs/documentation/modules/DatePickerModule.html +69 -5
- package/docs/documentation/modules/DialogModule.html +69 -5
- package/docs/documentation/modules/DocumentationModule.html +69 -5
- package/docs/documentation/modules/DropdownModule.html +69 -5
- package/docs/documentation/modules/ExperimentalModule.html +69 -5
- package/docs/documentation/modules/FileUploaderModule.html +69 -5
- package/docs/documentation/modules/GridModule.html +69 -5
- package/docs/documentation/modules/HeaderModule.html +69 -5
- package/docs/documentation/modules/I18nModule.html +69 -5
- package/docs/documentation/modules/IconModule.html +69 -5
- package/docs/documentation/modules/InlineLoadingModule.html +69 -5
- package/docs/documentation/modules/InputModule.html +69 -5
- package/docs/documentation/modules/LayerModule.html +69 -5
- package/docs/documentation/modules/LayoutModule.html +69 -5
- package/docs/documentation/modules/LinkModule.html +69 -5
- package/docs/documentation/modules/ListModule.html +69 -5
- package/docs/documentation/modules/LoadingModule.html +69 -5
- package/docs/documentation/modules/ModalModule.html +69 -5
- package/docs/documentation/modules/NFormsModule.html +69 -5
- package/docs/documentation/modules/NotificationModule.html +69 -5
- package/docs/documentation/modules/NumberModule.html +69 -5
- package/docs/documentation/modules/PaginationModule.html +69 -5
- package/docs/documentation/modules/PanelModule.html +69 -5
- package/docs/documentation/modules/PlaceholderModule.html +69 -5
- package/docs/documentation/modules/PopoverModule.html +69 -5
- package/docs/documentation/modules/ProgressBarModule.html +69 -5
- package/docs/documentation/modules/ProgressIndicatorModule.html +69 -5
- package/docs/documentation/modules/RadioModule.html +69 -5
- package/docs/documentation/modules/SearchModule.html +69 -5
- package/docs/documentation/modules/SelectModule.html +69 -5
- package/docs/documentation/modules/SideNavModule.html +69 -5
- package/docs/documentation/modules/SkeletonModule.html +69 -5
- package/docs/documentation/modules/SliderModule.html +69 -5
- package/docs/documentation/modules/StructuredListModule.html +69 -5
- package/docs/documentation/modules/TableModule.html +68 -4
- package/docs/documentation/modules/TabsModule.html +69 -5
- package/docs/documentation/modules/TagModule.html +69 -5
- package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ThemeModule.html +73 -9
- package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TilesModule.html +73 -9
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +17 -17
- package/docs/documentation/modules/TimePickerModule.html +86 -22
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerSelectModule.html +73 -9
- package/docs/documentation/modules/ToggleModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggleModule.html +73 -9
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
- package/docs/documentation/modules/ToggletipModule.html +106 -42
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +73 -9
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +34 -34
- package/docs/documentation/modules/TreeviewModule.html +103 -39
- package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
- package/docs/documentation/modules/UIShellModule.html +73 -9
- package/docs/documentation/modules/UtilsModule.html +69 -5
- package/docs/documentation/modules.html +68 -4
- package/docs/documentation/overview.html +68 -4
- package/docs/documentation/pipes/ReplacePipe.html +114 -52
- package/docs/documentation/properties.html +69 -5
- package/docs/documentation/styles/compodoc.css +11 -8
- package/docs/documentation.json +2067 -1757
- package/docs/storybook/{959.4248791c.iframe.bundle.js → 959.05fb42da.iframe.bundle.js} +3 -3
- package/docs/storybook/{959.4248791c.iframe.bundle.js.map → 959.05fb42da.iframe.bundle.js.map} +1 -1
- package/docs/storybook/iframe.html +3 -3
- package/docs/storybook/main.cfffa2d2.iframe.bundle.js +1 -0
- package/docs/storybook/main.css +2 -4
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.b589439b.iframe.bundle.js → runtime~main.c3f8e5ba.iframe.bundle.js} +1 -1
- package/docs/storybook/sb-addons/essentials-controls-1/manager-bundle.js +29 -29
- package/docs/storybook/{tabs-tabs-stories.183f4129.iframe.bundle.js → tabs-tabs-stories.066fa432.iframe.bundle.js} +1 -1
- package/esm2020/tabs/tab.component.mjs +20 -3
- package/fesm2015/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2015/carbon-components-angular-tabs.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2020/carbon-components-angular-tabs.mjs.map +1 -1
- package/package.json +1 -1
- package/tabs/tab.component.d.ts +10 -1
- package/docs/storybook/main.5c20d10a.iframe.bundle.js +0 -1
- /package/docs/storybook/{959.4248791c.iframe.bundle.js.LICENSE.txt → 959.05fb42da.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -12,10 +12,61 @@
|
|
|
12
12
|
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">carbon-components-angular documentation</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
19
70
|
</div>
|
|
20
71
|
|
|
21
72
|
<div class="xs-menu menu" id="mobile-menu">
|
|
@@ -24,7 +75,7 @@
|
|
|
24
75
|
|
|
25
76
|
<div class="container-fluid main">
|
|
26
77
|
<div class="row main">
|
|
27
|
-
<div class="
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
28
79
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
29
80
|
</div>
|
|
30
81
|
<!-- START CONTENT -->
|
|
@@ -70,7 +121,7 @@
|
|
|
70
121
|
</p>
|
|
71
122
|
<p class="comment">
|
|
72
123
|
<p>Get started with importing the module:</p>
|
|
73
|
-
<div><pre class="line-numbers"><code class="language-typescript">import { FileUploaderModule } from 'carbon-components-angular';</code></pre></div><p><a href="../../?path=/story/components-file-uploader--basic">See demo</a></p>
|
|
124
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { FileUploaderModule } from 'carbon-components-angular';</code></pre></div><p><a href="../../?path=/story/components-file-uploader--basic">See demo</a></p>
|
|
74
125
|
|
|
75
126
|
</p>
|
|
76
127
|
|
|
@@ -902,49 +953,47 @@
|
|
|
902
953
|
</tr>
|
|
903
954
|
|
|
904
955
|
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
956
|
+
<tr>
|
|
957
|
+
<td class="col-md-4">
|
|
958
|
+
<div class="io-line">Defined in <a href="" data-line="213"
|
|
959
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:213</a></div>
|
|
960
|
+
</td>
|
|
961
|
+
</tr>
|
|
911
962
|
|
|
912
963
|
|
|
913
964
|
<tr>
|
|
914
965
|
<td class="col-md-4">
|
|
915
966
|
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
</div>
|
|
967
|
+
<div class="io-description">
|
|
968
|
+
<b>Parameters :</b>
|
|
969
|
+
|
|
970
|
+
<table class="params">
|
|
971
|
+
<thead>
|
|
972
|
+
<tr>
|
|
973
|
+
<td>Name</td>
|
|
974
|
+
<td>Optional</td>
|
|
975
|
+
</tr>
|
|
976
|
+
</thead>
|
|
977
|
+
<tbody>
|
|
978
|
+
<tr>
|
|
979
|
+
<td>file</td>
|
|
980
|
+
|
|
981
|
+
<td>
|
|
982
|
+
No
|
|
983
|
+
</td>
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
</tr>
|
|
987
|
+
</tbody>
|
|
988
|
+
</table>
|
|
989
|
+
</div>
|
|
990
|
+
<div class="io-description">
|
|
991
|
+
<b>Returns : </b> <code><a href="../interfaces/FileItem.html" target="_self" >FileItem</a></code>
|
|
992
|
+
|
|
993
|
+
</div>
|
|
994
|
+
<div class="io-description">
|
|
995
|
+
|
|
996
|
+
</div>
|
|
948
997
|
</td>
|
|
949
998
|
</tr>
|
|
950
999
|
</tbody>
|
|
@@ -955,7 +1004,7 @@
|
|
|
955
1004
|
<td class="col-md-4">
|
|
956
1005
|
<a name="isTemplate"></a>
|
|
957
1006
|
<span class="name">
|
|
958
|
-
|
|
1007
|
+
<span class="modifier">Public</span>
|
|
959
1008
|
<span ><b>isTemplate</b></span>
|
|
960
1009
|
<a href="#isTemplate"><span class="icon ion-ios-link"></span></a>
|
|
961
1010
|
</span>
|
|
@@ -963,55 +1012,53 @@
|
|
|
963
1012
|
</tr>
|
|
964
1013
|
<tr>
|
|
965
1014
|
<td class="col-md-4">
|
|
966
|
-
|
|
1015
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
967
1016
|
<code>isTemplate(value)</code>
|
|
968
1017
|
</td>
|
|
969
1018
|
</tr>
|
|
970
1019
|
|
|
971
1020
|
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
1021
|
+
<tr>
|
|
1022
|
+
<td class="col-md-4">
|
|
1023
|
+
<div class="io-line">Defined in <a href="" data-line="292"
|
|
1024
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:292</a></div>
|
|
1025
|
+
</td>
|
|
1026
|
+
</tr>
|
|
978
1027
|
|
|
979
1028
|
|
|
980
1029
|
<tr>
|
|
981
1030
|
<td class="col-md-4">
|
|
982
1031
|
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
</div>
|
|
1032
|
+
<div class="io-description">
|
|
1033
|
+
<b>Parameters :</b>
|
|
1034
|
+
|
|
1035
|
+
<table class="params">
|
|
1036
|
+
<thead>
|
|
1037
|
+
<tr>
|
|
1038
|
+
<td>Name</td>
|
|
1039
|
+
<td>Optional</td>
|
|
1040
|
+
</tr>
|
|
1041
|
+
</thead>
|
|
1042
|
+
<tbody>
|
|
1043
|
+
<tr>
|
|
1044
|
+
<td>value</td>
|
|
1045
|
+
|
|
1046
|
+
<td>
|
|
1047
|
+
No
|
|
1048
|
+
</td>
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
</tr>
|
|
1052
|
+
</tbody>
|
|
1053
|
+
</table>
|
|
1054
|
+
</div>
|
|
1055
|
+
<div class="io-description">
|
|
1056
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1057
|
+
|
|
1058
|
+
</div>
|
|
1059
|
+
<div class="io-description">
|
|
1060
|
+
|
|
1061
|
+
</div>
|
|
1015
1062
|
</td>
|
|
1016
1063
|
</tr>
|
|
1017
1064
|
</tbody>
|
|
@@ -1034,21 +1081,21 @@
|
|
|
1034
1081
|
</tr>
|
|
1035
1082
|
|
|
1036
1083
|
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1084
|
+
<tr>
|
|
1085
|
+
<td class="col-md-4">
|
|
1086
|
+
<div class="io-line">Defined in <a href="" data-line="196"
|
|
1087
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:196</a></div>
|
|
1088
|
+
</td>
|
|
1089
|
+
</tr>
|
|
1043
1090
|
|
|
1044
1091
|
|
|
1045
1092
|
<tr>
|
|
1046
1093
|
<td class="col-md-4">
|
|
1047
1094
|
|
|
1048
|
-
|
|
1049
|
-
|
|
1095
|
+
<div class="io-description">
|
|
1096
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1050
1097
|
|
|
1051
|
-
|
|
1098
|
+
</div>
|
|
1052
1099
|
</td>
|
|
1053
1100
|
</tr>
|
|
1054
1101
|
</tbody>
|
|
@@ -1071,49 +1118,47 @@
|
|
|
1071
1118
|
</tr>
|
|
1072
1119
|
|
|
1073
1120
|
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1121
|
+
<tr>
|
|
1122
|
+
<td class="col-md-4">
|
|
1123
|
+
<div class="io-line">Defined in <a href="" data-line="246"
|
|
1124
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:246</a></div>
|
|
1125
|
+
</td>
|
|
1126
|
+
</tr>
|
|
1080
1127
|
|
|
1081
1128
|
|
|
1082
1129
|
<tr>
|
|
1083
1130
|
<td class="col-md-4">
|
|
1084
1131
|
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
</div>
|
|
1132
|
+
<div class="io-description">
|
|
1133
|
+
<b>Parameters :</b>
|
|
1134
|
+
|
|
1135
|
+
<table class="params">
|
|
1136
|
+
<thead>
|
|
1137
|
+
<tr>
|
|
1138
|
+
<td>Name</td>
|
|
1139
|
+
<td>Optional</td>
|
|
1140
|
+
</tr>
|
|
1141
|
+
</thead>
|
|
1142
|
+
<tbody>
|
|
1143
|
+
<tr>
|
|
1144
|
+
<td>event</td>
|
|
1145
|
+
|
|
1146
|
+
<td>
|
|
1147
|
+
No
|
|
1148
|
+
</td>
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
</tr>
|
|
1152
|
+
</tbody>
|
|
1153
|
+
</table>
|
|
1154
|
+
</div>
|
|
1155
|
+
<div class="io-description">
|
|
1156
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1157
|
+
|
|
1158
|
+
</div>
|
|
1159
|
+
<div class="io-description">
|
|
1160
|
+
|
|
1161
|
+
</div>
|
|
1117
1162
|
</td>
|
|
1118
1163
|
</tr>
|
|
1119
1164
|
</tbody>
|
|
@@ -1136,49 +1181,47 @@
|
|
|
1136
1181
|
</tr>
|
|
1137
1182
|
|
|
1138
1183
|
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1184
|
+
<tr>
|
|
1185
|
+
<td class="col-md-4">
|
|
1186
|
+
<div class="io-line">Defined in <a href="" data-line="237"
|
|
1187
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:237</a></div>
|
|
1188
|
+
</td>
|
|
1189
|
+
</tr>
|
|
1145
1190
|
|
|
1146
1191
|
|
|
1147
1192
|
<tr>
|
|
1148
1193
|
<td class="col-md-4">
|
|
1149
1194
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
</div>
|
|
1195
|
+
<div class="io-description">
|
|
1196
|
+
<b>Parameters :</b>
|
|
1197
|
+
|
|
1198
|
+
<table class="params">
|
|
1199
|
+
<thead>
|
|
1200
|
+
<tr>
|
|
1201
|
+
<td>Name</td>
|
|
1202
|
+
<td>Optional</td>
|
|
1203
|
+
</tr>
|
|
1204
|
+
</thead>
|
|
1205
|
+
<tbody>
|
|
1206
|
+
<tr>
|
|
1207
|
+
<td>event</td>
|
|
1208
|
+
|
|
1209
|
+
<td>
|
|
1210
|
+
No
|
|
1211
|
+
</td>
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
</tr>
|
|
1215
|
+
</tbody>
|
|
1216
|
+
</table>
|
|
1217
|
+
</div>
|
|
1218
|
+
<div class="io-description">
|
|
1219
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1220
|
+
|
|
1221
|
+
</div>
|
|
1222
|
+
<div class="io-description">
|
|
1223
|
+
|
|
1224
|
+
</div>
|
|
1182
1225
|
</td>
|
|
1183
1226
|
</tr>
|
|
1184
1227
|
</tbody>
|
|
@@ -1201,49 +1244,47 @@
|
|
|
1201
1244
|
</tr>
|
|
1202
1245
|
|
|
1203
1246
|
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1247
|
+
<tr>
|
|
1248
|
+
<td class="col-md-4">
|
|
1249
|
+
<div class="io-line">Defined in <a href="" data-line="252"
|
|
1250
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:252</a></div>
|
|
1251
|
+
</td>
|
|
1252
|
+
</tr>
|
|
1210
1253
|
|
|
1211
1254
|
|
|
1212
1255
|
<tr>
|
|
1213
1256
|
<td class="col-md-4">
|
|
1214
1257
|
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
</div>
|
|
1258
|
+
<div class="io-description">
|
|
1259
|
+
<b>Parameters :</b>
|
|
1260
|
+
|
|
1261
|
+
<table class="params">
|
|
1262
|
+
<thead>
|
|
1263
|
+
<tr>
|
|
1264
|
+
<td>Name</td>
|
|
1265
|
+
<td>Optional</td>
|
|
1266
|
+
</tr>
|
|
1267
|
+
</thead>
|
|
1268
|
+
<tbody>
|
|
1269
|
+
<tr>
|
|
1270
|
+
<td>event</td>
|
|
1271
|
+
|
|
1272
|
+
<td>
|
|
1273
|
+
No
|
|
1274
|
+
</td>
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
</tr>
|
|
1278
|
+
</tbody>
|
|
1279
|
+
</table>
|
|
1280
|
+
</div>
|
|
1281
|
+
<div class="io-description">
|
|
1282
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1283
|
+
|
|
1284
|
+
</div>
|
|
1285
|
+
<div class="io-description">
|
|
1286
|
+
|
|
1287
|
+
</div>
|
|
1247
1288
|
</td>
|
|
1248
1289
|
</tr>
|
|
1249
1290
|
</tbody>
|
|
@@ -1266,21 +1307,21 @@
|
|
|
1266
1307
|
</tr>
|
|
1267
1308
|
|
|
1268
1309
|
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1310
|
+
<tr>
|
|
1311
|
+
<td class="col-md-4">
|
|
1312
|
+
<div class="io-line">Defined in <a href="" data-line="223"
|
|
1313
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:223</a></div>
|
|
1314
|
+
</td>
|
|
1315
|
+
</tr>
|
|
1275
1316
|
|
|
1276
1317
|
|
|
1277
1318
|
<tr>
|
|
1278
1319
|
<td class="col-md-4">
|
|
1279
1320
|
|
|
1280
|
-
|
|
1281
|
-
|
|
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>
|
|
1282
1323
|
|
|
1283
|
-
|
|
1324
|
+
</div>
|
|
1284
1325
|
</td>
|
|
1285
1326
|
</tr>
|
|
1286
1327
|
</tbody>
|
|
@@ -1303,55 +1344,53 @@
|
|
|
1303
1344
|
</tr>
|
|
1304
1345
|
|
|
1305
1346
|
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1347
|
+
<tr>
|
|
1348
|
+
<td class="col-md-4">
|
|
1349
|
+
<div class="io-line">Defined in <a href="" data-line="305"
|
|
1350
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:305</a></div>
|
|
1351
|
+
</td>
|
|
1352
|
+
</tr>
|
|
1312
1353
|
|
|
1313
1354
|
|
|
1314
1355
|
<tr>
|
|
1315
1356
|
<td class="col-md-4">
|
|
1316
|
-
|
|
1357
|
+
<div class="io-description"><p>Sets a method in order to propagate changes back to the form.</p>
|
|
1317
1358
|
</div>
|
|
1318
1359
|
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
</div>
|
|
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>fn</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://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1389
|
+
|
|
1390
|
+
</div>
|
|
1391
|
+
<div class="io-description">
|
|
1392
|
+
|
|
1393
|
+
</div>
|
|
1355
1394
|
</td>
|
|
1356
1395
|
</tr>
|
|
1357
1396
|
</tbody>
|
|
@@ -1374,55 +1413,53 @@
|
|
|
1374
1413
|
</tr>
|
|
1375
1414
|
|
|
1376
1415
|
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1416
|
+
<tr>
|
|
1417
|
+
<td class="col-md-4">
|
|
1418
|
+
<div class="io-line">Defined in <a href="" data-line="299"
|
|
1419
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:299</a></div>
|
|
1420
|
+
</td>
|
|
1421
|
+
</tr>
|
|
1383
1422
|
|
|
1384
1423
|
|
|
1385
1424
|
<tr>
|
|
1386
1425
|
<td class="col-md-4">
|
|
1387
|
-
|
|
1426
|
+
<div class="io-description"><p>Registers the injected function to control the touch use of the <code>FileUploader</code>.</p>
|
|
1388
1427
|
</div>
|
|
1389
1428
|
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
</div>
|
|
1429
|
+
<div class="io-description">
|
|
1430
|
+
<b>Parameters :</b>
|
|
1431
|
+
|
|
1432
|
+
<table class="params">
|
|
1433
|
+
<thead>
|
|
1434
|
+
<tr>
|
|
1435
|
+
<td>Name</td>
|
|
1436
|
+
<td>Type</td>
|
|
1437
|
+
<td>Optional</td>
|
|
1438
|
+
</tr>
|
|
1439
|
+
</thead>
|
|
1440
|
+
<tbody>
|
|
1441
|
+
<tr>
|
|
1442
|
+
<td>fn</td>
|
|
1443
|
+
<td>
|
|
1444
|
+
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
1445
|
+
</td>
|
|
1446
|
+
|
|
1447
|
+
<td>
|
|
1448
|
+
No
|
|
1449
|
+
</td>
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
</tr>
|
|
1453
|
+
</tbody>
|
|
1454
|
+
</table>
|
|
1455
|
+
</div>
|
|
1456
|
+
<div class="io-description">
|
|
1457
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1458
|
+
|
|
1459
|
+
</div>
|
|
1460
|
+
<div class="io-description">
|
|
1461
|
+
|
|
1462
|
+
</div>
|
|
1426
1463
|
</td>
|
|
1427
1464
|
</tr>
|
|
1428
1465
|
</tbody>
|
|
@@ -1445,49 +1482,47 @@
|
|
|
1445
1482
|
</tr>
|
|
1446
1483
|
|
|
1447
1484
|
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1485
|
+
<tr>
|
|
1486
|
+
<td class="col-md-4">
|
|
1487
|
+
<div class="io-line">Defined in <a href="" data-line="279"
|
|
1488
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:279</a></div>
|
|
1489
|
+
</td>
|
|
1490
|
+
</tr>
|
|
1454
1491
|
|
|
1455
1492
|
|
|
1456
1493
|
<tr>
|
|
1457
1494
|
<td class="col-md-4">
|
|
1458
1495
|
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
</div>
|
|
1496
|
+
<div class="io-description">
|
|
1497
|
+
<b>Parameters :</b>
|
|
1498
|
+
|
|
1499
|
+
<table class="params">
|
|
1500
|
+
<thead>
|
|
1501
|
+
<tr>
|
|
1502
|
+
<td>Name</td>
|
|
1503
|
+
<td>Optional</td>
|
|
1504
|
+
</tr>
|
|
1505
|
+
</thead>
|
|
1506
|
+
<tbody>
|
|
1507
|
+
<tr>
|
|
1508
|
+
<td>fileItem</td>
|
|
1509
|
+
|
|
1510
|
+
<td>
|
|
1511
|
+
No
|
|
1512
|
+
</td>
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
</tr>
|
|
1516
|
+
</tbody>
|
|
1517
|
+
</table>
|
|
1518
|
+
</div>
|
|
1519
|
+
<div class="io-description">
|
|
1520
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1521
|
+
|
|
1522
|
+
</div>
|
|
1523
|
+
<div class="io-description">
|
|
1524
|
+
|
|
1525
|
+
</div>
|
|
1491
1526
|
</td>
|
|
1492
1527
|
</tr>
|
|
1493
1528
|
</tbody>
|
|
@@ -1510,61 +1545,59 @@
|
|
|
1510
1545
|
</tr>
|
|
1511
1546
|
|
|
1512
1547
|
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1548
|
+
<tr>
|
|
1549
|
+
<td class="col-md-4">
|
|
1550
|
+
<div class="io-line">Defined in <a href="" data-line="316"
|
|
1551
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:316</a></div>
|
|
1552
|
+
</td>
|
|
1553
|
+
</tr>
|
|
1519
1554
|
|
|
1520
1555
|
|
|
1521
1556
|
<tr>
|
|
1522
1557
|
<td class="col-md-4">
|
|
1523
|
-
|
|
1558
|
+
<div class="io-description"><p><code>ControlValueAccessor</code> method to programmatically disable the checkbox.</p>
|
|
1524
1559
|
<p>ex: <code>this.formGroup.get("myFileUploader").disable();</code></p>
|
|
1525
1560
|
</div>
|
|
1526
1561
|
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
</div>
|
|
1562
|
+
<div class="io-description">
|
|
1563
|
+
<b>Parameters :</b>
|
|
1564
|
+
|
|
1565
|
+
<table class="params">
|
|
1566
|
+
<thead>
|
|
1567
|
+
<tr>
|
|
1568
|
+
<td>Name</td>
|
|
1569
|
+
<td>Type</td>
|
|
1570
|
+
<td>Optional</td>
|
|
1571
|
+
<td>Description</td>
|
|
1572
|
+
</tr>
|
|
1573
|
+
</thead>
|
|
1574
|
+
<tbody>
|
|
1575
|
+
<tr>
|
|
1576
|
+
<td>isDisabled</td>
|
|
1577
|
+
<td>
|
|
1578
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1579
|
+
</td>
|
|
1580
|
+
|
|
1581
|
+
<td>
|
|
1582
|
+
No
|
|
1583
|
+
</td>
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
<td>
|
|
1587
|
+
<p><code>true</code> to disable the file uploader</p>
|
|
1588
|
+
|
|
1589
|
+
</td>
|
|
1590
|
+
</tr>
|
|
1591
|
+
</tbody>
|
|
1592
|
+
</table>
|
|
1593
|
+
</div>
|
|
1594
|
+
<div class="io-description">
|
|
1595
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1596
|
+
|
|
1597
|
+
</div>
|
|
1598
|
+
<div class="io-description">
|
|
1599
|
+
|
|
1600
|
+
</div>
|
|
1568
1601
|
</td>
|
|
1569
1602
|
</tr>
|
|
1570
1603
|
</tbody>
|
|
@@ -1587,55 +1620,53 @@
|
|
|
1587
1620
|
</tr>
|
|
1588
1621
|
|
|
1589
1622
|
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1623
|
+
<tr>
|
|
1624
|
+
<td class="col-md-4">
|
|
1625
|
+
<div class="io-line">Defined in <a href="" data-line="207"
|
|
1626
|
+
class="link-to-prism">src/file-uploader/file-uploader.component.ts:207</a></div>
|
|
1627
|
+
</td>
|
|
1628
|
+
</tr>
|
|
1596
1629
|
|
|
1597
1630
|
|
|
1598
1631
|
<tr>
|
|
1599
1632
|
<td class="col-md-4">
|
|
1600
|
-
|
|
1633
|
+
<div class="io-description"><p>Propagates the injected <code>value</code>.</p>
|
|
1601
1634
|
</div>
|
|
1602
1635
|
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
</div>
|
|
1636
|
+
<div class="io-description">
|
|
1637
|
+
<b>Parameters :</b>
|
|
1638
|
+
|
|
1639
|
+
<table class="params">
|
|
1640
|
+
<thead>
|
|
1641
|
+
<tr>
|
|
1642
|
+
<td>Name</td>
|
|
1643
|
+
<td>Type</td>
|
|
1644
|
+
<td>Optional</td>
|
|
1645
|
+
</tr>
|
|
1646
|
+
</thead>
|
|
1647
|
+
<tbody>
|
|
1648
|
+
<tr>
|
|
1649
|
+
<td>value</td>
|
|
1650
|
+
<td>
|
|
1651
|
+
<code><a href="../interfaces/FileItem.html" target="_self" >Set<FileItem></a></code>
|
|
1652
|
+
</td>
|
|
1653
|
+
|
|
1654
|
+
<td>
|
|
1655
|
+
No
|
|
1656
|
+
</td>
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
</tr>
|
|
1660
|
+
</tbody>
|
|
1661
|
+
</table>
|
|
1662
|
+
</div>
|
|
1663
|
+
<div class="io-description">
|
|
1664
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1665
|
+
|
|
1666
|
+
</div>
|
|
1667
|
+
<div class="io-description">
|
|
1668
|
+
|
|
1669
|
+
</div>
|
|
1639
1670
|
</td>
|
|
1640
1671
|
</tr>
|
|
1641
1672
|
</tbody>
|
|
@@ -2332,6 +2363,19 @@ export class FileUploader implements ControlValueAccessor {
|
|
|
2332
2363
|
var MAX_SEARCH_RESULTS = 15;
|
|
2333
2364
|
</script>
|
|
2334
2365
|
|
|
2366
|
+
<script>
|
|
2367
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
2368
|
+
checkToggle(darkModeState);
|
|
2369
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
2370
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
2371
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
2372
|
+
darkModeState = !darkModeState;
|
|
2373
|
+
toggleDarkMode(darkModeState);
|
|
2374
|
+
});
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
</script>
|
|
2378
|
+
|
|
2335
2379
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
2336
2380
|
<script src="../js/libs/lit-html.js"></script>
|
|
2337
2381
|
|