@net7/components 3.0.2-rc.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 +24 -0
- package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mjs +25 -0
- package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mock.mjs +100 -0
- package/esm2020/lib/components/alert/alert.mjs +24 -0
- package/esm2020/lib/components/alert/alert.mock.mjs +11 -0
- package/esm2020/lib/components/anchor-wrapper/anchor-wrapper.mjs +35 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mjs +25 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mock.mjs +25 -0
- package/esm2020/lib/components/bubble-chart/bubble-chart.mjs +315 -0
- package/esm2020/lib/components/bubble-chart/bubble-chart.mock.mjs +4025 -0
- package/esm2020/lib/components/carousel/carousel.mjs +89 -0
- package/esm2020/lib/components/carousel/carousel.mock.mjs +135 -0
- package/esm2020/lib/components/chart/chart.mjs +37 -0
- package/esm2020/lib/components/chart/chart.mock.mjs +112 -0
- package/esm2020/lib/components/content-placeholder/content-placeholder.mjs +17 -0
- package/esm2020/lib/components/content-placeholder/content-placeholder.mock.mjs +13 -0
- package/esm2020/lib/components/data-widget/data-widget.mjs +29 -0
- package/esm2020/lib/components/data-widget/data-widget.mock.mjs +13 -0
- package/esm2020/lib/components/datepicker/datepicker.mjs +44 -0
- package/esm2020/lib/components/datepicker/datepicker.mock.mjs +8 -0
- package/esm2020/lib/components/facet/facet.mjs +24 -0
- package/esm2020/lib/components/facet/facet.mock.mjs +103 -0
- package/esm2020/lib/components/facet-header/facet-header.mjs +24 -0
- package/esm2020/lib/components/facet-header/facet-header.mock.mjs +9 -0
- package/esm2020/lib/components/facet-year-range/facet-year-range.mjs +53 -0
- package/esm2020/lib/components/facet-year-range/facet-year-range.mock.mjs +30 -0
- package/esm2020/lib/components/footer/footer.mjs +25 -0
- package/esm2020/lib/components/footer/footer.mock.mjs +48 -0
- package/esm2020/lib/components/header/header.mjs +51 -0
- package/esm2020/lib/components/header/header.mock.mjs +83 -0
- package/esm2020/lib/components/hero/hero.mjs +41 -0
- package/esm2020/lib/components/hero/hero.mock.mjs +25 -0
- package/esm2020/lib/components/histogram-range/histogram-range.mjs +376 -0
- package/esm2020/lib/components/histogram-range/histogram-range.mock.mjs +243 -0
- package/esm2020/lib/components/image-viewer/image-viewer.mjs +55 -0
- package/esm2020/lib/components/image-viewer/image-viewer.mock.mjs +25 -0
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +28 -0
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mock.mjs +54 -0
- package/esm2020/lib/components/inner-title/inner-title.mjs +40 -0
- package/esm2020/lib/components/inner-title/inner-title.mock.mjs +52 -0
- package/esm2020/lib/components/input-checkbox/input-checkbox.mjs +24 -0
- package/esm2020/lib/components/input-checkbox/input-checkbox.mock.mjs +25 -0
- package/esm2020/lib/components/input-link/input-link.mjs +24 -0
- package/esm2020/lib/components/input-link/input-link.mock.mjs +38 -0
- package/esm2020/lib/components/input-select/input-select.mjs +24 -0
- package/esm2020/lib/components/input-select/input-select.mock.mjs +12 -0
- package/esm2020/lib/components/input-text/input-text.mjs +24 -0
- package/esm2020/lib/components/input-text/input-text.mock.mjs +13 -0
- package/esm2020/lib/components/item-preview/item-preview.mjs +25 -0
- package/esm2020/lib/components/item-preview/item-preview.mock.mjs +43 -0
- package/esm2020/lib/components/loader/loader.mjs +16 -0
- package/esm2020/lib/components/loader/loader.mock.mjs +4 -0
- package/esm2020/lib/components/map/map.mjs +64 -0
- package/esm2020/lib/components/map/map.mock.mjs +25 -0
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mjs +19 -0
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mock.mjs +74 -0
- package/esm2020/lib/components/nav/nav.mjs +22 -0
- package/esm2020/lib/components/nav/nav.mock.mjs +29 -0
- package/esm2020/lib/components/pagination/pagination.mjs +31 -0
- package/esm2020/lib/components/pagination/pagination.mock.mjs +23 -0
- package/esm2020/lib/components/progress-line/progress-line.mjs +19 -0
- package/esm2020/lib/components/progress-line/progress-line.mock.mjs +5 -0
- package/esm2020/lib/components/sidebar-header/sidebar-header.mjs +24 -0
- package/esm2020/lib/components/sidebar-header/sidebar-header.mock.mjs +9 -0
- package/esm2020/lib/components/signup/signup.mjs +44 -0
- package/esm2020/lib/components/signup/signup.mock.mjs +106 -0
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mjs +25 -0
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mock.mjs +15 -0
- package/esm2020/lib/components/table/table.mjs +35 -0
- package/esm2020/lib/components/table/table.mock.mjs +152 -0
- package/esm2020/lib/components/tag/tag.mjs +24 -0
- package/esm2020/lib/components/tag/tag.mock.mjs +8 -0
- package/esm2020/lib/components/text-viewer/text-viewer.mjs +37 -0
- package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +39 -0
- package/esm2020/lib/components/timeline/timeline.mjs +51 -0
- package/esm2020/lib/components/timeline/timeline.mock.mjs +137 -0
- package/esm2020/lib/components/toast/toast.mjs +24 -0
- package/esm2020/lib/components/toast/toast.mock.mjs +47 -0
- package/esm2020/lib/components/tooltip-content/tooltip-content.mjs +25 -0
- package/esm2020/lib/components/tooltip-content/tooltip-content.mock.mjs +19 -0
- package/esm2020/lib/components/tree/tree.mjs +25 -0
- package/esm2020/lib/components/tree/tree.mock.mjs +274 -0
- package/esm2020/lib/components/wizard/wizard.mjs +24 -0
- package/esm2020/lib/components/wizard/wizard.mock.mjs +29 -0
- package/esm2020/lib/dv-components-lib.module.mjs +191 -0
- package/esm2020/lib/shared-interfaces.mjs +2 -0
- package/esm2020/net7-components.mjs +5 -0
- package/esm2020/public-api.mjs +93 -0
- package/fesm2015/net7-components.mjs +8154 -0
- package/fesm2015/net7-components.mjs.map +1 -0
- package/fesm2020/net7-components.mjs +8168 -0
- package/fesm2020/net7-components.mjs.map +1 -0
- package/lib/components/advanced-autocomplete/advanced-autocomplete.d.ts +57 -0
- package/lib/components/advanced-autocomplete/advanced-autocomplete.mock.d.ts +2 -0
- package/lib/components/alert/alert.d.ts +46 -0
- package/lib/components/alert/alert.mock.d.ts +2 -0
- package/lib/components/anchor-wrapper/anchor-wrapper.d.ts +16 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts +50 -0
- package/lib/components/breadcrumbs/breadcrumbs.mock.d.ts +2 -0
- package/lib/components/bubble-chart/bubble-chart.d.ts +108 -0
- package/lib/components/bubble-chart/bubble-chart.mock.d.ts +2 -0
- package/lib/components/carousel/carousel.d.ts +166 -0
- package/lib/components/carousel/carousel.mock.d.ts +2 -0
- package/lib/components/chart/chart.d.ts +46 -0
- package/lib/components/chart/chart.mock.d.ts +2 -0
- package/lib/components/content-placeholder/content-placeholder.d.ts +28 -0
- package/lib/components/content-placeholder/content-placeholder.mock.d.ts +2 -0
- package/lib/components/data-widget/data-widget.d.ts +50 -0
- package/lib/components/data-widget/data-widget.mock.d.ts +2 -0
- package/lib/components/datepicker/datepicker.d.ts +43 -0
- package/lib/components/datepicker/datepicker.mock.d.ts +2 -0
- package/lib/components/facet/facet.d.ts +129 -0
- package/lib/components/facet/facet.mock.d.ts +2 -0
- package/lib/components/facet-header/facet-header.d.ts +44 -0
- package/lib/components/facet-header/facet-header.mock.d.ts +2 -0
- package/lib/components/facet-year-range/facet-year-range.d.ts +83 -0
- package/lib/components/facet-year-range/facet-year-range.mock.d.ts +2 -0
- package/lib/components/footer/footer.d.ts +118 -0
- package/lib/components/footer/footer.mock.d.ts +2 -0
- package/lib/components/header/header.d.ts +281 -0
- package/lib/components/header/header.mock.d.ts +2 -0
- package/lib/components/hero/hero.d.ts +75 -0
- package/lib/components/hero/hero.mock.d.ts +2 -0
- package/lib/components/histogram-range/histogram-range.d.ts +113 -0
- package/lib/components/histogram-range/histogram-range.mock.d.ts +2 -0
- package/lib/components/image-viewer/image-viewer.d.ts +61 -0
- package/lib/components/image-viewer/image-viewer.mock.d.ts +2 -0
- package/lib/components/image-viewer-tools/image-viewer-tools.d.ts +116 -0
- package/lib/components/image-viewer-tools/image-viewer-tools.mock.d.ts +2 -0
- package/lib/components/inner-title/inner-title.d.ts +61 -0
- package/lib/components/inner-title/inner-title.mock.d.ts +2 -0
- package/lib/components/input-checkbox/input-checkbox.d.ts +67 -0
- package/lib/components/input-checkbox/input-checkbox.mock.d.ts +2 -0
- package/lib/components/input-link/input-link.d.ts +54 -0
- package/lib/components/input-link/input-link.mock.d.ts +2 -0
- package/lib/components/input-select/input-select.d.ts +67 -0
- package/lib/components/input-select/input-select.mock.d.ts +2 -0
- package/lib/components/input-text/input-text.d.ts +81 -0
- package/lib/components/input-text/input-text.mock.d.ts +2 -0
- package/lib/components/item-preview/item-preview.d.ts +93 -0
- package/lib/components/item-preview/item-preview.mock.d.ts +2 -0
- package/lib/components/loader/loader.d.ts +22 -0
- package/lib/components/loader/loader.mock.d.ts +2 -0
- package/lib/components/map/map.d.ts +69 -0
- package/lib/components/map/map.mock.d.ts +2 -0
- package/lib/components/metadata-viewer/metadata-viewer.d.ts +65 -0
- package/lib/components/metadata-viewer/metadata-viewer.mock.d.ts +8 -0
- package/lib/components/nav/nav.d.ts +66 -0
- package/lib/components/nav/nav.mock.d.ts +2 -0
- package/lib/components/pagination/pagination.d.ts +94 -0
- package/lib/components/pagination/pagination.mock.d.ts +2 -0
- package/lib/components/progress-line/progress-line.d.ts +23 -0
- package/lib/components/progress-line/progress-line.mock.d.ts +2 -0
- package/lib/components/sidebar-header/sidebar-header.d.ts +44 -0
- package/lib/components/sidebar-header/sidebar-header.mock.d.ts +2 -0
- package/lib/components/signup/signup.d.ts +109 -0
- package/lib/components/signup/signup.mock.d.ts +2 -0
- package/lib/components/simple-autocomplete/simple-autocomplete.d.ts +40 -0
- package/lib/components/simple-autocomplete/simple-autocomplete.mock.d.ts +2 -0
- package/lib/components/table/table.d.ts +89 -0
- package/lib/components/table/table.mock.d.ts +2 -0
- package/lib/components/tag/tag.d.ts +45 -0
- package/lib/components/tag/tag.mock.d.ts +2 -0
- package/lib/components/text-viewer/text-viewer.d.ts +34 -0
- package/lib/components/text-viewer/text-viewer.mock.d.ts +2 -0
- package/lib/components/timeline/timeline.d.ts +30 -0
- package/lib/components/timeline/timeline.mock.d.ts +2 -0
- package/lib/components/toast/toast.d.ts +84 -0
- package/lib/components/toast/toast.mock.d.ts +2 -0
- package/lib/components/tooltip-content/tooltip-content.d.ts +24 -0
- package/lib/components/tooltip-content/tooltip-content.mock.d.ts +2 -0
- package/lib/components/tree/tree.d.ts +79 -0
- package/lib/components/tree/tree.mock.d.ts +2 -0
- package/lib/components/wizard/wizard.d.ts +57 -0
- package/lib/components/wizard/wizard.mock.d.ts +2 -0
- package/lib/dv-components-lib.module.d.ts +50 -0
- package/lib/shared-interfaces.d.ts +60 -0
- package/net7-components.d.ts +5 -0
- package/package.json +44 -0
- package/public-api.d.ts +85 -0
- package/src/lib/styles/_imports.scss +77 -0
- package/src/lib/styles/atoms/_button.scss +205 -0
- package/src/lib/styles/components/_advanced-autocomplete.scss +190 -0
- package/src/lib/styles/components/_alert.scss +115 -0
- package/src/lib/styles/components/_anchor-wrapper.scss +29 -0
- package/src/lib/styles/components/_breadcrumbs.scss +99 -0
- package/src/lib/styles/components/_bubble-chart.scss +33 -0
- package/src/lib/styles/components/_carousel.scss +184 -0
- package/src/lib/styles/components/_chart.scss +28 -0
- package/src/lib/styles/components/_content-placeholder.scss +74 -0
- package/src/lib/styles/components/_data-widget.scss +93 -0
- package/src/lib/styles/components/_datepicker.scss +29 -0
- package/src/lib/styles/components/_facet-header.scss +58 -0
- package/src/lib/styles/components/_facet-year-range.scss +63 -0
- package/src/lib/styles/components/_facet.scss +164 -0
- package/src/lib/styles/components/_footer.scss +116 -0
- package/src/lib/styles/components/_header.scss +474 -0
- package/src/lib/styles/components/_hero.scss +207 -0
- package/src/lib/styles/components/_histogram-range.scss +36 -0
- package/src/lib/styles/components/_image-viewer-tools.scss +225 -0
- package/src/lib/styles/components/_image-viewer.scss +173 -0
- package/src/lib/styles/components/_inner-title.scss +161 -0
- package/src/lib/styles/components/_input-checkbox.scss +50 -0
- package/src/lib/styles/components/_input-link.scss +78 -0
- package/src/lib/styles/components/_input-select.scss +25 -0
- package/src/lib/styles/components/_input-text.scss +53 -0
- package/src/lib/styles/components/_item-preview.scss +218 -0
- package/src/lib/styles/components/_loader.scss +54 -0
- package/src/lib/styles/components/_map.scss +31 -0
- package/src/lib/styles/components/_metadata-viewer.scss +52 -0
- package/src/lib/styles/components/_nav.scss +57 -0
- package/src/lib/styles/components/_pagination.scss +170 -0
- package/src/lib/styles/components/_progress-line.scss +53 -0
- package/src/lib/styles/components/_sidebar-header.scss +69 -0
- package/src/lib/styles/components/_signup.scss +157 -0
- package/src/lib/styles/components/_simple-autocomplete.scss +60 -0
- package/src/lib/styles/components/_table.scss +129 -0
- package/src/lib/styles/components/_tag.scss +51 -0
- package/src/lib/styles/components/_text-viewer.scss +446 -0
- package/src/lib/styles/components/_timeline.scss +29 -0
- package/src/lib/styles/components/_toast.scss +99 -0
- package/src/lib/styles/components/_tooltip-content.scss +29 -0
- package/src/lib/styles/components/_tree.scss +208 -0
- package/src/lib/styles/components/_wizard.scss +150 -0
- package/src/lib/styles/generic/_color_scheme.scss +27 -0
- package/src/lib/styles/generic/_mixins.scss +81 -0
- package/src/lib/styles/generic/_variables.scss +385 -0
- package/src/lib/styles/global/_forms.scss +122 -0
- package/src/lib/styles/global/_global.scss +46 -0
- package/src/lib/styles/global/_normalize.scss +433 -0
- package/src/lib/styles/global/_typography.scss +88 -0
- package/src/lib/styles/utilities/_grids.scss +361 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/advanced-autocomplete/advanced-autocomplete";
|
|
3
|
+
import * as i2 from "./components/alert/alert";
|
|
4
|
+
import * as i3 from "./components/anchor-wrapper/anchor-wrapper";
|
|
5
|
+
import * as i4 from "./components/breadcrumbs/breadcrumbs";
|
|
6
|
+
import * as i5 from "./components/bubble-chart/bubble-chart";
|
|
7
|
+
import * as i6 from "./components/carousel/carousel";
|
|
8
|
+
import * as i7 from "./components/chart/chart";
|
|
9
|
+
import * as i8 from "./components/content-placeholder/content-placeholder";
|
|
10
|
+
import * as i9 from "./components/data-widget/data-widget";
|
|
11
|
+
import * as i10 from "./components/datepicker/datepicker";
|
|
12
|
+
import * as i11 from "./components/facet/facet";
|
|
13
|
+
import * as i12 from "./components/facet-header/facet-header";
|
|
14
|
+
import * as i13 from "./components/facet-year-range/facet-year-range";
|
|
15
|
+
import * as i14 from "./components/footer/footer";
|
|
16
|
+
import * as i15 from "./components/header/header";
|
|
17
|
+
import * as i16 from "./components/hero/hero";
|
|
18
|
+
import * as i17 from "./components/histogram-range/histogram-range";
|
|
19
|
+
import * as i18 from "./components/image-viewer/image-viewer";
|
|
20
|
+
import * as i19 from "./components/image-viewer-tools/image-viewer-tools";
|
|
21
|
+
import * as i20 from "./components/inner-title/inner-title";
|
|
22
|
+
import * as i21 from "./components/input-checkbox/input-checkbox";
|
|
23
|
+
import * as i22 from "./components/input-link/input-link";
|
|
24
|
+
import * as i23 from "./components/input-select/input-select";
|
|
25
|
+
import * as i24 from "./components/input-text/input-text";
|
|
26
|
+
import * as i25 from "./components/item-preview/item-preview";
|
|
27
|
+
import * as i26 from "./components/loader/loader";
|
|
28
|
+
import * as i27 from "./components/map/map";
|
|
29
|
+
import * as i28 from "./components/metadata-viewer/metadata-viewer";
|
|
30
|
+
import * as i29 from "./components/nav/nav";
|
|
31
|
+
import * as i30 from "./components/pagination/pagination";
|
|
32
|
+
import * as i31 from "./components/sidebar-header/sidebar-header";
|
|
33
|
+
import * as i32 from "./components/signup/signup";
|
|
34
|
+
import * as i33 from "./components/simple-autocomplete/simple-autocomplete";
|
|
35
|
+
import * as i34 from "./components/table/table";
|
|
36
|
+
import * as i35 from "./components/tag/tag";
|
|
37
|
+
import * as i36 from "./components/text-viewer/text-viewer";
|
|
38
|
+
import * as i37 from "./components/timeline/timeline";
|
|
39
|
+
import * as i38 from "./components/toast/toast";
|
|
40
|
+
import * as i39 from "./components/tooltip-content/tooltip-content";
|
|
41
|
+
import * as i40 from "./components/tree/tree";
|
|
42
|
+
import * as i41 from "./components/wizard/wizard";
|
|
43
|
+
import * as i42 from "./components/progress-line/progress-line";
|
|
44
|
+
import * as i43 from "@angular/common";
|
|
45
|
+
import * as i44 from "@angular/router";
|
|
46
|
+
export declare class DvComponentsLibModule {
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DvComponentsLibModule, never>;
|
|
48
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DvComponentsLibModule, [typeof i1.AdvancedAutocompleteComponent, typeof i2.AlertComponent, typeof i3.AnchorWrapperComponent, typeof i4.BreadcrumbsComponent, typeof i5.BubbleChartComponent, typeof i6.CarouselComponent, typeof i7.ChartComponent, typeof i8.ContentPlaceholderComponent, typeof i9.DataWidgetComponent, typeof i10.DatepickerComponent, typeof i11.FacetComponent, typeof i12.FacetHeaderComponent, typeof i13.FacetYearRangeComponent, typeof i14.FooterComponent, typeof i15.HeaderComponent, typeof i16.HeroComponent, typeof i17.HistogramRangeComponent, typeof i18.ImageViewerComponent, typeof i19.ImageViewerToolsComponent, typeof i20.InnerTitleComponent, typeof i21.InputCheckboxComponent, typeof i22.InputLinkComponent, typeof i23.InputSelectComponent, typeof i24.InputTextComponent, typeof i25.ItemPreviewComponent, typeof i26.LoaderComponent, typeof i27.MapComponent, typeof i28.MetadataViewerComponent, typeof i29.NavComponent, typeof i30.PaginationComponent, typeof i31.SidebarHeaderComponent, typeof i32.SignupComponent, typeof i33.SimpleAutocompleteComponent, typeof i34.TableComponent, typeof i35.TagComponent, typeof i36.TextViewerComponent, typeof i37.TimelineComponent, typeof i38.ToastComponent, typeof i39.TooltipContentComponent, typeof i40.TreeComponent, typeof i41.WizardComponent, typeof i42.ProgressLineComponent], [typeof i43.CommonModule, typeof i44.RouterModule], [typeof i1.AdvancedAutocompleteComponent, typeof i2.AlertComponent, typeof i3.AnchorWrapperComponent, typeof i4.BreadcrumbsComponent, typeof i5.BubbleChartComponent, typeof i6.CarouselComponent, typeof i7.ChartComponent, typeof i8.ContentPlaceholderComponent, typeof i9.DataWidgetComponent, typeof i10.DatepickerComponent, typeof i11.FacetComponent, typeof i12.FacetHeaderComponent, typeof i13.FacetYearRangeComponent, typeof i14.FooterComponent, typeof i15.HeaderComponent, typeof i16.HeroComponent, typeof i17.HistogramRangeComponent, typeof i18.ImageViewerComponent, typeof i19.ImageViewerToolsComponent, typeof i20.InnerTitleComponent, typeof i21.InputCheckboxComponent, typeof i22.InputLinkComponent, typeof i23.InputSelectComponent, typeof i24.InputTextComponent, typeof i25.ItemPreviewComponent, typeof i26.LoaderComponent, typeof i27.MapComponent, typeof i28.MetadataViewerComponent, typeof i29.NavComponent, typeof i30.PaginationComponent, typeof i31.SidebarHeaderComponent, typeof i32.SignupComponent, typeof i33.SimpleAutocompleteComponent, typeof i34.TableComponent, typeof i35.TagComponent, typeof i36.TextViewerComponent, typeof i37.TimelineComponent, typeof i38.ToastComponent, typeof i39.TooltipContentComponent, typeof i40.TreeComponent, typeof i41.WizardComponent, typeof i42.ProgressLineComponent]>;
|
|
49
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DvComponentsLibModule>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for an anchor <a> element
|
|
3
|
+
*
|
|
4
|
+
* @property href (optional)
|
|
5
|
+
* @property target (optional)
|
|
6
|
+
* @property payload (optional)
|
|
7
|
+
*/
|
|
8
|
+
export interface Anchor {
|
|
9
|
+
/**
|
|
10
|
+
* href for link <a>
|
|
11
|
+
*/
|
|
12
|
+
href?: string;
|
|
13
|
+
/**
|
|
14
|
+
* link <a> target attribute
|
|
15
|
+
*/
|
|
16
|
+
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
17
|
+
/**
|
|
18
|
+
* click payload
|
|
19
|
+
*/
|
|
20
|
+
payload?: any;
|
|
21
|
+
/**
|
|
22
|
+
* Query parameters
|
|
23
|
+
*/
|
|
24
|
+
queryParams?: any;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Interface for a simple Button
|
|
28
|
+
*
|
|
29
|
+
* @property text (required)
|
|
30
|
+
* @property anchor (optional)
|
|
31
|
+
* @property classes (optional)
|
|
32
|
+
* @property _meta (optional)
|
|
33
|
+
*/
|
|
34
|
+
export interface Button {
|
|
35
|
+
/**
|
|
36
|
+
* innerHTML or plain text for the label
|
|
37
|
+
*/
|
|
38
|
+
text?: string;
|
|
39
|
+
/**
|
|
40
|
+
* additional html classes
|
|
41
|
+
*/
|
|
42
|
+
classes?: string;
|
|
43
|
+
anchor?: Anchor;
|
|
44
|
+
/**
|
|
45
|
+
* additional info
|
|
46
|
+
*/
|
|
47
|
+
_meta?: any;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Type for an icon.
|
|
51
|
+
* It may have a simple string type or an object type.
|
|
52
|
+
*/
|
|
53
|
+
export declare type Icon = {
|
|
54
|
+
/** Identifier of the icon in n7-icon-font */
|
|
55
|
+
id: string;
|
|
56
|
+
/** Custom inline css */
|
|
57
|
+
style?: object;
|
|
58
|
+
/** Event payload */
|
|
59
|
+
payload?: any;
|
|
60
|
+
} | string;
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@net7/components",
|
|
3
|
+
"version": "3.0.2-rc.2",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"apexcharts": "^3.8.5",
|
|
6
|
+
"d3": "^7.1.1",
|
|
7
|
+
"flatpickr": "^4.6.3",
|
|
8
|
+
"latte-carousel": "^1.6.1",
|
|
9
|
+
"leaflet": "^1.6.0",
|
|
10
|
+
"leaflet.markercluster": "^1.4.1",
|
|
11
|
+
"dayjs": "~1.10.7",
|
|
12
|
+
"openseadragon": "^2.4.1",
|
|
13
|
+
"vis-data": "~6.5.3",
|
|
14
|
+
"tslib": "^2.0.0",
|
|
15
|
+
"vis-timeline": "~7.3.6",
|
|
16
|
+
"vis-util": "~4.3.2",
|
|
17
|
+
"@teipublisher/pb-components": "~1.11.0"
|
|
18
|
+
},
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"@angular/common": "~13.2.0",
|
|
21
|
+
"@angular/core": "~13.2.0",
|
|
22
|
+
"@angular/router": "~13.2.0"
|
|
23
|
+
},
|
|
24
|
+
"module": "fesm2015/net7-components.mjs",
|
|
25
|
+
"es2020": "fesm2020/net7-components.mjs",
|
|
26
|
+
"esm2020": "esm2020/net7-components.mjs",
|
|
27
|
+
"fesm2020": "fesm2020/net7-components.mjs",
|
|
28
|
+
"fesm2015": "fesm2015/net7-components.mjs",
|
|
29
|
+
"typings": "net7-components.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
"./package.json": {
|
|
32
|
+
"default": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./net7-components.d.ts",
|
|
36
|
+
"esm2020": "./esm2020/net7-components.mjs",
|
|
37
|
+
"es2020": "./fesm2020/net7-components.mjs",
|
|
38
|
+
"es2015": "./fesm2015/net7-components.mjs",
|
|
39
|
+
"node": "./fesm2015/net7-components.mjs",
|
|
40
|
+
"default": "./fesm2020/net7-components.mjs"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"sideEffects": false
|
|
44
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export * from './lib/dv-components-lib.module';
|
|
2
|
+
export * from './lib/shared-interfaces';
|
|
3
|
+
export * from './lib/components/advanced-autocomplete/advanced-autocomplete';
|
|
4
|
+
export * from './lib/components/alert/alert';
|
|
5
|
+
export * from './lib/components/anchor-wrapper/anchor-wrapper';
|
|
6
|
+
export * from './lib/components/breadcrumbs/breadcrumbs';
|
|
7
|
+
export * from './lib/components/bubble-chart/bubble-chart';
|
|
8
|
+
export * from './lib/components/carousel/carousel';
|
|
9
|
+
export * from './lib/components/chart/chart';
|
|
10
|
+
export * from './lib/components/content-placeholder/content-placeholder';
|
|
11
|
+
export * from './lib/components/data-widget/data-widget';
|
|
12
|
+
export * from './lib/components/datepicker/datepicker';
|
|
13
|
+
export * from './lib/components/facet-header/facet-header';
|
|
14
|
+
export * from './lib/components/facet-year-range/facet-year-range';
|
|
15
|
+
export * from './lib/components/facet/facet';
|
|
16
|
+
export * from './lib/components/footer/footer';
|
|
17
|
+
export * from './lib/components/header/header';
|
|
18
|
+
export * from './lib/components/hero/hero';
|
|
19
|
+
export * from './lib/components/histogram-range/histogram-range';
|
|
20
|
+
export * from './lib/components/image-viewer-tools/image-viewer-tools';
|
|
21
|
+
export * from './lib/components/image-viewer/image-viewer';
|
|
22
|
+
export * from './lib/components/inner-title/inner-title';
|
|
23
|
+
export * from './lib/components/input-checkbox/input-checkbox';
|
|
24
|
+
export * from './lib/components/input-link/input-link';
|
|
25
|
+
export * from './lib/components/input-select/input-select';
|
|
26
|
+
export * from './lib/components/input-text/input-text';
|
|
27
|
+
export * from './lib/components/item-preview/item-preview';
|
|
28
|
+
export * from './lib/components/loader/loader';
|
|
29
|
+
export * from './lib/components/map/map';
|
|
30
|
+
export * from './lib/components/metadata-viewer/metadata-viewer';
|
|
31
|
+
export * from './lib/components/nav/nav';
|
|
32
|
+
export * from './lib/components/pagination/pagination';
|
|
33
|
+
export * from './lib/components/progress-line/progress-line';
|
|
34
|
+
export * from './lib/components/sidebar-header/sidebar-header';
|
|
35
|
+
export * from './lib/components/signup/signup';
|
|
36
|
+
export * from './lib/components/simple-autocomplete/simple-autocomplete';
|
|
37
|
+
export * from './lib/components/table/table';
|
|
38
|
+
export * from './lib/components/tag/tag';
|
|
39
|
+
export * from './lib/components/text-viewer/text-viewer';
|
|
40
|
+
export * from './lib/components/timeline/timeline';
|
|
41
|
+
export * from './lib/components/toast/toast';
|
|
42
|
+
export * from './lib/components/tooltip-content/tooltip-content';
|
|
43
|
+
export * from './lib/components/tree/tree';
|
|
44
|
+
export * from './lib/components/wizard/wizard';
|
|
45
|
+
export * from './lib/components/advanced-autocomplete/advanced-autocomplete.mock';
|
|
46
|
+
export * from './lib/components/alert/alert.mock';
|
|
47
|
+
export * from './lib/components/breadcrumbs/breadcrumbs.mock';
|
|
48
|
+
export * from './lib/components/bubble-chart/bubble-chart.mock';
|
|
49
|
+
export * from './lib/components/carousel/carousel.mock';
|
|
50
|
+
export * from './lib/components/chart/chart.mock';
|
|
51
|
+
export * from './lib/components/content-placeholder/content-placeholder.mock';
|
|
52
|
+
export * from './lib/components/data-widget/data-widget.mock';
|
|
53
|
+
export * from './lib/components/datepicker/datepicker.mock';
|
|
54
|
+
export * from './lib/components/facet-header/facet-header.mock';
|
|
55
|
+
export * from './lib/components/facet-year-range/facet-year-range.mock';
|
|
56
|
+
export * from './lib/components/facet/facet.mock';
|
|
57
|
+
export * from './lib/components/footer/footer.mock';
|
|
58
|
+
export * from './lib/components/header/header.mock';
|
|
59
|
+
export * from './lib/components/hero/hero.mock';
|
|
60
|
+
export * from './lib/components/histogram-range/histogram-range.mock';
|
|
61
|
+
export * from './lib/components/image-viewer-tools/image-viewer-tools.mock';
|
|
62
|
+
export * from './lib/components/image-viewer/image-viewer.mock';
|
|
63
|
+
export * from './lib/components/inner-title/inner-title.mock';
|
|
64
|
+
export * from './lib/components/input-checkbox/input-checkbox.mock';
|
|
65
|
+
export * from './lib/components/input-link/input-link.mock';
|
|
66
|
+
export * from './lib/components/input-select/input-select.mock';
|
|
67
|
+
export * from './lib/components/input-text/input-text.mock';
|
|
68
|
+
export * from './lib/components/item-preview/item-preview.mock';
|
|
69
|
+
export * from './lib/components/loader/loader.mock';
|
|
70
|
+
export * from './lib/components/map/map.mock';
|
|
71
|
+
export * from './lib/components/metadata-viewer/metadata-viewer.mock';
|
|
72
|
+
export * from './lib/components/nav/nav.mock';
|
|
73
|
+
export * from './lib/components/pagination/pagination.mock';
|
|
74
|
+
export * from './lib/components/progress-line/progress-line.mock';
|
|
75
|
+
export * from './lib/components/sidebar-header/sidebar-header.mock';
|
|
76
|
+
export * from './lib/components/signup/signup.mock';
|
|
77
|
+
export * from './lib/components/simple-autocomplete/simple-autocomplete.mock';
|
|
78
|
+
export * from './lib/components/table/table.mock';
|
|
79
|
+
export * from './lib/components/tag/tag.mock';
|
|
80
|
+
export * from './lib/components/text-viewer/text-viewer.mock';
|
|
81
|
+
export * from './lib/components/timeline/timeline.mock';
|
|
82
|
+
export * from './lib/components/toast/toast.mock';
|
|
83
|
+
export * from './lib/components/tooltip-content/tooltip-content.mock';
|
|
84
|
+
export * from './lib/components/tree/tree.mock';
|
|
85
|
+
export * from './lib/components/wizard/wizard.mock';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Net7 Frontend Framework
|
|
3
|
+
//
|
|
4
|
+
// Sass styles import for the components library
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
// ------------------------------------ //
|
|
8
|
+
// #GENERIC
|
|
9
|
+
// ------------------------------------ //
|
|
10
|
+
@import "generic/mixins";
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
// ------------------------------------ //
|
|
14
|
+
// #GLOBAL
|
|
15
|
+
// ------------------------------------ //
|
|
16
|
+
@import "global/forms";
|
|
17
|
+
@import "global/global";
|
|
18
|
+
@import "global/normalize";
|
|
19
|
+
@import "global/typography";
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// ------------------------------------ //
|
|
23
|
+
// #ATOMS
|
|
24
|
+
// ------------------------------------ //
|
|
25
|
+
@import "atoms/_button";
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
// ------------------------------------ //
|
|
29
|
+
// #COMPONENTS
|
|
30
|
+
// ------------------------------------ //
|
|
31
|
+
@import "components/advanced-autocomplete";
|
|
32
|
+
@import "components/alert";
|
|
33
|
+
@import "components/anchor-wrapper";
|
|
34
|
+
@import "components/breadcrumbs";
|
|
35
|
+
@import "components/bubble-chart";
|
|
36
|
+
@import "components/carousel";
|
|
37
|
+
@import "components/chart";
|
|
38
|
+
@import "components/content-placeholder";
|
|
39
|
+
@import "components/data-widget";
|
|
40
|
+
@import "components/datepicker";
|
|
41
|
+
@import "components/facet-header";
|
|
42
|
+
@import "components/facet-year-range";
|
|
43
|
+
@import "components/facet";
|
|
44
|
+
@import "components/footer";
|
|
45
|
+
@import "components/header";
|
|
46
|
+
@import "components/hero";
|
|
47
|
+
@import "components/histogram-range";
|
|
48
|
+
@import "components/image-viewer";
|
|
49
|
+
@import "components/image-viewer-tools";
|
|
50
|
+
@import "components/inner-title";
|
|
51
|
+
@import "components/input-checkbox";
|
|
52
|
+
@import "components/input-link";
|
|
53
|
+
@import "components/input-select";
|
|
54
|
+
@import "components/input-text";
|
|
55
|
+
@import "components/item-preview";
|
|
56
|
+
@import "components/loader";
|
|
57
|
+
@import "components/map";
|
|
58
|
+
@import "components/metadata-viewer";
|
|
59
|
+
@import "components/nav";
|
|
60
|
+
@import "components/pagination";
|
|
61
|
+
@import "components/sidebar-header";
|
|
62
|
+
@import "components/signup";
|
|
63
|
+
@import "components/simple-autocomplete";
|
|
64
|
+
@import "components/table";
|
|
65
|
+
@import "components/tag";
|
|
66
|
+
@import "components/text-viewer";
|
|
67
|
+
@import "components/timeline";
|
|
68
|
+
@import "components/toast";
|
|
69
|
+
@import "components/tooltip-content";
|
|
70
|
+
@import "components/tree";
|
|
71
|
+
@import "components/wizard";
|
|
72
|
+
@import "components/progress-line";
|
|
73
|
+
|
|
74
|
+
// ------------------------------------ //
|
|
75
|
+
// #UTILITIES
|
|
76
|
+
// ------------------------------------ //
|
|
77
|
+
@import "utilities/_grids";
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BUTTONS
|
|
3
|
+
*
|
|
4
|
+
* Style for all types of buttons
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#STANDARD-BUTTON
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-btn {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
width: auto !important;
|
|
14
|
+
height: $button-normal-height;
|
|
15
|
+
padding: 0 $space;
|
|
16
|
+
margin: 0;
|
|
17
|
+
border: $button-border-width solid $color-button-border;
|
|
18
|
+
border-radius: $button-border-radius;
|
|
19
|
+
background-color: $color-button-bg;
|
|
20
|
+
color: $color-button-text;
|
|
21
|
+
font-size: $font-size-s;
|
|
22
|
+
font-weight: $font-weight-bold;
|
|
23
|
+
font-family: $font-family-main;
|
|
24
|
+
line-height: $button-normal-height - $button-border-width;
|
|
25
|
+
vertical-align: top;
|
|
26
|
+
text-align: center;
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
transition-property: border, background-color, color, width;
|
|
30
|
+
transition-duration: $transition-durations;
|
|
31
|
+
|
|
32
|
+
/* Hover */
|
|
33
|
+
&:hover {
|
|
34
|
+
background-color: $color-button-bg-hover;
|
|
35
|
+
border-color: $color-button-border-hover;
|
|
36
|
+
color: $color-button-text-hover;
|
|
37
|
+
text-decoration: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Disabled */
|
|
41
|
+
&.is-disabled, &.is-disabled:hover,
|
|
42
|
+
&.is-disabled:active, &.is-disabled:active:hover {
|
|
43
|
+
color: $color-button-text-disabled;
|
|
44
|
+
border-color: $color-button-border;
|
|
45
|
+
background-color: $color-button-bg-disabled;
|
|
46
|
+
text-shadow: none;
|
|
47
|
+
cursor: not-allowed;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Active */
|
|
51
|
+
&.is-active, &:active, &.is-active:hover, &:active:hover {
|
|
52
|
+
color: $color-button-text-hover;
|
|
53
|
+
border-color: $color-button-text-hover;
|
|
54
|
+
background-color: $color-button-bg;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* With loader inside */
|
|
58
|
+
&.is-loading {
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
/* ------------------------------------ *\
|
|
64
|
+
#LIGHT-BUTTON
|
|
65
|
+
\* ------------------------------------ */
|
|
66
|
+
/* No background button */
|
|
67
|
+
.n7-btn-light {
|
|
68
|
+
padding: 0 4px;
|
|
69
|
+
color: $color-button-light-text;
|
|
70
|
+
border: 0;
|
|
71
|
+
border-radius: 0;
|
|
72
|
+
background-color: transparent;
|
|
73
|
+
font-weight: $font-weight-normal;
|
|
74
|
+
text-decoration: none;
|
|
75
|
+
text-shadow: none;
|
|
76
|
+
line-height: $button-normal-height;
|
|
77
|
+
|
|
78
|
+
/* Hover */
|
|
79
|
+
&:hover {
|
|
80
|
+
color: $color-button-light-text-hover;
|
|
81
|
+
background-color: transparent;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Disabled */
|
|
85
|
+
&.is-disabled, &.is-disabled:hover,
|
|
86
|
+
&.is-disabled:active, &.is-disabled:active:hover {
|
|
87
|
+
color: $color-button-light-text-disabled;
|
|
88
|
+
background-color: transparent;
|
|
89
|
+
border: 0;
|
|
90
|
+
cursor: not-allowed;
|
|
91
|
+
text-shadow: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Active */
|
|
95
|
+
&.is-active, &:active, &.is-active:hover, &:active:hover {
|
|
96
|
+
color: $color-button-light-text-active;
|
|
97
|
+
background-color: transparent;
|
|
98
|
+
border: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* With loader inside */
|
|
102
|
+
&.is-loading {
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
/* ------------------------------------ *\
|
|
108
|
+
#CALL-TO-ACTION-BUTTON
|
|
109
|
+
\* ------------------------------------ */
|
|
110
|
+
.n7-btn-cta {
|
|
111
|
+
background-color: $color-button-cta-bg;
|
|
112
|
+
border-color: $color-button-cta-border;
|
|
113
|
+
color: $color-button-cta-text;
|
|
114
|
+
|
|
115
|
+
&:hover {
|
|
116
|
+
background-color: $color-button-cta-bg-hover;
|
|
117
|
+
border-color: $color-button-cta-border;
|
|
118
|
+
color: $color-button-cta-text-hover;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Disabled */
|
|
122
|
+
&.is-disabled, &.is-disabled:hover,
|
|
123
|
+
&.is-disabled:active, &.is-disabled:active:hover {
|
|
124
|
+
background-color: $color-button-cta-bg-disabled;
|
|
125
|
+
border-color: $color-button-cta-border;
|
|
126
|
+
color: $color-button-cta-text-disabled;
|
|
127
|
+
cursor: not-allowed;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* Active */
|
|
131
|
+
&.is-active, &:active, &.is-active:hover, &:active:hover {
|
|
132
|
+
background-color: $color-button-cta-bg-active;
|
|
133
|
+
border-color: $color-button-cta-border;
|
|
134
|
+
color: $color-button-cta-text;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* With loader inside */
|
|
138
|
+
&.is-loading {
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
/* ------------------------------------ *\
|
|
144
|
+
#SIZES
|
|
145
|
+
\* ------------------------------------ */
|
|
146
|
+
.n7-btn {
|
|
147
|
+
/* Sizes */
|
|
148
|
+
&.n7-btn-s {
|
|
149
|
+
height: $button-small-height;
|
|
150
|
+
padding: 0 calc($space/2);
|
|
151
|
+
line-height: $button-small-height - $button-border-width;
|
|
152
|
+
font-size: $font-size-xs;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.n7-btn-l {
|
|
156
|
+
height: $button-large-height;
|
|
157
|
+
padding: 0 $space*3;
|
|
158
|
+
line-height: $button-large-height - $button-border-width;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.n7-btn-xl {
|
|
162
|
+
height: $button-large-height;
|
|
163
|
+
padding: 0 $space*3;
|
|
164
|
+
font-size: $font-size-m;
|
|
165
|
+
line-height: $button-large-height - $button-border-width;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Full width */
|
|
169
|
+
&.n7-btn-full {
|
|
170
|
+
width: 100%;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
/* ------------------------------------ *\
|
|
176
|
+
#ICON
|
|
177
|
+
\* ------------------------------------ */
|
|
178
|
+
.n7-btn {
|
|
179
|
+
[class*=n7-icon] {
|
|
180
|
+
vertical-align: text-bottom;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* Spacing between the icon and the label:
|
|
184
|
+
it assumes that the label is wrapper in a <span>.
|
|
185
|
+
This spacing supports the icon on the left and on the right */
|
|
186
|
+
[class*=n7-icon] + span {
|
|
187
|
+
margin-left: calc($space/4);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
span + [class*=n7-icon] {
|
|
191
|
+
margin-left: calc($space/4);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* Spacing for bigger buttons */
|
|
195
|
+
&.n7-btn-l,
|
|
196
|
+
&.n7-btn-xl {
|
|
197
|
+
[class*=n7-icon] + span {
|
|
198
|
+
margin-left: calc($space/2);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
span + [class*=n7-icon] {
|
|
202
|
+
margin-left: calc($space/2);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|