@omnia/fx 8.0.484-dev → 8.0.485-dev

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,11 @@
1
- import { DefineProp, DefinePropTheming, DefineVModel } from "@omnia/fx/ux";
1
+ import { DefineProp, DefinePropTheming, DefineVModel, ValidationRule } from "@omnia/fx/ux";
2
2
  import { ODirectionTypes, OSliderVariants } from "@omnia/fx-models";
3
- type SliderProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", any, false, null, true, "The v-model of the component"> & DefineProp<"step", string | number, false, null, "If greater than 0, sets step interval for ticks."> & DefineProp<"min", string | number, false, null, "Sets the minimum value of the slider."> & DefineProp<"max", string | number, false, null, "Sets the maximum value of the slider."> & DefineProp<"precision", number, false, null, "Enforces strict precision. It is expected to be an integer value in range between 0 and 15, or null for unrestricted."> & DefineProp<"label", string, false, null, "Sets the label of the slider."> & DefineProp<"unitLabel", string, false, null, "Sets the unit label of the slider."> & DefineProp<"noThumbLabel", boolean, false, false, "Hides the thumb label."> & DefineProp<"hint", string, false, null, "Sets the hint of the slider. Hint will be displayed below the input when focused."> & DefineProp<"persistentHint", boolean, false, false, "Forces hint to always be visible."> & DefineProp<"direction", ODirectionTypes, false, "horizontal", "Sets the direction of the slider. Default is horizontal."> & DefineProp<"variant", OSliderVariants, false, null, "Sets the variant of the slider. Prominent should only be use when an extra level of emphasis is needed."> & DefineProp<"showTicks", boolean | "always", false, false, "Sets the visibility of the ticks. Default is false."> & DefineProp<"ticks", number[] | Record<number, string>, false, null, "Show track ticks. If true it shows ticks when using slider. If set to 'always' it always shows ticks."> & DefineProp<"toned", boolean, false, false> & DefineProp<"tickSize", number, false, 2, "Sets the size of the ticks. Default is 2.">;
3
+ type SliderProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", any, false, null, true, "The v-model of the component"> & DefineProp<"step", string | number, false, null, "If greater than 0, sets step interval for ticks."> & DefineProp<"min", string | number, false, null, "Sets the minimum value of the slider."> & DefineProp<"max", string | number, false, null, "Sets the maximum value of the slider."> & DefineProp<"precision", number, false, null, "Enforces strict precision. It is expected to be an integer value in range between 0 and 15, or null for unrestricted."> & DefineProp<"label", string, false, null, "Sets the label of the slider."> & DefineProp<"unitLabel", string, false, null, "Sets the unit label of the slider."> & DefineProp<"noThumbLabel", boolean, false, false, "Hides the thumb label."> & DefineProp<"hint", string, false, null, "Sets the hint of the slider. Hint will be displayed below the input when focused."> & DefineProp<"persistentHint", boolean, false, false, "Forces hint to always be visible."> & DefineProp<"direction", ODirectionTypes, false, "horizontal", "Sets the direction of the slider. Default is horizontal."> & DefineProp<"variant", OSliderVariants, false, null, "Sets the variant of the slider. Prominent should only be use when an extra level of emphasis is needed."> & DefineProp<"showTicks", boolean | "always", false, false, "Sets the visibility of the ticks. Default is false."> & DefineProp<"ticks", number[] | Record<number, string>, false, null, "Show track ticks. If true it shows ticks when using slider. If set to 'always' it always shows ticks."> & DefineProp<"toned", boolean, false, false> & DefineProp<"tickSize", number, false, 2, "Sets the size of the ticks. Default is 2."> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message.">;
4
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<SliderProps> & {
5
5
  "onUpdate:modelValue"?: (value: any) => any;
6
6
  } & {
7
7
  "v-slots"?: {} & Omit<{
8
8
  default?: import("vue").Slot;
9
9
  }, never>;
10
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "direction" | "label" | "colorSchemaType" | "variant" | "class" | "max" | "modelValue" | "hint" | "persistentHint" | "emit:update:modelValue" | "v-model" | "colors" | "toned" | "min" | "step" | "precision" | "unitLabel" | "noThumbLabel" | "showTicks" | "ticks" | "tickSize"> & import("@omnia/fx/ux").VNodeEvents) => any;
10
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "direction" | "label" | "colorSchemaType" | "variant" | "class" | "max" | "modelValue" | "rules" | "hint" | "persistentHint" | "emit:update:modelValue" | "v-model" | "colors" | "toned" | "min" | "step" | "precision" | "unitLabel" | "noThumbLabel" | "showTicks" | "ticks" | "tickSize"> & import("@omnia/fx/ux").VNodeEvents) => any;
11
11
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.484-dev",
4
+ "version": "8.0.485-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.484-dev",
23
+ "@omnia/fx-models": "8.0.485-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",