@prt-ts/fluent-react-table-v2 9.48.0-build-1.0 → 9.48.0-build-1.2

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/index.esm.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import { useMemo } from 'react';
4
- import { makeStaticStyles, makeStyles, shorthands, tokens, useId, Dropdown, Option, Input, Button, useArrowNavigationGroup, Divider, Popover, PopoverTrigger, Tooltip, PopoverSurface, MenuGroupHeader, Checkbox, mergeClasses as mergeClasses$1, Menu, MenuTrigger, MenuButton, MenuPopover, MenuList, MenuGroup, MenuItem, MenuDivider, useFocusableGroup, Skeleton, SkeletonItem, Subtitle2Stronger, Radio, RadioGroup, Field, InlineDrawer, DrawerHeader, DrawerHeaderTitle, DrawerBody, Accordion, AccordionItem, AccordionHeader, Caption1Stronger, AccordionPanel, DrawerFooter, MenuItemRadio } from '@fluentui/react-components';
4
+ import { makeStaticStyles, makeStyles, shorthands, tokens, useId, Dropdown, Option, Input, Button, useArrowNavigationGroup, Divider, Popover, PopoverTrigger, Tooltip, PopoverSurface, MenuGroupHeader, Checkbox, mergeClasses, Menu, MenuTrigger, MenuButton, MenuPopover, MenuList, MenuGroup, MenuItem, MenuDivider, useFocusableGroup, Skeleton, SkeletonItem, Subtitle2Stronger, Radio, RadioGroup, Field, InlineDrawer, DrawerHeader, DrawerHeaderTitle, DrawerBody, Accordion, AccordionItem, AccordionHeader, Caption1Stronger, AccordionPanel, DrawerFooter, MenuItemRadio } from '@fluentui/react-components';
5
+ import { PreviousRegular, ArrowPreviousFilled, ArrowNextFilled, NextRegular, bundleIcon, SaveFilled, SaveRegular, TableSimpleCheckmarkFilled, TableSimpleCheckmarkRegular, SearchFilled, SearchRegular, FilterFilled, FilterRegular, CodeTextOff16Filled, CodeTextOff16Regular, ColumnEditFilled, ColumnEditRegular, GroupFilled, GroupRegular, ChevronRightFilled, ChevronRightRegular, ChevronDownRegular, ChevronDownFilled, DragFilled, DragRegular, Album24Regular, Search24Regular, FilterDismissFilled, MoreVerticalFilled, MoreVerticalRegular, ArrowSortDown20Filled, ArrowSortDown20Regular, ArrowSortUp20Filled, ArrowSortUp20Regular, PinFilled, PinRegular, EyeTrackingOffFilled, EyeTrackingOffRegular, TextExpandFilled, TextExpandRegular, TextCollapseFilled, TextCollapseRegular, GroupListRegular, ArrowSortFilled, TextSortAscendingFilled, TextSortDescendingFilled, GroupDismissFilled, PinOffRegular, ArrowStepInLeftRegular, ArrowStepInRightRegular, TextClearFormattingFilled, DocumentSearch24Regular, StarRegular, SwipeUpFilled, SwipeDownFilled, Dismiss24Regular, Save20Filled, ViewDesktop20Filled, ViewDesktop20Regular } from '@fluentui/react-icons';
5
6
  import { Show, For, Switch, Case } from '@prt-ts/react-control-flow';
6
7
  import { useReactTable, getCoreRowModel, getPaginationRowModel, getSortedRowModel, getFilteredRowModel, getGroupedRowModel, getExpandedRowModel, getFacetedUniqueValues, getFacetedMinMaxValues, flexRender } from '@tanstack/react-table';
7
8
  export { createColumnHelper } from '@tanstack/react-table';
@@ -96,1007 +97,6 @@ const usePaginationStyle = makeStyles({
96
97
  },
97
98
  });
98
99
 
