@omegagrid/bundle 0.8.4 → 0.9.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/icons.ts CHANGED
@@ -8,6 +8,7 @@ import * as fasBuilding from '@fortawesome/pro-solid-svg-icons/faBuilding';
8
8
  import * as fasFilter from '@fortawesome/pro-solid-svg-icons/faFilter';
9
9
  import * as fasDownload from '@fortawesome/pro-solid-svg-icons/faDownload';
10
10
  import * as fasAngleDown from '@fortawesome/pro-solid-svg-icons/faAngleDown';
11
+ import * as fasAngleRight from '@fortawesome/pro-solid-svg-icons/faAngleRight';
11
12
  import * as fasAngleUp from '@fortawesome/pro-solid-svg-icons/faAngleUp';
12
13
  import * as fasCaretUp from '@fortawesome/pro-solid-svg-icons/faCaretUp';
13
14
  import * as fasCaretDown from '@fortawesome/pro-solid-svg-icons/faCaretDown';
@@ -142,6 +143,7 @@ import * as falBuilding from '@fortawesome/pro-light-svg-icons/faBuilding';
142
143
  import * as falFilter from '@fortawesome/pro-light-svg-icons/faFilter';
143
144
  import * as falDownload from '@fortawesome/pro-light-svg-icons/faDownload';
144
145
  import * as falAngleDown from '@fortawesome/pro-light-svg-icons/faAngleDown';
146
+ import * as falAngleRight from '@fortawesome/pro-light-svg-icons/faAngleRight';
145
147
  import * as falAngleUp from '@fortawesome/pro-light-svg-icons/faAngleUp';
146
148
  import * as falCaretUp from '@fortawesome/pro-light-svg-icons/faCaretUp';
147
149
  import * as falCaretDown from '@fortawesome/pro-light-svg-icons/faCaretDown';
@@ -402,6 +404,7 @@ const fasIcons: IconDefinition[] = [
402
404
  fasCircle7.definition,
403
405
  fasCircle8.definition,
404
406
  fasCircle9.definition,
407
+ fasAngleRight.definition
405
408
  ];
406
409
 
407
410
  const falIcons: IconDefinition[] = [
@@ -538,6 +541,7 @@ const falIcons: IconDefinition[] = [
538
541
  falCircle7.definition,
539
542
  falCircle8.definition,
540
543
  falCircle9.definition,
544
+ falAngleRight.definition
541
545
  ];
542
546
 
543
547
  export const registerIcons = () => {
package/omegagrid.d.ts CHANGED
@@ -1314,17 +1314,17 @@ declare type CommandFunction = (...params: string[]) => void;
1314
1314
  declare type CommandRenderer = (div: HTMLDivElement, command: Command) => string | TemplateResult<1> | null;
1315
1315
 
1316
1316
  declare class Commands {
1317
- readonly sections: Map<string, CommandSection>;
1317
+ readonly sections: Map<string, CommandGroup>;
1318
1318
  get count(): number;
1319
1319
  constructor(commands?: Partial<Command>[]);
1320
1320
  clear(): this;
1321
- registerSection(section: Partial<CommandSection>, append?: boolean): CommandSection;
1321
+ registerSection(section: Partial<CommandGroup>, append?: boolean): CommandGroup;
1322
1322
  removeSection(sectionId: string): void;
1323
1323
  register(command: Partial<Command>): void;
1324
1324
  remove(name: string): void;
1325
1325
  get(name: string): Command;
1326
1326
  exec(command: string, ...params: string[]): void;
1327
- filter(term?: string, includeSections?: boolean, emptySections?: boolean): (CommandSection | Command)[];
1327
+ filter(term?: string, includeSections?: boolean, emptySections?: boolean): (CommandGroup | Command)[];
1328
1328
  merge(commands: Commands): Commands;
1329
1329
  }
1330
1330
 
@@ -1335,7 +1335,7 @@ export declare namespace commands {
1335
1335
  SectionRenderer,
1336
1336
  CommandWindow,
1337
1337
  CommandFunction,
1338
- CommandSection,
1338
+ CommandGroup,
1339
1339
  Command,
1340
1340
  Commands,
1341
1341
  CommandsAdapter
@@ -1343,11 +1343,11 @@ export declare namespace commands {
1343
1343
  }
1344
1344
 
1345
1345
  declare abstract class CommandsAdapter extends ComponentAdapter {
1346
- abstract getSections(filter?: string): CommandSection[] | Promise<CommandSection[]>;
1346
+ abstract getSections(filter?: string): CommandGroup[] | Promise<CommandGroup[]>;
1347
1347
  abstract getCommands(sectionId: string, filter?: string): Command[] | Promise<Command[]>;
1348
1348
  }
1349
1349
 
1350
- declare class CommandSection {
1350
+ declare class CommandGroup {
1351
1351
  readonly id: string;
1352
1352
  readonly name: string;
1353
1353
  readonly commands: Map<string, Command>;
@@ -6133,7 +6133,7 @@ declare function sec(x: number): number;
6133
6133
 
6134
6134
  declare function sech(x: number): number;
6135
6135
 
6136
- declare type SectionRenderer = (div: HTMLDivElement, section: CommandSection) => string | TemplateResult<1> | null;
6136
+ declare type SectionRenderer = (div: HTMLDivElement, section: CommandGroup) => string | TemplateResult<1> | null;
6137
6137
 
6138
6138
  declare type SelectedItemParams = {
6139
6139
  levels: Map<number, boolean>;