@@ -28,7 +28,13 @@ import {
28
28
nextTick ,
29
29
renderSlot ,
30
30
} from 'vue'
31
- import { useRoute , useSiteDataByRoute , useSiteData , inBrowser } from 'vitepress'
31
+ import {
32
+ useRoute ,
33
+ useSiteDataByRoute ,
34
+ useSiteData ,
35
+ useRouter ,
36
+ inBrowser ,
37
+ } from 'vitepress'
32
38
33
39
/*! @docsearch/js 1.0.0-alpha.28 (UNRELEASED 0a58769) | MIT License | © Algolia, Inc. and contributors | https://github.com/francoischalifour/autocomplete.js */
34
40
function e ( e , t , n ) {
@@ -6212,11 +6218,11 @@ function docsearch(e) {
6212
6218
)
6213
6219
}
6214
6220
6215
- var _hoisted_1$b = {
6221
+ var _hoisted_1$c = {
6216
6222
class : 'algolia-search-box' ,
6217
6223
id : 'docsearch' ,
6218
6224
}
6219
- var script$b = defineComponent ( {
6225
+ var script$c = defineComponent ( {
6220
6226
expose : [ ] ,
6221
6227
props : {
6222
6228
options : {
@@ -6287,18 +6293,18 @@ var script$b = defineComponent({
6287
6293
}
6288
6294
6289
6295
return function ( _ctx , _cache ) {
6290
- return openBlock ( ) , createBlock ( 'div' , _hoisted_1$b )
6296
+ return openBlock ( ) , createBlock ( 'div' , _hoisted_1$c )
6291
6297
}
6292
6298
} ,
6293
6299
} )
6294
6300
6295
- var script$a = defineComponent ( {
6301
+ var script$b = defineComponent ( {
6296
6302
props : {
6297
6303
variant : String ,
6298
6304
} ,
6299
6305
} )
6300
6306
6301
- var _hoisted_1$a = {
6307
+ var _hoisted_1$b = {
6302
6308
key : 0 ,
6303
6309
viewBox : '0 0 532 100' ,
6304
6310
xmlns : 'http://www.w3.org/2000/svg' ,
@@ -6308,7 +6314,7 @@ var _hoisted_1$a = {
6308
6314
'stroke-miterlimit' : '2' ,
6309
6315
}
6310
6316
6311
- var _hoisted_2$9 = /*#__PURE__*/ createVNode (
6317
+ var _hoisted_2$a = /*#__PURE__*/ createVNode (
6312
6318
'g' ,
6313
6319
{
6314
6320
transform : 'translate(-362.21733 -1030)' ,
@@ -6476,15 +6482,15 @@ var _hoisted_4$7 = /*#__PURE__*/ createVNode(
6476
6482
- 1
6477
6483
)
6478
6484
6479
- function render$a ( _ctx , _cache , $props , $setup , $data , $options ) {
6485
+ function render$b ( _ctx , _cache , $props , $setup , $data , $options ) {
6480
6486
return _ctx . variant === 'blue'
6481
- ? ( openBlock ( ) , createBlock ( 'svg' , _hoisted_1$a , [ _hoisted_2$9 ] ) )
6487
+ ? ( openBlock ( ) , createBlock ( 'svg' , _hoisted_1$b , [ _hoisted_2$a ] ) )
6482
6488
: ( openBlock ( ) , createBlock ( 'svg' , _hoisted_3$7 , [ _hoisted_4$7 ] ) )
6483
6489
}
6484
6490
6485
- script$a . render = render$a
6491
+ script$b . render = render$b
6486
6492
6487
- var script$9 = defineComponent ( {
6493
+ var script$a = defineComponent ( {
6488
6494
props : {
6489
6495
nav : Array ,
6490
6496
mainURL : {
@@ -6513,12 +6519,12 @@ var script$9 = defineComponent({
6513
6519
}
6514
6520
} ,
6515
6521
components : {
6516
- AlgoliaSearchBox : script$b ,
6517
- NativeScriptLogo : script$a ,
6522
+ AlgoliaSearchBox : script$c ,
6523
+ NativeScriptLogo : script$b ,
6518
6524
} ,
6519
6525
} )
6520
6526
6521
- var _hoisted_1$9 = /*#__PURE__*/ createVNode (
6527
+ var _hoisted_1$a = /*#__PURE__*/ createVNode (
6522
6528
'a' ,
6523
6529
{
6524
6530
href : '/professional-services-summit-2021' ,
@@ -6545,8 +6551,8 @@ var _hoisted_1$9 = /*#__PURE__*/ createVNode(
6545
6551
- 1
6546
6552
)
6547
6553
6548
- var _hoisted_2$8 = {
6549
- class : 'top-0 z-10 lg:sticky nav-bar ' ,
6554
+ var _hoisted_2$9 = {
6555
+ class : 'top-0 z-10 lg:sticky' ,
6550
6556
}
6551
6557
var _hoisted_3$6 = {
6552
6558
class : 'pt-6 pb-6 bg-ns-blue' ,
@@ -6985,7 +6991,7 @@ var _hoisted_39 = /*#__PURE__*/ createVNode(
6985
6991
- 1
6986
6992
)
6987
6993
6988
- function render$9 ( _ctx , _cache , $props , $setup , $data , $options ) {
6994
+ function render$a ( _ctx , _cache , $props , $setup , $data , $options ) {
6989
6995
var _component_NativeScriptLogo = resolveComponent ( 'NativeScriptLogo' )
6990
6996
6991
6997
var _component_AlgoliaSearchBox = resolveComponent ( 'AlgoliaSearchBox' )
@@ -6998,8 +7004,8 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
6998
7004
Fragment ,
6999
7005
null ,
7000
7006
[
7001
- _hoisted_1$9 ,
7002
- createVNode ( 'header' , _hoisted_2$8 , [
7007
+ _hoisted_1$a ,
7008
+ createVNode ( 'header' , _hoisted_2$9 , [
7003
7009
createVNode ( 'div' , _hoisted_3$6 , [
7004
7010
createVNode ( 'nav' , _hoisted_4$6 , [
7005
7011
createVNode ( 'div' , _hoisted_5$3 , [
@@ -7280,15 +7286,15 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
7280
7286
)
7281
7287
}
7282
7288
7283
- script$9 . render = render$9
7289
+ script$a . render = render$a
7284
7290
7285
- var _hoisted_1$8 = {
7291
+ var _hoisted_1$9 = {
7286
7292
xmlns : 'http://www.w3.org/2000/svg' ,
7287
7293
viewBox : '0 0 1000 320' ,
7288
7294
fill : 'currentColor' ,
7289
7295
}
7290
7296
7291
- var _hoisted_2$7 = /*#__PURE__*/ createVNode (
7297
+ var _hoisted_2$8 = /*#__PURE__*/ createVNode (
7292
7298
'g' ,
7293
7299
null ,
7294
7300
[
@@ -7364,24 +7370,24 @@ var _hoisted_2$7 = /*#__PURE__*/ createVNode(
7364
7370
- 1
7365
7371
)
7366
7372
7367
- function render$8 ( _ctx , _cache ) {
7368
- return openBlock ( ) , createBlock ( 'svg' , _hoisted_1$8 , [ _hoisted_2$7 ] )
7373
+ function render$9 ( _ctx , _cache ) {
7374
+ return openBlock ( ) , createBlock ( 'svg' , _hoisted_1$9 , [ _hoisted_2$8 ] )
7369
7375
}
7370
7376
7371
- var script$8 = { }
7372
- script$8 . render = render$8
7377
+ var script$9 = { }
7378
+ script$9 . render = render$9
7373
7379
7374
- var script$7 = defineComponent ( {
7380
+ var script$8 = defineComponent ( {
7375
7381
setup : function setup ( ) { } ,
7376
7382
components : {
7377
- OpenJSLogo : script$8 ,
7383
+ OpenJSLogo : script$9 ,
7378
7384
} ,
7379
7385
} )
7380
7386
7381
- var _hoisted_1$7 = {
7387
+ var _hoisted_1$8 = {
7382
7388
class : '' ,
7383
7389
}
7384
- var _hoisted_2$6 = {
7390
+ var _hoisted_2$7 = {
7385
7391
class :
7386
7392
'px-4 pt-10 pb-4 mx-auto max-w-7xl sm:px-6 md:flex md:items-center md:justify-between lg:px-6' ,
7387
7393
}
@@ -7561,13 +7567,13 @@ var _hoisted_9$1 = /*#__PURE__*/ createStaticVNode(
7561
7567
1
7562
7568
)
7563
7569
7564
- function render$7 ( _ctx , _cache , $props , $setup , $data , $options ) {
7570
+ function render$8 ( _ctx , _cache , $props , $setup , $data , $options ) {
7565
7571
var _component_OpenJSLogo = resolveComponent ( 'OpenJSLogo' )
7566
7572
7567
7573
return (
7568
7574
openBlock ( ) ,
7569
- createBlock ( 'footer' , _hoisted_1$7 , [
7570
- createVNode ( 'div' , _hoisted_2$6 , [
7575
+ createBlock ( 'footer' , _hoisted_1$8 , [
7576
+ createVNode ( 'div' , _hoisted_2$7 , [
7571
7577
_hoisted_3$5 ,
7572
7578
createVNode ( 'div' , _hoisted_4$5 , [
7573
7579
createVNode ( 'a' , _hoisted_5$2 , [
@@ -7592,7 +7598,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
7592
7598
)
7593
7599
}
7594
7600
7595
- script$7 . render = render$7
7601
+ script$8 . render = render$8
7596
7602
7597
7603
function _defineProperty ( obj , key , value ) {
7598
7604
if ( key in obj ) {
@@ -8021,7 +8027,7 @@ function createChildren(children) {
8021
8027
// }))
8022
8028
// }
8023
8029
8024
- var script$6 = defineComponent ( {
8030
+ var script$7 = defineComponent ( {
8025
8031
setup : function setup ( ) {
8026
8032
var items = useSideBar ( )
8027
8033
return {
@@ -8033,16 +8039,16 @@ var script$6 = defineComponent({
8033
8039
} ,
8034
8040
} )
8035
8041
8036
- var _hoisted_1$6 = {
8042
+ var _hoisted_1$7 = {
8037
8043
key : 0 ,
8038
8044
class : '' ,
8039
8045
}
8040
- function render$6 ( _ctx , _cache , $props , $setup , $data , $options ) {
8046
+ function render$7 ( _ctx , _cache , $props , $setup , $data , $options ) {
8041
8047
var _component_SideBarLink = resolveComponent ( 'SideBarLink' )
8042
8048
8043
8049
return _ctx . items . length > 0
8044
8050
? ( openBlock ( ) ,
8045
- createBlock ( 'ul' , _hoisted_1$6 , [
8051
+ createBlock ( 'ul' , _hoisted_1$7 , [
8046
8052
( openBlock ( true ) ,
8047
8053
createBlock (
8048
8054
Fragment ,
@@ -8068,6 +8074,105 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
8068
8074
: createCommentVNode ( '' , true )
8069
8075
}
8070
8076
8077
+ script$7 . render = render$7
8078
+
8079
+ var script$6 = defineComponent ( {
8080
+ setup : function setup ( ) {
8081
+ var items = useSideBar ( )
8082
+ var route = useRoute ( )
8083
+ var router = useRouter ( )
8084
+ var isSelected = computed ( function ( ) {
8085
+ return function ( link ) {
8086
+ return route . path . includes ( link )
8087
+ }
8088
+ } )
8089
+ return {
8090
+ items : items ,
8091
+ route : route ,
8092
+ isSelected : isSelected ,
8093
+ onChange : function onChange ( event ) {
8094
+ router . go ( event . target . value )
8095
+ } ,
8096
+ }
8097
+ } ,
8098
+ } )
8099
+
8100
+ var _hoisted_1$6 = {
8101
+ class : 'bg-blue-50 lg:hidden' ,
8102
+ }
8103
+ var _hoisted_2$6 = {
8104
+ class : 'mx-auto p-4 px-6' ,
8105
+ }
8106
+ function render$6 ( _ctx , _cache , $props , $setup , $data , $options ) {
8107
+ return (
8108
+ openBlock ( ) ,
8109
+ createBlock ( 'div' , _hoisted_1$6 , [
8110
+ createVNode ( 'div' , _hoisted_2$6 , [
8111
+ createVNode (
8112
+ 'select' ,
8113
+ {
8114
+ onChange :
8115
+ _cache [ 1 ] ||
8116
+ ( _cache [ 1 ] = function ( ) {
8117
+ return _ctx . onChange && _ctx . onChange . apply ( _ctx , arguments )
8118
+ } ) ,
8119
+ class : 'w-full p-2' ,
8120
+ title : 'Navigation' ,
8121
+ } ,
8122
+ [
8123
+ ( openBlock ( true ) ,
8124
+ createBlock (
8125
+ Fragment ,
8126
+ null ,
8127
+ renderList ( _ctx . items , function ( item ) {
8128
+ return (
8129
+ openBlock ( ) ,
8130
+ createBlock (
8131
+ 'optgroup' ,
8132
+ {
8133
+ label : item . text ,
8134
+ key : item . text ,
8135
+ } ,
8136
+ [
8137
+ ( openBlock ( true ) ,
8138
+ createBlock (
8139
+ Fragment ,
8140
+ null ,
8141
+ renderList ( item . children , function ( child ) {
8142
+ return (
8143
+ openBlock ( ) ,
8144
+ createBlock (
8145
+ 'option' ,
8146
+ {
8147
+ key : child ,
8148
+ value : child . link ,
8149
+ text : child . text ,
8150
+ selected : _ctx . isSelected ( child . link ) ,
8151
+ } ,
8152
+ null ,
8153
+ 8 ,
8154
+ [ 'value' , 'text' , 'selected' ]
8155
+ )
8156
+ )
8157
+ } ) ,
8158
+ 128
8159
+ ) ) ,
8160
+ ] ,
8161
+ 8 ,
8162
+ [ 'label' ]
8163
+ )
8164
+ )
8165
+ } ) ,
8166
+ 128
8167
+ ) ) ,
8168
+ ] ,
8169
+ 32
8170
+ ) ,
8171
+ ] ) ,
8172
+ ] )
8173
+ )
8174
+ }
8175
+
8071
8176
script$6 . render = render$6
8072
8177
8073
8178
var _hoisted_1$5 = {
@@ -8400,8 +8505,9 @@ script$4.__scopeId = 'data-v-2dcc8330'
8400
8505
var script$3 = defineComponent ( {
8401
8506
setup : function setup ( ) { } ,
8402
8507
components : {
8403
- Header : script$9 ,
8404
- SideBar : script$6 ,
8508
+ Header : script$a ,
8509
+ SideBar : script$7 ,
8510
+ MobileNavigation : script$6 ,
8405
8511
SubHeader : script$5 ,
8406
8512
OnThisPage : script$4 ,
8407
8513
} ,
@@ -8476,6 +8582,8 @@ var _hoisted_15 = /*#__PURE__*/ createVNode(
8476
8582
function render$3 ( _ctx , _cache , $props , $setup , $data , $options ) {
8477
8583
var _component_Header = resolveComponent ( 'Header' )
8478
8584
8585
+ var _component_MobileNavigation = resolveComponent ( 'MobileNavigation' )
8586
+
8479
8587
var _component_SideBar = resolveComponent ( 'SideBar' )
8480
8588
8481
8589
var _component_Content = resolveComponent ( 'Content' )
@@ -8490,13 +8598,15 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
8490
8598
createVNode (
8491
8599
_component_Header ,
8492
8600
{
8601
+ class : 'nav-bar' ,
8493
8602
nav : _ctx . $themeConfig . nav ,
8494
8603
mainURL : _ctx . $themeConfig . mainURL ,
8495
8604
} ,
8496
8605
null ,
8497
8606
8 ,
8498
8607
[ 'nav' , 'mainURL' ]
8499
8608
) ,
8609
+ createVNode ( _component_MobileNavigation ) ,
8500
8610
createVNode ( 'div' , _hoisted_2$3 , [
8501
8611
createVNode ( 'div' , _hoisted_3$3 , [
8502
8612
createVNode ( 'div' , _hoisted_4$3 , [
0 commit comments