99
- const IconDirectionContext = React.createContext(undefined);
100
- const IconDirectionContextDefaultValue = {};
101
- IconDirectionContext.Provider;
102
- const useIconContext = () => React.useContext(IconDirectionContext) ? React.useContext(IconDirectionContext) : IconDirectionContextDefaultValue;
103
-
104
- // ----
105
- // Heads up!
106
- // These constants are global and will be shared between Griffel instances.
107
- // Any change in them should happen only in a MAJOR version. If it happens,
108
- // please change "__NAMESPACE_PREFIX__" to include a version.
109
- const __GLOBAL__ = typeof window === 'undefined' ? global : window;
110
- const __NAMESPACE_PREFIX__ = '@griffel/';
111
- function getGlobalVar(name, defaultValue) {
112
- if (!__GLOBAL__[Symbol.for(__NAMESPACE_PREFIX__ + name)]) {
113
- __GLOBAL__[Symbol.for(__NAMESPACE_PREFIX__ + name)] = defaultValue;
114
- }
115
- return __GLOBAL__[Symbol.for(__NAMESPACE_PREFIX__ + name)];
116
- }
117
- /** @internal */
118
- const DEBUG_RESET_CLASSES = /*#__PURE__*/getGlobalVar('DEBUG_RESET_CLASSES', {});
119
- /** @internal */
120
- const DEFINITION_LOOKUP_TABLE = /*#__PURE__*/getGlobalVar('DEFINITION_LOOKUP_TABLE', {});
121
- // ----
122
- /** @internal */
123
- const DATA_BUCKET_ATTR = 'data-make-styles-bucket';
124
- /** @internal */
125
- const RESET_HASH_PREFIX = 'r';
126
- /** @internal */
127
- const SEQUENCE_HASH_LENGTH = 7;
128
- /** @internal */
129
- const SEQUENCE_PREFIX = '___';
130
- /** @internal */
131
- const DEBUG_SEQUENCE_SEPARATOR = '_';
132
- /** @internal */
133
- const SEQUENCE_SIZE = process.env.NODE_ENV === 'production' ? SEQUENCE_PREFIX.length + SEQUENCE_HASH_LENGTH : SEQUENCE_PREFIX.length + SEQUENCE_HASH_LENGTH + DEBUG_SEQUENCE_SEPARATOR.length + SEQUENCE_HASH_LENGTH;
134
- // indexes for values in LookupItem tuple
135
- /** @internal */
136
- const LOOKUP_DEFINITIONS_INDEX = 0;
137
- /** @internal */
138
- const LOOKUP_DIR_INDEX = 1;
139
-
140
- /* eslint-disable */
141
- // Inspired by https://github.com/garycourt/murmurhash-js
142
- // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
143
- function murmur2(str) {
144
- // 'm' and 'r' are mixing constants generated offline.
145
- // They're not really 'magic', they just happen to work well.
146
- // const m = 0x5bd1e995;
147
- // const r = 24;
148
- // Initialize the hash
149
- var h = 0; // Mix 4 bytes at a time into the hash
150
-
151
- var k,
152
- i = 0,
153
- len = str.length;
154
-
155
- for (; len >= 4; ++i, len -= 4) {
156
- k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
157
- k =
158
- /* Math.imul(k, m): */
159
- (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
160
- k ^=
161
- /* k >>> r: */
162
- k >>> 24;
163
- h =
164
- /* Math.imul(k, m): */
165
- (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
166
- /* Math.imul(h, m): */
167
- (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
168
- } // Handle the last few bytes of the input array
169
-
170
-
171
- switch (len) {
172
- case 3:
173
- h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
174
-
175
- case 2:
176
- h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
177
-
178
- case 1:
179
- h ^= str.charCodeAt(i) & 0xff;
180
- h =
181
- /* Math.imul(h, m): */
182
- (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
183
- } // Do a few final mixes of the hash to ensure the last few
184
- // bytes are well-incorporated.
185
-
186
-
187
- h ^= h >>> 13;
188
- h =
189
- /* Math.imul(h, m): */
190
- (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
191
- return ((h ^ h >>> 15) >>> 0).toString(36);
192
- }
193
-
194
- function padEndHash(value) {
195
- const hashLength = value.length;
196
- if (hashLength === SEQUENCE_HASH_LENGTH) {
197
- return value;
198
- }
199
- for (let i = hashLength; i < SEQUENCE_HASH_LENGTH; i++) {
200
- value += '0';
201
- }
202
- return value;
203
- }
204
- function hashSequence(classes, dir, sequenceIds = []) {
205
- if (process.env.NODE_ENV === 'production') {
206
- return SEQUENCE_PREFIX + padEndHash(murmur2(classes + dir));
207
- }
208
- return SEQUENCE_PREFIX + padEndHash(murmur2(classes + dir)) + DEBUG_SEQUENCE_SEPARATOR + padEndHash(murmur2(sequenceIds.join('')));
209
- }
210
-
211
- /**
212
- * Reduces a classname map for slot to a classname string. Uses classnames according to text directions.
213
- *
214
- * @private
215
- */
216
- function reduceToClassName(classMap, dir) {
217
- let className = '';
218
- // eslint-disable-next-line guard-for-in
219
- for (const propertyHash in classMap) {
220
- const classNameMapping = classMap[propertyHash];
221
- if (classNameMapping) {
222
- const hasRTLClassName = Array.isArray(classNameMapping);
223
- if (dir === 'rtl') {
224
- className += (hasRTLClassName ? classNameMapping[1] : classNameMapping) + ' ';
225
- } else {
226
- className += (hasRTLClassName ? classNameMapping[0] : classNameMapping) + ' ';
227
- }
228
- }
229
- }
230
- return className.slice(0, -1);
231
- }
232
- /**
233
- * Reduces classname maps for slots to classname strings. Registers them in a definition cache to be used by
234
- * `mergeClasses()`.
235
- *
236
- * @internal
237
- */
238
- function reduceToClassNameForSlots(classesMapBySlot, dir) {
239
- const classNamesForSlots = {};
240
- // eslint-disable-next-line guard-for-in
241
- for (const slotName in classesMapBySlot) {
242
- const slotClasses = reduceToClassName(classesMapBySlot[slotName], dir);
243
- // Handles a case when there are no classes in a set i.e. "makeStyles({ root: {} })"
244
- if (slotClasses === '') {
245
- classNamesForSlots[slotName] = '';
246
- continue;
247
- }
248
- const sequenceHash = hashSequence(slotClasses, dir);
249
- const resultSlotClasses = sequenceHash + ' ' + slotClasses;
250
- DEFINITION_LOOKUP_TABLE[sequenceHash] = [classesMapBySlot[slotName], dir];
251
- classNamesForSlots[slotName] = resultSlotClasses;
252
- }
253
- return classNamesForSlots;
254
- }
255
-
256
- // Contains a mapping of previously resolved sequences of atomic classnames
257
- const mergeClassesCachedResults = {};
258
- function mergeClasses() {
259
- // arguments are parsed manually to avoid double loops as TS & Babel transforms rest via an additional loop
260
- // @see https://babeljs.io/docs/en/babel-plugin-transform-parameters
261
- /* eslint-disable prefer-rest-params */
262
- let dir = null;
263
- let resultClassName = '';
264
- // Is used as a cache key to avoid object merging
265
- let sequenceMatch = '';
266
- const sequencesIds = new Array(arguments.length);
267
- let containsResetClassName = '';
268
- for (let i = 0; i < arguments.length; i++) {
269
- const className = arguments[i];
270
- if (typeof className === 'string' && className !== '') {
271
- // All classes generated by `makeStyles()` are prefixed by a sequence hash, this allows to identify class sets
272
- // without parsing each className in a string
273
- const sequenceIndex = className.indexOf(SEQUENCE_PREFIX);
274
- if (sequenceIndex === -1) {
275
- if (process.env.NODE_ENV !== 'production') {
276
- className.split(' ').forEach(entry => {
277
- if (entry.startsWith(RESET_HASH_PREFIX) && DEBUG_RESET_CLASSES[entry]) {
278
- if (containsResetClassName) {
279
- // eslint-disable-next-line no-console
280
- console.error('mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (' + `${className} & ${resultClassName}, this will lead to non-deterministic behavior. Learn more:` + 'https://griffel.js.org/react/api/make-reset-styles#limitations' + '\n' + `Source string: ${className}`);
281
- } else {
282
- containsResetClassName = entry;
283
- }
284
- }
285
- });
286
- }
287
- resultClassName += className + ' ';
288
- } else {
289
- const sequenceId = className.substr(sequenceIndex, SEQUENCE_SIZE);
290
- // Handles a case with mixed classnames, i.e. "ui-button ATOMIC_CLASSES"
291
- if (sequenceIndex > 0) {
292
- resultClassName += className.slice(0, sequenceIndex);
293
- }
294
- sequenceMatch += sequenceId;
295
- sequencesIds[i] = sequenceId;
296
- }
297
- if (process.env.NODE_ENV !== 'production') {
298
- if (className.indexOf(SEQUENCE_PREFIX, sequenceIndex + 1) !== -1) {
299
- // eslint-disable-next-line no-console
300
- console.error('mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start ' + `with "${SEQUENCE_PREFIX}"), it's possible that passed classes were concatenated in a wrong way. ` + `Source string: ${className}`);
301
- }
302
- }
303
- }
304
- }
305
- // .slice() there allows to avoid trailing space for non-atomic classes
306
- // "ui-button ui-flex " => "ui-button ui-flex"
307
- if (sequenceMatch === '') {
308
- return resultClassName.slice(0, -1);
309
- }
310
- // It's safe to reuse results to avoid continuous merging as results are stable
311
- // "__seq1 ... __seq2 ..." => "__seq12 ..."
312
- const mergeClassesResult = mergeClassesCachedResults[sequenceMatch];
313
- if (mergeClassesResult !== undefined) {
314
- return resultClassName + mergeClassesResult;
315
- }
316
- const sequenceMappings = [];
317
- for (let i = 0; i < arguments.length; i++) {
318
- const sequenceId = sequencesIds[i];
319
- if (sequenceId) {
320
- const sequenceMapping = DEFINITION_LOOKUP_TABLE[sequenceId];
321
- if (sequenceMapping) {
322
- sequenceMappings.push(sequenceMapping[LOOKUP_DEFINITIONS_INDEX]);
323
- if (process.env.NODE_ENV !== 'production') {
324
- if (dir !== null && dir !== sequenceMapping[LOOKUP_DIR_INDEX]) {
325
- // eslint-disable-next-line no-console
326
- console.error(`mergeClasses(): a passed string contains an identifier (${sequenceId}) that has different direction ` + `(dir="${sequenceMapping[1] ? 'rtl' : 'ltr'}") setting than other classes. This is not supported. ` + `Source string: ${arguments[i]}`);
327
- }
328
- }
329
- dir = sequenceMapping[LOOKUP_DIR_INDEX];
330
- } else {
331
- if (process.env.NODE_ENV !== 'production') {
332
- // eslint-disable-next-line no-console
333
- console.error(`mergeClasses(): a passed string contains an identifier (${sequenceId}) that does not match any entry ` + `in cache. Source string: ${arguments[i]}`);
334
- }
335
- }
336
- }
337
- }
338
- // eslint-disable-next-line prefer-spread
339
- const resultDefinitions = Object.assign.apply(Object,
340
- // .assign() mutates the first object, we can't mutate mappings as it will produce invalid results later
341
- [{}].concat(sequenceMappings));
342
- let atomicClassNames = reduceToClassName(resultDefinitions, dir);
343
- // Each merge of classes generates a new sequence of atomic classes that needs to be registered
344
- const newSequenceHash = hashSequence(atomicClassNames, dir, sequencesIds);
345
- atomicClassNames = newSequenceHash + ' ' + atomicClassNames;
346
- mergeClassesCachedResults[sequenceMatch] = atomicClassNames;
347
- DEFINITION_LOOKUP_TABLE[newSequenceHash] = [resultDefinitions, dir];
348
- return resultClassName + atomicClassNames;
349
- }
350
-
351
- const sequenceDetails = {};
352
- const cssRules = /*#__PURE__*/new Set();
353
- const debugData = {
354
- getChildrenSequences: debugSequenceHash => {
355
- const key = Object.keys(mergeClassesCachedResults).find(key => mergeClassesCachedResults[key].startsWith(debugSequenceHash));
356
- if (key) {
357
- // key of the mergeClasses cache contains merge order
358
- return key.split(SEQUENCE_PREFIX).filter(sequence => sequence.length).map(sequence => SEQUENCE_PREFIX + sequence);
359
- }
360
- return [];
361
- },
362
- addCSSRule: rule => {
363
- cssRules.add(rule);
364
- },
365
- addSequenceDetails: (classNamesForSlots, sourceURL) => {
366
- Object.entries(classNamesForSlots).forEach(([slotName, sequenceHash]) => {
367
- sequenceDetails[sequenceHash.substring(0, SEQUENCE_SIZE)] = {
368
- slotName,
369
- sourceURL
370
- };
371
- });
372
- },
373
- getCSSRules: () => {
374
- return Array.from(cssRules);
375
- },
376
- getSequenceDetails: sequenceHash => {
377
- return sequenceDetails[sequenceHash];
378
- }
379
- };
380
-
381
- function getDirectionalClassName(classes, direction) {
382
- return Array.isArray(classes) ? direction === 'rtl' ? classes[1] : classes[0] : classes;
383
- }
384
- function getDebugClassNames(lookupItem, parentLookupItem, parentDebugClassNames, overridingSiblings) {
385
- const classesMapping = lookupItem[0];
386
- const direction = lookupItem[1];
387
- return Object.entries(classesMapping).map(([propertyHash, classes]) => {
388
- const className = getDirectionalClassName(classes, direction);
389
- let overriddenBy;
390
- if (parentDebugClassNames && parentLookupItem) {
391
- const matching = parentDebugClassNames.find(({
392
- className: parentClassName
393
- }) => parentClassName === className);
394
- if (!matching && parentLookupItem[0][propertyHash]) {
395
- // parent node does not have current className (style), but has current selector:
396
- // style is overriden in current merging by another rule in sibling node
397
- overriddenBy = getDirectionalClassName(parentLookupItem[0][propertyHash], parentLookupItem[1]);
398
- } else if (matching && parentLookupItem[0][propertyHash]) {
399
- // parent node has current className (style), and has current selector:
400
- // case 1. style is not overriden during current merging; it may be overriden in higher level of merging
401
- // case 2. style is overriden in current merging by exactly the same rule in sibling nodes
402
- const siblingHasSameRule = overridingSiblings ? overridingSiblings.filter(({
403
- debugClassNames
404
- }) => debugClassNames.filter(({
405
- className: siblingClassName
406
- }) => siblingClassName === className).length > 0).length > 0 : false;
407
- overriddenBy = siblingHasSameRule ? matching.className // case 2
408
- : matching.overriddenBy; // case 1
409
- } else if (!matching && !parentLookupItem[0][propertyHash]) {
410
- // parent node does not have current className (style), and does not have current selector:
411
- // this case is not possible
412
- overriddenBy = undefined;
413
- } else if (matching && !parentLookupItem[0][propertyHash]) {
414
- // parent node has current className (style), but does not have current selector:
415
- // this case is not possible
416
- overriddenBy = undefined;
417
- }
418
- }
419
- return {
420
- className,
421
- overriddenBy
422
- };
423
- });
424
- }
425
-
426
- function getDebugTree(debugSequenceHash, parentNode) {
427
- const lookupItem = DEFINITION_LOOKUP_TABLE[debugSequenceHash];
428
- if (lookupItem === undefined) {
429
- return undefined;
430
- }
431
- const parentLookupItem = parentNode ? DEFINITION_LOOKUP_TABLE[parentNode.sequenceHash] : undefined;
432
- const debugClassNames = getDebugClassNames(lookupItem, parentLookupItem, parentNode === null || parentNode === void 0 ? void 0 : parentNode.debugClassNames, parentNode === null || parentNode === void 0 ? void 0 : parentNode.children);
433
- const node = {
434
- sequenceHash: debugSequenceHash,
435
- direction: lookupItem[1],
436
- children: [],
437
- debugClassNames
438
- };
439
- const childrenSequences = debugData.getChildrenSequences(node.sequenceHash);
440
- childrenSequences.reverse() // first process the overriding children that are merged last
441
- .forEach(sequence => {
442
- const child = getDebugTree(sequence, node);
443
- if (child) {
444
- node.children.push(child);
445
- }
446
- });
447
- // if it's leaf (makeStyle node), get css rules
448
- if (!node.children.length) {
449
- node.rules = {};
450
- node.debugClassNames.forEach(({
451
- className
452
- }) => {
453
- const mapData = debugData.getSequenceDetails(debugSequenceHash);
454
- if (mapData) {
455
- node.slot = mapData.slotName;
456
- node.sourceURL = mapData.sourceURL;
457
- }
458
- const cssRule = debugData.getCSSRules().find(cssRule => {
459
- return cssRule.includes(className);
460
- });
461
- node.rules[className] = cssRule;
462
- });
463
- }
464
- return node;
465
- }
466
-
467
- function injectDevTools(document) {
468
- const window = document.defaultView;
469
- if (!window || window.__GRIFFEL_DEVTOOLS__) {
470
- return;
471
- }
472
- const devtools = {
473
- getInfo: element => {
474
- const rootDebugSequenceHash = Array.from(element.classList).find(className => className.startsWith(SEQUENCE_PREFIX));
475
- if (rootDebugSequenceHash === undefined) {
476
- return undefined;
477
- }
478
- return getDebugTree(rootDebugSequenceHash);
479
- }
480
- };
481
- Object.defineProperty(window, '__GRIFFEL_DEVTOOLS__', {
482
- configurable: false,
483
- enumerable: false,
484
- get() {
485
- return devtools;
486
- }
487
- });
488
- }
489
-
490
- const isDevToolsEnabled = /*#__PURE__*/(() => {
491
- var _a;
492
- // Accessing "window.sessionStorage" causes an exception when third party cookies are blocked
493
- // https://stackoverflow.com/questions/30481516/iframe-in-chrome-error-failed-to-read-localstorage-from-window-access-deni
494
- try {
495
- return Boolean(typeof window !== 'undefined' && ((_a = window.sessionStorage) === null || _a === void 0 ? void 0 : _a.getItem('__GRIFFEL_DEVTOOLS__')));
496
- } catch (e) {
497
- return false;
498
- }
499
- })();
500
-
501
- /**
502
- * @internal
503
- *
504
- * @param entry - CSS bucket entry that can be either a string or an array
505
- * @returns An array where the first element is the CSS rule
506
- */
507
- function normalizeCSSBucketEntry(entry) {
508
- if (!Array.isArray(entry)) {
509
- return [entry];
510
- }
511
- if (process.env.NODE_ENV !== 'production' && entry.length > 2) {
512
- throw new Error('CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues');
513
- }
514
- return entry;
515
- }
516
-
517
- function createIsomorphicStyleSheet(styleElement, bucketName, elementAttributes) {
518
- // no CSSStyleSheet in SSR, just append rules here for server render
519
- const __cssRulesForSSR = [];
520
- elementAttributes[DATA_BUCKET_ATTR] = bucketName;
521
- if (styleElement) {
522
- for (const attrName in elementAttributes) {
523
- styleElement.setAttribute(attrName, elementAttributes[attrName]);
524
- }
525
- }
526
- function insertRule(rule) {
527
- if (styleElement === null || styleElement === void 0 ? void 0 : styleElement.sheet) {
528
- return styleElement.sheet.insertRule(rule, styleElement.sheet.cssRules.length);
529
- }
530
- return __cssRulesForSSR.push(rule);
531
- }
532
- return {
533
- elementAttributes,
534
- insertRule,
535
- element: styleElement,
536
- bucketName,
537
- cssRules() {
538
- if (styleElement === null || styleElement === void 0 ? void 0 : styleElement.sheet) {
539
- return Array.from(styleElement.sheet.cssRules).map(cssRule => cssRule.cssText);
540
- }
541
- return __cssRulesForSSR;
542
- }
543
- };
544
- }
545
-
546
- /**
547
- * Ordered style buckets using their short pseudo name.
548
- *
549
- * @internal
550
- */
551
- const styleBucketOrdering = [
552
- // reset styles
553
- 'r',
554
- // catch-all
555
- 'd',
556
- // link
557
- 'l',
558
- // visited
559
- 'v',
560
- // focus-within
561
- 'w',
562
- // focus
563
- 'f',
564
- // focus-visible
565
- 'i',
566
- // hover
567
- 'h',
568
- // active
569
- 'a',
570
- // at rules for reset styles
571
- 's',
572
- // keyframes
573
- 'k',
574
- // at-rules
575
- 't',
576
- // @media rules
577
- 'm',
578
- // @container rules
579
- 'c'];
580
- // avoid repeatedly calling `indexOf`to determine order during new insertions
581
- const styleBucketOrderingMap = /*#__PURE__*/styleBucketOrdering.reduce((acc, cur, j) => {
582
- acc[cur] = j;
583
- return acc;
584
- }, {});
585
- /**
586
- * Lazily adds a `<style>` bucket to the `<head>`. This will ensure that the style buckets are ordered.
587
- */
588
- function getStyleSheetForBucket(bucketName, targetDocument, insertionPoint, renderer, metadata = {}) {
589
- const isMediaBucket = bucketName === 'm';
590
- const stylesheetKey = isMediaBucket ? bucketName + metadata['m'] : bucketName;
591
- if (!renderer.stylesheets[stylesheetKey]) {
592
- const tag = targetDocument && targetDocument.createElement('style');
593
- const stylesheet = createIsomorphicStyleSheet(tag, bucketName, {
594
- ...renderer.styleElementAttributes,
595
- ...(isMediaBucket && {
596
- media: metadata['m']
597
- })
598
- });
599
- renderer.stylesheets[stylesheetKey] = stylesheet;
600
- if (targetDocument && tag) {
601
- targetDocument.head.insertBefore(tag, findInsertionPoint(targetDocument, insertionPoint, bucketName, renderer, metadata));
602
- }
603
- }
604
- return renderer.stylesheets[stylesheetKey];
605
- }
606
- /**
607
- * Finds an element before which the new bucket style element should be inserted following the bucket sort order.
608
- *
609
- * @param targetDocument - A document
610
- * @param insertionPoint - An element that will be used as an initial insertion point
611
- * @param targetBucket - The bucket that should be inserted to DOM
612
- * @param renderer - Griffel renderer
613
- * @param metadata - metadata for CSS rule
614
- * @returns - Smallest style element with greater sort order than the current bucket
615
- */
616
- function findInsertionPoint(targetDocument, insertionPoint, targetBucket, renderer, metadata) {
617
- const targetOrder = styleBucketOrderingMap[targetBucket];
618
- // Similar to javascript sort comparators where
619
- // a positive value is increasing sort order
620
- // a negative value is decreasing sort order
621
- let comparer = el => targetOrder - styleBucketOrderingMap[el.getAttribute(DATA_BUCKET_ATTR)];
622
- let styleElements = targetDocument.head.querySelectorAll(`[${DATA_BUCKET_ATTR}]`);
623
- if (targetBucket === 'm' && metadata) {
624
- const mediaElements = targetDocument.head.querySelectorAll(`[${DATA_BUCKET_ATTR}="${targetBucket}"]`);
625
- // only reduce the scope of the search and change comparer
626
- // if there are other media buckets already on the page
627
- if (mediaElements.length) {
628
- styleElements = mediaElements;
629
- comparer = el => renderer.compareMediaQueries(metadata['m'], el.media);
630
- }
631
- }
632
- const length = styleElements.length;
633
- let index = length - 1;
634
- while (index >= 0) {
635
- const styleElement = styleElements.item(index);
636
- if (comparer(styleElement) > 0) {
637
- return styleElement.nextSibling;
638
- }
639
- index--;
640
- }
641
- if (length > 0) {
642
- return styleElements.item(0);
643
- }
644
- return insertionPoint ? insertionPoint.nextSibling : null;
645
- }
646
-
647
- /**
648
- * Suffixes to be ignored in case of error
649
- */
650
- const ignoreSuffixes = /*#__PURE__*/['-moz-placeholder', '-moz-focus-inner', '-moz-focusring', '-ms-input-placeholder', '-moz-read-write', '-moz-read-only'].join('|');
651
- const ignoreSuffixesRegex = /*#__PURE__*/new RegExp(`:(${ignoreSuffixes})`);
652
- /**
653
- * @internal
654
- *
655
- * Calls `sheet.insertRule` and catches errors related to browser prefixes.
656
- */
657
- function safeInsertRule(sheet, ruleCSS) {
658
- try {
659
- sheet.insertRule(ruleCSS);
660
- } catch (e) {
661
- // We've disabled these warnings due to false-positive errors with browser prefixes
662
- if (process.env.NODE_ENV !== 'production' && !ignoreSuffixesRegex.test(ruleCSS)) {
663
- // eslint-disable-next-line no-console
664
- console.error(`There was a problem inserting the following rule: "${ruleCSS}"`, e);
665
- }
666
- }
667
- }
668
-
669
- let lastIndex = 0;
670
- /** @internal */
671
- const defaultCompareMediaQueries = (a, b) => a < b ? -1 : a > b ? 1 : 0;
672
- /**
673
- * Creates a new instances of a renderer.
674
- *
675
- * @public
676
- */
677
- function createDOMRenderer(targetDocument = typeof document === 'undefined' ? undefined : document, options = {}) {
678
- const {
679
- unstable_filterCSSRule,
680
- insertionPoint,
681
- styleElementAttributes,
682
- compareMediaQueries = defaultCompareMediaQueries
683
- } = options;
684
- const renderer = {
685
- insertionCache: {},
686
- stylesheets: {},
687
- styleElementAttributes: Object.freeze(styleElementAttributes),
688
- compareMediaQueries,
689
- id: `d${lastIndex++}`,
690
- insertCSSRules(cssRules) {
691
- // eslint-disable-next-line guard-for-in
692
- for (const styleBucketName in cssRules) {
693
- const cssRulesForBucket = cssRules[styleBucketName];
694
- // This is a hot path in rendering styles: ".length" is cached in "l" var to avoid accesses the property
695
- for (let i = 0, l = cssRulesForBucket.length; i < l; i++) {
696
- const [ruleCSS, metadata] = normalizeCSSBucketEntry(cssRulesForBucket[i]);
697
- const sheet = getStyleSheetForBucket(styleBucketName, targetDocument, insertionPoint || null, renderer, metadata);
698
- if (renderer.insertionCache[ruleCSS]) {
699
- continue;
700
- }
701
- renderer.insertionCache[ruleCSS] = styleBucketName;
702
- if (process.env.NODE_ENV !== 'production' && isDevToolsEnabled) {
703
- debugData.addCSSRule(ruleCSS);
704
- }
705
- if (unstable_filterCSSRule) {
706
- if (unstable_filterCSSRule(ruleCSS)) {
707
- safeInsertRule(sheet, ruleCSS);
708
- }
709
- } else {
710
- safeInsertRule(sheet, ruleCSS);
711
- }
712
- }
713
- }
714
- }
715
- };
716
- if (targetDocument && process.env.NODE_ENV !== 'production' && isDevToolsEnabled) {
717
- injectDevTools(targetDocument);
718
- }
719
- return renderer;
720
- }
721
-
722
- // TODO: duplicated from https://github.com/lahmatiy/react-render-tracker/blob/main/src/publisher/react-integration/utils/stackTrace.ts
723
- // once it is published as a standalone npm package, remove this file
724
- // Adopted version of StackTrace-Parser
725
- // https://github.com/errwischt/stacktrace-parser/blob/master/src/stack-trace-parser.js
726
- const UNKNOWN_FUNCTION = '<unknown>';
727
- function parseStackTraceLine(line) {
728
- return parseChrome(line) || parseGecko(line) || parseJSC(line);
729
- }
730
- const chromeRe = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i;
731
- const chromeRe2 = /^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i;
732
- const chromeEvalRe = /\((\S*)\)/;
733
- function parseChrome(line) {
734
- const parts = chromeRe.exec(line) || chromeRe2.exec(line);
735
- if (!parts) {
736
- return null;
737
- }
738
- let loc = parts[2];
739
- const isNative = loc && loc.indexOf('native') === 0; // start of line
740
- const isEval = loc && loc.indexOf('eval') === 0; // start of line
741
- const submatch = chromeEvalRe.exec(loc);
742
- if (isEval && submatch != null) {
743
- // throw out eval line/column and use top-most line/column number
744
- loc = submatch[1]; // url
745
- }
746
- return {
747
- loc: !isNative ? parts[2] : null,
748
- name: parts[1] || UNKNOWN_FUNCTION
749
- };
750
- }
751
- const geckoRe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i;
752
- const geckoEvalRe = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
753
- function parseGecko(line) {
754
- const parts = geckoRe.exec(line);
755
- if (!parts) {
756
- return null;
757
- }
758
- let loc = parts[3];
759
- const isEval = loc && loc.indexOf(' > eval') > -1;
760
- const submatch = geckoEvalRe.exec(loc);
761
- if (isEval && submatch != null) {
762
- // throw out eval line/column and use top-most line number
763
- loc = submatch[1];
764
- }
765
- return {
766
- loc: parts[3],
767
- name: parts[1] || UNKNOWN_FUNCTION
768
- };
769
- }
770
- const javaScriptCoreRe = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;
771
- function parseJSC(line) {
772
- const parts = javaScriptCoreRe.exec(line);
773
- if (!parts) {
774
- return null;
775
- }
776
- return {
777
- loc: parts[3],
778
- name: parts[1] || UNKNOWN_FUNCTION
779
- };
780
- }
781
-
782
- function getSourceURLfromError() {
783
- const stacks = String(new Error().stack).split('\n');
784
- const userMakeStyleCallLine = findUserMakeStyleCallInStacks(stacks);
785
- if (userMakeStyleCallLine === undefined) {
786
- return undefined;
787
- }
788
- const result = parseStackTraceLine(userMakeStyleCallLine);
789
- return result === null || result === void 0 ? void 0 : result.loc;
790
- }
791
- function findUserMakeStyleCallInStacks(stacks) {
792
- for (let i = stacks.length - 1; i >= 0; --i) {
793
- if (stacks[i].includes('at getSourceURLfromError')) {
794
- // The error stacks look like:
795
- // getSourceURLfromError
796
- // makeStyles/__styles in griffel core
797
- // makeStyles/__styles in griffel react
798
- // user makeStyles call
799
- return stacks[i + 3];
800
- }
801
- }
802
- return undefined;
803
- }
804
-
805
- /**
806
- * Default implementation of insertion factory. Inserts styles only once per renderer and performs
807
- * insertion immediately after styles computation.
808
- *
809
- * @internal
810
- */
811
- const insertionFactory$1 = () => {
812
- const insertionCache = {};
813
- return function insertStyles(renderer, cssRules) {
814
- if (insertionCache[renderer.id] === undefined) {
815
- renderer.insertCSSRules(cssRules);
816
- insertionCache[renderer.id] = true;
817
- }
818
- };
819
- };
820
-
821
- /**
822
- * A version of makeStyles() that accepts build output as an input and skips all runtime transforms.
823
- *
824
- * @internal
825
- */
826
- function __styles$1(classesMapBySlot, cssRules, factory = insertionFactory$1) {
827
- const insertStyles = factory();
828
- let ltrClassNamesForSlots = null;
829
- let rtlClassNamesForSlots = null;
830
- let sourceURL;
831
- if (process.env.NODE_ENV !== 'production' && isDevToolsEnabled) {
832
- sourceURL = getSourceURLfromError();
833
- }
834
- function computeClasses(options) {
835
- const {
836
- dir,
837
- renderer
838
- } = options;
839
- const isLTR = dir === 'ltr';
840
- if (isLTR) {
841
- if (ltrClassNamesForSlots === null) {
842
- ltrClassNamesForSlots = reduceToClassNameForSlots(classesMapBySlot, dir);
843
- }
844
- } else {
845
- if (rtlClassNamesForSlots === null) {
846
- rtlClassNamesForSlots = reduceToClassNameForSlots(classesMapBySlot, dir);
847
- }
848
- }
849
- insertStyles(renderer, cssRules);
850
- const classNamesForSlots = isLTR ? ltrClassNamesForSlots : rtlClassNamesForSlots;
851
- if (process.env.NODE_ENV !== 'production' && isDevToolsEnabled) {
852
- debugData.addSequenceDetails(classNamesForSlots, sourceURL);
853
- }
854
- return classNamesForSlots;
855
- }
856
- return computeClasses;
857
- }
858
-
859
- /**
860
- * Verifies if an application can use DOM.
861
- */
862
- function canUseDOM() {
863
- return typeof window !== 'undefined' && !!(window.document && window.document.createElement);
864
- }
865
-
866
- const useInsertionEffect =
867
- // @ts-expect-error Hack to make sure that `useInsertionEffect` will not cause bundling issues in older React versions
868
- // eslint-disable-next-line no-useless-concat
869
- React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : undefined;
870
-
871
- const insertionFactory = () => {
872
- const insertionCache = {};
873
- return function insert(renderer, cssRules) {
874
- // Even if `useInsertionEffect` is available, we can use it on a client only as it will not be executed in SSR
875
- if (useInsertionEffect && canUseDOM()) {
876
- // eslint-disable-next-line react-hooks/rules-of-hooks
877
- useInsertionEffect(() => {
878
- renderer.insertCSSRules(cssRules);
879
- }, [renderer, cssRules]);
880
- return;
881
- }
882
- if (insertionCache[renderer.id] === undefined) {
883
- renderer.insertCSSRules(cssRules);
884
- insertionCache[renderer.id] = true;
885
- }
886
- };
887
- };
888
-
889
- /**
890
- * @private
891
- */
892
- const RendererContext = /*#__PURE__*/React.createContext( /*#__PURE__*/createDOMRenderer());
893
- /**
894
- * Returns an instance of current makeStyles() renderer.
895
- *
896
- * @private Exported as "useRenderer_unstable" use it on own risk. Can be changed or removed without a notice.
897
- */
898
- function useRenderer() {
899
- return React.useContext(RendererContext);
900
- }
901
-
902
- /**
903
- * @private
904
- */
905
- const TextDirectionContext = /*#__PURE__*/React.createContext('ltr');
906
- /**
907
- * Returns current directionality of the element's text.
908
- *
909
- * @private
910
- */
911
- function useTextDirection() {
912
- return React.useContext(TextDirectionContext);
913
- }
914
-
915
- /**
916
- * A version of makeStyles() that accepts build output as an input and skips all runtime transforms.
917
- *
918
- * @internal
919
- */
920
- // eslint-disable-next-line @typescript-eslint/naming-convention
921
- function __styles(classesMapBySlot, cssRules) {
922
- const getStyles = __styles$1(classesMapBySlot, cssRules, insertionFactory);
923
- return function useClasses() {
924
- const dir = useTextDirection();
925
- const renderer = useRenderer();
926
- return getStyles({
927
- dir,
928
- renderer
929
- });
930
- };
931
- }
932
-
933
- const useRootStyles = __styles({
934
- "root": {
935
- "mc9l5x": "f1w7gpdv",
936
- "Bg96gwp": "fez10in",
937
- "ycbfsm": "fg4l7m0"
938
- },
939
- "rtl": {
940
- "Bz10aip": "f13rod7r"
941
- }
942
- }, {
943
- "d": [".f1w7gpdv{display:inline;}", ".fez10in{line-height:0;}", ".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],
944
- "t": ["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]
945
- });
946
- const useIconState = (props, options) => {
947
- const {
948
- title,
949
- primaryFill = "currentColor",
950
- ...rest
951
- } = props;
952
- const state = {
953
- ...rest,
954
- title: undefined,
955
- fill: primaryFill
956
- };
957
- const styles = useRootStyles();
958
- const iconContext = useIconContext();
959
- state.className = mergeClasses(styles.root, (options === null || options === void 0 ? void 0 : options.flipInRtl) && (iconContext === null || iconContext === void 0 ? void 0 : iconContext.textDirection) === 'rtl' && styles.rtl, state.className);
960
- if (title) {
961
- state['aria-label'] = title;
962
- }
963
- if (!state['aria-label'] && !state['aria-labelledby']) {
964
- state['aria-hidden'] = true;
965
- } else {
966
- state['role'] = 'img';
967
- }
968
- return state;
969
- };
970
-
971
- const createFluentIcon = (displayName, width, paths, options) => {
972
- const viewBoxWidth = width === "1em" ? "20" : width;
973
- const Icon = React.forwardRef((props, ref) => {
974
- const state = {
975
- ...useIconState(props, {
976
- flipInRtl: options === null || options === void 0 ? void 0 : options.flipInRtl
977
- }),
978
- ref,
979
- width,
980
- height: width,
981
- viewBox: `0 0 ${viewBoxWidth} ${viewBoxWidth}`,
982
- xmlns: "http://www.w3.org/2000/svg"
983
- };
984
- return React.createElement("svg", state, ...paths.map(d => React.createElement("path", {
985
- d,
986
- fill: state.fill
987
- })));
988
- });
989
- Icon.displayName = displayName;
990
- return Icon;
991
- };
992
-
993
- const ArrowNextFilled = /*#__PURE__*/createFluentIcon('ArrowNextFilled', "1em", ["M13.75 4.75c.38 0 .7.28.74.65l.01.1v9a.75.75 0 0 1-1.5.1V5.5c0-.41.34-.75.75-.75Zm-8.28.22a.75.75 0 0 1 .98-.07l.08.07 4.5 4.5c.27.27.3.68.07.98l-.07.08-4.5 4.5a.75.75 0 0 1-1.13-.98l.07-.08L9.44 10 5.47 6.03a.75.75 0 0 1 0-1.06Z"], {
994
- flipInRtl: true
995
- });
996
- const ArrowPreviousFilled = /*#__PURE__*/createFluentIcon('ArrowPreviousFilled', "1em", ["M6 4.75c-.38 0-.7.28-.74.65l-.01.1v9a.75.75 0 0 0 1.5.1V5.5A.75.75 0 0 0 6 4.75Zm8.28.22a.75.75 0 0 0-.98-.07l-.08.07-4.5 4.5a.75.75 0 0 0-.07.98l.07.08 4.5 4.5a.75.75 0 0 0 1.13-.98l-.07-.08L10.31 10l3.97-3.97c.3-.3.3-.77 0-1.06Z"], {
997
- flipInRtl: true
998
- });
999
- const ArrowSortFilled = /*#__PURE__*/createFluentIcon('ArrowSortFilled', "1em", ["M14.84 16.72a.76.76 0 0 1-.59.28.73.73 0 0 1-.53-.22l-3-3a.75.75 0 0 1 1.06-1.07l1.72 1.73V3.75a.75.75 0 0 1 1.5 0v10.68l1.72-1.71a.75.75 0 1 1 1.06 1.06l-2.94 2.94ZM6.34 3.28A.76.76 0 0 0 5.75 3c-.2 0-.38.07-.53.22l-3 3A.75.75 0 0 0 3.28 7.3L5 5.56v10.69a.75.75 0 0 0 1.5 0V5.57l1.72 1.71a.75.75 0 1 0 1.06-1.06L6.34 3.28Z"]);
1000
- const ArrowStepInLeftRegular = /*#__PURE__*/createFluentIcon('ArrowStepInLeftRegular', "1em", ["M5 10a1 1 0 1 0-2 0 1 1 0 0 0 2 0ZM4 8a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm14 2a.5.5 0 0 1-.5.5H9.7l3.15 3.15a.5.5 0 0 1-.7.7l-4-4a.5.5 0 0 1 0-.7l4-4a.5.5 0 0 1 .7.7L9.71 9.5h7.79c.28 0 .5.22.5.5Z"]);
1001
- const ArrowStepInRightRegular = /*#__PURE__*/createFluentIcon('ArrowStepInRightRegular', "1em", ["M15 10a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm1 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM2 10c0-.28.22-.5.5-.5h7.8L7.14 6.35a.5.5 0 1 1 .7-.7l4 4c.2.2.2.5 0 .7l-4 4a.5.5 0 0 1-.7-.7l3.14-3.15H2.5A.5.5 0 0 1 2 10Z"]);
1002
-
1003
- const ChevronDownFilled = /*#__PURE__*/createFluentIcon('ChevronDownFilled', "1em", ["M15.8 7.73c.28.3.27.78-.03 1.06l-5.25 5a.75.75 0 0 1-1.04 0l-5.25-5a.75.75 0 0 1 1.04-1.08L10 12.2l4.73-4.5a.75.75 0 0 1 1.06.02Z"]);
1004
- const ChevronDownRegular = /*#__PURE__*/createFluentIcon('ChevronDownRegular', "1em", ["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]);
1005
- const ChevronRightFilled = /*#__PURE__*/createFluentIcon('ChevronRightFilled', "1em", ["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]);
1006
- const ChevronRightRegular = /*#__PURE__*/createFluentIcon('ChevronRightRegular', "1em", ["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]);
1007
- const ColumnEditFilled = /*#__PURE__*/createFluentIcon('ColumnEditFilled', "1em", ["M3 3.5c0-.28.22-.5.5-.5H4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-.5a.5.5 0 0 1 0-1H4a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-.5a.5.5 0 0 1-.5-.5ZM9 3a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h.22l.21-.84a3.2 3.2 0 0 1 .84-1.49L13 11.94V5a2 2 0 0 0-2-2H9Zm6 2v4.94l-1 1V5c0-1.1.9-2 2-2h.5a.5.5 0 0 1 0 1H16a1 1 0 0 0-1 1Zm-4.02 10.38 4.83-4.83a1.87 1.87 0 1 1 2.64 2.64l-4.83 4.83a2.2 2.2 0 0 1-1.02.58l-1.5.37a.89.89 0 0 1-1.07-1.07l.37-1.5c.1-.39.3-.74.58-1.02Z"]);
1008
- const ColumnEditRegular = /*#__PURE__*/createFluentIcon('ColumnEditRegular', "1em", ["M3 3.5c0-.28.22-.5.5-.5H4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-.5a.5.5 0 0 1 0-1H4a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-.5a.5.5 0 0 1-.5-.5ZM9 4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h.47l-.04.16-.21.84H9a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v6.94l-1 1V5a1 1 0 0 0-1-1H9Zm6 1v4.94l-1 1V5c0-1.1.9-2 2-2h.5a.5.5 0 0 1 0 1H16a1 1 0 0 0-1 1Zm-4.02 10.38 4.83-4.83a1.87 1.87 0 1 1 2.64 2.64l-4.83 4.83a2.2 2.2 0 0 1-1.02.58l-1.5.37a.89.89 0 0 1-1.07-1.07l.37-1.5c.1-.39.3-.74.58-1.02Z"]);
1009
- const DragFilled = /*#__PURE__*/createFluentIcon('DragFilled', "1em", ["M10 2c.2 0 .39.08.53.22l1.5 1.5a.75.75 0 0 1-1.06 1.06l-.22-.22v1.69a.75.75 0 0 1-1.5 0V4.56l-.22.22a.75.75 0 0 1-1.06-1.06l1.5-1.5A.75.75 0 0 1 10 2Zm2 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-9.78-.53a.75.75 0 0 0 0 1.06l1.5 1.5a.75.75 0 0 0 1.06-1.06l-.22-.22h1.69a.75.75 0 0 0 0-1.5H4.56l.22-.22a.75.75 0 0 0-1.06-1.06l-1.5 1.5ZM10 18c.2 0 .39-.08.53-.22l1.5-1.5a.75.75 0 1 0-1.06-1.06l-.22.22v-1.69a.75.75 0 0 0-1.5 0v1.69l-.22-.22a.75.75 0 0 0-1.06 1.06l1.5 1.5c.14.14.33.22.53.22Zm7.78-8.53a.75.75 0 0 1 0 1.06l-1.5 1.5a.75.75 0 1 1-1.06-1.06l.22-.22h-1.69a.75.75 0 0 1 0-1.5h1.69l-.22-.22a.75.75 0 0 1 1.06-1.06l1.5 1.5Z"]);
1010
- const DragRegular = /*#__PURE__*/createFluentIcon('DragRegular', "1em", ["M9.65 2.15c.2-.2.5-.2.7 0l2 2a.5.5 0 0 1-.7.7L10.5 3.71V6.5a.5.5 0 0 1-1 0V3.7L8.35 4.86a.5.5 0 1 1-.7-.7l2-2ZM10 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0-1a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm5.85 1.35 2-2a.5.5 0 0 0 0-.7l-2-2a.5.5 0 0 0-.7.7l1.14 1.15H13.5a.5.5 0 0 0 0 1h2.8l-1.15 1.15a.5.5 0 0 0 .7.7Zm-5.5 5.5 2-2a.5.5 0 0 0-.7-.7l-1.15 1.14V13.5a.5.5 0 0 0-1 0v2.8l-1.15-1.15a.5.5 0 0 0-.7.7l2 2c.2.2.5.2.7 0Zm-8.2-7.5a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7L3.71 9.5H6.5a.5.5 0 0 1 0 1H3.7l1.15 1.15a.5.5 0 0 1-.7.7l-2-2Z"]);
1011
- const EyeTrackingOffFilled = /*#__PURE__*/createFluentIcon('EyeTrackingOffFilled', "1em", ["M2.41 3.12C2.15 3.52 2 4 2 4.5v3a.5.5 0 0 0 1 0v-3c0-.23.05-.45.15-.65L6.29 7a6.6 6.6 0 0 0-2.23 2.27v.01l.44.23-.45-.22a.5.5 0 0 0 .9.44v-.01a2.39 2.39 0 0 1 .25-.39 5.49 5.49 0 0 1 1.82-1.6l1.3 1.3a3 3 0 1 0 4.16 4.17l3.67 3.66c-.2.1-.42.15-.65.15h-3a.5.5 0 0 0 0 1h3c.5 0 .98-.15 1.38-.41l.27.26a.5.5 0 0 0 .7-.7l-.26-.27-.74-.73-3.93-3.94-3.63-3.63L8.01 7.3l-.78-.78-3.38-3.37-.73-.74-.27-.26a.5.5 0 1 0-.7.7l.26.27Zm15.57 12.73.02-.35v-3a.5.5 0 0 0-1 0v2.38l.98.97Zm-8.81-8.8A7 7 0 0 1 10 7a5.86 5.86 0 0 1 4.8 2.32 4.13 4.13 0 0 1 .24.39l.01.01a.5.5 0 0 0 .9-.44v-.01l-.01-.01a1.7 1.7 0 0 0-.08-.14l-.25-.38A6.85 6.85 0 0 0 10 6c-.63 0-1.2.07-1.7.18l.86.87Zm6.78 2.23-.06.03-.39.19.45-.22ZM5.12 3H7.5a.5.5 0 0 0 0-1h-3c-.12 0-.24 0-.35.02l.97.98ZM3 15.5c0 .83.67 1.5 1.5 1.5h3a.5.5 0 0 1 0 1h-3A2.5 2.5 0 0 1 2 15.5v-3a.5.5 0 0 1 1 0v3Zm14-11c0-.83-.67-1.5-1.5-1.5h-3a.5.5 0 0 1 0-1h3A2.5 2.5 0 0 1 18 4.5v3a.5.5 0 0 1-1 0v-3Z"]);
1012
- const EyeTrackingOffRegular = /*#__PURE__*/createFluentIcon('EyeTrackingOffRegular', "1em", ["M2.41 3.12C2.15 3.52 2 4 2 4.5v3a.5.5 0 0 0 1 0v-3c0-.23.05-.45.15-.65L6.29 7a6.6 6.6 0 0 0-2.23 2.27v.01l.44.23-.45-.22a.5.5 0 0 0 .9.44v-.01a2.39 2.39 0 0 1 .25-.39 5.49 5.49 0 0 1 1.82-1.6l1.3 1.3a3 3 0 1 0 4.16 4.17l3.67 3.66c-.2.1-.42.15-.65.15h-3a.5.5 0 0 0 0 1h3c.5 0 .98-.15 1.38-.41l.27.26a.5.5 0 0 0 .7-.7l-.26-.27-.74-.73-3.93-3.94-3.63-3.63L8.01 7.3l-.78-.78-3.38-3.37-.73-.74-.27-.26a.5.5 0 1 0-.7.7l.26.27Zm9.34 9.34a2 2 0 1 1-2.71-2.71l2.71 2.71Zm6.23 3.4.02-.36v-3a.5.5 0 0 0-1 0v2.38l.98.97ZM9.17 7.04A7 7 0 0 1 10 7a5.86 5.86 0 0 1 4.8 2.32 4.13 4.13 0 0 1 .24.39l.01.01a.5.5 0 0 0 .9-.44v-.01l-.01-.01a1.7 1.7 0 0 0-.08-.14l-.25-.38A6.85 6.85 0 0 0 10 6c-.63 0-1.2.07-1.7.18l.86.87Zm6.78 2.23-.06.03-.39.19.45-.22ZM5.12 3H7.5a.5.5 0 0 0 0-1h-3c-.12 0-.24 0-.35.02l.97.98ZM4.5 17A1.5 1.5 0 0 1 3 15.5v-3a.5.5 0 0 0-1 0v3A2.5 2.5 0 0 0 4.5 18h3a.5.5 0 0 0 0-1h-3Zm11-14c.83 0 1.5.67 1.5 1.5v3a.5.5 0 0 0 1 0v-3A2.5 2.5 0 0 0 15.5 2h-3a.5.5 0 0 0 0 1h3Z"]);
1013
- const FilterFilled = /*#__PURE__*/createFluentIcon('FilterFilled', "1em", ["M12.25 13.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5h4.5Zm2-4.25a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5h8.5Zm2-4.25a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1 0-1.5h12.5Z"]);
1014
- const FilterRegular = /*#__PURE__*/createFluentIcon('FilterRegular', "1em", ["M7.5 13h5a.5.5 0 0 1 .09 1H7.5a.5.5 0 0 1-.09-1h5.09-5Zm-2-4h9a.5.5 0 0 1 .09 1H5.5a.5.5 0 0 1-.09-1h9.09-9Zm-2-4h13a.5.5 0 0 1 .09 1H3.5a.5.5 0 0 1-.09-1H16.5h-13Z"]);
1015
- const FilterDismissFilled = /*#__PURE__*/createFluentIcon('FilterDismissFilled', "1em", ["M11.73 10.25A5.46 5.46 0 0 0 14 11c0 .41-.34.75-.75.75h-8.5a.75.75 0 0 1 0-1.5h6.98ZM9.03 6c.04.52.16 1.03.34 1.5H2.75a.75.75 0 0 1 0-1.5h6.27ZM12 15.25a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h4.5c.41 0 .75-.34.75-.75ZM14.5 10a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm1.85-6.35c.2.2.2.5 0 .7L15.21 5.5l1.14 1.15a.5.5 0 0 1-.7.7L14.5 6.21l-1.15 1.14a.5.5 0 0 1-.7-.7l1.14-1.15-1.14-1.15a.5.5 0 0 1 .7-.7l1.15 1.14 1.15-1.14c.2-.2.5-.2.7 0Z"]);
1016
-
1017
- const GroupFilled = /*#__PURE__*/createFluentIcon('GroupFilled', "1em", ["M7 4.5c0 .36-.07.7-.2 1H10c.28 0 .5.22.5.5v2H10a2 2 0 0 0-2 2v.5H6a.5.5 0 0 1-.5-.5V6.8a2.5 2.5 0 0 1-1.5.15V10c0 1.1.9 2 2 2h2v2c0 1.1.9 2 2 2h3.05a2.51 2.51 0 0 1 .16-1.5H10a.5.5 0 0 1-.5-.5v-2h.5a2 2 0 0 0 2-2v-.5h2c.28 0 .5.22.5.5v3.2a2.5 2.5 0 0 1 1.5-.15V10a2 2 0 0 0-2-2h-2V6a2 2 0 0 0-2-2H6.95c.03.16.05.33.05.5Zm3.5 5v.5a.5.5 0 0 1-.5.5h-.5V10c0-.28.22-.5.5-.5h.5ZM6 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm11 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0-11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-11 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"]);
1018
- const GroupRegular = /*#__PURE__*/createFluentIcon('GroupRegular', "1em", ["M7 4.5c0 .17-.02.34-.05.5H10a1 1 0 0 1 1 1v2h-1a2 2 0 0 0-2 2v1H6a1 1 0 0 1-1-1V6.95a2.51 2.51 0 0 1-1 0V10c0 1.1.9 2 2 2h2v2c0 1.1.9 2 2 2h3.05a2.51 2.51 0 0 1 0-1H10a1 1 0 0 1-1-1v-2h1a2 2 0 0 0 2-2V9h2a1 1 0 0 1 1 1v3.05a2.51 2.51 0 0 1 1 0V10a2 2 0 0 0-2-2h-2V6a2 2 0 0 0-2-2H6.95c.03.16.05.33.05.5ZM11 9v1a1 1 0 0 1-1 1H9v-1a1 1 0 0 1 1-1h1ZM6 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm11 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0-11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-11 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"]);
1019
- const GroupDismissFilled = /*#__PURE__*/createFluentIcon('GroupDismissFilled', "1em", ["M7 4.5c0 .36-.07.7-.2 1H10c.28 0 .5.22.5.5v2H10a2 2 0 0 0-2 2v.5H6a.5.5 0 0 1-.5-.5V6.8a2.5 2.5 0 0 1-1.5.15V10c0 1.1.9 2 2 2h2v2a2 2 0 0 0 1.16 1.81 5.51 5.51 0 0 1 .34-3.6V10c0-.28.22-.5.5-.5h2.2a5.48 5.48 0 0 1 3.61-.34A2 2 0 0 0 14 8h-2V6a2 2 0 0 0-2-2H6.95c.03.16.05.33.05.5Zm-1 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm11 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-11 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm13-1a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-2.65-1.15a.5.5 0 0 0-.7-.7l-1.15 1.14-1.15-1.14a.5.5 0 0 0-.7.7l1.14 1.15-1.14 1.15a.5.5 0 0 0 .7.7l1.15-1.14 1.15 1.14a.5.5 0 0 0 .7-.7l-1.14-1.15 1.14-1.15Z"]);
1020
- const GroupListRegular = /*#__PURE__*/createFluentIcon('GroupListRegular', "1em", ["M2.5 3a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1H3V4h1.5a.5.5 0 0 0 0-1h-2Zm0 8a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1H3v-4h1.5a.5.5 0 0 0 0-1h-2ZM6 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm.5 7.5a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1h-11ZM6 7.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm.5 7.5a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1h-11Z"]);
1021
- const MoreVerticalFilled = /*#__PURE__*/createFluentIcon('MoreVerticalFilled', "1em", ["M10 6.5A1.75 1.75 0 1 1 10 3a1.75 1.75 0 0 1 0 3.5ZM10 17a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5Zm-1.75-7a1.75 1.75 0 1 0 3.5 0 1.75 1.75 0 0 0-3.5 0Z"]);
1022
- const MoreVerticalRegular = /*#__PURE__*/createFluentIcon('MoreVerticalRegular', "1em", ["M10 6a1.25 1.25 0 1 1 0-2.5A1.25 1.25 0 0 1 10 6Zm0 5.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Zm-1.25 4a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 0 0-2.5 0Z"]);
1023
- const NextRegular = /*#__PURE__*/createFluentIcon('NextRegular', "1em", ["M17 3.5a.5.5 0 0 0-1 0v13a.5.5 0 1 0 1 0v-13ZM3 4.25c0-1 1.12-1.6 1.95-1.04l8.5 5.71c.73.5.73 1.57 0 2.07l-8.5 5.8A1.25 1.25 0 0 1 3 15.75V4.25Zm1.39-.2a.25.25 0 0 0-.39.2v11.5c0 .2.23.32.4.2l8.49-5.78a.25.25 0 0 0 0-.42l-8.5-5.7Z"]);
1024
-
1025
- const PinFilled = /*#__PURE__*/createFluentIcon('PinFilled', "1em", ["M13.33 2.62a2 2 0 0 0-3.2.52L8.38 6.6a1.5 1.5 0 0 1-.78.72L4 8.75a1 1 0 0 0-.33 1.64l2.61 2.6L3 16.3v.7h.7L7 13.72l2.61 2.6a1 1 0 0 0 1.64-.33l1.43-3.59c.14-.34.4-.62.72-.78l3.46-1.73a2 2 0 0 0 .52-3.2l-4.05-4.06Z"]);
1026
- const PinRegular = /*#__PURE__*/createFluentIcon('PinRegular', "1em", ["M10.12 3.14a2 2 0 0 1 3.2-.52l4.06 4.05a2 2 0 0 1-.52 3.2l-3.46 1.74a1.5 1.5 0 0 0-.72.78L11.25 16a1 1 0 0 1-1.64.33L7 13.7 3.7 17H3v-.7L6.3 13l-2.62-2.61a1 1 0 0 1 .34-1.64L7.6 7.32c.34-.14.62-.4.78-.72l1.73-3.46Zm2.5.18a1 1 0 0 0-1.6.26L9.29 7.04a2.5 2.5 0 0 1-1.31 1.2L4.39 9.69l5.93 5.93 1.43-3.59a2.5 2.5 0 0 1 1.2-1.3l3.46-1.74a1 1 0 0 0 .26-1.6l-4.05-4.06Z"]);
1027
- const PinOffRegular = /*#__PURE__*/createFluentIcon('PinOffRegular', "1em", ["M2.85 2.15a.5.5 0 1 0-.7.7L6.9 7.6 4.02 8.75a1 1 0 0 0-.34 1.64L6.3 13 3 16.3v.7h.7L7 13.7l2.61 2.62a1 1 0 0 0 1.64-.34l1.15-2.88 4.75 4.75a.5.5 0 0 0 .7-.7l-15-15Zm8.78 10.18-1.31 3.28-5.93-5.93 3.28-1.3 3.96 3.95Zm1.33-1.62-.08.04.74.75 3.24-1.62a2 2 0 0 0 .52-3.2l-4.05-4.06a2 2 0 0 0-3.2.52L8.5 6.38l.75.74.04-.08 1.73-3.45a1 1 0 0 1 1.6-.26l4.05 4.05a1 1 0 0 1-.26 1.6l-3.45 1.73Z"]);
1028
- const PreviousRegular = /*#__PURE__*/createFluentIcon('PreviousRegular', "1em", ["M3 3.5a.5.5 0 0 1 1 0v13a.5.5 0 0 1-1 0v-13Zm14 .75c0-1-1.12-1.6-1.95-1.04l-8.5 5.71c-.73.5-.73 1.57 0 2.07l8.5 5.8c.83.56 1.95-.03 1.95-1.04V4.25Zm-1.39-.2c.17-.12.39 0 .39.2v11.5c0 .2-.22.32-.4.2l-8.49-5.78a.25.25 0 0 1 0-.42l8.5-5.7Z"]);
1029
- const SaveFilled = /*#__PURE__*/createFluentIcon('SaveFilled', "1em", ["M3 5c0-1.1.9-2 2-2h1v3.5C6 7.33 6.67 8 7.5 8h4c.83 0 1.5-.67 1.5-1.5V3h.38a2 2 0 0 1 1.41.59l1.62 1.62A2 2 0 0 1 17 6.62V15a2 2 0 0 1-2 2v-5.5c0-.83-.67-1.5-1.5-1.5h-7c-.83 0-1.5.67-1.5 1.5V17a2 2 0 0 1-2-2V5Zm9-2H7v3.5c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5V3Zm2 8.5V17H6v-5.5c0-.28.22-.5.5-.5h7c.28 0 .5.22.5.5Z"]);
1030
- const SaveRegular = /*#__PURE__*/createFluentIcon('SaveRegular', "1em", ["M3 5c0-1.1.9-2 2-2h8.38a2 2 0 0 1 1.41.59l1.62 1.62A2 2 0 0 1 17 6.62V15a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm2-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1v-4.5c0-.83.67-1.5 1.5-1.5h7c.83 0 1.5.67 1.5 1.5V16a1 1 0 0 0 1-1V6.62a1 1 0 0 0-.3-.7L14.1 4.28a1 1 0 0 0-.71-.29H13v2.5c0 .83-.67 1.5-1.5 1.5h-4A1.5 1.5 0 0 1 6 6.5V4H5Zm2 0v2.5c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5V4H7Zm7 12v-4.5a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0-.5.5V16h8Z"]);
1031
- const SearchFilled = /*#__PURE__*/createFluentIcon('SearchFilled', "1em", ["M8.5 3a5.5 5.5 0 0 1 4.38 8.82l4.15 4.15a.75.75 0 0 1-.98 1.13l-.08-.07-4.15-4.15A5.5 5.5 0 1 1 8.5 3Zm0 1.5a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]);
1032
- const SearchRegular = /*#__PURE__*/createFluentIcon('SearchRegular', "1em", ["M8.5 3a5.5 5.5 0 0 1 4.23 9.02l4.12 4.13a.5.5 0 0 1-.63.76l-.07-.06-4.13-4.12A5.5 5.5 0 1 1 8.5 3Zm0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]);
1033
- const StarRegular = /*#__PURE__*/createFluentIcon('StarRegular', "1em", ["M9.1 2.9a1 1 0 0 1 1.8 0l1.93 3.91 4.31.63a1 1 0 0 1 .56 1.7l-3.12 3.05.73 4.3a1 1 0 0 1-1.45 1.05L10 15.51l-3.86 2.03a1 1 0 0 1-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 0 1 .56-1.7l4.31-.63L9.1 2.9Zm.9.44L8.07 7.25a1 1 0 0 1-.75.55L3 8.43l3.12 3.04a1 1 0 0 1 .3.89l-.75 4.3 3.87-2.03a1 1 0 0 1 .93 0l3.86 2.03-.74-4.3a1 1 0 0 1 .29-.89L17 8.43l-4.32-.63a1 1 0 0 1-.75-.55L10 3.35Z"]);
1034
-
1035
- const SwipeDownFilled = /*#__PURE__*/createFluentIcon('SwipeDownFilled', "1em", ["M14 6a4 4 0 0 1-2.25 3.6V8.44a3 3 0 1 0-3.5 0V9.6A4 4 0 1 1 14 6ZM9.47 17.78c.3.3.77.3 1.06 0l2.5-2.5a.75.75 0 1 0-1.06-1.06l-1.22 1.22V5.75a.75.75 0 0 0-1.5 0v9.69l-1.22-1.22a.75.75 0 0 0-1.06 1.06l2.5 2.5Z"]);
1036
- const SwipeUpFilled = /*#__PURE__*/createFluentIcon('SwipeUpFilled', "1em", ["M10.53 2.22a.75.75 0 0 0-1.06 0l-2.5 2.5a.75.75 0 0 0 1.06 1.06l1.22-1.22v9.69a.75.75 0 0 0 1.5 0V4.56l1.22 1.22a.75.75 0 1 0 1.06-1.06l-2.5-2.5ZM6 14a4 4 0 0 1 2.25-3.6v1.16a3 3 0 1 0 3.5 0V10.4A4 4 0 1 1 6 14Z"]);
1037
- const TableSimpleCheckmarkFilled = /*#__PURE__*/createFluentIcon('TableSimpleCheckmarkFilled', "1em", ["M14 17h-3.5v-6.5H17V14a3 3 0 0 1-3 3Zm3-7.5h-6.5V3H14a3 3 0 0 1 3 3v3.5Zm-7.5 0V3H6a3 3 0 0 0-3 3v3.5h6.5Zm0 7.5v-6.5H3V14a3 3 0 0 0 3 3h3.5Zm5.85-3.9a.5.5 0 0 0-.7-.7l-1.4 1.4-.4-.4a.5.5 0 0 0-.7.7l.75.75c.2.2.5.2.7 0l1.75-1.75Z"]);
1038
- const TableSimpleCheckmarkRegular = /*#__PURE__*/createFluentIcon('TableSimpleCheckmarkRegular', "1em", ["M6 3a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6ZM4 6c0-1.1.9-2 2-2h3.5v5.5H4V6Zm6.5 3.5V4H14a2 2 0 0 1 2 2v3.5h-5.5Zm-6.5 1h5.5V16H6a2 2 0 0 1-2-2v-3.5Zm10.86 1.4c.2.2.2.5 0 .7l-1.75 1.75a.5.5 0 0 1-.71 0l-.75-.75a.5.5 0 0 1 .7-.7l.4.4 1.4-1.4c.2-.2.51-.2.7 0Z"]);
1039
- const TextClearFormattingFilled = /*#__PURE__*/createFluentIcon('TextClearFormattingFilled', "1em", ["M6 2c.2 0 .4.13.47.32l3.5 8.95a.5.5 0 0 1-.94.37L8.01 9H4l-1.04 2.68a.5.5 0 1 1-.94-.36l3.5-9A.5.5 0 0 1 6 2Zm0 1.88L4.4 8H7.6l-1.6-4.12ZM11.5 2c.28 0 .5.22.5.5v3.52a2.48 2.48 0 0 1 2.26-1.3c.89 0 1.6.34 2.15 1 .55.66.82 1.54.82 2.64l-.01.42-.05-.05a2.49 2.49 0 0 0-1.15-.65 2.86 2.86 0 0 0-.53-1.62c-.36-.47-.86-.7-1.48-.7-.6 0-1.09.24-1.47.72-.3.37-.47.83-.54 1.37v1.03c.05.43.18.8.37 1.12L11 11.37V2.5c0-.28.22-.5.5-.5Zm4.97 7.44 2.1 2.1a1.5 1.5 0 0 1-.01 2.12l-3.6 3.6-4.21-4.22 3.6-3.6a1.5 1.5 0 0 1 2.12 0Zm-2.22 8.52-4.21-4.21-.6.6a1.5 1.5 0 0 0 0 2.12l2.1 2.1c.3.3.71.45 1.12.43h4.09a.5.5 0 1 0 0-1h-2.53l.03-.04Z"]);
1040
- const TextCollapseFilled = /*#__PURE__*/createFluentIcon('TextCollapseFilled', "1em", ["M5 3.5c0-.41.34-.75.75-.75h11.5a.75.75 0 0 1 0 1.5H5.75A.75.75 0 0 1 5 3.5Zm0 12c0-.41.34-.75.75-.75h11.5a.75.75 0 0 1 0 1.5H5.75A.75.75 0 0 1 5 15.5Zm6.75-8.75a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5h-5.5ZM11 11.5c0-.41.34-.75.75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75Zm-2-2a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Zm-6 0c0 .28.22.5.5.5h4a.5.5 0 0 0 0-1h-4a.5.5 0 0 0-.5.5Z"]);
1041
- const TextCollapseRegular = /*#__PURE__*/createFluentIcon('TextCollapseRegular', "1em", ["M5 3.5c0-.28.22-.5.5-.5h12a.5.5 0 0 1 0 1h-12a.5.5 0 0 1-.5-.5Zm0 12c0-.28.22-.5.5-.5h12a.5.5 0 0 1 0 1h-12a.5.5 0 0 1-.5-.5Zm6-8c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5Zm0 4c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5Zm-2-2a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0ZM3.5 9a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4Z"]);
1042
- const TextExpandFilled = /*#__PURE__*/createFluentIcon('TextExpandFilled', "1em", ["M4.75 3.5a.75.75 0 0 0 0 1.5h12.5a.75.75 0 0 0 0-1.5H4.75ZM4 16.25c0-.41.34-.75.75-.75h12.5a.75.75 0 0 1 0 1.5H4.75a.75.75 0 0 1-.75-.75Zm7-4c0-.41.34-.75.75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75Zm0-4c0-.41.34-.75.75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75ZM5.5 14a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM6 8.5V10h1.5a.5.5 0 0 1 0 1H6v1.5a.5.5 0 0 1-1 0V11H3.5a.5.5 0 0 1 0-1H5V8.5a.5.5 0 0 1 1 0Z"]);
1043
- const TextExpandRegular = /*#__PURE__*/createFluentIcon('TextExpandRegular', "1em", ["M4 4.5c0-.28.22-.5.5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5Zm0 12c0-.28.22-.5.5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5Zm6-4c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm0-4c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5ZM5.5 14a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7ZM6 8.5a.5.5 0 0 0-1 0V10H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V11h1.5a.5.5 0 0 0 0-1H6V8.5Z"]);
1044
- const TextSortAscendingFilled = /*#__PURE__*/createFluentIcon('TextSortAscendingFilled', "1em", ["M6.7 2.5a.75.75 0 0 0-1.4 0L3.03 9a.75.75 0 0 0 1.42.5l.34-1h2.4l.34 1A.75.75 0 0 0 8.96 9L6.7 2.5ZM6 5.04 6.68 7H5.32L6 5.04ZM4 11a.75.75 0 0 0 0 1.5h2.53l-3.14 4.3A.75.75 0 0 0 4 18h4a.75.75 0 0 0 0-1.5H5.47l3.14-4.3A.75.75 0 0 0 8 11H4Zm10.25-9c.41 0 .75.34.75.75v12.57l1.45-1.58a.75.75 0 0 1 1.1 1.02l-2.75 3a.75.75 0 0 1-1.1 0l-2.75-3a.75.75 0 0 1 1.1-1.02l1.45 1.58V2.75c0-.41.34-.75.75-.75Z"]);
1045
- const TextSortDescendingFilled = /*#__PURE__*/createFluentIcon('TextSortDescendingFilled', "1em", ["M4 2a.75.75 0 1 0 0 1.5h2.53L3.39 7.8A.75.75 0 0 0 4 9h4a.75.75 0 0 0 0-1.5H5.47l3.14-4.3A.75.75 0 0 0 8 2H4Zm2.7 8.5a.75.75 0 0 0-1.4 0L3.03 17a.75.75 0 1 0 1.42.5l.34-1h2.4l.34 1a.75.75 0 1 0 1.42-.5L6.7 10.5ZM6 13.04 6.68 15H5.32L6 13.04ZM14.25 2c.41 0 .75.34.75.75v12.57l1.45-1.58a.75.75 0 0 1 1.1 1.02l-2.75 3a.75.75 0 0 1-1.1 0l-2.75-3a.75.75 0 0 1 1.1-1.02l1.45 1.58V2.75c0-.41.34-.75.75-.75Z"]);
1046
-
1047
- const Album24Regular = /*#__PURE__*/createFluentIcon('Album24Regular', "24", ["M10 9c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V9Zm2-.5a.5.5 0 0 0-.5.5v1c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5V9a.5.5 0 0 0-.5-.5h-4ZM4 4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4Zm16 1.5c.28 0 .5.22.5.5v12a.5.5 0 0 1-.5.5H7.5v-13H20Zm-16 0h2v13H4a.5.5 0 0 1-.5-.5V6c0-.28.22-.5.5-.5Z"], {
1048
- flipInRtl: true
1049
- });
1050
-
1051
- const ArrowSortDown20Filled = /*#__PURE__*/createFluentIcon('ArrowSortDown20Filled', "20", ["M9.75 17c.23 0 .45-.1.59-.28l2.94-2.94a.75.75 0 0 0-1.06-1.06l-1.72 1.71V3.75a.75.75 0 0 0-1.5 0v10.7L7.28 12.7a.75.75 0 1 0-1.06 1.06l3 3.01c.15.15.34.22.53.22Z"]);
1052
- const ArrowSortDown20Regular = /*#__PURE__*/createFluentIcon('ArrowSortDown20Regular', "20", ["m10 15.29 2.65-2.64a.5.5 0 0 1 .7.7L9.9 16.82a.5.5 0 0 1-.74.03h-.01l-3.5-3.5a.5.5 0 1 1 .71-.7L9 15.29V3.5a.5.5 0 0 1 1 0v11.79Z"]);
1053
- const ArrowSortUp20Filled = /*#__PURE__*/createFluentIcon('ArrowSortUp20Filled', "20", ["M9.75 3c.23 0 .45.1.59.28l2.94 2.94a.75.75 0 0 1-1.06 1.06L10.5 5.57v10.68a.75.75 0 0 1-1.5 0V5.55L7.28 7.3a.75.75 0 1 1-1.06-1.06l3-3.01A.73.73 0 0 1 9.75 3Z"]);
1054
- const ArrowSortUp20Regular = /*#__PURE__*/createFluentIcon('ArrowSortUp20Regular', "20", ["M9 4.71 6.35 7.35a.5.5 0 1 1-.7-.7L9.1 3.18a.5.5 0 0 1 .74-.03h.01l3.5 3.5a.5.5 0 1 1-.71.7L10 4.71V16.5a.5.5 0 0 1-1 0V4.71Z"]);
1055
-
1056
- const CodeTextOff16Filled = /*#__PURE__*/createFluentIcon('CodeTextOff16Filled', "16", ["M13.25 7h-3a.75.75 0 0 1 0-1.5h3a.75.75 0 0 1 0 1.5Zm-3.5-3h4.5a.75.75 0 0 0 0-1.5h-4.5a.75.75 0 0 0 0 1.5Zm-1 7.5h-7a.75.75 0 0 0 0 1.5h7a.75.75 0 0 0 0-1.5Zm-2-7.5a.75.75 0 0 0 0-1.5H4.62L6.12 4h.63Zm8.1 10.15-13-13a.5.5 0 0 0-.7.7l.64.65h-.04a.75.75 0 0 0 0 1.5h1.54l1.5 1.5h-.04a.75.75 0 0 0 0 1.5h1.54l1.5 1.5H3.75a.75.75 0 0 0 0 1.5h5.54l4.86 4.85a.5.5 0 0 0 .7 0 .5.5 0 0 0 0-.7Z"]);
1057
- const CodeTextOff16Regular = /*#__PURE__*/createFluentIcon('CodeTextOff16Regular', "16", ["m6.12 4-1-1H7a.5.5 0 0 1 0 1h-.88ZM9.5 4h5a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm.5 2a.5.5 0 0 0 0 1h3.5a.5.5 0 0 0 0-1H10Zm-1 6H1.5a.5.5 0 0 0 0 1H9a.5.5 0 0 0 0-1Zm5.85 2.15-13-13a.5.5 0 0 0-.7.7L2.29 3H1.5a.5.5 0 0 0 0 1h1.8l2 2h-.8a.5.5 0 0 0 0 1h1.8l2 2H3.5a.5.5 0 0 0 0 1h5.8l4.85 4.85a.5.5 0 0 0 .7 0 .5.5 0 0 0 0-.7Z"]);
1058
-
1059
- const Dismiss24Regular = /*#__PURE__*/createFluentIcon('Dismiss24Regular', "24", ["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]);
1060
- const DocumentSearch24Regular = /*#__PURE__*/createFluentIcon('DocumentSearch24Regular', "24", ["M4 4c0-1.1.9-2 2-2h6.17a2 2 0 0 1 1.42.59L19.4 8.4A2 2 0 0 1 20 9.83V20a2 2 0 0 1-2 2h-4.02c-.05-.36-.21-.7-.5-.99l-.5-.51H18a.5.5 0 0 0 .5-.5V10H14a2 2 0 0 1-2-2V3.5H6a.5.5 0 0 0-.5.5v7.1c-.53.09-1.03.26-1.5.5V4Zm10 4.5h3.38L13.5 4.62V8c0 .28.22.5.5.5ZM6.5 21c.97 0 1.87-.3 2.6-.83l2.62 2.61a.75.75 0 1 0 1.06-1.06l-2.61-2.61A4.5 4.5 0 1 0 6.5 21Zm0-1.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z"]);
1061
-
1062
- const Save20Filled = /*#__PURE__*/createFluentIcon('Save20Filled', "20", ["M3 5c0-1.1.9-2 2-2h1v3.5C6 7.33 6.67 8 7.5 8h4c.83 0 1.5-.67 1.5-1.5V3h.38a2 2 0 0 1 1.41.59l1.62 1.62A2 2 0 0 1 17 6.62V15a2 2 0 0 1-2 2v-5.5c0-.83-.67-1.5-1.5-1.5h-7c-.83 0-1.5.67-1.5 1.5V17a2 2 0 0 1-2-2V5Zm9-2H7v3.5c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5V3Zm2 8.5V17H6v-5.5c0-.28.22-.5.5-.5h7c.28 0 .5.22.5.5Z"]);
1063
- const Search24Regular = /*#__PURE__*/createFluentIcon('Search24Regular', "24", ["M4.5 10a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0ZM10 3a7 7 0 1 0 4.4 12.45l5.32 5.33a.75.75 0 1 0 1.06-1.06l-5.33-5.33A7 7 0 0 0 10 3Z"]);
1064
-
1065
- const ViewDesktop20Filled = /*#__PURE__*/createFluentIcon('ViewDesktop20Filled', "20", ["M1.96 4.5c0-.83.67-1.5 1.5-1.5H16.4c.83 0 1.5.67 1.5 1.5v8c0 .83-.67 1.5-1.5 1.5H12v2.01h1.5a.5.5 0 0 1 0 1h-7a.5.5 0 1 1 0-1H8V14H3.46a1.5 1.5 0 0 1-1.5-1.5v-8ZM9 14v2.01h2V14H9ZM4 5.5v6c0 .28.22.5.5.5h1a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5Zm3 0v6c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5Z"]);
1066
- const ViewDesktop20Regular = /*#__PURE__*/createFluentIcon('ViewDesktop20Regular', "20", ["M4 5.5c0-.28.22-.5.5-.5h1c.27 0 .5.22.5.5v6a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-6ZM7.5 5a.5.5 0 0 0-.5.5v6c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-8Zm-5.54-.5c0-.83.67-1.5 1.5-1.5H16.4c.83 0 1.5.67 1.5 1.5v8c0 .83-.67 1.5-1.5 1.5H12v2.01h1.5a.5.5 0 0 1 0 1h-7a.5.5 0 1 1 0-1H8V14H3.46a1.5 1.5 0 0 1-1.5-1.5v-8ZM9 14v2.01h2V14H9ZM3.46 4a.5.5 0 0 0-.5.5v8c0 .28.23.5.5.5H16.4a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5H3.46Z"]);
1067
-
1068
- const iconFilledClassName = "fui-Icon-filled";
1069
- const iconRegularClassName = "fui-Icon-regular";
1070
-
1071
- const useBundledIconStyles = __styles({
1072
- "root": {
1073
- "mc9l5x": "fjseox"
1074
- },
1075
- "visible": {
1076
- "mc9l5x": "f1w7gpdv"
1077
- }
1078
- }, {
1079
- "d": [".fjseox{display:none;}", ".f1w7gpdv{display:inline;}"]
1080
- });
1081
- const bundleIcon = (FilledIcon, RegularIcon) => {
1082
- const Component = props => {
1083
- const {
1084
- className,
1085
- filled,
1086
- ...rest
1087
- } = props;
1088
- const styles = useBundledIconStyles();
1089
- return React.createElement(React.Fragment, null, React.createElement(FilledIcon, Object.assign({}, rest, {
1090
- className: mergeClasses(styles.root, filled && styles.visible, iconFilledClassName, className)
1091
- })), React.createElement(RegularIcon, Object.assign({}, rest, {
1092
- className: mergeClasses(styles.root, !filled && styles.visible, iconRegularClassName, className)
1093
- })));
1094
- };
1095
- Component.displayName = "CompoundIcon";
1096
- return Component;
1097
- };
1098
- var bundleIcon$1 = bundleIcon;
1099
-
1100
100
  const range = (from, to, step = 1) => {
1101
101
  var _a;
1102
102
  return (_a = [...Array(Math.floor((to - from) / step) + 1)]) === null || _a === void 0 ? void 0 : _a.map((_, i) => from + i * step);
@@ -1135,35 +135,36 @@ const Pagination = (props) => {
1135
135
  }, className: styles.pageSizeInput, "aria-label": "Page Number", autoComplete: "off", autoCorrect: "off" })] })] }), jsx(Button, { size: "small", className: styles.pageBtn, shape: "circular", onClick: () => table.setPageIndex(0), disabled: !table.getCanPreviousPage(), icon: jsx(PreviousRegular, {}), "aria-label": "Go to first page" }), jsx(Button, { size: "small", className: styles.pageBtn, shape: "circular", onClick: () => table.previousPage(), disabled: !table.getCanPreviousPage(), icon: jsx(ArrowPreviousFilled, {}), "aria-label": "Go to previous page" }), jsx(For, { each: pageSelectionOptions, children: (option, index) => (jsx(Button, { shape: "circular", appearance: option - 1 === currentPage ? "primary" : undefined, onClick: () => table.setPageIndex(option - 1), "aria-label": `Show Page ${option}`, size: "small", className: styles.pageBtn, children: option }, index)) }), jsx(Button, { size: "small", className: styles.pageBtn, shape: "circular", onClick: () => table.nextPage(), disabled: !table.getCanNextPage(), icon: jsx(ArrowNextFilled, {}), "aria-label": "Go to next page" }), jsx(Button, { size: "small", shape: "circular", className: styles.pageBtn, onClick: () => table.setPageIndex(table.getPageCount() - 1), disabled: !table.getCanNextPage(), icon: jsx(NextRegular, {}), "aria-label": "Go to last page" })] })] }) }));
1136
136
  };
1137
137
 
1138
- bundleIcon$1(SaveFilled, SaveRegular);
1139
- bundleIcon$1(TableSimpleCheckmarkFilled, TableSimpleCheckmarkRegular);
1140
- bundleIcon$1(SearchFilled, SearchRegular);
1141
- bundleIcon$1(FilterFilled, FilterRegular);
1142
- const ClearFilterIcon = bundleIcon$1(CodeTextOff16Filled, CodeTextOff16Regular);
1143
- const ToggleSelectColumnIcon = bundleIcon$1(ColumnEditFilled, ColumnEditRegular);
1144
- const ToggleGroupColumnIcon = bundleIcon$1(GroupFilled, GroupRegular);
1145
- const GroupCollapsedIcon = bundleIcon$1(ChevronRightFilled, ChevronRightRegular);
1146
- const GroupExpandedIcon = bundleIcon$1(ChevronDownRegular, ChevronDownFilled);
1147
- bundleIcon$1(DragFilled, DragRegular);
138
+ bundleIcon(SaveFilled, SaveRegular);
139
+ bundleIcon(TableSimpleCheckmarkFilled, TableSimpleCheckmarkRegular);
140
+ bundleIcon(SearchFilled, SearchRegular);
141
+ bundleIcon(FilterFilled, FilterRegular);
142
+ const ClearFilterIcon = bundleIcon(CodeTextOff16Filled, CodeTextOff16Regular);
143
+ const ToggleSelectColumnIcon = bundleIcon(ColumnEditFilled, ColumnEditRegular);
144
+ const ToggleGroupColumnIcon = bundleIcon(GroupFilled, GroupRegular);
145
+ const GroupCollapsedIcon = bundleIcon(ChevronRightFilled, ChevronRightRegular);
146
+ const GroupExpandedIcon = bundleIcon(ChevronDownRegular, ChevronDownFilled);
147
+ bundleIcon(DragFilled, DragRegular);
1148
148
 
1149
149
  const useGridHeaderStyles = makeStyles({
1150
- tableTopHeaderContainer: Object.assign({ display: "flex", justifyContent: "space-between", alignItems: "flex-end", width: "100%", backgroundColor: tokens.colorBrandBackground2Hover }, shorthands.padding("5px")),
150
+ tableTopHeaderContainer: Object.assign(Object.assign({ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end', flexWrap: 'wrap', width: '100%', backgroundColor: tokens.colorNeutralStroke2, boxShadow: tokens.shadow2 }, shorthands.padding('5px')), shorthands.borderBottom('1px', 'solid', tokens.colorNeutralStroke1)),
1151
151
  tableTopHeaderLeft: {
1152
- display: "flex",
1153
- justifyContent: "flex-start",
152
+ display: 'flex',
153
+ justifyContent: 'flex-start',
154
+ flexWrap: 'wrap',
1154
155
  },
1155
- tableTopHeaderRight: Object.assign({ display: "flex", justifyContent: "flex-end" }, shorthands.gap("3px")),
156
+ tableTopHeaderRight: Object.assign(Object.assign({ display: 'flex', justifyContent: 'flex-end' }, shorthands.gap('3px')), { flexWrap: 'wrap' }),
1156
157
  tableTopHeaderColumnTogglePopover: {
1157
- display: "flex",
1158
- flexDirection: "column",
1159
- justifyContent: "flex-start",
1160
- alignItems: "flex-start",
1161
- width: "100%",
1162
- height: "100%",
158
+ display: 'flex',
159
+ flexDirection: 'column',
160
+ justifyContent: 'flex-start',
161
+ alignItems: 'flex-start',
162
+ width: '100%',
163
+ height: '100%',
1163
164
  },
1164
165
  popoverSurface: {
1165
- minWidth: "300px"
1166
- }
166
+ minWidth: '300px',
167
+ },
1167
168
  });
1168
169
 
1169
170
  const GridHeader = (props) => {
@@ -1584,13 +585,13 @@ const getRowPinningStyles = (row, bottomRowLength, headerGroupLength, additional
1584
585
  return styles;
1585
586
  };
1586
587
 
1587
- const MoreIcon = bundleIcon$1(MoreVerticalFilled, MoreVerticalRegular);
1588
- const SortAscIcon = bundleIcon$1(ArrowSortDown20Filled, ArrowSortDown20Regular);
1589
- const SortDescIcon = bundleIcon$1(ArrowSortUp20Filled, ArrowSortUp20Regular);
1590
- const PinIcon = bundleIcon$1(PinFilled, PinRegular);
1591
- const HideColumnIcon = bundleIcon$1(EyeTrackingOffFilled, EyeTrackingOffRegular);
1592
- const GroupExpandIcon = bundleIcon$1(TextExpandFilled, TextExpandRegular);
1593
- const GroupCollapseIcon = bundleIcon$1(TextCollapseFilled, TextCollapseRegular);
588
+ const MoreIcon = bundleIcon(MoreVerticalFilled, MoreVerticalRegular);
589
+ const SortAscIcon = bundleIcon(ArrowSortDown20Filled, ArrowSortDown20Regular);
590
+ const SortDescIcon = bundleIcon(ArrowSortUp20Filled, ArrowSortUp20Regular);
591
+ const PinIcon = bundleIcon(PinFilled, PinRegular);
592
+ const HideColumnIcon = bundleIcon(EyeTrackingOffFilled, EyeTrackingOffRegular);
593
+ const GroupExpandIcon = bundleIcon(TextExpandFilled, TextExpandRegular);
594
+ const GroupCollapseIcon = bundleIcon(TextCollapseFilled, TextCollapseRegular);
1594
595
  function HeaderCell({ header, table, tabAttributes }) {
1595
596
  var _a;
1596
597
  const { column, id } = header;
@@ -1608,10 +609,10 @@ function HeaderCell({ header, table, tabAttributes }) {
1608
609
  }, [table, header.column.id]);
1609
610
  const headerCellCombinedStyles = getHeaderCellPinningStyles(column, isDragging, dndStyle);
1610
611
  if (header.isPlaceholder) {
1611
- return (jsx("th", Object.assign({ colSpan: header.colSpan, className: styles.tHeadCell, style: headerCellCombinedStyles, ref: setNodeRef }, attributes, listeners, { children: jsx(Show, { when: header.column.getCanResize(), children: jsx("div", { onMouseDown: header.getResizeHandler(), onTouchStart: header.getResizeHandler(), className: mergeClasses$1(styles.resizer, column.getIsResizing() && styles.resizerActive) }) }) })));
612
+ return (jsx("th", Object.assign({ colSpan: header.colSpan, className: styles.tHeadCell, style: headerCellCombinedStyles, ref: setNodeRef }, attributes, listeners, { children: jsx(Show, { when: header.column.getCanResize(), children: jsx("div", { onMouseDown: header.getResizeHandler(), onTouchStart: header.getResizeHandler(), className: mergeClasses(styles.resizer, column.getIsResizing() && styles.resizerActive) }) }) })));
1612
613
  }
1613
614
  const columnName = flexRender(header.column.columnDef.header, header.getContext());
1614
- return (jsxs("th", Object.assign({ colSpan: header.colSpan, className: mergeClasses$1(styles.tHeadCell, isLeafHeaders && styles.tHeadNonLeafCell, isDragging && styles.tHeadCellDragging), style: headerCellCombinedStyles, ref: setNodeRef }, tabAttributes, { tabIndex: 0, children: [jsx("div", Object.assign({ className: mergeClasses$1(styles.tHeadCellDraggable, isDragging && styles.tHeadCellDraggableDragging) }, attributes, listeners, { children: jsxs("div", { className: isLeafHeaders
615
+ return (jsxs("th", Object.assign({ colSpan: header.colSpan, className: mergeClasses(styles.tHeadCell, isLeafHeaders && styles.tHeadNonLeafCell, isDragging && styles.tHeadCellDragging), style: headerCellCombinedStyles, ref: setNodeRef }, tabAttributes, { tabIndex: 0, children: [jsx("div", Object.assign({ className: mergeClasses(styles.tHeadCellDraggable, isDragging && styles.tHeadCellDraggableDragging) }, attributes, listeners, { children: jsxs("div", { className: isLeafHeaders
1615
616
  ? styles.tLeafHeadCellContent
1616
617
  : styles.tNonLeafHeadCellContent, children: [jsx("div", { children: jsx(Show, { when: !header.isPlaceholder, children: jsxs(Button, { style: {
1617
618
  display: 'flex',
@@ -1629,7 +630,7 @@ function HeaderCell({ header, table, tabAttributes }) {
1629
630
  }, appearance: "transparent", className: styles.tHeadContentBtn, icon: (_a = {
1630
631
  asc: (jsx("strong", { children: jsx(SortAscIcon, {}) })),
1631
632
  desc: (jsx("strong", { children: jsx(SortDescIcon, {}) })),
1632
- }[header.column.getIsSorted()]) !== null && _a !== void 0 ? _a : undefined, iconPosition: "after", children: [jsx("strong", { children: columnName }), jsx(Show, { when: header.column.getIsGrouped(), children: jsx("strong", { children: jsx(GroupListRegular, {}) }) }), jsx(Show, { when: header.column.getIsFiltered(), children: jsx("strong", { children: jsx(FilterFilled, {}) }) }), jsx(Show, { when: header.column.getIsPinned(), children: jsx("strong", { children: jsx(PinRegular, {}) }) })] }) }) }), jsx(Show, { when: !!isLeafHeaders, children: jsx(HeaderMenu, { header: header, table: table }) })] }) })), jsx(Show, { when: header.column.getCanResize(), children: jsx("div", { onMouseDown: header.getResizeHandler(), onTouchStart: header.getResizeHandler(), className: mergeClasses$1(styles.resizer, column.getIsResizing() && styles.resizerActive) }) }), jsx(Show, { when: !isLeafHeaders, children: jsx("div", { className: styles.tHeadNonLeafCellFakeBorder }) })] })));
633
+ }[header.column.getIsSorted()]) !== null && _a !== void 0 ? _a : undefined, iconPosition: "after", children: [jsx("strong", { children: columnName }), jsx(Show, { when: header.column.getIsGrouped(), children: jsx("strong", { children: jsx(GroupListRegular, {}) }) }), jsx(Show, { when: header.column.getIsFiltered(), children: jsx("strong", { children: jsx(FilterFilled, {}) }) }), jsx(Show, { when: header.column.getIsPinned(), children: jsx("strong", { children: jsx(PinRegular, {}) }) })] }) }) }), jsx(Show, { when: !!isLeafHeaders, children: jsx(HeaderMenu, { header: header, table: table }) })] }) })), jsx(Show, { when: header.column.getCanResize(), children: jsx("div", { onMouseDown: header.getResizeHandler(), onTouchStart: header.getResizeHandler(), className: mergeClasses(styles.resizer, column.getIsResizing() && styles.resizerActive) }) }), jsx(Show, { when: !isLeafHeaders, children: jsx("div", { className: styles.tHeadNonLeafCellFakeBorder }) })] })));
1633
634
  }
