This commit is contained in:
Andrey Cunha
2026-05-22 02:11:03 -03:00
parent 9ec8d6e70b
commit 328de3abd2
53 changed files with 28306 additions and 1062 deletions
@@ -0,0 +1,19 @@
application.type=widget
application.code=wddesligamento
application.title=wddesligamento
application.description=wddesligamento
application.fluig.version=null
application.category=Desligamento
application.renderer=freemarker
developer.code=Andrey
developer.name=Andrey
developer.url=http://www.fluig.com
application.uiwidget=true
application.mobileapp=false
application.version=${build.version}-${build.revision}
view.file=view.ftl
edit.file=edit.ftl
locale.file.base.name=wddesligamento
application.resource.js.1=/resources/js/wddesligamento.js
application.resource.css.2=/resources/css/wddesligamento.css
hash=4a16315e9e66fa7d797b3f6b1fb365b69f9a4ce2
@@ -0,0 +1,4 @@
<div id="MyWidget_${instanceId}" class="super-widget wcm-widget-class fluig-style-guide" data-params="MyWidget.instance()">
</div>
@@ -0,0 +1,115 @@
<script src="/webdesk/vcXMLRPC.js"></script>
<div id="MyWidget_${instanceId}" class="super-widget wcm-widget-class fluig-style-guide wd-dashboard" data-params="MyWidget.instance({ instanceId: '${instanceId}' })">
<div class="wd-dashboard__shell">
<div class="wd-dashboard__header">
<div class="wd-dashboard__title-group">
<p class="wd-dashboard__eyebrow">Gestão do Desligamento</p>
<h2 class="wd-dashboard__title">Solicitações de Desligamento</h2>
</div>
<div class="wd-dashboard__actions">
<div class="wd-view-toggle" role="group" aria-label="Tipo de visualização">
<button type="button" class="wd-view-btn wd-view-btn--active" data-view="list" title="Lista">
<svg width="13" height="13" viewBox="0 0 13 13" fill="currentColor" aria-hidden="true"><rect y="0" width="13" height="2" rx="1"/><rect y="4" width="13" height="2" rx="1"/><rect y="8" width="13" height="2" rx="1"/><rect y="11" width="9" height="2" rx="1"/></svg>
Lista
</button>
<button type="button" class="wd-view-btn" data-view="kanban" title="Kanban">
<svg width="13" height="13" viewBox="0 0 13 13" fill="currentColor" aria-hidden="true"><rect x="0" y="0" width="3" height="13" rx="1"/><rect x="5" y="0" width="3" height="9" rx="1"/><rect x="10" y="0" width="3" height="11" rx="1"/></svg>
Kanban
</button>
</div>
<button type="button" class="btn btn-default wd-dashboard__button" data-refresh-dashboard>
<span class="fluigicon fluigicon-refresh icon-sm" aria-hidden="true"></span> Atualizar
</button>
</div>
</div>
<div class="wd-dashboard__metrics">
<div class="wd-metric" data-filter-status="all" title="Ver todos">
<div class="wd-metric__icon">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><rect x="4" y="2" width="12" height="16" rx="2"/><line x1="7" y1="7" x2="13" y2="7"/><line x1="7" y1="10" x2="13" y2="10"/><line x1="7" y1="13" x2="11" y2="13"/></svg>
</div>
<div class="wd-metric__body">
<span class="wd-metric__label">Total</span>
<strong class="wd-metric__value" data-metric-total>—</strong>
</div>
</div>
<div class="wd-metric wd-metric--progress" data-filter-status="progress" title="Filtrar: Em andamento">
<div class="wd-metric__icon">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><circle cx="10" cy="10" r="7"/><polyline points="10,6 10,10 13,12"/></svg>
</div>
<div class="wd-metric__body">
<span class="wd-metric__label">Em andamento</span>
<strong class="wd-metric__value" data-metric-progress>—</strong>
</div>
</div>
<div class="wd-metric wd-metric--attention" data-filter-status="attention" title="Filtrar: Atenção">
<div class="wd-metric__icon">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M10 3L2 17h16L10 3z"/><line x1="10" y1="9" x2="10" y2="13"/><circle cx="10" cy="15.5" r="0.6" fill="currentColor"/></svg>
</div>
<div class="wd-metric__body">
<span class="wd-metric__label">Atenção</span>
<strong class="wd-metric__value" data-metric-attention>—</strong>
</div>
</div>
<div class="wd-metric wd-metric--done" data-filter-status="done" title="Filtrar: Finalizadas">
<div class="wd-metric__icon">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><circle cx="10" cy="10" r="7"/><polyline points="7,10 9,12 13,8"/></svg>
</div>
<div class="wd-metric__body">
<span class="wd-metric__label">Finalizadas</span>
<strong class="wd-metric__value" data-metric-done>—</strong>
</div>
</div>
</div>
<div class="wd-op-indicators" data-op-indicators style="display:none"></div>
<div class="wd-dashboard__filters">
<div class="wd-search">
<span class="fluigicon fluigicon-search icon-sm" aria-hidden="true"></span>
<input type="text" class="form-control" placeholder="Buscar por colaborador, gestor, nº da solicitação, etapa…" data-dashboard-search>
</div>
<select class="form-control wd-filter" data-dashboard-status>
<option value="all">Todos os status</option>
<option value="progress">Em andamento</option>
<option value="attention">Atenção</option>
<option value="done">Finalizadas</option>
<option value="canceled">Canceladas</option>
</select>
</div>
<div class="wd-dashboard__state wd-dashboard__state--loading" data-dashboard-loading>
<span class="wd-spinner" aria-hidden="true"></span>
Carregando solicitações…
</div>
<div class="wd-dashboard__state wd-dashboard__state--empty" data-dashboard-empty style="display:none">
Nenhuma solicitação encontrada para os filtros atuais.
</div>
<div class="wd-dashboard__state wd-dashboard__state--error" data-dashboard-error style="display:none"></div>
<div class="wd-dashboard__list" data-dashboard-list></div>
<div class="wd-pagination" data-dashboard-pagination></div>
<div class="wd-kanban" data-dashboard-kanban style="display:none"></div>
<div class="wd-pagination" data-dashboard-kanban-pagination style="display:none"></div>
</div>
</div>
<div id="WdDrawer_${instanceId}" class="wd-drawer" data-drawer>
<div class="wd-drawer__overlay" data-drawer-close></div>
<div class="wd-drawer__panel">
<div class="wd-drawer__header">
<div>
<span class="wd-drawer__num" data-drawer-num></span>
<h3 class="wd-drawer__name" data-drawer-name></h3>
<p class="wd-drawer__sub" data-drawer-role></p>
</div>
<button type="button" class="wd-drawer__close" data-drawer-close aria-label="Fechar painel">
<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M4.293 4.293a1 1 0 011.414 0L8 6.586l2.293-2.293a1 1 0 111.414 1.414L9.414 8l2.293 2.293a1 1 0 01-1.414 1.414L8 9.414l-2.293 2.293a1 1 0 01-1.414-1.414L6.586 8 4.293 5.707a1 1 0 010-1.414z"/></svg>
</button>
</div>
<div class="wd-drawer__body" data-drawer-content></div>
</div>
</div>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root>/wddesligamento</context-root>
<disable-cross-context>false</disable-cross-context>
</jboss-web>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
</web-app>
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB