@nestio/pam 2.0.6 → 2.0.8

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.
Files changed (49) hide show
  1. package/examples/components/Select.jsx +38 -2
  2. package/examples/index.html +5 -0
  3. package/lib/components/Collapse.js +50 -0
  4. package/lib/components/MultiSelect.js +3 -1
  5. package/lib/components/MultiSelectOption.js +22 -3
  6. package/lib/components/OptionListSet.js +18 -3
  7. package/lib/components/SelectCore.js +84 -26
  8. package/lib/components/SelectOption.js +44 -11
  9. package/lib/components/SingleSelect.js +2 -0
  10. package/lib/components/TagBoxMenuSelect.js +2 -0
  11. package/lib/components/styles/MultiSelectOption.scss +4 -0
  12. package/lib/components/styles/SelectOption.scss +12 -0
  13. package/lib/components/styles/_variables.scss +1 -0
  14. package/lib/components/styles/icons/icons.css +1 -57
  15. package/lib/constants.js +7 -0
  16. package/package.json +7 -7
  17. package/src/components/Collapse.jsx +30 -0
  18. package/src/components/MultiSelect.jsx +2 -0
  19. package/src/components/MultiSelectOption.jsx +21 -3
  20. package/src/components/OptionListSet.jsx +15 -2
  21. package/src/components/SelectCore.jsx +62 -11
  22. package/src/components/SelectOption.jsx +27 -8
  23. package/src/components/SingleSelect.jsx +2 -0
  24. package/src/components/TagBoxMenuSelect.jsx +2 -0
  25. package/src/components/__tests__/Collapse.spec.js +26 -0
  26. package/src/components/__tests__/MultiSelectOption.spec.js +42 -2
  27. package/src/components/__tests__/OptionListSet.spec.js +40 -4
  28. package/src/components/__tests__/SelectCore.spec.js +103 -0
  29. package/src/components/__tests__/SelectOption.spec.js +33 -2
  30. package/src/components/__tests__/SingleSelectOption.spec.js +2 -1
  31. package/src/components/styles/MultiSelectOption.scss +4 -0
  32. package/src/components/styles/SelectOption.scss +12 -0
  33. package/src/components/styles/_variables.scss +1 -0
  34. package/src/components/styles/icons/icons.css +1 -57
  35. package/src/constants.js +2 -0
  36. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  37. package/.idea/inspectionProfiles/profiles_settings.xml +0 -6
  38. package/.idea/misc.xml +0 -4
  39. package/.idea/modules.xml +0 -8
  40. package/.idea/pam.iml +0 -15
  41. package/.idea/vcs.xml +0 -6
  42. package/lib/components/styles/icons/05a4d7fb.eot +0 -0
  43. package/lib/components/styles/icons/05a4d7fb.otf +0 -0
  44. package/lib/components/styles/icons/05a4d7fb.ttf +0 -0
  45. package/lib/components/styles/icons/05a4d7fb.woff +0 -0
  46. package/src/components/styles/icons/05a4d7fb.eot +0 -0
  47. package/src/components/styles/icons/05a4d7fb.otf +0 -0
  48. package/src/components/styles/icons/05a4d7fb.ttf +0 -0
  49. package/src/components/styles/icons/05a4d7fb.woff +0 -0
@@ -7,6 +7,7 @@ import SingleSelectOption from '../SingleSelectOption';
7
7
  import BasicMinLengthComponent from '../BasicMinLengthComponent';
8
8
  import BasicEmptyOptionComponent from '../BasicEmptyOptionComponent';
9
9
  import KEYS from '../../utils/keys';
10
+ import { OPTION_COLLAPSED, OPTION_NOT_COLLAPSED } from '../../constants';
10
11
 
11
12
  let defaultProps;
12
13
 
