示例#1
0
        protected override void addJsDebug(LstTag <JavaScriptTag> lstJsDebug)
        {
            base.addJsDebug(lstJsDebug);

            lstJsDebug.Add(new JavaScriptTag(typeof(AppDrive)));
            lstJsDebug.Add(new JavaScriptTag(typeof(SrvWsDrive)));
        }
示例#2
0
文件: JnlCadastro.cs 项目: digovc/Web
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            base.addJs(lstJs);

            lstJs.Add(new JavaScriptTag("/res/js/web/database/TabelaWeb.js"));
            lstJs.Add(new JavaScriptTag("/res/js/web/database/ColunaWeb.js"));
        }
示例#3
0
文件: DivFavorito.cs 项目: digovc/Web
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            base.addJs(lstJs);

            lstJs.Add(new JavaScriptTag(typeof(DominioWebBase), 101));
            lstJs.Add(new JavaScriptTag(typeof(FavoritoDominio), 102));
        }
示例#4
0
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            //base.addJs(lstJs);

            lstJs.Clear();

            lstJs.Add(new JavaScriptTag("res/js/RealLifeUi.js"));
        }
示例#5
0
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            base.addJs(lstJs);

            lstJs.Add(new JavaScriptTag(typeof(ComponenteHtmlBase), 110));

            this.addJsAutomatico(lstJs);
        }
示例#6
0
        private void addJsAutomatico(LstTag <JavaScriptTag> lstJs, Type cls)
        {
            if (typeof(Objeto).Equals(cls))
            {
                return;
            }

            if (cls.BaseType != null)
            {
                this.addJsAutomatico(lstJs, cls.BaseType);
            }

            lstJs.Add(new JavaScriptTag(cls));
        }
示例#7
0
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            base.addJs(lstJs);

            lstJs.Add(new JavaScriptTag(typeof(DocumentacaoDominioBase), 151));
            lstJs.Add(new JavaScriptTag(typeof(DominioWebBase), 150));
            lstJs.Add(new JavaScriptTag(typeof(EmailRegistroDominio), 152));
            lstJs.Add(new JavaScriptTag(typeof(Interlocutor)));
            lstJs.Add(new JavaScriptTag(typeof(SrvAjaxBase), 102));
            lstJs.Add(new JavaScriptTag(typeof(SrvAjaxDocumentacao), 103));
        }
示例#8
0
        private void addJsAutomatico(LstTag <JavaScriptTag> lstJs, Type cls)
        {
            if (typeof(ComponenteHtmlBase).Equals(cls))
            {
                return;
            }

            if (cls.BaseType != null)
            {
                this.addJsAutomatico(lstJs, cls.BaseType);
            }

            var intOrdem = 111;

            if (!this.GetType().Assembly.FullName.Equals(typeof(ComponenteHtmlBase).Assembly.FullName))
            {
                intOrdem = 200;
            }

            lstJs.Add(new JavaScriptTag(cls, intOrdem));
        }
示例#9
0
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            base.addJs(lstJs);

            #region Variáveis

            #endregion Variáveis

            #region Ações

            try
            {
                lstJs.Add(new JavaScriptTag(typeof(PagCadastro), 103));
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
            }

            #endregion Ações
        }
示例#10
0
 protected virtual void addJsLib(LstTag <JavaScriptTag> lstJsLib)
 {
     lstJsLib.Add(new JavaScriptTag(AppWebBase.DIR_JS_LIB + "jquery-3.2.1.min.js", 0));
     lstJsLib.Add(new JavaScriptTag(AppWebBase.DIR_JS_LIB + "ripple.min.js", 1));
     lstJsLib.Add(new JavaScriptTag(AppWebBase.DIR_JS_LIB + "velocity.min.js", 1));
 }
示例#11
0
        protected override void addJsLib(LstTag <JavaScriptTag> lstJsLib)
        {
            base.addJsLib(lstJsLib);

            lstJsLib.Add(new JavaScriptTag(AppWebBase.DIR_JS_LIB + "marked.min.js"));
        }
示例#12
0
        protected override void addCss(LstTag <CssTag> lstCss)
        {
            base.addCss(lstCss);

            lstCss.Add(new CssTag(AppWebBase.DIR_CSS + "github-markdown.css"));
        }
示例#13
0
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            base.addJs(lstJs);

            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS_WEB + "database/FiltroWeb.js"));
        }
示例#14
0
        protected override void addJsLib(LstTag <JavaScriptTag> lstJsLib)
        {
            base.addJsLib(lstJsLib);

            lstJsLib.Add(new JavaScriptTag("res/js/lib/md5.min.js"));
        }
示例#15
0
文件: Imagem.cs 项目: digovc/Web
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            base.addJs(lstJs);

            lstJs.Add(new JavaScriptTag(typeof(Imagem)));
        }
