Imports Microsoft.VisualBasic
Imports AppCommon

Public Class JsPath

#Region "---- property --------------------------------------------------------"
    '自前
    Public Shared ReadOnly Property Common As String
        Get
            Return HttpContext.Current.Request.ApplicationPath & "/js/common.js" & CacheClearQuery()
        End Get
    End Property

    Public Shared ReadOnly Property Master As String
        Get
            Return HttpContext.Current.Request.ApplicationPath & "/js/master.js" & CacheClearQuery()
        End Get
    End Property

    Public Shared ReadOnly Property MasterMobile As String
        Get
            Return HttpContext.Current.Request.ApplicationPath & "/js/master_mobile.js" & CacheClearQuery()
        End Get
    End Property

    Public Shared ReadOnly Property Info As String
        Get
            Return HttpContext.Current.Request.ApplicationPath & "/js/info.js" & CacheClearQuery()
        End Get
    End Property

    Public Shared ReadOnly Property Login As String
        Get
            Return HttpContext.Current.Request.ApplicationPath & "/js/login.js" & CacheClearQuery()
        End Get
    End Property

    Public Shared ReadOnly Property Tooltip As String
        Get
            Return HttpContext.Current.Request.ApplicationPath & "/js/tooltip.js" & CacheClearQuery()
        End Get
    End Property

    '2024/12/08 M.Okabe ADD Start
    Public Shared ReadOnly Property Slidemenu As String
        Get
            Return HttpContext.Current.Request.ApplicationPath & "/js/slidemenu.js" & CacheClearQuery()
        End Get
    End Property
    '2024/12/08 M.Okabe ADD End
#End Region

#Region "---- method --------------------------------------------------------"
    'ライブラリ
    Public Shared Function Jquery(file As String) As String
        Return HttpContext.Current.Request.ApplicationPath & "/js/" & file
    End Function
#End Region

End Class
