Skip to content

Commit 2d8a5a2

Browse files
Update configuration for new features/library updates
1 parent 564dd90 commit 2d8a5a2

File tree

1 file changed

+61
-89
lines changed

1 file changed

+61
-89
lines changed

Diff for: Private/Parameters.Configuration.ps1

+61-89
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
param(
44

55
)
6-
$ConfigurationURL = 'https://cdn.jsdelivr.net/gh/evotecit/[email protected].22'
6+
$ConfigurationURL = 'https://cdn.jsdelivr.net/gh/evotecit/[email protected].25'
77
$Configuration = [ordered] @{
88
Features = [ordered] @{
99
Inject = @{
@@ -321,7 +321,7 @@
321321
# 'display' = 'flex'
322322
# }
323323
# }
324-
'.defaultSection' = [ordered] @{
324+
'.defaultSection' = [ordered] @{
325325
#'display' = 'flex' # added to allow diagram to resize properly
326326
'flex-direction' = 'column' # added to allow diagram to resize properly
327327
#'flex-direction' = 'default' # added to allow diagram to resize properly
@@ -333,7 +333,7 @@
333333
'transition' = '0.3s'
334334
'border-radius' = '5px'
335335
}
336-
'.defaultSectionHead' = [ordered] @{
336+
'.defaultSectionHead' = [ordered] @{
337337
'display' = 'flex'
338338
'justify-content' = 'center'
339339
'padding' = '5px'
@@ -614,16 +614,16 @@
614614
Comment = 'Apex Charts'
615615
Header = @{
616616
JsLink = @(
617-
'https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js' # If you need to make it work with IE11, you need to include these polyfills before including ApexCharts
618-
'https://cdn.jsdelivr.net/npm/eligrey-classlist-js-polyfill' # If you need to make it work with IE11, you need to include these polyfills before including ApexCharts
619-
'https://cdn.jsdelivr.net/npm/findindex_polyfill_mdn' # You will need this only if you require timeline/rangebar charts
617+
#'https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js' # If you need to make it work with IE11, you need to include these polyfills before including ApexCharts
618+
#'https://cdn.jsdelivr.net/npm/eligrey-classlist-js-polyfill' # If you need to make it work with IE11, you need to include these polyfills before including ApexCharts
619+
#'https://cdn.jsdelivr.net/npm/findindex_polyfill_mdn' # You will need this only if you require timeline/rangebar charts
620620
#'https://unpkg.com/[email protected]/lib/umd.js' # You will need this only if you require PNG download of your charts
621621
'https://cdn.jsdelivr.net/npm/[email protected]/dist/apexcharts.min.js'
622622
)
623623
JS = @(
624-
"$PSScriptRoot\..\Resources\JS\polyfill.min.js"
625-
"$PSScriptRoot\..\Resources\JS\classList.min.js"
626-
"$PSScriptRoot\..\Resources\JS\findIndex.min.js"
624+
#"$PSScriptRoot\..\Resources\JS\polyfill.min.js"
625+
#"$PSScriptRoot\..\Resources\JS\classList.min.js"
626+
# "$PSScriptRoot\..\Resources\JS\findIndex.min.js"
627627
#"$PSScriptRoot\..\Resources\JS\umd.min.js"
628628
"$PSScriptRoot\..\Resources\JS\apexcharts.min.js"
629629
)
@@ -1914,7 +1914,7 @@
19141914
VisData = [ordered]@{
19151915
Header = @{
19161916
# https://unpkg.com/vis-data@latest/peer/umd/vis-data.min.js
1917-
JsLink = 'https://cdn.jsdelivr.net/npm/[email protected].6/peer/umd/vis-data.min.js'
1917+
JsLink = 'https://cdn.jsdelivr.net/npm/[email protected].9/peer/umd/vis-data.min.js'
19181918
Js = "$PSScriptRoot\..\Resources\JS\vis-data.min.js"
19191919
}
19201920
Default = $true
@@ -1942,9 +1942,9 @@
19421942
Header = @{
19431943
# https://unpkg.com/vis-network@latest/peer/umd/vis-network.min.js
19441944
# https://unpkg.com/vis-network/styles/vis-network.min.css
1945-
JsLink = 'https://cdn.jsdelivr.net/npm/[email protected].6/peer/umd/vis-network.min.js'
1945+
JsLink = 'https://cdn.jsdelivr.net/npm/[email protected].9/peer/umd/vis-network.min.js'
19461946
Js = "$PSScriptRoot\..\Resources\JS\vis-network.min.js"
1947-
CssLink = 'https://cdn.jsdelivr.net/npm/[email protected].6/styles/vis-network.min.css'
1947+
CssLink = 'https://cdn.jsdelivr.net/npm/[email protected].9/styles/vis-network.min.css'
19481948
Css = "$PSScriptRoot\..\Resources\CSS\vis-network.min.css"
19491949
}
19501950
Default = $true
@@ -1956,25 +1956,15 @@
19561956
VisNetworkClustering = [ordered] @{
19571957
Comment = 'VIS Network Clustering'
19581958
Internal = $true
1959-
<#
1960-
FooterAlways = @{
1961-
JS = "$PSScriptRoot\..\Resources\JS\vis-networkFunctions.js"
1962-
}
1963-
#>
19641959
Footer = @{
1965-
JSLink = "$($ConfigurationURL)/JS/vis-networkFunctions.min.js"
1966-
JS = "$PSScriptRoot\..\Resources\JS\vis-networkFunctions.js"
1960+
JSLink = "$($ConfigurationURL)/JS/vis-network.functions.min.js"
1961+
JS = "$PSScriptRoot\..\Resources\JS\vis-network.functions.js"
19671962
}
19681963
Default = $true
19691964
Email = $false
19701965
}
19711966
VisNetworkLoadingBar = [ordered]@{
19721967
Comment = 'VIS Network Loading Bar'
1973-
<#
1974-
HeaderAlways = @{
1975-
Css = "$PSScriptRoot\..\Resources\CSS\vis-network.loadingbar.css"
1976-
}
1977-
#>
19781968
Header = @{
19791969
CssLink = "$($ConfigurationURL)/CSS/vis-network.loadingbar.min.css"
19801970
Css = "$PSScriptRoot\..\Resources\CSS\vis-network.loadingbar.css"
@@ -1984,43 +1974,24 @@
19841974
}
19851975
VisNetworkLoad = [ordered] @{
19861976
Comment = 'VIS Network Load'
1987-
<#
1988-
HeaderAlways = @{
1989-
JS = "$PSScriptRoot\..\Resources\JS\vis-networkLoadDiagram.js"
1990-
}
1991-
#>
19921977
Header = @{
1993-
JSLink = "$($ConfigurationURL)/JS/vis-networkLoadDiagram.min.js"
1994-
JS = "$PSScriptRoot\..\Resources\JS\vis-networkLoadDiagram.js"
1978+
JSLink = "$($ConfigurationURL)/JS/vis-network.loadingbar.min.js"
1979+
JS = "$PSScriptRoot\..\Resources\JS\vis-network.loadingbar.js"
19951980
}
19961981
Default = $true
19971982
Email = $false
19981983
}
1999-
<#
2000-
VisNetworkStandalone = [ordered]@{
2001-
Comment = 'VIS Network Standalone Dynamic, browser based visualization libraries'
2002-
HeaderAlways = @{
2003-
CssInline = [ordered]@{
2004-
'.diagram' = [ordered]@{
2005-
'min-height' = '400px'
2006-
'width' = '100%'
2007-
'height' = '100%'
2008-
'border' = '0px solid unset'
2009-
}
2010-
'.vis-network:focus' = [ordered]@{
2011-
'outline' = 'none'
2012-
}
1984+
VisNetworkFind = [ordered] @{
1985+
Comment = 'VIS Network Find'
1986+
Header = @{
1987+
JSLink = "$($ConfigurationURL)/JS/vis-network.find.min.js"
1988+
JS = "$PSScriptRoot\..\Resources\JS\vis-network.find.js"
1989+
Css = "$PSScriptRoot\..\Resources\CSS\vis-network.find.css"
1990+
CssLink = "$($ConfigurationURL)/CSS/vis-network.find.min.css"
20131991
}
1992+
Default = $true
1993+
Email = $false
20141994
}
2015-
Header = @{
2016-
JsLink = 'https://unpkg.com/[email protected]/standalone/umd/vis-network.min.js'
2017-
Js = "$PSScriptRoot\..\Resources\JS\vis-networkStandalone.min.js"
2018-
}
2019-
FooterAlways = @{
2020-
JS = "$PSScriptRoot\..\Resources\JS\vis-networkFunctions.js"
2021-
}
2022-
}
2023-
#>
20241995
VisTimeline = [ordered]@{
20251996
Comment = 'VIS TimeLine'
20261997
HeaderAlways = [ordered]@{
@@ -2033,10 +2004,10 @@
20332004
}
20342005
Header = @{
20352006
# https://unpkg.com/vis-timeline@latest/peer/umd/vis-timeline-graph2d.min.js
2036-
JsLink = 'https://cdn.jsdelivr.net/npm/[email protected].2/peer/umd/vis-timeline-graph2d.min.js'
2007+
JsLink = 'https://cdn.jsdelivr.net/npm/[email protected].3/peer/umd/vis-timeline-graph2d.min.js'
20372008
Js = "$PSScriptRoot\..\Resources\JS\vis-timeline-graph2d.min.js"
20382009
Css = "$PSScriptRoot\..\Resources\CSS\vis-timeline-graph2d.min.css"
2039-
CssLink = 'https://cdn.jsdelivr.net/npm/[email protected].2/dist/vis-timeline-graph2d.min.css'
2010+
CssLink = 'https://cdn.jsdelivr.net/npm/[email protected].3/dist/vis-timeline-graph2d.min.css'
20402011
}
20412012
LicenseLink = 'https://github.com/visjs/vis-timeline/blob/master/LICENSE.md'
20422013
License = 'MIT and Apache 2.0'
@@ -2226,36 +2197,37 @@
22262197
$Configuration
22272198
}
22282199

2229-
#$Configuration = Get-DefaultParameters
2230-
#$Keys = @(
2231-
#'datatablesfuzzysearch'
2232-
#'iFrameResizer
2233-
#'Popper'
2234-
#'Moment'
2235-
#'Jquery'
2236-
#'ChartsOrg', 'ChartsOrgExportPDF', 'ChartsOrgExportPNG'
2237-
#'ChartsApex'
2238-
#'AccordionFAQ'
2239-
#'VisNetwork'
2240-
#'VisTimeline'
2241-
#'VisData'
2242-
#'JustGage'
2243-
#'FullCalendar'
2244-
#'DataTablesSearchAlphabet'
2245-
#'DataTable*'
2246-
#'FancyTree'
2247-
#'CarouselSlick'
2248-
#'JustGage'
2249-
#'CarouselKineto'
2250-
#'QR'
2251-
#'TabsInline'
2252-
#'Fonts*'
2253-
#'WinBox'
2254-
#'FontsSimpleIcons'
2255-
#'Wizard'
2256-
#'MarkdownShowdown*'
2257-
#'JSTree'
2258-
#'JSXSS'
2259-
#'Mermaid'
2260-
#)
2261-
#Save-HTMLResource -Configuration $Configuration -Keys $Keys -PathToSave 'C:\Support\GitHub\PSWriteHTML\Resources\CSS' -Verbose
2200+
# $Configuration = Get-DefaultParameters
2201+
# $Keys = @(
2202+
# 'datatablesfuzzysearch'
2203+
# 'iFrameResizer
2204+
# 'Popper'
2205+
# 'Moment'
2206+
# 'Jquery'
2207+
# 'ChartsOrg', 'ChartsOrgExportPDF', 'ChartsOrgExportPNG'
2208+
# 'ChartsApex'
2209+
# 'AccordionFAQ'
2210+
# 'VisNetwork'
2211+
# 'VisTimeline'
2212+
# 'VisData'
2213+
# 'JustGage'
2214+
# 'FullCalendar'
2215+
# 'DataTablesSearchAlphabet'
2216+
# 'DataTable*'
2217+
# 'FancyTree'
2218+
# 'CarouselSlick'
2219+
# 'JustGage'
2220+
# 'CarouselKineto'
2221+
# 'QR'
2222+
# 'TabsInline'
2223+
# 'Fonts*'
2224+
# 'WinBox'
2225+
# 'FontsSimpleIcons'
2226+
# 'Wizard'
2227+
# 'MarkdownShowdown*'
2228+
# 'JSTree'
2229+
# 'JSXSS'
2230+
# 'Mermaid'
2231+
# )
2232+
# Import-Module "C:\Support\GitHub\PSWriteHTML.Helper\PSWriteHTML.Helper.psd1" -Force
2233+
# Save-HTMLResource -Configuration $Configuration -Keys $Keys -PathToSave 'C:\Support\GitHub\PSWriteHTML\Resources\CSS' -Verbose

0 commit comments

Comments
 (0)