@optionfactory/ful 1.1.2 → 1.1.4

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/dist/ful.mjs CHANGED
@@ -1421,7 +1421,10 @@ class Input extends ParsedElement {
1421
1421
  static observed = ['value', 'readonly:presence'];
1422
1422
  static slots = true;
1423
1423
  static template = `
1424
- <label class="form-label">{{{{ slots.default }}}}</label>
1424
+ <div class="form-label">
1425
+ <label>{{{{ slots.default }}}}</label>
1426
+ {{{{ slots.info }}}}
1427
+ </div>
1425
1428
  <div class="input-group">
1426
1429
  <span data-tpl-if="slots.ibefore" class="input-group-text">{{{{ slots.ibefore }}}}</span>
1427
1430
  {{{{ slots.before }}}}
@@ -1703,7 +1706,10 @@ class Select extends ParsedElement {
1703
1706
  static observed = ['value:csvm', 'readonly:presence']
1704
1707
  static slots = true
1705
1708
  static template = `
1706
- <label class="form-label">{{{{ slots.default }}}}</label>
1709
+ <div class="form-label">
1710
+ <label>{{{{ slots.default }}}}</label>
1711
+ {{{{ slots.info }}}}
1712
+ </div>
1707
1713
  <div class="input-group flex-nowrap" tabindex="-1">
1708
1714
  <span data-tpl-if="slots.ibefore" class="input-group-text">{{{{ slots.ibefore }}}}</span>
1709
1715
  {{{{ slots.before }}}}
@@ -2005,7 +2011,10 @@ class Checkbox extends ParsedElement {
2005
2011
  <div class="input-container">
2006
2012
  <input class="form-check-input" type="checkbox" role="switch" form="" placeholder=" ">
2007
2013
  </div>
2008
- <label class="form-check-label">{{{{ slots.default }}}}</label>
2014
+ <div class="form-check-label">
2015
+ <label>{{{{ slots.default }}}}</label>
2016
+ {{{{ slots.info }}}}
2017
+ </div>
2009
2018
  </div>
2010
2019
  <ful-field-error></ful-field-error>
2011
2020
  `;
@@ -2137,9 +2146,9 @@ class Pagination extends ParsedElement {
2137
2146
  <li class="page-item ms-auto me-2" data-tpl-if="paginationLabel"> Showing page {{ curr.label }} of {{ total }}</li>
2138
2147
  <li class="page-item ms-auto me-2" data-tpl-if="!paginationLabel"></li>
2139
2148
  <li class="page-item reload me-2"><a role="button"><i class="bi bi-arrow-clockwise"></i></a></li>
2140
- <li class="page-item">
2149
+ <li class="page-item prev">
2141
2150
  <a data-tpl-class="prev.enabled?'page-link':'page-link disabled'" aria-label="Previous" role="button" data-tpl-data-page="prev.index">
2142
- <span aria-hidden="true">&laquo;</span>
2151
+ <i aria-hidden="true" class="bi bi-chevron-left"></i>
2143
2152
  </a>
2144
2153
  </li>
2145
2154
  <li class="page-item" data-tpl-each="pages" data-tpl-var="page">
@@ -2147,9 +2156,9 @@ class Pagination extends ParsedElement {
2147
2156
  {{ page.label }}
2148
2157
  </a>
2149
2158
  </li>
2150
- <li class="page-item">
2159
+ <li class="page-item next">
2151
2160
  <a data-tpl-class="next.enabled?'page-link':'page-link disabled'" aria-label="Next" role="button" data-tpl-data-page="next.index">
2152
- <span aria-hidden="true">&raquo;</span>
2161
+ <i aria-hidden="true" class="bi bi-chevron-right"></i>
2153
2162
  </a>
2154
2163
  </li>
2155
2164
  </ul>
@@ -2458,7 +2467,10 @@ class InstantFilter extends ParsedElement {
2458
2467
  static observed = ["value:json"];
2459
2468
  static slots = true;
2460
2469
  static template = `
2461
- <label class="form-label" data-tpl-if="label">{{{{ label }}}}</label>
2470
+ <div class="form-label" data-tpl-if="label">
2471
+ <label>{{{{ label }}}}</label>
2472
+ {{{{ slots.info }}}}
2473
+ </div>
2462
2474
  <div class="input-group">
2463
2475
  <button data-ref="operator" class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" value="LTE" form="">&PrecedesSlantEqual;</button>
2464
2476
  <ul class="dropdown-menu">
@@ -2560,7 +2572,10 @@ class LocalDateFilter extends ParsedElement {
2560
2572
  static observed = ["value:json"];
2561
2573
  static slots = true;
2562
2574
  static template = `
2563
- <label class="form-label" data-tpl-if="label">{{{{ label }}}}</label>
2575
+ <div class="form-label" data-tpl-if="label">
2576
+ <label>{{{{ label }}}}</label>
2577
+ {{{{ slots.info }}}}
2578
+ </div>
2564
2579
  <div class="input-group">
2565
2580
  <button data-ref="operator" class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" value="EQ" form="">=</button>
2566
2581
  <ul class="dropdown-menu">
@@ -2652,7 +2667,10 @@ class TextFilter extends ParsedElement {
2652
2667
  static observed = ["value:json"];
2653
2668
  static slots = true;
2654
2669
  static template = `
2655
- <label class="form-label" data-tpl-if="label">{{{{ label }}}}</label>
2670
+ <div class="form-label" data-tpl-if="label">
2671
+ <label>{{{{ label }}}}</label>
2672
+ {{{{ slots.info }}}}
2673
+ </div>
2656
2674
  <div class="input-group">
2657
2675
  <button data-ref="operator" class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" value="CONTAINS" form="">&mldr;a&mldr;</button>
2658
2676
  <ul class="dropdown-menu">