@kodaris/krubble-components 1.0.18 → 1.0.20
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/custom-elements.json +170 -170
- package/dist/krubble.bundled.js +6 -1
- package/dist/krubble.bundled.js.map +1 -1
- package/dist/krubble.bundled.min.js +9 -7
- package/dist/krubble.bundled.min.js.map +1 -1
- package/dist/krubble.umd.js +6 -1
- package/dist/krubble.umd.js.map +1 -1
- package/dist/krubble.umd.min.js +3 -1
- package/dist/krubble.umd.min.js.map +1 -1
- package/dist/table/table.d.ts +4 -0
- package/dist/table/table.d.ts.map +1 -1
- package/dist/table/table.js +6 -1
- package/dist/table/table.js.map +1 -1
- package/package.json +1 -1
package/dist/krubble.bundled.js
CHANGED
|
@@ -2396,7 +2396,7 @@ let KRTable = class KRTable extends i$2 {
|
|
|
2396
2396
|
this._def.columns.filter(col => col.searchable).forEach(col => {
|
|
2397
2397
|
request.queryFields.push({
|
|
2398
2398
|
name: col.id,
|
|
2399
|
-
operation: '
|
|
2399
|
+
operation: 'CONTAINS',
|
|
2400
2400
|
value: this._searchQuery,
|
|
2401
2401
|
and: false
|
|
2402
2402
|
});
|
|
@@ -2596,6 +2596,9 @@ let KRTable = class KRTable extends i$2 {
|
|
|
2596
2596
|
// Header
|
|
2597
2597
|
// ----------------------------------------------------------------------------
|
|
2598
2598
|
_handleAction(action) {
|
|
2599
|
+
if (action.href) {
|
|
2600
|
+
return;
|
|
2601
|
+
}
|
|
2599
2602
|
this.dispatchEvent(new CustomEvent('action', {
|
|
2600
2603
|
detail: { action: action.id },
|
|
2601
2604
|
bubbles: true,
|
|
@@ -2804,6 +2807,8 @@ let KRTable = class KRTable extends i$2 {
|
|
|
2804
2807
|
${this._def.actions?.length === 1 ? b `
|
|
2805
2808
|
<kr-button
|
|
2806
2809
|
class="actions"
|
|
2810
|
+
.href=${this._def.actions[0].href}
|
|
2811
|
+
.target=${this._def.actions[0].target}
|
|
2807
2812
|
@click=${() => this._handleAction(this._def.actions[0])}
|
|
2808
2813
|
>
|
|
2809
2814
|
${this._def.actions[0].label}
|