@poadio/app-vue 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/LICENSE +22 -0
- package/README.md +16 -2
- package/app-vue.css +181 -0
- package/dist/browser.d.ts +23 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +112 -0
- package/dist/browser.js.map +1 -0
- package/dist/draft-toolbar.d.ts +65 -0
- package/dist/draft-toolbar.d.ts.map +1 -0
- package/dist/draft-toolbar.js +62 -0
- package/dist/draft-toolbar.js.map +1 -0
- package/dist/front-view.d.ts +39 -0
- package/dist/front-view.d.ts.map +1 -0
- package/dist/front-view.js +174 -0
- package/dist/front-view.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/items.d.ts +33 -0
- package/dist/items.d.ts.map +1 -0
- package/dist/items.js +369 -0
- package/dist/items.js.map +1 -0
- package/dist/lazy.d.ts +56 -0
- package/dist/lazy.d.ts.map +1 -0
- package/dist/lazy.js +68 -0
- package/dist/lazy.js.map +1 -0
- package/dist/messages.d.ts +56 -0
- package/dist/messages.d.ts.map +1 -0
- package/dist/messages.js +102 -0
- package/dist/messages.js.map +1 -0
- package/dist/sections/grid.d.ts +53 -0
- package/dist/sections/grid.d.ts.map +1 -0
- package/dist/sections/grid.js +46 -0
- package/dist/sections/grid.js.map +1 -0
- package/dist/sections/under-construction.d.ts +25 -0
- package/dist/sections/under-construction.d.ts.map +1 -0
- package/dist/sections/under-construction.js +32 -0
- package/dist/sections/under-construction.js.map +1 -0
- package/package.json +72 -4
- package/runtime-dist/app.css +535 -0
- package/runtime-dist/app.js +2 -0
- package/runtime-dist/c-0rxdxcn3.js +2 -0
- package/runtime-dist/c-0vbs937h.js +18 -0
- package/runtime-dist/c-0zqjsnm5.js +2 -0
- package/runtime-dist/c-13nx24wa.js +1 -0
- package/runtime-dist/c-16cdkp27.js +1 -0
- package/runtime-dist/c-16cm3n82.js +1 -0
- package/runtime-dist/c-1h49vkah.js +2 -0
- package/runtime-dist/c-1xpa1fqz.js +1 -0
- package/runtime-dist/c-29v2e09p.js +1 -0
- package/runtime-dist/c-2ag31260.js +2 -0
- package/runtime-dist/c-2s6r37jb.js +1 -0
- package/runtime-dist/c-2v244yc0.js +1 -0
- package/runtime-dist/c-3be398px.js +1 -0
- package/runtime-dist/c-3jm96b1p.js +2 -0
- package/runtime-dist/c-3pe5hprv.js +2 -0
- package/runtime-dist/c-3zbf5g3p.js +1 -0
- package/runtime-dist/c-4h51m4qq.js +1 -0
- package/runtime-dist/c-523qwqen.js +2 -0
- package/runtime-dist/c-572jz6y4.js +1 -0
- package/runtime-dist/c-64j9mv7a.js +1 -0
- package/runtime-dist/c-6f446pxt.js +1 -0
- package/runtime-dist/c-6pd33f4a.js +1 -0
- package/runtime-dist/c-6qa26wds.js +1 -0
- package/runtime-dist/c-6w0f1kqm.js +1 -0
- package/runtime-dist/c-72hj12cs.js +2 -0
- package/runtime-dist/c-7cjj18ea.js +1 -0
- package/runtime-dist/c-823yyjat.js +1 -0
- package/runtime-dist/c-8gpbevx2.js +1 -0
- package/runtime-dist/c-98tbntdq.js +2 -0
- package/runtime-dist/c-9sm6aybf.js +2 -0
- package/runtime-dist/c-a63rkaa9.js +1 -0
- package/runtime-dist/c-ahcj5yr5.js +1 -0
- package/runtime-dist/c-azvw5879.js +2 -0
- package/runtime-dist/c-b6g9ey7e.js +2 -0
- package/runtime-dist/c-bssc8kwn.js +1 -0
- package/runtime-dist/c-bvp9zbmr.js +1 -0
- package/runtime-dist/c-cc3m3rs1.js +2 -0
- package/runtime-dist/c-cp1ehb23.js +1 -0
- package/runtime-dist/c-cvsx6n6e.js +2 -0
- package/runtime-dist/c-d5y90g8f.js +1 -0
- package/runtime-dist/c-d8hfdner.js +2 -0
- package/runtime-dist/c-dqtdk937.js +1 -0
- package/runtime-dist/c-dzx0rg0g.js +2 -0
- package/runtime-dist/c-eczfywaq.js +1 -0
- package/runtime-dist/c-epemgj1a.js +2 -0
- package/runtime-dist/c-et83hbhc.js +1 -0
- package/runtime-dist/c-ffkh15py.js +1 -0
- package/runtime-dist/c-fn3059s1.js +2 -0
- package/runtime-dist/c-fnzeden9.js +1 -0
- package/runtime-dist/c-gen0a4bn.js +1 -0
- package/runtime-dist/c-gesjk5ph.js +1 -0
- package/runtime-dist/c-gkyekesy.js +15 -0
- package/runtime-dist/c-gs1k0twe.js +2 -0
- package/runtime-dist/c-gznx0sj4.js +2 -0
- package/runtime-dist/c-h5m94fwp.js +1 -0
- package/runtime-dist/c-hdstjg33.js +2 -0
- package/runtime-dist/c-hsy77frc.js +3 -0
- package/runtime-dist/c-j02ymtyd.js +2 -0
- package/runtime-dist/c-j63hz554.js +2 -0
- package/runtime-dist/c-jvrr9zb8.js +1 -0
- package/runtime-dist/c-jymrpj5m.js +1 -0
- package/runtime-dist/c-k624qrhh.js +2 -0
- package/runtime-dist/c-kbg0cafy.js +2 -0
- package/runtime-dist/c-kmx0mv0c.js +2 -0
- package/runtime-dist/c-krt6rpg1.js +1 -0
- package/runtime-dist/c-kyajr8zz.js +2 -0
- package/runtime-dist/c-m30q0jrb.js +1 -0
- package/runtime-dist/c-m49q9r7s.js +1 -0
- package/runtime-dist/c-m6yf7zaj.js +2 -0
- package/runtime-dist/c-m70tbfc5.js +2 -0
- package/runtime-dist/c-mdj990nz.js +2 -0
- package/runtime-dist/c-mvdn43tv.js +2 -0
- package/runtime-dist/c-mw3zx9yk.js +1 -0
- package/runtime-dist/c-n8mqnvjg.js +1 -0
- package/runtime-dist/c-nkrm4n9a.js +1 -0
- package/runtime-dist/c-nn49946s.js +1 -0
- package/runtime-dist/c-ny0mdx7k.js +2 -0
- package/runtime-dist/c-p8wyhrwm.js +2 -0
- package/runtime-dist/c-pbn2syef.js +1 -0
- package/runtime-dist/c-prt5qv2x.js +1 -0
- package/runtime-dist/c-qe1kevqk.js +1 -0
- package/runtime-dist/c-rasvf2z2.js +2 -0
- package/runtime-dist/c-rf1xevya.js +1 -0
- package/runtime-dist/c-rktc0ksd.js +2 -0
- package/runtime-dist/c-sd570jk7.js +2 -0
- package/runtime-dist/c-sdf15np5.js +1 -0
- package/runtime-dist/c-sjajadt4.js +2 -0
- package/runtime-dist/c-sv15z0aa.js +1 -0
- package/runtime-dist/c-tv3ksk7j.js +2 -0
- package/runtime-dist/c-vrmw0gka.js +1 -0
- package/runtime-dist/c-wjadf68q.js +1 -0
- package/runtime-dist/c-wnynh7zm.js +1 -0
- package/runtime-dist/c-xeqwqt9z.js +2 -0
- package/runtime-dist/c-xk9fqzsc.js +1 -0
- package/runtime-dist/c-xqf3j4w7.js +1 -0
- package/runtime-dist/c-xx4986kx.js +1 -0
- package/runtime-dist/c-y9120d6h.js +1 -0
- package/runtime-dist/c-ywzh0r63.js +1 -0
- package/runtime-dist/c-zyfkspym.js +2 -0
- package/runtime-dist/index.html +14 -0
- package/runtime-dist/ui-accordion.css +29 -0
- package/runtime-dist/ui-app-shell.css +36 -0
- package/runtime-dist/ui-avatar.css +28 -0
- package/runtime-dist/ui-badge.css +14 -0
- package/runtime-dist/ui-block-editor.css +85 -0
- package/runtime-dist/ui-block-view.css +50 -0
- package/runtime-dist/ui-block.css +20 -0
- package/runtime-dist/ui-bottom-nav.css +54 -0
- package/runtime-dist/ui-breadcrumb.css +25 -0
- package/runtime-dist/ui-button-group.css +39 -0
- package/runtime-dist/ui-calendar.css +168 -0
- package/runtime-dist/ui-card.css +26 -0
- package/runtime-dist/ui-carousel.css +35 -0
- package/runtime-dist/ui-chart.css +26 -0
- package/runtime-dist/ui-checkbox.css +25 -0
- package/runtime-dist/ui-chip.css +30 -0
- package/runtime-dist/ui-code-editor.css +25 -0
- package/runtime-dist/ui-colorpicker.css +46 -0
- package/runtime-dist/ui-combo.css +43 -0
- package/runtime-dist/ui-dataview.css +50 -0
- package/runtime-dist/ui-datepicker.css +80 -0
- package/runtime-dist/ui-dialog.css +119 -0
- package/runtime-dist/ui-divider.css +18 -0
- package/runtime-dist/ui-fieldset.css +25 -0
- package/runtime-dist/ui-filter-chip.css +24 -0
- package/runtime-dist/ui-floating.css +9 -0
- package/runtime-dist/ui-gantt.css +105 -0
- package/runtime-dist/ui-image.css +34 -0
- package/runtime-dist/ui-inplace.css +19 -0
- package/runtime-dist/ui-json-editor.css +40 -0
- package/runtime-dist/ui-layout.css +39 -0
- package/runtime-dist/ui-listbox.css +52 -0
- package/runtime-dist/ui-map.css +469 -0
- package/runtime-dist/ui-menu.css +38 -0
- package/runtime-dist/ui-menubar.css +55 -0
- package/runtime-dist/ui-meter.css +26 -0
- package/runtime-dist/ui-multiselect.css +62 -0
- package/runtime-dist/ui-nav-drawer.css +118 -0
- package/runtime-dist/ui-number.css +26 -0
- package/runtime-dist/ui-option-list.css +28 -0
- package/runtime-dist/ui-orderlist.css +54 -0
- package/runtime-dist/ui-orgchart.css +71 -0
- package/runtime-dist/ui-paginator.css +25 -0
- package/runtime-dist/ui-panel.css +28 -0
- package/runtime-dist/ui-password.css +26 -0
- package/runtime-dist/ui-picklist.css +58 -0
- package/runtime-dist/ui-popover.css +20 -0
- package/runtime-dist/ui-progress.css +31 -0
- package/runtime-dist/ui-radio.css +29 -0
- package/runtime-dist/ui-rating.css +19 -0
- package/runtime-dist/ui-richtext.css +48 -0
- package/runtime-dist/ui-scheduler.css +132 -0
- package/runtime-dist/ui-scroll-top.css +17 -0
- package/runtime-dist/ui-segmented.css +25 -0
- package/runtime-dist/ui-select.css +47 -0
- package/runtime-dist/ui-sheet.css +56 -0
- package/runtime-dist/ui-skeleton.css +18 -0
- package/runtime-dist/ui-slider.css +59 -0
- package/runtime-dist/ui-speed-dial.css +26 -0
- package/runtime-dist/ui-splitter.css +23 -0
- package/runtime-dist/ui-stepper.css +47 -0
- package/runtime-dist/ui-switch.css +31 -0
- package/runtime-dist/ui-table-panel.css +114 -0
- package/runtime-dist/ui-table.css +430 -0
- package/runtime-dist/ui-tabs.css +45 -0
- package/runtime-dist/ui-taskboard.css +104 -0
- package/runtime-dist/ui-timeline.css +44 -0
- package/runtime-dist/ui-toast.css +43 -0
- package/runtime-dist/ui-toggle-button.css +6 -0
- package/runtime-dist/ui-tooltip.css +21 -0
- package/runtime-dist/ui-tree.css +44 -0
- package/runtime-dist/ui-upload.css +46 -0
- package/runtime-dist/version.json +1 -0
- package/src/browser.ts +126 -0
- package/src/draft-toolbar.ts +67 -0
- package/src/front-view.ts +186 -0
- package/src/index.ts +5 -0
- package/src/items.ts +436 -0
- package/src/lazy.ts +76 -0
- package/src/messages.ts +110 -0
- package/src/sections/grid.ts +56 -0
- package/src/sections/under-construction.ts +34 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @poadio/ui-core — étapes (`.poad-stepper`). Source unique du style pour tous les paquets de rendu : ui-angular
|
|
3
|
+
* l'inclut dans `poad-stepper` (encapsulation désactivée), les autres rendus le font charger par l'application.
|
|
4
|
+
* Ne lit que les jetons --poad-* (icônes : `icon.css`).
|
|
5
|
+
*
|
|
6
|
+
* Anatomie : racine `.poad-stepper` (`is-vertical`, `size-sm` de `stepperRootClasses()`) > `ol.poad-stepper__list` >
|
|
7
|
+
* `li.poad-stepper__item` (`data-state` = done | current | error | todo, `is-disabled`) > `button.poad-stepper__btn`
|
|
8
|
+
* (`aria-current="step"`) > `.poad-stepper__dot` + `.poad-stepper__txt` (`.poad-stepper__label`,
|
|
9
|
+
* `.poad-stepper__desc`) ; `.poad-stepper__line` entre deux étapes ; `.poad-stepper__panel` (contenu de l'étape).
|
|
10
|
+
* Écrit à partir des styles `:host` du composant Angular, une règle pour une règle : `:host(X)` → `.poad-stepper X`,
|
|
11
|
+
* une partie → `.poad-stepper .partie`.
|
|
12
|
+
*/
|
|
13
|
+
.poad-stepper { display: block; font-family: var(--poad-font); font-size: var(--poad-font-size); }
|
|
14
|
+
.poad-stepper .poad-stepper__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
|
|
15
|
+
.poad-stepper .poad-stepper__item { display: flex; align-items: center; position: relative; }
|
|
16
|
+
.poad-stepper .poad-stepper__item:not(:last-child) { flex: 1; }
|
|
17
|
+
.poad-stepper .poad-stepper__btn { all: unset; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--poad-fg-muted); border-radius: 6px; padding: 2px 4px; }
|
|
18
|
+
.poad-stepper .poad-stepper__btn:focus-visible { outline: 2px solid var(--poad-ring); }
|
|
19
|
+
.poad-stepper .poad-stepper__btn[disabled] { cursor: default; }
|
|
20
|
+
.poad-stepper .poad-stepper__item.is-disabled .poad-stepper__btn { opacity: .6; }
|
|
21
|
+
.poad-stepper .poad-stepper__dot { width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--poad-font-mono); border: 1.5px solid var(--poad-border-strong); flex: none; transition: all var(--poad-dur); }
|
|
22
|
+
.poad-stepper.size-sm .poad-stepper__dot { width: 18px; height: 18px; font-size: 10px; }
|
|
23
|
+
.poad-stepper .poad-stepper__txt { display: grid; line-height: 1.25; }
|
|
24
|
+
.poad-stepper .poad-stepper__label { font-size: 12.5px; white-space: nowrap; }
|
|
25
|
+
.poad-stepper .poad-stepper__label small { color: var(--poad-fg-muted); font-weight: 400; }
|
|
26
|
+
.poad-stepper .poad-stepper__desc { font-size: 11px; color: var(--poad-fg-muted); }
|
|
27
|
+
.poad-stepper [data-state=done] .poad-stepper__btn { color: var(--poad-fg-secondary); }
|
|
28
|
+
.poad-stepper [data-state=done] .poad-stepper__dot { background: var(--poad-success); border-color: var(--poad-success); color: #fff; }
|
|
29
|
+
.poad-stepper [data-state=current] .poad-stepper__btn { color: var(--poad-fg); font-weight: 500; }
|
|
30
|
+
.poad-stepper [data-state=current] .poad-stepper__dot { border-color: var(--poad-accent); color: var(--poad-accent); background: var(--poad-accent-soft); }
|
|
31
|
+
.poad-stepper [data-state=error] .poad-stepper__btn { color: var(--poad-danger); }
|
|
32
|
+
.poad-stepper [data-state=error] .poad-stepper__dot { background: var(--poad-danger); border-color: var(--poad-danger); color: #fff; }
|
|
33
|
+
.poad-stepper .poad-stepper__line { flex: 1; height: 1px; background: var(--poad-border-strong); margin: 0 10px; min-width: 20px; }
|
|
34
|
+
.poad-stepper [data-state=done] .poad-stepper__line { background: var(--poad-success); }
|
|
35
|
+
.poad-stepper .poad-stepper__panel { padding-top: 16px; }
|
|
36
|
+
/* vertical : grille 2 colonnes (pastille | texte), connecteur = trait 1px absolu sous la pastille */
|
|
37
|
+
.poad-stepper { --_dot: 22px; }
|
|
38
|
+
.poad-stepper.size-sm { --_dot: 18px; }
|
|
39
|
+
.poad-stepper.is-vertical .poad-stepper__list { flex-direction: column; align-items: stretch; }
|
|
40
|
+
.poad-stepper.is-vertical .poad-stepper__item { display: grid; grid-template-columns: var(--_dot) minmax(0, 1fr); column-gap: 10px; align-items: start; padding-bottom: 18px; flex: none; }
|
|
41
|
+
.poad-stepper.is-vertical .poad-stepper__item:last-child { padding-bottom: 0; }
|
|
42
|
+
.poad-stepper.is-vertical .poad-stepper__btn { grid-column: 1 / -1; display: grid; grid-template-columns: var(--_dot) minmax(0, 1fr); column-gap: 10px; align-items: start; padding: 0; gap: 0 10px; }
|
|
43
|
+
.poad-stepper.is-vertical .poad-stepper__txt { padding-top: 2px; }
|
|
44
|
+
.poad-stepper.is-vertical .poad-stepper__label { white-space: normal; }
|
|
45
|
+
.poad-stepper.is-vertical .poad-stepper__line { position: absolute; inset-inline-start: calc(var(--_dot) / 2 - 0.5px); top: calc(var(--_dot) + 4px); bottom: 4px; width: 1px; height: auto; min-height: 0; min-width: 0; margin: 0; flex: none; }
|
|
46
|
+
.poad-stepper.is-vertical .poad-stepper__item:last-child .poad-stepper__line { display: none; }
|
|
47
|
+
.poad-stepper.is-vertical .poad-stepper__panel { grid-column: 2; padding: 6px 0 0; }
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @poadio/ui-core — interrupteur (`.poad-switch`). Source unique du style de l'interrupteur pour tous les paquets
|
|
3
|
+
* de rendu : ui-angular l'inclut dans `poad-switch` (encapsulation désactivée), ui-react le fait charger par
|
|
4
|
+
* l'application. CSS pur, ne lit que les jetons --poad-* (charger `tokens.css` avant).
|
|
5
|
+
*
|
|
6
|
+
* Anatomie : racine `.poad-switch` (classes d'état `is-on`, `is-disabled` de `switchRootClasses()`, plus `size-sm`,
|
|
7
|
+
* `label-left`) > `<button role="switch">` > `.poad-switch__track` > `.poad-switch__thumb` ; `<label class="poad-switch__label">`.
|
|
8
|
+
*
|
|
9
|
+
* Écrit à partir des styles `:host` du composant Angular, une règle pour une règle : `:host(X)` → `.poad-switch X`,
|
|
10
|
+
* et le `button` du gabarit → `.poad-switch > button:where([role="switch"])` : seul le bouton de l’interrupteur est visé
|
|
11
|
+
* (pas un bouton de l'application posé dans le composant), avec la spécificité du sélecteur encapsulé d'origine.
|
|
12
|
+
*/
|
|
13
|
+
.poad-switch { display: inline-flex; align-items: center; gap: 8px; font-family: var(--poad-font); font-size: var(--poad-font-size); color: var(--poad-fg); vertical-align: middle; }
|
|
14
|
+
.poad-switch.label-left { flex-direction: row-reverse; }
|
|
15
|
+
.poad-switch > button:where([role="switch"]) { all: unset; display: inline-flex; cursor: pointer; border-radius: 999px; }
|
|
16
|
+
/* densité tactile : zone cliquable ≥ 44 px, visuel inchangé */
|
|
17
|
+
.poad-touch.poad-switch > button:where([role="switch"]), .poad-touch .poad-switch > button:where([role="switch"]) { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; margin: -12px; padding: 12px; box-sizing: border-box; }
|
|
18
|
+
.poad-switch > button:where([role="switch"]):focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 2px; }
|
|
19
|
+
.poad-switch > button:where([role="switch"])[disabled] { cursor: not-allowed; }
|
|
20
|
+
.poad-switch.is-disabled { opacity: .55; }
|
|
21
|
+
.poad-switch .poad-switch__track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--poad-border-strong); transition: background var(--poad-dur) var(--poad-ease); display: block; }
|
|
22
|
+
.poad-switch .poad-switch__thumb { position: absolute; top: 3px; inset-inline-start: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: inset-inline-start var(--poad-dur) var(--poad-ease); }
|
|
23
|
+
.poad-switch.is-on .poad-switch__track { background: var(--poad-accent); }
|
|
24
|
+
/* Le curseur glisse du début vers la fin de la piste. Un décalage en début / fin suit le sens de lecture ;
|
|
25
|
+
translateX le poussait hors de la piste de droite à gauche. */
|
|
26
|
+
.poad-switch.is-on .poad-switch__thumb { inset-inline-start: 17px; }
|
|
27
|
+
.poad-switch.size-sm .poad-switch__track { width: 28px; height: 16px; }
|
|
28
|
+
.poad-switch.size-sm .poad-switch__thumb { width: 10px; height: 10px; }
|
|
29
|
+
.poad-switch.size-sm.is-on .poad-switch__thumb { inset-inline-start: 15px; }
|
|
30
|
+
.poad-switch .poad-switch__label { cursor: pointer; user-select: none; }
|
|
31
|
+
.poad-switch.is-disabled .poad-switch__label { cursor: not-allowed; }
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Panneau latéral d'une table (.poad-table-panel, style AG Grid) — feuille partagée par tous les rendus :
|
|
3
|
+
* poad-table-panel d'ui-angular (encapsulation désactivée), PoadTablePanel d'ui-react. Logique : modèle `table.panel`
|
|
4
|
+
* d'@poadio/ui-core. À importer avec `checkbox.css`, `icon.css`, `select.css`, `number.css`, `datepicker.css`,
|
|
5
|
+
* `segmented.css`, `button.css`.
|
|
6
|
+
*
|
|
7
|
+
* .poad-table-panel[.is-open.pos-left.is-overlay] > .body[role=tabpanel] > .body__scroll > .sec >
|
|
8
|
+
* (.sec__ttl > .grow, button.lnk), label.srch > input, .all-row > .cnt, .cols > .col-row > (.dh, .lbl, .pin) | .empty,
|
|
9
|
+
* .flt[.is-open] > (.flt__hd > .chev, .lbl, .on, button.clr), .flt__bd > (.opts > label | .two | label.srch),
|
|
10
|
+
* .drop > (.chip > .dh, .fn, button | .hint | .add), .picks > button.add, .picker > .row ;
|
|
11
|
+
* .poad-table-panel > .rail[role=tablist] > button[role=tab].is-active > poad-icon
|
|
12
|
+
*
|
|
13
|
+
* Écrite depuis les styles encapsulés d'ui-angular et vérifiée par `compare-shared-css.mjs slice2` (0 différence) :
|
|
14
|
+
* chaque sélecteur suit la structure du gabarit (ancres dans `:where()`, sans poids) pour ne pas viser l'intérieur des
|
|
15
|
+
* champs posés dans le panneau (liste, nombre, date…), et la classe d'hôte est répétée pour garder le poids qu'avait
|
|
16
|
+
* chaque règle encapsulée. Les aperçus de glisser (posés dans <body> par le glisser-déposer) ne sont pas ancrés.
|
|
17
|
+
*/
|
|
18
|
+
.poad-table-panel { display: flex; align-items: stretch; height: 100%; min-height: 0; font: var(--poad-font-size)/1.4 var(--poad-font); color: var(--poad-fg); position: relative; }
|
|
19
|
+
.poad-table-panel.pos-left { flex-direction: row-reverse; }
|
|
20
|
+
/* rail d'onglets */
|
|
21
|
+
.poad-table-panel > .rail { display: flex; flex-direction: column; gap: 2px; width: 34px; padding: 6px 0; background: var(--poad-bg-subtle); border-inline-start: 1px solid var(--poad-border); flex: none; }
|
|
22
|
+
.poad-table-panel.poad-table-panel.pos-left > .rail { border-inline-start: 0; border-inline-end: 1px solid var(--poad-border); }
|
|
23
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button { all: unset; display: flex; flex-direction: row; align-items: center; gap: 6px; padding: 10px 0; cursor: pointer; color: var(--poad-fg-secondary); border-radius: 6px; margin: 0 4px; writing-mode: vertical-rl; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; }
|
|
24
|
+
/* texte vertical (vertical-rl) : l'axe en ligne est vertical, `row` empile l'icône au-dessus du libellé, centrés dans
|
|
25
|
+
le rail (`column` les mettait côte à côte, le libellé débordait du bouton et chevauchait l'icône) */
|
|
26
|
+
.poad-table-panel.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button > :where(poad-icon, .poad-icon) { writing-mode: horizontal-tb; flex: none; }
|
|
27
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
28
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button.is-active { background: var(--poad-accent-soft); color: var(--poad-accent); }
|
|
29
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.rail) > button:focus-visible { outline: 2px solid var(--poad-ring); }
|
|
30
|
+
/* contenu */
|
|
31
|
+
.poad-table-panel > .body { width: var(--_w, 260px); min-width: 0; background: var(--poad-bg-subtle); border-inline-start: 1px solid var(--poad-border); display: flex; flex-direction: column; overflow: hidden; }
|
|
32
|
+
.poad-table-panel.poad-table-panel.pos-left > .body { border-inline-start: 0; border-inline-end: 1px solid var(--poad-border); }
|
|
33
|
+
.poad-table-panel.poad-table-panel:not(.is-open) > .body { display: none; }
|
|
34
|
+
.poad-table-panel > :where(.body) > .body__scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--poad-border-strong) transparent; }
|
|
35
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > .sec { padding: 10px 12px 12px; border-bottom: 1px solid var(--poad-border); }
|
|
36
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > .sec:last-child { border-bottom: 0; }
|
|
37
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .sec__ttl { display: flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--poad-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--poad-fg-muted); margin: 0 0 8px; }
|
|
38
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.sec__ttl) > .grow { flex: 1; }
|
|
39
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.sec__ttl) > button.lnk { all: unset; cursor: pointer; color: var(--poad-accent); font: 500 11px var(--poad-font); text-transform: none; letter-spacing: 0; }
|
|
40
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.sec__ttl) > button.lnk:hover { text-decoration: underline; }
|
|
41
|
+
/* recherche compacte */
|
|
42
|
+
.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > .srch { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; background: var(--poad-input-bg); border: 1px solid var(--poad-input-border); border-radius: var(--poad-radius-sm); margin-bottom: 8px; color: var(--poad-fg-muted); }
|
|
43
|
+
.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > .srch:focus-within { border-color: var(--poad-accent); box-shadow: 0 0 0 3px var(--poad-ring); }
|
|
44
|
+
.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > :where(.srch) > input { flex: 1 1 0; width: 0; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--poad-fg); font: var(--poad-font-size-sm) var(--poad-font); }
|
|
45
|
+
.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > :where(.srch) > input::placeholder { color: var(--poad-fg-muted); }
|
|
46
|
+
.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd)) > :where(.srch) > input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
|
|
47
|
+
/* liste de colonnes */
|
|
48
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .cols { display: flex; flex-direction: column; gap: 1px; }
|
|
49
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px; border-radius: 6px; font-size: 12.5px; }
|
|
50
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row:hover { background: var(--poad-hover); }
|
|
51
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-off { color: var(--poad-fg-muted); }
|
|
52
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .dh { display: grid; place-items: center; width: 16px; height: 20px; padding: 0; border: 0; background: transparent; color: var(--poad-fg-muted); cursor: grab; flex: none; border-radius: 3px; touch-action: none; }
|
|
53
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .dh:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 0; }
|
|
54
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .dh:hover { color: var(--poad-fg); background: var(--poad-elevated); }
|
|
55
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .dh.is-disabled { visibility: hidden; }
|
|
56
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
57
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > :where(.col-row) > .pin { color: var(--poad-fg-muted); }
|
|
58
|
+
/* ordre des colonnes au glisser (tranche 6, brique `dnd` du socle, axe y) : ligne saisie, trait de dépôt, zone visée */
|
|
59
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-dragging { position: relative; z-index: 2; background: var(--poad-overlay); box-shadow: inset 0 0 0 1px var(--poad-accent); }
|
|
60
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-dragging[style*="transform"] { box-shadow: var(--poad-shadow-lg); }
|
|
61
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-drop-before { box-shadow: inset 0 2px 0 var(--poad-accent); }
|
|
62
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols) > .col-row.is-drop-after { box-shadow: inset 0 -2px 0 var(--poad-accent); }
|
|
63
|
+
.poad-table-panel.is-col-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
|
|
64
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .drop.is-over { border-color: var(--poad-accent); background: var(--poad-accent-soft); }
|
|
65
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button.dh { width: 14px; height: 18px; padding: 0; border: 0; border-radius: 3px; background: transparent; touch-action: none; }
|
|
66
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button.dh:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 0; }
|
|
67
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.is-dragging { position: relative; z-index: 2; box-shadow: inset 0 0 0 1px var(--poad-accent); }
|
|
68
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.is-drop-before { box-shadow: -3px 0 0 -1px var(--poad-accent); }
|
|
69
|
+
.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.is-drop-after { box-shadow: 3px 0 0 -1px var(--poad-accent); }
|
|
70
|
+
.poad-table-panel:dir(rtl) > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.chip.is-drop-before { box-shadow: 3px 0 0 -1px var(--poad-accent); }
|
|
71
|
+
.poad-table-panel:dir(rtl) > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip.chip.is-drop-after { box-shadow: -3px 0 0 -1px var(--poad-accent); }
|
|
72
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .drop:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 1px; }
|
|
73
|
+
.poad-table-panel .dt-live, .poad-table-panel .dt-dnd-hint { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
74
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .all-row { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px; margin-bottom: 4px; }
|
|
75
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.all-row) > .cnt { margin-inline-start: auto; font: 500 10.5px var(--poad-font-mono); color: var(--poad-fg-muted); }
|
|
76
|
+
/* zone de dépôt + chips */
|
|
77
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .drop { min-height: 40px; border: 1px dashed var(--poad-border-strong); border-radius: 8px; padding: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--poad-fg-muted); font-size: 12px; transition: border-color var(--poad-dur), background var(--poad-dur); }
|
|
78
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .hint { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; }
|
|
79
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 6px 0 8px; border-radius: 999px; background: var(--poad-elevated); color: var(--poad-fg); font-size: 12px; white-space: nowrap; }
|
|
80
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > .dh { display: grid; place-items: center; width: 12px; color: var(--poad-fg-muted); cursor: grab; }
|
|
81
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > .fn { font: 500 11px var(--poad-font-mono); color: var(--poad-fg-secondary); }
|
|
82
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button { all: unset; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: var(--poad-fg-muted); cursor: pointer; }
|
|
83
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
84
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .add { all: unset; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px dashed var(--poad-border-strong); color: var(--poad-fg-secondary); font-size: 12px; cursor: pointer; }
|
|
85
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > .add:hover { border-color: var(--poad-accent); color: var(--poad-accent); }
|
|
86
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .picker { display: grid; gap: 6px; padding: 8px; margin-top: 8px; border: 1px solid var(--poad-border); border-radius: 8px; background: var(--poad-surface); }
|
|
87
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.picker) > .row { display: flex; gap: 6px; }
|
|
88
|
+
/* filtres */
|
|
89
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .flt { border: 1px solid var(--poad-border); border-radius: 8px; background: var(--poad-surface); margin-bottom: 6px; overflow: hidden; }
|
|
90
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > .flt__hd { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; cursor: pointer; font-size: 12.5px; user-select: none; }
|
|
91
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > .flt__hd:hover { background: var(--poad-hover); }
|
|
92
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .chev { color: var(--poad-fg-muted); transition: transform var(--poad-dur); }
|
|
93
|
+
.poad-table-panel.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .flt.is-open > :where(.flt__hd) > .chev { transform: rotate(90deg); }
|
|
94
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
95
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .on { font: 600 10px var(--poad-font-mono); padding: 1px 6px; border-radius: 999px; background: var(--poad-accent-soft); color: var(--poad-accent); }
|
|
96
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .clr { all: unset; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; color: var(--poad-fg-muted); cursor: pointer; }
|
|
97
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__hd) > .clr:hover { background: var(--poad-hover); color: var(--poad-fg); }
|
|
98
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > .flt__bd { display: grid; gap: 6px; padding: 4px 8px 10px; }
|
|
99
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd) > .two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
|
|
100
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd) > .opts { max-height: 160px; overflow: auto; display: grid; gap: 2px; }
|
|
101
|
+
.poad-table-panel.poad-table-panel.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd) > :where(.opts) > label { display: flex; align-items: center; gap: 6px; height: 24px; font-size: 12.5px; }
|
|
102
|
+
.poad-table-panel :where(:where(.body) > :where(.body__scroll) > :where(.sec), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.cols), :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.flt) > :where(.flt__bd) > :where(.opts)) > .empty { color: var(--poad-fg-muted); font-size: 12px; padding: 4px 0; }
|
|
103
|
+
/* overlay mobile */
|
|
104
|
+
/* le rail reste dans le flux (la table ne passe pas dessous) ; le contenu ouvert recouvre la table, à côté du rail */
|
|
105
|
+
.poad-table-panel.is-overlay { z-index: 20; }
|
|
106
|
+
.poad-table-panel.poad-table-panel.is-overlay > .body { position: absolute; top: 0; bottom: 0; inset-inline-end: 100%; }
|
|
107
|
+
.poad-table-panel.poad-table-panel.is-overlay.is-open > .body { box-shadow: var(--poad-shadow-lg); }
|
|
108
|
+
.poad-table-panel.poad-table-panel.poad-table-panel.is-overlay.pos-left > .body { inset-inline-end: auto; inset-inline-start: 100%; }
|
|
109
|
+
|
|
110
|
+
/* onglet Groupes : colonnes proposées au regroupement (un bouton par colonne, sans glisser) */
|
|
111
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > .picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
|
|
112
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.picks) > .add { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px dashed var(--poad-border-strong); color: var(--poad-fg-secondary); font-size: 12px; cursor: pointer; }
|
|
113
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.picks) > .add:hover { border-color: var(--poad-accent); color: var(--poad-accent); }
|
|
114
|
+
.poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.picks, .drop) > .add:focus-visible, .poad-table-panel > :where(.body) > :where(.body__scroll) > :where(.sec) > :where(.drop) > :where(.chip) > button:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: 1px; }
|