<%@ page title="" language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="RCC_Clients_NotificationSubscriptions, MachSol.MachPanel.Web" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Content" Runat="Server">

    <script type="module">

        import { createApp } from 'vue'
        import NotificationSubscriptions from '/Components/Clients/NotificationSubscriptions.js?v=3.4'
        import { getLabelText } from '/Components/Common/utils.js?v=3.4'

        createApp({
            data() {
                return {
                    readOnly: <%= Helper.ReadOnlyRole %>,
                    resellerSubscription: <%= Helper.IsLoggedInAsReseller.ToString().ToLower() %>,
                    companyIdOfOwner: <%= IIF(Helper.IsLoggedInAsReseller, 1, HttpContext.Current.Session("CompanyId")) %>,
                }
            },
            methods: {
                getLabelText,
            },
            created: function () {
                var vm = this;

            },
            components: {
                NotificationSubscriptions
            },
            template: `
              
            <NotificationSubscriptions :readOnly="readOnly" :customerIdFromOwner="0" :resellerSubscription="resellerSubscription" :companyIdOfOwner="companyIdOfOwner" />

`
        }).mount('#app')

    </script>

    <div id="app">
    </div>
</asp:Content>

