models.gen.ts 848 B

1234567891011121314151617181920212223242526
  1. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. // NOTE: This file will be auto generated from models.cue
  3. // It is currenty hand written but will serve as the target for cuetsy
  4. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. import { CanvasElementOptions } from 'app/features/canvas';
  6. import { IconConfig } from 'app/features/canvas/elements/icon';
  7. import { ResourceDimensionMode } from 'app/features/dimensions';
  8. export interface PanelOptions {
  9. root: Omit<CanvasElementOptions<IconConfig>, 'type' | 'name'>; // type is forced
  10. }
  11. export const defaultPanelOptions: PanelOptions = {
  12. root: {
  13. config: {
  14. path: {
  15. mode: ResourceDimensionMode.Fixed,
  16. fixed: 'img/icons/unicons/analysis.svg',
  17. },
  18. fill: {
  19. fixed: 'green'
  20. }
  21. },
  22. },
  23. };