@lvce-editor/settings-view 2.6.0 → 2.8.0
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/settingsViewWorkerMain.js +35 -17
- package/package.json +1 -1
|
@@ -1724,6 +1724,23 @@ const getKeyBindings$1 = () => {
|
|
|
1724
1724
|
}];
|
|
1725
1725
|
};
|
|
1726
1726
|
|
|
1727
|
+
const ClientX = 'event.clientX';
|
|
1728
|
+
const ClientY = 'event.clientY';
|
|
1729
|
+
const DeltaY = 'event.deltaY';
|
|
1730
|
+
const TargetName = 'event.target.name';
|
|
1731
|
+
const TargetValue = 'event.target.value';
|
|
1732
|
+
|
|
1733
|
+
const Script = 2;
|
|
1734
|
+
|
|
1735
|
+
const SettingsFilter = 94;
|
|
1736
|
+
|
|
1737
|
+
const None$1 = 0;
|
|
1738
|
+
|
|
1739
|
+
const DebugWorker = 55;
|
|
1740
|
+
const RendererWorker$1 = 1;
|
|
1741
|
+
|
|
1742
|
+
const SetCss = 'Viewlet.setCss';
|
|
1743
|
+
|
|
1727
1744
|
const emptyObject = {};
|
|
1728
1745
|
const RE_PLACEHOLDER = /\{(PH\d+)\}/g;
|
|
1729
1746
|
const i18nString = (key, placeholders = emptyObject) => {
|
|
@@ -2860,67 +2877,66 @@ const tag = () => {
|
|
|
2860
2877
|
const getMenuEntries = () => {
|
|
2861
2878
|
return [{
|
|
2862
2879
|
command: 'Settings.filter.advanced',
|
|
2880
|
+
flags: None$1,
|
|
2863
2881
|
id: 'filter-advanced',
|
|
2864
2882
|
label: advanced()
|
|
2865
2883
|
}, {
|
|
2866
2884
|
command: 'Settings.filter.experimental',
|
|
2885
|
+
flags: None$1,
|
|
2867
2886
|
id: 'filter-experimental',
|
|
2868
2887
|
label: experimental()
|
|
2869
2888
|
}, {
|
|
2870
2889
|
command: 'Settings.filter.extensionId',
|
|
2890
|
+
flags: None$1,
|
|
2871
2891
|
id: 'filter-extensionId',
|
|
2872
2892
|
label: extensionId()
|
|
2873
2893
|
}, {
|
|
2874
2894
|
command: 'Settings.filter.feature',
|
|
2895
|
+
flags: None$1,
|
|
2875
2896
|
id: 'filter-feature',
|
|
2876
2897
|
label: feature()
|
|
2877
2898
|
}, {
|
|
2878
2899
|
command: 'Settings.filter.language',
|
|
2900
|
+
flags: None$1,
|
|
2879
2901
|
id: 'filter-language',
|
|
2880
2902
|
label: language()
|
|
2881
2903
|
}, {
|
|
2882
2904
|
command: 'Settings.filter.modified',
|
|
2905
|
+
flags: None$1,
|
|
2883
2906
|
id: 'filter-modified',
|
|
2884
2907
|
label: modified()
|
|
2885
2908
|
}, {
|
|
2886
2909
|
command: 'Settings.filter.preview',
|
|
2910
|
+
flags: None$1,
|
|
2887
2911
|
id: 'filter-preview',
|
|
2888
2912
|
label: preview()
|
|
2889
2913
|
}, {
|
|
2890
2914
|
command: 'Settings.filter.settingId',
|
|
2915
|
+
flags: None$1,
|
|
2891
2916
|
id: 'filter-settingId',
|
|
2892
2917
|
label: settingId()
|
|
2893
2918
|
}, {
|
|
2894
2919
|
command: 'Settings.filter.stable',
|
|
2920
|
+
flags: None$1,
|
|
2895
2921
|
id: 'filter-stable',
|
|
2896
2922
|
label: stable()
|
|
2897
2923
|
}, {
|
|
2898
2924
|
command: 'Settings.filter.tag',
|
|
2925
|
+
flags: None$1,
|
|
2899
2926
|
id: 'filter-tag',
|
|
2900
2927
|
label: tag()
|
|
2901
2928
|
}];
|
|
2902
2929
|
};
|
|
2903
2930
|
|
|
2931
|
+
const getMenuIds = () => {
|
|
2932
|
+
return [SettingsFilter];
|
|
2933
|
+
};
|
|
2934
|
+
|
|
2904
2935
|
const getName = () => {
|
|
2905
2936
|
// TODO i18n string
|
|
2906
2937
|
return 'Settings';
|
|
2907
2938
|
};
|
|
2908
2939
|
|
|
2909
|
-
const ClientX = 'event.clientX';
|
|
2910
|
-
const ClientY = 'event.clientY';
|
|
2911
|
-
const DeltaY = 'event.deltaY';
|
|
2912
|
-
const TargetName = 'event.target.name';
|
|
2913
|
-
const TargetValue = 'event.target.value';
|
|
2914
|
-
|
|
2915
|
-
const Script = 2;
|
|
2916
|
-
|
|
2917
|
-
const SettingsFilter = 94;
|
|
2918
|
-
|
|
2919
|
-
const DebugWorker = 55;
|
|
2920
|
-
const RendererWorker$1 = 1;
|
|
2921
|
-
|
|
2922
|
-
const SetCss = 'Viewlet.setCss';
|
|
2923
|
-
|
|
2924
2940
|
const rpcs = Object.create(null);
|
|
2925
2941
|
const set$2 = (id, rpc) => {
|
|
2926
2942
|
rpcs[id] = rpc;
|
|
@@ -4972,12 +4988,13 @@ const {
|
|
|
4972
4988
|
} = ClassNames;
|
|
4973
4989
|
const CheckBox = 'CheckBox';
|
|
4974
4990
|
const ErrorMessage = 'ErrorMessage';
|
|
4991
|
+
const InputBadge = 'InputBadge';
|
|
4975
4992
|
const InputBox = 'InputBox';
|
|
4976
4993
|
const InputBoxError = 'InputBoxError';
|
|
4977
|
-
const InputBadge = 'InputBadge';
|
|
4978
4994
|
const Label = 'Label';
|
|
4979
4995
|
const MaskIcon = 'MaskIcon';
|
|
4980
4996
|
const MaskIconClearAll = 'MaskIconClearAll';
|
|
4997
|
+
const MaskIconFilter = 'MaskIconFilter';
|
|
4981
4998
|
const ModifiedIndicator = 'ModifiedIndicator';
|
|
4982
4999
|
const Resizer = 'Resizer';
|
|
4983
5000
|
const ResizerHighlight = 'ResizerHighlight';
|
|
@@ -5058,7 +5075,7 @@ const getClearButtonDom = hasSearchValue => {
|
|
|
5058
5075
|
|
|
5059
5076
|
const filterIcon = {
|
|
5060
5077
|
childCount: 0,
|
|
5061
|
-
className: MaskIcon,
|
|
5078
|
+
className: mergeClassNames(MaskIcon, MaskIconFilter),
|
|
5062
5079
|
type: Div
|
|
5063
5080
|
};
|
|
5064
5081
|
const getFilterButtonDom = () => {
|
|
@@ -5736,6 +5753,7 @@ const commandMap = {
|
|
|
5736
5753
|
'Settings.getCommandIds': getCommandIds,
|
|
5737
5754
|
'Settings.getKeyBindings': getKeyBindings$1,
|
|
5738
5755
|
'Settings.getMenuEntries': getMenuEntries,
|
|
5756
|
+
'Settings.getMenuIds': getMenuIds,
|
|
5739
5757
|
'Settings.getName': getName,
|
|
5740
5758
|
'Settings.handleClickFilterButton': wrapCommand(handleClickFilterButton),
|
|
5741
5759
|
'Settings.handleClickTab': wrapCommand(handleClickTab),
|