示例#16
0
        protected override void addJs(LstTag <JavaScriptTag> lstJs)
        {
            base.addJs(lstJs);

            // TODO: Carregar esses scripts separadamente, quando forem necessário, durante a
            //       execução de cada tarefa. O carregamento excessivo na abertura da tela principal
            // diminui a performance neste ponto da aplicação.
            lstJs.Add(new JavaScriptTag(typeof(BotaoCircular), 118));
            lstJs.Add(new JavaScriptTag(typeof(BotaoHtml), 113));
            lstJs.Add(new JavaScriptTag(typeof(BtnFavorito), 119));
            lstJs.Add(new JavaScriptTag(typeof(CampoAlfanumerico), 131));
            lstJs.Add(new JavaScriptTag(typeof(CampoAnexo), 132));
            lstJs.Add(new JavaScriptTag(typeof(CampoCheckBox), 131));
            lstJs.Add(new JavaScriptTag(typeof(CampoComboBox), 131));
            lstJs.Add(new JavaScriptTag(typeof(CampoConsulta), 132));
            lstJs.Add(new JavaScriptTag(typeof(CampoDataHora), 131));
            lstJs.Add(new JavaScriptTag(typeof(CampoHtmlBase), 130));
            lstJs.Add(new JavaScriptTag(typeof(CampoMapa), 132));
            lstJs.Add(new JavaScriptTag(typeof(CampoMarkdown), 132));
            lstJs.Add(new JavaScriptTag(typeof(CampoMedia), 131));
            lstJs.Add(new JavaScriptTag(typeof(CampoNumerico), 131));
            lstJs.Add(new JavaScriptTag(typeof(CampoSenha), 132));
            lstJs.Add(new JavaScriptTag(typeof(CampoTexto), 131));
            lstJs.Add(new JavaScriptTag(typeof(CheckBox), 111));
            lstJs.Add(new JavaScriptTag(typeof(ComboBox), 111));
            lstJs.Add(new JavaScriptTag(typeof(DivComando), 116));
            lstJs.Add(new JavaScriptTag(typeof(DivCritica), 112));
            lstJs.Add(new JavaScriptTag(typeof(DivDica), 111));
            lstJs.Add(new JavaScriptTag(typeof(FormHtml), 111));
            lstJs.Add(new JavaScriptTag(typeof(FrmFiltro), 112));
            lstJs.Add(new JavaScriptTag(typeof(FrmFiltroConteudo), 112));
            lstJs.Add(new JavaScriptTag(typeof(TableHtml), 111));
            lstJs.Add(new JavaScriptTag(typeof(TableRow), 111));
            lstJs.Add(new JavaScriptTag(typeof(Input), 110));
            lstJs.Add(new JavaScriptTag(typeof(JanelaHtml), 121));
            lstJs.Add(new JavaScriptTag(typeof(JnlCadastro), 122));
            lstJs.Add(new JavaScriptTag(typeof(JnlConsulta), 122));
            lstJs.Add(new JavaScriptTag(typeof(JnlTag), 122));
            lstJs.Add(new JavaScriptTag(typeof(PainelAcao), 120));
            lstJs.Add(new JavaScriptTag(typeof(PainelAcaoConsulta), 121));
            lstJs.Add(new JavaScriptTag(typeof(PainelFiltro), 115));
            lstJs.Add(new JavaScriptTag(typeof(PainelHtml), 114));
            lstJs.Add(new JavaScriptTag(typeof(PainelNivel), 115));
            lstJs.Add(new JavaScriptTag(typeof(ProgressBar), 111));
            lstJs.Add(new JavaScriptTag(typeof(TabHtml), 111));
            lstJs.Add(new JavaScriptTag(typeof(TabItem), 111));
            lstJs.Add(new JavaScriptTag(typeof(TabItemHead), 111));
            lstJs.Add(new JavaScriptTag(typeof(TagCard), 111));

            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/database/ColunaWeb.js", 101));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/database/FiltroWeb.js", 101));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/database/ParValorNome.js", 300));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/database/TabelaWeb.js", 102));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/database/TblFiltro.js", 300));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/html/componente/tabela/OnTableMenuClickArg.js", 300));
        }
示例#17
0
        protected virtual void addJs(LstTag <JavaScriptTag> lstJs)
        {
            lstJs.Add(new JavaScriptTag(typeof(AppWebBase), 104));
            lstJs.Add(new JavaScriptTag(typeof(ServerBase), 101));
            lstJs.Add(new JavaScriptTag(typeof(SrvHttpBase), 102));
            lstJs.Add(new JavaScriptTag(typeof(Tag), 103));

            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/Constante.js", 0));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/ConstanteManager.js", 1));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/design/TemaDefault.js", 100));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/erro/Erro.js", 102));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/Historico.js", 101));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/html/Animator.js", 101));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/Keys.js", 100));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/Loop.js", 101));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/Objeto.js", 100));
            lstJs.Add(new JavaScriptTag(AppWebBase.DIR_JS + "web/Utils.js", 101));

            this.addJsAutomatico(lstJs);
        }
示例#18
0
 protected virtual void addCss(LstTag <CssTag> lstCss)
 {
     lstCss.Add(new CssTag(AppWebBase.DIR_CSS + "ripple.min.css"));
 }