@ikas/storefront 0.1.19 → 0.1.20

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.
@@ -26,7 +26,7 @@ export default class AddressFormViewModel {
26
26
  states: IkasState[];
27
27
  cities: IkasCity[];
28
28
  districts: IkasDistrict[];
29
- myCountryCode?: string;
29
+ myCountryCode?: string | null;
30
30
  constructor(data: AddressFormViewModelParams);
31
31
  get firstName(): string | null | undefined;
32
32
  get lastName(): string | null | undefined;
package/build/index.es.js CHANGED
@@ -68376,6 +68376,9 @@ function (_React$Component) {
68376
68376
  var FormItem = observer(function (props) {
68377
68377
  var t = useTranslation().t;
68378
68378
  var _a = useState(function () { return new FormItemViewModel(props); }), vm = _a[0], setVM = _a[1];
68379
+ if (props.type === FormItemType.TEL) {
68380
+ console.log("TEL form item.");
68381
+ }
68379
68382
  useEffect(function () {
68380
68383
  ReactTooltip.rebuild();
68381
68384
  }, []);
@@ -68699,6 +68702,7 @@ var AddressFormViewModel = /** @class */ (function () {
68699
68702
  this.states = [];
68700
68703
  this.cities = [];
68701
68704
  this.districts = [];
68705
+ this.myCountryCode = null;
68702
68706
  this.fillDropdownOptions = function () { return __awaiter(_this, void 0, void 0, function () {
68703
68707
  return __generator(this, function (_a) {
68704
68708
  switch (_a.label) {
package/build/index.js CHANGED
@@ -68355,6 +68355,9 @@ function (_React$Component) {
68355
68355
  var FormItem = mobxReactLite.observer(function (props) {
68356
68356
  var t = useTranslation().t;
68357
68357
  var _a = React.useState(function () { return new FormItemViewModel(props); }), vm = _a[0], setVM = _a[1];
68358
+ if (props.type === FormItemType.TEL) {
68359
+ console.log("TEL form item.");
68360
+ }
68358
68361
  React.useEffect(function () {
68359
68362
  ReactTooltip.rebuild();
68360
68363
  }, []);
@@ -68678,6 +68681,7 @@ var AddressFormViewModel = /** @class */ (function () {
68678
68681
  this.states = [];
68679
68682
  this.cities = [];
68680
68683
  this.districts = [];
68684
+ this.myCountryCode = null;
68681
68685
  this.fillDropdownOptions = function () { return __awaiter(_this, void 0, void 0, function () {
68682
68686
  return __generator(this, function (_a) {
68683
68687
  switch (_a.label) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",