Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Phone number

Code Block
languagejsonjs
{
   "uiFramework":"custom-molecules",
   "componentPath":"TextfieldWithIcon",
   "props":{
      "label":"Phone",
      "type":"mobilenumber",
      "margin":"normal",
      "fullWidth":true,
      "autoFocus":true,
      "required":true,
      "iconObj":{
         "position":"end",
         "iconName":"phone"
      }
   },
   "required":true,
   "jsonPath":"body.mihy.phonenumber",
   "pattern":"^([0-9]){10}$"
}

...

Code Block
getCommonCard({

      name: "card name",

      mihyloginDiv: {

        uiFramework: "custom-atoms",

        componentPath: "Div",

        children: {

          className: "text-center",

          Props: {

            color: "#FFFF",

            justifyContent: "center",

            boxShadow: "0 1 px 4 px 0 rgpa(0, 0, 0, 0.14)"

          },

          gridDefination: {

            xs: 12

          }
})

...

5. CardContent

Code Block
languagejs
{
  componentPath: "CardContent", children;
} 

...

6. TextField

Code Block
languagejs
{
   "id":"person-name",
   "type":"textfield",
   "jsonPath":"otp.name",
   "required":true,
   "floatingLabelText":"NAME",
   "hintText":"CORE_COMMON_NAME_PLACEHOLDER",
   "placeholder":"Name",
   "disabled":"flase",
   "Value":" ",
   "variant":"outline"
}

...

18. MenuButton:

Code Block
languagejs
{

  uiFramework: "custom-atoms-local",

  moduleName: "egov-tradelicence",

  componentPath: "MenuButton",

  props: {

    data: {

      label: "Download",

      leftIcon: "cloud_download",

      rightIcon: "arrow_drop_down",

      props: {
        variant: "outlined",
        style: {
          marginLeft: 10
        }
      },

      menu: downloadMenu

    }

  }

}

...