1634
635
  function HeaderMenu(props) {
1635
636
  const { header, table } = props;
@@ -1734,9 +735,9 @@ const useNoItemGridStyles = makeStyles({
1734
735
  }
1735
736
  });
1736
737
 
1737
- const NoItemGrid = ({ message }) => {
738
+ const NoItemGrid = ({ message, }) => {
1738
739
  const styles = useNoItemGridStyles();
1739
- return (jsx("div", { className: styles.wrapper, children: jsx("div", { children: message ? message : jsx(Subtitle2Stronger, { children: "No Data to Show." }) }) }));
740
+ return (jsx("div", { className: styles.wrapper, children: jsx(Show, { when: !!message, fallback: jsx(Subtitle2Stronger, { children: "No data to show." }), children: message }) }));
1740
741
  };
1741
742
 
1742
743
  const useNoFilterMatchStyles = makeStyles({
@@ -1801,7 +802,7 @@ function TableCell({ cell, row }) {
1801
802
  const isSelected = row.getIsSelected();
1802
803
  const isRowPinned = row.getIsPinned();
1803
804
  const isCellPinned = cell.column.getIsPinned();
1804
- const cellClassNames = mergeClasses$1(styles.tBodyCell, isCellPinned && styles.tBodyPinnedCell, isSelected && styles.tBodySelectedCell, isRowPinned && styles.tBodyRowPinnedCell);
805
+ const cellClassNames = mergeClasses(styles.tBodyCell, isCellPinned && styles.tBodyPinnedCell, isSelected && styles.tBodySelectedCell, isRowPinned && styles.tBodyRowPinnedCell);
1805
806
  const { isDragging, transition, setNodeRef, transform } = useSortable({
1806
807
  id: cell.column.id,
1807
808
  });