You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2023/02/14 13:21:15 UTC

[myfaces-tobago] branch main updated (ffdbad6617 -> 355acad82d)

This is an automated email from the ASF dual-hosted git repository.

hnoeth pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


    from ffdbad6617 build(deps): bump dependency-check-maven from 8.0.2 to 8.1.0
     new d4ca813faa fix(select[One/Many]List): preselected row
     new 355acad82d build(theme): rebuild after fixing SelectOne/ManyList

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js              | 4 ++--
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map          | 2 +-
 .../tobago-theme-standard/src/main/ts/tobago-select-many-list.ts      | 1 +
 .../tobago-theme-standard/src/main/ts/tobago-select-one-list.ts       | 1 +
 4 files changed, 5 insertions(+), 3 deletions(-)


[myfaces-tobago] 02/02: build(theme): rebuild after fixing SelectOne/ManyList

Posted by hn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hnoeth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 355acad82d08a7c6bde0671d5922eea3f395c6d0
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Tue Feb 14 14:06:50 2023 +0100

    build(theme): rebuild after fixing SelectOne/ManyList
---
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js     | 4 ++--
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
index e81006be2a..87401eadf5 100644
--- a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
+++ b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
@@ -1,8 +1,8 @@
-!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";class e extends HTMLElement{constructor(){super(),this.CssClass={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing"},this.toggleButton.addEventListener("click",this.toggleCollapse.bind(this))}connectedCallback(){this.expanded="true"===this.toggleButton.ariaExpanded}toggleCollapse(e){window.clearTimeout(this.timeout),this.expanded?(this.expanded=!1,this.navbarContent.style.height=`${this.navbar [...]
+!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e;!function(e){e.ACTIVE="active",e.AUTOCOMPLETE="autocomplete",e.AUTOCOMPLETE_INPUT="autocomplete-input",e.COLLAPSE="collapse",e.COLLAPSING="collapsing",e.D_NONE="d-none",e.DISABLED="disabled",e.DROPDOWN_MENU="dropdown-menu",e.FIXED_BOTTOM="fixed-bottom",e.INPUT_GROUP="input-group",e.POSITION_RELATIVE="position-relative",e.SHOW="show",e.TABLE_ACTIVE="table-active",e.TABLE_INFO="table-info",e.TA [...]
 /*!
       * Bootstrap v5.2.3 (https://getbootstrap.com/)
       * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
       * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
       */
-const De="transitionend",Me=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let s=e.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),t=s&&"#"!==s?s.trim():null}return t},Pe=e=>{const t=Me(e);return t&&document.querySelector(t)?t:null},Be=e=>{const t=Me(e);return t?document.querySelector(t):null},qe=e=>{e.dispatchEvent(new Event(De))},He=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&( [...]
+const Pe="transitionend",Be=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let s=e.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),t=s&&"#"!==s?s.trim():null}return t},Me=e=>{const t=Be(e);return t&&document.querySelector(t)?t:null},He=e=>{const t=Be(e);return t?document.querySelector(t):null},qe=e=>{e.dispatchEvent(new Event(Pe))},je=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&( [...]
 //# sourceMappingURL=tobago.js.map
diff --git a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
index 30b517c72e..be87f37b9f 100644
--- a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
+++ b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
@@ -1 +1 @@
-{"version":3,"file":"tobago.js","sources":["../ts/tobago-bar.ts","../../../../node_modules/@popperjs/core/lib/enums.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../../../../node_m [...]
\ No newline at end of file
+{"version":3,"file":"tobago.js","sources":["../ts/tobago-css.ts","../ts/tobago-bar.ts","../../../../node_modules/@popperjs/core/lib/enums.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../../node_modules/@popperjs/core/lib/utils/getBasePlacement.j [...]
\ No newline at end of file


[myfaces-tobago] 01/02: fix(select[One/Many]List): preselected row

Posted by hn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hnoeth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit d4ca813faa871121421ea4a23855a003cd338e96
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Tue Feb 14 14:00:41 2023 +0100

    fix(select[One/Many]List): preselected row
    
    * remove 'tobago-preselect' CSS class if entry is filtered out
    
    Issue: TOBAGO-2195
---
 .../tobago-theme-standard/src/main/ts/tobago-select-many-list.ts         | 1 +
 tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-one-list.ts | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-many-list.ts b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-many-list.ts
index bcb47798d5..a19e50dad9 100644
--- a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-many-list.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-many-list.ts
@@ -151,6 +151,7 @@ class SelectManyList extends SelectListBase {
           row.classList.remove(Css.D_NONE);
         } else {
           row.classList.add(Css.D_NONE);
+          row.classList.remove(Css.TOBAGO_PRESELECT);
         }
       });
     }
diff --git a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-one-list.ts b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-one-list.ts
index 22b83d50ff..2039b338e0 100644
--- a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-one-list.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-one-list.ts
@@ -94,6 +94,7 @@ class SelectOneList extends SelectListBase {
           row.classList.remove(Css.D_NONE);
         } else {
           row.classList.add(Css.D_NONE);
+          row.classList.remove(Css.TOBAGO_PRESELECT);
         }
       });
     }