@veeqo/ui 9.1.0 → 9.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/dist/components/DataTable/hooks/useCellWidths.cjs +21 -16
- package/dist/components/DataTable/hooks/useCellWidths.cjs.map +1 -1
- package/dist/components/DataTable/hooks/useCellWidths.js +22 -16
- package/dist/components/DataTable/hooks/useCellWidths.js.map +1 -1
- package/dist/components/ShortcutKeys/utils.cjs +5 -5
- package/dist/components/ShortcutKeys/utils.cjs.map +1 -1
- package/dist/components/ShortcutKeys/utils.js +5 -5
- package/dist/components/ShortcutKeys/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,37 +1,42 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var throttle = require('lodash.throttle');
|
|
5
4
|
var ResizeObserver = require('resize-observer-polyfill');
|
|
6
5
|
|
|
7
6
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
8
7
|
|
|
9
|
-
var throttle__default = /*#__PURE__*/_interopDefaultCompat(throttle);
|
|
10
8
|
var ResizeObserver__default = /*#__PURE__*/_interopDefaultCompat(ResizeObserver);
|
|
11
9
|
|
|
12
|
-
/* eslint-disable react-hooks/exhaustive-deps */
|
|
13
10
|
function useCellWidths(tableRef, containerRef) {
|
|
14
11
|
const [cellWidths, setCellWidths] = React.useState([]);
|
|
15
|
-
const updateCellWidths = () => {
|
|
12
|
+
const updateCellWidths = React.useCallback(() => {
|
|
16
13
|
if (!tableRef.current)
|
|
17
14
|
return;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
requestAnimationFrame(() => {
|
|
16
|
+
var _a;
|
|
17
|
+
const cells = (_a = tableRef.current) === null || _a === undefined ? undefined : _a.querySelectorAll('tbody tr:first-child td');
|
|
18
|
+
if (!cells)
|
|
19
|
+
return;
|
|
20
|
+
const widths = Array.from(cells).map((cell) => cell.getBoundingClientRect().width);
|
|
21
|
+
setCellWidths(widths);
|
|
22
|
+
});
|
|
23
|
+
}, [tableRef]);
|
|
22
24
|
React.useEffect(() => {
|
|
23
25
|
updateCellWidths();
|
|
24
|
-
}, [
|
|
25
|
-
// Update cell widths when container is resized.
|
|
26
|
+
}, [updateCellWidths]);
|
|
26
27
|
React.useEffect(() => {
|
|
27
28
|
if (!containerRef.current)
|
|
28
|
-
return;
|
|
29
|
-
const
|
|
30
|
-
|
|
29
|
+
return undefined;
|
|
30
|
+
const resizeObserver = new ResizeObserver__default.default((entries) => {
|
|
31
|
+
if (entries[0].contentRect) {
|
|
32
|
+
updateCellWidths();
|
|
33
|
+
}
|
|
34
|
+
});
|
|
31
35
|
resizeObserver.observe(containerRef.current);
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
return () => {
|
|
37
|
+
resizeObserver.disconnect();
|
|
38
|
+
};
|
|
39
|
+
}, [containerRef, updateCellWidths]);
|
|
35
40
|
return cellWidths;
|
|
36
41
|
}
|
|
37
42
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCellWidths.cjs","sources":["../../../../src/components/DataTable/hooks/useCellWidths.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"useCellWidths.cjs","sources":["../../../../src/components/DataTable/hooks/useCellWidths.ts"],"sourcesContent":["import { RefObject, useEffect, useState, useCallback } from 'react';\nimport ResizeObserver from 'resize-observer-polyfill';\n\nexport function useCellWidths(\n tableRef: RefObject<HTMLElement>,\n containerRef: RefObject<HTMLElement>,\n) {\n const [cellWidths, setCellWidths] = useState<number[]>([]);\n\n const updateCellWidths = useCallback(() => {\n if (!tableRef.current) return;\n\n requestAnimationFrame(() => {\n const cells = tableRef.current?.querySelectorAll('tbody tr:first-child td');\n if (!cells) return;\n\n const widths = Array.from(cells).map((cell) => cell.getBoundingClientRect().width);\n setCellWidths(widths);\n });\n }, [tableRef]);\n\n useEffect(() => {\n updateCellWidths();\n }, [updateCellWidths]);\n\n useEffect(() => {\n if (!containerRef.current) return undefined;\n\n const resizeObserver = new ResizeObserver((entries) => {\n if (entries[0].contentRect) {\n updateCellWidths();\n }\n });\n\n resizeObserver.observe(containerRef.current);\n\n return () => {\n resizeObserver.disconnect();\n };\n }, [containerRef, updateCellWidths]);\n\n return cellWidths;\n}\n"],"names":["useState","useCallback","useEffect","ResizeObserver"],"mappings":";;;;;;;;;AAGgB,SAAA,aAAa,CAC3B,QAAgC,EAChC,YAAoC,EAAA;IAEpC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAGA,cAAQ,CAAW,EAAE,CAAC;AAE1D,IAAA,MAAM,gBAAgB,GAAGC,iBAAW,CAAC,MAAK;QACxC,IAAI,CAAC,QAAQ,CAAC,OAAO;YAAE;QAEvB,qBAAqB,CAAC,MAAK;;YACzB,MAAM,KAAK,GAAG,CAAA,EAAA,GAAA,QAAQ,CAAC,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,SAAA,GAAA,SAAA,GAAA,EAAA,CAAE,gBAAgB,CAAC,yBAAyB,CAAC;AAC3E,YAAA,IAAI,CAAC,KAAK;gBAAE;YAEZ,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,qBAAqB,EAAE,CAAC,KAAK,CAAC;YAClF,aAAa,CAAC,MAAM,CAAC;AACvB,SAAC,CAAC;AACJ,KAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;IAEdC,eAAS,CAAC,MAAK;AACb,QAAA,gBAAgB,EAAE;AACpB,KAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC;IAEtBA,eAAS,CAAC,MAAK;QACb,IAAI,CAAC,YAAY,CAAC,OAAO;AAAE,YAAA,OAAO,SAAS;QAE3C,MAAM,cAAc,GAAG,IAAIC,+BAAc,CAAC,CAAC,OAAO,KAAI;AACpD,YAAA,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;AAC1B,gBAAA,gBAAgB,EAAE;AACnB;AACH,SAAC,CAAC;AAEF,QAAA,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC;AAE5C,QAAA,OAAO,MAAK;YACV,cAAc,CAAC,UAAU,EAAE;AAC7B,SAAC;AACH,KAAC,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;AAEpC,IAAA,OAAO,UAAU;AACnB;;;;"}
|
|
@@ -1,30 +1,36 @@
|
|
|
1
|
-
import { useState, useEffect } from 'react';
|
|
2
|
-
import throttle from 'lodash.throttle';
|
|
1
|
+
import { useState, useCallback, useEffect } from 'react';
|
|
3
2
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
4
3
|
|
|
5
|
-
/* eslint-disable react-hooks/exhaustive-deps */
|
|
6
4
|
function useCellWidths(tableRef, containerRef) {
|
|
7
5
|
const [cellWidths, setCellWidths] = useState([]);
|
|
8
|
-
const updateCellWidths = () => {
|
|
6
|
+
const updateCellWidths = useCallback(() => {
|
|
9
7
|
if (!tableRef.current)
|
|
10
8
|
return;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
requestAnimationFrame(() => {
|
|
10
|
+
var _a;
|
|
11
|
+
const cells = (_a = tableRef.current) === null || _a === undefined ? undefined : _a.querySelectorAll('tbody tr:first-child td');
|
|
12
|
+
if (!cells)
|
|
13
|
+
return;
|
|
14
|
+
const widths = Array.from(cells).map((cell) => cell.getBoundingClientRect().width);
|
|
15
|
+
setCellWidths(widths);
|
|
16
|
+
});
|
|
17
|
+
}, [tableRef]);
|
|
15
18
|
useEffect(() => {
|
|
16
19
|
updateCellWidths();
|
|
17
|
-
}, [
|
|
18
|
-
// Update cell widths when container is resized.
|
|
20
|
+
}, [updateCellWidths]);
|
|
19
21
|
useEffect(() => {
|
|
20
22
|
if (!containerRef.current)
|
|
21
|
-
return;
|
|
22
|
-
const
|
|
23
|
-
|
|
23
|
+
return undefined;
|
|
24
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
25
|
+
if (entries[0].contentRect) {
|
|
26
|
+
updateCellWidths();
|
|
27
|
+
}
|
|
28
|
+
});
|
|
24
29
|
resizeObserver.observe(containerRef.current);
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
return () => {
|
|
31
|
+
resizeObserver.disconnect();
|
|
32
|
+
};
|
|
33
|
+
}, [containerRef, updateCellWidths]);
|
|
28
34
|
return cellWidths;
|
|
29
35
|
}
|
|
30
36
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCellWidths.js","sources":["../../../../src/components/DataTable/hooks/useCellWidths.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"useCellWidths.js","sources":["../../../../src/components/DataTable/hooks/useCellWidths.ts"],"sourcesContent":["import { RefObject, useEffect, useState, useCallback } from 'react';\nimport ResizeObserver from 'resize-observer-polyfill';\n\nexport function useCellWidths(\n tableRef: RefObject<HTMLElement>,\n containerRef: RefObject<HTMLElement>,\n) {\n const [cellWidths, setCellWidths] = useState<number[]>([]);\n\n const updateCellWidths = useCallback(() => {\n if (!tableRef.current) return;\n\n requestAnimationFrame(() => {\n const cells = tableRef.current?.querySelectorAll('tbody tr:first-child td');\n if (!cells) return;\n\n const widths = Array.from(cells).map((cell) => cell.getBoundingClientRect().width);\n setCellWidths(widths);\n });\n }, [tableRef]);\n\n useEffect(() => {\n updateCellWidths();\n }, [updateCellWidths]);\n\n useEffect(() => {\n if (!containerRef.current) return undefined;\n\n const resizeObserver = new ResizeObserver((entries) => {\n if (entries[0].contentRect) {\n updateCellWidths();\n }\n });\n\n resizeObserver.observe(containerRef.current);\n\n return () => {\n resizeObserver.disconnect();\n };\n }, [containerRef, updateCellWidths]);\n\n return cellWidths;\n}\n"],"names":[],"mappings":";;;AAGgB,SAAA,aAAa,CAC3B,QAAgC,EAChC,YAAoC,EAAA;IAEpC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC;AAE1D,IAAA,MAAM,gBAAgB,GAAG,WAAW,CAAC,MAAK;QACxC,IAAI,CAAC,QAAQ,CAAC,OAAO;YAAE;QAEvB,qBAAqB,CAAC,MAAK;;YACzB,MAAM,KAAK,GAAG,CAAA,EAAA,GAAA,QAAQ,CAAC,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,SAAA,GAAA,SAAA,GAAA,EAAA,CAAE,gBAAgB,CAAC,yBAAyB,CAAC;AAC3E,YAAA,IAAI,CAAC,KAAK;gBAAE;YAEZ,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,qBAAqB,EAAE,CAAC,KAAK,CAAC;YAClF,aAAa,CAAC,MAAM,CAAC;AACvB,SAAC,CAAC;AACJ,KAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;IAEd,SAAS,CAAC,MAAK;AACb,QAAA,gBAAgB,EAAE;AACpB,KAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC;IAEtB,SAAS,CAAC,MAAK;QACb,IAAI,CAAC,YAAY,CAAC,OAAO;AAAE,YAAA,OAAO,SAAS;QAE3C,MAAM,cAAc,GAAG,IAAI,cAAc,CAAC,CAAC,OAAO,KAAI;AACpD,YAAA,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;AAC1B,gBAAA,gBAAgB,EAAE;AACnB;AACH,SAAC,CAAC;AAEF,QAAA,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC;AAE5C,QAAA,OAAO,MAAK;YACV,cAAc,CAAC,UAAU,EAAE;AAC7B,SAAC;AACH,KAAC,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;AAEpC,IAAA,OAAO,UAAU;AACnB;;;;"}
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
const ValidModifierKeysMap = {
|
|
5
5
|
command: '⌘',
|
|
6
6
|
windows: '⊞',
|
|
7
|
-
shift: '
|
|
8
|
-
ctrl: '
|
|
9
|
-
option: '
|
|
7
|
+
shift: 'shift',
|
|
8
|
+
ctrl: 'ctrl',
|
|
9
|
+
option: 'option',
|
|
10
10
|
alt: 'alt',
|
|
11
|
-
enter: '
|
|
12
|
-
delete: '
|
|
11
|
+
enter: 'enter',
|
|
12
|
+
delete: 'del',
|
|
13
13
|
escape: 'esc',
|
|
14
14
|
up: '↑',
|
|
15
15
|
right: '→',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.cjs","sources":["../../../src/components/ShortcutKeys/utils.ts"],"sourcesContent":["import { ValidModifierKeys, ShortcutAction } from './types';\n\n// Map of UTF-16 characters to be used for modifier keys\nexport const ValidModifierKeysMap: Record<ValidModifierKeys, string> = {\n command: '⌘',\n windows: '⊞',\n shift: '
|
|
1
|
+
{"version":3,"file":"utils.cjs","sources":["../../../src/components/ShortcutKeys/utils.ts"],"sourcesContent":["import { ValidModifierKeys, ShortcutAction } from './types';\n\n// Map of UTF-16 characters to be used for modifier keys\nexport const ValidModifierKeysMap: Record<ValidModifierKeys, string> = {\n command: '⌘',\n windows: '⊞',\n shift: 'shift',\n ctrl: 'ctrl',\n option: 'option',\n alt: 'alt',\n enter: 'enter',\n delete: 'del',\n escape: 'esc',\n up: '↑',\n right: '→',\n down: '↓',\n left: '←',\n space: 'space',\n};\n\n// Map of labels to be used for modifier keys\nexport const ValidModifierKeyssLabelMap: Record<ValidModifierKeys, string> = {\n command: 'Command',\n windows: 'Windows',\n shift: 'Shift',\n ctrl: 'Control',\n option: 'Option',\n alt: 'Alt',\n enter: 'Enter',\n delete: 'Delete',\n escape: 'Escape',\n up: 'Up',\n right: 'Right',\n down: 'Down',\n left: 'Left',\n space: 'Space',\n};\n\n// An example array of potential shortcut actions\nexport const exampleStorybookShortcutActions: ShortcutAction[] = [\n {\n label: 'Shortcut modal',\n mac: 'shift+?',\n windows: 'shift+?',\n },\n {\n label: 'Change view',\n mac: 'ctrl+option+1',\n windows: 'ctrl+alt+1',\n },\n {\n label: 'Search',\n mac: 'ctrl+space',\n windows: 'ctrl+space',\n },\n {\n label: 'Select all orders in the page',\n mac: 'ctrl+a',\n windows: 'shift+a',\n },\n {\n label: 'Select first row',\n mac: 'shift+1',\n windows: 'shift+1',\n },\n {\n label: 'Next order',\n mac: 'down',\n windows: 'down',\n },\n {\n label: 'Slect next order',\n mac: 'shift+down',\n windows: 'shift+down',\n },\n {\n label: 'Previous order',\n mac: 'up',\n windows: 'up',\n },\n {\n label: 'Select previous order',\n mac: 'shift+up',\n windows: 'shift+up',\n },\n {\n label: 'Use scale',\n mac: 'shift+w',\n windows: 'shift+w',\n },\n {\n label: 'Refresh rates',\n mac: 'shift+r',\n windows: 'shift+r',\n },\n {\n label: 'Buy label and Print documents',\n mac: 'shift+b',\n windows: 'shift+b',\n },\n {\n label: 'Clear filters',\n mac: 'shift+c',\n windows: 'shift+c',\n },\n {\n label: 'Invoice',\n mac: 'shift+i',\n windows: 'shift+i',\n },\n {\n label: 'Packing slip',\n mac: 'delete+p',\n windows: 'delete+p',\n },\n {\n label: 'Shipping label',\n mac: 'enter+s',\n windows: 'enter+s',\n },\n {\n label: 'Return label',\n mac: 'shift+r',\n windows: 'shift+r',\n },\n {\n label: 'Integrated Invoice with Shipping label',\n mac: 'shift+k',\n windows: 'shift+k',\n },\n {\n label: 'Integrated Packing Slip with Shipping Label',\n mac: 'shift+l',\n windows: 'shift+l',\n },\n];\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,oBAAoB,GAAsC;AACrE,IAAA,OAAO,EAAE,GAAG;AACZ,IAAA,OAAO,EAAE,GAAG;AACZ,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,KAAK;AACb,IAAA,MAAM,EAAE,KAAK;AACb,IAAA,EAAE,EAAE,GAAG;AACP,IAAA,KAAK,EAAE,GAAG;AACV,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,KAAK,EAAE,OAAO;;AAGhB;AACa,MAAA,0BAA0B,GAAsC;AAC3E,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,EAAE,EAAE,IAAI;AACR,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,OAAO;;;;;;"}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
const ValidModifierKeysMap = {
|
|
3
3
|
command: '⌘',
|
|
4
4
|
windows: '⊞',
|
|
5
|
-
shift: '
|
|
6
|
-
ctrl: '
|
|
7
|
-
option: '
|
|
5
|
+
shift: 'shift',
|
|
6
|
+
ctrl: 'ctrl',
|
|
7
|
+
option: 'option',
|
|
8
8
|
alt: 'alt',
|
|
9
|
-
enter: '
|
|
10
|
-
delete: '
|
|
9
|
+
enter: 'enter',
|
|
10
|
+
delete: 'del',
|
|
11
11
|
escape: 'esc',
|
|
12
12
|
up: '↑',
|
|
13
13
|
right: '→',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../../src/components/ShortcutKeys/utils.ts"],"sourcesContent":["import { ValidModifierKeys, ShortcutAction } from './types';\n\n// Map of UTF-16 characters to be used for modifier keys\nexport const ValidModifierKeysMap: Record<ValidModifierKeys, string> = {\n command: '⌘',\n windows: '⊞',\n shift: '
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../src/components/ShortcutKeys/utils.ts"],"sourcesContent":["import { ValidModifierKeys, ShortcutAction } from './types';\n\n// Map of UTF-16 characters to be used for modifier keys\nexport const ValidModifierKeysMap: Record<ValidModifierKeys, string> = {\n command: '⌘',\n windows: '⊞',\n shift: 'shift',\n ctrl: 'ctrl',\n option: 'option',\n alt: 'alt',\n enter: 'enter',\n delete: 'del',\n escape: 'esc',\n up: '↑',\n right: '→',\n down: '↓',\n left: '←',\n space: 'space',\n};\n\n// Map of labels to be used for modifier keys\nexport const ValidModifierKeyssLabelMap: Record<ValidModifierKeys, string> = {\n command: 'Command',\n windows: 'Windows',\n shift: 'Shift',\n ctrl: 'Control',\n option: 'Option',\n alt: 'Alt',\n enter: 'Enter',\n delete: 'Delete',\n escape: 'Escape',\n up: 'Up',\n right: 'Right',\n down: 'Down',\n left: 'Left',\n space: 'Space',\n};\n\n// An example array of potential shortcut actions\nexport const exampleStorybookShortcutActions: ShortcutAction[] = [\n {\n label: 'Shortcut modal',\n mac: 'shift+?',\n windows: 'shift+?',\n },\n {\n label: 'Change view',\n mac: 'ctrl+option+1',\n windows: 'ctrl+alt+1',\n },\n {\n label: 'Search',\n mac: 'ctrl+space',\n windows: 'ctrl+space',\n },\n {\n label: 'Select all orders in the page',\n mac: 'ctrl+a',\n windows: 'shift+a',\n },\n {\n label: 'Select first row',\n mac: 'shift+1',\n windows: 'shift+1',\n },\n {\n label: 'Next order',\n mac: 'down',\n windows: 'down',\n },\n {\n label: 'Slect next order',\n mac: 'shift+down',\n windows: 'shift+down',\n },\n {\n label: 'Previous order',\n mac: 'up',\n windows: 'up',\n },\n {\n label: 'Select previous order',\n mac: 'shift+up',\n windows: 'shift+up',\n },\n {\n label: 'Use scale',\n mac: 'shift+w',\n windows: 'shift+w',\n },\n {\n label: 'Refresh rates',\n mac: 'shift+r',\n windows: 'shift+r',\n },\n {\n label: 'Buy label and Print documents',\n mac: 'shift+b',\n windows: 'shift+b',\n },\n {\n label: 'Clear filters',\n mac: 'shift+c',\n windows: 'shift+c',\n },\n {\n label: 'Invoice',\n mac: 'shift+i',\n windows: 'shift+i',\n },\n {\n label: 'Packing slip',\n mac: 'delete+p',\n windows: 'delete+p',\n },\n {\n label: 'Shipping label',\n mac: 'enter+s',\n windows: 'enter+s',\n },\n {\n label: 'Return label',\n mac: 'shift+r',\n windows: 'shift+r',\n },\n {\n label: 'Integrated Invoice with Shipping label',\n mac: 'shift+k',\n windows: 'shift+k',\n },\n {\n label: 'Integrated Packing Slip with Shipping Label',\n mac: 'shift+l',\n windows: 'shift+l',\n },\n];\n"],"names":[],"mappings":"AAEA;AACa,MAAA,oBAAoB,GAAsC;AACrE,IAAA,OAAO,EAAE,GAAG;AACZ,IAAA,OAAO,EAAE,GAAG;AACZ,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,KAAK;AACb,IAAA,MAAM,EAAE,KAAK;AACb,IAAA,EAAE,EAAE,GAAG;AACP,IAAA,KAAK,EAAE,GAAG;AACV,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,KAAK,EAAE,OAAO;;AAGhB;AACa,MAAA,0BAA0B,GAAsC;AAC3E,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,EAAE,EAAE,IAAI;AACR,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,OAAO;;;;;"}
|