@nestio/pam 2.0.5 → 2.0.7
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/README.md +26 -0
- package/examples/components/Select.jsx +38 -0
- package/examples/index.html +5 -0
- package/lib/components/Collapse.js +50 -0
- package/lib/components/MultiSelect.js +5 -1
- package/lib/components/MultiSelectOption.js +22 -3
- package/lib/components/OptionListSet.js +11 -3
- package/lib/components/SelectCore.js +84 -26
- package/lib/components/SelectOption.js +44 -11
- package/lib/components/SingleSelect.js +2 -0
- package/lib/components/TagBoxMenuSelect.js +2 -0
- package/lib/components/styles/MultiSelectOption.scss +4 -0
- package/lib/components/styles/SelectOption.scss +12 -0
- package/lib/components/styles/_variables.scss +1 -0
- package/lib/components/styles/icons/icons.css +1 -57
- package/lib/constants.js +7 -0
- package/package.json +3 -3
- package/src/components/Collapse.jsx +30 -0
- package/src/components/MultiSelect.jsx +4 -0
- package/src/components/MultiSelectOption.jsx +21 -3
- package/src/components/OptionListSet.jsx +9 -2
- package/src/components/SelectCore.jsx +62 -11
- package/src/components/SelectOption.jsx +27 -8
- package/src/components/SingleSelect.jsx +2 -0
- package/src/components/TagBoxMenuSelect.jsx +2 -0
- package/src/components/__tests__/Collapse.spec.js +26 -0
- package/src/components/__tests__/MultiSelect.spec.js +2 -0
- package/src/components/__tests__/MultiSelectOption.spec.js +42 -2
- package/src/components/__tests__/OptionListSet.spec.js +24 -1
- package/src/components/__tests__/SelectCore.spec.js +103 -0
- package/src/components/__tests__/SelectOption.spec.js +33 -2
- package/src/components/__tests__/SingleSelectOption.spec.js +2 -1
- package/src/components/styles/MultiSelectOption.scss +4 -0
- package/src/components/styles/SelectOption.scss +12 -0
- package/src/components/styles/_variables.scss +1 -0
- package/src/components/styles/icons/icons.css +1 -57
- package/src/constants.js +2 -0
- package/.idea/inspectionProfiles/profiles_settings.xml +0 -6
- package/.idea/misc.xml +0 -7
- package/.idea/modules.xml +0 -8
- package/.idea/pam.iml +0 -11
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -78
- package/lib/components/styles/icons/05a4d7fb.eot +0 -0
- package/lib/components/styles/icons/05a4d7fb.otf +0 -0
- package/lib/components/styles/icons/05a4d7fb.ttf +0 -0
- package/lib/components/styles/icons/05a4d7fb.woff +0 -0
- package/src/components/styles/icons/05a4d7fb.eot +0 -0
- package/src/components/styles/icons/05a4d7fb.otf +0 -0
- package/src/components/styles/icons/05a4d7fb.ttf +0 -0
- package/src/components/styles/icons/05a4d7fb.woff +0 -0
|
@@ -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', () => {
|
|
@@ -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
|
+
}
|
|
@@ -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}
|
package/src/constants.js
ADDED
package/.idea/misc.xml
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="JavaScriptSettings">
|
|
4
|
-
<option name="languageLevel" value="JSX" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7" project-jdk-type="Python SDK" />
|
|
7
|
-
</project>
|
package/.idea/modules.xml
DELETED
package/.idea/pam.iml
DELETED
|
@@ -1,11 +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="TestRunnerService">
|
|
9
|
-
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
|
|
10
|
-
</component>
|
|
11
|
-
</module>
|
package/.idea/vcs.xml
DELETED
package/.idea/workspace.xml
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="0ce950e5-99fb-4b22-8833-cd7b6e5400c3" name="Default Changelist" comment="" />
|
|
5
|
-
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
6
|
-
<option name="SHOW_DIALOG" value="false" />
|
|
7
|
-
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
8
|
-
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
9
|
-
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
10
|
-
</component>
|
|
11
|
-
<component name="Git.Settings">
|
|
12
|
-
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
13
|
-
</component>
|
|
14
|
-
<component name="ProjectId" id="1UbxrIuufXKLXI4gtvd2OjuX63N" />
|
|
15
|
-
<component name="PropertiesComponent">
|
|
16
|
-
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
17
|
-
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
18
|
-
<property name="node.js.detected.package.eslint" value="true" />
|
|
19
|
-
<property name="node.js.detected.package.tslint" value="true" />
|
|
20
|
-
<property name="node.js.path.for.package.eslint" value="project" />
|
|
21
|
-
<property name="node.js.path.for.package.tslint" value="project" />
|
|
22
|
-
<property name="node.js.selected.package.eslint" value="(autodetect)" />
|
|
23
|
-
<property name="node.js.selected.package.tslint" value="(autodetect)" />
|
|
24
|
-
<property name="nodejs_package_manager_path" value="npm" />
|
|
25
|
-
</component>
|
|
26
|
-
<component name="RunDashboard">
|
|
27
|
-
<option name="ruleStates">
|
|
28
|
-
<list>
|
|
29
|
-
<RuleState>
|
|
30
|
-
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
|
31
|
-
</RuleState>
|
|
32
|
-
<RuleState>
|
|
33
|
-
<option name="name" value="StatusDashboardGroupingRule" />
|
|
34
|
-
</RuleState>
|
|
35
|
-
</list>
|
|
36
|
-
</option>
|
|
37
|
-
</component>
|
|
38
|
-
<component name="SvnConfiguration">
|
|
39
|
-
<configuration />
|
|
40
|
-
</component>
|
|
41
|
-
<component name="TaskManager">
|
|
42
|
-
<task active="true" id="Default" summary="Default task">
|
|
43
|
-
<changelist id="0ce950e5-99fb-4b22-8833-cd7b6e5400c3" name="Default Changelist" comment="" />
|
|
44
|
-
<created>1575639292692</created>
|
|
45
|
-
<option name="number" value="Default" />
|
|
46
|
-
<option name="presentableId" value="Default" />
|
|
47
|
-
<updated>1575639292692</updated>
|
|
48
|
-
<workItem from="1575639294221" duration="3545000" />
|
|
49
|
-
<workItem from="1580830244146" duration="2048000" />
|
|
50
|
-
<workItem from="1580986864830" duration="2200000" />
|
|
51
|
-
<workItem from="1581072862571" duration="667000" />
|
|
52
|
-
<workItem from="1581095473051" duration="373000" />
|
|
53
|
-
<workItem from="1581339273237" duration="505000" />
|
|
54
|
-
<workItem from="1581603079301" duration="8154000" />
|
|
55
|
-
<workItem from="1581676368774" duration="330000" />
|
|
56
|
-
<workItem from="1581696868280" duration="446000" />
|
|
57
|
-
<workItem from="1593511634498" duration="734000" />
|
|
58
|
-
<workItem from="1604578321052" duration="4193000" />
|
|
59
|
-
</task>
|
|
60
|
-
<servers />
|
|
61
|
-
</component>
|
|
62
|
-
<component name="TypeScriptGeneratedFilesManager">
|
|
63
|
-
<option name="version" value="1" />
|
|
64
|
-
</component>
|
|
65
|
-
<component name="Vcs.Log.Tabs.Properties">
|
|
66
|
-
<option name="TAB_STATES">
|
|
67
|
-
<map>
|
|
68
|
-
<entry key="MAIN">
|
|
69
|
-
<value>
|
|
70
|
-
<State>
|
|
71
|
-
<option name="COLUMN_ORDER" />
|
|
72
|
-
</State>
|
|
73
|
-
</value>
|
|
74
|
-
</entry>
|
|
75
|
-
</map>
|
|
76
|
-
</option>
|
|
77
|
-
</component>
|
|
78
|
-
</project>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|