@symbo.ls/create 2.11.295 → 2.11.305

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.
@@ -21,7 +21,7 @@ __export(define_exports, {
21
21
  defaultDefine: () => defaultDefine
22
22
  });
23
23
  module.exports = __toCommonJS(define_exports);
24
- var import_uikit = require("@symbo.ls/uikit");
24
+ var import_atoms = require("@symbo.ls/atoms");
25
25
  const defaultDefine = {
26
26
  routes: (param) => param,
27
27
  // deps: (param, el) => param || el.parent.deps,
@@ -38,8 +38,8 @@ const defaultDefine = {
38
38
  set();
39
39
  return obj;
40
40
  },
41
- $collection: import_uikit.Collection.define.$collection,
42
- $setCollection: import_uikit.Collection.define.$setCollection,
43
- $stateCollection: import_uikit.Collection.define.$stateCollection,
44
- $propsCollection: import_uikit.Collection.define.$propsCollection
41
+ $collection: import_atoms.Collection.define.$collection,
42
+ $setCollection: import_atoms.Collection.define.$setCollection,
43
+ $stateCollection: import_atoms.Collection.define.$stateCollection,
44
+ $propsCollection: import_atoms.Collection.define.$propsCollection
45
45
  };
@@ -80,7 +80,7 @@ const prepareState = (options, App) => {
80
80
  return (0, import_utils.deepCloneWithExtnd)(state);
81
81
  };
82
82
  const preparePages = (options) => {
83
- const pages = {};
83
+ const pages = options.pages;
84
84
  Object.keys(options.pages).filter((v) => !v.startsWith("/")).forEach((v) => {
85
85
  if (v === "main")
86
86
  pages["/"] = options.pages.main;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.295",
3
+ "version": "2.11.305",
4
4
  "license": "MIT",
5
- "gitHead": "87e4245ebd9ff43dd23e9939d8c16c40fe0a334c",
5
+ "gitHead": "14569e713ad6d47a3be207df9f23dc0338a2d562",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
package/src/define.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict'
2
2
 
3
- import { Collection } from '@symbo.ls/uikit'
3
+ import { Collection } from '@symbo.ls/atoms'
4
4
 
5
5
  export const defaultDefine = {
6
6
  routes: param => param,
package/src/prepare.js CHANGED
@@ -48,7 +48,7 @@ export const prepareState = (options, App) => {
48
48
  }
49
49
 
50
50
  export const preparePages = options => {
51
- const pages = {}
51
+ const pages = options.pages
52
52
  Object.keys(options.pages)
53
53
  .filter(v => !v.startsWith('/'))
54
54
  .forEach(v => {