@ni/nimble-components 29.9.0 → 30.0.1
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/all-components-bundle.js +158 -73
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3428 -3426
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/combobox/index.d.ts +2 -0
- package/dist/esm/combobox/index.js +2 -0
- package/dist/esm/combobox/index.js.map +1 -1
- package/dist/esm/combobox/testing/combobox.pageobject.d.ts +92 -0
- package/dist/esm/combobox/testing/combobox.pageobject.js +151 -0
- package/dist/esm/combobox/testing/combobox.pageobject.js.map +1 -0
- package/dist/esm/icons/all-icons.d.ts +10 -2
- package/dist/esm/icons/all-icons.js +10 -2
- package/dist/esm/icons/all-icons.js.map +1 -1
- package/dist/esm/icons/arrow-right-thin.d.ts +13 -0
- package/dist/esm/icons/arrow-right-thin.js +15 -0
- package/dist/esm/icons/arrow-right-thin.js.map +1 -0
- package/dist/esm/icons/arrow-u-left.d.ts +13 -0
- package/dist/esm/icons/arrow-u-left.js +15 -0
- package/dist/esm/icons/arrow-u-left.js.map +1 -0
- package/dist/esm/icons/arrow-u-right.d.ts +13 -0
- package/dist/esm/icons/arrow-u-right.js +15 -0
- package/dist/esm/icons/arrow-u-right.js.map +1 -0
- package/dist/esm/icons/arrow-u-up.d.ts +13 -0
- package/dist/esm/icons/arrow-u-up.js +15 -0
- package/dist/esm/icons/arrow-u-up.js.map +1 -0
- package/dist/esm/icons/arrow-up-right-from-square.js +2 -2
- package/dist/esm/icons/arrow-up-right-from-square.js.map +1 -1
- package/dist/esm/icons/calendar-clock.d.ts +13 -0
- package/dist/esm/icons/calendar-clock.js +15 -0
- package/dist/esm/icons/calendar-clock.js.map +1 -0
- package/dist/esm/icons/calendar-day-outline.d.ts +13 -0
- package/dist/esm/icons/calendar-day-outline.js +15 -0
- package/dist/esm/icons/calendar-day-outline.js.map +1 -0
- package/dist/esm/icons/calendar-days.d.ts +13 -0
- package/dist/esm/icons/calendar-days.js +15 -0
- package/dist/esm/icons/calendar-days.js.map +1 -0
- package/dist/esm/icons/calendar-lines.d.ts +13 -0
- package/dist/esm/icons/calendar-lines.js +15 -0
- package/dist/esm/icons/calendar-lines.js.map +1 -0
- package/dist/esm/icons/calendar-rectangle.d.ts +13 -0
- package/dist/esm/icons/calendar-rectangle.js +15 -0
- package/dist/esm/icons/calendar-rectangle.js.map +1 -0
- package/dist/esm/icons/calendar-week.d.ts +13 -0
- package/dist/esm/icons/calendar-week.js +15 -0
- package/dist/esm/icons/calendar-week.js.map +1 -0
- package/dist/esm/table/components/row/index.d.ts +0 -1
- package/dist/esm/table/components/row/index.js +1 -9
- package/dist/esm/table/components/row/index.js.map +1 -1
- package/dist/esm/table/index.d.ts +1 -3
- package/dist/esm/table/index.js +0 -25
- package/dist/esm/table/index.js.map +1 -1
- package/dist/esm/table/models/keyboard-navigation-manager.d.ts +0 -1
- package/dist/esm/table/models/keyboard-navigation-manager.js +4 -8
- package/dist/esm/table/models/keyboard-navigation-manager.js.map +1 -1
- package/dist/esm/table/models/virtualizer.js +0 -1
- package/dist/esm/table/models/virtualizer.js.map +1 -1
- package/dist/esm/table-column/anchor/cell-view/index.d.ts +0 -1
- package/dist/esm/table-column/anchor/cell-view/index.js +0 -3
- package/dist/esm/table-column/anchor/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/base/cell-view/index.d.ts +0 -6
- package/dist/esm/table-column/base/cell-view/index.js +0 -6
- package/dist/esm/table-column/base/cell-view/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/esm/icons/arrow-u-rotate-left.d.ts +0 -13
- package/dist/esm/icons/arrow-u-rotate-left.js +0 -15
- package/dist/esm/icons/arrow-u-rotate-left.js.map +0 -1
- package/dist/esm/icons/calendar.d.ts +0 -13
- package/dist/esm/icons/calendar.js +0 -15
- package/dist/esm/icons/calendar.js.map +0 -1
|
@@ -16333,7 +16333,7 @@
|
|
|
16333
16333
|
|
|
16334
16334
|
/**
|
|
16335
16335
|
* Do not edit directly
|
|
16336
|
-
* Generated on
|
|
16336
|
+
* Generated on Tue, 16 Jul 2024 23:38:17 GMT
|
|
16337
16337
|
*/
|
|
16338
16338
|
|
|
16339
16339
|
const Information100DarkUi = "#a46eff";
|
|
@@ -19043,6 +19043,10 @@
|
|
|
19043
19043
|
name: 'arrow_partial_rotate_left_16_x_16',
|
|
19044
19044
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 11.988a3.086 3.086 0 0 0 3.143-3.025 3.08 3.08 0 0 0-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.62 4.62 0 0 1 4.572 4.53A4.63 4.63 0 0 1 8 13.5Z" class="cls-1"/></svg>`,
|
|
19045
19045
|
};
|
|
19046
|
+
const arrowRightThin16X16 = {
|
|
19047
|
+
name: 'arrow_right_thin_16_x_16',
|
|
19048
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.831 4.386-.706 1.127 3.128 1.837H2v1.3h8.365L7.49 10.528l.768 1.085L13.875 8z" class="cls-1"/></svg>`,
|
|
19049
|
+
};
|
|
19046
19050
|
const arrowRightToLine16X16 = {
|
|
19047
19051
|
name: 'arrow_right_to_line_16_x_16',
|
|
19048
19052
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2Zm-6.9-3 1.287-2H2V7l4.412.004L5.1 5 11 7.982Z" class="cls-1"/></svg>`,
|
|
@@ -19051,8 +19055,16 @@
|
|
|
19051
19055
|
name: 'arrow_rotate_right_16_x_16',
|
|
19052
19056
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.9 2.773v1.715a3.366 3.366 0 0 1 3.3 3.428 3.366 3.366 0 0 1-3.3 3.429 3.36 3.36 0 0 1-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.04 5.04 0 0 0 8.9 13.059a5.05 5.05 0 0 0 4.95-5.143A5.05 5.05 0 0 0 8.9 2.773" class="cls-1"/></svg>`,
|
|
19053
19057
|
};
|
|
19054
|
-
const
|
|
19055
|
-
name: '
|
|
19058
|
+
const arrowULeft16X16 = {
|
|
19059
|
+
name: 'arrow_u_left_16_x_16',
|
|
19060
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9.453 8.857-1.68-2.571h.908a3 3 0 0 1 0 6H3.11V14h5.571a4.714 4.714 0 0 0 0-9.429h-.908L9.453 2 2.604 5.403z" class="cls-1"/></svg>`,
|
|
19061
|
+
};
|
|
19062
|
+
const arrowURight16X16 = {
|
|
19063
|
+
name: 'arrow_u_right_16_x_16',
|
|
19064
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.547 8.857 1.68-2.571H7.32a3 3 0 0 0 0 6h5.571V14H7.319a4.714 4.714 0 0 1 0-9.429h.908L6.547 2l6.849 3.403z" class="cls-1"/></svg>`,
|
|
19065
|
+
};
|
|
19066
|
+
const arrowUUp16X16 = {
|
|
19067
|
+
name: 'arrow_u_up_16_x_16',
|
|
19056
19068
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.857 9.453-2.571-1.68v.908a3 3 0 0 0 3 3 3 3 0 0 0 3-3V3.11H14v5.571a4.714 4.714 0 0 1-4.714 4.715A4.714 4.714 0 0 1 4.57 8.68v-.908L2 9.453l3.403-6.849Z" class="cls-1"/></svg>`,
|
|
19057
19069
|
};
|
|
19058
19070
|
const arrowUp16X16 = {
|
|
@@ -19067,9 +19079,9 @@
|
|
|
19067
19079
|
name: 'arrow_up_right_and_arrow_down_left_16_x_16',
|
|
19068
19080
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.023 4.195-2.296-.45L14 2l-1.762 5.256-.458-2.301-6.803 6.85 2.296.45L2 14l1.762-5.256.458 2.301z" class="cls-1"/></svg>`,
|
|
19069
19081
|
};
|
|
19070
|
-
const
|
|
19071
|
-
name: '
|
|
19072
|
-
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="
|
|
19082
|
+
const arrowUpRightFromSquare16X16 = {
|
|
19083
|
+
name: 'arrow_up_right_from_square_16_x_16',
|
|
19084
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.436 10h1v3h-9V4h3v1h-2v7h7zm-3.42-6.173.298 1.296 2.92-.748L5.068 9.53l.925.926L11.13 5.33l-.52 2.532 1.31.225 1.2-5.839z" class="cls-1"/></svg>`,
|
|
19073
19085
|
};
|
|
19074
19086
|
const arrowsMaximize16X16 = {
|
|
19075
19087
|
name: 'arrows_maximize_16_x_16',
|
|
@@ -19115,17 +19127,37 @@
|
|
|
19115
19127
|
name: 'book_magnifying_glass_16_x_16',
|
|
19116
19128
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 10c0-.347.058-.678.142-1H5V8h1.556c.22-.378.498-.714.826-1H5V6h5c.732 0 1.41.212 2 .556V2H3v11h4.382A3.98 3.98 0 0 1 6 10M5 4h5v1H5z" class="cls-1"/><path d="m9.99 7.01-.076.002a3 3 0 1 0 1.799 5.452l1.593 1.53.69-.725-1.58-1.516a2.97 2.97 0 0 0 .57-1.816A3 3 0 0 0 9.99 7.01M10 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2" class="cls-1"/></svg>`,
|
|
19117
19129
|
};
|
|
19118
|
-
const calendar16X16 = {
|
|
19119
|
-
name: 'calendar_16_x_16',
|
|
19120
|
-
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2zm3-2H7v2h2zm3 0h-2v2h2zm-6 3H4v2h2zm3 0H7v2h2z" class="cls-1"/></svg>`,
|
|
19121
|
-
};
|
|
19122
19130
|
const calendarCheckLines16X16 = {
|
|
19123
19131
|
name: 'calendar_check_lines_16_x_16',
|
|
19124
19132
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10z" class="cls-2"/><path d="M5.743 11 4 9.242l.766-.742.97 1.007L8.273 7 9 7.758zM10 8h2v1h-2zM8 10h4v1H8z" class="cls-1"/></svg>`,
|
|
19125
19133
|
};
|
|
19134
|
+
const calendarClock16X16 = {
|
|
19135
|
+
name: 'calendar_clock_16_x_16',
|
|
19136
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 8.79V3h-2V2h-2v1H6V2H4v1H2v11h7.47c.545.35 1.19.559 1.885.559a3.5 3.5 0 0 0 3.5-3.5c0-.87-.33-1.657-.855-2.269M3 6h10v1.987a3.46 3.46 0 0 0-1.645-.428A3.5 3.5 0 0 0 8.445 13H3zm9.978 7.041a391 391 0 0 1-1.288-1.304.743.743 0 1 1 0-1.338l.908-.908c.081-.081.356-.149.49-.149 0 .09-.06.358-.134.462-.068.095-.791.822-.917.948a.75.75 0 0 1 0 .633l1.386 1.389s.312.327.268.625c-.208 0-.416-.06-.713-.358" class="cls-1"/></svg>`,
|
|
19137
|
+
};
|
|
19126
19138
|
const calendarDay16X16 = {
|
|
19127
19139
|
name: 'calendar_day_16_x_16',
|
|
19128
|
-
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="
|
|
19140
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 10H4V7h3zm7-7v11H2V3h2V2h2v1h4V2h2v1zm-1 3H3v7h10z" class="cls-1"/></svg>`,
|
|
19141
|
+
};
|
|
19142
|
+
const calendarDayOutline16X16 = {
|
|
19143
|
+
name: 'calendar_day_outline_16_x_16',
|
|
19144
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM7 7H4v3h3zM6 9H5V8h1z" class="cls-1"/></svg>`,
|
|
19145
|
+
};
|
|
19146
|
+
const calendarDays16X16 = {
|
|
19147
|
+
name: 'calendar_days_16_x_16',
|
|
19148
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2zm3-2H7v2h2zm3 0h-2v2h2zm-6 3H4v2h2zm3 0H7v2h2z" class="cls-1"/></svg>`,
|
|
19149
|
+
};
|
|
19150
|
+
const calendarLines16X16 = {
|
|
19151
|
+
name: 'calendar_lines_16_x_16',
|
|
19152
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-5H4V7h8zm0 2H4V9h8zm0 2H4v-1h8z" class="cls-1"/></svg>`,
|
|
19153
|
+
};
|
|
19154
|
+
const calendarRectangle16X16 = {
|
|
19155
|
+
name: 'calendar_rectangle_16_x_16',
|
|
19156
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-1H4V7h8z" class="cls-1"/></svg>`,
|
|
19157
|
+
};
|
|
19158
|
+
const calendarWeek16X16 = {
|
|
19159
|
+
name: 'calendar_week_16_x_16',
|
|
19160
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="cls-3"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-4H4V7h8z" class="cls-1"/></g></svg>`,
|
|
19129
19161
|
};
|
|
19130
19162
|
const chartDiagram16X16 = {
|
|
19131
19163
|
name: 'chart_diagram_16_x_16',
|
|
@@ -21288,6 +21320,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21288
21320
|
*/
|
|
21289
21321
|
this.open = false;
|
|
21290
21322
|
/**
|
|
21323
|
+
* @internal
|
|
21324
|
+
*
|
|
21291
21325
|
* The collection of currently filtered options.
|
|
21292
21326
|
*/
|
|
21293
21327
|
this.filteredOptions = [];
|
|
@@ -22622,6 +22656,18 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22622
22656
|
}
|
|
22623
22657
|
registerIcon('icon-arrow-partial-rotate-left', IconArrowPartialRotateLeft);
|
|
22624
22658
|
|
|
22659
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22660
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22661
|
+
/**
|
|
22662
|
+
* The icon component for the 'arrowRightThin' icon
|
|
22663
|
+
*/
|
|
22664
|
+
class IconArrowRightThin extends Icon {
|
|
22665
|
+
constructor() {
|
|
22666
|
+
super(arrowRightThin16X16);
|
|
22667
|
+
}
|
|
22668
|
+
}
|
|
22669
|
+
registerIcon('icon-arrow-right-thin', IconArrowRightThin);
|
|
22670
|
+
|
|
22625
22671
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22626
22672
|
// See generation source in nimble-components/build/generate-icons
|
|
22627
22673
|
/**
|
|
@@ -22649,14 +22695,38 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22649
22695
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22650
22696
|
// See generation source in nimble-components/build/generate-icons
|
|
22651
22697
|
/**
|
|
22652
|
-
* The icon component for the '
|
|
22698
|
+
* The icon component for the 'arrowULeft' icon
|
|
22699
|
+
*/
|
|
22700
|
+
class IconArrowULeft extends Icon {
|
|
22701
|
+
constructor() {
|
|
22702
|
+
super(arrowULeft16X16);
|
|
22703
|
+
}
|
|
22704
|
+
}
|
|
22705
|
+
registerIcon('icon-arrow-u-left', IconArrowULeft);
|
|
22706
|
+
|
|
22707
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22708
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22709
|
+
/**
|
|
22710
|
+
* The icon component for the 'arrowURight' icon
|
|
22653
22711
|
*/
|
|
22654
|
-
class
|
|
22712
|
+
class IconArrowURight extends Icon {
|
|
22655
22713
|
constructor() {
|
|
22656
|
-
super(
|
|
22714
|
+
super(arrowURight16X16);
|
|
22657
22715
|
}
|
|
22658
22716
|
}
|
|
22659
|
-
registerIcon('icon-arrow-u-
|
|
22717
|
+
registerIcon('icon-arrow-u-right', IconArrowURight);
|
|
22718
|
+
|
|
22719
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22720
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22721
|
+
/**
|
|
22722
|
+
* The icon component for the 'arrowUUp' icon
|
|
22723
|
+
*/
|
|
22724
|
+
class IconArrowUUp extends Icon {
|
|
22725
|
+
constructor() {
|
|
22726
|
+
super(arrowUUp16X16);
|
|
22727
|
+
}
|
|
22728
|
+
}
|
|
22729
|
+
registerIcon('icon-arrow-u-up', IconArrowUUp);
|
|
22660
22730
|
|
|
22661
22731
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22662
22732
|
// See generation source in nimble-components/build/generate-icons
|
|
@@ -22702,7 +22772,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22702
22772
|
*/
|
|
22703
22773
|
class IconArrowUpRightFromSquare extends Icon {
|
|
22704
22774
|
constructor() {
|
|
22705
|
-
super(
|
|
22775
|
+
super(arrowUpRightFromSquare16X16);
|
|
22706
22776
|
}
|
|
22707
22777
|
}
|
|
22708
22778
|
registerIcon('icon-arrow-up-right-from-square', IconArrowUpRightFromSquare);
|
|
@@ -22843,26 +22913,26 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22843
22913
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22844
22914
|
// See generation source in nimble-components/build/generate-icons
|
|
22845
22915
|
/**
|
|
22846
|
-
* The icon component for the '
|
|
22916
|
+
* The icon component for the 'calendarCheckLines' icon
|
|
22847
22917
|
*/
|
|
22848
|
-
class
|
|
22918
|
+
class IconCalendarCheckLines extends Icon {
|
|
22849
22919
|
constructor() {
|
|
22850
|
-
super(
|
|
22920
|
+
super(calendarCheckLines16X16);
|
|
22851
22921
|
}
|
|
22852
22922
|
}
|
|
22853
|
-
registerIcon('icon-calendar',
|
|
22923
|
+
registerIcon('icon-calendar-check-lines', IconCalendarCheckLines);
|
|
22854
22924
|
|
|
22855
22925
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22856
22926
|
// See generation source in nimble-components/build/generate-icons
|
|
22857
22927
|
/**
|
|
22858
|
-
* The icon component for the '
|
|
22928
|
+
* The icon component for the 'calendarClock' icon
|
|
22859
22929
|
*/
|
|
22860
|
-
class
|
|
22930
|
+
class IconCalendarClock extends Icon {
|
|
22861
22931
|
constructor() {
|
|
22862
|
-
super(
|
|
22932
|
+
super(calendarClock16X16);
|
|
22863
22933
|
}
|
|
22864
22934
|
}
|
|
22865
|
-
registerIcon('icon-calendar-
|
|
22935
|
+
registerIcon('icon-calendar-clock', IconCalendarClock);
|
|
22866
22936
|
|
|
22867
22937
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22868
22938
|
// See generation source in nimble-components/build/generate-icons
|
|
@@ -22876,6 +22946,66 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22876
22946
|
}
|
|
22877
22947
|
registerIcon('icon-calendar-day', IconCalendarDay);
|
|
22878
22948
|
|
|
22949
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22950
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22951
|
+
/**
|
|
22952
|
+
* The icon component for the 'calendarDayOutline' icon
|
|
22953
|
+
*/
|
|
22954
|
+
class IconCalendarDayOutline extends Icon {
|
|
22955
|
+
constructor() {
|
|
22956
|
+
super(calendarDayOutline16X16);
|
|
22957
|
+
}
|
|
22958
|
+
}
|
|
22959
|
+
registerIcon('icon-calendar-day-outline', IconCalendarDayOutline);
|
|
22960
|
+
|
|
22961
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22962
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22963
|
+
/**
|
|
22964
|
+
* The icon component for the 'calendarDays' icon
|
|
22965
|
+
*/
|
|
22966
|
+
class IconCalendarDays extends Icon {
|
|
22967
|
+
constructor() {
|
|
22968
|
+
super(calendarDays16X16);
|
|
22969
|
+
}
|
|
22970
|
+
}
|
|
22971
|
+
registerIcon('icon-calendar-days', IconCalendarDays);
|
|
22972
|
+
|
|
22973
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22974
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22975
|
+
/**
|
|
22976
|
+
* The icon component for the 'calendarLines' icon
|
|
22977
|
+
*/
|
|
22978
|
+
class IconCalendarLines extends Icon {
|
|
22979
|
+
constructor() {
|
|
22980
|
+
super(calendarLines16X16);
|
|
22981
|
+
}
|
|
22982
|
+
}
|
|
22983
|
+
registerIcon('icon-calendar-lines', IconCalendarLines);
|
|
22984
|
+
|
|
22985
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22986
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22987
|
+
/**
|
|
22988
|
+
* The icon component for the 'calendarRectangle' icon
|
|
22989
|
+
*/
|
|
22990
|
+
class IconCalendarRectangle extends Icon {
|
|
22991
|
+
constructor() {
|
|
22992
|
+
super(calendarRectangle16X16);
|
|
22993
|
+
}
|
|
22994
|
+
}
|
|
22995
|
+
registerIcon('icon-calendar-rectangle', IconCalendarRectangle);
|
|
22996
|
+
|
|
22997
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22998
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22999
|
+
/**
|
|
23000
|
+
* The icon component for the 'calendarWeek' icon
|
|
23001
|
+
*/
|
|
23002
|
+
class IconCalendarWeek extends Icon {
|
|
23003
|
+
constructor() {
|
|
23004
|
+
super(calendarWeek16X16);
|
|
23005
|
+
}
|
|
23006
|
+
}
|
|
23007
|
+
registerIcon('icon-calendar-week', IconCalendarWeek);
|
|
23008
|
+
|
|
22879
23009
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22880
23010
|
// See generation source in nimble-components/build/generate-icons
|
|
22881
23011
|
/**
|
|
@@ -64686,12 +64816,6 @@ img.ProseMirror-separator {
|
|
|
64686
64816
|
get tabbableChildren() {
|
|
64687
64817
|
return [];
|
|
64688
64818
|
}
|
|
64689
|
-
/**
|
|
64690
|
-
* Called if an element inside this cell view has focus, and this row/cell is being recycled.
|
|
64691
|
-
* Expected implementation is to commit changes as needed, and blur the focusable element (or close
|
|
64692
|
-
* the menu/popup/etc).
|
|
64693
|
-
*/
|
|
64694
|
-
focusedRecycleCallback() { }
|
|
64695
64819
|
columnChanged() {
|
|
64696
64820
|
for (const eventName of this.delegatedEvents) {
|
|
64697
64821
|
this.removeEventListener(eventName, this.delegatedEventHandler);
|
|
@@ -65937,14 +66061,6 @@ focus outline in that case.
|
|
|
65937
66061
|
this.menuOpen = event.detail.newState;
|
|
65938
66062
|
this.emitActionMenuToggleEvent('row-action-menu-toggle', event.detail, column);
|
|
65939
66063
|
}
|
|
65940
|
-
closeOpenActionMenus() {
|
|
65941
|
-
if (this.menuOpen) {
|
|
65942
|
-
const cellWithMenuOpen = Array.from(this.cellContainer.children).find(c => c instanceof TableCell && c.menuOpen);
|
|
65943
|
-
if (cellWithMenuOpen?.actionMenuButton?.open) {
|
|
65944
|
-
cellWithMenuOpen.actionMenuButton.toggleButton.control.click();
|
|
65945
|
-
}
|
|
65946
|
-
}
|
|
65947
|
-
}
|
|
65948
66064
|
/** @internal */
|
|
65949
66065
|
handleChange(source, args) {
|
|
65950
66066
|
if (source instanceof ColumnInternals
|
|
@@ -67383,7 +67499,6 @@ focus outline in that case.
|
|
|
67383
67499
|
};
|
|
67384
67500
|
}
|
|
67385
67501
|
handleVirtualizerChange() {
|
|
67386
|
-
this.table.handleFocusedCellRecycling();
|
|
67387
67502
|
const virtualizer = this.virtualizer;
|
|
67388
67503
|
this.visibleItems = virtualizer.getVirtualItems();
|
|
67389
67504
|
this.scrollHeight = virtualizer.getTotalSize();
|
|
@@ -68701,9 +68816,10 @@ focus outline in that case.
|
|
|
68701
68816
|
}
|
|
68702
68817
|
}
|
|
68703
68818
|
if (focusRowAndCell) {
|
|
68704
|
-
//
|
|
68705
|
-
//
|
|
68706
|
-
//
|
|
68819
|
+
// We want open action menus to be closed, and focused interactive cell content blurred, on scroll. We also don't want to
|
|
68820
|
+
// refocus the interactive cell content after the scroll, as the element no longer represents the same table data at that
|
|
68821
|
+
// point. So in both those cases, we focus the cell here. This also lets us maintain what row/ cell the user had focused
|
|
68822
|
+
// previously.
|
|
68707
68823
|
if (this.focusType === TableFocusType.cellActionMenu
|
|
68708
68824
|
|| this.focusType === TableFocusType.cellContent) {
|
|
68709
68825
|
this.setCellFocusState(this.columnIndex, this.rowIndex, false);
|
|
@@ -68730,11 +68846,6 @@ focus outline in that case.
|
|
|
68730
68846
|
}
|
|
68731
68847
|
}
|
|
68732
68848
|
}
|
|
68733
|
-
handleFocusedCellRecycling(hadRowOrCellFocus) {
|
|
68734
|
-
if (hadRowOrCellFocus && !this.focusWithinTable) {
|
|
68735
|
-
this.focusCurrentRow(false);
|
|
68736
|
-
}
|
|
68737
|
-
}
|
|
68738
68849
|
onRowFocusIn(event) {
|
|
68739
68850
|
if (this.isCurrentlyFocusingElement) {
|
|
68740
68851
|
return;
|
|
@@ -69907,29 +70018,6 @@ focus outline in that case.
|
|
|
69907
70018
|
}
|
|
69908
70019
|
return tanStackUpdates;
|
|
69909
70020
|
}
|
|
69910
|
-
/** @internal */
|
|
69911
|
-
handleFocusedCellRecycling() {
|
|
69912
|
-
const hadActiveRowOrCellFocus = this.keyboardNavigationManager.hasActiveRowOrCellFocus;
|
|
69913
|
-
let tableFocusedElement = this.shadowRoot.activeElement;
|
|
69914
|
-
while (tableFocusedElement !== null
|
|
69915
|
-
&& !(tableFocusedElement instanceof TableCellView)) {
|
|
69916
|
-
if (tableFocusedElement.shadowRoot) {
|
|
69917
|
-
tableFocusedElement = tableFocusedElement.shadowRoot.activeElement;
|
|
69918
|
-
}
|
|
69919
|
-
else {
|
|
69920
|
-
break;
|
|
69921
|
-
}
|
|
69922
|
-
}
|
|
69923
|
-
if (tableFocusedElement instanceof TableCellView) {
|
|
69924
|
-
tableFocusedElement.focusedRecycleCallback();
|
|
69925
|
-
}
|
|
69926
|
-
if (this.openActionMenuRecordId !== undefined) {
|
|
69927
|
-
const activeRow = this.rowElements.find(row => row instanceof TableRow
|
|
69928
|
-
&& row.recordId === this.openActionMenuRecordId);
|
|
69929
|
-
activeRow?.closeOpenActionMenus();
|
|
69930
|
-
}
|
|
69931
|
-
this.keyboardNavigationManager.handleFocusedCellRecycling(hadActiveRowOrCellFocus);
|
|
69932
|
-
}
|
|
69933
70021
|
selectionModeChanged(_prev, _next) {
|
|
69934
70022
|
if (!this.$fastController.isConnected) {
|
|
69935
70023
|
return;
|
|
@@ -70584,9 +70672,6 @@ focus outline in that case.
|
|
|
70584
70672
|
get showAnchor() {
|
|
70585
70673
|
return typeof this.cellRecord?.href === 'string';
|
|
70586
70674
|
}
|
|
70587
|
-
focusedRecycleCallback() {
|
|
70588
|
-
this.anchor?.blur();
|
|
70589
|
-
}
|
|
70590
70675
|
get tabbableChildren() {
|
|
70591
70676
|
if (this.showAnchor) {
|
|
70592
70677
|
return [this.anchor];
|