@gisce/react-ooui 2.65.0 → 2.66.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.
@@ -1,11 +1,12 @@
1
1
  import { WidgetProps } from '../../*/types';
2
2
  type ArrowStepsFieldProps = WidgetProps;
3
+ export type ArrowStepsValue = Array<{
4
+ title: string;
5
+ active: boolean;
6
+ icon?: string;
7
+ }>;
3
8
  type ArrowStepsProps = {
4
- value?: Array<{
5
- title: string;
6
- active: boolean;
7
- icon?: string;
8
- }>;
9
+ value?: ArrowStepsValue;
9
10
  };
10
11
  export declare const ArrowSteps: (props: ArrowStepsProps) => import("react/jsx-runtime").JSX.Element;
11
12
  export declare const ArrowStepsField: (props: ArrowStepsFieldProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ArrowSteps.d.ts","sourceRoot":"","sources":["../../../src/widgets/custom/ArrowSteps.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,KAAK,oBAAoB,GAAG,WAAW,CAAC;AAExC,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,eAAe,4CAgFhD,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,oBAAoB,4CAM1D,CAAC"}
1
+ {"version":3,"file":"ArrowSteps.d.ts","sourceRoot":"","sources":["../../../src/widgets/custom/ArrowSteps.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,KAAK,oBAAoB,GAAG,WAAW,CAAC;AAExC,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,eAAe,4CAgFhD,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,oBAAoB,4CAM1D,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import { Steps as StepsOoui } from "@gisce/ooui";
2
+ import { ArrowStepsValue } from '../../*/widgets/custom/ArrowSteps';
2
3
  type StepsProps = {
3
4
  ooui: StepsOoui;
4
5
  value: any;
5
6
  };
6
7
  export declare const Steps: (props: StepsProps) => import("react/jsx-runtime").JSX.Element;
7
8
  type StepsInputProps = StepsProps & {
8
- value?: any;
9
+ value?: Map<string, string> | ArrowStepsValue;
9
10
  };
10
11
  export declare const StepsInput: (props: StepsInputProps) => import("react/jsx-runtime").JSX.Element;
11
12
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../../../src/widgets/custom/Steps.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AAEjD,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,GAAG,CAAC;CACZ,CAAC;AAIF,eAAO,MAAM,KAAK,UAAW,UAAU,4CAStC,CAAC;AAEF,KAAK,eAAe,GAAG,UAAU,GAAG;IAClC,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,eAAe,4CA8BhD,CAAC"}
1
+ {"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../../../src/widgets/custom/Steps.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,GAAG,CAAC;CACZ,CAAC;AAIF,eAAO,MAAM,KAAK,UAAW,UAAU,4CAStC,CAAC;AAEF,KAAK,eAAe,GAAG,UAAU,GAAG;IAClC,KAAK,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,eAAe,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,eAAe,4CAqChD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "2.65.0",
3
+ "version": "2.66.0",
4
4
  "engines": {
5
5
  "node": "20.5.0"
6
6
  },