@pequity/squirrel 5.2.3 → 5.3.0

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.
Files changed (37) hide show
  1. package/dist/cjs/chunks/component.js +4 -0
  2. package/dist/cjs/chunks/p-dropdown-select.js +1 -1
  3. package/dist/cjs/chunks/p-icon.js +2180 -0
  4. package/dist/cjs/chunks/string.js +13 -0
  5. package/dist/cjs/component.js +28 -0
  6. package/dist/cjs/index.js +32 -2188
  7. package/dist/cjs/p-loading.js +4 -7
  8. package/dist/cjs/string.js +32 -11
  9. package/dist/cjs/useSelectList.js +1 -1
  10. package/dist/es/chunks/component.js +5 -0
  11. package/dist/es/chunks/p-dropdown-select.js +1 -1
  12. package/dist/es/chunks/p-icon.js +2181 -0
  13. package/dist/es/chunks/string.js +14 -0
  14. package/dist/es/component.js +27 -0
  15. package/dist/es/index.js +31 -2187
  16. package/dist/es/p-loading.js +4 -7
  17. package/dist/es/string.js +32 -12
  18. package/dist/es/useSelectList.js +1 -1
  19. package/dist/squirrel/components/p-action-bar/p-action-bar.types.d.ts +3 -2
  20. package/dist/squirrel/utils/component.d.ts +2 -0
  21. package/dist/squirrel/utils/component.spec.d.ts +1 -0
  22. package/dist/squirrel/utils/string.d.ts +1 -0
  23. package/dist/squirrel/utils/string.spec.d.ts +1 -0
  24. package/dist/style.css +6 -6
  25. package/package.json +2 -2
  26. package/squirrel/components/p-action-bar/p-action-bar.spec.js +46 -14
  27. package/squirrel/components/p-action-bar/p-action-bar.stories.js +6 -0
  28. package/squirrel/components/p-action-bar/p-action-bar.types.ts +4 -2
  29. package/squirrel/components/p-action-bar/p-action-bar.vue +9 -3
  30. package/squirrel/components/p-avatar/p-avatar.spec.js +15 -0
  31. package/squirrel/components/p-icon/p-icon.spec.js +0 -1
  32. package/squirrel/components/p-loading/p-loading.vue +2 -7
  33. package/squirrel/components/p-table-td/p-table-td.spec.js +0 -1
  34. package/squirrel/utils/component.spec.ts +29 -0
  35. package/squirrel/utils/component.ts +5 -0
  36. package/squirrel/utils/{string.spec.js → string.spec.ts} +19 -1
  37. package/squirrel/utils/string.ts +2 -0
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ const lodashEs = require("lodash-es");
3
+ const isComponent = (val) => lodashEs.isPlainObject(val);
4
+ exports.isComponent = isComponent;
@@ -5,7 +5,7 @@ const pInputSearch = require("../p-input-search.js");
5
5
  const pSelectList = require("../p-select-list.js");
6
6
  const lodashEs = require("lodash-es");
7
7
  const text = require("../text.js");
8
- const string = require("../string.js");
8
+ const string = require("./string.js");
9
9
  const useInputClasses = require("../useInputClasses.js");
10
10
  const useSelectList = require("../useSelectList.js");
11
11
  const _imports_0 = "data:image/svg+xml,%3csvg%20width='18'%20height='12'%20viewBox='0%200%2018%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.1383%200.166992L6.30411%209.83366L1.69828%205.27533L0.526611%206.46033L5.71578%2011.597C5.87174%2011.7509%206.08205%2011.8372%206.3012%2011.8372C6.52034%2011.8372%206.73065%2011.7509%206.88661%2011.597L17.3033%201.35366L16.1383%200.166992Z'%20fill='%231A123B'%20/%3e%3c/svg%3e";