@@ -24,8 +25,12 @@ beforeEach(function(){
24
25
  toggleValue: jest.fn(),
25
26
  setIndex: jest.fn(),
26
27
  reference: React.createRef(),
27
- menuId: 'menu-1'
28
+ menuId: 'menu-1',
29
+ getCollapsibleState: () => null,
30
+ toggleCollapsedValue: jest.fn()
28
31
  };
32
+
33
+ Element.prototype.scrollIntoView = jest.fn();
29
34
  });
30
35
 
31
36
  describe('single option set', function(){
@@ -147,6 +152,7 @@ describe('keyboard functions', function() {
147
152
  });
148
153
 
149
154
  describe('move scrollbar position', function() {
155
+ const mockScrollIntoView = jest.fn();
150
156
 
151
157
  const mockReference = {
152
158
  current: {
@@ -156,12 +162,13 @@ describe('move scrollbar position', function() {
156
162
  return {
157
163
  nextSibling: {
158
164
  offsetTop: 100,
159
- offsetHeight: 50
165
+ offsetHeight: 50,
160
166
  },
161
167
  previousSibling: {
162
168
  offsetTop: 0,
163
- offsetHeight: 50
164
- }
169
+ offsetHeight: 50,
170
+ },
171
+ scrollIntoView: mockScrollIntoView,
165
172
  };
166
173
  }
167
174
  }
@@ -188,5 +195,34 @@ describe('move scrollbar position', function() {
188
195
  expect(mockReference.current.scrollTop).toEqual(0);
189
196
  });
190
197
 
198
+ it('should focus the active element on mount', function () {
199
+ jest.resetAllMocks();
200
+
201
+ defaultProps.reference = mockReference;
202
+ shallow(<OptionListSet {...defaultProps} />);
203
+
204
+ expect(mockScrollIntoView).toHaveBeenCalledTimes(1);
205
+ expect(mockScrollIntoView).toHaveBeenCalledWith({ block: 'nearest' });
206
+ });
191
207
  });
192
208
 
209
+
210
+ describe('collapsibleState', function(){
211
+ it('calls getCollapsibleState with the options and passes the result to the components', function(){
212
+ const getCollapsibleState = jest.fn().mockImplementation((value) => {
213
+ return value % 2 == 0 ? OPTION_COLLAPSED : OPTION_NOT_COLLAPSED;
214
+ });
215
+
216
+ const wrapper = mount(<OptionListSet {...defaultProps} getCollapsibleState={getCollapsibleState}/>);
217
+ expect(getCollapsibleState).toHaveBeenCalledTimes(2);
218
+ expect(getCollapsibleState).toHaveBeenCalledWith(basicOptions[0].value);
219
+ expect(getCollapsibleState).toHaveBeenCalledWith(basicOptions[1].value);
220
+
221
+ expect(
222
+ wrapper.find(SingleSelectOption).at(0).prop('collapsibleState')
223
+ ).toEqual(OPTION_NOT_COLLAPSED);
224
+ expect(
225
+ wrapper.find(SingleSelectOption).at(1).prop('collapsibleState')
226
+ ).toEqual(OPTION_COLLAPSED);
227
+ });
228
+ });
@@ -3,6 +3,8 @@ import { shallow, mount } from 'enzyme';
3
3
  import SelectCore, { PureSelectCore } from '../SelectCore';
4
4
  import SingleSelectValueAdapter from '../../adapters/SingleSelectValueAdapter';
5
5
  import MultiSelectValueAdapter from '../../adapters/MultiSelectValueAdapter';
6
+ import { OPTION_NOT_COLLAPSED, OPTION_COLLAPSED } from '../../constants';
7
+
6
8
  import { createFakeEvent } from 'test/utils/enzyme-utils';
7
9
 
8
10
  const MenuComponent = () => <ul></ul>;
@@ -490,6 +492,107 @@ describe('filtering options', function(){
490
492
  wrapper.instance()._getFilteredOptions();
491
493
  expect(mockFilterOption).toHaveBeenCalledTimes(4);
492
494
  });
495
+
496
+
497
+ it('calls onOptionsFiltered with filtered options', function(){
498
+ const onOptionsFiltered = jest.fn();
499
+ const wrapper = mount(<PureSelectCore {...defaultProps} filterOption={filterOption} onOptionsFiltered={onOptionsFiltered} />, {lifecycleExperimental: true});
500
+ wrapper.instance().changeText('Tw');
501
+ expect(onOptionsFiltered).toHaveBeenCalledTimes(1);
502
+ expect(onOptionsFiltered).toHaveBeenCalledWith([defaultProps.options[1]]);
503
+ wrapper.instance().changeText('');
504
+ expect(onOptionsFiltered).toHaveBeenCalledTimes(2);
505
+ expect(onOptionsFiltered).toHaveBeenCalledWith(defaultProps.options);
506
+ });
507
+
508
+ it('calls onChangeText with updated text', function(){
509
+ const onChangeText = jest.fn();
510
+ const wrapper = mount(<PureSelectCore {...defaultProps} filterOption={filterOption} onChangeText={onChangeText} />, {lifecycleExperimental: true});
511
+ wrapper.instance().changeText('Tw');
512
+ expect(onChangeText).toHaveBeenCalledTimes(1);
513
+ expect(onChangeText).toHaveBeenCalledWith('Tw');
514
+ wrapper.instance().changeText('');
515
+ expect(onChangeText).toHaveBeenCalledTimes(2);
516
+ expect(onChangeText).toHaveBeenCalledWith('');
517
+ });
518
+ });
519
+
520
+ describe('collapse behavior', function () {
521
+ const optionsWithCollapse = [{value: 1, label: 'One'}, {value: 2, label: 'Two', collapsedBy: 1}, {value: 3, label: 'Three', collapsedBy: 1}, {value: 4, label: 'Four'}, {value: 5, label: 'Five', collapsedBy: 4}]
522
+
523
+ describe('when there are no collapsibleOptions', function ( ) {
524
+ it('does not return collapsible state and does not filter options', function(){
525
+ const wrapper = shallow(<PureSelectCore {...defaultProps} options={optionsWithCollapse} />);
526
+ expect(wrapper.instance().getCollapsibleState(1)).toEqual(null)
527
+ expect(wrapper.instance().getCollapsibleState(2)).toEqual(null)
528
+ expect(wrapper.instance().getCollapsibleState(3)).toEqual(null)
529
+ expect(wrapper.instance().getCollapsibleState(4)).toEqual(null)
530
+ expect(wrapper.instance().getCollapsibleState(5)).toEqual(null)
531
+ expect(wrapper.instance()._getFilteredOptions()).toEqual(optionsWithCollapse);
532
+ wrapper.instance().toggleCollapsedValue(1);
533
+ expect(wrapper.instance().getCollapsibleState(1)).toEqual(null)
534
+ expect(wrapper.instance().getCollapsibleState(2)).toEqual(null)
535
+ expect(wrapper.instance().getCollapsibleState(3)).toEqual(null)
536
+ expect(wrapper.instance().getCollapsibleState(4)).toEqual(null)
537
+ expect(wrapper.instance().getCollapsibleState(5)).toEqual(null)
538
+ expect(wrapper.instance()._getFilteredOptions()).toEqual(optionsWithCollapse);
539
+ });
540
+ });
541
+
542
+ describe('when collapsibleOptions are provided but select is filtered', function () {
543
+ it('does not return collapsible state and does not filter options', function(){
544
+ const wrapper = shallow(<PureSelectCore {...defaultProps} options={optionsWithCollapse} collapsibleOptions={[1, 4]} />);
545
+ wrapper.instance().toggleCollapsedValue(1);
546
+ wrapper.instance().changeText('Tw');
547
+ expect(wrapper.instance().getCollapsibleState(1)).toEqual(null)
548
+ expect(wrapper.instance().getCollapsibleState(2)).toEqual(null)
549
+ expect(wrapper.instance().getCollapsibleState(3)).toEqual(null)
550
+ expect(wrapper.instance().getCollapsibleState(4)).toEqual(null)
551
+ expect(wrapper.instance().getCollapsibleState(5)).toEqual(null)
552
+ // becaused filtered, we are returning it even though its referenced by collapsedBy
553
+ expect(wrapper.instance()._getFilteredOptions()).toEqual([optionsWithCollapse[1]]);
554
+ });
555
+ });
556
+
557
+ describe('when collapsedValue is not one of the collapsibleOptions', function(){
558
+ it('returns null and not collapsed for others', function(){
559
+ const wrapper = shallow(<PureSelectCore {...defaultProps} options={optionsWithCollapse} collapsibleOptions={[1, 4]} />);
560
+ wrapper.instance().toggleCollapsedValue(2);
561
+ expect(wrapper.instance().getCollapsibleState(1)).toEqual(OPTION_NOT_COLLAPSED)
562
+ expect(wrapper.instance().getCollapsibleState(2)).toEqual(null)
563
+ expect(wrapper.instance().getCollapsibleState(3)).toEqual(null)
564
+ expect(wrapper.instance().getCollapsibleState(4)).toEqual(OPTION_NOT_COLLAPSED)
565
+ expect(wrapper.instance().getCollapsibleState(5)).toEqual(null)
566
+ expect(wrapper.instance()._getFilteredOptions()).toEqual(optionsWithCollapse);
567
+ });
568
+ })
569
+
570
+ describe('when value is collapsed', function() {
571
+ it('returns OPTION_COLLAPSED and filters out options with collapsedBy attribute', function () {
572
+ const wrapper = shallow(<PureSelectCore {...defaultProps} options={optionsWithCollapse} collapsibleOptions={[1, 4]} />);
573
+ wrapper.instance().toggleCollapsedValue(1);
574
+ expect(wrapper.instance().getCollapsibleState(1)).toEqual(OPTION_COLLAPSED)
575
+ expect(wrapper.instance().getCollapsibleState(2)).toEqual(null)
576
+ expect(wrapper.instance().getCollapsibleState(3)).toEqual(null)
577
+ expect(wrapper.instance().getCollapsibleState(4)).toEqual(OPTION_NOT_COLLAPSED)
578
+ expect(wrapper.instance().getCollapsibleState(5)).toEqual(null)
579
+ expect(wrapper.instance()._getFilteredOptions()).toEqual([optionsWithCollapse[0], optionsWithCollapse[3], optionsWithCollapse[4]]);
580
+ });
581
+ });
582
+
583
+ describe('when value is toggled', function() {
584
+ it('returns OPTION_NOT_COLLAPSED and does not filter out options with collapsedBy attribute', function(){
585
+ const wrapper = shallow(<PureSelectCore {...defaultProps} options={optionsWithCollapse} collapsibleOptions={[1, 4]} />);
586
+ wrapper.instance().toggleCollapsedValue(1);
587
+ wrapper.instance().toggleCollapsedValue(1);
588
+ expect(wrapper.instance().getCollapsibleState(1)).toEqual(OPTION_NOT_COLLAPSED)
589
+ expect(wrapper.instance().getCollapsibleState(2)).toEqual(null)
590
+ expect(wrapper.instance().getCollapsibleState(3)).toEqual(null)
591
+ expect(wrapper.instance().getCollapsibleState(4)).toEqual(OPTION_NOT_COLLAPSED)
592
+ expect(wrapper.instance().getCollapsibleState(5)).toEqual(null)
593
+ expect(wrapper.instance()._getFilteredOptions()).toEqual(optionsWithCollapse);
594
+ });
595
+ });
493
596
  });
494
597
 
495
598
  describe('render components', function(){
@@ -3,7 +3,8 @@ import { shallow } from 'enzyme';
3
3
 
4
4
  import { createFakeEvent } from 'test/utils/enzyme-utils';
5
5
  import SelectOption from '../SelectOption';
6
-
6
+ import Collapse from '../Collapse';
7
+ import { OPTION_NOT_COLLAPSED, OPTION_COLLAPSED } from '../../constants';
7
8
 
8
9
  let defaultProps;
9
10
 
@@ -17,7 +18,9 @@ beforeEach(function(){
17
18
  option: {value: 1, label: 'one'},
18
19
  unselectOnClick: true,
19
20
  renderOptionLabel: jest.fn(),
20
- index: 0
21
+ index: 0,
22
+ toggleCollapsedValue: jest.fn(),
23
+ collapsibleState: null
21
24
  };
22
25
  })
23
26
 
@@ -63,3 +66,31 @@ test('it triggers setIndex on mouse enter', () => {
63
66
  wrapper.find('li').simulate('mouseenter');
64
67
  expect(defaultProps.setIndex).toHaveBeenCalledTimes(1);
65
68
  });
69
+
70
+ test('it renders Collapse if collapsibleState is not null', function(){
71
+ const wrapper = shallow(<SelectOption {...defaultProps}><span /></SelectOption>);
72
+ expect(wrapper.find(Collapse).length).toEqual(0);
73
+ wrapper.setProps({collapsibleState: OPTION_COLLAPSED});
74
+ expect(wrapper.find(Collapse).length).toEqual(1);
75
+ expect(wrapper.find(Collapse).at(0).prop('collapsibleState')).toEqual(OPTION_COLLAPSED);
76
+
77
+ wrapper.setProps({collapsibleState: OPTION_NOT_COLLAPSED});
78
+ expect(wrapper.find(Collapse).length).toEqual(1);
79
+ expect(wrapper.find(Collapse).at(0).prop('collapsibleState')).toEqual(OPTION_NOT_COLLAPSED);
80
+ });
81
+
82
+ test('clicking on Collapse calls toggleCollapsedValue', function(){
83
+ const wrapper = shallow(<SelectOption {...defaultProps} collapsibleState={OPTION_COLLAPSED}><span /></SelectOption>);
84
+ expect(defaultProps.toggleCollapsedValue).not.toHaveBeenCalled();
85
+ const e = {stopPropagation: jest.fn(), nativeEvent: { stopImmediatePropagation: jest.fn()}};
86
+ wrapper.find(Collapse).at(0).simulate('click', e);
87
+ expect(defaultProps.toggleCollapsedValue).toHaveBeenCalledWith(defaultProps.option.value);
88
+ expect(e.stopPropagation).toHaveBeenCalled();
89
+ expect(e.nativeEvent.stopImmediatePropagation).toHaveBeenCalled();
90
+ });
91
+
92
+ test('adds classname if option.optionClassName', function(){
93
+ const option = {label: 'One', value: 1, optionClassName: 'some-class'};
94
+ const wrapper = shallow(<SelectOption {...defaultProps} option={option}><span /></SelectOption>);
95
+ expect(wrapper.find('li').hasClass('some-class')).toBe(true);
96
+ });
@@ -15,7 +15,8 @@ const getDefaultProps = () => ({
15
15
  option: {value: 1, label: 'one'},
16
16
  isHighlighted: false,
17
17
  index: 0,
18
- setIndex: sinon.spy()
18
+ setIndex: sinon.spy(),
19
+ toggleCollapsedValue: jest.fn()
19
20
  });
20
21
 
21
22
  test('it passes the correct classnames based on props', () => {
@@ -5,6 +5,10 @@
5
5
  padding-left: 2 * $select-padding;
6
6
  }
7
7
 
8
+ .option__indented {
9
+ padding-left: 45px;
10
+ }
11
+
8
12
  .highlighted {
9
13
  composes: highlighted from "./SelectOption.scss";
10
14
  }
@@ -18,7 +18,19 @@
18
18
  }
19
19
  }
20
20
 
21
+
21
22
  .highlighted {
22
23
  background-color: $select-hover-background-color;
23
24
  color: $select-hover-text-color;
24
25
  }
26
+
27
+ .collapse {
28
+ vertical-align: top;
29
+ padding-right: 8px;
30
+ width: 16px;
31
+ display: inline-block;
32
+ }
33
+
34
+ .option .collapse-icon {
35
+ font-size: 10px;
36
+ }
@@ -34,3 +34,4 @@ $select-hover-background-color: $pam-primary-four;
34
34
  $select-hover-text-color: $pam-primary-one;
35
35
  $select-selected-background-color: $pam-primary-one;
36
36
  $select-selected-text-color: $white;
37
+ $collapse-width: 16px;
@@ -1,57 +1 @@
1
- @font-face {
2
- font-family: 'Pam';
3
- src: url('./05a4d7fb.eot');
4
- src: url('./05a4d7fb.eot?#iefix') format('embedded-opentype'),
5
- url('./05a4d7fb.woff') format('woff'),
6
- url('./05a4d7fb.ttf') format('truetype'),
7
- url('./05a4d7fb.otf') format('opentype');
8
- font-weight: normal;
9
- font-style: normal;
10
- }
11
-
12
- .pamicon {
13
- display: inline-block;
14
- font: normal normal normal 14px/1 'Pam';
15
- font-size: inherit;
16
- text-rendering: auto;
17
- -webkit-font-smoothing: antialiased;
18
- -moz-osx-font-smoothing: grayscale;
19
- }
20
-
21
- .pamicon-lg {
22
- font-size: 1.33333333em;
23
- line-height: 0.75em;
24
- vertical-align: -15%;
25
- }
26
-
27
- .pamicon-2x {
28
- font-size: 2em;
29
- }
30
-
31
- .pamicon-3x {
32
- font-size: 3em;
33
- }
34
-
35
- .pamicon-4x {
36
- font-size: 4em;
37
- }
38
-
39
- .pamicon-5x {
40
- font-size: 5em;
41
- }
42
-
43
- .pamicon-checkbox-checked:before {
44
- content: '\f000';
45
- }
46
-
47
- .pamicon-checkbox-unchecked:before {
48
- content: '\f001';
49
- }
50
-
51
- .pamicon-triangle-down:before {
52
- content: '\f002';
53
- }
54
-
55
- .pamicon-checkbox-intermediate:before {
56
- content: '\f003';
57
- }
1
+ @font-face{font-family:Pam;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAATQAA0AAAAABsgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAEtAAAABoAAAAcks96/k9TLzIAAAGgAAAARQAAAGAQ+ZEfY21hcAAAAggAAABRAAABWuAdGx9jdnQgAAACXAAAAAQAAAAEACECf2dhc3AAAASsAAAACAAAAAj//wADZ2x5ZgAAAngAAADxAAABNEdgU4hoZWFkAAABMAAAADAAAAA2HSPkrWhoZWEAAAFgAAAAHgAAACQHrQSMaG10eAAAAegAAAAeAAAAMCG7ACFsb2NhAAACYAAAABgAAAAaAfQBvG1heHAAAAGAAAAAHwAAACAAUAA7bmFtZQAAA2wAAAD1AAABlVlRUkBwb3N0AAAEZAAAAEgAAAByU/Amd3jaY2BkYGAAYsH2usp4fpuvDNzMH4AiDHe5AioQ9P8C5g/MCUAuBwMTSBQAI7oKXHjaY2BkYGBOYJjAEM38gYHh/38gCRRBATwAeuwFQQAAeNpjYGRgYOBh4GJgYgABEMnIABJzYNADCQAABYsAjAB42mNgYS5knMDAysDA1M90kIGBoRdCMz5mMGJkAYoysDIzwACjAAMaaGBg+MDKnPC/gCGaOYFhApDLiCSrwMAIADXCCrEAAAB42mPMYVBkAALGAAYG5g+YmOkzgmasZGAAAMeCCPYAAHjaY2BgYGaAYBkGRgYQCAHyGMF8FgYLIM3FwMHABIQMDLwMCh9Y//8HqwKxGYBs5v/f/z8VYIPqhQJGNoiRYDZIJwsDKgCqZmUY3gAAnJMLMAAAAAAhAn942mNgYNBCgm4MMQxZDA0MfQyzAB+6A7F42m2OsUrDYBSFz7nXNEQc8gvFjv2REnBQsLhlcMxTlAwdM3TOA3Ry6CMEJ9fkCcSlL+EgDkUEpUPGJPX/oYKDw4XLOfc750JgAV5JBUWI65q4SZvwBF+39Sh4TRsVt6JWLwdebsIRu7Sh1+fGmmRuLi2jj+1Wqj63sgAEOKx0rzkCRMCMCZOQ7pYvfCiGt8dC0y7OjrucdrHugb+c/wUX1tiZozLNu0qfHKF59ntLN4W03HnKWEo7rLkb1v/k8M6OfbtO+meddDGnm43cH4N8zqe0svRURMuSZX8mS5/kvMM3S3n33tiQ5bmv+QHc5E1JAAAAeNpVjjFqw0AQRZ8s2SEQUocUYbtUcqQN2GDSmICbNMaFexVCGGwJVjI+Q26SKqTIOXKBlLlIvqxpvMvsvpnZ+X+BWz6JGNYN98YRMU/GI654NY554N04UfZlPNbsj/FE9T9FlFwruztP9Ryp82g8ku+zccwLb8aJ3nwYjzX7bTzR/mVFQ6DDseRESav8oJtVEzq3PJVtc1C2plCZdaFjo3bFkb1qQWlZHfeFoJeqJTVIVnrl8EzJdC8Ug8bAM1LmCq+uJ+/t6k6WVen8NHMLJyeds3Se+sznlx/YSjrop7uzodP4YMK2DO2uqV0uiYuRf+FJNRMAAAB42mNgYgCD/00MRgzYAA8QMzIwMTIxMjMwM7IwsjKyMbIzcjBysviF+vgwOQexl+ZluhkYGEBpQyhtBKWNobQJlDYFAGghENcAAAAB//8AAnjaY2BgYGQAghu7bvGC6LtcARUwGgBF4AXZAAA=) format('woff');font-weight:400;font-style:normal}.pamicon{display:inline-block;font:normal normal normal 14px/1 Pam;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pamicon-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.pamicon-2x{font-size:2em}.pamicon-3x{font-size:3em}.pamicon-4x{font-size:4em}.pamicon-5x{font-size:5em}.pamicon-checkbox-checked:before{content:'\f000'}.pamicon-checkbox-unchecked:before{content:'\f001'}.pamicon-triangle-down:before{content:'\f002'}.pamicon-checkbox-intermediate:before{content:'\f003'}.pamicon-triangle-up:before{content:'\f004'}.pamicon-triangle-right:before{content:'\f005'}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
@@ -0,0 +1,2 @@
1
+ export const OPTION_COLLAPSED = 'option-collapsed';
2
+ export const OPTION_NOT_COLLAPSED = 'option-not-collapsed';
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
- </profile>
6
- </component>
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <settings>
3
- <option name="USE_PROJECT_PROFILE" value="false" />
4
- <version value="1.0" />
5
- </settings>
6
- </component>
package/.idea/misc.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
4
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/pam.iml" filepath="$PROJECT_DIR$/.idea/pam.iml" />
6
- </modules>
7
- </component>
8
- </project>
package/.idea/pam.iml DELETED
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="PYTHON_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- <component name="TemplatesService">
9
- <option name="TEMPLATE_FOLDERS">
10
- <list>
11
- <option value="$MODULE_DIR$/node_modules/istanbul-reports/lib/html/templates" />
12
- </list>
13
- </option>
14
- </component>
15
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>