yy-forms 1.0.43 → 1.0.45

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/dist/index.esm.js CHANGED
@@ -2558,13 +2558,13 @@ var USelements = [{
2558
2558
  }
2559
2559
  }
2560
2560
  }, {
2561
- "text": "Dropdown Select",
2561
+ "text": "Select",
2562
2562
  "name": "select",
2563
2563
  "schema": {
2564
2564
  "title": "Single Select",
2565
2565
  "type": "string",
2566
2566
  "enum": ["a", "b", "c"],
2567
- "enumNames": ["Morning", "Noon", "Evening"],
2567
+ "enumNames": ["tiktok", "youtube", "facebook"],
2568
2568
  "widget": "select"
2569
2569
  },
2570
2570
  "setting": {
@@ -2605,7 +2605,7 @@ var USelements = [{
2605
2605
  "title": "Radio Buttons",
2606
2606
  "type": "string",
2607
2607
  "enum": ["a", "b", "c"],
2608
- "enumNames": ["Morning", "Noon", "Evening"],
2608
+ "enumNames": ["tiktok", "youtube", "facebook"],
2609
2609
  "widget": "radio"
2610
2610
  },
2611
2611
  "setting": {
@@ -2640,7 +2640,7 @@ var USelements = [{
2640
2640
  }
2641
2641
  }
2642
2642
  }, {
2643
- "text": "Multi-Select Dropdown",
2643
+ "text": "Multi Select",
2644
2644
  "name": "multiSelect",
2645
2645
  "schema": {
2646
2646
  "title": "Multi-Select",
@@ -2650,7 +2650,7 @@ var USelements = [{
2650
2650
  "type": "string"
2651
2651
  },
2652
2652
  "enum": ["A", "B", "C", "D"],
2653
- "enumNames": ["Hangzhou", "Wuhan", "Huzhou", "Guiyang"],
2653
+ "enumNames": ["Acupressure", "Long Gliding Strokes", "Passive Stretching"],
2654
2654
  "widget": "multiSelect"
2655
2655
  },
2656
2656
  "setting": {
@@ -2700,7 +2700,7 @@ var USelements = [{
2700
2700
  "type": "string"
2701
2701
  },
2702
2702
  "enum": ["A", "B", "C", "D"],
2703
- "enumNames": ["Hangzhou", "Wuhan", "Huzhou", "Guiyang"]
2703
+ "enumNames": ["Acupressure", "Long Gliding Strokes", "Passive Stretching"]
2704
2704
  },
2705
2705
  "setting": {
2706
2706
  "default": {
@@ -2811,7 +2811,7 @@ var advancedElements = [{
2811
2811
  setting: {}
2812
2812
  }];
2813
2813
  var USadvancedElements = [{
2814
- "text": "Date Range Picker",
2814
+ "text": "DateRange",
2815
2815
  "name": "dateRange",
2816
2816
  "schema": {
2817
2817
  "title": "Date Range",
@@ -2853,7 +2853,7 @@ var USadvancedElements = [{
2853
2853
  },
2854
2854
  "setting": {}
2855
2855
  }, {
2856
- "text": "Color Selector",
2856
+ "text": "ColorPicker",
2857
2857
  "name": "color",
2858
2858
  "schema": {
2859
2859
  "title": "Color Selector",
@@ -3581,12 +3581,12 @@ var defaultSettings = [{
3581
3581
  // },
3582
3582
  ];
3583
3583
  var USdefaultSettings = [{
3584
- "title": "Basic Components",
3584
+ "title": "Basic",
3585
3585
  "widgets": USelements,
3586
3586
  "show": true,
3587
3587
  "useCommon": true // TODO: Should include common components?
3588
3588
  }, {
3589
- "title": "Advanced Components",
3589
+ "title": "Advanced",
3590
3590
  "widgets": USadvancedElements
3591
3591
  }
3592
3592
  // {
@@ -3979,6 +3979,7 @@ function ItemSettings(_ref) {
3979
3979
  schema: settingSchema,
3980
3980
  widgets: _objectSpread2(_objectSpread2({}, _widgets), widgets),
3981
3981
  mapping: globalMapping,
3982
+ locale: "en",
3982
3983
  watch: {
3983
3984
  '#': function _(v) {
3984
3985
  return setTimeout(function () {
package/dist/index.js CHANGED
@@ -2585,13 +2585,13 @@ var USelements = [{
2585
2585
  }
2586
2586
  }
2587
2587
  }, {
2588
- "text": "Dropdown Select",
2588
+ "text": "Select",
2589
2589
  "name": "select",
2590
2590
  "schema": {
2591
2591
  "title": "Single Select",
2592
2592
  "type": "string",
2593
2593
  "enum": ["a", "b", "c"],
2594
- "enumNames": ["Morning", "Noon", "Evening"],
2594
+ "enumNames": ["tiktok", "youtube", "facebook"],
2595
2595
  "widget": "select"
2596
2596
  },
2597
2597
  "setting": {
@@ -2632,7 +2632,7 @@ var USelements = [{
2632
2632
  "title": "Radio Buttons",
2633
2633
  "type": "string",
2634
2634
  "enum": ["a", "b", "c"],
2635
- "enumNames": ["Morning", "Noon", "Evening"],
2635
+ "enumNames": ["tiktok", "youtube", "facebook"],
2636
2636
  "widget": "radio"
2637
2637
  },
2638
2638
  "setting": {
@@ -2667,7 +2667,7 @@ var USelements = [{
2667
2667
  }
2668
2668
  }
2669
2669
  }, {
2670
- "text": "Multi-Select Dropdown",
2670
+ "text": "Multi Select",
2671
2671
  "name": "multiSelect",
2672
2672
  "schema": {
2673
2673
  "title": "Multi-Select",
@@ -2677,7 +2677,7 @@ var USelements = [{
2677
2677
  "type": "string"
2678
2678
  },
2679
2679
  "enum": ["A", "B", "C", "D"],
2680
- "enumNames": ["Hangzhou", "Wuhan", "Huzhou", "Guiyang"],
2680
+ "enumNames": ["Acupressure", "Long Gliding Strokes", "Passive Stretching"],
2681
2681
  "widget": "multiSelect"
2682
2682
  },
2683
2683
  "setting": {
@@ -2727,7 +2727,7 @@ var USelements = [{
2727
2727
  "type": "string"
2728
2728
  },
2729
2729
  "enum": ["A", "B", "C", "D"],
2730
- "enumNames": ["Hangzhou", "Wuhan", "Huzhou", "Guiyang"]
2730
+ "enumNames": ["Acupressure", "Long Gliding Strokes", "Passive Stretching"]
2731
2731
  },
2732
2732
  "setting": {
2733
2733
  "default": {
@@ -2838,7 +2838,7 @@ var advancedElements = [{
2838
2838
  setting: {}
2839
2839
  }];
2840
2840
  var USadvancedElements = [{
2841
- "text": "Date Range Picker",
2841
+ "text": "DateRange",
2842
2842
  "name": "dateRange",
2843
2843
  "schema": {
2844
2844
  "title": "Date Range",
@@ -2880,7 +2880,7 @@ var USadvancedElements = [{
2880
2880
  },
2881
2881
  "setting": {}
2882
2882
  }, {
2883
- "text": "Color Selector",
2883
+ "text": "ColorPicker",
2884
2884
  "name": "color",
2885
2885
  "schema": {
2886
2886
  "title": "Color Selector",
@@ -3608,12 +3608,12 @@ var defaultSettings = [{
3608
3608
  // },
3609
3609
  ];
3610
3610
  var USdefaultSettings = [{
3611
- "title": "Basic Components",
3611
+ "title": "Basic",
3612
3612
  "widgets": USelements,
3613
3613
  "show": true,
3614
3614
  "useCommon": true // TODO: Should include common components?
3615
3615
  }, {
3616
- "title": "Advanced Components",
3616
+ "title": "Advanced",
3617
3617
  "widgets": USadvancedElements
3618
3618
  }
3619
3619
  // {
@@ -4006,6 +4006,7 @@ function ItemSettings(_ref) {
4006
4006
  schema: settingSchema,
4007
4007
  widgets: _objectSpread2(_objectSpread2({}, _widgets), widgets),
4008
4008
  mapping: globalMapping,
4009
+ locale: "en",
4009
4010
  watch: {
4010
4011
  '#': function _(v) {
4011
4012
  return setTimeout(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yy-forms",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -145,6 +145,7 @@ export default function ItemSettings({ widgets }) {
145
145
  schema={settingSchema}
146
146
  widgets={{ ..._widgets, ...widgets }}
147
147
  mapping={globalMapping}
148
+ locale='en'
148
149
  watch={{
149
150
  '#': v => setTimeout(() => onDataChange(v), 0),
150
151
  }}
@@ -748,13 +748,13 @@ export const USelements = [
748
748
  }
749
749
  },
750
750
  {
751
- "text": "Dropdown Select",
751
+ "text": "Select",
752
752
  "name": "select",
753
753
  "schema": {
754
754
  "title": "Single Select",
755
755
  "type": "string",
756
756
  "enum": ["a", "b", "c"],
757
- "enumNames": ["Morning", "Noon", "Evening"],
757
+ "enumNames": ["tiktok", "youtube", "facebook"],
758
758
  "widget": "select"
759
759
  },
760
760
  "setting": {
@@ -796,7 +796,7 @@ export const USelements = [
796
796
  "title": "Radio Buttons",
797
797
  "type": "string",
798
798
  "enum": ["a", "b", "c"],
799
- "enumNames": ["Morning", "Noon", "Evening"],
799
+ "enumNames": ["tiktok", "youtube", "facebook"],
800
800
  "widget": "radio"
801
801
  },
802
802
  "setting": {
@@ -832,7 +832,7 @@ export const USelements = [
832
832
  }
833
833
  },
834
834
  {
835
- "text": "Multi-Select Dropdown",
835
+ "text": "Multi Select",
836
836
  "name": "multiSelect",
837
837
  "schema": {
838
838
  "title": "Multi-Select",
@@ -842,7 +842,7 @@ export const USelements = [
842
842
  "type": "string"
843
843
  },
844
844
  "enum": ["A", "B", "C", "D"],
845
- "enumNames": ["Hangzhou", "Wuhan", "Huzhou", "Guiyang"],
845
+ "enumNames": ["Acupressure", "Long Gliding Strokes", "Passive Stretching"],
846
846
  "widget": "multiSelect"
847
847
  },
848
848
  "setting": {
@@ -893,7 +893,7 @@ export const USelements = [
893
893
  "type": "string"
894
894
  },
895
895
  "enum": ["A", "B", "C", "D"],
896
- "enumNames": ["Hangzhou", "Wuhan", "Huzhou", "Guiyang"]
896
+ "enumNames": ["Acupressure", "Long Gliding Strokes", "Passive Stretching"]
897
897
  },
898
898
  "setting": {
899
899
  "default": {
@@ -1014,7 +1014,7 @@ export const advancedElements = [
1014
1014
 
1015
1015
  export const USadvancedElements = [
1016
1016
  {
1017
- "text": "Date Range Picker",
1017
+ "text": "DateRange",
1018
1018
  "name": "dateRange",
1019
1019
  "schema": {
1020
1020
  "title": "Date Range",
@@ -1059,7 +1059,7 @@ export const USadvancedElements = [
1059
1059
  "setting": {}
1060
1060
  },
1061
1061
  {
1062
- "text": "Color Selector",
1062
+ "text": "ColorPicker",
1063
1063
  "name": "color",
1064
1064
  "schema": {
1065
1065
  "title": "Color Selector",
@@ -1943,13 +1943,13 @@ export const defaultSettings = [
1943
1943
 
1944
1944
  export const USdefaultSettings = [
1945
1945
  {
1946
- "title": "Basic Components",
1946
+ "title": "Basic",
1947
1947
  "widgets": USelements,
1948
1948
  "show": true,
1949
1949
  "useCommon": true, // TODO: Should include common components?
1950
1950
  },
1951
1951
  {
1952
- "title": "Advanced Components",
1952
+ "title": "Advanced",
1953
1953
  "widgets": USadvancedElements,
1954
1954
  },
1955
1955
  // {